diff options
Diffstat (limited to 'src/common/settings.cpp')
| -rw-r--r-- | src/common/settings.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 19dfe08da..167e984a6 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp | |||
| @@ -156,8 +156,14 @@ bool IsFastmemEnabled() { | |||
| 156 | return true; | 156 | return true; |
| 157 | } | 157 | } |
| 158 | 158 | ||
| 159 | bool IsNceEnabled(bool is_64bit) { | 159 | static bool is_nce_enabled = false; |
| 160 | return values.cpu_backend.GetValue() == CpuBackend::Nce && is_64bit; | 160 | |
| 161 | void SetNceEnabled(bool is_64bit) { | ||
| 162 | is_nce_enabled = values.cpu_backend.GetValue() == CpuBackend::Nce && is_64bit; | ||
| 163 | } | ||
| 164 | |||
| 165 | bool IsNceEnabled() { | ||
| 166 | return is_nce_enabled; | ||
| 161 | } | 167 | } |
| 162 | 168 | ||
| 163 | bool IsDockedMode() { | 169 | bool IsDockedMode() { |