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) --- .../Vi/RootService/ApplicationDisplayService/IManagerDisplayService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.HLE/HOS/Services/Vi/RootService/ApplicationDisplayService') diff --git a/Ryujinx.HLE/HOS/Services/Vi/RootService/ApplicationDisplayService/IManagerDisplayService.cs b/Ryujinx.HLE/HOS/Services/Vi/RootService/ApplicationDisplayService/IManagerDisplayService.cs index fdab0f1b..096c7a30 100644 --- a/Ryujinx.HLE/HOS/Services/Vi/RootService/ApplicationDisplayService/IManagerDisplayService.cs +++ b/Ryujinx.HLE/HOS/Services/Vi/RootService/ApplicationDisplayService/IManagerDisplayService.cs @@ -33,7 +33,7 @@ namespace Ryujinx.HLE.HOS.Services.Vi.RootService.ApplicationDisplayService long displayId = context.RequestData.ReadInt64(); long appletResourceUserId = context.RequestData.ReadInt64(); - long pid = context.Device.System.AppletState.AppletResourceUserIds.GetData((int)appletResourceUserId); + ulong pid = context.Device.System.AppletState.AppletResourceUserIds.GetData((int)appletResourceUserId); context.Device.System.SurfaceFlinger.CreateLayer(pid, out long layerId); context.Device.System.SurfaceFlinger.SetRenderLayer(layerId); -- cgit v1.2.3