diff options
Diffstat (limited to 'engines/lure/decode.h')
-rw-r--r-- | engines/lure/decode.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/lure/decode.h b/engines/lure/decode.h index 0f925ab3f0..b399cea2f5 100644 --- a/engines/lure/decode.h +++ b/engines/lure/decode.h @@ -34,7 +34,7 @@ namespace Lure { class PictureDecoder { private: - byte *dataIn; + MemoryBlock *dataIn; uint32 BP; uint32 dataPos, dataPos2; uint32 outputOffset; @@ -47,9 +47,11 @@ private: byte ESBX(bool incr = true); void decrCtr(); bool shlCarry(); - void swap(uint16 &v1, uint16 &v2); + + MemoryBlock *egaDecode(MemoryBlock *src, uint32 maxOutputSize); + MemoryBlock *vgaDecode(MemoryBlock *src, uint32 maxOutputSize); public: - MemoryBlock *decode(MemoryBlock *src, uint32 maxOutputSize = SCREEN_SIZE); + MemoryBlock *decode(MemoryBlock *src, uint32 maxOutputSize = SCREEN_SIZE + 1); }; class AnimationDecoder { |