mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
IOS: Put common key handles in an array
This commit is contained in:
parent
da1fbbc5d5
commit
4ee73dbad3
5 changed files with 14 additions and 13 deletions
|
@ -609,7 +609,7 @@ void VolumeVerifier::CheckMisc()
|
|||
{
|
||||
const u8 common_key = ticket.GetCommonKeyIndex();
|
||||
|
||||
if (common_key > 1)
|
||||
if (common_key > IOS::HLE::IOSC::COMMON_KEY_HANDLES.size())
|
||||
{
|
||||
// Many fakesigned WADs have the common key index set to a (random?) bogus value.
|
||||
// For WADs, Dolphin will detect this and use common key 0 instead, making this low severity.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue