diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-05-03 16:52:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 16:52:45 +0200 |
commit | 627022bef9065d6c02a9782b0c6336c72f4f1e61 (patch) | |
tree | 286588730ae66197756c34b0ab0cdbebc52e46ef /src/core/hle | |
parent | Merge pull request #9973 from GPUCode/async-present (diff) | |
parent | settings: rename extended memory layout to unsafe, move from general to system (diff) | |
download | yuzu-627022bef9065d6c02a9782b0c6336c72f4f1e61.tar yuzu-627022bef9065d6c02a9782b0c6336c72f4f1e61.tar.gz yuzu-627022bef9065d6c02a9782b0c6336c72f4f1e61.tar.bz2 yuzu-627022bef9065d6c02a9782b0c6336c72f4f1e61.tar.lz yuzu-627022bef9065d6c02a9782b0c6336c72f4f1e61.tar.xz yuzu-627022bef9065d6c02a9782b0c6336c72f4f1e61.tar.zst yuzu-627022bef9065d6c02a9782b0c6336c72f4f1e61.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp b/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp index 36d0d20d2..49bdc671e 100644 --- a/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp +++ b/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp @@ -35,12 +35,13 @@ namespace { using namespace Common::Literals; u32 GetMemorySizeForInit() { - return Settings::values.use_extended_memory_layout ? Smc::MemorySize_8GB : Smc::MemorySize_4GB; + return Settings::values.use_unsafe_extended_memory_layout ? Smc::MemorySize_8GB + : Smc::MemorySize_4GB; } Smc::MemoryArrangement GetMemoryArrangeForInit() { - return Settings::values.use_extended_memory_layout ? Smc::MemoryArrangement_8GB - : Smc::MemoryArrangement_4GB; + return Settings::values.use_unsafe_extended_memory_layout ? Smc::MemoryArrangement_8GB + : Smc::MemoryArrangement_4GB; } } // namespace |