all repos — mgba @ 17b896230f9c977396676da32b0c3aa85e6e5472

mGBA Game Boy Advance Emulator

GBA Cheats: Fix slide codes not initializing properly
Vicki Pfau vi@endrift.com
Sat, 11 Nov 2017 11:20:39 -0800
commit

17b896230f9c977396676da32b0c3aa85e6e5472

parent

9248dcb07a9f5f0a39501a799f2d1a4fbcc7a555

2 files changed, 4 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -7,6 +7,7 @@ - GBA Cheats: Fix PARv3 slide codes (fixes mgba.io/i/919)

- GBA Video: OBJWIN can change blend params after OBJ is drawn (fixes mgba.io/i/921) - GBA Savedata: Fix crash when resizing flash - GB Memory: HDMAs should not start when LCD is off (fixes mgba.io/i/310) + - GBA Cheats: Fix slide codes not initializing properly Misc: - GBA: Improve multiboot image detection - GB MBC: Remove erroneous bank 0 wrapping
M src/gba/cheats/parv3.csrc/gba/cheats/parv3.c

@@ -190,18 +190,21 @@ }

return false; case PAR3_OTHER_FILL_1: cheat = mCheatListAppend(&cheats->d.list); + cheat->type = CHEAT_ASSIGN; cheat->address = _parAddr(op2); cheat->width = 1; cheats->incompleteCheat = mCheatListIndex(&cheats->d.list, cheat); break; case PAR3_OTHER_FILL_2: cheat = mCheatListAppend(&cheats->d.list); + cheat->type = CHEAT_ASSIGN; cheat->address = _parAddr(op2); cheat->width = 2; cheats->incompleteCheat = mCheatListIndex(&cheats->d.list, cheat); break; case PAR3_OTHER_FILL_4: cheat = mCheatListAppend(&cheats->d.list); + cheat->type = CHEAT_ASSIGN; cheat->address = _parAddr(op2); cheat->width = 4; cheats->incompleteCheat = mCheatListIndex(&cheats->d.list, cheat);