Commit Graph

100 Commits

Author SHA1 Message Date
BearOso a146093e4e memmap: Add heuristic to detect Earthbound hack.
Fixes issue #691.
2021-02-06 13:08:46 -06:00
Brandon Wright 5c3fbf6740 Fix some warnings.
Removed sstrncpy function.
Changed bindings in GTK port to std::array and fixed packing nonsense.
2020-06-20 10:44:11 -05:00
Paul Brannan a70aa17c56 Increase SRAM size to 512KB
Increased SRAM size from 128KB to 512KB.  This fixes a crash in the
emulator when writing to SRAM between addresses $720000 and $7DFFFF.
2020-03-31 06:35:29 -04:00
OV2 e268af2966 Classify region id 18 as PAL (fixes #615) 2019-12-29 23:46:30 +01:00
OV2 375ba2702a Also apply Firepower 2000 scanline timing to Super SWIV (fixes #610) 2019-12-26 15:06:55 +01:00
Brandon Wright 20f6dab047 Add render position hack and clean up rest.
This removes the "known bad dumps" section, which probably aren't
relevant anymore. It also removes commented out APU hacks which are
no longer needed.
2019-11-12 16:25:41 -06:00
Brandon Wright 83916eb56d Round up calculated size to next 8k for bad hacks. 2019-04-14 13:03:09 -05:00
Brandon Wright ac4d458f7b Add Settings.IsPatched to know if ROM was patched. 2019-04-10 14:43:20 -05:00
Brandon Wright c6facbdf4a Fix BPS patch support. (ArtiiP) 2019-04-10 14:12:29 -05:00
Brandon Wright e854a759f8 Fix Chou Aniki. Remove hack. 2019-03-09 17:16:54 -06:00
Brandon Wright aeb0d4f702 Adjust APU hack for Circuit USA. 2019-02-20 16:25:12 -06:00
Brandon Wright 56af48c042 Reduced version of Vitor's fix for SA1 speed throttle. 2019-01-08 15:32:44 -06:00
Brandon Wright 976edaad02 Adjust Chou Aniki timing hack. 2018-11-20 15:30:00 -06:00
Brandon Wright b7a126ac17 Get rid of "ignore" warnings. 2018-11-18 12:03:14 -06:00
Brandon Wright 5f56cadafb Use a license stub everywhere.
This points to the full license in the root directory.
2018-11-15 17:31:39 -06:00
OV2 70e4d4342f
Merge pull request #420 from Dwedit/change-header-detection
Change detection of copier headers
2018-09-20 15:46:38 +02:00
Brandon Wright c61d81269a Timings.IRQTriggerCycles is 3.5 dot clocks. 2018-09-09 16:15:38 -05:00
Dwedit d044d370f8 Change detection of copier headers 2018-08-28 13:53:09 -05:00
Brandon Wright 386bfe0aa9 LoROM: Don't map SRAM if size is 0. 2018-08-07 11:48:21 -05:00
OV2 af3dbf8b54 Do not prematurely close unzFiles for ips, properly close for ups
(closes #343)
2018-06-19 22:36:50 +02:00
Brandon Wright 642ce83e47 Switch back to .cht format. Update to byuu's new form. 2018-06-03 18:02:48 -05:00
Brandon Wright 4c40ed4ce3 Cleanup. 2018-05-29 14:11:02 -05:00
OV2 ba4f807b1d Remove Aero the AcroBat 2 hack 2018-05-29 20:47:22 +02:00
Brandon Wright 20bd60a3c6 Update copyright dates. 2018-05-25 15:44:52 -05:00
Brandon Wright cff3ff50f5 I think this one's fixed, too. 2018-05-22 16:50:52 -05:00
Brandon Wright c29ca215d0 Increment VRAM pointer even if we don't write to it. 2018-05-22 14:54:37 -05:00
Brandon Wright c96f6cd913 Add Kick Off and Jojo to VRAM write exclusions for now. 2018-05-19 16:00:26 -05:00
Brandon Wright 2f57076877 Adjust SDD1 mapping. 2018-05-14 11:10:03 -05:00
Brandon Wright e3838a2dad Use .bml instead of .cht. Add fallbacks where loading. 2018-04-30 17:25:43 -05:00
OV2 9c056c4d40 Remove doubled S9xInitCheatData 2018-05-01 00:06:11 +02:00
Brandon Wright e69fd7c50e Fix a couple bugs. Change cheats on unix to work like they used to. 2018-04-30 16:44:17 -05:00
Brandon Wright 21a4fe3163 Updated for Windows support. 2018-04-27 15:42:19 -05:00
Brandon Wright cb531670e5 Various fixes. Allow global disabling of cheats. 2018-04-26 11:15:20 -05:00
Brandon Wright 0d102b72ff Revamping cheats support. 2018-04-25 19:29:26 -05:00
Brandon Wright bbfeb19b08 Calculate SHA256 checksum for later use. 2018-04-24 17:06:32 -05:00
OV2 94d9416d40 Add DMA timing hack for Koryu no Mimi translation by rpgone
(fixes #279)
2018-04-02 13:58:55 +02:00
Brandon Wright 89f34bb33a Rendering Ranger R2 now seems to work without timing hack. 2017-12-07 16:03:32 -06:00
Brandon Wright e2277ff55b Clean up compiler warnings. 2017-12-06 19:00:19 -06:00
Brandon Wright 099bd60db0 Added Chou Aniki APU timing hack. 2017-11-17 16:11:03 -06:00
Brandon Wright 7a2ca6dc2a Update copyrights. 2017-11-17 16:00:58 -06:00
qwertymodo 81d287cbd8 Add support for Tengai Makyou Zero English patch mapping 2017-10-23 09:03:19 -07:00
qwertymodo e4d08bb71a New attempt to fix RAM mapping for Light Fantasy (matches higan) 2017-10-09 13:15:44 -07:00
qwertymodo 992157ec84 Add config option to ignore BPS/UPS checksums for soft patching 2017-09-28 10:45:32 -07:00
OV2 7bd06fda13 Merge branch 'gtk_unix_fixes' of git://github.com/megari/snes9x 2017-09-11 23:42:13 +02:00
OV2 cb3ace471e Rename IPS_DIR to PATCH_DIR, split cheats path in win32 2017-09-11 23:29:12 +02:00
Ari Sundholm 60aabb91d7 Fix some undefined behavior
The destructor of Resampler needs to be virtual, as it is subclassed
and pointers to objects subclassed from it are being deleted.

The issue in controls.cpp is that the loop ends up reading past the
end of an array. The small rewrite of the loop also makes it more
readable.

In memmap.cpp, there is an assignment statement of the following form:
	a[i++] = b[i];
It is undefined what i's value should be in b[i], so this was made
explicit.
2017-09-11 00:42:36 +03:00
qwertymodo 7455501db8 Minor refactor to .msu1 pack hotpatching 2017-09-09 17:02:52 -07:00
qwertymodo 698bf1a4b2 Remove .msu.zip extension support in favor of .msu1 2017-09-03 14:54:01 -07:00
qwertymodo 9e804b4515 Add support for loading .msu1 packs as ROM files, if they actually contain a ROM file 2017-08-17 11:30:44 -07:00
qwertymodo 96fd5c4121 Allow unzFindExtension to optionally match the exact filename 2017-08-17 10:37:28 -07:00