Commit Graph

2977 Commits

Author SHA1 Message Date
p989 1559e84d0d win32: savestate rewinding 2009-07-21 07:09:14 +00:00
zeromus 2228a8de13 win32: tone down the default intensity of the scanline filter a bit, and add commandline args to control the intensity, in the vain hopes that someone will give me feedback on what their favourite values are 2009-07-21 02:32:55 +00:00
zeromus 3f3e086d61 win32: what's this..? is it..? could it be..? indeed, it is! a multicore optimization! now featuring all final display logic triple-buffered in another thread. offloads to another thread: rotation, color conversion, filter scaling, and directdraw buffer copy. this makes filter scaling effectively costless. 2009-07-21 01:55:16 +00:00
zeromus f95c64cc6a win32: enable gthreads 2009-07-21 00:08:52 +00:00
zeromus 0d36fecf93 reconfigure sse optimizations. all asm routines have been rewritten with intrinsics so that they are more neatly inlineable; this speeds them up by a couple of FPS; also, they work in gcc; and they can be enabled separately with ENABLE_SSE and ENABLE_SSE2; 95% of the optimizations come from the SSE optimizations, meaning that SSE2 will not be necessary to enjoy the bulk of the optimizations. I think. 2009-07-20 23:33:39 +00:00
zeromus 3abc58ae36 change loadrom() to use FILE* instead of std::ifstream. sidesteps mbcs path issues 2009-07-20 22:55:51 +00:00
p989 17fe2472a2 win32: cursor doesn't get stuck when dragged outside window 2009-07-20 16:03:00 +00:00
gocha 6d4e256d2b Fixed movie length info (60.00fps -> 59.82fps) 2009-07-20 04:37:07 +00:00
zeromus 81b885777c fix some rom loading things 2009-07-20 01:41:22 +00:00
zeromus a61483d87d fix linux compile bug 2009-07-20 01:06:06 +00:00
luigi__ 06e4bcfbb1 zeromus,
(l706) I am okay with these optimizations, even if they don't help much.
But you really, really should avoid giving your macros/variables such...
terrible names. This really looks terrible and unclear.

After waiting a while for you or somebody else to rename those vars/macros, 
I finally decided to do it myself because they were bugging me. It's okay 
for this time, but the next time I see such terrible names in a commit, I'll
just revert it.
2009-07-19 23:13:09 +00:00
p989 2a90946ff5 win32: load archives without temp files 2009-07-19 21:42:15 +00:00
gocha 488fc951d0 Quick fix that should disable autohold while movie playback 2009-07-19 13:07:03 +00:00
zeromus c24caade3e gpu: fix rotozoomed 2d mapped direct color bmp sprites. fixes knights in the nightmare credits intro 2009-07-19 09:41:05 +00:00
zeromus 4a19bac748 gfx3d: i've realized that the poly sorting must happen after clipping. there is no way to do this now, so to approximate really well, it, we will perspective divide the y values. fixes island of happiness shop menus. 2009-07-19 08:23:14 +00:00
zeromus 119deba104 old gxfifo: fix bug which broke galactik football 2009-07-19 07:07:58 +00:00
zeromus 7a2b970aff revert my earlier changes to 0x8000 handling in display capture. i changed my mind, it is working the way it needs to. hotel dusk is broken for other reasons 2009-07-19 02:05:07 +00:00
shashclp 2d6477ce1b - Fixed emulator crash on sample loading failure 2009-07-19 01:23:43 +00:00
zeromus 6c00a49806 gpu: rework capture opaque flag handling a bit. this is a risky change and may break some other capture and layer blending scenarios, but the old way of doing it (writing 0x8000 to vram for opaque black pixels from capture blending) is simply wrong and unworkable. fixes hotel dusk. 2009-07-18 20:24:20 +00:00
zeromus e9d75ad573 rasterize: fix bug in sse texture sampling optimization, fixes ridge racer sky 2009-07-18 18:52:11 +00:00
zeromus f9592ea6d1 gpu: fix layer blending regression, fixes yoshi touch and go 2009-07-18 18:32:10 +00:00
zeromus d8b3a0581d rasterize: fixes to shadows 2009-07-18 18:19:17 +00:00
riccardom 706af15ebe Remove dumplicate double dummy backend from SNDCoreList. 2009-07-18 16:50:24 +00:00
riccardom e96e14d8e6 Shut up gcc's deprecated conversion from string constant to ‘gchar*’ warning. 2009-07-18 13:26:04 +00:00
riccardom 305da3d38a Remove -Wshadow from --enable-hardcore because it triggers so much inside libagg code. 2009-07-18 13:14:23 +00:00
riccardom 2d9bd66224 Declare nds_savestate and nds_loadstate in a proper place. 2009-07-18 13:02:53 +00:00
riccardom 894458bc53 Make some functions static and remove a couple of unused variables. 2009-07-18 12:52:44 +00:00
riccardom a3cbf8ea01 Add missing enum value in switch. 2009-07-18 12:13:45 +00:00
riccardom 194ee3f339 Make a few functions static. 2009-07-18 12:11:36 +00:00
riccardom ec25feee98 Add missing header for memset. 2009-07-18 12:04:36 +00:00
zeromus 062a228877 grab bag of optimizations: many optimizations to sse functions, now using intrinsic functions. this would enable these functions to work on gcc (i think) if our configuration supported it, but it will fail for some vc++ express installations. those guys will have to either #define SSE2_NOINTRIN or help me figure out which installations are broken and why and how to fix it. also, collapse BG layer pixel blenders into a single function, so watch for regressions there. 2009-07-18 09:15:41 +00:00
riccardom baef153e05 Make clear that at least for now antigrain library is mandatory. 2009-07-18 08:57:51 +00:00
zeromus f71921404c win32: screenshot: fix failure to save pngs and failure to respect user specified path 2009-07-17 21:04:42 +00:00
p989 087e9ae5ed display stylus coordinates 2009-07-17 20:33:41 +00:00
zeromus ca6c0db294 dont crash when exiting program 2009-07-17 20:23:17 +00:00
zeromus dd505213be fix path building for archived roms 2009-07-17 17:32:39 +00:00
mtabachenko f6d2ca247e new gxFIFO:
- rewrite GE functions;
winport:
- fix GBAslot dialog;
2009-07-17 09:06:23 +00:00
zeromus ecf5b68df6 a grab bag of optimizations good for about 4fps on my system 2009-07-17 08:33:35 +00:00
zeromus dbe2226498 newemuloop: change main loop to 32bit math for a little speedup and fix a goofup that was costing a small amount of speed 2009-07-17 05:16:07 +00:00
zeromus ccf3535154 newemuloop: fix bug in instruction disassembly logging 2009-07-17 04:51:04 +00:00
zeromus b5d9628a7d newemuloop: bump diagnostic counter up to 22 2009-07-17 04:22:59 +00:00
zeromus bb8e239206 man, i am getting sloppy 2009-07-17 04:17:44 +00:00
zeromus b4c4d55ce2 win32: fix a bug in the last checkin 2009-07-17 04:17:07 +00:00
zeromus 6297f00247 fix screenshot path bugs and add some string utility functions 2009-07-17 04:09:07 +00:00
p989 68cf6f1e5e rework and integrate path settings 2009-07-17 02:37:51 +00:00
zeromus 3c5ad7c896 newemuloop: comment that a little better so i dont forget 2009-07-17 00:15:48 +00:00
zeromus e482c772e2 newemuloop: handle an edge case in timing logic better 2009-07-17 00:09:33 +00:00
zeromus 24a040ef2b gpu: emulate display capture while frame skipping 2009-07-17 00:04:35 +00:00
zeromus ffa4adfc47 newemuloop: add diagnostic code for timer calculation 2009-07-16 23:31:25 +00:00
zeromus 3e9dd9d6c0 newemuloop: fix bug in cascaded timers. fixes shrek streamed music 2009-07-16 23:21:21 +00:00