minor cleanup

This commit is contained in:
nattthebear 2020-06-19 17:26:58 -04:00
parent 487c596d76
commit 020e5a7e32
1 changed files with 4 additions and 4 deletions

View File

@ -54,10 +54,10 @@ namespace BizHawk.Client.Common
/// <value></value> /// <value></value>
public long Used => Count == 0 public long Used => Count == 0
? 0 ? 0
: (_states[HeadStateIndex] : (_states[HeadStateIndex].Start
.Start + _states[HeadStateIndex] + _states[HeadStateIndex].Size
.Size - _states[_firstStateIndex] - _states[_firstStateIndex].Start
.Start) & _sizeMask; ) & _sizeMask;
/// <summary> /// <summary>
/// Total size of the _buffer /// Total size of the _buffer