GB Cheats: Fix Game Genie check code (fixes #2055)
Vicki Pfau vi@endrift.com
Wed, 24 Feb 2021 19:36:25 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gb/cheats.c
→
src/gb/cheats.c
@@ -98,7 +98,7 @@ uint32_t value = ((op3 & 0xF00) << 20) | (op3 & 0xF);
value = ROR(value, 2); value |= value >> 24; value ^= 0xBA; - patch->checkValue = value; + patch->checkValue = value & 0xFF; patch->check = true; } else { patch->check = false;