Sfoglia il codice sorgente

hle/service: Replace log + UNIMPLEMENTED with UNIMPLEMENTED_MSG

Combines the two into one, shortening the amount of code here.
Lioncash 7 anni fa
parent
commit
24f051d723
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      src/core/hle/service/service.cpp

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

@@ -144,8 +144,7 @@ void ServiceFrameworkBase::ReportUnimplementedFunction(Kernel::HLERequestContext
     }
     }
     buf.push_back('}');
     buf.push_back('}');
 
 
-    LOG_ERROR(Service, "unknown / unimplemented {}", fmt::to_string(buf));
-    UNIMPLEMENTED();
+    UNIMPLEMENTED_MSG("Unknown / unimplemented {}", fmt::to_string(buf));
 }
 }
 
 
 void ServiceFrameworkBase::InvokeRequest(Kernel::HLERequestContext& ctx) {
 void ServiceFrameworkBase::InvokeRequest(Kernel::HLERequestContext& ctx) {