diff options
author | GPUCode <geoster3d@gmail.com> | 2023-11-20 15:33:44 +0200 |
---|---|---|
committer | t895 <clombardo169@gmail.com> | 2023-11-25 00:47:36 -0500 |
commit | c37b5f431fcbffac173fb70ef0a0d7fb6cde7f2d (patch) | |
tree | 260a92916cb7b19a5369d29167632d46db0637cb /src/common/settings.cpp | |
parent | 263b7a44f9ec1ac78fdb1c14a84c652c1bd63905 (diff) |
common: Enforce fastmem for nce usage
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r-- | src/common/settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 90e7475d7..16c2feeab 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp @@ -160,7 +160,7 @@ static bool is_nce_enabled = false; void SetNceEnabled(bool is_39bit) { const bool is_nce_selected = values.cpu_backend.GetValue() == CpuBackend::Nce; - is_nce_enabled = is_nce_selected && is_39bit; + is_nce_enabled = IsFastmemEnabled() && is_nce_selected && is_39bit; if (is_nce_selected && !is_nce_enabled) { LOG_WARNING( Common, |