mirror of https://github.com/mgba-emu/mgba.git
GBA Cheats: Fix Pro Action Replay and GameShark issues when used together
This commit is contained in:
parent
fd809b3b39
commit
b4c3440bc4
1
CHANGES
1
CHANGES
|
@ -57,6 +57,7 @@ Bugfixes:
|
|||
- ARM7: ARMHotplugDetach should call deinit
|
||||
- Qt: Fix window being too tall after exiting fullscreen
|
||||
- Qt: Fix a missing va_end call in the log handler lambda within the GameController constructor
|
||||
- GBA Cheats: Fix Pro Action Replay and GameShark issues when used together
|
||||
Misc:
|
||||
- Qt: Handle saving input settings better
|
||||
- Debugger: Free watchpoints in addition to breakpoints
|
||||
|
|
|
@ -197,6 +197,7 @@ bool GBACheatAddGameShark(struct GBACheatSet* set, uint32_t op1, uint32_t op2) {
|
|||
|
||||
switch (set->gsaVersion) {
|
||||
case 0:
|
||||
case 3:
|
||||
GBACheatSetGameSharkVersion(set, 1);
|
||||
// Fall through
|
||||
case 1:
|
||||
|
|
|
@ -297,9 +297,10 @@ bool GBACheatAddProActionReplay(struct GBACheatSet* set, uint32_t op1, uint32_t
|
|||
|
||||
switch (set->gsaVersion) {
|
||||
case 0:
|
||||
case 1:
|
||||
GBACheatSetGameSharkVersion(set, 3);
|
||||
// Fall through
|
||||
case 1:
|
||||
case 3:
|
||||
GBACheatDecryptGameShark(&o1, &o2, set->gsaSeeds);
|
||||
return GBACheatAddProActionReplayRaw(set, o1, o2);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue