Merge pull request #667 from RachelBryk/remove-audio-limit

Remove audio frame limit.
This commit is contained in:
Tony Wasserka
2014-07-28 14:38:35 +02:00
7 changed files with 5 additions and 30 deletions
+1 -1
View File
@@ -630,7 +630,7 @@ void VideoThrottle()
bool ShouldSkipFrame(int skipped)
{
const u32 TargetFPS = (SConfig::GetInstance().m_Framelimit > 1)
? SConfig::GetInstance().m_Framelimit * 5
? (SConfig::GetInstance().m_Framelimit - 1) * 5
: VideoInterface::TargetRefreshRate;
const u32 frames = Common::AtomicLoad(DrawnFrame);
const bool fps_slow = !(Timer.GetTimeDifference() < (frames + skipped) * 1000 / TargetFPS);