diff options
author | Max Horn | 2003-07-05 15:19:11 +0000 |
---|---|---|
committer | Max Horn | 2003-07-05 15:19:11 +0000 |
commit | d098334fe651616afa8b5314bcf580ae835185b2 (patch) | |
tree | 5442e167b6a58dea66f8482a1afcae264dfbbc1a /scumm/player_v2.h | |
parent | 4611b12c0a84ec528f9f020dc85bf4e9a0108c82 (diff) | |
download | scummvm-rg350-d098334fe651616afa8b5314bcf580ae835185b2.tar.gz scummvm-rg350-d098334fe651616afa8b5314bcf580ae835185b2.tar.bz2 scummvm-rg350-d098334fe651616afa8b5314bcf580ae835185b2.zip |
updated code to use type MutexRef; added class StackLock (from sdl backend, now in util.*)
svn-id: r8777
Diffstat (limited to 'scumm/player_v2.h')
-rw-r--r-- | scumm/player_v2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/player_v2.h b/scumm/player_v2.h index 7680754c82..1bdfa96382 100644 --- a/scumm/player_v2.h +++ b/scumm/player_v2.h @@ -24,6 +24,7 @@ #define PLAYER_V2_H #include "common/scummsys.h" +#include "common/system.h" #if !defined(__GNUC__) #pragma START_PACK_STRUCTS @@ -116,7 +117,7 @@ private: byte *next_data; byte *retaddr; - void *_mutex; + OSystem::MutexRef _mutex; void mutex_up() { _system->lock_mutex (_mutex); } void mutex_down() { _system->unlock_mutex (_mutex); } |