diff options
author | Andrew Kurushin | 2010-10-23 22:04:51 +0000 |
---|---|---|
committer | Andrew Kurushin | 2010-10-23 22:04:51 +0000 |
commit | 5b7c5e429871ce09465150ef9cca8e6cbeb3f259 (patch) | |
tree | b81e2e5e1c5845a6515c8154f53cb6c4221a01a7 /engines | |
parent | f812f88c103fd968a886a746494a23e3128f0590 (diff) | |
download | scummvm-rg350-5b7c5e429871ce09465150ef9cca8e6cbeb3f259.tar.gz scummvm-rg350-5b7c5e429871ce09465150ef9cca8e6cbeb3f259.tar.bz2 scummvm-rg350-5b7c5e429871ce09465150ef9cca8e6cbeb3f259.zip |
SAGA: fix typo
svn-id: r53750
Diffstat (limited to 'engines')
-rw-r--r-- | engines/saga/image.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/saga/image.cpp b/engines/saga/image.cpp index 5383e6deca..d83262ea0d 100644 --- a/engines/saga/image.cpp +++ b/engines/saga/image.cpp @@ -53,8 +53,6 @@ bool SagaEngine::decodeBGImage(const byte *image_data, size_t image_size, ByteAr const byte *RLE_data_ptr; size_t RLE_data_len; ByteArray decodeBuffer; - byte *out_buf; - size_t out_buf_len; if (image_size <= SAGA_IMAGE_DATA_OFFSET) { error("decodeBGImage() Image size is way too small (%d)", (int)image_size); @@ -85,7 +83,7 @@ bool SagaEngine::decodeBGImage(const byte *image_data, size_t image_size, ByteAr // For some reason bg images in IHNM are upside down if (getGameId() == GID_IHNM && !flip) { - flipImage(out_buf, hdr.width, hdr.height); + flipImage(outputBuffer.getBuffer(), hdr.width, hdr.height); } *w = hdr.width; |