From 561825f6a0ff0ad27fbd88052e45f985c869be5f Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Wed, 14 May 2025 21:40:12 +0200 Subject: [PATCH] Apply some enums to CONFIG (#1483) --- CONFIG/config.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CONFIG/config.cpp b/CONFIG/config.cpp index f939d801..13a80e7f 100644 --- a/CONFIG/config.cpp +++ b/CONFIG/config.cpp @@ -349,17 +349,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; } }