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

Remove audio frame limit.
This commit is contained in:
Tony Wasserka committed 2014-07-28 14:38:35 +02:00
commit 9c7d4b6408
7 files changed
+5 -30

No files matched your search

+2 -2
View File
@@ -219,9 +219,9 @@ static void ThrottleCallback(u64 last_time, int cyclesLate)
int diff = (u32)last_time - time;
const SConfig& config = SConfig::GetInstance();
bool frame_limiter = config.m_Framelimit && config.m_Framelimit != 2 && !Core::GetIsFramelimiterTempDisabled();
bool frame_limiter = config.m_Framelimit && !Core::GetIsFramelimiterTempDisabled();
u32 next_event = GetTicksPerSecond()/1000;
if (SConfig::GetInstance().m_Framelimit > 2)
if (SConfig::GetInstance().m_Framelimit > 1)
{
next_event = next_event * (SConfig::GetInstance().m_Framelimit - 1) * 5 / VideoInterface::TargetRefreshRate;
}