diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/teenagent/music.cpp | 1 | ||||
-rw-r--r-- | engines/teenagent/music.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/teenagent/music.cpp b/engines/teenagent/music.cpp index 6cc2fd8d6b..1f44e9cfcb 100644 --- a/engines/teenagent/music.cpp +++ b/engines/teenagent/music.cpp @@ -51,6 +51,7 @@ bool MusicPlayer::load(int id) { stream->read(header, 4); //check header? + Common::StackLock lock(_mutex); // Load the samples sampleCount = stream->readByte(); diff --git a/engines/teenagent/music.h b/engines/teenagent/music.h index bf36ac7057..22b4fa5e8e 100644 --- a/engines/teenagent/music.h +++ b/engines/teenagent/music.h @@ -40,7 +40,7 @@ public: void start(); void stop(); -protected: +private: int _id; struct Row { |