2019-03-30 18:12:54 +01:00
|
|
|
// License for this file: ctrulib's license
|
2020-04-25 13:26:21 +01:00
|
|
|
// Copyright AuroraWright, TuxSH 2019-2020
|
2019-03-30 18:12:54 +01:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <3ds/services/pmapp.h>
|
2019-04-18 22:58:53 +02:00
|
|
|
#include <3ds/services/pmdbg.h>
|
2019-03-30 18:12:54 +01:00
|
|
|
|
2020-05-10 02:58:21 +01:00
|
|
|
/// Custom launch flags for PM launch commands.
|
|
|
|
|
enum {
|
|
|
|
|
PMLAUNCHFLAGEXT_FAKE_DEPENDENCY_LOADING = BIT(24),
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
Result PMDBG_GetCurrentAppInfo(FS_ProgramInfo *outProgramInfo, u32 *outPid, u32 *outLaunchFlags);
|
2019-06-14 01:32:50 +02:00
|
|
|
Result PMDBG_DebugNextApplicationByForce(bool debug);
|
2019-03-30 18:12:54 +01:00
|
|
|
Result PMDBG_LaunchTitleDebug(Handle *outDebug, const FS_ProgramInfo *programInfo, u32 launchFlags);
|
2020-05-10 02:58:21 +01:00
|
|
|
Result PMDBG_PrepareToChainloadHomebrew(u64 titleId);
|