aboutsummaryrefslogtreecommitdiff
path: root/common/mutex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/mutex.cpp')
-rw-r--r--common/mutex.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/mutex.cpp b/common/mutex.cpp
index 7a2601477d..6205de405b 100644
--- a/common/mutex.cpp
+++ b/common/mutex.cpp
@@ -29,6 +29,7 @@
namespace Common {
Mutex::Mutex() {
+ assert(g_system);
_mutex = g_system->createMutex();
}