Skip to content

Commit

Permalink
Update nds_loader_arm9.c
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Nov 11, 2024
1 parent ef00c62 commit 166258b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arm9/source/nds_loader_arm9.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ int runNds (const void* loader, u32 loaderSize, u32 cluster, bool initDisc, bool

writeAddr ((data_t*) LCDC_BANK_C, DSIMODE_OFFSET, isDSiMode());
if(argv[0][0]=='s' && argv[0][1]=='d') {
dldiPatchNds = false;
writeAddr ((data_t*) LCDC_BANK_C, HAVE_DSISD_OFFSET, 1);
}

Expand Down Expand Up @@ -373,7 +372,7 @@ int runNdsFile (const char* filename, int argc, const char** argv) {
installBootStub(havedsiSD);
#endif */

return runNds (load_bin, load_bin_size, st.st_ino, true, true, argc, argv);
return runNds (load_bin, load_bin_size, st.st_ino, true, (memcmp(io_dldi_data->friendlyName, "Default", 7) != 0), argc, argv);
}

/*
Expand Down

0 comments on commit 166258b

Please sign in to comment.