Kaynağa Gözat

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

bunnei 12 yıl önce
ebeveyn
işleme
ae93adddd1
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  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) {