aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lure')
-rw-r--r--engines/lure/decode.cpp2
-rw-r--r--engines/lure/decode.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/lure/decode.cpp b/engines/lure/decode.cpp
index 0142c2c876..dc8b3957bd 100644
--- a/engines/lure/decode.cpp
+++ b/engines/lure/decode.cpp
@@ -224,7 +224,7 @@ MemoryBlock *PictureDecoder::vgaDecode(MemoryBlock *src, uint32 maxOutputSize) {
// Set up initial states
dataIn = src;
outputOffset = 0;
- dataPos = READ_LE_UINT32(dataIn + 0x400);
+ dataPos = READ_LE_UINT32(dataIn->data() + 0x400);
dataPos2 = 0x404;
CH = ESBX();
diff --git a/engines/lure/decode.h b/engines/lure/decode.h
index b399cea2f5..cea8b4b28a 100644
--- a/engines/lure/decode.h
+++ b/engines/lure/decode.h
@@ -48,10 +48,10 @@ private:
void decrCtr();
bool shlCarry();
- MemoryBlock *egaDecode(MemoryBlock *src, uint32 maxOutputSize);
- MemoryBlock *vgaDecode(MemoryBlock *src, uint32 maxOutputSize);
public:
MemoryBlock *decode(MemoryBlock *src, uint32 maxOutputSize = SCREEN_SIZE + 1);
+ MemoryBlock *egaDecode(MemoryBlock *src, uint32 maxOutputSize);
+ MemoryBlock *vgaDecode(MemoryBlock *src, uint32 maxOutputSize);
};
class AnimationDecoder {