mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -04:00
libstrat: automatically detect+format rawdata structs correctly.
This commit is contained in:
parent
2f7224edce
commit
6ef34d80a0
16 changed files with 147 additions and 76 deletions
|
@ -20,7 +20,7 @@
|
|||
|
||||
static bool g_is_maintenance_boot = false;
|
||||
|
||||
void BootModeService::GetBootMode(Out<bool> out) {
|
||||
void BootModeService::GetBootMode(Out<u32> out) {
|
||||
out.SetValue(g_is_maintenance_boot);
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ enum BootModeCmd {
|
|||
class BootModeService final : public IServiceObject {
|
||||
private:
|
||||
/* Actual commands. */
|
||||
void GetBootMode(Out<bool> out);
|
||||
void GetBootMode(Out<u32> out);
|
||||
void SetMaintenanceBoot();
|
||||
public:
|
||||
DEFINE_SERVICE_DISPATCH_TABLE {
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
static bool g_has_boot_finished = false;
|
||||
|
||||
Result ShellService::LaunchProcess(Out<u64> pid, u64 launch_flags, Registration::TidSid tid_sid) {
|
||||
Result ShellService::LaunchProcess(Out<u64> pid, Registration::TidSid tid_sid, u32 launch_flags) {
|
||||
return Registration::LaunchProcessByTidSid(tid_sid, launch_flags, pid.GetPointer());
|
||||
}
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ enum ShellCmd_5X {
|
|||
class ShellService final : public IServiceObject {
|
||||
private:
|
||||
/* Actual commands. */
|
||||
Result LaunchProcess(Out<u64> pid, u64 launch_flags, Registration::TidSid tid_sid);
|
||||
Result LaunchProcess(Out<u64> pid, Registration::TidSid tid_sid, u32 launch_flags);
|
||||
Result TerminateProcessId(u64 pid);
|
||||
Result TerminateTitleId(u64 tid);
|
||||
void GetProcessWaitEvent(Out<CopiedHandle> event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue