Failed attempt w/ next app
This commit is contained in:
@@ -516,9 +516,9 @@ Result autolaunchSysmodules(void)
|
||||
}
|
||||
|
||||
// Custom
|
||||
Result DebugNextApplicationByForce(void)
|
||||
Result DebugNextApplicationByForce(bool debug)
|
||||
{
|
||||
g_debugNextApplication = true;
|
||||
g_debugNextApplication = debug;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,5 +13,5 @@ Result LaunchAppDebug(Handle *outDebug, const FS_ProgramInfo *programInfo, u32 l
|
||||
Result autolaunchSysmodules(void);
|
||||
|
||||
// Custom
|
||||
Result DebugNextApplicationByForce(void);
|
||||
Result DebugNextApplicationByForce(bool debug);
|
||||
Result LaunchTitleDebug(Handle *outDebug, const FS_ProgramInfo *programInfo, u32 launchFlags);
|
||||
|
||||
@@ -48,7 +48,7 @@ void pmDbgHandleCommands(void *ctx)
|
||||
cmdbuf[4] = pid;
|
||||
break;
|
||||
case 0x101:
|
||||
cmdbuf[1] = DebugNextApplicationByForce();
|
||||
cmdbuf[1] = DebugNextApplicationByForce(cmdbuf[1] != 0);
|
||||
cmdbuf[0] = IPC_MakeHeader(0x101, 1, 0);
|
||||
break;
|
||||
case 0x102:
|
||||
|
||||
Reference in New Issue
Block a user