瀏覽代碼

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

bunnei 12 年之前
父節點
當前提交
ae93adddd1
共有 1 個文件被更改,包括 4 次插入0 次删除
  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) {