diff options
author | Colin Snover | 2017-01-10 10:16:28 -0600 |
---|---|---|
committer | Colin Snover | 2017-03-30 19:46:27 -0500 |
commit | 77a40741060f75fe1ac46217d75e77c3b2738242 (patch) | |
tree | dab51049b09b11b3615bf4c01665a914d005ecb4 | |
parent | 0826501ef63c5b8e6b40299d25142a3562c6fde9 (diff) | |
download | scummvm-rg350-77a40741060f75fe1ac46217d75e77c3b2738242.tar.gz scummvm-rg350-77a40741060f75fe1ac46217d75e77c3b2738242.tar.bz2 scummvm-rg350-77a40741060f75fe1ac46217d75e77c3b2738242.zip |
SCI: Protect and clarify the purpose of Resource _header data
-rw-r--r-- | engines/sci/resource.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h index 65a26ba56d..c0c969ab88 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -243,9 +243,12 @@ class Resource : public SciSpan<const byte> { friend class ChunkResourceSource; #endif -// NOTE : Currently most member variables lack the underscore prefix and have -// public visibility to let the rest of the engine compile without changes. -public: +protected: + /** + * Holds the extra header data from view, pic, and palette patches so that + * these patches can be rewritten to disk as valid patch files by the + * `diskdump` debugger command. + */ byte *_header; uint32 _headerSize; |