aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2019-09-20 06:41:57 +0200
committerjduncanator <1518948+jduncanator@users.noreply.github.com>2019-09-20 14:41:57 +1000
commitf48df486e20255cbb78ef8af78ba1ea7361c6eb2 (patch)
tree2c51390e57f35c7d3befb2283ce862ba8eb058df /Ryujinx.HLE/HOS
parent72b9f8f0a0a3d3e946f5438237b4e6ca9478125b (diff)
Remove IntUtils and use BitUtils instead. (#774)
Diffstat (limited to 'Ryujinx.HLE/HOS')
-rw-r--r--Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvMap/NvMapIoctl.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvMap/NvMapIoctl.cs b/Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvMap/NvMapIoctl.cs
index 0b5be6e8..e46da4fd 100644
--- a/Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvMap/NvMapIoctl.cs
+++ b/Ryujinx.HLE/HOS/Services/Nv/NvDrvServices/NvMap/NvMapIoctl.cs
@@ -1,8 +1,8 @@
using ARMeilleure.Memory;
+using Ryujinx.Common;
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.Memory;
using Ryujinx.HLE.HOS.Kernel.Process;
-using Ryujinx.HLE.Utilities;
using System.Collections.Concurrent;
namespace Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvMap
@@ -49,7 +49,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvMap
return NvResult.InvalidInput;
}
- int size = IntUtils.AlignUp(args.Size, NvGpuVmm.PageSize);
+ int size = BitUtils.AlignUp(args.Size, NvGpuVmm.PageSize);
args.Handle = AddNvMap(context, new NvMapHandle(size));
@@ -122,7 +122,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvMap
map.Align = args.Align;
map.Kind = (byte)args.Kind;
- int size = IntUtils.AlignUp(map.Size, NvGpuVmm.PageSize);
+ int size = BitUtils.AlignUp(map.Size, NvGpuVmm.PageSize);
long address = args.Address;