diff options
author | Mary <mary@mary.zone> | 2022-02-09 21:18:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 17:18:07 -0300 |
commit | 6dffe0fad4bc8dee0e25ce038639d890b29d56a0 (patch) | |
tree | 5c4645911c473ec1ffa9f560c81f34212e963670 /Ryujinx.HLE/HOS/Services/Ns/Aoc/IAddOnContentManager.cs | |
parent | 86b37d0ff7764ac62b1e9578b07a8b648a3bd55a (diff) |
misc: Make PID unsigned long instead of long (#3043)1.1.22
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Ns/Aoc/IAddOnContentManager.cs')
-rw-r--r-- | Ryujinx.HLE/HOS/Services/Ns/Aoc/IAddOnContentManager.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Ns/Aoc/IAddOnContentManager.cs b/Ryujinx.HLE/HOS/Services/Ns/Aoc/IAddOnContentManager.cs index 18e371da..53866a6b 100644 --- a/Ryujinx.HLE/HOS/Services/Ns/Aoc/IAddOnContentManager.cs +++ b/Ryujinx.HLE/HOS/Services/Ns/Aoc/IAddOnContentManager.cs @@ -44,7 +44,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc // CountAddOnContent(pid) -> u32 public ResultCode CountAddOnContent(ServiceCtx context) { - long pid = context.Request.HandleDesc.PId; + ulong pid = context.Request.HandleDesc.PId; // NOTE: Service call arp:r GetApplicationLaunchProperty to get TitleId using the PId. @@ -55,7 +55,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc // ListAddOnContent(u32 start_index, u32 buffer_size, pid) -> (u32 count, buffer<u32>) public ResultCode ListAddOnContent(ServiceCtx context) { - long pid = context.Request.HandleDesc.PId; + ulong pid = context.Request.HandleDesc.PId; // NOTE: Service call arp:r GetApplicationLaunchProperty to get TitleId using the PId. @@ -75,7 +75,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc // GetAddOnContentBaseId(pid) -> u64 public ResultCode GetAddOnContentBaseId(ServiceCtx context) { - long pid = context.Request.HandleDesc.PId; + ulong pid = context.Request.HandleDesc.PId; // NOTE: Service call arp:r GetApplicationLaunchProperty to get TitleId using the PId. @@ -95,7 +95,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc // PrepareAddOnContent(u32 index, pid) public ResultCode PrepareAddOnContent(ServiceCtx context) { - long pid = context.Request.HandleDesc.PId; + ulong pid = context.Request.HandleDesc.PId; // NOTE: Service call arp:r GetApplicationLaunchProperty to get TitleId using the PId. @@ -123,7 +123,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc // GetAddOnContentListChangedEventWithProcessId(pid) -> handle<copy> public ResultCode GetAddOnContentListChangedEventWithProcessId(ServiceCtx context) { - long pid = context.Request.HandleDesc.PId; + ulong pid = context.Request.HandleDesc.PId; // NOTE: Service call arp:r GetApplicationLaunchProperty to get TitleId using the PId. @@ -142,7 +142,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc // NotifyMountAddOnContent(pid, u64 title_id) public ResultCode NotifyMountAddOnContent(ServiceCtx context) { - long pid = context.Request.HandleDesc.PId; + ulong pid = context.Request.HandleDesc.PId; // NOTE: Service call arp:r GetApplicationLaunchProperty to get TitleId using the PId. @@ -160,7 +160,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc // NotifyUnmountAddOnContent(pid, u64 title_id) public ResultCode NotifyUnmountAddOnContent(ServiceCtx context) { - long pid = context.Request.HandleDesc.PId; + ulong pid = context.Request.HandleDesc.PId; // NOTE: Service call arp:r GetApplicationLaunchProperty to get TitleId using the PId. @@ -175,7 +175,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc // CheckAddOnContentMountStatus(pid) public ResultCode CheckAddOnContentMountStatus(ServiceCtx context) { - long pid = context.Request.HandleDesc.PId; + ulong pid = context.Request.HandleDesc.PId; // NOTE: Service call arp:r GetApplicationLaunchProperty to get TitleId using the PId. // Then it does some internal checks and returns InvalidBufferSize if they fail. |