mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	IPC: Corrected some definitions for the buffer C descriptor flags.
This commit is contained in:
		
							parent
							
								
									ba02f0deef
								
							
						
					
					
						commit
						ab86b80cac
					
				@ -48,8 +48,8 @@ struct CommandHeader {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    enum class BufferDescriptorCFlag : u32 {
 | 
					    enum class BufferDescriptorCFlag : u32 {
 | 
				
			||||||
        Disabled = 0,
 | 
					        Disabled = 0,
 | 
				
			||||||
        NoDescriptor = 1,
 | 
					        InlineDescriptor = 1,
 | 
				
			||||||
        TwoDesciptors = 2,
 | 
					        OneDescriptor = 2,
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    union {
 | 
					    union {
 | 
				
			||||||
 | 
				
			|||||||
@ -83,7 +83,10 @@ void HLERequestContext::ParseCommandBuffer(u32_le* src_cmdbuf, bool incoming) {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    if (command_header->buf_c_descriptor_flags !=
 | 
					    if (command_header->buf_c_descriptor_flags !=
 | 
				
			||||||
        IPC::CommandHeader::BufferDescriptorCFlag::Disabled) {
 | 
					        IPC::CommandHeader::BufferDescriptorCFlag::Disabled) {
 | 
				
			||||||
        UNIMPLEMENTED();
 | 
					        if (command_header->buf_c_descriptor_flags !=
 | 
				
			||||||
 | 
					            IPC::CommandHeader::BufferDescriptorCFlag::OneDescriptor) {
 | 
				
			||||||
 | 
					            UNIMPLEMENTED();
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Padding to align to 16 bytes
 | 
					    // Padding to align to 16 bytes
 | 
				
			||||||
 | 
				
			|||||||
@ -139,6 +139,10 @@ public:
 | 
				
			|||||||
        return buffer_a_desciptors;
 | 
					        return buffer_a_desciptors;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    const std::vector<IPC::BufferDescriptorABW>& BufferDescriptorB() const {
 | 
				
			||||||
 | 
					        return buffer_b_desciptors;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    const std::unique_ptr<IPC::DomainMessageHeader>& GetDomainMessageHeader() const {
 | 
					    const std::unique_ptr<IPC::DomainMessageHeader>& GetDomainMessageHeader() const {
 | 
				
			||||||
        return domain_message_header;
 | 
					        return domain_message_header;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user