aboutsummaryrefslogtreecommitdiff
path: root/scumm/player_v2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/player_v2.cpp')
-rw-r--r--scumm/player_v2.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/scumm/player_v2.cpp b/scumm/player_v2.cpp
index 452bd3b913..7a9db4fb0e 100644
--- a/scumm/player_v2.cpp
+++ b/scumm/player_v2.cpp
@@ -22,6 +22,7 @@
#include "stdafx.h"
#include "base/engine.h"
+#include "common/system.h"
#include "scumm/player_v2.h"
#include "scumm/scumm.h"
#include "sound/mididrv.h"
@@ -963,6 +964,14 @@ void Player_V2::generatePCjrSamples(int16 *data, uint len) {
lowPassFilter(data, len);
}
+void Player_V2::mutex_up() {
+ _system->lockMutex (_mutex);
+}
+
+void Player_V2::mutex_down() {
+ _system->unlockMutex (_mutex);
+}
+
} // End of namespace Scumm
#ifdef __PALM_OS__