mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
improved accuracy of MxVideoParamFlags
This is probably an MxBool, and probably all of the other functions here also take an MxBool
This commit is contained in:
@@ -52,7 +52,7 @@ public:
|
|||||||
m_flags1 |= ENABLE_16BIT;
|
m_flags1 |= ENABLE_16BIT;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void Enable16Bit(BOOL e)
|
inline void Enable16Bit(unsigned char e)
|
||||||
{
|
{
|
||||||
m_flags1 = ((e << 5) ^ m_flags1) & ENABLE_16BIT ^ m_flags1;
|
m_flags1 = ((e << 5) ^ m_flags1) & ENABLE_16BIT ^ m_flags1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user