k_system_control: Always return some memory size

This commit is contained in:
lat9nq 2023-07-18 17:11:23 -04:00
parent 3211623192
commit 8e91554e11

View File

@ -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