summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AVIDump.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2015-05-25 23:46:22 -0400
committerRyan Houdek <Sonicadvance1@gmail.com>2015-05-25 23:46:22 -0400
commit061848457a66d4efb9a3dc52159a59d1b1c5fd69 (patch)
treeb095eefef81285b1f967430c0a780daf114f3d55 /Source/Core/VideoCommon/AVIDump.cpp
parentf706518dc005adbcbf41072541fd576f1391b39c (diff)
parent16081a23f15ab908f2b0f2744b224840ec357e00 (diff)
Merge pull request #2382 from RisingFog/vfwfix
Fix video dumping incorrect lengths for some games in Windows
Diffstat (limited to 'Source/Core/VideoCommon/AVIDump.cpp')
-rw-r--r--Source/Core/VideoCommon/AVIDump.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/AVIDump.cpp b/Source/Core/VideoCommon/AVIDump.cpp
index 58cf4b096f..4a37d2cf22 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++;