Commit Graph

2977 Commits

Author SHA1 Message Date
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
mtabachenko 91f19f2521 winport:
- fix search cheats crash on x64;
2009-09-14 11:40:30 +00:00
gocha dd649aafa2 Fix render_sprite_Win to handle 256 color objects properly. 2009-09-14 04:30:40 +00:00
luigi__ 86bd06801f Small feature: add a possibility to make "Emulation paused/unpaused" messages
optional when calling NDS_Pause()/NDS_Unpause() by adding them a parameter
defaulted to true. Shouldn't break anything.
2009-09-13 19:59:26 +00:00
gocha f7799d4b2e Replaced Lua bit operations with LuaBitOp 1.0.1. Now it can handle the sign bit (bit 31) correctly. 2009-09-13 15:52:14 +00:00
luigi__ 99483fc4f7 I/O reg viewer: fix scrollbar, and implement all graphics registers for
2D graphics engines.
2009-09-13 14:11:36 +00:00
luigi__ ce48f43c89 I/O reg viewer: improve scrollbar handling, and fix a small bug with
names/descriptions that have ampersands and/or underscores inside them.
2009-09-13 10:17:25 +00:00
mtabachenko 75b285b45c core:
- add load logo data into ARM9 BIOS area;
(for a GBAgame not need external BIOS now)
2009-09-13 10:13:18 +00:00
luigi__ 1b8eaa9501 I/O reg viewer: fix a bug where ARM9 IE/IF had two blank Bit0 fields at the bottom. 2009-09-13 09:55:52 +00:00
luigi__ 34c2ff9e23 Remove two weird empty lines. 2009-09-13 00:36:27 +00:00
luigi__ 860ad0caa5 Commit missing stuff. Sorry. 2009-09-13 00:32:26 +00:00