Show error when trying to load a savestate slot that doesn't exist. (fixes Issue #86)
This commit is contained in:
parent
b5b372749d
commit
1c974fa5e0
|
@ -2378,7 +2378,10 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
string path = PathManager.SaveStatePrefix(Global.Game) + "." + name + ".State";
|
||||
if (File.Exists(path) == false)
|
||||
{
|
||||
Global.OSD.AddMessage("Unable to load " + name + ".State");
|
||||
return;
|
||||
}
|
||||
|
||||
LoadStateFile(path, name);
|
||||
LuaConsole1.LuaImp.SavestateRegisterLoad(name);
|
||||
|
|
Loading…
Reference in New Issue