Temporarily disable FLC frames

This commit is contained in:
Joshua Peisach 2025-06-20 22:10:57 -04:00
parent 8027cdaabd
commit 1ec9414394
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A
2 changed files with 17 additions and 14 deletions

View File

@ -1,5 +1,6 @@
#include "legoflctexturepresenter.h" #include "legoflctexturepresenter.h"
#include "SDL3/SDL_log.h"
#include "misc.h" #include "misc.h"
#include "misc/legocontainer.h" #include "misc/legocontainer.h"
#include "mxdsaction.h" #include "mxdsaction.h"
@ -50,13 +51,14 @@ void LegoFlcTexturePresenter::LoadFrame(MxStreamChunk* p_chunk)
data += m_rectCount * sizeof(MxRect32); data += m_rectCount * sizeof(MxRect32);
MxBool decodedColorMap; MxBool decodedColorMap;
DecodeFLCFrame( // TODO for 3DS: Temporarily disable FLC frames, as they were causing crashes
&m_frameBitmap->GetBitmapInfo()->m_bmiHeader, // DecodeFLCFrame(
m_frameBitmap->GetImage(), // &m_frameBitmap->GetBitmapInfo()->m_bmiHeader,
m_flcHeader, // m_frameBitmap->GetImage(),
(FLIC_FRAME*) data, // m_flcHeader,
&decodedColorMap // (FLIC_FRAME*) data,
); // &decodedColorMap
// );
} }
// FUNCTION: LEGO1 0x1005e100 // FUNCTION: LEGO1 0x1005e100

View File

@ -100,13 +100,14 @@ void LegoPhonemePresenter::LoadFrame(MxStreamChunk* p_chunk)
data += m_rectCount * sizeof(MxRect32); data += m_rectCount * sizeof(MxRect32);
MxBool decodedColorMap; MxBool decodedColorMap;
DecodeFLCFrame( // TODO for 3DS: Temporarily disable FLC frames, as they were causing crashes
&m_frameBitmap->GetBitmapInfo()->m_bmiHeader, // DecodeFLCFrame(
m_frameBitmap->GetImage(), // &m_frameBitmap->GetBitmapInfo()->m_bmiHeader,
m_flcHeader, // m_frameBitmap->GetImage(),
(FLIC_FRAME*) data, // m_flcHeader,
&decodedColorMap // (FLIC_FRAME*) data,
); // &decodedColorMap
// );
} }
// FUNCTION: LEGO1 0x1004e840 // FUNCTION: LEGO1 0x1004e840