service: Save report on unimplemented function call
This commit is contained in:
		
							parent
							
								
									24392c8ec8
								
							
						
					
					
						commit
						fc309bf893
					
				@ -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));
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user