mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-23 23:25:43 +01:00
Merge pull request #661 from ogniK5377/assert-nit
No need to use ASSERT_MSG with an empty assert message
This commit is contained in:
commit
ad0166a982
@ -214,8 +214,8 @@ ResultCode HLERequestContext::WriteToOutgoingCommandBuffer(Thread& thread) {
|
|||||||
(sizeof(IPC::CommandHeader) + sizeof(IPC::HandleDescriptorHeader)) / sizeof(u32);
|
(sizeof(IPC::CommandHeader) + sizeof(IPC::HandleDescriptorHeader)) / sizeof(u32);
|
||||||
ASSERT_MSG(!handle_descriptor_header->send_current_pid, "Sending PID is not implemented");
|
ASSERT_MSG(!handle_descriptor_header->send_current_pid, "Sending PID is not implemented");
|
||||||
|
|
||||||
ASSERT_MSG(copy_objects.size() == handle_descriptor_header->num_handles_to_copy);
|
ASSERT(copy_objects.size() == handle_descriptor_header->num_handles_to_copy);
|
||||||
ASSERT_MSG(move_objects.size() == handle_descriptor_header->num_handles_to_move);
|
ASSERT(move_objects.size() == handle_descriptor_header->num_handles_to_move);
|
||||||
|
|
||||||
// We don't make a distinction between copy and move handles when translating since HLE
|
// We don't make a distinction between copy and move handles when translating since HLE
|
||||||
// services don't deal with handles directly. However, the guest applications might check
|
// services don't deal with handles directly. However, the guest applications might check
|
||||||
|
Loading…
Reference in New Issue
Block a user