diff options
author | Paweł Kołodziejski | 2004-04-26 19:22:27 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2004-04-26 19:22:27 +0000 |
commit | f90a2a30c256afe88d390a3b9bdd973f4b5e7a4b (patch) | |
tree | 32d486584556c5203c27251c474beceddefedb61 /scumm/scumm.h | |
parent | 17332e393ef369acae3a43a25f859bd52f8022ed (diff) | |
download | scummvm-rg350-f90a2a30c256afe88d390a3b9bdd973f4b5e7a4b.tar.gz scummvm-rg350-f90a2a30c256afe88d390a3b9bdd973f4b5e7a4b.tar.bz2 scummvm-rg350-f90a2a30c256afe88d390a3b9bdd973f4b5e7a4b.zip |
locking resource sounds while using them to prevent expire
svn-id: r13640
Diffstat (limited to 'scumm/scumm.h')
-rw-r--r-- | scumm/scumm.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scumm/scumm.h b/scumm/scumm.h index 62570d1d74..31b0674acb 100644 --- a/scumm/scumm.h +++ b/scumm/scumm.h @@ -537,11 +537,12 @@ public: void requestSave(int slot, const char *name, bool compatible = false); void requestLoad(int slot); + void lock(int type, int i); + void unlock(int type, int i); + protected: /* Heap and memory management */ uint32 _maxHeapThreshold, _minHeapThreshold; - void lock(int type, int i); - void unlock(int type, int i); /* Script VM - should be in Script class */ uint32 _localScriptList[NUM_LOCALSCRIPT]; |