From 49fd76db0fee72870e0b7fee73e6b6380fa00823 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sun, 10 Jun 2018 01:00:43 -0300 Subject: Fix a small size related issue on MapBufferEx and add the BC7U texture format --- Ryujinx.Core/OsHle/Services/Nv/NvGpuAS/NvGpuASIoctl.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Ryujinx.Core/OsHle') diff --git a/Ryujinx.Core/OsHle/Services/Nv/NvGpuAS/NvGpuASIoctl.cs b/Ryujinx.Core/OsHle/Services/Nv/NvGpuAS/NvGpuASIoctl.cs index 72622471..a69bc3aa 100644 --- a/Ryujinx.Core/OsHle/Services/Nv/NvGpuAS/NvGpuASIoctl.cs +++ b/Ryujinx.Core/OsHle/Services/Nv/NvGpuAS/NvGpuASIoctl.cs @@ -140,11 +140,9 @@ namespace Ryujinx.Core.OsHle.Services.Nv.NvGpuAS if (Size == 0) { - Size = Map.Size; + Size = (uint)Map.Size; } - Size = Map.Size; - int Result = NvResult.Success; //Note: When the fixed offset flag is not set, -- cgit v1.2.3