aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Spl/IGeneralInterface.cs
diff options
context:
space:
mode:
authorWunk <wunkolo@gmail.com>2022-11-16 14:27:42 -0800
committerGitHub <noreply@github.com>2022-11-16 23:27:42 +0100
commitd536cc8ae6d6725780365d858f2fd64b66d90b7f (patch)
treeef0767a9bc808ba15967607b79a0e3e83924b30b /Ryujinx.HLE/HOS/Services/Spl/IGeneralInterface.cs
parentd751da84f941e0d089040cb7aad2c1b3224ae6b7 (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/Services/Spl/IGeneralInterface.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/Spl/IGeneralInterface.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Spl/IGeneralInterface.cs b/Ryujinx.HLE/HOS/Services/Spl/IGeneralInterface.cs
index 53c9eb48..30e22e12 100644
--- a/Ryujinx.HLE/HOS/Services/Spl/IGeneralInterface.cs
+++ b/Ryujinx.HLE/HOS/Services/Spl/IGeneralInterface.cs
@@ -67,17 +67,17 @@ namespace Ryujinx.HLE.HOS.Services.Spl
configValue = 0;
break;
case ConfigItem.DramId:
- if (memorySize == MemorySize.MemorySize8GB)
+ if (memorySize == MemorySize.MemorySize8GiB)
{
- configValue = (ulong)DramId.IowaSamsung8GB;
+ configValue = (ulong)DramId.IowaSamsung8GiB;
}
- else if (memorySize == MemorySize.MemorySize6GB)
+ else if (memorySize == MemorySize.MemorySize6GiB)
{
- configValue = (ulong)DramId.IcosaSamsung6GB;
+ configValue = (ulong)DramId.IcosaSamsung6GiB;
}
else
{
- configValue = (ulong)DramId.IcosaSamsung4GB;
+ configValue = (ulong)DramId.IcosaSamsung4GiB;
}
break;
case ConfigItem.SecurityEngineInterruptNumber: