From f48df486e20255cbb78ef8af78ba1ea7361c6eb2 Mon Sep 17 00:00:00 2001 From: Ac_K Date: Fri, 20 Sep 2019 06:41:57 +0200 Subject: Remove IntUtils and use BitUtils instead. (#774) --- Ryujinx.HLE/Utilities/IntUtils.cs | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 Ryujinx.HLE/Utilities/IntUtils.cs (limited to 'Ryujinx.HLE/Utilities/IntUtils.cs') diff --git a/Ryujinx.HLE/Utilities/IntUtils.cs b/Ryujinx.HLE/Utilities/IntUtils.cs deleted file mode 100644 index a7178d80..00000000 --- a/Ryujinx.HLE/Utilities/IntUtils.cs +++ /dev/null @@ -1,25 +0,0 @@ -namespace Ryujinx.HLE.Utilities -{ - static class IntUtils - { - public static int AlignUp(int value, int size) - { - return (value + (size - 1)) & ~(size - 1); - } - - public static long AlignUp(long value, int size) - { - return (value + (size - 1)) & ~((long)size - 1); - } - - public static int AlignDown(int value, int size) - { - return value & ~(size - 1); - } - - public static long AlignDown(long value, int size) - { - return value & ~((long)size - 1); - } - } -} -- cgit v1.2.3