
Let's not pretend in 2022 that it needed things from rosalina sysmodule - it did not. This moves 3DSX loading from Rosalina to Loader, and also removes all the dependencies Loader had to other Luma3DS components (if kernel ext. is missing, a default config will be used). This means that, as long as you replace Loader to the one in here, you will be able to properly load 3DSX files. Changes: - hb:ldr is now hosted in loader - hb:ldr LoadProcess, PatchExHeaderInfo, DebugNextApplicationByForce: all removed - fix a bug where some malformed 3DSX files were not rejected - grant access to CONFIG11 registers to 3DSX homebrew - move dirty homebrew chainload (when HM. isn't loaded nor loadable) to pm - pm:dbg (ext.) PrepareToChainloadHomebrew: removed
15 lines
476 B
C
15 lines
476 B
C
#pragma once
|
|
|
|
#include "process_data.h"
|
|
#include <3ds/exheader.h>
|
|
|
|
Result listAndTerminateDependencies(ProcessData *process, ExHeader_Info *exheaderInfo);
|
|
ProcessData *terminateAllProcesses(u32 callerPid, s64 timeout); // callerPid = -1 for firmlaunch
|
|
|
|
Result TerminateApplication(s64 timeout);
|
|
Result TerminateTitle(u64 titleId, s64 timeout);
|
|
Result TerminateProcess(u32 pid, s64 timeout);
|
|
Result PrepareForReboot(u32 pid, s64 timeout);
|
|
|
|
Result ChainloadHomebrewDirty(void);
|