diff options
| author | 2014-10-27 18:56:08 -0700 | |
|---|---|---|
| committer | 2014-10-27 19:42:01 -0700 | |
| commit | 09e19f9f1ee2e965a581e70b30cbc357f4b5ad21 (patch) | |
| tree | b18eca8d8a6dc02fbb3eacd6f8408546590c1deb /src/citra | |
| parent | Use configuration files to enable or disable the new dyncom interpreter. (diff) | |
| download | yuzu-09e19f9f1ee2e965a581e70b30cbc357f4b5ad21.tar.gz yuzu-09e19f9f1ee2e965a581e70b30cbc357f4b5ad21.tar.xz yuzu-09e19f9f1ee2e965a581e70b30cbc357f4b5ad21.zip | |
Added `gpu_refresh_rate` config setting for the new interpreter speed hack.
Diffstat (limited to 'src/citra')
| -rw-r--r-- | src/citra/config.cpp | 1 | ||||
| -rw-r--r-- | src/citra/default_ini.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp index 3e5e986c2..c5ce8a164 100644 --- a/src/citra/config.cpp +++ b/src/citra/config.cpp | |||
| @@ -58,6 +58,7 @@ void Config::ReadControls() { | |||
| 58 | 58 | ||
| 59 | void Config::ReadCore() { | 59 | void Config::ReadCore() { |
| 60 | Settings::values.cpu_core = glfw_config->GetInteger("Core", "cpu_core", Core::CPU_Interpreter); | 60 | Settings::values.cpu_core = glfw_config->GetInteger("Core", "cpu_core", Core::CPU_Interpreter); |
| 61 | Settings::values.gpu_refresh_rate = glfw_config->GetInteger("Core", "gpu_refresh_rate", 60); | ||
| 61 | } | 62 | } |
| 62 | 63 | ||
| 63 | void Config::ReadData() { | 64 | void Config::ReadData() { |
diff --git a/src/citra/default_ini.h b/src/citra/default_ini.h index 4a016d483..7352c70c2 100644 --- a/src/citra/default_ini.h +++ b/src/citra/default_ini.h | |||
| @@ -27,7 +27,8 @@ pad_sleft = | |||
| 27 | pad_sright = | 27 | pad_sright = |
| 28 | 28 | ||
| 29 | [Core] | 29 | [Core] |
| 30 | cpu_core = ## 0: Interpreter (default), 1: DynCom Interpreter | 30 | cpu_core = ## 0: Interpreter (default), 1: FastInterpreter (experimental) |
| 31 | gpu_refresh_rate = ## 60 (default), 1024 or 2048 may work better on the FastInterpreter | ||
| 31 | 32 | ||
| 32 | [Data Storage] | 33 | [Data Storage] |
| 33 | use_virtual_sd = | 34 | use_virtual_sd = |