diff options
author | Max Horn | 2005-01-28 22:05:51 +0000 |
---|---|---|
committer | Max Horn | 2005-01-28 22:05:51 +0000 |
commit | abd12dd1b63d9e680bdc157fd5aa1fdb579e111e (patch) | |
tree | da026a16edefcc56119ef2376eb0b26f7ec9d500 /scumm/imuse_digi | |
parent | c62d82450b7fc4d64bf6102cb8074457e3d0cb47 (diff) | |
download | scummvm-rg350-abd12dd1b63d9e680bdc157fd5aa1fdb579e111e.tar.gz scummvm-rg350-abd12dd1b63d9e680bdc157fd5aa1fdb579e111e.tar.bz2 scummvm-rg350-abd12dd1b63d9e680bdc157fd5aa1fdb579e111e.zip |
Use class Mutex instead of MutexRef
svn-id: r16679
Diffstat (limited to 'scumm/imuse_digi')
-rw-r--r-- | scumm/imuse_digi/dimuse.cpp | 2 | ||||
-rw-r--r-- | scumm/imuse_digi/dimuse.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/scumm/imuse_digi/dimuse.cpp b/scumm/imuse_digi/dimuse.cpp index 764d618358..af8259b23a 100644 --- a/scumm/imuse_digi/dimuse.cpp +++ b/scumm/imuse_digi/dimuse.cpp @@ -44,7 +44,6 @@ void IMuseDigital::timer_handler(void *refCon) { IMuseDigital::IMuseDigital(ScummEngine *scumm, int fps) : _vm(scumm) { - _mutex = g_system->createMutex(); _pause = false; _sound = new ImuseDigiSndMgr(_vm); _callbackFps = fps; @@ -64,7 +63,6 @@ IMuseDigital::~IMuseDigital() { delete _track[l]; } delete _sound; - g_system->deleteMutex(_mutex); } void IMuseDigital::resetState() { diff --git a/scumm/imuse_digi/dimuse.h b/scumm/imuse_digi/dimuse.h index 8a6e95519a..dcec24b109 100644 --- a/scumm/imuse_digi/dimuse.h +++ b/scumm/imuse_digi/dimuse.h @@ -86,7 +86,7 @@ private: Track *_track[MAX_DIGITAL_TRACKS + MAX_DIGITAL_FADETRACKS]; - Common::MutexRef _mutex; + Common::Mutex _mutex; ScummEngine *_vm; ImuseDigiSndMgr *_sound; |