From fb7c80e928088fb1536d3aa77ef511b672c7ad1f Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sat, 12 Mar 2022 13:56:19 -0300 Subject: 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 --- Ryujinx.HLE/HOS/Services/Vi/ISystemRootService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.HLE/HOS/Services/Vi/ISystemRootService.cs') 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)); -- cgit v1.2.3