aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/SurfaceFlinger/SurfaceFlinger.cs
diff options
context:
space:
mode:
authorMary <mary@mary.zone>2022-02-09 21:18:07 +0100
committerGitHub <noreply@github.com>2022-02-09 17:18:07 -0300
commit6dffe0fad4bc8dee0e25ce038639d890b29d56a0 (patch)
tree5c4645911c473ec1ffa9f560c81f34212e963670 /Ryujinx.HLE/HOS/Services/SurfaceFlinger/SurfaceFlinger.cs
parent86b37d0ff7764ac62b1e9578b07a8b648a3bd55a (diff)
misc: Make PID unsigned long instead of long (#3043)1.1.22
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/SurfaceFlinger/SurfaceFlinger.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/SurfaceFlinger/SurfaceFlinger.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Ryujinx.HLE/HOS/Services/SurfaceFlinger/SurfaceFlinger.cs b/Ryujinx.HLE/HOS/Services/SurfaceFlinger/SurfaceFlinger.cs
index c45c4b9d..be2e15bd 100644
--- a/Ryujinx.HLE/HOS/Services/SurfaceFlinger/SurfaceFlinger.cs
+++ b/Ryujinx.HLE/HOS/Services/SurfaceFlinger/SurfaceFlinger.cs
@@ -44,7 +44,7 @@ namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
public IGraphicBufferProducer Producer;
public BufferItemConsumer Consumer;
public BufferQueueCore Core;
- public long Owner;
+ public ulong Owner;
}
private class TextureCallbackInformation
@@ -92,7 +92,7 @@ namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
}
}
- public IGraphicBufferProducer OpenLayer(long pid, long layerId)
+ public IGraphicBufferProducer OpenLayer(ulong pid, long layerId)
{
bool needCreate;
@@ -109,7 +109,7 @@ namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
return GetProducerByLayerId(layerId);
}
- public IGraphicBufferProducer CreateLayer(long pid, out long layerId)
+ public IGraphicBufferProducer CreateLayer(ulong pid, out long layerId)
{
layerId = 1;
@@ -129,7 +129,7 @@ namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
return GetProducerByLayerId(layerId);
}
- private void CreateLayerFromId(long pid, long layerId)
+ private void CreateLayerFromId(ulong pid, long layerId)
{
lock (Lock)
{