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

@@ -19,7 +19,7 @@ public:
void SetBackBuffers(MxBool p_e) { m_flags1.m_bit2 = p_e; }
// FUNCTION: BETA10 0x100d9250
void SetF1bit3(MxBool p_e) { m_flags1.m_bit3 = p_e; }
void SetDoubleScaling(MxBool p_e) { m_flags1.m_bit3 = p_e; }
// inlined in ISLE
void Set16Bit(MxBool p_e) { m_flags1.m_bit5 = p_e; }
@@ -34,7 +34,7 @@ public:
void SetLacksLightSupport(MxBool p_e) { m_flags2.m_bit0 = p_e; }
// inlined in ISLE
void SetF2bit1(MxBool p_e) { m_flags2.m_bit1 = p_e; }
void SetEnabled(MxBool p_e) { m_flags2.m_bit1 = p_e; }
// FUNCTION: BETA10 0x1009e770
MxBool GetFullScreen() { return m_flags1.m_bit0; }
@@ -46,7 +46,7 @@ public:
MxBool GetBackBuffers() { return m_flags1.m_bit2; }
// FUNCTION: BETA10 0x10142010
MxBool GetF1bit3() { return m_flags1.m_bit3; }
MxBool GetDoubleScaling() { return m_flags1.m_bit3; }
// FUNCTION: BETA10 0x100d8150
MxBool Get16Bit() { return m_flags1.m_bit5; }
@@ -58,7 +58,7 @@ public:
MxBool GetLacksLightSupport() { return m_flags2.m_bit0; }
// FUNCTION: BETA10 0x10142050
MxBool GetF2bit1() { return m_flags2.m_bit1; }
MxBool GetEnabled() { return m_flags2.m_bit1; }
private:
FlagBitfield m_flags1;