tastudio states decay: fix logic for last edited frame
This commit is contained in:
parent
d28e4e9f70
commit
a365284383
|
@ -79,7 +79,11 @@ namespace BizHawk.Client.Common
|
|||
{
|
||||
continue;
|
||||
}
|
||||
else if ((currentFrame % _step > 0) && (currentFrame + 1 != _tsm.LastEditedFrame))
|
||||
else if (currentFrame + 1 == _tsm.LastEditedFrame)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
else if (currentFrame % _step > 0)
|
||||
{
|
||||
// ignore the pattern if the state doesn't belong already, drop it blindly and skip everything
|
||||
if (_tsm.RemoveState(currentFrame))
|
||||
|
|
Loading…
Reference in New Issue