diff options
Diffstat (limited to 'Ryujinx.HLE/Utilities/IntUtils.cs')
-rw-r--r-- | Ryujinx.HLE/Utilities/IntUtils.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Ryujinx.HLE/Utilities/IntUtils.cs b/Ryujinx.HLE/Utilities/IntUtils.cs index 57e9d396..a7178d80 100644 --- a/Ryujinx.HLE/Utilities/IntUtils.cs +++ b/Ryujinx.HLE/Utilities/IntUtils.cs @@ -2,24 +2,24 @@ namespace Ryujinx.HLE.Utilities { static class IntUtils { - public static int AlignUp(int Value, int Size) + public static int AlignUp(int value, int size) { - return (Value + (Size - 1)) & ~(Size - 1); + return (value + (size - 1)) & ~(size - 1); } - public static long AlignUp(long Value, int Size) + public static long AlignUp(long value, int size) { - return (Value + (Size - 1)) & ~((long)Size - 1); + return (value + (size - 1)) & ~((long)size - 1); } - public static int AlignDown(int Value, int Size) + public static int AlignDown(int value, int size) { - return Value & ~(Size - 1); + return value & ~(size - 1); } - public static long AlignDown(long Value, int Size) + public static long AlignDown(long value, int size) { - return Value & ~((long)Size - 1); + return value & ~((long)size - 1); } } } |