TasStateManager - take starts from savestate into account in the HasState() method
This commit is contained in:
parent
429b298dc1
commit
b301546237
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue