From dbf9e4679c694277be20dd1d1bc5db8d60f7fabd Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 3 Jul 2011 22:30:24 +1000 Subject: CGE: Started work on endifying savegame loading --- engines/cge/general.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines') 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); + } }; -- cgit v1.2.3