Use const for the location param with pmshellLaunchProgram.

This commit is contained in:
yellows8 2019-10-27 18:22:54 -04:00
parent 1592b2892f
commit 01133f7f6d
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ Result pmdmntClearHook(u32 which);
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 pmshellTerminateProgram(u64 titleID);
Result pmshellGetProcessEventHandle(Event* out); // Autoclear for pmshellProcessEvent is always true.

View File

@ -104,7 +104,7 @@ Result pminfoGetProgramId(u64* title_id_out, u64 pid) {
// pmshell
Result pmshellLaunchProgram(u32 launch_flags, NcmProgramLocation *location, u64 *pid) {
Result pmshellLaunchProgram(u32 launch_flags, const NcmProgramLocation *location, u64 *pid) {
const struct {
u32 launch_flags;
u32 pad;