From c311120c0cda2757aa553859f812cd495af17614 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Fri, 5 Oct 2018 21:39:45 -0600 Subject: [PATCH] Lower chances of flashcard mounting causing Guru Meditation Error --- arm9/source/driveOperations.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arm9/source/driveOperations.cpp b/arm9/source/driveOperations.cpp index 1fc4a4b..07b8de4 100644 --- a/arm9/source/driveOperations.cpp +++ b/arm9/source/driveOperations.cpp @@ -130,10 +130,9 @@ bool flashcardMount(void) { } memcpy(&nds, (void*)0x02000000, sizeof(nds));*/ UpdateCardInfo(&nds, &gameid[0], &gamename[0]); + swiWaitForVBlank(); - /*SetBrightness(0, 0); - SetBrightness(1, 0); - consoleDemoInit(); + /*consoleClear(); iprintf("REG_SCFG_MC: %x\n", REG_SCFG_MC); ShowGameInfo(gameid, gamename); @@ -142,6 +141,7 @@ bool flashcardMount(void) { }*/ sysSetCardOwner (BUS_OWNER_ARM7); // 3DS fix + swiWaitForVBlank(); // Read a DLDI driver specific to the cart if (!memcmp(gamename, "R4DSULTRA", 9)) {