mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-20 01:01:40 +00:00
Build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@423 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
4bbfff3cac
commit
10eef7f60e
3 changed files with 37 additions and 15 deletions
|
@ -155,13 +155,13 @@ void Fifo_EnterLoop(const SVideoInitialize &video_initialize)
|
|||
// read the data and send it to the VideoPlugin
|
||||
u8 *uData = video_initialize.pGetMemoryPointer(_fifo.CPReadPointer);
|
||||
#ifdef _WIN32
|
||||
EnterCriticalSection(&fifo.sync);
|
||||
EnterCriticalSection(&_fifo.sync);
|
||||
#endif
|
||||
_fifo.CPReadPointer += 32;
|
||||
Video_SendFifoData(uData);
|
||||
#ifdef _WIN32
|
||||
InterlockedExchangeAdd((LONG*)&_fifo.CPReadWriteDistance, -32);
|
||||
LeaveCriticalSection(&fifo.sync);
|
||||
LeaveCriticalSection(&_fifo.sync);
|
||||
#endif
|
||||
// increase the ReadPtr
|
||||
if (_fifo.CPReadPointer >= _fifo.CPEnd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue