summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-01-07 03:14:14 +0100
committerbunnei <bunneidev@gmail.com>2018-01-07 23:11:43 +0100
commit226786f0b05405b4c0287786f106ae2e08feefec (patch)
treef4cb770adc575fa749b98e60f8f5fa0012cdc4c6 /src/core/hle/kernel
parentsvc: Implement svcSignalProcessWideKey. (diff)
downloadyuzu-226786f0b05405b4c0287786f106ae2e08feefec.tar
yuzu-226786f0b05405b4c0287786f106ae2e08feefec.tar.gz
yuzu-226786f0b05405b4c0287786f106ae2e08feefec.tar.bz2
yuzu-226786f0b05405b4c0287786f106ae2e08feefec.tar.lz
yuzu-226786f0b05405b4c0287786f106ae2e08feefec.tar.xz
yuzu-226786f0b05405b4c0287786f106ae2e08feefec.tar.zst
yuzu-226786f0b05405b4c0287786f106ae2e08feefec.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/hle_ipc.cpp2
-rw-r--r--src/core/hle/kernel/hle_ipc.h8
2 files changed, 7 insertions, 3 deletions
diff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cpp
index 85dd80159..e784d59cc 100644
--- a/src/core/hle/kernel/hle_ipc.cpp
+++ b/src/core/hle/kernel/hle_ipc.cpp
@@ -95,7 +95,7 @@ void HLERequestContext::ParseCommandBuffer(u32_le* src_cmdbuf, bool incoming) {
// If this is an incoming message, only CommandType "Request" has a domain header
// All outgoing domain messages have the domain header
domain_message_header =
- std::make_unique<IPC::DomainMessageHeader>(rp.PopRaw<IPC::DomainMessageHeader>());
+ std::make_unique<IPC::DomainRequestMessageHeader>(rp.PopRaw<IPC::DomainRequestMessageHeader>());
}
data_payload_header =
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h
index 7de13b36b..b5649931d 100644
--- a/src/core/hle/kernel/hle_ipc.h
+++ b/src/core/hle/kernel/hle_ipc.h
@@ -154,7 +154,11 @@ public:
return buffer_x_desciptors;
}
- const std::unique_ptr<IPC::DomainMessageHeader>& GetDomainMessageHeader() const {
+ const std::vector<IPC::BufferDescriptorABW>& BufferDescriptorA() const {
+ return buffer_a_desciptors;
+ }
+
+ const std::unique_ptr<IPC::DomainRequestMessageHeader>& GetDomainMessageHeader() const {
return domain_message_header;
}
@@ -172,7 +176,7 @@ private:
std::unique_ptr<IPC::CommandHeader> command_header;
std::unique_ptr<IPC::HandleDescriptorHeader> handle_descriptor_header;
std::unique_ptr<IPC::DataPayloadHeader> data_payload_header;
- std::unique_ptr<IPC::DomainMessageHeader> domain_message_header;
+ std::unique_ptr<IPC::DomainRequestMessageHeader> domain_message_header;
std::vector<IPC::BufferDescriptorX> buffer_x_desciptors;
std::vector<IPC::BufferDescriptorABW> buffer_a_desciptors;
std::vector<IPC::BufferDescriptorABW> buffer_b_desciptors;