summaryrefslogtreecommitdiff
path: root/src/citra
diff options
context:
space:
mode:
authorGravatar archshift2014-10-27 18:56:08 -0700
committerGravatar archshift2014-10-27 19:42:01 -0700
commit09e19f9f1ee2e965a581e70b30cbc357f4b5ad21 (patch)
treeb18eca8d8a6dc02fbb3eacd6f8408546590c1deb /src/citra
parentUse configuration files to enable or disable the new dyncom interpreter. (diff)
downloadyuzu-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.cpp1
-rw-r--r--src/citra/default_ini.h3
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
59void Config::ReadCore() { 59void 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
63void Config::ReadData() { 64void 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 =
27pad_sright = 27pad_sright =
28 28
29[Core] 29[Core]
30cpu_core = ## 0: Interpreter (default), 1: DynCom Interpreter 30cpu_core = ## 0: Interpreter (default), 1: FastInterpreter (experimental)
31gpu_refresh_rate = ## 60 (default), 1024 or 2048 may work better on the FastInterpreter
31 32
32[Data Storage] 33[Data Storage]
33use_virtual_sd = 34use_virtual_sd =