Skip to content

Commit

Permalink
Require TWLMenu++ to use EZ-Flash
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Oct 14, 2023
1 parent d0e77cc commit 880ffff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions retail/arm9/source/conf_sd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,13 +487,13 @@ int loadFromSD(configuration* conf, const char *bootstrapPath) {
*(u16*)(0x020000C0) = 0x4353;
*(vu16*)(0x08000000) = 0x4D54;
}
if (*(vu16*)(0x08000000) != 0x4D54) {
cExpansion::SetRompage(381); // Try again with EZ Flash
/* if (*(vu16*)(0x08000000) != 0x4D54) {
cExpansion::SetRompage(381); // Try again with EZ Flash (TWLMenu++ required)
cExpansion::OpenNorWrite();
cExpansion::SetSerialMode();
*(u16*)(0x020000C0) = 0x5A45;
*(vu16*)(0x08000000) = 0x4D54;
}
} */
if (*(vu16*)(0x08000000) != 0x4D54) {
*(u16*)(0x020000C0) = 0;
}
Expand Down

0 comments on commit 880ffff

Please sign in to comment.