summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-01-08 03:25:01 +0100
committerbunnei <bunneidev@gmail.com>2018-01-11 05:28:02 +0100
commitab86b80cac890399886efe1ed084e1cb7a3aacb4 (patch)
treebf2cf1b3fd0fec6675d898682a0b8eb42657abb0 /src
parentsvc: Stub ResetSignal and CreateTransferMemory (diff)
downloadyuzu-ab86b80cac890399886efe1ed084e1cb7a3aacb4.tar
yuzu-ab86b80cac890399886efe1ed084e1cb7a3aacb4.tar.gz
yuzu-ab86b80cac890399886efe1ed084e1cb7a3aacb4.tar.bz2
yuzu-ab86b80cac890399886efe1ed084e1cb7a3aacb4.tar.lz
yuzu-ab86b80cac890399886efe1ed084e1cb7a3aacb4.tar.xz
yuzu-ab86b80cac890399886efe1ed084e1cb7a3aacb4.tar.zst
yuzu-ab86b80cac890399886efe1ed084e1cb7a3aacb4.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/ipc.h4
-rw-r--r--src/core/hle/kernel/hle_ipc.cpp5
-rw-r--r--src/core/hle/kernel/hle_ipc.h4
3 files changed, 10 insertions, 3 deletions
diff --git a/src/core/hle/ipc.h b/src/core/hle/ipc.h
index c2f481624..ec08be0f4 100644
--- a/src/core/hle/ipc.h
+++ b/src/core/hle/ipc.h
@@ -48,8 +48,8 @@ struct CommandHeader {
enum class BufferDescriptorCFlag : u32 {
Disabled = 0,
- NoDescriptor = 1,
- TwoDesciptors = 2,
+ InlineDescriptor = 1,
+ OneDescriptor = 2,
};
union {
diff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cpp
index 1c6adb4a0..ee47c9654 100644
--- a/src/core/hle/kernel/hle_ipc.cpp
+++ b/src/core/hle/kernel/hle_ipc.cpp
@@ -83,7 +83,10 @@ void HLERequestContext::ParseCommandBuffer(u32_le* src_cmdbuf, bool incoming) {
}
if (command_header->buf_c_descriptor_flags !=
IPC::CommandHeader::BufferDescriptorCFlag::Disabled) {
- UNIMPLEMENTED();
+ if (command_header->buf_c_descriptor_flags !=
+ IPC::CommandHeader::BufferDescriptorCFlag::OneDescriptor) {
+ UNIMPLEMENTED();
+ }
}
// Padding to align to 16 bytes
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h
index 266fcf9c1..8c26285e5 100644
--- a/src/core/hle/kernel/hle_ipc.h
+++ b/src/core/hle/kernel/hle_ipc.h
@@ -139,6 +139,10 @@ public:
return buffer_a_desciptors;
}
+ const std::vector<IPC::BufferDescriptorABW>& BufferDescriptorB() const {
+ return buffer_b_desciptors;
+ }
+
const std::unique_ptr<IPC::DomainMessageHeader>& GetDomainMessageHeader() const {
return domain_message_header;
}