From d0093496b5b39f8d90cf5eeddc2840e417ab616b Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Fri, 19 Oct 2018 21:48:49 -0600 Subject: [PATCH] Minor change --- arm9/source/driveMenu.cpp | 4 ++-- arm9/source/file_browse.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arm9/source/driveMenu.cpp b/arm9/source/driveMenu.cpp index 891fe81..1e5cfa5 100644 --- a/arm9/source/driveMenu.cpp +++ b/arm9/source/driveMenu.cpp @@ -382,6 +382,7 @@ void driveMenu (void) { snprintf(snapPath, sizeof(snapPath), "%s:/gm9i/out/snap_%s_top.bmp", (sdMounted ? "sd" : "fat"), fileTimeText); screenshotbmp(snapPath); // Seamlessly swap top and bottom screens + lcdMainOnBottom(); consoleInit(NULL, 1, BgType_Text4bpp, BgSize_T_256x256, 15, 0, true, true); dm_drawBottomScreen(); consoleInit(NULL, 1, BgType_Text4bpp, BgSize_T_256x256, 15, 0, false, true); @@ -389,12 +390,11 @@ void driveMenu (void) { printf("\x1B[42m"); // Print green color for time text printf("\x1b[0;27H"); printf(timeText); - lcdMainOnBottom(); // Take bottom screenshot snprintf(snapPath, sizeof(snapPath), "%s:/gm9i/out/snap_%s_bot.bmp", (sdMounted ? "sd" : "fat"), fileTimeText); screenshotbmp(snapPath); - lcdMainOnTop(); dmTextPrinted = false; + lcdMainOnTop(); } } diff --git a/arm9/source/file_browse.cpp b/arm9/source/file_browse.cpp index e9ec7b3..183c104 100644 --- a/arm9/source/file_browse.cpp +++ b/arm9/source/file_browse.cpp @@ -627,6 +627,7 @@ string browseForFile (void) { snprintf(snapPath, sizeof(snapPath), "%s:/gm9i/out/snap_%s_top.bmp", (sdMounted ? "sd" : "fat"), fileTimeText); screenshotbmp(snapPath); // Seamlessly swap top and bottom screens + lcdMainOnBottom(); consoleInit(NULL, 1, BgType_Text4bpp, BgSize_T_256x256, 15, 0, true, true); fileBrowse_drawBottomScreen(entry, fileOffset); consoleInit(NULL, 1, BgType_Text4bpp, BgSize_T_256x256, 15, 0, false, true); @@ -634,7 +635,6 @@ string browseForFile (void) { printf("\x1B[42m"); // Print green color for time text printf("\x1b[0;27H"); printf(timeText); - lcdMainOnBottom(); // Take bottom screenshot snprintf(snapPath, sizeof(snapPath), "%s:/gm9i/out/snap_%s_bot.bmp", (sdMounted ? "sd" : "fat"), fileTimeText); screenshotbmp(snapPath);