From fa06782e089fdd1b62257bb0878dd7d221d37872 Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Mon, 12 Jun 2023 13:04:46 -0700 Subject: [PATCH] improved accuracy of MxVideoParamFlags This is probably an MxBool, and probably all of the other functions here also take an MxBool --- LEGO1/mxvideoparamflags.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LEGO1/mxvideoparamflags.h b/LEGO1/mxvideoparamflags.h index 02b27883..e57917dc 100644 --- a/LEGO1/mxvideoparamflags.h +++ b/LEGO1/mxvideoparamflags.h @@ -52,7 +52,7 @@ class MxVideoParamFlags 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; }