SaveSlotManager - check HasSavestate() not IsNull()

This commit is contained in:
adelikat 2014-11-30 17:58:26 +00:00
parent eed16fafc8
commit 1e5474c345
1 changed files with 6 additions and 1 deletions

View File

@ -45,6 +45,11 @@ namespace BizHawk.Client.Common
{
get
{
if (!Global.Emulator.HasSavestates())
{
return false;
}
Update();
return _slots.Any(slot => slot);
}
@ -52,7 +57,7 @@ namespace BizHawk.Client.Common
public bool HasSlot(int slot)
{
if (Global.Emulator.IsNull())
if (!Global.Emulator.HasSavestates())
{
return false;
}