File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -345,6 +345,8 @@ string browseForFile(const vector<string> extensionList, const char* username)
345345 }
346346 }
347347
348+ whiteScreen = false ;
349+
348350 /* clearText(false);
349351 updatePath();
350352 TextPane *pane = &createTextPane(20, 3 + ENTRIES_START_ROW*FONT_SY, ENTRIES_PER_SCREEN);
@@ -420,6 +422,9 @@ string browseForFile(const vector<string> extensionList, const char* username)
420422 cursorPosition = 0 ;
421423 titleboxXpos = 0 ;
422424 titlewindowXpos = 0 ;
425+ whiteScreen = true ;
426+ clearText (true );
427+ clearText (false );
423428 if (romtype == 1 ) romtype = 0 ;
424429 else romtype = 1 ;
425430 return " null" ;
@@ -529,6 +534,9 @@ string browseForFile(const vector<string> extensionList, const char* username)
529534 cursorPosition = 0 ;
530535 titleboxXpos = 0 ;
531536 titlewindowXpos = 0 ;
537+ whiteScreen = true ;
538+ clearText (true );
539+ clearText (false );
532540 return " null" ;
533541 } else if ((pressed & KEY_R) && !titleboxXmoveleft && !titleboxXmoveright && file_count > 39 +pagenum*39 )
534542 {
@@ -537,6 +545,9 @@ string browseForFile(const vector<string> extensionList, const char* username)
537545 cursorPosition = 0 ;
538546 titleboxXpos = 0 ;
539547 titlewindowXpos = 0 ;
548+ whiteScreen = true ;
549+ clearText (true );
550+ clearText (false );
540551 return " null" ;
541552 }
542553
Original file line number Diff line number Diff line change 4747#include " soundbank_bin.h"
4848
4949bool renderScreens = true ;
50- bool whiteScreen = false ;
50+ bool whiteScreen = true ;
5151
5252const char * settingsinipath = " sd:/_nds/srloader/settings.ini" ;
5353const char * bootstrapinipath = " sd:/_nds/nds-bootstrap.ini" ;
@@ -376,6 +376,7 @@ int main(int argc, char **argv) {
376376 showSTARTborder = false ;
377377 graphicsInit ();
378378 fontInit ();
379+ whiteScreen = false ;
379380 printLarge (false , 64 , 32 , " fatinitDefault failed!" );
380381
381382 // Control the DSi Menu, but can't launch anything.
You can’t perform that action at this time.
0 commit comments