diff options
| author | bunnei <bunneidev@gmail.com> | 2022-02-26 01:41:08 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-26 01:41:08 -0800 |
| commit | 20e9501b0d0d18b6b215f2f3ed092a3646267bd1 (patch) | |
| tree | cd90b946482d00c5431c13b165f28d803cf54f59 /src/common | |
| parent | 56d9052b73a400a406de062ee797d0a96c18d42c (diff) | |
| parent | 71f62a346d8987302624873b75d1c64903341aa3 (diff) | |
Merge pull request #7932 from bunnei/extended-mem-layout
Add extended memory layout (6GB) support and improve KResourceLimit management
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/settings.cpp | 1 | ||||
| -rw-r--r-- | src/common/settings.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 6964a8273..2810cec15 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp @@ -167,6 +167,7 @@ void RestoreGlobalState(bool is_powered_on) { // Core values.use_multi_core.SetGlobal(true); + values.use_extended_memory_layout.SetGlobal(true); // CPU values.cpu_accuracy.SetGlobal(true); diff --git a/src/common/settings.h b/src/common/settings.h index 9bee6e10f..d06b23a14 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -466,6 +466,7 @@ struct Values { // Core Setting<bool> use_multi_core{true, "use_multi_core"}; + Setting<bool> use_extended_memory_layout{false, "use_extended_memory_layout"}; // Cpu RangedSetting<CPUAccuracy> cpu_accuracy{CPUAccuracy::Auto, CPUAccuracy::Auto, |
