MxVideoPresenter::GetHeight hotfix

This commit is contained in:
Christian Semmler 2023-12-29 17:34:10 -05:00
parent 51adb31541
commit a8837a72cf
No known key found for this signature in database
GPG key ID: 086DAA1360BEEE5C

View file

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