diff options
author | Colin Snover | 2017-03-07 12:34:31 -0600 |
---|---|---|
committer | Colin Snover | 2017-04-22 19:38:13 -0500 |
commit | fcaf15aa504c6902921d7a9342e34daa2003ae2d (patch) | |
tree | cac3cb29566b8a74061a6a4087eb31d532d93bec /engines/sci/resource.h | |
parent | 9e7c75cc79c7b39b1dcdb9d48bd2ed0c33c649f0 (diff) | |
download | scummvm-rg350-fcaf15aa504c6902921d7a9342e34daa2003ae2d.tar.gz scummvm-rg350-fcaf15aa504c6902921d7a9342e34daa2003ae2d.tar.bz2 scummvm-rg350-fcaf15aa504c6902921d7a9342e34daa2003ae2d.zip |
SCI: Add alloc_list command to debugger
This command lists all resources that are currently loaded into
memory, plus the number of locks that exist on each loaded
resource.
Diffstat (limited to 'engines/sci/resource.h')
-rw-r--r-- | engines/sci/resource.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h index c0c969ab88..6a67bf7414 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -277,6 +277,8 @@ public: // eases transition. uint32 getAudioCompressionType() const; + uint16 getNumLockers() const { return _lockers; } + protected: ResourceId _id; // TODO: _id could almost be made const, only readResourceInfo() modifies it... int32 _fileOffset; /**< Offset in file */ |