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/animation.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/animation.cpp')
-rw-r--r-- | engines/parallaction/animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/animation.cpp b/engines/parallaction/animation.cpp index 25e2e937c0..c81a6d4d10 100644 --- a/engines/parallaction/animation.cpp +++ b/engines/parallaction/animation.cpp @@ -259,10 +259,10 @@ void Parallaction::loadProgram(Animation *a, char *filename) { if (!_archive.openArchivedFile(vC8)) errorFileNotFound(vC8); - uint32 size = _archive.getArchivedFileLength(); + uint32 size = _archive.size(); char* src = (char*)memAlloc(size+1); - _archive.readArchivedFile(src, size); + _archive.read(src, size); src[size] = '\0'; _archive.closeArchivedFile(); |