more porting

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1183 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee committed 2008-11-15 20:36:45 +00:00
1 parent 2a06f76f81
commit 06aff848e3
3 files changed
+18 -3

No files matched your search

+3 -3
View File
@@ -173,10 +173,10 @@ int et_UpdateInterrupts;
// for GP watchdog hack
void IncrementGPWDToken()
{
#ifdef WIN32
#ifdef _WIN32
InterlockedIncrement((LONG*)&fifo.Fake_GPWDToken);
#else
//TODO
Common::InterlockedIncrement((int*)&fifo.Fake_GPWDToken);
#endif
}
@@ -521,7 +521,7 @@ void GatherPipeBursted()
#ifdef _WIN32
InterlockedExchangeAdd((LONG*)&fifo.CPReadWriteDistance, GPFifo::GATHER_PIPE_SIZE);
#else
Common::InterlockedExchangeAdd((int*)&fifo.CPReadWriteDistance, GPFifo::GATHER_PIPE_SIZE);
Common::InterlockedExchangeAdd((int*)&fifo.CPReadWriteDistance, GPFifo::GATHER_PIPE_SIZE);
#endif
// High watermark overflow handling (hacked way)