libmixer draft

and some hacks
This commit is contained in:
Nekotekina 2014-03-06 15:40:50 +04:00
parent 384536ba4f
commit e86a849600
16 changed files with 662 additions and 269 deletions

View file

@ -53,7 +53,7 @@ void Callback::Branch(bool wait)
{
m_has_data = false;
static SMutexGeneral cb_mutex;
static std::mutex cb_mutex;
CPUThread& thr = Emu.GetCallbackThread();
@ -69,7 +69,7 @@ again:
Sleep(1);
}
SMutexGeneralLocker lock(cb_mutex);
std::lock_guard<std::mutex> lock(cb_mutex);
if (thr.IsAlive())
{