diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-12-04 22:52:39 -0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-04 22:52:39 -0200 |
| commit | 3615a70cae3f89197fe185dfc5d0a47fa42151d9 (patch) | |
| tree | 8e4737422fba15199c1a6ce7c6345996c0e907b5 /Ryujinx.HLE/Utilities/IntUtils.cs | |
| parent | 85dbb9559ad317a657dafd24da27fec4b3f5250f (diff) | |
Revert "Adjust naming conventions and general refactoring in HLE Project (#490)" (#526)
This reverts commit 85dbb9559ad317a657dafd24da27fec4b3f5250f.
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 a7178d80..57e9d396 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); } } } |
