From b7869c2c7040f59a40b3d0ecfaab87ffadd4b45b Mon Sep 17 00:00:00 2001 From: adelikat Date: Fri, 24 Jan 2020 20:11:37 -0600 Subject: [PATCH] revert back to 1024 * 1024, but in a way that makes stylecop happy --- BizHawk.Client.Common/rewind/Rewinder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Client.Common/rewind/Rewinder.cs b/BizHawk.Client.Common/rewind/Rewinder.cs index 0370e35f61..d1d6092bf3 100644 --- a/BizHawk.Client.Common/rewind/Rewinder.cs +++ b/BizHawk.Client.Common/rewind/Rewinder.cs @@ -69,7 +69,7 @@ namespace BizHawk.Client.Common if (RewindActive) { - var capacity = Global.Config.Rewind.BufferSize * 1048576L; + var capacity = Global.Config.Rewind.BufferSize * (long)(1024 * 1024); _rewindBuffer = new StreamBlobDatabase(Global.Config.Rewind.OnDisk, capacity, BufferManage); _rewindThread = new RewindThreader(CaptureInternal, RewindInternal, Global.Config.Rewind.IsThreaded);