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
This commit is contained in:
gdkchan
2022-03-12 13:56:19 -03:00
committed by GitHub
parent bb2f9df0a1
commit fb7c80e928
5 changed files with 27 additions and 17 deletions

View File

@ -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));