From 020e5a7e32c0d6b7389dcd8d6f80e3df71d72a04 Mon Sep 17 00:00:00 2001 From: nattthebear Date: Fri, 19 Jun 2020 17:26:58 -0400 Subject: [PATCH] minor cleanup --- src/BizHawk.Client.Common/rewind/Zwinder.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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