Commit Graph

116 Commits

Author SHA1 Message Date
BearOso
08bf7a8696 Don't allocate 8MB for patching. 2023-03-07 13:58:22 -06:00
BearOso
3bbed09867 Condense CheckForAnyPatch with lambdas. 2023-03-07 13:58:22 -06:00
BearOso
db10ed33e1 Don't close zip file when checking patches. 2023-03-07 13:58:22 -06:00
BearOso
bb9037fe98 Fix sequenced ips patch loading outside of zip. 2023-03-07 13:58:22 -06:00
BearOso
259dfd07ae Vulkan support.
Gtk port support. Breaks other platforms.
2023-03-07 13:58:21 -06:00
BearOso
9ed560de2f Make SNES memory allocations static. 2023-03-07 13:58:21 -06:00
BearOso
c69552ccff More cleaning. 2023-03-07 13:58:21 -06:00
BearOso
596e84af2a Start simplifying filesystem stuff. 2023-03-07 13:58:21 -06:00
BearOso
a069749403 Don't map high SRAM range on LoROM if no SRAM. 2023-01-27 15:52:36 -06:00
OV2
8685db48a7 Reset save timer before loading new rom (fixes #782) 2022-09-01 16:08:22 +02:00
BearOso
0a94eaa6dc Revert "LoROM: Don't map SRAM if size is 0."
This reverts commit 386bfe0aa9.
2022-03-07 11:28:19 -06:00
BearOso
8b1f127404 Add scanline timing for Full Throttle Racing. 2022-01-31 19:47:21 -06:00
BearOso
41fb9eb4c4 Set SRAM initialization to set whole buffer, not just a few bytes.
Add a TODO comment at allocation. These never change, so they should
ideally be static.
2022-01-31 16:39:04 -06:00
BearOso
2bc5302478 Add ability of FastROM hacks to use SuperFX. 2022-01-30 20:17:52 -06:00
qwertymodo
e66acceeda Add support for mapping more than 128KByte SRAM 2021-08-20 15:33:23 -07:00
BearOso
8a5d29c4a9 memmap: Add a comment about the new hack detection. 2021-02-07 12:07:37 -06:00
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