diff options
Diffstat (limited to 'engines/gob/dataio.cpp')
-rw-r--r-- | engines/gob/dataio.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/gob/dataio.cpp b/engines/gob/dataio.cpp index b862302492..da61f7b187 100644 --- a/engines/gob/dataio.cpp +++ b/engines/gob/dataio.cpp @@ -317,6 +317,10 @@ void DataIO::seekData(int16 handle, int32 pos, int16 from) { file_getHandle(handle)->seek(pos, from); } +int32 DataIO::getPos(int16 handle) { + return file_getHandle(handle)->pos(); +} + int32 DataIO::getDataSize(const char *name) { char buf[128]; int32 chunkSz; |