Browse Source

srv::Initialize: Return "success" status code.

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

+ 4 - 0
src/core/hle/service/srv.cpp

@@ -16,6 +16,10 @@ Handle g_event_handle = 0;
 
 void Initialize(Service::Interface* self) {
     DEBUG_LOG(OSHLE, "called");
+
+    u32* cmd_buff = Service::GetCommandBuffer();
+
+    cmd_buff[1] = 0; // No error
 }
 
 void GetProcSemaphore(Service::Interface* self) {