Fix critical issue in size checking of ioctl

oops
This commit is contained in:
Thog 2019-11-03 23:38:21 +01:00
parent 21a1513609
commit 6b788495d2
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6

View file

@ -91,7 +91,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv
if (isRead && isWrite)
{
if (outputDataPosition < inputDataSize)
if (outputDataSize < inputDataSize)
{
arguments = null;