all repos — mgba @ c93d03eca89d3988870de97997d8b1f9dbaed74b

mGBA Game Boy Advance Emulator

Test: Fix build
Vicki Pfau vi@endrift.com
Sat, 23 Dec 2017 15:51:35 -0800
commit

c93d03eca89d3988870de97997d8b1f9dbaed74b

parent

d8ef04c6abe02efc832fbff727b5b39bf7b2f3de

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

jump to
M src/gba/test/cheats.csrc/gba/test/cheats.c

@@ -81,7 +81,7 @@ struct mCheatDevice* device = core->cheatDevice(core);

assert_non_null(device); struct mCheatSet* set = device->createSet(device, NULL); assert_non_null(set); - GBACheatSetGameSharkVersion((struct GBACheatSet*) set, GBA_GS_PARV3_RAW); + GBACheatSetGameSharkVersion((struct GBACheatSet*) set, 4); assert_true(set->addLine(set, "00000000 80300000", GBA_CHEAT_PRO_ACTION_REPLAY)); assert_true(set->addLine(set, "00000001 01020002", GBA_CHEAT_PRO_ACTION_REPLAY));

@@ -110,7 +110,7 @@ struct mCheatDevice* device = core->cheatDevice(core);

assert_non_null(device); struct mCheatSet* set = device->createSet(device, NULL); assert_non_null(set); - GBACheatSetGameSharkVersion((struct GBACheatSet*) set, GBA_GS_PARV3_RAW); + GBACheatSetGameSharkVersion((struct GBACheatSet*) set, 4); assert_true(set->addLine(set, "00000000 82300000", GBA_CHEAT_PRO_ACTION_REPLAY)); assert_true(set->addLine(set, "00000001 01020002", GBA_CHEAT_PRO_ACTION_REPLAY));

@@ -139,7 +139,7 @@ struct mCheatDevice* device = core->cheatDevice(core);

assert_non_null(device); struct mCheatSet* set = device->createSet(device, NULL); assert_non_null(set); - GBACheatSetGameSharkVersion((struct GBACheatSet*) set, GBA_GS_PARV3_RAW); + GBACheatSetGameSharkVersion((struct GBACheatSet*) set, 4); assert_true(set->addLine(set, "00000000 84300000", GBA_CHEAT_PRO_ACTION_REPLAY)); assert_true(set->addLine(set, "00000001 01020002", GBA_CHEAT_PRO_ACTION_REPLAY));