IStateManager - remove IDisposable, this isn't a terrible idea, but let's put it back if/when we need it. Remove IDisposable from StateManagerState

This commit is contained in:
adelikat 2019-06-15 15:15:14 -05:00
parent b1296dd9bb
commit 0ab1b1887e
2 changed files with 1 additions and 10 deletions

View File

@ -6,7 +6,7 @@ namespace BizHawk.Client.Common
/// <summary> /// <summary>
/// Represents a savestate in the <seealso cref="TasStateManager"/> /// Represents a savestate in the <seealso cref="TasStateManager"/>
/// </summary> /// </summary>
internal class StateManagerState : IDisposable internal class StateManagerState
{ {
public int Frame { get; } public int Frame { get; }
@ -19,9 +19,5 @@ namespace BizHawk.Client.Common
State = state; State = state;
Frame = frame; Frame = frame;
} }
public void Dispose()
{
}
} }
} }

View File

@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using BizHawk.Common;
using BizHawk.Common.NumberExtensions; using BizHawk.Common.NumberExtensions;
using BizHawk.Emulation.Common; using BizHawk.Emulation.Common;
using BizHawk.Emulation.Common.IEmulatorExtensions; using BizHawk.Emulation.Common.IEmulatorExtensions;
@ -53,10 +52,6 @@ namespace BizHawk.Client.Common
_decay = new StateManagerDecay(_movie, this); _decay = new StateManagerDecay(_movie, this);
} }
public void Dispose()
{
}
public void UpdateStateFrequency() public void UpdateStateFrequency()
{ {
_stateFrequency = ((int)_expectedStateSize / Settings.MemStateGapDivider / 1024) _stateFrequency = ((int)_expectedStateSize / Settings.MemStateGapDivider / 1024)