aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Vi/ISystemRootService.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-03-12 13:56:19 -0300
committerGitHub <noreply@github.com>2022-03-12 17:56:19 +0100
commitfb7c80e928088fb1536d3aa77ef511b672c7ad1f (patch)
tree1b1c76ec9a7c41baba7496f0ce7f991de1f074cb /Ryujinx.HLE/HOS/Services/Vi/ISystemRootService.cs
parentbb2f9df0a1d5e7cbd333c39cd485a42a19a772dc (diff)
Limit number of events that can be retrieved from GetDisplayVSyncEvent (#3188)
* Limit number of events that can be retrieved from GetDisplayVSyncEvent * Cleaning * Rename openDisplayInfos -> openDisplays
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Vi/ISystemRootService.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/Vi/ISystemRootService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Vi/ISystemRootService.cs b/Ryujinx.HLE/HOS/Services/Vi/ISystemRootService.cs
index b63f15c3..f1122efe 100644
--- a/Ryujinx.HLE/HOS/Services/Vi/ISystemRootService.cs
+++ b/Ryujinx.HLE/HOS/Services/Vi/ISystemRootService.cs
@@ -17,7 +17,7 @@ namespace Ryujinx.HLE.HOS.Services.Vi
if (serviceType != ViServiceType.System)
{
- return ResultCode.InvalidRange;
+ return ResultCode.PermissionDenied;
}
MakeObject(context, new IApplicationDisplayService(serviceType));