diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-03-23 10:00:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-23 10:00:19 -0400 |
| commit | c41a4baf06efe935f08331bc6f8ff6d80dc088f5 (patch) | |
| tree | a6580d41bd440b240b2f60db38fdeec60fca2eff /src/core/hle/kernel/k_page_group.h | |
| parent | 6adaa0d5e27ee426a53a16a66d587d6929602bee (diff) | |
| parent | fb49ec19c1fb6030fcc960077e82c998290d0ab8 (diff) | |
Merge pull request #9964 from liamwhite/typed-address
kernel: use KTypedAddress for addresses
Diffstat (limited to 'src/core/hle/kernel/k_page_group.h')
| -rw-r--r-- | src/core/hle/kernel/k_page_group.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_page_group.h b/src/core/hle/kernel/k_page_group.h index c07f17663..b32909f05 100644 --- a/src/core/hle/kernel/k_page_group.h +++ b/src/core/hle/kernel/k_page_group.h @@ -22,7 +22,7 @@ public: constexpr explicit KBlockInfo() : m_next(nullptr) {} constexpr void Initialize(KPhysicalAddress addr, size_t np) { - ASSERT(Common::IsAligned(addr, PageSize)); + ASSERT(Common::IsAligned(GetInteger(addr), PageSize)); ASSERT(static_cast<u32>(np) == np); m_page_index = static_cast<u32>(addr / PageSize); |
