Browse Source

GSP: Updated TriggerCmdReqQueue to return success code.

bunnei 11 năm trước cách đây
mục cha
commit
e90b37b935
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/core/hle/service/gsp_gpu.cpp

+ 3 - 0
src/core/hle/service/gsp_gpu.cpp

@@ -323,6 +323,9 @@ static void TriggerCmdReqQueue(Service::Interface* self) {
             command_buffer->number_commands = command_buffer->number_commands - 1;
         }
     }
+
+    u32* cmd_buff = Service::GetCommandBuffer();
+    cmd_buff[1] = 0; // No error
 }
 
 const Interface::FunctionInfo FunctionTable[] = {