config: implement read callbacks

This commit is contained in:
Hyper
2024-10-21 18:20:45 +01:00
parent 438a315e5b
commit dd59190347
3 changed files with 25 additions and 8 deletions
-2
View File
@@ -11,8 +11,6 @@ void Config::Load()
{
printf("Failed to parse configuration: %s\n", err.what());
}
ResolutionScale = std::clamp(ResolutionScale.Value, 0.25f, 2.0f);
}
void Config::Save()