Commit Graph

138 Commits

Author SHA1 Message Date
BearOso 82f7658574 win32: Add imgui overlay to direct3d.
memmap: Use multiline rom info message.
2023-05-07 16:06:34 -05:00
BearOso b11ecf932a imgui: Update font. Test ROM status line. 2023-05-03 16:45:56 -05:00
BearOso bc98b1dee1 memmap: Simplify a heuristic to avoid UB. 2023-04-30 15:50:03 -05:00
BearOso a74769c194 memmap: Report if ROM is patched instead of "bad checksum." 2023-04-26 16:26:44 -05:00
OV2 fb3c00460d Allow passing optional rom filename 2023-03-28 18:10:18 +02:00
BearOso d5400f77bb Fix snapshot bugs. 2023-03-27 17:16:39 -05:00
BearOso d948ef8a19 Make SRAM and GFX.Screen dynamic again. 2023-03-23 19:02:23 -05:00
BearOso fdcef11795 Make ROMStorage dynamic. 2023-03-23 17:52:39 -05:00
BearOso c325cbc2f6 Another SRAM->0 fix. 2023-03-20 14:55:31 -05:00
BearOso 7943dfa126 Zero SRAM for Super Formation Soccer 95 - della Serie A. 2023-03-19 14:43:52 -05:00
BearOso e81edf83a6 Fix warning. 2023-03-15 15:07:20 -05:00
BearOso 24db4e6e90 Apply SafeString to ROMName here as well. 2023-03-15 15:02:08 -05:00
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