Snes9x - Add ability of FastROM hacks to use SuperFX (#986)

This commit is contained in:
bladeoner 2022-02-07 15:02:20 +01:00 committed by GitHub
parent f5a2ed5e99
commit 09db4c69f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2402,6 +2402,11 @@ void CMemory::InitROM (void)
case 0x1420: case 0x1420:
case 0x1520: case 0x1520:
case 0x1A20: case 0x1A20:
// SuperFX FastROM for ROM hacks
case 0x1330:
case 0x1430:
case 0x1530:
case 0x1A30:
Settings.SuperFX = TRUE; Settings.SuperFX = TRUE;
S9xInitSuperFX(); S9xInitSuperFX();
if (ROM[0x7FDA] == 0x33) if (ROM[0x7FDA] == 0x33)