diff --git a/src/BizHawk.Client.Common/rewind/Zwinder.cs b/src/BizHawk.Client.Common/rewind/Zwinder.cs index c8f8e73355..4e615c8475 100644 --- a/src/BizHawk.Client.Common/rewind/Zwinder.cs +++ b/src/BizHawk.Client.Common/rewind/Zwinder.cs @@ -54,10 +54,10 @@ namespace BizHawk.Client.Common /// public long Used => Count == 0 ? 0 - : (_states[HeadStateIndex] - .Start + _states[HeadStateIndex] - .Size - _states[_firstStateIndex] - .Start) & _sizeMask; + : (_states[HeadStateIndex].Start + + _states[HeadStateIndex].Size + - _states[_firstStateIndex].Start + ) & _sizeMask; /// /// Total size of the _buffer