diff options
Diffstat (limited to 'engines/cge')
-rw-r--r-- | engines/cge/general.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/cge/general.h b/engines/cge/general.h index 95660ad4df..438e9c014d 100644 --- a/engines/cge/general.h +++ b/engines/cge/general.h @@ -176,6 +176,12 @@ public: virtual long mark() = 0; virtual long size() = 0; virtual long seek(long pos) = 0; + + uint16 readWord() { + uint16 v; + read(&v, sizeof(uint16)); + return FROM_LE_32(v); + } }; |