Commit Graph

2987 Commits

Author SHA1 Message Date
zeromus c986a7eb1a fix old bug causing inability to use gamepads for hotkeys 2009-10-04 22:23:05 +00:00
zeromus d4c5831828 add some emuloop performance diagnostics 2009-10-04 21:25:01 +00:00
nitsuja 385a2cdaa8 optimized fog table calculation 2009-10-04 21:18:59 +00:00
zeromus b2341c6137 re-add arm9 load average tracking, this time displayed in the OSD so that people arent confused by it in the window title. 2009-10-04 18:18:39 +00:00
zeromus 6c019ad77a gxstat shouldnt have a reset method. its constructor resets it. this happens when MMU_struct_new gets reconstructed. 2009-10-04 16:25:07 +00:00
mtabachenko 7e70ed64bb - ops, sorry, I forgot commit some stuff (bug #2868470); 2009-10-03 08:26:43 +00:00
mtabachenko 953ced2c6c core:
- fix bug #2868470 (Pokémon Ranger - freezing at the first battle);
- fix bug #2860505 (Pokemon Diamond/Pearl/Platinum In-game trades not working);

winport:
- fix change sound buffer size;
2009-10-02 17:16:24 +00:00
gocha 7bae874515 movie dialog: fixed subsecond calculation; added subsecond rounding code; expanded the width of frameCount/rerecordCount display. 2009-10-01 14:32:03 +00:00
zeromus 7c082ecaa3 win32: load wav file for mic instead of raw 2009-09-30 23:31:36 +00:00
gocha 3af6e8075b main windows can handle dropped lua script from now. 2009-09-30 04:52:52 +00:00
gocha bc1d031b29 Removed Update_RAM_Watch() lines because it's called from Update_RAM_Search() 2009-09-28 23:42:09 +00:00
gocha 9e8a66a006 win: upgraded hotkey code (ported from snes9x-rr) 2009-09-28 04:15:07 +00:00
zeromus 676c90a0f0 add new "random" mic noise which needed updating since the code which returns samples to the game software was corrected 2009-09-28 00:11:36 +00:00
gocha 32246bac4a close movie file when it's stopped 2009-09-27 06:26:18 +00:00
luigi__ 99473f8d9b Again a fix
Add a missing file again >.<
2009-09-26 11:51:12 +00:00
luigi__ 8fd41a18a6 Fix to VS2010 project: add two missing files. 2009-09-26 11:47:21 +00:00
nitsuja ecbdbf21df adding missing check to an optimization so it can be re-enabled 2009-09-25 15:48:17 +00:00
gocha ce279995de ramwatch: add more (ListView_GetSelectionMark() != -1) checks 2009-09-25 13:30:04 +00:00
zeromus bab64f3c94 gpu: revert an optimization which broke some edge handling in affine bg (fix NYT crosswords) 2009-09-25 05:16:54 +00:00
zeromus a570e7a054 fix a bad bug in savefile handling introduced a few revisions ago due to changes in initialization/reset code flow, always a desmume weakness and area of confusion.... but maybe not for long 2009-09-23 18:48:45 +00:00
zeromus 44ff6e97b4 fix another unhandled command 0xDD case. 2009-09-23 03:07:52 +00:00
zeromus e3b223d046 fix the undefined command 0xDD 00000000 which may have been causing undetected problems 2009-09-22 22:32:55 +00:00
zeromus 3a74300a72 fix regression in gxfifo 0x00 command handling (fixes galactik and nintendogs:dalmatian) 2009-09-22 16:59:33 +00:00
gocha ab8f50eae2 Modify my old comment to fit the current status. 2009-09-22 08:45:12 +00:00
nitsuja 0accc4eaf8 enabling cache emulation. this seems to fix timing bugs in several games. we can worry about the speed later. 2009-09-22 08:31:00 +00:00
zeromus 6cf200b1e1 fix glitches in dma and poor code in command unpacking which were causing some slowdown. clean up ioregview refresh triggering code and add a note about how to cut compile time of gpu.cpp in half. 2009-09-22 03:02:39 +00:00
zeromus 14c011d8de fix gcc compiling 2009-09-21 17:10:52 +00:00
zeromus 523d2713f9 rewrite dma, gxfifo, gxstat, command unpacking; old gxfifo removed; many games fixed, gta and dq4 broken; dma still not finished; your savestates will be broken; have coded 40 hours without checking performance, beware; add dma regs to ioregview, fix cpu selector in < vista; 2009-09-21 01:51:42 +00:00
zeromus 8c6e56e679 fix an annoying bug in mapview that made some layers not show up at all due to interference from blending logic in gpu 2009-09-20 20:20:18 +00:00
nitsuja cb1d7d2f23 - new memory access timing, should be more accurate. this fixes some games for me.
- this includes basic cache emulation, but that's disabled for now for performance reasons
- got rid of the fast fetch execute menu option
(switching between the two should no longer be needed and I don't think we should have things like that be options)
2009-09-20 20:11:16 +00:00
riccardom f78ce4e966 Enable sse/sse2 fast path
Apply patch from cwitty to enable sse/sse2 fast path with
gcc. Patch #2860351
2009-09-19 19:07:59 +00:00
riccardom 47910a5264 Look for modules in cwd instead of home
gmelquio suggests in bug #2862128 we should use cwd and
not force the home directory where looking for modules
like savefiles. Applied a modified patch which uses glib
and does not leak the string.
2009-09-19 17:14:50 +00:00
riccardom 8b7a7f9b50 Move preprocessor directives at column 0, cleanup some risky ifdef usage. 2009-09-19 16:44:20 +00:00
nitsuja 1d9c7c6bc4 some minor optimization and cleanup 2009-09-19 04:46:19 +00:00
zeromus 388c5253e3 add commandline handling for --bios-arm9 and --bios-arm7 and --bios-sw1=1 2009-09-17 21:37:32 +00:00
zeromus ea3e02d098 gpu: a very small speedup by templateizing the wrap logic in affineext modes which is not commonly used 2009-09-17 19:49:10 +00:00
mtabachenko f7e0c34ef3 winport:
- add manual import\export No$GBA saves;
2009-09-17 11:42:17 +00:00
zeromus c151e6983c fix a windows compile error added when the gcc compile error was fixed 2009-09-16 22:51:26 +00:00
riccardom 831893aac7 This one want to be constified too. 2009-09-16 19:27:07 +00:00
riccardom 2be3bc944c Declare gfx3d_ClearStack() properly in a header and include
the header where needed.
2009-09-16 19:25:56 +00:00
riccardom cc94f7abf8 Mark a function static. 2009-09-16 19:21:57 +00:00
riccardom f8743f1412 Mark arm_instruction_names as const char * otherwise gcc
will hate you.
2009-09-16 18:57:33 +00:00
gocha 857fb4f7f7 Replaced glColor4ubv with glColor4fv. This might affect alpha test. 2009-09-16 15:17:41 +00:00
gocha 084dfbf703 Revert to r2882 since it awfully broke Castlevania games (possibly other games as well).
The reasons I replaced GL_GREATER with GL_GEQUAL in r2883 are:
1. gbatek says "Hide pixels if Alpha<AlphaRef"
2. rasterizer also says "if(shaderOutput.a < gfx3d.alphaTestRef) goto rejected_fragment;"
2009-09-16 13:57:37 +00:00
gocha e524718237 OGLRender: Replaced GL_GREATER with GL_GEQUAL 2009-09-16 11:01:14 +00:00
zeromus 49bc297032 optimizations (especially for 32bit systems) to sequencing logic in main emulation loop; few fps speedup for cpu heavy games 2009-09-16 07:38:28 +00:00
zeromus d0bfdc0a02 for dev+ builds, add logging of execution counts for each instruction. 2009-09-16 00:00:13 +00:00
normmatt234 96db719b0c Support new Backup command required for Pokemon HG/SS to work without triggering an anti-piracy protection. 2009-09-15 12:14:17 +00:00
zeromus ab61e64ac2 unhook all emulation of STRBT and LDRBT which were confusingly only half emulated; I think that they shouldn't be emulated at all. someone prove me wrong. also, fix the FORCEINLINE macro on gcc to do something approximating its intent. maybe it doesn't work on old gccs and we'll have to change it back or conditionalize it differently. 2009-09-15 06:20:09 +00:00
zeromus d3d573d777 add that lq2x and hx2xs patch #2852221 and also fix a bug in the new ioregview which prevented it from compiling on older windows sdks 2009-09-15 04:36:21 +00:00