Show "mounting drive(s)..." during SD/flashcard mount

This commit is contained in:
RocketRobz 2018-10-06 22:37:46 -06:00
parent f708863915
commit 9c0415adb0

View File

@ -100,6 +100,10 @@ int main(int argc, char **argv) {
printf ("https:/github.com/"); printf ("https:/github.com/");
printf ("\x1b[4;11H"); printf ("\x1b[4;11H");
printf ("RocketRobz/GodMode9i"); printf ("RocketRobz/GodMode9i");
if (isDSiMode()) {
printf ("\x1b[22;1H");
printf ("Y Held - Disable cart access");
}
// Display for 2 seconds // Display for 2 seconds
for (int i = 0; i < 60*2; i++) { for (int i = 0; i < 60*2; i++) {
@ -111,11 +115,12 @@ int main(int argc, char **argv) {
if (arm7_SNDEXCNT != 0) isRegularDS = false; // If sound frequency setting is found, then the console is not a DS Phat/Lite if (arm7_SNDEXCNT != 0) isRegularDS = false; // If sound frequency setting is found, then the console is not a DS Phat/Lite
fifoSendValue32(FIFO_USER_07, 0); fifoSendValue32(FIFO_USER_07, 0);
/*if (!fatInitDefault()) { if (isDSiMode()) {
consoleClear(); printf ("\x1b[22;1H");
iprintf ("fatinitDefault failed!\n"); printf (" "); // Clear "Y Held" text
stop(); }
}*/ printf ("\x1b[22;11H");
printf ("mounting drive(s)...");
if (isDSiMode()) { if (isDSiMode()) {
sdMounted = sdMount(); sdMounted = sdMount();