Commit Graph

126 Commits

Author SHA1 Message Date
OV2 2cb8c0978a Ensure ROMId is safe 2023-03-15 14:57:55 -05:00
bearoso 82d2ceb183
Merge pull request #712 from Yoshimaster96/master
Add proper support for SuperFX 8MB ROM emulation
2023-03-13 15:49:11 -05:00
OV2 c691be630b Support patches in ROMFILENAME_DIR
Priority is as before: ROMFILENAME_DIR, ZIP, PATCH_DIR
2023-03-12 17:42:30 +01:00
OV2 1c16c0cb63 Fix ips sequences in patch dir 2023-03-12 17:42:30 +01:00
OV2 d502fe0738 Stop if ips sequence was found 2023-03-12 17:42:30 +01:00
OV2 c654caed32 Use splitpath in CheckForAnyPatch (fixes extensions != 3 characters) 2023-03-12 14:12:24 +01:00
bearoso 2dfdfa3b0d
Merge pull request #818 from snes9xgit/vulkan
Merge Vulkan branch into master.
2023-03-07 14:45:51 -06:00
BearOso 33cab01c15 SA1: Map 7e-7f to none. 2023-03-07 14:37:05 -06:00
BearOso 925c8ff2ea Pass offset onto patch function. 2023-03-07 14:01:29 -06:00
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
Yoshimaster96 8980c6fc32
Add proper support for SuperFX 8MB ROM emulation
This code adds support for SuperFX ROMS which use the extended 6MB CPU ROM region specified by the official SNES documentation. It's not super well-tested though.
2021-07-31 17:33:31 -05: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