aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_page_table.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-04 22:14:06 -0700
committerbunnei <bunneidev@gmail.com>2021-05-05 16:40:55 -0700
commitafdbfb884cc6d1f2109ac81f4b8bc40961c8fab7 (patch)
tree1980a34681a0467b18a83d0e52ffc91f34b2b088 /src/core/hle/kernel/k_page_table.cpp
parent14cb6883db93ffa865a367116a203da83aa107a4 (diff)
hle: kernel: KPageTable: CanContain should not be constexpr.
Diffstat (limited to 'src/core/hle/kernel/k_page_table.cpp')
-rw-r--r--src/core/hle/kernel/k_page_table.cpp2
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 6c5d7d6028..d4ce98ee3b 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)};