2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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: case Settings::MemoryLayout::Memory_8Gb:
return Smc::MemorySize_8GB; return Smc::MemorySize_8GB;
} }
return Smc::MemorySize_4GB;
} }
Smc::MemoryArrangement GetMemoryArrangeForInit() { Smc::MemoryArrangement GetMemoryArrangeForInit() {
@ -54,6 +55,7 @@ Smc::MemoryArrangement GetMemoryArrangeForInit() {
case Settings::MemoryLayout::Memory_8Gb: case Settings::MemoryLayout::Memory_8Gb:
return Smc::MemoryArrangement_8GB; return Smc::MemoryArrangement_8GB;
} }
return Smc::MemoryArrangement_4GB;
} }
} // namespace } // namespace