aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Vi/IApplicationRootService.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/IApplicationRootService.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/IApplicationRootService.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/Vi/IApplicationRootService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Vi/IApplicationRootService.cs b/Ryujinx.HLE/HOS/Services/Vi/IApplicationRootService.cs
index 9fddde57..b4399c58 100644
--- a/Ryujinx.HLE/HOS/Services/Vi/IApplicationRootService.cs
+++ b/Ryujinx.HLE/HOS/Services/Vi/IApplicationRootService.cs
@@ -16,7 +16,7 @@ namespace Ryujinx.HLE.HOS.Services.Vi
if (serviceType != ViServiceType.Application)
{
- return ResultCode.InvalidRange;
+ return ResultCode.PermissionDenied;
}
MakeObject(context, new IApplicationDisplayService(serviceType));