TasStateManager - take starts from savestate into account in the HasState() method

This commit is contained in:
adelikat 2014-10-25 16:11:40 +00:00
parent 429b298dc1
commit b301546237
1 changed files with 5 additions and 0 deletions

View File

@ -155,6 +155,11 @@ namespace BizHawk.Client.Common
public bool HasState(int frame) public bool HasState(int frame)
{ {
if (_movie.StartsFromSavestate && frame == 0)
{
return true;
}
return States.ContainsKey(frame); return States.ContainsKey(frame);
} }