CDSubchannelReplacement: Fix a crash on invalid input

This commit is contained in:
Connor McLaughlin 2020-10-15 01:25:18 +10:00
parent d950779662
commit d6758aacce
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ bool CDSubChannelReplacement::LoadSBI(const char* path)
if (entry.type != 1)
{
Log_ErrorPrintf("Invalid type 0x%02X in '%s'", path);
Log_ErrorPrintf("Invalid type 0x%02X in '%s'", entry.type, path);
return false;
}