summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Liam2023-04-08 17:47:26 -0400
committerGravatar Liam2023-04-08 17:47:26 -0400
commitabb785f26958e069200ab47c05f4a3e59bbae2bc (patch)
tree334082f3fd8c019dbb3c9431c72ab7244704c3ef /src/core
parentMerge pull request #10022 from liamwhite/gcc-13 (diff)
downloadyuzu-abb785f26958e069200ab47c05f4a3e59bbae2bc.tar.gz
yuzu-abb785f26958e069200ab47c05f4a3e59bbae2bc.tar.xz
yuzu-abb785f26958e069200ab47c05f4a3e59bbae2bc.zip
kernel: switch extended memory setting to 8GB arrangement
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp4
1 files changed, 2 insertions, 2 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 42d1fcc28..2fc12de2a 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,11 +35,11 @@ namespace {
35using namespace Common::Literals; 35using namespace Common::Literals;
36 36
37u32 GetMemorySizeForInit() { 37u32 GetMemorySizeForInit() {
38 return Settings::values.use_extended_memory_layout ? Smc::MemorySize_6GB : Smc::MemorySize_4GB; 38 return Settings::values.use_extended_memory_layout ? Smc::MemorySize_8GB : Smc::MemorySize_4GB;
39} 39}
40 40
41Smc::MemoryArrangement GetMemoryArrangeForInit() { 41Smc::MemoryArrangement GetMemoryArrangeForInit() {
42 return Settings::values.use_extended_memory_layout ? Smc::MemoryArrangement_6GB 42 return Settings::values.use_extended_memory_layout ? Smc::MemoryArrangement_8GB
43 : Smc::MemoryArrangement_4GB; 43 : Smc::MemoryArrangement_4GB;
44} 44}
45} // namespace 45} // namespace