mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
TEENAGENT: Added missing lock in music player, replaced protected with private.
This commit is contained in:
parent
f4a938d0f8
commit
5b89ef4366
@ -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();
|
||||
|
||||
|
@ -40,7 +40,7 @@ public:
|
||||
void start();
|
||||
void stop();
|
||||
|
||||
protected:
|
||||
private:
|
||||
int _id;
|
||||
|
||||
struct Row {
|
||||
|
Loading…
Reference in New Issue
Block a user