Commit Graph

6126 Commits

Author SHA1 Message Date
np511 ff2ebe400d Add GUI to change JIT settings 2017-05-03 12:24:11 -04:00
zeromus e0945c362b fix booting from firmware since I broke it adding the new slot-1 timing (failed to support it on arm7). fixes #64 (broken by 281268e) 2017-05-02 17:59:33 -05:00
zeromus 09ffe3545e try to fix bad, bad, badness caused by running nitrofs tool in another thread (hopefully fixes #65) 2017-05-02 17:50:23 -05:00
zeromus 9357fd79e3 fix bug in fsnitro FAT reading; fixes #63 2017-04-28 20:53:40 -05:00
zeromus bc2e1d99d3 fix crash in slot1 retail(debug) when it's set while no game is loaded (fixes #63) 2017-04-27 20:37:40 -05:00
zeromus 281268e05f emulate slot-1 read timings (fixes SF bug 1258) 2017-04-26 18:34:07 -05:00
zeromus 6600a2c393 Merge pull request #61 from atsampson/master
fix: add missing comma in ZIPROMReader definition
2017-04-26 16:47:54 -05:00
Adam Sampson ebde061afe fix: add missing comma in ZIPROMReader definition
This was omitted in c365617ff737bdb3c06c307159078ca4e5f7e175; the other
ROMReader_structs it updated were correct.
2017-04-26 22:44:08 +01:00
zeromus 669515bf6e winport: fix OSD with prescale + single CPU 2017-04-26 15:02:46 -05:00
zeromus a0d42e1536 winport: use 666 color 2017-04-26 15:00:47 -05:00
zeromus 06f0bb492b winport: fix non-saving KillStylusOffScreen 2017-04-26 14:03:38 -05:00
zeromus 751987cb90 fsnitro: fix build error from recent commit (for some compilers, anyway). fixes commit c365617ff7 2017-04-12 10:31:13 -05:00
zeromus fbad56bd14 fix bugs in lingering rom reading cursor caching code that made the winport memview capable of ruining rom reads 2017-04-11 21:14:16 -05:00
zeromus 297449caa2 winport: fix mis-sorted full/cartrom memdomains 2017-04-11 21:13:17 -05:00
zeromus c365617ff7 take a stab at fixing the ram/streaming option so that there arent split codepaths everywhere. homebrew that is eligible for DLDI patching now switches entirely to load from memory, because we lack the facilities to patch the DLDI in flight (although we now have a point to hook it into). really, all this code should be torched, but it's less of a mess now. 2017-04-11 19:40:31 -05:00
zeromus e332e3df26 fix error in initialization of clear depth register - fixes #57 (cod3r colorz top screen) 2017-04-10 21:12:25 -05:00
zeromus abe2e61997 fix possibility for display capture to VRAM block not-mapped-to-LCDC doing something which I guess can clobber important memory. Mario kart does this after course demo during black screen transition if buttons are pressed (maybe programming error or emulation timing bug). The functionality that used to block this was lost during HD revisions. Fixes #54 2017-04-09 17:30:00 -05:00
zeromus e7d7c08455 Merge pull request #55 from BigBigos/rtc-override
Add rtc-day/hour options to override NDS clock
2017-04-09 12:51:44 -05:00
Gustaw Smolarczyk bc34bb457d Add rtc-day/hour options to override NDS clock
--rtc-day and --rtc-hour may be used to override the emulated time.
rtc-day is a day of week (0-6) rtc-hour is the hour (0-23). Time
difference is calculated at emulator start and the emulated RTC then
reports time from the future. This difference is then maintained so that
an hour after the emulator is started means an hour passes according
to the RTC.
2017-04-09 18:18:19 +02:00
zeromus d141d13705 add cheat code DFFFFFFF 77777777/99999999 for enabling emulator hacks and allowing access to the ARM9. I didn't test this, I may have broken some cheats 2017-04-08 00:57:19 -05:00
zeromus 5172e1c1f3 Merge pull request #51 from intact/fix-jit-size
fix jit-size command line option processing
2017-04-08 01:35:28 -04:00
zeromus 58b0adab4b fix a bunch of broken non-standard sized register IOs in the SPU. fixes #53 2017-04-08 00:33:19 -05:00
zeromus 8c1627b8c0 action replay: fix D8 codes (were writing 16 bits instead of 8) 2017-04-06 00:15:33 -05:00
intact bb1f34c287 fix jit-size command line option processing 2017-04-03 22:05:48 +02:00
zeromus d82110e99b Update desmume.props
fix linking on vs2017
2017-03-14 19:35:25 -05:00
zeromus 3b6a5168c2 Merge pull request #49 from pal1000/work
Autoretarget Visual Studio 2017. Compilation still fails though
2017-03-14 18:24:11 -05:00
prodea2 27ffdf2ee9 Autoretarget Visual Studio 2017. Compilation still fails though 2017-03-14 22:33:07 +02:00
zeromus 199c9fb90d winport: support vs2017 in msbuild file (fixes #48) 2017-03-13 18:39:43 -04:00
zeromus 363424baaa fix mirroring of bank I across BBG (fixes #46, corrupted pause screen in ultimate mortal kombat) 2017-03-05 17:55:43 -06:00
zeromus e74ef8d0c5 winport: remove accidental relic StylusJitter inifile read 2017-03-05 02:49:40 -06:00
rogerman e38246da31 Cocoa Port: Update the UI for the removal of GFX3D_Zelda_Shadow_Depth_Hack, the changes in StylusJitter, and the addition of gamehacks. 2017-03-05 00:22:28 -08:00
zeromus 5563d61f66 fix #25 (monster trucks) by adding some hacky logic to permit redrawing the scene (for an altered clear image) even when no geometry's been flushed recently 2017-03-04 04:11:00 -06:00
zeromus 66b5da1cdc clear contents of geometry engine ram when it's powered down. fixes #31 (imagine teacher black garbage on screen) 2017-03-04 03:34:20 -06:00
zeromus 51163c33a1 tidy win32 3d options box 2017-03-04 01:54:35 -06:00
zeromus 3c48d83376 remove obsolete zelda depth comparison threshold hack 2017-03-04 01:45:32 -06:00
zeromus 23c8955551 fix last commit not working at all, and also, move stylus jitter (for CSI: dark motives) into a game hack 2017-03-04 01:42:08 -06:00
zeromus c1e5a56233 add system for applying individual game hacks by gamecode 2017-03-04 01:31:14 -06:00
zeromus 7c9abef399 rename game hacks 2017-03-04 01:12:28 -06:00
zeromus 859d47e7ff make CPU freezing flags more flexible, then don't use that. shrink overclocking interval. 2017-03-04 01:09:02 -06:00
zeromus adf682eb23 gpu: remove LCDC check in capture reset 2017-03-04 01:07:09 -06:00
zeromus 9909f34a35 fix hacks not getting enabled properly 2017-03-04 00:37:15 -06:00
zeromus b5a4cf3bac swrast: tiny speedup to backface tests 2017-03-03 21:53:48 -06:00
rogerman 1e96e738d2 Cocoa Port: Correct the touch display location transformation for Retina displays. (Regression from commit ce494a2. Fixes #42.) 2017-03-01 23:09:52 -08:00
rogerman 5e06fbc547 GPU: Change how DISPCAPCNT's CaptureEnable flag is handled, fixing a graphical issue when starting a battle in Pokemon Black/White. (Regression from r5259.)
- To note: This fix to Pokemon Black/White does not require
CommonSettings.pokehax to be enabled.
- The CaptureEnable flag is now only read at the start of line 0,
instead of being read directly from the DISPCAPCNT register per line.
In addition, this same state is held all the way through line 192.
- The CaptureEnable flag is now reset at the start of line 192, instead
of near the end of line 191 H-blank. (This is the proper behavior
according to GBATEK.)
- The CaptureEnable flag is now only reset when the VRAM configuration
is LCDC, instead of always being reset. This makes it possible for this
flag to remain set on line 192 if the VRAM configuration is changed to
a non-LCDC configuration.
- CommonSettings.pokehax is now initialized to false.
- Fix a small bug when setting CommonSettings.pokehax via the command
line.
2017-03-01 18:02:20 -08:00
zeromus 8e18531784 add win32 ui for game-specific workarounds toggling 2017-03-01 00:34:31 -06:00
zeromus cfae9c7674 add logic and CLI for game-specific workarounds 2017-03-01 00:34:09 -06:00
zeromus 99f68c8a51 fix errors in rigorous-timing and advanced-timing and spu-advanced commandline options 2017-03-01 00:31:38 -06:00
rogerman be8530bc3d GPU: Fix graphical issue in Billiards Action when running at custom framebuffer sizes.
- Fixes custom VRAM reads for OBJ bitmap reads when the read location
doesn’t start at line 0. This behavior is now consistent with how BG
extended layers do it.
2017-02-28 22:04:36 -08:00
rogerman 65c5cdd712 GFX3D: Also treat wireframe polygons using A3I5/A5I3 textures as opaque if the polygon is a Decal or Shadow polygon.
- Also do a few readability improvements in the OpenGL renderer.
2017-02-28 14:48:42 -08:00
zeromus 4fb55bddb9 fix: trying to use a dldi-function without --load-type=1 would end up in desmume crashing 2017-02-28 16:31:51 -06:00