diff options
-rw-r--r-- | scumm/smush/smush_player.cpp | 6 | ||||
-rw-r--r-- | scumm/smush/smush_player.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/scumm/smush/smush_player.cpp b/scumm/smush/smush_player.cpp index 5cb3a5ec04..64b15a7129 100644 --- a/scumm/smush/smush_player.cpp +++ b/scumm/smush/smush_player.cpp @@ -217,8 +217,6 @@ void SmushPlayer::timerCallback(void *refCon) { SmushPlayer::SmushPlayer(ScummEngine_v6 *scumm, int speed) { _vm = scumm; - _mutex = g_system->createMutex(); - _version = -1; _nbframes = 0; _smixer = 0; @@ -248,11 +246,9 @@ SmushPlayer::SmushPlayer(ScummEngine_v6 *scumm, int speed) { SmushPlayer::~SmushPlayer() { release(); - g_system->deleteMutex(_mutex); } void SmushPlayer::init() { - Common::StackLock lock(_mutex, "SmushPlayer::init()"); _frame = 0; _vm->_videoFinished = false; _vm->setDirtyColors(0, 255); @@ -264,7 +260,6 @@ void SmushPlayer::init() { } void SmushPlayer::release() { - Common::StackLock lock(_mutex, "SmushPlayer::release()"); _vm->_timer->removeTimerProc(&timerCallback); _vm->_videoFinished = true; @@ -959,7 +954,6 @@ void SmushPlayer::setupAnim(const char *file, const char *directory) { } void SmushPlayer::parseNextFrame() { - Common::StackLock lock(_mutex, "SmushPlayer::parseNextFrame()"); if (_vm->_smushPaused) return; diff --git a/scumm/smush/smush_player.h b/scumm/smush/smush_player.h index 2b155f3e27..37e1299e10 100644 --- a/scumm/smush/smush_player.h +++ b/scumm/smush/smush_player.h @@ -42,7 +42,6 @@ private: int _version; int32 _nbframes; SmushMixer *_smixer; - OSystem::MutexRef _mutex; int16 _deltaPal[0x300]; byte _pal[0x300]; StringResource *_strings; |