Merge pull request #667 from RachelBryk/remove-audio-limit
Remove audio frame limit.
This commit is contained in:
commit
9c7d4b6408
7 files changed
+5
-30
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user