Fix PARv3 If-AND code types (fixes #913) (#914)

This commit is contained in:
Prof. 9 2017-10-20 03:06:47 +02:00 committed by endrift
parent 523aaf1497
commit 168cad7f9c
2 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ enum GBAActionReplay3Condition {
PAR3_COND_GT = 0x20000000,
PAR3_COND_ULT = 0x28000000,
PAR3_COND_UGT = 0x30000000,
PAR3_COND_LAND = 0x38000000,
PAR3_COND_AND = 0x38000000,
};
enum GBAActionReplay3Width {

View File

@ -132,8 +132,8 @@ static bool _addPAR3Cond(struct GBACheatSet* cheats, uint32_t op1, uint32_t op2)
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;