aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-05-17 21:48:08 -0400
committerZach Hilman <zachhilman@gmail.com>2019-05-25 16:09:20 -0400
commitfc309bf893311b55bcff747a3ef3fe0afd0c7b96 (patch)
tree91c604d4f8a6b63cddae842a7b8b22345ba103c1 /src
parent24392c8ec83b1b3f0b90bc80f37466c9a853f63d (diff)
service: Save report on unimplemented function call
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/service.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index 00806b0ed0..fc29bb5da0 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@ -68,6 +68,7 @@
#include "core/hle/service/usb/usb.h"
#include "core/hle/service/vi/vi.h"
#include "core/hle/service/wlan/wlan.h"
+#include "core/reporter.h"
namespace Service {
@@ -148,6 +149,8 @@ void ServiceFrameworkBase::ReportUnimplementedFunction(Kernel::HLERequestContext
}
buf.push_back('}');
+ Core::System::GetInstance().GetReporter().SaveUnimplementedFunctionReport(
+ ctx, ctx.GetCommand(), function_name, service_name);
UNIMPLEMENTED_MSG("Unknown / unimplemented {}", fmt::to_string(buf));
}