diff options
| author | 2021-06-11 14:26:54 -0400 | |
|---|---|---|
| committer | 2021-06-11 14:26:54 -0400 | |
| commit | 9951322e5a37a604e185ae7013af7c4cfc5c35f8 (patch) | |
| tree | 6d765e2d635990de4acb98c1e2b6ce125546f629 /src/common/settings.h | |
| parent | Merge pull request #6443 from Morph1984/k-light-condition-variable (diff) | |
| parent | common/host_memory: Implement a fallback if fastmem fails. (diff) | |
| download | yuzu-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.h | 4 |
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); | |||
| 249 | bool IsGPULevelExtreme(); | 251 | bool IsGPULevelExtreme(); |
| 250 | bool IsGPULevelHigh(); | 252 | bool IsGPULevelHigh(); |
| 251 | 253 | ||
| 254 | bool IsFastmemEnabled(); | ||
| 255 | |||
| 252 | float Volume(); | 256 | float Volume(); |
| 253 | 257 | ||
| 254 | std::string GetTimeZoneString(); | 258 | std::string GetTimeZoneString(); |