From 9e141bc3daf86ceccc4eced78edbc9be2d2efe6e Mon Sep 17 00:00:00 2001 From: Ac_K Date: Thu, 23 Jul 2020 12:25:41 +0200 Subject: 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 --- Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'Ryujinx.HLE/HOS/Services/Vi/ResultCode.cs') 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 -- cgit v1.2.3