Be paranoid about g_system being set

svn-id: r36131
This commit is contained in:
Max Horn 2009-01-29 22:09:06 +00:00
parent 164a099c7f
commit 7eaafd933f
6 changed files with 16 additions and 8 deletions

View file

@ -29,6 +29,7 @@
namespace Common {
Mutex::Mutex() {
assert(g_system);
_mutex = g_system->createMutex();
}