From 9b05e301e9566130558849abe0481608c42f0071 Mon Sep 17 00:00:00 2001 From: nakeee Date: Thu, 30 Oct 2008 20:46:12 +0000 Subject: [PATCH] removed unneeded critical section to match windows git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1019 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/Fifo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/Src/Fifo.cpp b/Source/Core/VideoCommon/Src/Fifo.cpp index 6b19c07b4d..720e857b2b 100644 --- a/Source/Core/VideoCommon/Src/Fifo.cpp +++ b/Source/Core/VideoCommon/Src/Fifo.cpp @@ -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 } }