Implemented value thumbnails (#42)

* options_menu: implemented value thumbnails

* options_menu: use config ptrs as thumbnail keys, added named thumbnails

* options_menu_thumbnails: move header to cpp
This commit is contained in:
Hyper
2024-12-15 20:41:39 +00:00
committed by GitHub
parent 74ee0c2b2f
commit 6c57221807
9 changed files with 222 additions and 95 deletions
+2 -2
View File
@@ -1550,7 +1550,7 @@ static void BeginCommandList()
if (g_swapChainValid)
{
bool applyingGammaCorrection = Config::XboxColourCorrection || abs(Config::Brightness - 0.5f) > 0.001f;
bool applyingGammaCorrection = Config::XboxColorCorrection || abs(Config::Brightness - 0.5f) > 0.001f;
if (applyingGammaCorrection)
{
@@ -2068,7 +2068,7 @@ static void ProcPresent(const RenderCommand& cmd)
uint32_t textureDescriptorIndex;
} constants;
if (Config::XboxColourCorrection)
if (Config::XboxColorCorrection)
{
constants.gammaR = 1.2f;
constants.gammaG = 1.17f;