diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-08 14:39:10 -0400 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-08 14:56:09 -0400 |
commit | c8b8674ffc4225dce222bad702241afd640b9e86 (patch) | |
tree | dca9f69b560a2bc234188b9b606ab1c79b53e05f /src/common | |
parent | 87b6e14d7cbcac0c5b74355f7928a5c21f86b0ac (diff) |
settings, yuzu qt: Add migration code for CPU accuracy
Old CPU Accuracy setting won't translate well into since we're adding
one at the beginning of the list. On first boot with the new setting,
just use the default setting.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/settings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index f9988c266..9f7e1096b 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -286,6 +286,8 @@ struct Values { // Cpu Setting<CPUAccuracy> cpu_accuracy{CPUAccuracy::Auto, "cpu_accuracy"}; + // TODO: remove cpu_accuracy_first_time, migration setting added 8 July 2021 + BasicSetting<bool> cpu_accuracy_first_time{true, "cpu_accuracy_first_time"}; BasicSetting<bool> cpuopt_page_tables{true, "cpuopt_page_tables"}; BasicSetting<bool> cpuopt_block_linking{true, "cpuopt_block_linking"}; |