mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-21 18:05:20 -05: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