diff options
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/host_memory.cpp | 2 | ||||
| -rw-r--r-- | src/common/settings.cpp | 1 | ||||
| -rw-r--r-- | src/common/settings.h | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/src/common/host_memory.cpp b/src/common/host_memory.cpp index 8bd70abc7..2a5a7596c 100644 --- a/src/common/host_memory.cpp +++ b/src/common/host_memory.cpp | |||
| @@ -34,7 +34,7 @@ constexpr size_t HugePageSize = 0x200000; | |||
| 34 | 34 | ||
| 35 | // Manually imported for MinGW compatibility | 35 | // Manually imported for MinGW compatibility |
| 36 | #ifndef MEM_RESERVE_PLACEHOLDER | 36 | #ifndef MEM_RESERVE_PLACEHOLDER |
| 37 | #define MEM_RESERVE_PLACEHOLDER 0x0004000 | 37 | #define MEM_RESERVE_PLACEHOLDER 0x00040000 |
| 38 | #endif | 38 | #endif |
| 39 | #ifndef MEM_REPLACE_PLACEHOLDER | 39 | #ifndef MEM_REPLACE_PLACEHOLDER |
| 40 | #define MEM_REPLACE_PLACEHOLDER 0x00004000 | 40 | #define MEM_REPLACE_PLACEHOLDER 0x00004000 |
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 9ec71eced..6397308ec 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp | |||
| @@ -122,6 +122,7 @@ void RestoreGlobalState(bool is_powered_on) { | |||
| 122 | values.cpu_accuracy.SetGlobal(true); | 122 | values.cpu_accuracy.SetGlobal(true); |
| 123 | values.cpuopt_unsafe_unfuse_fma.SetGlobal(true); | 123 | values.cpuopt_unsafe_unfuse_fma.SetGlobal(true); |
| 124 | values.cpuopt_unsafe_reduce_fp_error.SetGlobal(true); | 124 | values.cpuopt_unsafe_reduce_fp_error.SetGlobal(true); |
| 125 | values.cpuopt_unsafe_ignore_standard_fpcr.SetGlobal(true); | ||
| 125 | values.cpuopt_unsafe_inaccurate_nan.SetGlobal(true); | 126 | values.cpuopt_unsafe_inaccurate_nan.SetGlobal(true); |
| 126 | values.cpuopt_unsafe_fastmem_check.SetGlobal(true); | 127 | values.cpuopt_unsafe_fastmem_check.SetGlobal(true); |
| 127 | 128 | ||
diff --git a/src/common/settings.h b/src/common/settings.h index 6198f2d9f..85554eac4 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -129,6 +129,7 @@ struct Values { | |||
| 129 | 129 | ||
| 130 | Setting<bool> cpuopt_unsafe_unfuse_fma; | 130 | Setting<bool> cpuopt_unsafe_unfuse_fma; |
| 131 | Setting<bool> cpuopt_unsafe_reduce_fp_error; | 131 | Setting<bool> cpuopt_unsafe_reduce_fp_error; |
| 132 | Setting<bool> cpuopt_unsafe_ignore_standard_fpcr; | ||
| 132 | Setting<bool> cpuopt_unsafe_inaccurate_nan; | 133 | Setting<bool> cpuopt_unsafe_inaccurate_nan; |
| 133 | Setting<bool> cpuopt_unsafe_fastmem_check; | 134 | Setting<bool> cpuopt_unsafe_fastmem_check; |
| 134 | 135 | ||
| @@ -149,6 +150,7 @@ struct Values { | |||
| 149 | Setting<bool> use_nvdec_emulation; | 150 | Setting<bool> use_nvdec_emulation; |
| 150 | Setting<bool> accelerate_astc; | 151 | Setting<bool> accelerate_astc; |
| 151 | Setting<bool> use_vsync; | 152 | Setting<bool> use_vsync; |
| 153 | Setting<bool> disable_fps_limit; | ||
| 152 | Setting<bool> use_assembly_shaders; | 154 | Setting<bool> use_assembly_shaders; |
| 153 | Setting<bool> use_asynchronous_shaders; | 155 | Setting<bool> use_asynchronous_shaders; |
| 154 | Setting<bool> use_fast_gpu_time; | 156 | Setting<bool> use_fast_gpu_time; |