summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorXTra.KrazzY <XTra.KrazzY@gmail.com>2008-09-01 13:31:24 +0000
committerXTra.KrazzY <XTra.KrazzY@gmail.com>2008-09-01 13:31:24 +0000
commit10eef7f60eccf510c4bfd4a522dce498c7f2346c (patch)
treef28be8ef08204aa50a4d2bebc8eb0d58fcbdaa3c /Source/Core/VideoCommon
parent4bbfff3cac6d4f435df2de125c96f1f08f44463f (diff)
Build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@423 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/Src/Fifo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/Fifo.cpp b/Source/Core/VideoCommon/Src/Fifo.cpp
index d8d3f247da..4781a351c1 100644
--- a/Source/Core/VideoCommon/Src/Fifo.cpp
+++ b/Source/Core/VideoCommon/Src/Fifo.cpp
@@ -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)