File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,8 @@ bool settingsChanged = false;
103
103
104
104
extern void SaveSettings ();
105
105
106
+ extern std::string ReplaceAll (std::string str, const std::string& from, const std::string& to);
107
+
106
108
extern void loadGameOnFlashcard (const char * filename);
107
109
108
110
mm_sound_effect snd_launch;
@@ -895,6 +897,7 @@ string browseForFile(const vector<string> extensionList, const char* username)
895
897
&& !titleboxXmoveleft && !titleboxXmoveright && showSTARTborder && !flashcardUsed)
896
898
{
897
899
arm7DonorPath = " sd:/" +romfolder+" /" +dirContents[scrn].at (cursorPosition+pagenum*40 ).name .c_str ();
900
+ arm7DonorPath = ReplaceAll (arm7DonorPath, " sd:/sd:/" , " sd:/" ); // Fix for if romfolder has "sd:/"
898
901
int yPos = 160 ;
899
902
if (theme == 1 ) yPos -= 4 ;
900
903
printSmallCentered (false , yPos, " Donor ROM is set." );
Original file line number Diff line number Diff line change @@ -543,6 +543,7 @@ void vBlankHandler()
543
543
spawnedboxXpos += 64 ;
544
544
iconXpos += 64 ;
545
545
}
546
+ if (theme == 0 ) glSprite (spawnedboxXpos+10 -startMenu_titleboxXpos, 80 , GL_FLIP_H, braceImage);
546
547
} else {
547
548
for (int i = 0 ; i < 40 ; i++) {
548
549
if (theme == 0 ) {
@@ -572,6 +573,7 @@ void vBlankHandler()
572
573
spawnedboxXpos += 64 ;
573
574
iconXpos += 64 ;
574
575
}
576
+ if (theme == 0 ) glSprite (spawnedboxXpos+10 -titleboxXpos, 80 , GL_FLIP_H, braceImage);
575
577
}
576
578
if (applaunchprep && theme==0 ) {
577
579
// Cover selected app
@@ -603,7 +605,6 @@ void vBlankHandler()
603
605
titleboxYmovepos += 5 ;
604
606
if (titleboxYmovepos > 240 ) whiteScreen = true ;
605
607
}
606
- if (theme == 0 ) glSprite (spawnedboxXpos+10 -titleboxXpos, 80 , GL_FLIP_H, braceImage);
607
608
if (showSTARTborder) {
608
609
glColor (RGB15 (colorRvalue, colorGvalue, colorBvalue));
609
610
if (theme == 1 ) {
You can’t perform that action at this time.
0 commit comments