diff options
author | Liam <byteslice@airmail.cc> | 2023-03-07 05:08:53 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-03-13 03:06:53 +0100 |
commit | 57f1d8ef8d8de7d93e46f6ec26811cfe4879249b (patch) | |
tree | 4c7a0c362845ea182130b68920686ad3151088b2 /src/core/hle/kernel/k_transfer_memory.h | |
parent | kernel: conver KScopedLock, KScopedResourceReservation, KSessionRequest, KSharedMemory, KSpinLock (diff) | |
download | yuzu-57f1d8ef8d8de7d93e46f6ec26811cfe4879249b.tar yuzu-57f1d8ef8d8de7d93e46f6ec26811cfe4879249b.tar.gz yuzu-57f1d8ef8d8de7d93e46f6ec26811cfe4879249b.tar.bz2 yuzu-57f1d8ef8d8de7d93e46f6ec26811cfe4879249b.tar.lz yuzu-57f1d8ef8d8de7d93e46f6ec26811cfe4879249b.tar.xz yuzu-57f1d8ef8d8de7d93e46f6ec26811cfe4879249b.tar.zst yuzu-57f1d8ef8d8de7d93e46f6ec26811cfe4879249b.zip |
Diffstat (limited to 'src/core/hle/kernel/k_transfer_memory.h')
-rw-r--r-- | src/core/hle/kernel/k_transfer_memory.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/core/hle/kernel/k_transfer_memory.h b/src/core/hle/kernel/k_transfer_memory.h index 85d508ee7..9a37bd903 100644 --- a/src/core/hle/kernel/k_transfer_memory.h +++ b/src/core/hle/kernel/k_transfer_memory.h @@ -31,33 +31,33 @@ public: void Finalize() override; bool IsInitialized() const override { - return is_initialized; + return m_is_initialized; } uintptr_t GetPostDestroyArgument() const override { - return reinterpret_cast<uintptr_t>(owner); + return reinterpret_cast<uintptr_t>(m_owner); } static void PostDestroy(uintptr_t arg); KProcess* GetOwner() const override { - return owner; + return m_owner; } VAddr GetSourceAddress() const { - return address; + return m_address; } size_t GetSize() const { - return is_initialized ? size : 0; + return m_is_initialized ? m_size : 0; } private: - KProcess* owner{}; - VAddr address{}; - Svc::MemoryPermission owner_perm{}; - size_t size{}; - bool is_initialized{}; + KProcess* m_owner{}; + VAddr m_address{}; + Svc::MemoryPermission m_owner_perm{}; + size_t m_size{}; + bool m_is_initialized{}; }; } // namespace Kernel |