From 9a125ccb71bd2093253064f6c7effc1888a107c5 Mon Sep 17 00:00:00 2001 From: Robz8 Date: Mon, 10 Jul 2017 21:09:09 -0600 Subject: [PATCH] Fix compilation error --- bootloader/source/boot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootloader/source/boot.c b/bootloader/source/boot.c index e79f7a2bb..c65739bce 100644 --- a/bootloader/source/boot.c +++ b/bootloader/source/boot.c @@ -84,6 +84,7 @@ extern unsigned long argSize; extern unsigned long dsiSD; extern unsigned long saveFileCluster; extern unsigned long donorFileCluster; +extern unsigned long useArm7Donor; extern unsigned long donorSdkVer; extern unsigned long patchMpuRegion; extern unsigned long patchMpuSize; @@ -450,7 +451,7 @@ int main (void) { ensureArm9Decompressed(NDS_HEAD, params); } - patchCardNds(NDS_HEAD,ENGINE_LOCATION_ARM7,ENGINE_LOCATION_ARM9,params,saveFileCluster, patchMpuRegion, patchMpuSize, donorFile); + patchCardNds(NDS_HEAD,ENGINE_LOCATION_ARM7,ENGINE_LOCATION_ARM9,params,saveFileCluster, patchMpuRegion, patchMpuSize, donorFile, useArm7Donor); int error = hookNdsRetail(NDS_HEAD, file, (const u32*)CHEAT_DATA_LOCATION, (u32*)CHEAT_ENGINE_LOCATION, (u32*)ENGINE_LOCATION_ARM7); if(error == ERR_NONE) {