all repos — mgba @ df27a1558e3c807e53a11978920a28636fc79417

mGBA Game Boy Advance Emulator

GBA Cheats: Fix GameShark ROM patches
Tyler Wade wayedt@gmail.com
Fri, 21 Oct 2016 00:53:42 -0500
commit

df27a1558e3c807e53a11978920a28636fc79417

parent

8a572ab136554d69d96c0cc968ebb2c8557c1f6f

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -8,6 +8,7 @@ - Windows: Fix Unicode directory handling

- Qt: Fix changing resolution of software renderer - Qt: Fix setting overrides - Qt: Fix cut off tiles and alignment issues in tile viewer + - GBA Cheats: Fix GameShark ROM patches 0.5.1: (2016-10-05) Bugfixes:
M src/gba/cheats/gameshark.csrc/gba/cheats/gameshark.c

@@ -145,7 +145,7 @@ cheat->address = op2;

cheats->incompleteCheat = mCheatListIndex(&cheats->d.list, cheat); break; case GSA_PATCH: - cheats->romPatches[0].address = (op1 & 0xFFFFFF) << 1; + cheats->romPatches[0].address = BASE_CART0 | ((op1 & 0xFFFFFF) << 1); cheats->romPatches[0].newValue = op2; cheats->romPatches[0].applied = false; cheats->romPatches[0].exists = true;