diff options
author | Nicola Mettifogo | 2007-02-25 21:04:51 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-02-25 21:04:51 +0000 |
commit | 420a7c5f752af9add4a3d671bf68ea1d5c1bcff4 (patch) | |
tree | 037fa11bef41a12cfad511e6e2bc26e335c88a91 /engines/parallaction/graphics.cpp | |
parent | cacff9a9f26eff5111b1f5eef3491ac406f1245d (diff) | |
download | scummvm-rg350-420a7c5f752af9add4a3d671bf68ea1d5c1bcff4.tar.gz scummvm-rg350-420a7c5f752af9add4a3d671bf68ea1d5c1bcff4.tar.bz2 scummvm-rg350-420a7c5f752af9add4a3d671bf68ea1d5c1bcff4.zip |
made Archive behave more like Common::File, preparing for inheritance
svn-id: r25867
Diffstat (limited to 'engines/parallaction/graphics.cpp')
-rw-r--r-- | engines/parallaction/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp index 4404ee1896..8ad13ccdf3 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -1035,7 +1035,7 @@ void Graphics::loadStaticCnv(const char *filename, StaticCnv *cnv) { _vm->_archive.readArchivedFile(&unk, 1); cnv->_height = unk; - uint16 compressedsize = _vm->_archive.getArchivedFileLength(path) - 3; + uint16 compressedsize = _vm->_archive.getArchivedFileLength() - 3; byte *compressed = (byte*)memAlloc(compressedsize); uint16 size = cnv->_width*cnv->_height; @@ -1080,7 +1080,7 @@ void Graphics::loadCnv(const char *filename, Cnv *cnv) { cnv->_array = (byte**)memAlloc(cnv->_count * sizeof(byte*)); - uint32 size = _vm->_archive.getArchivedFileLength(path) - 3; + uint32 size = _vm->_archive.getArchivedFileLength() - 3; byte *buf = (byte*)memAlloc(size); _vm->_archive.readArchivedFile(buf, size); |