From 6dffe0fad4bc8dee0e25ce038639d890b29d56a0 Mon Sep 17 00:00:00 2001 From: Mary Date: Wed, 9 Feb 2022 21:18:07 +0100 Subject: misc: Make PID unsigned long instead of long (#3043) --- .../SystemAppletProxy/ISelfController.cs | 4 ++-- .../SystemAppletProxy/IWindowController.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy') diff --git a/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ISelfController.cs b/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ISelfController.cs index 51b204f0..2af80f6e 100644 --- a/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ISelfController.cs +++ b/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ISelfController.cs @@ -8,7 +8,7 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.Sys { class ISelfController : IpcService { - private readonly long _pid; + private readonly ulong _pid; private KEvent _libraryAppletLaunchableEvent; private int _libraryAppletLaunchableEventHandle; @@ -35,7 +35,7 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.Sys private uint _screenShotImageOrientation = 0; private uint _idleTimeDetectionExtension = 0; - public ISelfController(ServiceCtx context, long pid) + public ISelfController(ServiceCtx context, ulong pid) { _libraryAppletLaunchableEvent = new KEvent(context.Device.System.KernelContext); _pid = pid; diff --git a/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/IWindowController.cs b/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/IWindowController.cs index a97b01b4..7cb557ae 100644 --- a/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/IWindowController.cs +++ b/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/IWindowController.cs @@ -4,9 +4,9 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.Sys { class IWindowController : IpcService { - private readonly long _pid; + private readonly ulong _pid; - public IWindowController(long pid) + public IWindowController(ulong pid) { _pid = pid; } -- cgit v1.2.3