summaryrefslogtreecommitdiff
path: root/src/common/settings.h
diff options
context:
space:
mode:
authorGravatar Mai M2021-06-11 14:26:54 -0400
committerGravatar GitHub2021-06-11 14:26:54 -0400
commit9951322e5a37a604e185ae7013af7c4cfc5c35f8 (patch)
tree6d765e2d635990de4acb98c1e2b6ce125546f629 /src/common/settings.h
parentMerge pull request #6443 from Morph1984/k-light-condition-variable (diff)
parentcommon/host_memory: Implement a fallback if fastmem fails. (diff)
downloadyuzu-9951322e5a37a604e185ae7013af7c4cfc5c35f8.tar.gz
yuzu-9951322e5a37a604e185ae7013af7c4cfc5c35f8.tar.xz
yuzu-9951322e5a37a604e185ae7013af7c4cfc5c35f8.zip
Merge pull request #6422 from FernandoS27/i-am-the-senate
Implement/Port Fastmem from Citra to Yuzu
Diffstat (limited to 'src/common/settings.h')
-rw-r--r--src/common/settings.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/settings.h b/src/common/settings.h
index 48085b9a9..1af8c5ac2 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -125,10 +125,12 @@ struct Values {
125 bool cpuopt_const_prop; 125 bool cpuopt_const_prop;
126 bool cpuopt_misc_ir; 126 bool cpuopt_misc_ir;
127 bool cpuopt_reduce_misalign_checks; 127 bool cpuopt_reduce_misalign_checks;
128 bool cpuopt_fastmem;
128 129
129 Setting<bool> cpuopt_unsafe_unfuse_fma; 130 Setting<bool> cpuopt_unsafe_unfuse_fma;
130 Setting<bool> cpuopt_unsafe_reduce_fp_error; 131 Setting<bool> cpuopt_unsafe_reduce_fp_error;
131 Setting<bool> cpuopt_unsafe_inaccurate_nan; 132 Setting<bool> cpuopt_unsafe_inaccurate_nan;
133 Setting<bool> cpuopt_unsafe_fastmem_check;
132 134
133 // Renderer 135 // Renderer
134 Setting<RendererBackend> renderer_backend; 136 Setting<RendererBackend> renderer_backend;
@@ -249,6 +251,8 @@ void SetConfiguringGlobal(bool is_global);
249bool IsGPULevelExtreme(); 251bool IsGPULevelExtreme();
250bool IsGPULevelHigh(); 252bool IsGPULevelHigh();
251 253
254bool IsFastmemEnabled();
255
252float Volume(); 256float Volume();
253 257
254std::string GetTimeZoneString(); 258std::string GetTimeZoneString();