From 2e1132c2b9859a30a3c28a4e8b825083df79df6c Mon Sep 17 00:00:00 2001 From: feos Date: Mon, 25 Apr 2016 18:18:20 +0300 Subject: [PATCH] tastudio: this should be reliable enough. --- BizHawk.Client.Common/movie/tasproj/TasStateManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Client.Common/movie/tasproj/TasStateManager.cs b/BizHawk.Client.Common/movie/tasproj/TasStateManager.cs index c3acbfbd49..11cd9fb289 100644 --- a/BizHawk.Client.Common/movie/tasproj/TasStateManager.cs +++ b/BizHawk.Client.Common/movie/tasproj/TasStateManager.cs @@ -200,7 +200,7 @@ namespace BizHawk.Client.Common } else { - shouldCapture = frame - States.Keys.LastOrDefault(k => k < frame) >= StateFrequency; + shouldCapture = frame % StateFrequency == 0; } if (shouldCapture)