diff options
| author | Fog <christhecoolist@gmail.com> | 2015-05-07 22:29:43 -0400 |
|---|---|---|
| committer | Fog <christhecoolist@gmail.com> | 2015-05-09 02:28:48 -0400 |
| commit | 16081a23f15ab908f2b0f2744b224840ec357e00 (patch) | |
| tree | 0b739dfcc9eda01f1298315a82fbec86697ff5dd /Source/Core/VideoCommon/AVIDump.cpp | |
| parent | 9b1c2d3108f7213f9876053b6adfed6b1ca51a87 (diff) | |
Fix video dumping incorrect lengths for some games
Diffstat (limited to 'Source/Core/VideoCommon/AVIDump.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/AVIDump.cpp | 4 |
1 files 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++; |
