TastStateManager - take starts from savestate into account when deciding if there are any states

This commit is contained in:
adelikat 2014-10-25 16:05:11 +00:00
parent c49e51d03f
commit 429b298dc1
1 changed files with 6 additions and 1 deletions

View File

@ -258,7 +258,12 @@ namespace BizHawk.Client.Common
public bool Any()
{
return States.Count > 1; // TODO: power-on MUST have a state, savestate-anchored movies do not, take this into account
if (_movie.StartsFromSavestate)
{
return States.Count > 0;
}
return States.Count > 1;
}
public int LastKey