Fix PARv3 If-AND code types (fixes #913) (#914)
Prof. 9 prof9@outlook.com
Fri, 20 Oct 2017 03:06:47 +0200
2 files changed,
3 insertions(+),
3 deletions(-)
M
include/mgba/internal/gba/cheats.h
→
include/mgba/internal/gba/cheats.h
@@ -63,7 +63,7 @@ PAR3_COND_LT = 0x18000000,
PAR3_COND_GT = 0x20000000, PAR3_COND_ULT = 0x28000000, PAR3_COND_UGT = 0x30000000, - PAR3_COND_LAND = 0x38000000, + PAR3_COND_AND = 0x38000000, }; enum GBAActionReplay3Width {
M
src/gba/cheats/parv3.c
→
src/gba/cheats/parv3.c
@@ -132,8 +132,8 @@ break;
case PAR3_COND_UGT: cheat->type = CHEAT_IF_UGT; break; - case PAR3_COND_LAND: - cheat->type = CHEAT_IF_LAND; + case PAR3_COND_AND: + cheat->type = CHEAT_IF_AND; break; } return true;