aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Vi/ResultCode.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/ResultCode.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/ResultCode.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs b/Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs
index d888e644..c64339c9 100644
--- a/Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs
+++ b/Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs
@@ -9,7 +9,7 @@ namespace Ryujinx.HLE.HOS.Services.Vi
InvalidArguments = (1 << ErrorCodeShift) | ModuleId,
InvalidLayerSize = (4 << ErrorCodeShift) | ModuleId,
- InvalidRange = (5 << ErrorCodeShift) | ModuleId,
+ PermissionDenied = (5 << ErrorCodeShift) | ModuleId,
InvalidScalingMode = (6 << ErrorCodeShift) | ModuleId,
InvalidValue = (7 << ErrorCodeShift) | ModuleId,
AlreadyOpened = (9 << ErrorCodeShift) | ModuleId