mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-30 11:41:16 +00:00
Temporary workaround
This commit is contained in:
parent
a725c91a8e
commit
d6103d2ec2
@ -27,6 +27,7 @@ typedef struct {
|
|||||||
|
|
||||||
typedef struct : FLIC_CHUNK {
|
typedef struct : FLIC_CHUNK {
|
||||||
WORD frames; /* Number of frames in first segment */ // 0x06
|
WORD frames; /* Number of frames in first segment */ // 0x06
|
||||||
|
// TODO: See signed issue in MxFlcPresenter::CreateBitmap()
|
||||||
short width; /* FLIC width in pixels */ // 0x08
|
short width; /* FLIC width in pixels */ // 0x08
|
||||||
short height; /* FLIC height in pixels */ // 0x0a
|
short height; /* FLIC height in pixels */ // 0x0a
|
||||||
WORD depth; /* Bits per pixel (usually 8) */ // 0x0c
|
WORD depth; /* Bits per pixel (usually 8) */ // 0x0c
|
||||||
|
|||||||
@ -40,7 +40,8 @@ void MxFlcPresenter::CreateBitmap()
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_bitmap = new MxBitmap;
|
m_bitmap = new MxBitmap;
|
||||||
m_bitmap->SetSize(m_flcHeader->width, m_flcHeader->height, NULL, FALSE);
|
// TODO: Unlikely that width/height are signed shorts
|
||||||
|
m_bitmap->SetSize((MxU16) m_flcHeader->width, (MxU16) m_flcHeader->height, NULL, FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100b3570
|
// FUNCTION: LEGO1 0x100b3570
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user