DSPLLE: Remove commented out code
Just throwing out the trash
This commit is contained in:
parent
8035270aa8
commit
31644eaf93
|
@ -297,25 +297,7 @@ void DSPLLE::DSP_Update(int cycles)
|
||||||
|
|
||||||
if (dsp_cycles <= 0)
|
if (dsp_cycles <= 0)
|
||||||
return;
|
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 (m_is_dsp_on_thread)
|
||||||
{
|
{
|
||||||
if (s_request_disable_thread || Core::g_want_determinism)
|
if (s_request_disable_thread || Core::g_want_determinism)
|
||||||
|
|
Loading…
Reference in New Issue