From 9b8bb7b85b0e716cae550708b2da44658f31f396 Mon Sep 17 00:00:00 2001 From: bladeoner Date: Tue, 18 Dec 2018 23:16:48 +0100 Subject: [PATCH] APU and SA1 hack optimizations - Revert don't apply SA1 hack to Kirby's Dream Land 3. - Enable Don't apply SA1 hack to Hoshi no Kirby - Add Teiruzu obu Fantaja (Tales of Phantasia (J)) - Re-enable APU hacks to make Tales of Phantasia work again - Backport Chou Aniki APU value --- source/snes9x/memmap.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/snes9x/memmap.cpp b/source/snes9x/memmap.cpp index 2b64e50..2e22658 100644 --- a/source/snes9x/memmap.cpp +++ b/source/snes9x/memmap.cpp @@ -3645,11 +3645,12 @@ void CMemory::ApplyROMFixes (void) //if (match_id("AVCJ")) // Rendering Ranger R2 // Timings.APUSpeedup = 2; if (match_id("AANJ")) // Chou Aniki - Timings.APUSpeedup = 1; + Timings.APUSpeedup = -3; if (match_na("CIRCUIT USA")) Timings.APUSpeedup = 2; -/* if (match_na("GAIA GENSOUKI 1 JPN") || // Gaia Gensouki + #ifdef GEKKO + if (match_na("GAIA GENSOUKI 1 JPN") || // Gaia Gensouki match_id("JG ") || // Illusion of Gaia match_id("CQ ") || // Stunt Race FX match_na("SOULBLADER - 1") || // Soul Blader @@ -3659,7 +3660,7 @@ void CMemory::ApplyROMFixes (void) match_nn("ACTRAISER") || // Actraiser match_nn("ActRaiser-2") || // Actraiser 2 match_id("AQT") || // Tenchi Souzou, Terranigma - match_id("ATV") || // Tales of Phantasia + match_id("ATV") || match_id("ATVJ") || // Tales of Phantasia / Teiruzu obu Fantajia match_id("ARF") || // Star Ocean match_id("APR") || // Zen-Nippon Pro Wrestling 2 - 3-4 Budoukan match_id("A4B") || // Super Bomberman 4 @@ -3683,8 +3684,8 @@ void CMemory::ApplyROMFixes (void) match_nn("Parlor") || // Parlor mini/2/3/4/5/6/7, Parlor Parlor!/2/3/4/5 match_na("HEIWA Parlor!Mini8") || // Parlor mini 8 match_nn("SANKYO Fever! \xCC\xA8\xB0\xCA\xDE\xB0!")) // SANKYO Fever! Fever! - Timings.APUSpeedup = 1; */ - #ifdef GEKKO + Timings.APUSpeedup = 1; + if (match_na ("EARTHWORM JIM 2") || // Earthworm Jim 2 match_na ("NBA Hangtime") || // NBA Hang Time match_na ("MSPACMAN") || // Ms Pacman @@ -3696,8 +3697,7 @@ void CMemory::ApplyROMFixes (void) match_na ("DOOM TROOPERS")) // Doom Troopers Timings.APUAllowTimeOverflow = TRUE; - if (match_id("AFJJ") || match_id("AFJE") || // Hoshi no Kirby 3, Kirby's Dream Land 3 - match_id("AKFE")) { // Kirby Super Star + if (match_id("AKFJ") || match_id("AKFE")) { // Hoshi no Kirby / Kirby Super Star Timings.SA1Cycles = 5; } else {