2019-03-29 00:32:45 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <3ds/exheader.h>
|
|
|
|
|
#include <3ds/services/fs.h>
|
|
|
|
|
#include "process_data.h"
|
|
|
|
|
|
2020-05-10 02:58:21 +01:00
|
|
|
/// Custom launch flags for PM launch commands.
|
|
|
|
|
enum {
|
|
|
|
|
PMLAUNCHFLAGEXT_FAKE_DEPENDENCY_LOADING = BIT(24),
|
|
|
|
|
};
|
|
|
|
|
|
2019-03-29 00:32:45 +01:00
|
|
|
Result LaunchTitle(u32 *outPid, const FS_ProgramInfo *programInfo, u32 launchFlags);
|
|
|
|
|
Result LaunchTitleUpdate(const FS_ProgramInfo *programInfo, const FS_ProgramInfo *programInfoUpdate, u32 launchFlags);
|
|
|
|
|
Result LaunchApp(const FS_ProgramInfo *programInfo, u32 launchFlags);
|
|
|
|
|
Result RunQueuedProcess(Handle *outDebug);
|
|
|
|
|
Result LaunchAppDebug(Handle *outDebug, const FS_ProgramInfo *programInfo, u32 launchFlags);
|
|
|
|
|
|
|
|
|
|
Result autolaunchSysmodules(void);
|
2019-03-30 15:36:49 +01:00
|
|
|
|
|
|
|
|
// Custom
|
2019-06-14 01:32:50 +02:00
|
|
|
Result DebugNextApplicationByForce(bool debug);
|
2019-03-30 15:36:49 +01:00
|
|
|
Result LaunchTitleDebug(Handle *outDebug, const FS_ProgramInfo *programInfo, u32 launchFlags);
|
2022-12-25 18:27:32 +01:00
|
|
|
|
|
|
|
|
Result launchTitleImplWrapper(Handle *outDebug, u32 *outPid, const FS_ProgramInfo *programInfo, const FS_ProgramInfo *programInfoUpdate, u32 launchFlags);
|