Zwinder: Don't tell the mainform we're rewind-state-capping every 0 frames, that's just silly
This commit is contained in:
parent
1121d430f4
commit
3b8e0ce39d
|
@ -105,7 +105,8 @@ namespace BizHawk.Client.Common
|
||||||
var sizeRatio = Size / (float)_states[HeadStateIndex].Size;
|
var sizeRatio = Size / (float)_states[HeadStateIndex].Size;
|
||||||
var frameRatio = _targetFrameLength / sizeRatio;
|
var frameRatio = _targetFrameLength / sizeRatio;
|
||||||
|
|
||||||
return (int)Math.Round(frameRatio);
|
var idealInterval = (int)Math.Round(frameRatio);
|
||||||
|
return Math.Max(idealInterval, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool ShouldCapture(int frame)
|
private bool ShouldCapture(int frame)
|
||||||
|
|
Loading…
Reference in New Issue