TasStateManager - don't delete frame 0 greenzone, todo: refactor to store this (for non-savestate anchored movies) separately
This commit is contained in:
parent
4addd7fcbc
commit
535ba7dc4a
|
@ -138,8 +138,15 @@ namespace BizHawk.Client.Common
|
|||
/// </summary>
|
||||
public void Clear()
|
||||
{
|
||||
var power = States.FirstOrDefault(s => s.Key == 0);
|
||||
States.Clear();
|
||||
Used = 0;
|
||||
|
||||
if (power.Value.Length > 0)
|
||||
{
|
||||
States.Add(0, power.Value);
|
||||
}
|
||||
|
||||
Used = power.Value.Length;
|
||||
}
|
||||
|
||||
public void Save(BinaryWriter bw)
|
||||
|
|
Loading…
Reference in New Issue