mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 01:28:30 -05: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:
parent
e42349f969
commit
fa06782e08
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class MxVideoParamFlags
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue