summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-18 23:11:23 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 16:56:55 +0200
commit8e91554e116b46f1c194012a2b21a15542743827 (patch)
tree20803f67b0907a7aefd7800e2969b97a2c611553 /src
parentcommon: Move global configuration state modifiers back to settings (diff)
downloadyuzu-8e91554e116b46f1c194012a2b21a15542743827.tar
yuzu-8e91554e116b46f1c194012a2b21a15542743827.tar.gz
yuzu-8e91554e116b46f1c194012a2b21a15542743827.tar.bz2
yuzu-8e91554e116b46f1c194012a2b21a15542743827.tar.lz
yuzu-8e91554e116b46f1c194012a2b21a15542743827.tar.xz
yuzu-8e91554e116b46f1c194012a2b21a15542743827.tar.zst
yuzu-8e91554e116b46f1c194012a2b21a15542743827.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp2
1 files changed, 2 insertions, 0 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 7320b87b9..4cfdf4558 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
@@ -43,6 +43,7 @@ u32 GetMemorySizeForInit() {
case Settings::MemoryLayout::Memory_8Gb:
return Smc::MemorySize_8GB;
}
+ return Smc::MemorySize_4GB;
}
Smc::MemoryArrangement GetMemoryArrangeForInit() {
@@ -54,6 +55,7 @@ Smc::MemoryArrangement GetMemoryArrangeForInit() {
case Settings::MemoryLayout::Memory_8Gb:
return Smc::MemoryArrangement_8GB;
}
+ return Smc::MemoryArrangement_4GB;
}
} // namespace