mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-23 10:21:55 +01:00
fix codedump when pressing button "2" and no game is selected
This commit is contained in:
parent
539b3e48b5
commit
d7401a77cf
@ -1279,6 +1279,7 @@ int MenuDiscList() {
|
||||
break;
|
||||
} else if (gameInfo.GetState() == STATE_CLICKED && mountMethod!=3) {
|
||||
gameInfo.ResetState();
|
||||
if(selectImg1>=0 && selectImg1<(s32)gameCnt) {
|
||||
gameSelected = selectImg1;
|
||||
rockout();
|
||||
struct discHdr *header = &gameList[selectImg1];
|
||||
@ -1292,6 +1293,7 @@ int MenuDiscList() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (dvdBtn.GetState() == STATE_CLICKED) {
|
||||
mountMethodOLD = (mountMethod==3?mountMethod:0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user