Wrap some functions, clean some stuff

This commit is contained in:
Henrik Rydgård committed 2012-12-26 08:52:40 +01:00
1 parent 9fe6dcb863
commit b2f29992a3
7 files changed
+79 -71

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@ void __KernelMutexShutdown()
void __KernelMutexAcquireLock(Mutex *mutex, int count, SceUID thread)
{
#if _DEBUG
#if defined(_DEBUG)
std::pair<MutexMap::iterator, MutexMap::iterator> locked = mutexHeldLocks.equal_range(thread);
for (MutexMap::iterator iter = locked.first; iter != locked.second; ++iter)
_dbg_assert_msg_(HLE, (*iter).second != mutex->GetUID(), "Thread %d / mutex %d wasn't removed from mutexHeldLocks properly.", thread, mutex->GetUID());