aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/kernel/board
diff options
context:
space:
mode:
authorLiam <[email protected]>2023-04-30 14:19:11 -0400
committerLiam <[email protected]>2023-04-30 14:24:22 -0400
commit2cd9e1ecb6b67286ae89ef5758a389b58673c378 (patch)
tree9c5af5060d38d4b7df5d95c7ef4a88850e1fd29a /src/core/hle/kernel/board
parent689f9a75a7809e21c160b97283db72180feba524 (diff)
downloadyuzu-mainline-2cd9e1ecb6b67286ae89ef5758a389b58673c378.tar.gz
yuzu-mainline-2cd9e1ecb6b67286ae89ef5758a389b58673c378.zip
settings: rename extended memory layout to unsafe, move from general to system
Diffstat (limited to 'src/core/hle/kernel/board')
-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