Merge pull request #5075 from lioncash/cruft

DSPLLE: Remove commented out code
This commit is contained in:
Markus Wick 2017-03-13 20:47:27 +01:00 committed by GitHub
commit 3df19c6643
1 changed files with 0 additions and 18 deletions

View File

@ -297,25 +297,7 @@ void DSPLLE::DSP_Update(int cycles)
if (dsp_cycles <= 0)
return;
// Sound stream update job has been handled by AudioDMA routine, which is more efficient
/*
// This gets called VERY OFTEN. The soundstream update might be expensive so only do it 200
times per second or something.
int cycles_between_ss_update;
if (g_dspInitialize.bWii)
cycles_between_ss_update = 121500000 / 200;
else
cycles_between_ss_update = 81000000 / 200;
m_cycle_count += cycles;
if (m_cycle_count > cycles_between_ss_update)
{
while (m_cycle_count > cycles_between_ss_update)
m_cycle_count -= cycles_between_ss_update;
soundStream->Update();
}
*/
if (m_is_dsp_on_thread)
{
if (s_request_disable_thread || Core::g_want_determinism)