fix an error with new logic in commit 6b63db8
This commit is contained in:
parent
6b63db80e2
commit
956b71060e
|
@ -108,7 +108,8 @@ namespace BizHawk.Client.Common
|
||||||
|
|
||||||
public bool MatchesSettings(RewindConfig settings)
|
public bool MatchesSettings(RewindConfig settings)
|
||||||
{
|
{
|
||||||
long size = 1L << (int)Math.Floor(Math.Log(settings.BufferSize, 2));
|
long targetSize = settings.BufferSize * 1024 * 1024;
|
||||||
|
long size = 1L << (int)Math.Floor(Math.Log(targetSize, 2));
|
||||||
return Size == size &&
|
return Size == size &&
|
||||||
_useCompression == settings.UseCompression &&
|
_useCompression == settings.UseCompression &&
|
||||||
_targetFrameLength == settings.TargetFrameLength;
|
_targetFrameLength == settings.TargetFrameLength;
|
||||||
|
|
Loading…
Reference in New Issue