aboutsummaryrefslogtreecommitdiff
path: root/scumm/smush/codec37.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/smush/codec37.cpp')
-rw-r--r--scumm/smush/codec37.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/smush/codec37.cpp b/scumm/smush/codec37.cpp
index 4eeabea1e4..fd6be122c3 100644
--- a/scumm/smush/codec37.cpp
+++ b/scumm/smush/codec37.cpp
@@ -22,7 +22,6 @@
#include <stdafx.h>
#include "codec37.h"
#include "chunk.h"
-#include "blitter.h"
#include "common/engine.h"
@@ -474,7 +473,7 @@ void Codec37Decoder::proc4WithoutFDFE(byte *dst, byte *src, int32 next_offs, int
} while (--bh);
}
-bool Codec37Decoder::decode(Blitter & dst, Chunk & src) {
+bool Codec37Decoder::decode(byte *dst, Chunk & src) {
int32 width = getRect().width();
int32 height = getRect().height();
int32 bw = (width + 3) >> 2, bh = (height + 3) >> 2;
@@ -549,7 +548,7 @@ bool Codec37Decoder::decode(Blitter & dst, Chunk & src) {
}
_prevSeqNb = seq_nb;
- dst.blit(_deltaBufs[_curtable], width * height);
+ memcpy(dst, _deltaBufs[_curtable], width * height);
free(chunk_buffer);
return true;