|
|
|
@ -644,6 +644,7 @@ void Config::ReadRendererValues() {
|
|
|
|
|
Settings::values.use_asynchronous_gpu_emulation =
|
|
|
|
|
ReadSetting(QStringLiteral("use_asynchronous_gpu_emulation"), false).toBool();
|
|
|
|
|
Settings::values.use_vsync = ReadSetting(QStringLiteral("use_vsync"), true).toBool();
|
|
|
|
|
Settings::values.use_fast_gpu_time = ReadSetting(QStringLiteral("use_fast_gpu_time"), true).toBool();
|
|
|
|
|
Settings::values.force_30fps_mode =
|
|
|
|
|
ReadSetting(QStringLiteral("force_30fps_mode"), false).toBool();
|
|
|
|
|
|
|
|
|
@ -1085,6 +1086,7 @@ void Config::SaveRendererValues() {
|
|
|
|
|
WriteSetting(QStringLiteral("use_asynchronous_gpu_emulation"),
|
|
|
|
|
Settings::values.use_asynchronous_gpu_emulation, false);
|
|
|
|
|
WriteSetting(QStringLiteral("use_vsync"), Settings::values.use_vsync, true);
|
|
|
|
|
WriteSetting(QStringLiteral("use_fast_gpu_time"), Settings::values.use_fast_gpu_time, true);
|
|
|
|
|
WriteSetting(QStringLiteral("force_30fps_mode"), Settings::values.force_30fps_mode, false);
|
|
|
|
|
|
|
|
|
|
// Cast to double because Qt's written float values are not human-readable
|
|
|
|
|