Fix ZwinderBuffer InvalidateAfter logic

- should resolve #4074

- fixes 2d229be6ba for when _firstStateIndex != 0
This commit is contained in:
Morilli 2024-10-03 17:59:42 +02:00
parent 2205d1344c
commit f28fa49795
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ namespace BizHawk.Client.Common
{
if (_states[i].Frame > frame)
{
_nextStateIndex = (i + _firstStateIndex) & STATEMASK;
_nextStateIndex = i;
return true;
}
}