diff options
author | Alejandro Marzini | 2010-06-01 04:02:44 +0000 |
---|---|---|
committer | Alejandro Marzini | 2010-06-01 04:02:44 +0000 |
commit | 38dbbca964ac182439c2e61840783a4b7465688a (patch) | |
tree | 69baa4dc8fd6a225535c5c645c0c2084cc67af1c /backends/platform/sdl/mutex.cpp | |
parent | 0bc8f4c8b4050c54e551aabdf58b30be79b6720c (diff) | |
download | scummvm-rg350-38dbbca964ac182439c2e61840783a4b7465688a.tar.gz scummvm-rg350-38dbbca964ac182439c2e61840783a4b7465688a.tar.bz2 scummvm-rg350-38dbbca964ac182439c2e61840783a4b7465688a.zip |
Removed OSystem pointer. Added left initialization code to file subsystem.
svn-id: r49370
Diffstat (limited to 'backends/platform/sdl/mutex.cpp')
-rw-r--r-- | backends/platform/sdl/mutex.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/sdl/mutex.cpp b/backends/platform/sdl/mutex.cpp index ce9eef6a96..28a495cbd9 100644 --- a/backends/platform/sdl/mutex.cpp +++ b/backends/platform/sdl/mutex.cpp @@ -27,7 +27,8 @@ SdlSubSys_Mutex::SdlSubSys_Mutex() : - _inited(false) { + _inited(false), + _graphicsMutex(0) { } @@ -37,11 +38,10 @@ SdlSubSys_Mutex::~SdlSubSys_Mutex() { } } -void SdlSubSys_Mutex::mutexInit(OSystem *mainSys) { +void SdlSubSys_Mutex::mutexInit() { if (_inited) { return; } - _mainSys = mainSys; _graphicsMutex = createMutex(); |