From 2a5ca656937e34b55dce15ea2169b69b611f3df1 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Wed, 14 May 2025 19:52:41 +0200 Subject: [PATCH] Apply some enums --- CONFIG/config.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONFIG/config.cpp b/CONFIG/config.cpp index e832e038..24339ace 100644 --- a/CONFIG/config.cpp +++ b/CONFIG/config.cpp @@ -354,17 +354,17 @@ DWORD CConfigApp::GetConditionalDeviceRenderBitDepth() const if (GetHardwareDeviceColorModel()) { return 0; } - return m_device->m_HELDesc.dwDeviceRenderBitDepth & 0x800; + return m_device->m_HELDesc.dwDeviceRenderBitDepth & DDBD_8; } // FUNCTION: CONFIG 0x004037e0 DWORD CConfigApp::GetDeviceRenderBitStatus() const { if (GetHardwareDeviceColorModel()) { - return m_device->m_HWDesc.dwDeviceRenderBitDepth & 0x400; + return m_device->m_HWDesc.dwDeviceRenderBitDepth & DDBD_16; } else { - return m_device->m_HELDesc.dwDeviceRenderBitDepth & 0x400; + return m_device->m_HELDesc.dwDeviceRenderBitDepth & DDBD_16; } }