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>
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;
/// <summary>
/// Total size of the _buffer