mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-17 17:56:36 +00:00
kernel: switch extended memory setting to 8GB arrangement
This commit is contained in:
parent
25c4ae6e11
commit
abb785f269
@ -35,11 +35,11 @@ namespace {
|
|||||||
using namespace Common::Literals;
|
using namespace Common::Literals;
|
||||||
|
|
||||||
u32 GetMemorySizeForInit() {
|
u32 GetMemorySizeForInit() {
|
||||||
return Settings::values.use_extended_memory_layout ? Smc::MemorySize_6GB : Smc::MemorySize_4GB;
|
return Settings::values.use_extended_memory_layout ? Smc::MemorySize_8GB : Smc::MemorySize_4GB;
|
||||||
}
|
}
|
||||||
|
|
||||||
Smc::MemoryArrangement GetMemoryArrangeForInit() {
|
Smc::MemoryArrangement GetMemoryArrangeForInit() {
|
||||||
return Settings::values.use_extended_memory_layout ? Smc::MemoryArrangement_6GB
|
return Settings::values.use_extended_memory_layout ? Smc::MemoryArrangement_8GB
|
||||||
: Smc::MemoryArrangement_4GB;
|
: Smc::MemoryArrangement_4GB;
|
||||||
}
|
}
|
||||||
} // namespace
|
} // namespace
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="use_extended_memory_layout">
|
<widget class="QCheckBox" name="use_extended_memory_layout">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Extended memory layout (6GB DRAM)</string>
|
<string>Extended memory layout (8GB DRAM)</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -163,7 +163,7 @@ keyboard_enabled =
|
|||||||
# 0: Disabled, 1 (default): Enabled
|
# 0: Disabled, 1 (default): Enabled
|
||||||
use_multi_core =
|
use_multi_core =
|
||||||
|
|
||||||
# Enable extended guest system memory layout (6GB DRAM)
|
# Enable extended guest system memory layout (8GB DRAM)
|
||||||
# 0 (default): Disabled, 1: Enabled
|
# 0 (default): Disabled, 1: Enabled
|
||||||
use_extended_memory_layout =
|
use_extended_memory_layout =
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user