File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -605,17 +605,17 @@ void updateBoxArt(void) {
605605 showSTARTborder = true ;
606606 if (ms ().theme == TWLSettings::EThemeHBL || ms ().macroMode || !ms ().showBoxArt || boxArtLoaded) return ;
607607
608+ if (ms ().theme == TWLSettings::ETheme3DS && rocketVideo_playVideo) {
609+ rocketVideo_playVideo = false ;
610+ while (dmaBusy (1 )) swiDelay (100 ); // Wait for frame to finish rendering
611+ }
612+ clearBoxArt (); // and clear top screen cubes for 3DS theme
613+
608614 if (isDirectory[CURPOS]) {
609- clearBoxArt (); // Clear box art, if it's a directory
610615 if (ms ().theme == TWLSettings::ETheme3DS && !rocketVideo_playVideo) {
611616 rocketVideo_playVideo = true ;
612617 }
613618 } else {
614- if (ms ().theme == TWLSettings::ETheme3DS && rocketVideo_playVideo) {
615- while (dmaBusy (1 )); // Wait for frame to finish rendering
616- rocketVideo_playVideo = false ; // Clear top screen cubes
617- }
618- clearBoxArt ();
619619 sprintf (boxArtPath, " %s:/_nds/TWiLightMenu/boxart/%s.png" , sys ().isRunFromSD () ? " sd" : " fat" , boxArtFilename);
620620 if ((bnrRomType[CURPOS] == 0 ) && (access (boxArtPath, F_OK) != 0 )) {
621621 sprintf (boxArtPath, " %s:/_nds/TWiLightMenu/boxart/%s.png" , sys ().isRunFromSD () ? " sd" : " fat" , gameTid[CURPOS]);
You can’t perform that action at this time.
0 commit comments