mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
parent
48ad959697
commit
cfe08de951
2 changed files with 17 additions and 24 deletions
|
|
@ -936,7 +936,7 @@ bool EDATADecrypter::ReadHeader()
|
|||
// Try decrypting the first block instead
|
||||
u8 data_sample[1];
|
||||
|
||||
if (!ReadData(0, data_sample, 1))
|
||||
if (file_size && !ReadData(0, data_sample, 1))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue