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 committed 2011-02-10 12:56:21 +00:00
1 parent daf023f4a0
commit af139f4661
2 files changed
+2 -2

No files matched your search

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