aboutsummaryrefslogtreecommitdiff
path: root/source/memmap.c
diff options
context:
space:
mode:
authoraliaspider2014-11-03 11:11:05 +0100
committeraliaspider2014-11-03 11:11:05 +0100
commit7077e9821593b2c9b78830c4cc5055c6a79cdd69 (patch)
tree615195d3db586f5542eddd0cbd17e46e816f954b /source/memmap.c
parent3564bfe8134ce6e1294a59212484e9ee487ab4f5 (diff)
downloadsnes9x2005-7077e9821593b2c9b78830c4cc5055c6a79cdd69.tar.gz
snes9x2005-7077e9821593b2c9b78830c4cc5055c6a79cdd69.tar.bz2
snes9x2005-7077e9821593b2c9b78830c4cc5055c6a79cdd69.zip
can build with USE_BLARGG_APU enabled, still not working.
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