diff options
author | Subv <subv2112@gmail.com> | 2018-01-08 03:25:01 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-11 05:28:02 +0100 |
commit | ab86b80cac890399886efe1ed084e1cb7a3aacb4 (patch) | |
tree | bf2cf1b3fd0fec6675d898682a0b8eb42657abb0 /src | |
parent | svc: Stub ResetSignal and CreateTransferMemory (diff) | |
download | yuzu-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.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; } |