ProcessManager: Fully implement pm:dmnt. Remove debug logging.
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
#include <switch.h>
|
||||
#include "pm_registration.hpp"
|
||||
#include "pm_info.hpp"
|
||||
#include "pm_debug.hpp"
|
||||
|
||||
Result InformationService::dispatch(IpcParsedCommand &r, IpcCommand &out_c, u64 cmd_id, u8 *pointer_buffer, size_t pointer_buffer_size) {
|
||||
Result rc = 0xF601;
|
||||
LogForService("INFOSRV\x00", 8);
|
||||
LogForService(&cmd_id, 8);
|
||||
LogForService(armGetTls(), 0x100);
|
||||
|
||||
switch ((InformationCmd)cmd_id) {
|
||||
case Information_Cmd_GetTitleId:
|
||||
rc = WrapIpcCommandImpl<&InformationService::get_title_id>(this, r, out_c, pointer_buffer, pointer_buffer_size);
|
||||
@@ -15,10 +12,7 @@ Result InformationService::dispatch(IpcParsedCommand &r, IpcCommand &out_c, u64
|
||||
default:
|
||||
break;
|
||||
}
|
||||
LogForService(armGetTls(), 0x100);
|
||||
if (R_FAILED(rc)) {
|
||||
Reboot();
|
||||
}
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user