1
0
mirror of synced 2025-01-19 07:47:25 +01:00

remove unnecessary bool

This commit is contained in:
Aaron M 2020-06-01 15:15:09 +12:00
parent c2aaf63ee1
commit 57bdb0c853

View File

@ -602,7 +602,6 @@ static bool HardDrivinFrame = false;
static bool Motion = false; static bool Motion = false;
static bool MotionFalse = false; static bool MotionFalse = false;
static bool StartEffectOnce = false; static bool StartEffectOnce = false;
static bool RaveRacerFind = false;
static bool PatternFind = false; static bool PatternFind = false;
HINSTANCE hInstance; HINSTANCE hInstance;
@ -3177,7 +3176,7 @@ void MAMESupermodel::FFBLoop(EffectConstants* constants, Helpers* helpers, Effec
{ {
if (Emulator == MAME) if (Emulator == MAME)
{ {
if (!RaveRacerFind) if (!PatternFind)
{ {
aAddy2 = PatternScan("\x08\x00\x20\x00\x20\x00\x20\x00\x20\x00\x03", "xxxxxxxxxxx"); aAddy2 = PatternScan("\x08\x00\x20\x00\x20\x00\x20\x00\x20\x00\x03", "xxxxxxxxxxx");
@ -3185,7 +3184,7 @@ void MAMESupermodel::FFBLoop(EffectConstants* constants, Helpers* helpers, Effec
if (CheckAddy2 == 0x3B) if (CheckAddy2 == 0x3B)
{ {
FFBAddress = (int)aAddy2 + 0x20; FFBAddress = (int)aAddy2 + 0x20;
RaveRacerFind = true; PatternFind = true;
} }
} }
else else