|
|
|
@ -515,7 +515,7 @@ void Config::ReadMotionTouchValues() {
|
|
|
|
|
void Config::ReadCoreValues() {
|
|
|
|
|
qt_config->beginGroup(QStringLiteral("Core"));
|
|
|
|
|
|
|
|
|
|
ReadSettingGlobal(Settings::values.use_multi_core, QStringLiteral("use_multi_core"), false);
|
|
|
|
|
ReadSettingGlobal(Settings::values.use_multi_core, QStringLiteral("use_multi_core"), true);
|
|
|
|
|
|
|
|
|
|
qt_config->endGroup();
|
|
|
|
|
}
|
|
|
|
@ -716,12 +716,12 @@ void Config::ReadRendererValues() {
|
|
|
|
|
QStringLiteral("use_disk_shader_cache"), true);
|
|
|
|
|
ReadSettingGlobal(Settings::values.gpu_accuracy, QStringLiteral("gpu_accuracy"), 0);
|
|
|
|
|
ReadSettingGlobal(Settings::values.use_asynchronous_gpu_emulation,
|
|
|
|
|
QStringLiteral("use_asynchronous_gpu_emulation"), false);
|
|
|
|
|
QStringLiteral("use_asynchronous_gpu_emulation"), true);
|
|
|
|
|
ReadSettingGlobal(Settings::values.use_nvdec_emulation, QStringLiteral("use_nvdec_emulation"),
|
|
|
|
|
true);
|
|
|
|
|
ReadSettingGlobal(Settings::values.use_vsync, QStringLiteral("use_vsync"), true);
|
|
|
|
|
ReadSettingGlobal(Settings::values.use_assembly_shaders, QStringLiteral("use_assembly_shaders"),
|
|
|
|
|
false);
|
|
|
|
|
true);
|
|
|
|
|
ReadSettingGlobal(Settings::values.use_asynchronous_shaders,
|
|
|
|
|
QStringLiteral("use_asynchronous_shaders"), false);
|
|
|
|
|
ReadSettingGlobal(Settings::values.use_fast_gpu_time, QStringLiteral("use_fast_gpu_time"),
|
|
|
|
@ -1110,7 +1110,7 @@ void Config::SaveControlValues() {
|
|
|
|
|
void Config::SaveCoreValues() {
|
|
|
|
|
qt_config->beginGroup(QStringLiteral("Core"));
|
|
|
|
|
|
|
|
|
|
WriteSettingGlobal(QStringLiteral("use_multi_core"), Settings::values.use_multi_core, false);
|
|
|
|
|
WriteSettingGlobal(QStringLiteral("use_multi_core"), Settings::values.use_multi_core, true);
|
|
|
|
|
|
|
|
|
|
qt_config->endGroup();
|
|
|
|
|
}
|
|
|
|
@ -1266,12 +1266,12 @@ void Config::SaveRendererValues() {
|
|
|
|
|
static_cast<int>(Settings::values.gpu_accuracy.GetValue(global)),
|
|
|
|
|
Settings::values.gpu_accuracy.UsingGlobal(), 0);
|
|
|
|
|
WriteSettingGlobal(QStringLiteral("use_asynchronous_gpu_emulation"),
|
|
|
|
|
Settings::values.use_asynchronous_gpu_emulation, false);
|
|
|
|
|
Settings::values.use_asynchronous_gpu_emulation, true);
|
|
|
|
|
WriteSettingGlobal(QStringLiteral("use_nvdec_emulation"), Settings::values.use_nvdec_emulation,
|
|
|
|
|
true);
|
|
|
|
|
WriteSettingGlobal(QStringLiteral("use_vsync"), Settings::values.use_vsync, true);
|
|
|
|
|
WriteSettingGlobal(QStringLiteral("use_assembly_shaders"),
|
|
|
|
|
Settings::values.use_assembly_shaders, false);
|
|
|
|
|
Settings::values.use_assembly_shaders, true);
|
|
|
|
|
WriteSettingGlobal(QStringLiteral("use_asynchronous_shaders"),
|
|
|
|
|
Settings::values.use_asynchronous_shaders, false);
|
|
|
|
|
WriteSettingGlobal(QStringLiteral("use_fast_gpu_time"), Settings::values.use_fast_gpu_time,
|
|
|
|
|