|
|
|
@ -137,7 +137,7 @@ void Config::ReadValues() {
|
|
|
|
|
Settings::values.use_shader_jit = ReadSetting("use_shader_jit", true).toBool();
|
|
|
|
|
Settings::values.resolution_factor =
|
|
|
|
|
static_cast<u16>(ReadSetting("resolution_factor", 1).toInt());
|
|
|
|
|
Settings::values.use_vsync = ReadSetting("use_vsync", false).toBool();
|
|
|
|
|
Settings::values.vsync_enabled = ReadSetting("vsync_enabled", false).toBool();
|
|
|
|
|
Settings::values.use_frame_limit = ReadSetting("use_frame_limit", true).toBool();
|
|
|
|
|
Settings::values.frame_limit = ReadSetting("frame_limit", 100).toInt();
|
|
|
|
|
|
|
|
|
@ -426,7 +426,7 @@ void Config::SaveValues() {
|
|
|
|
|
WriteSetting("shaders_accurate_mul", Settings::values.shaders_accurate_mul, false);
|
|
|
|
|
WriteSetting("use_shader_jit", Settings::values.use_shader_jit, true);
|
|
|
|
|
WriteSetting("resolution_factor", Settings::values.resolution_factor, 1);
|
|
|
|
|
WriteSetting("use_vsync", Settings::values.use_vsync, false);
|
|
|
|
|
WriteSetting("vsync_enabled", Settings::values.vsync_enabled, false);
|
|
|
|
|
WriteSetting("use_frame_limit", Settings::values.use_frame_limit, true);
|
|
|
|
|
WriteSetting("frame_limit", Settings::values.frame_limit, 100);
|
|
|
|
|
|
|
|
|
|