diff options
author | bunnei <bunneidev@gmail.com> | 2021-05-05 07:14:06 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-05-06 01:40:55 +0200 |
commit | d57b12193b12f7b6e3565d29f7bc3d7584632768 (patch) | |
tree | 1980a34681a0467b18a83d0e52ffc91f34b2b088 /src/core/hle/kernel/k_page_table.cpp | |
parent | hle: kernel: Move slab resource counts to Kernel. (diff) | |
download | yuzu-d57b12193b12f7b6e3565d29f7bc3d7584632768.tar yuzu-d57b12193b12f7b6e3565d29f7bc3d7584632768.tar.gz yuzu-d57b12193b12f7b6e3565d29f7bc3d7584632768.tar.bz2 yuzu-d57b12193b12f7b6e3565d29f7bc3d7584632768.tar.lz yuzu-d57b12193b12f7b6e3565d29f7bc3d7584632768.tar.xz yuzu-d57b12193b12f7b6e3565d29f7bc3d7584632768.tar.zst yuzu-d57b12193b12f7b6e3565d29f7bc3d7584632768.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_page_table.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_page_table.cpp b/src/core/hle/kernel/k_page_table.cpp index 6c5d7d602..d4ce98ee3 100644 --- a/src/core/hle/kernel/k_page_table.cpp +++ b/src/core/hle/kernel/k_page_table.cpp @@ -1106,7 +1106,7 @@ constexpr std::size_t KPageTable::GetRegionSize(KMemoryState state) const { } } -constexpr bool KPageTable::CanContain(VAddr addr, std::size_t size, KMemoryState state) const { +bool KPageTable::CanContain(VAddr addr, std::size_t size, KMemoryState state) const { const VAddr end{addr + size}; const VAddr last{end - 1}; const VAddr region_start{GetRegionAddress(state)}; |