aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/resource.h9
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;