UI: Fixed minor issue with "Load Random Game" feature
This commit is contained in:
parent
365d246d92
commit
76ad3946c0
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ namespace Mesen.GUI.Forms
|
|||
MesenMsgBox.Show("RandomGameNoGameFound", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
} else {
|
||||
Random random = new Random();
|
||||
string randomGame = gameRoms[random.Next(gameRoms.Count - 1)];
|
||||
string randomGame = gameRoms[random.Next(gameRoms.Count)];
|
||||
LoadFile(randomGame);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue