summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-24 00:58:25 +0100
committerbunnei <bunneidev@gmail.com>2018-01-25 04:19:01 +0100
commitf0035420d729afec924390dc58760082581c380b (patch)
tree472a9b656a2bbf1e75769ed338fafe64536d4285 /src/core/hle/kernel
parenthle: Integrate Domain handling into ServerSession. (diff)
downloadyuzu-f0035420d729afec924390dc58760082581c380b.tar
yuzu-f0035420d729afec924390dc58760082581c380b.tar.gz
yuzu-f0035420d729afec924390dc58760082581c380b.tar.bz2
yuzu-f0035420d729afec924390dc58760082581c380b.tar.lz
yuzu-f0035420d729afec924390dc58760082581c380b.tar.xz
yuzu-f0035420d729afec924390dc58760082581c380b.tar.zst
yuzu-f0035420d729afec924390dc58760082581c380b.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/hle_ipc.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h
index 71e5609b8..da8335b35 100644
--- a/src/core/hle/kernel/hle_ipc.h
+++ b/src/core/hle/kernel/hle_ipc.h
@@ -175,6 +175,18 @@ public:
domain_objects.clear();
}
+ size_t NumMoveObjects() const {
+ return move_objects.size();
+ }
+
+ size_t NumCopyObjects() const {
+ return copy_objects.size();
+ }
+
+ size_t NumDomainObjects() const {
+ return domain_objects.size();
+ }
+
private:
std::array<u32, IPC::COMMAND_BUFFER_LENGTH> cmd_buf;
SharedPtr<Kernel::ServerSession> server_session;
@@ -196,7 +208,6 @@ private:
unsigned data_payload_offset{};
unsigned buffer_c_offset{};
u32_le command{};
- bool is_domain{};
};
} // namespace Kernel