mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
Bugfix to data position start in vga decoder, and made ega/vga decoder methods public visibility
svn-id: r30104
This commit is contained in:
parent
08020444f6
commit
10686b04ab
@ -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();
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user