From aa49ac5cf28dbcb58529198642e23a8a229485a4 Mon Sep 17 00:00:00 2001 From: zeromus <zeromus@users.noreply.github.com> Date: Mon, 10 Aug 2020 16:07:57 -0400 Subject: [PATCH] change IRewindSettings to use a 'long' for buffer size, for the future. this makes math using it automatically be long. --- src/BizHawk.Client.Common/config/RewindConfig.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BizHawk.Client.Common/config/RewindConfig.cs b/src/BizHawk.Client.Common/config/RewindConfig.cs index cf41109a75..9c743b9086 100644 --- a/src/BizHawk.Client.Common/config/RewindConfig.cs +++ b/src/BizHawk.Client.Common/config/RewindConfig.cs @@ -10,7 +10,7 @@ /// <summary> /// Max amount of buffer space to use in MB /// </summary> - int BufferSize { get; } + long BufferSize { get; } /// <summary> /// Desired frame length (number of emulated frames you can go back before running out of buffer) @@ -22,7 +22,7 @@ { public bool UseCompression { get; set; } public bool Enabled { get; set; } = true; - public int BufferSize { get; set; } = 512; // in mb + public long BufferSize { get; set; } = 512; // in mb public int TargetFrameLength { get; set; } = 600; } }