Merge remote-tracking branch 'isle/master'

This commit is contained in:
Christian Semmler 2025-05-18 09:24:02 -07:00
commit 80f5e15cbf
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C
3 changed files with 4 additions and 4 deletions

View File

@ -44,7 +44,7 @@ LegoAnimMMPresenter::~LegoAnimMMPresenter()
VideoManager()->UnregisterPresenter(*this);
}
delete m_unk0x68;
delete[] m_unk0x68;
NotificationManager()->Unregister(this);
}

View File

@ -400,7 +400,7 @@ BOOL MxDirectDraw::DDSetMode(int width, int height, int bpp)
DDSURFACEDESC ddsd;
FUN_1009e020();
ClearBackBuffers();
if (!GetDDSurfaceDesc(&ddsd, m_pBackBuffer)) {
return FALSE;
@ -550,7 +550,7 @@ BOOL MxDirectDraw::DDCreateSurfaces()
// FUNCTION: LEGO1 0x1009e020
// FUNCTION: BETA10 0x10121700
void MxDirectDraw::FUN_1009e020()
void MxDirectDraw::ClearBackBuffers()
{
HRESULT result;
byte* line;

View File

@ -85,7 +85,7 @@ class MxDirectDraw {
void Error(const char* p_message, int p_error);
BOOL RecreateDirectDraw(GUID** a2);
void FUN_1009e020();
void ClearBackBuffers();
void FUN_1009d920();
// SYNTHETIC: LEGO1 0x1009d510