mirror of
https://github.com/KeatonTheBot/Ryujinx.git
synced 2026-04-19 20:52:03 +00:00
Assign DRAM IDs and Hardware Types to 10GiB-12GiB sizes
Some checks failed
Release job / Create tag (push) Has been cancelled
Release job / Release for linux-arm64 (push) Has been cancelled
Release job / Release for linux-x64 (push) Has been cancelled
Release job / Release for win-x64 (push) Has been cancelled
Release job / Release MacOS universal (push) Has been cancelled
Release job / flatpak_release (push) Has been cancelled
Some checks failed
Release job / Create tag (push) Has been cancelled
Release job / Release for linux-arm64 (push) Has been cancelled
Release job / Release for linux-x64 (push) Has been cancelled
Release job / Release for win-x64 (push) Has been cancelled
Release job / Release MacOS universal (push) Has been cancelled
Release job / flatpak_release (push) Has been cancelled
* Fix incorrect Hardware Type for 8GiB-12GiB DRAM sizes
This commit is contained in:
parent
0dc506317c
commit
95ac0a7a51
2 changed files with 17 additions and 12 deletions
|
|
@ -69,24 +69,27 @@ namespace Ryujinx.HLE.HOS.Services.Spl
|
|||
configValue = 0;
|
||||
break;
|
||||
case ConfigItem.DramId:
|
||||
if (memorySize == MemorySize.MemorySize8GiB)
|
||||
configValue = memorySize switch
|
||||
{
|
||||
configValue = (ulong)DramId.IowaSamsung8GiB;
|
||||
}
|
||||
else if (memorySize == MemorySize.MemorySize6GiB)
|
||||
{
|
||||
configValue = (ulong)DramId.IcosaSamsung6GiB;
|
||||
}
|
||||
else
|
||||
{
|
||||
configValue = (ulong)DramId.IcosaSamsung4GiB;
|
||||
}
|
||||
MemorySize.MemorySize6GiB => (ulong)DramId.IcosaSamsung6GiB,
|
||||
MemorySize.MemorySize8GiB => (ulong)DramId.IowaSamsung8GiB,
|
||||
MemorySize.MemorySize10GiB => (ulong)DramId.IowaSamsung10GiB,
|
||||
MemorySize.MemorySize12GiB => (ulong)DramId.IowaSamsung12GiB,
|
||||
_ => (ulong)DramId.IcosaSamsung4GiB
|
||||
};
|
||||
break;
|
||||
case ConfigItem.SecurityEngineInterruptNumber:
|
||||
case ConfigItem.FuseVersion:
|
||||
return SmcResult.NotImplemented;
|
||||
case ConfigItem.HardwareType:
|
||||
configValue = (ulong)HardwareType.Icosa;
|
||||
configValue = memorySize switch
|
||||
{
|
||||
MemorySize.MemorySize6GiB => (ulong)HardwareType.Icosa,
|
||||
MemorySize.MemorySize8GiB => (ulong)HardwareType.Iowa,
|
||||
MemorySize.MemorySize10GiB => (ulong)HardwareType.Iowa,
|
||||
MemorySize.MemorySize12GiB => (ulong)HardwareType.Iowa,
|
||||
_ => (ulong)HardwareType.Icosa
|
||||
};
|
||||
break;
|
||||
case ConfigItem.HardwareState:
|
||||
configValue = (ulong)HardwareState.Production;
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@ namespace Ryujinx.HLE.HOS.Services.Spl.Types
|
|||
IowaX1X2Samsung4GiB,
|
||||
IowaSansung4GiB,
|
||||
IowaSamsung8GiB,
|
||||
IowaSamsung10GiB,
|
||||
IowaSamsung12GiB,
|
||||
IowaHynix4GiB,
|
||||
IowaMicron4GiB,
|
||||
HoagSamsung4GiB,
|
||||
|
|
|
|||
Loading…
Reference in a new issue