File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -211,14 +211,15 @@ void USB2SnesStatut::onTimerTick()
211211 sDebug () << " tick infos : " << infos;
212212 if (infos.isEmpty ())
213213 return ;
214- if (infos.at (2 ) != " /sd2snes/menu.bin" && romRunning == false )
214+ bool isMenuRom = infos.at (2 ) == " /sd2snes/menu.bin" || infos.at (2 ) == " /sd2snes/m3nu.bin" ;
215+ if (isMenuRom == false && romRunning == false )
215216 {
216217 romRunning = true ;
217218 menuRunning = false ;
218219 onRomStarted ();
219220 timer.setInterval (CHECK_ROMRUNNING_TICK * 2 );
220221 }
221- if (infos. at ( 2 ) == " /sd2snes/menu.bin " && menuRunning == false )
222+ if (isMenuRom == true && menuRunning == false )
222223 {
223224 ui->romPatchedLabel ->setText (tr (" SD2SNES on Menu" ));
224225 romRunning = false ;
You can’t perform that action at this time.
0 commit comments