more sync removed

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1020 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-10-30 20:53:56 +00:00
parent 9b05e301e9
commit c6a50d3b77

View File

@ -189,14 +189,14 @@ void Init()
#ifdef _WIN32 #ifdef _WIN32
//InitializeCriticalSection(&fifo.sync); //InitializeCriticalSection(&fifo.sync);
#else #else
fifo.sync = new Common::CriticalSection(0); // fifo.sync = new Common::CriticalSection(0);
#endif #endif
} }
void Shutdown() void Shutdown()
{ {
#ifndef _WIN32 #ifndef _WIN32
delete fifo.sync; // delete fifo.sync;
#endif #endif
} }
@ -316,7 +316,7 @@ void Write16(const u16 _Value, const u32 _Address)
#ifdef _WIN32 #ifdef _WIN32
//EnterCriticalSection(&fifo.sync); //EnterCriticalSection(&fifo.sync);
#else #else
fifo.sync->Enter(); // fifo.sync->Enter();
#endif #endif
} }
@ -461,7 +461,7 @@ void Write16(const u16 _Value, const u32 _Address)
#ifdef _WIN32 #ifdef _WIN32
//LeaveCriticalSection(&fifo.sync); //LeaveCriticalSection(&fifo.sync);
#else #else
fifo.sync->Leave(); // fifo.sync->Leave();
#endif #endif
} }