mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 14:25:37 +00:00
CDSubchannelReplacement: Fix a crash on invalid input
This commit is contained in:
parent
d950779662
commit
d6758aacce
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue