From a8837a72cf12ebc9d272e89e1b98d90ed8133c73 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Fri, 29 Dec 2023 17:34:10 -0500 Subject: [PATCH] MxVideoPresenter::GetHeight hotfix --- LEGO1/mxvideopresenter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/mxvideopresenter.cpp b/LEGO1/mxvideopresenter.cpp index 957c5a01..cac090b1 100644 --- a/LEGO1/mxvideopresenter.cpp +++ b/LEGO1/mxvideopresenter.cpp @@ -59,13 +59,13 @@ MxBool MxVideoPresenter::VTable0x7c() // FUNCTION: LEGO1 0x1000c7e0 MxS32 MxVideoPresenter::GetWidth() { - return m_alpha ? m_alpha->m_width : m_bitmap->GetBmiHeader()->biWidth; + return m_alpha ? m_alpha->m_width : m_bitmap->GetBmiWidth(); } // FUNCTION: LEGO1 0x1000c800 MxS32 MxVideoPresenter::GetHeight() { - return m_alpha ? m_alpha->m_height : m_bitmap->GetBmiHeader()->biHeight; + return m_alpha ? m_alpha->m_height : m_bitmap->GetBmiHeightAbs(); } // FUNCTION: LEGO1 0x100b24f0