mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 21:06:58 -05:00
k_system_control: Always return some memory size
This commit is contained in:
parent
3211623192
commit
8e91554e11
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue