From 16081a23f15ab908f2b0f2744b224840ec357e00 Mon Sep 17 00:00:00 2001 From: Fog Date: Thu, 7 May 2015 22:29:43 -0400 Subject: [PATCH] Fix video dumping incorrect lengths for some games --- Source/Core/VideoCommon/AVIDump.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/AVIDump.cpp b/Source/Core/VideoCommon/AVIDump.cpp index 99c6b0f8e3..40a77c1f79 100644 --- a/Source/Core/VideoCommon/AVIDump.cpp +++ b/Source/Core/VideoCommon/AVIDump.cpp @@ -242,13 +242,13 @@ void AVIDump::AddFrame(const u8* data, int w, int h) } bool b_frame_dumped = false; // try really hard to place one copy of frame in stream (otherwise it's dropped) - if (delta > (s64)one_cfr * 3 / 10) // place if 3/10th of a frame space + if (delta > (s64)one_cfr * 1 / 10) // place if 1/10th of a frame space { delta -= one_cfr; nplay++; } // try not nearly so hard to place additional copies of the frame - while (delta > (s64)one_cfr * 8 / 10) // place if 8/10th of a frame space + while (delta > (s64)one_cfr * 9 / 10) // place if 9/10th of a frame space { delta -= one_cfr; nplay++;