diff options
| author | Ac_K <Acoustik666@gmail.com> | 2019-09-20 06:41:57 +0200 |
|---|---|---|
| committer | jduncanator <1518948+jduncanator@users.noreply.github.com> | 2019-09-20 14:41:57 +1000 |
| commit | f48df486e20255cbb78ef8af78ba1ea7361c6eb2 (patch) | |
| tree | 2c51390e57f35c7d3befb2283ce862ba8eb058df /Ryujinx.HLE/Utilities/IntUtils.cs | |
| parent | 72b9f8f0a0a3d3e946f5438237b4e6ca9478125b (diff) | |
Remove IntUtils and use BitUtils instead. (#774)
Diffstat (limited to 'Ryujinx.HLE/Utilities/IntUtils.cs')
| -rw-r--r-- | Ryujinx.HLE/Utilities/IntUtils.cs | 25 |
1 files changed, 0 insertions, 25 deletions
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); - } - } -} |
