From 540bcc61add6aab1e0d7b69e2b1029b6bee6c9f7 Mon Sep 17 00:00:00 2001 From: Misha <106913236+MishaProductions@users.noreply.github.com> Date: Sun, 14 Apr 2024 16:23:32 -0400 Subject: [PATCH] Implement LegoVideoManager::FUN_1007c520 (#803) --- LEGO1/lego/legoomni/src/video/legovideomanager.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/legoomni/src/video/legovideomanager.cpp b/LEGO1/lego/legoomni/src/video/legovideomanager.cpp index 21b06d85..5f2a022c 100644 --- a/LEGO1/lego/legoomni/src/video/legovideomanager.cpp +++ b/LEGO1/lego/legoomni/src/video/legovideomanager.cpp @@ -500,10 +500,16 @@ void LegoVideoManager::UpdateView(MxU32 p_x, MxU32 p_y, MxU32 p_width, MxU32 p_h } } -// STUB: LEGO1 0x1007c520 +// FUNCTION: LEGO1 0x1007c520 void LegoVideoManager::FUN_1007c520() { - // TODO + m_unk0xe5 = TRUE; + m_render3d = FALSE; + m_videoParam.GetPalette()->SetOverrideSkyColor(FALSE); + + m_displaySurface->ClearScreen(); + InputManager()->EnableInputProcessing(); + InputManager()->SetUnknown335(TRUE); } // STUB: LEGO1 0x1007c560