From 7077e9821593b2c9b78830c4cc5055c6a79cdd69 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Mon, 3 Nov 2014 11:11:05 +0100 Subject: can build with USE_BLARGG_APU enabled, still not working. --- source/memmap.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/memmap.c') 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 -- cgit v1.2.3