diff options
author | bunnei <bunneidev@gmail.com> | 2021-02-12 03:55:22 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-02-19 01:16:24 +0100 |
commit | f7a008d77f8aa47baf4c874c508b38af4965a145 (patch) | |
tree | 3a11b865d5f49be8fa0588ee5187f1b6c12022fb /src/core/hle/service/ldr | |
parent | hle: kernel: memory: PageHeap: Migrate to KPageBitmap class. (diff) | |
download | yuzu-f7a008d77f8aa47baf4c874c508b38af4965a145.tar yuzu-f7a008d77f8aa47baf4c874c508b38af4965a145.tar.gz yuzu-f7a008d77f8aa47baf4c874c508b38af4965a145.tar.bz2 yuzu-f7a008d77f8aa47baf4c874c508b38af4965a145.tar.lz yuzu-f7a008d77f8aa47baf4c874c508b38af4965a145.tar.xz yuzu-f7a008d77f8aa47baf4c874c508b38af4965a145.tar.zst yuzu-f7a008d77f8aa47baf4c874c508b38af4965a145.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/ldr/ldr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/ldr/ldr.cpp b/src/core/hle/service/ldr/ldr.cpp index c724d2554..d3cd25ff8 100644 --- a/src/core/hle/service/ldr/ldr.cpp +++ b/src/core/hle/service/ldr/ldr.cpp @@ -11,8 +11,8 @@ #include "common/scope_exit.h" #include "core/core.h" #include "core/hle/ipc_helpers.h" +#include "core/hle/kernel/k_system_control.h" #include "core/hle/kernel/memory/page_table.h" -#include "core/hle/kernel/memory/system_control.h" #include "core/hle/kernel/process.h" #include "core/hle/kernel/svc_results.h" #include "core/hle/service/ldr/ldr.h" @@ -315,7 +315,7 @@ public: Kernel::Memory::PageBits}; do { addr = page_table.GetAliasCodeRegionStart() + - (Kernel::Memory::SystemControl::GenerateRandomRange(0, end_pages) + (Kernel::KSystemControl::GenerateRandomRange(0, end_pages) << Kernel::Memory::PageBits); } while (!page_table.IsInsideAddressSpace(addr, size) || page_table.IsInsideHeapRegion(addr, size) || |