removed unneeded critical section to match windows
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1019 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
0ab16c6af0
commit
9b05e301e9
|
@ -147,7 +147,7 @@ void Fifo_EnterLoop(const SVideoInitialize &video_initialize)
|
|||
#ifdef _WIN32
|
||||
//EnterCriticalSection(&_fifo.sync);
|
||||
#else
|
||||
_fifo.sync->Enter();
|
||||
// _fifo.sync->Enter();
|
||||
#endif
|
||||
Video_SendFifoData(uData);
|
||||
// increase the ReadPtr
|
||||
|
@ -161,7 +161,7 @@ void Fifo_EnterLoop(const SVideoInitialize &video_initialize)
|
|||
#else
|
||||
Common::InterlockedExchange((int*)&_fifo.CPReadPointer, readPtr);
|
||||
Common::InterlockedExchangeAdd((int*)&_fifo.CPReadWriteDistance, -32);
|
||||
_fifo.sync->Leave();
|
||||
// _fifo.sync->Leave();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue