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
1 changed files with 4 additions and 4 deletions

View File

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