diff options
author | Colin Snover | 2017-04-30 13:44:34 -0500 |
---|---|---|
committer | Colin Snover | 2017-04-30 13:44:34 -0500 |
commit | 00168003fed1ec05164a64bdf4abc821da5b1517 (patch) | |
tree | 2eb65efae6ceaffe74073ba3b75b94dfb5d85d73 /engines/sci/engine/script.h | |
parent | 94dc6ae05234b33677b10bca438819e59f6175fa (diff) | |
download | scummvm-rg350-00168003fed1ec05164a64bdf4abc821da5b1517.tar.gz scummvm-rg350-00168003fed1ec05164a64bdf4abc821da5b1517.tar.bz2 scummvm-rg350-00168003fed1ec05164a64bdf4abc821da5b1517.zip |
SCI: Clean up ugly syncBaseObject call
Diffstat (limited to 'engines/sci/engine/script.h')
-rw-r--r-- | engines/sci/engine/script.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/script.h b/engines/sci/engine/script.h index f9b3845f6a..65f3ffb6ab 100644 --- a/engines/sci/engine/script.h +++ b/engines/sci/engine/script.h @@ -107,6 +107,7 @@ public: uint32 getBufSize() const { return _buf->size(); } const byte *getBuf(uint offset = 0) const { return _buf->getUnsafeDataAt(offset); } + SciSpan<const byte> getSpan(uint offset) const { return _buf->subspan(offset); } int getScriptNumber() const { return _nr; } SegmentId getLocalsSegment() const { return _localsSegment; } |