Quellcode durchsuchen

Merge pull request #663 from Subv/bsd

Services/BSD: Corrected the return for StartMonitoring according to SwIPC
bunnei vor 8 Jahren
Ursprung
Commit
c324a378ac
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  1. 1 2
      src/core/hle/service/sockets/bsd.cpp

+ 1 - 2
src/core/hle/service/sockets/bsd.cpp

@@ -19,10 +19,9 @@ void BSD::RegisterClient(Kernel::HLERequestContext& ctx) {
 void BSD::StartMonitoring(Kernel::HLERequestContext& ctx) {
 void BSD::StartMonitoring(Kernel::HLERequestContext& ctx) {
     LOG_WARNING(Service, "(STUBBED) called");
     LOG_WARNING(Service, "(STUBBED) called");
 
 
-    IPC::ResponseBuilder rb{ctx, 3};
+    IPC::ResponseBuilder rb{ctx, 2};
 
 
     rb.Push(RESULT_SUCCESS);
     rb.Push(RESULT_SUCCESS);
-    rb.Push<u32>(0); // bsd errno
 }
 }
 
 
 void BSD::Socket(Kernel::HLERequestContext& ctx) {
 void BSD::Socket(Kernel::HLERequestContext& ctx) {