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 "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

View File

@ -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