1
0
mirror of synced 2025-01-18 23:44:04 +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 MotionFalse = false;
static bool StartEffectOnce = false;
static bool RaveRacerFind = false;
static bool PatternFind = false;
HINSTANCE hInstance;
@ -3177,7 +3176,7 @@ void MAMESupermodel::FFBLoop(EffectConstants* constants, Helpers* helpers, Effec
{
if (Emulator == MAME)
{
if (!RaveRacerFind)
if (!PatternFind)
{
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)
{
FFBAddress = (int)aAddy2 + 0x20;
RaveRacerFind = true;
PatternFind = true;
}
}
else