summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/Fifo.cpp
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2008-10-03 05:51:55 +0000
committernakeee <nakeee@gmail.com>2008-10-03 05:51:55 +0000
commitd00ea2cf438ca3ef864f3ffae992172736c6ac27 (patch)
treea4c8cc3f81a699b92987897dbb4f5f9fcfa5c2e4 /Source/Core/VideoCommon/Src/Fifo.cpp
parent2bc4ea53629591734eabce14ba1656beadaed037 (diff)
Added logging files to SConscript
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@753 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/Fifo.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/Fifo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/Fifo.cpp b/Source/Core/VideoCommon/Src/Fifo.cpp
index 7e0cc6abd3..03587688d4 100644
--- a/Source/Core/VideoCommon/Src/Fifo.cpp
+++ b/Source/Core/VideoCommon/Src/Fifo.cpp
@@ -209,7 +209,7 @@ void Fifo_EnterLoop(const SVideoInitialize &video_initialize)
}
// read the data and send it to the VideoPlugin
- u8 *uData = video_initialize.pGetMemoryPointer(_fifo.CPReadPointer);
+ u8 *uData = video_initialize.pGetMemoryPointer(_fifo.CPReadPointer);
#ifdef _WIN32
EnterCriticalSection(&_fifo.sync);
#else
@@ -225,6 +225,7 @@ void Fifo_EnterLoop(const SVideoInitialize &video_initialize)
Common::InterlockedExchangeAdd((int*)&_fifo.CPReadWriteDistance, -32);
_fifo.sync->Leave();
#endif
+
// increase the ReadPtr
if (_fifo.CPReadPointer >= _fifo.CPEnd)
{