diff options
author | arades79 <scravers@protonmail.com> | 2023-02-11 20:27:14 +0100 |
---|---|---|
committer | arades79 <scravers@protonmail.com> | 2023-02-14 18:35:39 +0100 |
commit | 26e44a3be4d5d7299c5b38e5d521957fd856e134 (patch) | |
tree | e6a2dd70150c5bd8f640951f54b8ff918cc25929 /src/core/hle/kernel/kernel.cpp | |
parent | don't use static inside constexpr function (diff) | |
download | yuzu-26e44a3be4d5d7299c5b38e5d521957fd856e134.tar yuzu-26e44a3be4d5d7299c5b38e5d521957fd856e134.tar.gz yuzu-26e44a3be4d5d7299c5b38e5d521957fd856e134.tar.bz2 yuzu-26e44a3be4d5d7299c5b38e5d521957fd856e134.tar.lz yuzu-26e44a3be4d5d7299c5b38e5d521957fd856e134.tar.xz yuzu-26e44a3be4d5d7299c5b38e5d521957fd856e134.tar.zst yuzu-26e44a3be4d5d7299c5b38e5d521957fd856e134.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/kernel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index 563e2681b..e9270c6f3 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp @@ -492,7 +492,8 @@ struct KernelCore::Impl { constexpr static size_t CodeRegionAlign = PageSize; constexpr static VAddr code_region_start = Common::AlignDown(code_start_virt_addr, CodeRegionAlign); - constexpr static VAddr code_region_end = Common::AlignUp(code_end_virt_addr, CodeRegionAlign); + constexpr static VAddr code_region_end = + Common::AlignUp(code_end_virt_addr, CodeRegionAlign); constexpr static size_t code_region_size = code_region_end - code_region_start; ASSERT(memory_layout->GetVirtualMemoryRegionTree().Insert( code_region_start, code_region_size, KMemoryRegionType_KernelCode)); |