diff options
| author | 2020-04-20 14:19:18 -0400 | |
|---|---|---|
| committer | 2020-04-20 14:19:18 -0400 | |
| commit | 200f69d2ffa11bb902c2d9cabb49027f4781fe11 (patch) | |
| tree | 028ddae62e98d6498ecd9363f020717cf22b05ea /src/yuzu_cmd | |
| parent | Merge pull request #3741 from FearlessTobi/silence-warnings (diff) | |
| parent | dynarmic: Add option to disable CPU JIT optimizations (diff) | |
| download | yuzu-200f69d2ffa11bb902c2d9cabb49027f4781fe11.tar.gz yuzu-200f69d2ffa11bb902c2d9cabb49027f4781fe11.tar.xz yuzu-200f69d2ffa11bb902c2d9cabb49027f4781fe11.zip | |
Merge pull request #3739 from MerryMage/disable_cpu_opt
dynarmic: Add option to disable CPU JIT optimizations
Diffstat (limited to 'src/yuzu_cmd')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 2 | ||||
| -rw-r--r-- | src/yuzu_cmd/default_ini.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index f4cd905c9..80341747f 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp | |||
| @@ -425,6 +425,8 @@ void Config::ReadValues() { | |||
| 425 | Settings::values.reporting_services = | 425 | Settings::values.reporting_services = |
| 426 | sdl2_config->GetBoolean("Debugging", "reporting_services", false); | 426 | sdl2_config->GetBoolean("Debugging", "reporting_services", false); |
| 427 | Settings::values.quest_flag = sdl2_config->GetBoolean("Debugging", "quest_flag", false); | 427 | Settings::values.quest_flag = sdl2_config->GetBoolean("Debugging", "quest_flag", false); |
| 428 | Settings::values.disable_cpu_opt = | ||
| 429 | sdl2_config->GetBoolean("Debugging", "disable_cpu_opt", false); | ||
| 428 | 430 | ||
| 429 | const auto title_list = sdl2_config->Get("AddOns", "title_ids", ""); | 431 | const auto title_list = sdl2_config->Get("AddOns", "title_ids", ""); |
| 430 | std::stringstream ss(title_list); | 432 | std::stringstream ss(title_list); |
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h index d63d7a58e..171d16fa0 100644 --- a/src/yuzu_cmd/default_ini.h +++ b/src/yuzu_cmd/default_ini.h | |||
| @@ -280,6 +280,9 @@ dump_nso=false | |||
| 280 | # Determines whether or not yuzu will report to the game that the emulated console is in Kiosk Mode | 280 | # Determines whether or not yuzu will report to the game that the emulated console is in Kiosk Mode |
| 281 | # false: Retail/Normal Mode (default), true: Kiosk Mode | 281 | # false: Retail/Normal Mode (default), true: Kiosk Mode |
| 282 | quest_flag = | 282 | quest_flag = |
| 283 | # Determines whether or not JIT CPU optimizations are enabled | ||
| 284 | # false: Optimizations Enabled, true: Optimizations Disabled | ||
| 285 | disable_cpu_opt = | ||
| 283 | 286 | ||
| 284 | [WebService] | 287 | [WebService] |
| 285 | # Whether or not to enable telemetry | 288 | # Whether or not to enable telemetry |