Show error when trying to load a savestate slot that doesn't exist. (fixes Issue #86)

This commit is contained in:
adelikat 2012-09-17 01:52:17 +00:00
parent b5b372749d
commit 1c974fa5e0
1 changed files with 3 additions and 0 deletions

View File

@ -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);