summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/board/nintendo/nx
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-04-30 20:19:11 +0200
committerLiam <byteslice@airmail.cc>2023-04-30 20:24:22 +0200
commit2cd9e1ecb6b67286ae89ef5758a389b58673c378 (patch)
tree9c5af5060d38d4b7df5d95c7ef4a88850e1fd29a /src/core/hle/kernel/board/nintendo/nx
parentMerge pull request #10110 from Morph1984/intel-disable-compute (diff)
downloadyuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.tar
yuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.tar.gz
yuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.tar.bz2
yuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.tar.lz
yuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.tar.xz
yuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.tar.zst
yuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp b/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp
index 36d0d20d2..49bdc671e 100644
--- a/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp
+++ b/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp
@@ -35,12 +35,13 @@ namespace {
using namespace Common::Literals;
u32 GetMemorySizeForInit() {
- return Settings::values.use_extended_memory_layout ? Smc::MemorySize_8GB : Smc::MemorySize_4GB;
+ return Settings::values.use_unsafe_extended_memory_layout ? Smc::MemorySize_8GB
+ : Smc::MemorySize_4GB;
}
Smc::MemoryArrangement GetMemoryArrangeForInit() {
- return Settings::values.use_extended_memory_layout ? Smc::MemoryArrangement_8GB
- : Smc::MemoryArrangement_4GB;
+ return Settings::values.use_unsafe_extended_memory_layout ? Smc::MemoryArrangement_8GB
+ : Smc::MemoryArrangement_4GB;
}
} // namespace