isle: Partially Matched setupVideoFlags to Original

For some reason the decomp version is doing the first xor in
EnableFullScreen with the operands swapped. The source code and
the original binary both have m_flags ^ e but the decomp binary has e ^
m_flags. This gives the same result but it is not a 100% match in the
binary. I'm not sure why the compiler is doing this or how to
change it but the other inaccuracy with the function is fixed.
This commit is contained in:
Moss Gallagher 2023-06-11 02:03:07 -07:00
parent 9580402ab5
commit 4a1ac277f9

View file

@ -234,8 +234,8 @@ void Isle::setupVideoFlags(BOOL fullScreen, BOOL flipSurfaces, BOOL backBuffers,
m_videoParam.flags().EnableBackBuffers(backBuffers); m_videoParam.flags().EnableBackBuffers(backBuffers);
m_videoParam.flags().EnableUnknown1(param_6); m_videoParam.flags().EnableUnknown1(param_6);
m_videoParam.flags().SetUnknown3(param_7); m_videoParam.flags().SetUnknown3(param_7);
m_videoParam.flags().EnableUnknown2();
m_videoParam.flags().EnableWideViewAngle(wideViewAngle); m_videoParam.flags().EnableWideViewAngle(wideViewAngle);
m_videoParam.flags().EnableUnknown2();
m_videoParam.SetDeviceName(deviceId); m_videoParam.SetDeviceName(deviceId);
if (using8bit) { if (using8bit) {
m_videoParam.flags().Set8Bit(); m_videoParam.flags().Set8Bit();