summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-12-02 04:48:43 +0100
committerLiam <byteslice@airmail.cc>2022-12-02 14:25:45 +0100
commit6072b22a0b9a1d84c389e8231fe4b6a97e60d55f (patch)
tree13fd1e6ec07f4aff50f0bcb41fbb02fb2192ec87 /src/yuzu_cmd
parentMerge pull request #9367 from lat9nq/occam-ffmpeg (diff)
downloadyuzu-6072b22a0b9a1d84c389e8231fe4b6a97e60d55f.tar
yuzu-6072b22a0b9a1d84c389e8231fe4b6a97e60d55f.tar.gz
yuzu-6072b22a0b9a1d84c389e8231fe4b6a97e60d55f.tar.bz2
yuzu-6072b22a0b9a1d84c389e8231fe4b6a97e60d55f.tar.lz
yuzu-6072b22a0b9a1d84c389e8231fe4b6a97e60d55f.tar.xz
yuzu-6072b22a0b9a1d84c389e8231fe4b6a97e60d55f.tar.zst
yuzu-6072b22a0b9a1d84c389e8231fe4b6a97e60d55f.zip
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/config.cpp1
-rw-r--r--src/yuzu_cmd/default_ini.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index 59f9c8e09..767b0d0e3 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -286,6 +286,7 @@ void Config::ReadValues() {
ReadSetting("Cpu", Settings::values.cpuopt_fastmem);
ReadSetting("Cpu", Settings::values.cpuopt_fastmem_exclusives);
ReadSetting("Cpu", Settings::values.cpuopt_recompile_exclusives);
+ ReadSetting("Cpu", Settings::values.cpuopt_ignore_memory_aborts);
ReadSetting("Cpu", Settings::values.cpuopt_unsafe_unfuse_fma);
ReadSetting("Cpu", Settings::values.cpuopt_unsafe_reduce_fp_error);
ReadSetting("Cpu", Settings::values.cpuopt_unsafe_ignore_standard_fpcr);
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h
index 5bbc3f532..6fcf04e1b 100644
--- a/src/yuzu_cmd/default_ini.h
+++ b/src/yuzu_cmd/default_ini.h
@@ -208,6 +208,10 @@ cpuopt_fastmem_exclusives =
# 0: Disabled, 1 (default): Enabled
cpuopt_recompile_exclusives =
+# Enable optimization to ignore invalid memory accesses (faster guest memory access)
+# 0: Disabled, 1 (default): Enabled
+cpuopt_ignore_memory_aborts =
+
# Enable unfuse FMA (improve performance on CPUs without FMA)
# Only enabled if cpu_accuracy is set to Unsafe. Automatically chosen with cpu_accuracy = Auto-select.
# 0: Disabled, 1 (default): Enabled