mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-05-26 07:39:17 -04:00
config: clamp resolution scale to 0.25-2.0
This commit is contained in:
@@ -49,6 +49,8 @@ void Config::Load()
|
||||
{
|
||||
printf("Failed to parse configuration: %s\n", err.what());
|
||||
}
|
||||
|
||||
ResolutionScale = std::clamp(ResolutionScale, 0.25f, 2.0f);
|
||||
}
|
||||
|
||||
void Config::Save()
|
||||
|
||||
Reference in New Issue
Block a user