From 9c0415adb0391f8572aaacb5427f5e0727f4ebfd Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Sat, 6 Oct 2018 22:37:46 -0600 Subject: [PATCH] Show "mounting drive(s)..." during SD/flashcard mount --- arm9/source/main.cpp | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/arm9/source/main.cpp b/arm9/source/main.cpp index 5dab48a..abc8d77 100644 --- a/arm9/source/main.cpp +++ b/arm9/source/main.cpp @@ -100,6 +100,10 @@ int main(int argc, char **argv) { printf ("https:/github.com/"); printf ("\x1b[4;11H"); printf ("RocketRobz/GodMode9i"); + if (isDSiMode()) { + printf ("\x1b[22;1H"); + printf ("Y Held - Disable cart access"); + } // Display for 2 seconds for (int i = 0; i < 60*2; i++) { @@ -111,12 +115,13 @@ 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 fifoSendValue32(FIFO_USER_07, 0); - /*if (!fatInitDefault()) { - consoleClear(); - iprintf ("fatinitDefault failed!\n"); - stop(); - }*/ - + if (isDSiMode()) { + printf ("\x1b[22;1H"); + printf (" "); // Clear "Y Held" text + } + printf ("\x1b[22;11H"); + printf ("mounting drive(s)..."); + if (isDSiMode()) { sdMounted = sdMount(); }