mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
IOS: Put common key handles in an array
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user