aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Core/OsHle
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-06-10 01:00:43 -0300
committergdkchan <gab.dark.100@gmail.com>2018-06-10 01:00:43 -0300
commit49fd76db0fee72870e0b7fee73e6b6380fa00823 (patch)
tree52ac8e2907c1d32b34cbf23f4549a8da275c9489 /Ryujinx.Core/OsHle
parentadeb8793c21e8128ef50ecb555663dfa7ea9fda6 (diff)
Fix a small size related issue on MapBufferEx and add the BC7U texture format
Diffstat (limited to 'Ryujinx.Core/OsHle')
-rw-r--r--Ryujinx.Core/OsHle/Services/Nv/NvGpuAS/NvGpuASIoctl.cs4
1 files changed, 1 insertions, 3 deletions
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,