diff options
author | Wunk <wunkolo@gmail.com> | 2022-11-16 14:27:42 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-16 23:27:42 +0100 |
commit | d536cc8ae6d6725780365d858f2fd64b66d90b7f (patch) | |
tree | ef0767a9bc808ba15967607b79a0e3e83924b30b /Ryujinx.HLE/HOS/Kernel/Common/MemroySize.cs | |
parent | d751da84f941e0d089040cb7aad2c1b3224ae6b7 (diff) |
Update units of memory from decimal to binary prefixes (#3716)1.1.349
`MB` and `GB` can either be interpreted as having base-10 units, or
base-2. `MiB` and `GiB` removes this discrepancy so that units of memory
are always interpreted using base-2 units.
Diffstat (limited to 'Ryujinx.HLE/HOS/Kernel/Common/MemroySize.cs')
-rw-r--r-- | Ryujinx.HLE/HOS/Kernel/Common/MemroySize.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Ryujinx.HLE/HOS/Kernel/Common/MemroySize.cs b/Ryujinx.HLE/HOS/Kernel/Common/MemroySize.cs index 1148b0f4..159385b6 100644 --- a/Ryujinx.HLE/HOS/Kernel/Common/MemroySize.cs +++ b/Ryujinx.HLE/HOS/Kernel/Common/MemroySize.cs @@ -2,8 +2,8 @@ namespace Ryujinx.HLE.HOS.Kernel.Common { enum MemorySize : byte { - MemorySize4GB = 0, - MemorySize6GB = 1, - MemorySize8GB = 2 + MemorySize4GiB = 0, + MemorySize6GiB = 1, + MemorySize8GiB = 2 } }
\ No newline at end of file |