From c93d03eca89d3988870de97997d8b1f9dbaed74b Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 23 Dec 2017 15:51:35 -0800 Subject: [PATCH] Test: Fix build --- src/gba/test/cheats.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gba/test/cheats.c b/src/gba/test/cheats.c index 7af7df40a..eefcbd904 100644 --- a/src/gba/test/cheats.c +++ b/src/gba/test/cheats.c @@ -81,7 +81,7 @@ M_TEST_DEFINE(doPARv3Slide1) { 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 @@ M_TEST_DEFINE(doPARv3Slide2) { 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 @@ M_TEST_DEFINE(doPARv3Slide4) { 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));