Compilation fix

This commit is contained in:
Nekotekina 2014-07-20 21:52:27 +04:00
parent 883885dc0b
commit bba74b9056

View File

@ -24,7 +24,8 @@ int cellSyncMutexInitialize(mem_ptr_t<CellSyncMutex> mutex)
}
// prx: set zero and sync
InterlockedExchange(&mutex->m_data(), 0);
mutex->m_data = 0;
InterlockedCompareExchange(&mutex->m_data(), 0, 0);
return CELL_OK;
}