diff options
-rw-r--r-- | src/core/hle/ipc.h | 4 | ||||
-rw-r--r-- | src/core/hle/kernel/hle_ipc.cpp | 5 | ||||
-rw-r--r-- | src/core/hle/kernel/hle_ipc.h | 4 |
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; } |