Named Savestate save/load methods - check HasSaveStates() not IsNull()

This commit is contained in:
adelikat 2014-11-30 18:03:02 +00:00
parent d582161d82
commit a442e879d3
1 changed files with 2 additions and 2 deletions

View File

@ -1749,7 +1749,7 @@ namespace BizHawk.Client.EmuHawk
private void SaveStateAs() private void SaveStateAs()
{ {
if (Global.Emulator.IsNull()) if (!Global.Emulator.HasSavestates())
{ {
return; return;
} }
@ -1780,7 +1780,7 @@ namespace BizHawk.Client.EmuHawk
private void LoadStateAs() private void LoadStateAs()
{ {
if (Global.Emulator.IsNull()) if (!Global.Emulator.HasSavestates())
{ {
return; return;
} }