mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
Use const for the location param with pmshellLaunchProgram.
This commit is contained in:
parent
1592b2892f
commit
01133f7f6d
@ -98,7 +98,7 @@ Result pmdmntClearHook(u32 which);
|
|||||||
|
|
||||||
Result pminfoGetProgramId(u64* title_id_out, u64 pid);
|
Result pminfoGetProgramId(u64* title_id_out, u64 pid);
|
||||||
|
|
||||||
Result pmshellLaunchProgram(u32 launch_flags, NcmProgramLocation *location, u64 *pid);
|
Result pmshellLaunchProgram(u32 launch_flags, const NcmProgramLocation *location, u64 *pid);
|
||||||
Result pmshellTerminateProcess(u64 processID);
|
Result pmshellTerminateProcess(u64 processID);
|
||||||
Result pmshellTerminateProgram(u64 titleID);
|
Result pmshellTerminateProgram(u64 titleID);
|
||||||
Result pmshellGetProcessEventHandle(Event* out); // Autoclear for pmshellProcessEvent is always true.
|
Result pmshellGetProcessEventHandle(Event* out); // Autoclear for pmshellProcessEvent is always true.
|
||||||
|
@ -104,7 +104,7 @@ Result pminfoGetProgramId(u64* title_id_out, u64 pid) {
|
|||||||
|
|
||||||
// pmshell
|
// pmshell
|
||||||
|
|
||||||
Result pmshellLaunchProgram(u32 launch_flags, NcmProgramLocation *location, u64 *pid) {
|
Result pmshellLaunchProgram(u32 launch_flags, const NcmProgramLocation *location, u64 *pid) {
|
||||||
const struct {
|
const struct {
|
||||||
u32 launch_flags;
|
u32 launch_flags;
|
||||||
u32 pad;
|
u32 pad;
|
||||||
|
Loading…
Reference in New Issue
Block a user