Skip to content

Commit

Permalink
Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Jul 11, 2017
1 parent f569a26 commit 9a125cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bootloader/source/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 9a125cc

Please sign in to comment.