oopsies
This commit is contained in:
parent
7dd78a9fa4
commit
02a2efbed1
|
@ -23,7 +23,7 @@ namespace BizHawk.Client.Common
|
||||||
/// <param name="targetFrameLength">desired frame length (number of emulated frames you can go back before running out of buffer)</param>
|
/// <param name="targetFrameLength">desired frame length (number of emulated frames you can go back before running out of buffer)</param>
|
||||||
public Zwinder(int targetFrameLength, IBinaryStateable stateSource, IRewindSettings settings)
|
public Zwinder(int targetFrameLength, IBinaryStateable stateSource, IRewindSettings settings)
|
||||||
{
|
{
|
||||||
long targetSize = settings.BufferSize * 1024 * 10248;
|
long targetSize = settings.BufferSize * 1024 * 1024;
|
||||||
bool kompress = settings.EnabledSmall;
|
bool kompress = settings.EnabledSmall;
|
||||||
if (targetSize < 65536)
|
if (targetSize < 65536)
|
||||||
throw new ArgumentOutOfRangeException(nameof(targetSize));
|
throw new ArgumentOutOfRangeException(nameof(targetSize));
|
||||||
|
|
Loading…
Reference in New Issue