diff options
author | Nicola Mettifogo | 2007-02-25 21:40:15 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-02-25 21:40:15 +0000 |
commit | c7734857e1d9d7b9174e9b62de373fb5166ff0f6 (patch) | |
tree | 490440c2ad6c075ac93e4abb5db06f349e606deb /engines/parallaction/location.cpp | |
parent | 420a7c5f752af9add4a3d671bf68ea1d5c1bcff4 (diff) | |
download | scummvm-rg350-c7734857e1d9d7b9174e9b62de373fb5166ff0f6.tar.gz scummvm-rg350-c7734857e1d9d7b9174e9b62de373fb5166ff0f6.tar.bz2 scummvm-rg350-c7734857e1d9d7b9174e9b62de373fb5166ff0f6.zip |
made Archive inherit from Common::File, added some methods to comply to interface, changed callers to exploit readByte capabilities
svn-id: r25868
Diffstat (limited to 'engines/parallaction/location.cpp')
-rw-r--r-- | engines/parallaction/location.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/location.cpp b/engines/parallaction/location.cpp index 7f6a8538af..a3bb95a6dd 100644 --- a/engines/parallaction/location.cpp +++ b/engines/parallaction/location.cpp @@ -73,12 +73,12 @@ void Parallaction::parseLocation(const char *filename) { errorFileNotFound(filename); } - uint32 count = _archive.getArchivedFileLength(); + uint32 count = _archive.size(); location_src = (char*)memAlloc(0x4000); _locationScript = new Script(location_src); - _archive.readArchivedFile(location_src, count); + _archive.read(location_src, count); _archive.closeArchivedFile(); _archive.close(); |