mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-15 00:18:20 -05:00
ipc: Implement domain command CloseVirtualHandle.
This commit is contained in:
@ -143,6 +143,11 @@ struct DataPayloadHeader {
|
||||
static_assert(sizeof(DataPayloadHeader) == 8, "DataPayloadRequest size is incorrect");
|
||||
|
||||
struct DomainMessageHeader {
|
||||
enum class CommandType : u32_le {
|
||||
SendMessage = 1,
|
||||
CloseVirtualHandle = 2,
|
||||
};
|
||||
|
||||
union {
|
||||
// Used when responding to an IPC request, Server -> Client.
|
||||
struct {
|
||||
@ -153,7 +158,7 @@ struct DomainMessageHeader {
|
||||
// Used when performing an IPC request, Client -> Server.
|
||||
struct {
|
||||
union {
|
||||
BitField<0, 8, u32_le> command;
|
||||
BitField<0, 8, CommandType> command;
|
||||
BitField<16, 16, u32_le> size;
|
||||
};
|
||||
u32_le object_id;
|
||||
|
Reference in New Issue
Block a user