Add frontend settings
This commit is contained in:
parent
b5b6ce5fdc
commit
ce3f8bf94e
5 changed files with 17 additions and 2 deletions
|
@ -122,6 +122,8 @@ void Config::ReadValues() {
|
|||
Settings::values.resolution_factor =
|
||||
static_cast<u16>(sdl2_config->GetInteger("Renderer", "resolution_factor", 1));
|
||||
Settings::values.use_frame_limit = sdl2_config->GetBoolean("Renderer", "use_frame_limit", true);
|
||||
Settings::values.use_disk_shader_cache =
|
||||
sdl2_config->GetBoolean("Renderer", "use_disk_shader_cache", true);
|
||||
Settings::values.frame_limit =
|
||||
static_cast<u16>(sdl2_config->GetInteger("Renderer", "frame_limit", 100));
|
||||
Settings::values.use_vsync_new =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue