aboutsummaryrefslogtreecommitdiff
path: root/source/memmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/memmap.c')
-rw-r--r--source/memmap.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/memmap.c b/source/memmap.c
index 587a2c2..60e190a 100644
--- a/source/memmap.c
+++ b/source/memmap.c
@@ -1455,7 +1455,9 @@ void InitROM(bool8 Interleaved)
}
}
+#ifndef USE_BLARGG_APU
IAPU.OneCycle = ONE_APU_CYCLE;
+#endif
Settings.Shutdown = Settings.ShutdownMaster;
SetDSP = &DSP1SetByte;
@@ -3714,6 +3716,7 @@ void ApplyROMFixes()
//APU timing hacks
+#ifndef USE_BLARGG_APU
// Stunt Racer FX
if (strcmp(Memory.ROMId, "CQ ") == 0 ||
// Illusion of Gaia
@@ -3721,6 +3724,7 @@ void ApplyROMFixes()
strcmp(Memory.ROMName, "GAIA GENSOUKI 1 JPN") == 0)
IAPU.OneCycle = 13;
+
// RENDERING RANGER R2
if (strcmp(Memory.ROMId, "AVCJ") == 0 ||
//Mark Davis
@@ -3768,7 +3772,7 @@ void ApplyROMFixes()
|| //Kamen Rider
strncmp(Memory.ROMName, "LETs PACHINKO(", 14) == 0) //A set of BS games
IAPU.OneCycle = 15;
-
+#endif
//Specific game fixes