Address LDj3SNuD's comments

This commit is contained in:
Thog 2019-10-30 21:49:30 +01:00
commit ee0afb880b
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6
2 changed files with 5 additions and 5 deletions

View file

@ -336,7 +336,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvHostChannel
_gpu.Pusher.Push(vmm, entry); _gpu.Pusher.Push(vmm, entry);
} }
header.Fence.Id = 0; header.Fence.Id = 0;
header.Fence.Value = 0; header.Fence.Value = 0;
return NvInternalResult.Success; return NvInternalResult.Success;

View file

@ -198,11 +198,11 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvMap
switch (arguments.Param) switch (arguments.Param)
{ {
case NvMapHandleParam.Size: arguments.Result = map.Size; break; case NvMapHandleParam.Size: arguments.Result = map.Size; break;
case NvMapHandleParam.Align: arguments.Result = map.Align; break; case NvMapHandleParam.Align: arguments.Result = map.Align; break;
case NvMapHandleParam.Heap: arguments.Result = 0x40000000; break; case NvMapHandleParam.Heap: arguments.Result = 0x40000000; break;
case NvMapHandleParam.Kind: arguments.Result = map.Kind; break; case NvMapHandleParam.Kind: arguments.Result = map.Kind; break;
case NvMapHandleParam.Compr: arguments.Result = 0; break; case NvMapHandleParam.Compr: arguments.Result = 0; break;
// Note: Base is not supported and returns an error. // Note: Base is not supported and returns an error.
// Any other value also returns an error. // Any other value also returns an error.