From c1c206a455c2ea5ab0df4051ce8e2f0478a0e1c1 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Fri, 2 Jan 2009 17:58:54 +0000 Subject: mutex fix, we actally want recursive locks svn-id: r35674 --- backends/platform/wii/osystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/platform/wii/osystem.cpp b/backends/platform/wii/osystem.cpp index 777d82dce7..885a460bac 100644 --- a/backends/platform/wii/osystem.cpp +++ b/backends/platform/wii/osystem.cpp @@ -152,7 +152,7 @@ void OSystem_Wii::delayMillis(uint msecs) { OSystem::MutexRef OSystem_Wii::createMutex() { mutex_t *mutex = (mutex_t *) malloc(sizeof(mutex_t)); - s32 res = LWP_MutexInit(mutex, false); + s32 res = LWP_MutexInit(mutex, true); if (res) { printf("ERROR creating mutex\n"); -- cgit v1.2.3