mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-25 12:14:24 -04:00
ipc::Reply -> implement Pointer handling logic
This commit is contained in:
parent
a510a1138d
commit
9d57783aa8
2 changed files with 110 additions and 3 deletions
|
@ -351,7 +351,7 @@ namespace ams::svc::ipc {
|
|||
|
||||
ALWAYS_INLINE ReceiveListEntry(u32 a, u32 b) : data{util::BitPack32{a}, util::BitPack32{b}} { /* ... */ }
|
||||
|
||||
constexpr ALWAYS_INLINE uintptr_t GetAddress() {
|
||||
constexpr ALWAYS_INLINE uintptr_t GetAddress() const {
|
||||
const u64 address = (static_cast<u64>(this->data[1].Get<AddressHigh>()) << AddressLow::Count) | this->data[0].Get<AddressLow>();
|
||||
return address;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue