From 35987ae0e146aef7724b9d992372560ada3c4e42 Mon Sep 17 00:00:00 2001 From: RocketRobz Date: Tue, 4 Feb 2020 19:29:09 -0700 Subject: [PATCH] Re-init bottomConsoleBG after renaming or creating folder --- arm9/source/file_browse.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arm9/source/file_browse.cpp b/arm9/source/file_browse.cpp index 075c657..b99c06f 100644 --- a/arm9/source/file_browse.cpp +++ b/arm9/source/file_browse.cpp @@ -45,7 +45,7 @@ #define OPTIONS_ENTRIES_START_ROW 2 #define ENTRY_PAGE_LENGTH 10 bool bigJump = false; -extern PrintConsole topConsole, bottomConsole; +extern PrintConsole topConsole, bottomConsoleBG, bottomConsole; extern void printBorderTop(void); extern void printBorderBottom(void); @@ -614,6 +614,7 @@ string browseForFile (void) { keyboardHide(); consoleClear(); + consoleInit(&bottomConsoleBG, 1, BgType_Text4bpp, BgSize_T_256x256, 7, 0, false, true); consoleInit(&bottomConsole, 0, BgType_Text4bpp, BgSize_T_256x256, 15, 0, false, true); if (newName[0] != '\0') { @@ -724,6 +725,7 @@ string browseForFile (void) { keyboardHide(); consoleClear(); + consoleInit(&bottomConsoleBG, 1, BgType_Text4bpp, BgSize_T_256x256, 7, 0, false, true); consoleInit(&bottomConsole, 0, BgType_Text4bpp, BgSize_T_256x256, 15, 0, false, true); if (newName[0] != '\0') {