diff options
Diffstat (limited to 'scumm/player_v2.h')
-rw-r--r-- | scumm/player_v2.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/player_v2.h b/scumm/player_v2.h index 3ba3f99a0c..7cc4c3e28a 100644 --- a/scumm/player_v2.h +++ b/scumm/player_v2.h @@ -24,7 +24,7 @@ #define PLAYER_V2_H #include "common/scummsys.h" -#include "common/system.h" +#include "common/mutex.h" #include "scumm/music.h" #include "sound/audiostream.h" @@ -133,12 +133,12 @@ private: const uint16 *_freqs_table; - OSystem::MutexRef _mutex; + Common::MutexRef _mutex; ChannelInfo _channels[5]; protected: - void mutex_up() { _system->lockMutex (_mutex); } - void mutex_down() { _system->unlockMutex (_mutex); } + void mutex_up(); + void mutex_down(); virtual void nextTick(); virtual void clear_channel(int i); |