Clear unknowns in MxVideoParamFlags (#1648)

This commit is contained in:
Fabian Neundorf
2025-07-22 20:58:00 +02:00
committed by GitHub
parent ed33541a2e
commit eae038f6a9
4 changed files with 12 additions and 12 deletions

View File

@@ -373,7 +373,7 @@ void MxDisplaySurface::VTable0x28(
MxU8* data = p_bitmap->GetStart(p_left, p_top);
if (m_videoParam.Flags().GetF1bit3()) {
if (m_videoParam.Flags().GetDoubleScaling()) {
p_bottom *= 2;
p_right *= 2;
@@ -825,7 +825,7 @@ void MxDisplaySurface::VTable0x34(MxU8* p_pixels, MxS32 p_bpp, MxS32 p_width, Mx
// FUNCTION: LEGO1 0x100bba50
void MxDisplaySurface::Display(MxS32 p_left, MxS32 p_top, MxS32 p_left2, MxS32 p_top2, MxS32 p_width, MxS32 p_height)
{
if (m_videoParam.Flags().GetF2bit1()) {
if (m_videoParam.Flags().GetEnabled()) {
if (m_videoParam.Flags().GetFlipSurfaces()) {
if (g_unk0x1010215c < 2) {
g_unk0x1010215c++;
@@ -1171,7 +1171,7 @@ void MxDisplaySurface::VTable0x24(
MxU8* data = p_bitmap->GetStart(p_left, p_top);
if (m_videoParam.Flags().GetF1bit3()) {
if (m_videoParam.Flags().GetDoubleScaling()) {
p_bottom *= 2;
p_right *= 2;