mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Temporarily disable FLC frames
This commit is contained in:
parent
8027cdaabd
commit
1ec9414394
@ -1,5 +1,6 @@
|
||||
#include "legoflctexturepresenter.h"
|
||||
|
||||
#include "SDL3/SDL_log.h"
|
||||
#include "misc.h"
|
||||
#include "misc/legocontainer.h"
|
||||
#include "mxdsaction.h"
|
||||
@ -50,13 +51,14 @@ void LegoFlcTexturePresenter::LoadFrame(MxStreamChunk* p_chunk)
|
||||
data += m_rectCount * sizeof(MxRect32);
|
||||
|
||||
MxBool decodedColorMap;
|
||||
DecodeFLCFrame(
|
||||
&m_frameBitmap->GetBitmapInfo()->m_bmiHeader,
|
||||
m_frameBitmap->GetImage(),
|
||||
m_flcHeader,
|
||||
(FLIC_FRAME*) data,
|
||||
&decodedColorMap
|
||||
);
|
||||
// TODO for 3DS: Temporarily disable FLC frames, as they were causing crashes
|
||||
// DecodeFLCFrame(
|
||||
// &m_frameBitmap->GetBitmapInfo()->m_bmiHeader,
|
||||
// m_frameBitmap->GetImage(),
|
||||
// m_flcHeader,
|
||||
// (FLIC_FRAME*) data,
|
||||
// &decodedColorMap
|
||||
// );
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1005e100
|
||||
|
||||
@ -100,13 +100,14 @@ void LegoPhonemePresenter::LoadFrame(MxStreamChunk* p_chunk)
|
||||
data += m_rectCount * sizeof(MxRect32);
|
||||
|
||||
MxBool decodedColorMap;
|
||||
DecodeFLCFrame(
|
||||
&m_frameBitmap->GetBitmapInfo()->m_bmiHeader,
|
||||
m_frameBitmap->GetImage(),
|
||||
m_flcHeader,
|
||||
(FLIC_FRAME*) data,
|
||||
&decodedColorMap
|
||||
);
|
||||
// TODO for 3DS: Temporarily disable FLC frames, as they were causing crashes
|
||||
// DecodeFLCFrame(
|
||||
// &m_frameBitmap->GetBitmapInfo()->m_bmiHeader,
|
||||
// m_frameBitmap->GetImage(),
|
||||
// m_flcHeader,
|
||||
// (FLIC_FRAME*) data,
|
||||
// &decodedColorMap
|
||||
// );
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1004e840
|
||||
|
||||
Loading…
Reference in New Issue
Block a user