Minor change

This commit is contained in:
RocketRobz 2018-10-19 21:48:49 -06:00
parent 704c82438c
commit d0093496b5
2 changed files with 3 additions and 3 deletions

View File

@ -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();
}
}

View File

@ -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);