all repos — mgba @ 15127751e12f922f38123f9409b9436d8fd8f9d6

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

15127751e12f922f38123f9409b9436d8fd8f9d6

parent

5134e39681e4cd9c0241b8d08533ef4d75054171

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

jump to
M CHANGESCHANGES

@@ -27,6 +27,7 @@ - GBA DMA: Fix invalid DMA reads (fixes mgba.io/i/142)

- GBA Savedata: Fix crash when resizing flash - GBA Video: Add delay when enabling BGs (fixes mgba.io/i/744, mgba.io/i/752) - 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 Timer: Use global cycles for timers - GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722)
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);