Skip to content

Commit

Permalink
Only reset system settings on region-changed JPN NANDs
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Mar 31, 2024
1 parent f88eca3 commit 90507a1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions arm9/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -477,9 +477,11 @@ int main( int argc, char **argv) {
fwrite(&newRegion, 1, 1, f_hwinfoS);
fclose(f_hwinfoS);
}
// Reset system settings to work around touch inputs not working
remove("sd:/shared1/TWLCFG0.dat");
remove("sd:/shared1/TWLCFG1.dat");
if (regionChar == 'J') {
// Reset system settings to work around touch inputs not working
remove("sd:/shared1/TWLCFG0.dat");
remove("sd:/shared1/TWLCFG1.dat");
}
}

// Create dummy file
Expand Down

0 comments on commit 90507a1

Please sign in to comment.