diff options
Diffstat (limited to 'scumm/smush/codec44.cpp')
-rw-r--r-- | scumm/smush/codec44.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/smush/codec44.cpp b/scumm/smush/codec44.cpp index 1fa1307c55..d49041fe05 100644 --- a/scumm/smush/codec44.cpp +++ b/scumm/smush/codec44.cpp @@ -22,9 +22,8 @@ #include <stdafx.h> #include "codec44.h" #include "chunk.h" -#include "blitter.h" -bool Codec44Decoder::decode(Blitter & dst, Chunk & src) { +bool Codec44Decoder::decode(byte *dst, Chunk & src) { int32 size_line, num; int32 length = src.getSize() - 14; int32 width = getRect().width(); @@ -61,7 +60,7 @@ bool Codec44Decoder::decode(Blitter & dst, Chunk & src) { } while (length > 1); - dst.blit(_buffer, width * height); + memcpy(dst, _buffer, width * height); free(org_src2); |