mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
hle: kernel: KPageTable: CanContain should not be constexpr.
This commit is contained in:
parent
b805ee653f
commit
d57b12193b
2 changed files with 2 additions and 2 deletions
|
@ -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 end{addr + size};
|
||||||
const VAddr last{end - 1};
|
const VAddr last{end - 1};
|
||||||
const VAddr region_start{GetRegionAddress(state)};
|
const VAddr region_start{GetRegionAddress(state)};
|
||||||
|
|
|
@ -64,7 +64,7 @@ public:
|
||||||
return page_table_impl;
|
return page_table_impl;
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr bool CanContain(VAddr addr, std::size_t size, KMemoryState state) const;
|
bool CanContain(VAddr addr, std::size_t size, KMemoryState state) const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
enum class OperationType : u32 {
|
enum class OperationType : u32 {
|
||||||
|
|
Loading…
Reference in a new issue