GB Cheats: Fix Game Genie check code (fixes #2055)

This commit is contained in:
Vicki Pfau 2021-02-24 19:36:25 -08:00
parent 1e017ade23
commit 910089b514
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ static bool GBCheatAddGameGenieLine(struct mCheatSet* cheats, const char* line)
value = ROR(value, 2); value = ROR(value, 2);
value |= value >> 24; value |= value >> 24;
value ^= 0xBA; value ^= 0xBA;
patch->checkValue = value; patch->checkValue = value & 0xFF;
patch->check = true; patch->check = true;
} else { } else {
patch->check = false; patch->check = false;