summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-05-03 16:52:45 +0200
committerGitHub <noreply@github.com>2023-05-03 16:52:45 +0200
commit627022bef9065d6c02a9782b0c6336c72f4f1e61 (patch)
tree286588730ae66197756c34b0ab0cdbebc52e46ef /src/core/hle/kernel
parentMerge pull request #9973 from GPUCode/async-present (diff)
parentsettings: rename extended memory layout to unsafe, move from general to system (diff)
downloadyuzu-627022bef9065d6c02a9782b0c6336c72f4f1e61.tar
yuzu-627022bef9065d6c02a9782b0c6336c72f4f1e61.tar.gz
yuzu-627022bef9065d6c02a9782b0c6336c72f4f1e61.tar.bz2
yuzu-627022bef9065d6c02a9782b0c6336c72f4f1e61.tar.lz
yuzu-627022bef9065d6c02a9782b0c6336c72f4f1e61.tar.xz
yuzu-627022bef9065d6c02a9782b0c6336c72f4f1e61.tar.zst
yuzu-627022bef9065d6c02a9782b0c6336c72f4f1e61.zip
Diffstat (limited to 'src/core/hle/kernel')
-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