Skip to content

Commit

Permalink
Merge pull request #5075 from lioncash/cruft
Browse files Browse the repository at this point in the history
DSPLLE: Remove commented out code
  • Loading branch information
degasus committed Mar 13, 2017
2 parents 2c308b7 + 31644ea commit 3df19c6
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Source/Core/Core/HW/DSPLLE/DSPLLE.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 3df19c6

Please sign in to comment.