CGE: Started work on endifying savegame loading
This commit is contained in:
parent
fae1d7efd8
commit
dbf9e4679c
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue