diff --git a/Minecraft.Client/Common/Consoles_App.cpp b/Minecraft.Client/Common/Consoles_App.cpp index 62891130..b982d06e 100644 --- a/Minecraft.Client/Common/Consoles_App.cpp +++ b/Minecraft.Client/Common/Consoles_App.cpp @@ -1220,12 +1220,17 @@ void CMinecraftApp::ActionGameSettings(int iPad,eGameSetting eVal) } break; case eGameSetting_Gamma: +#ifdef _WINDOWS64 + pMinecraft->options->set(Options::Option::GAMMA, ((float)GameSettingsA[iPad]->ucGamma) / 100.0f); +#else + if(iPad==ProfileManager.GetPrimaryPad()) { // ucGamma range is 0-100, UpdateGamma is 0 - 32768 float fVal=((float)GameSettingsA[iPad]->ucGamma)*327.68f; RenderManager.UpdateGamma((unsigned short)fVal); - } + } +#endif break; case eGameSetting_Difficulty: diff --git a/Minecraft.Client/GameRenderer.cpp b/Minecraft.Client/GameRenderer.cpp index e8d6afe4..c0309d28 100644 --- a/Minecraft.Client/GameRenderer.cpp +++ b/Minecraft.Client/GameRenderer.cpp @@ -928,7 +928,7 @@ void GameRenderer::updateLightTexture(float a) } } - float brightness = 0.0f; // 4J - TODO - was mc->options->gamma; + float brightness = mc->options->gamma; // 4J - TODO - was mc->options->gamma; if (_r > 1) _r = 1; if (_g > 1) _g = 1; if (_b > 1) _b = 1; diff --git a/Minecraft.Client/Windows64/GameHDD/20260304000018/saveData.ms b/Minecraft.Client/Windows64/GameHDD/20260304000018/saveData.ms new file mode 100644 index 00000000..9c291cbc Binary files /dev/null and b/Minecraft.Client/Windows64/GameHDD/20260304000018/saveData.ms differ