aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2020-07-23 12:25:41 +0200
committerGitHub <noreply@github.com>2020-07-23 20:25:41 +1000
commit9e141bc3daf86ceccc4eced78edbc9be2d2efe6e (patch)
tree853593c10b2bfaf51fb44757cc077fc5f919930d /Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs
parentc6e12949e5055dbb2fb1ff53050ab4f1d7962f08 (diff)
vi: Implement GetIndirectLayerImageRequiredMemoryInfo (#1415)
This implement GetIndirectLayerImageRequiredMemoryInfo call from vi service, accordingly to RE. Thanks to Thog and gdkchan for helping me to understand some GPU things. Close #942
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs b/Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs
index 35ee6ae2..2c78c1a3 100644
--- a/Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs
+++ b/Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs
@@ -8,6 +8,7 @@ namespace Ryujinx.HLE.HOS.Services.Vi
Success = 0,
InvalidArguments = (1 << ErrorCodeShift) | ModuleId,
+ InvalidLayerSize = (4 << ErrorCodeShift) | ModuleId,
InvalidScalingMode = (6 << ErrorCodeShift) | ModuleId
}
} \ No newline at end of file