Used usleep(1) instead of _mm_pause on Linux and Mac OSX. This reduces the CPU usage in the video thread's idle loop. Added YieldCPU to the DSP LLE loop.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7125 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
skidau 2011-02-10 12:56:21 +00:00
commit af139f4661
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@ void DSPLLE::dsp_thread(DSPLLE *lpParameter)
}
Common::AtomicStore(dsp_lle->m_cycle_count, 0);
}
// yield?
Common::YieldCPU();
}
}