Stratosphere: Skeleton ldr:pm (RegisterTitle/UnregisterTitle are implemented)

This commit is contained in:
Michael Scire
2018-04-18 23:15:17 -06:00
parent 30e401d125
commit af11f9fdec
6 changed files with 106 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ Result ShellService::dispatch(IpcParsedCommand *r, IpcCommand *out_c, u32 *cmd_b
Result rc = 0xF601;
switch ((ShellServiceCmd)cmd_id) {
case Cmd_AddTitleToLaunchQueue:
case Shell_Cmd_AddTitleToLaunchQueue:
/* Validate arguments. */
if (in_rawdata_size < 0x10 || r->HasPid || r->NumHandles != 0 || r->NumBuffers != 0 || r->NumStatics != 1) {
break;
@@ -23,7 +23,7 @@ Result ShellService::dispatch(IpcParsedCommand *r, IpcCommand *out_c, u32 *cmd_b
*out_raw_data_count = 0;
break;
case Cmd_ClearLaunchQueue:
case Shell_Cmd_ClearLaunchQueue:
if (r->HasPid || r->NumHandles != 0 || r->NumBuffers != 0 || r->NumStatics != 0) {
break;
}