From 00168003fed1ec05164a64bdf4abc821da5b1517 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sun, 30 Apr 2017 13:44:34 -0500 Subject: SCI: Clean up ugly syncBaseObject call --- engines/sci/engine/script.h | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/sci/engine/script.h') 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 getSpan(uint offset) const { return _buf->subspan(offset); } int getScriptNumber() const { return _nr; } SegmentId getLocalsSegment() const { return _localsSegment; } -- cgit v1.2.3