mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-30 03:26:12 -05:00
MxVideoPresenter::GetHeight hotfix
This commit is contained in:
parent
51adb31541
commit
a8837a72cf
1 changed files with 2 additions and 2 deletions
|
@ -59,13 +59,13 @@ MxBool MxVideoPresenter::VTable0x7c()
|
||||||
// FUNCTION: LEGO1 0x1000c7e0
|
// FUNCTION: LEGO1 0x1000c7e0
|
||||||
MxS32 MxVideoPresenter::GetWidth()
|
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
|
// FUNCTION: LEGO1 0x1000c800
|
||||||
MxS32 MxVideoPresenter::GetHeight()
|
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
|
// FUNCTION: LEGO1 0x100b24f0
|
||||||
|
|
Loading…
Reference in a new issue