From 7e03c5e1d4bbf299b40a85ef19b4dcd4bf5ec8bb Mon Sep 17 00:00:00 2001 From: fallenoak Date: Sun, 16 Nov 2025 22:33:07 -0600 Subject: [PATCH] feat(console): handle color bits and depth bits vars in SetGxCVars --- src/console/Device.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/console/Device.cpp b/src/console/Device.cpp index 824625a..ac2a357 100644 --- a/src/console/Device.cpp +++ b/src/console/Device.cpp @@ -163,8 +163,9 @@ void UpdateGxCVars() { void SetGxCVars(const CGxFormat& format) { char value[1024]; - // TODO s_cvGxColorBits - // TODO s_cvGxDepthBits + s_cvGxColorBits->Set(CGxFormat::formatToBitsString[format.colorFormat], true, false, false, true); + + s_cvGxDepthBits->Set(CGxFormat::formatToBitsString[format.depthFormat], true, false, false, true); SStrPrintf(value, sizeof(value), "%d", format.window); s_cvGxWindow->Set(value, true, false, false, true);