forked from ShuriZma/suyu
1
0
Fork 0

service: Save report on unimplemented function call

This commit is contained in:
Zach Hilman 2019-05-17 21:48:08 -04:00
parent 24392c8ec8
commit fc309bf893
1 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,7 @@
#include "core/hle/service/usb/usb.h" #include "core/hle/service/usb/usb.h"
#include "core/hle/service/vi/vi.h" #include "core/hle/service/vi/vi.h"
#include "core/hle/service/wlan/wlan.h" #include "core/hle/service/wlan/wlan.h"
#include "core/reporter.h"
namespace Service { namespace Service {
@ -148,6 +149,8 @@ void ServiceFrameworkBase::ReportUnimplementedFunction(Kernel::HLERequestContext
} }
buf.push_back('}'); buf.push_back('}');
Core::System::GetInstance().GetReporter().SaveUnimplementedFunctionReport(
ctx, ctx.GetCommand(), function_name, service_name);
UNIMPLEMENTED_MSG("Unknown / unimplemented {}", fmt::to_string(buf)); UNIMPLEMENTED_MSG("Unknown / unimplemented {}", fmt::to_string(buf));
} }