mirror of https://github.com/mgba-emu/mgba.git
GBA Cheats: Fix issues detecting unencrypted cheats (fixes #2724)
This commit is contained in:
parent
86bcbf1716
commit
1b9671bf21
1
CHANGES
1
CHANGES
|
@ -15,6 +15,7 @@ Emulation fixes:
|
|||
- GBA Video: Disable BG target 1 blending when OBJ blending (fixes mgba.io/i/2722)
|
||||
Other fixes:
|
||||
- GBA: Fix forceskip BIOS logic for multiboot ROMs (fixes mgba.io/i/2753)
|
||||
- GBA Cheats: Fix issues detecting unencrypted cheats (fixes mgba.io/i/2724)
|
||||
- Qt: Manually split filename to avoid overzealous splitting (fixes mgba.io/i/2681)
|
||||
- Qt: Expand criteria for tag branch names (fixes mgba.io/i/2679)
|
||||
- Qt: Fix scanning specific e-Reader dotcodes (fixes mgba.io/i/2693)
|
||||
|
|
|
@ -126,13 +126,13 @@ static bool GBACheatAddAutodetect(struct GBACheatSet* set, uint32_t op1, uint32_
|
|||
GBACheatSetGameSharkVersion(set, GBA_GS_PARV3);
|
||||
}
|
||||
|
||||
rgsaP = GBACheatGameSharkProbability(op1, op1);
|
||||
rgsaP = GBACheatGameSharkProbability(op1, op2);
|
||||
if (rgsaP > maxProbability) {
|
||||
maxProbability = rgsaP;
|
||||
GBACheatSetGameSharkVersion(set, GBA_GS_GSAV1_RAW);
|
||||
}
|
||||
|
||||
rparP = GBACheatProActionReplayProbability(op1, op1);
|
||||
rparP = GBACheatProActionReplayProbability(op1, op2);
|
||||
if (rparP > maxProbability) {
|
||||
maxProbability = rparP;
|
||||
GBACheatSetGameSharkVersion(set, GBA_GS_PARV3_RAW);
|
||||
|
|
Loading…
Reference in New Issue