mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-07 17:20:14 +01:00
Log error when flag 0x3c/0x3d EDAT files detected
This commit is contained in:
parent
336442eeba
commit
eb7128bcc1
|
|
@ -156,6 +156,12 @@ int decrypt_data(rFile *in, rFile *out, EDAT_SDAT_HEADER *edat, NPD_HEADER *npd,
|
||||||
int length = 0;
|
int length = 0;
|
||||||
int compression_end = 0;
|
int compression_end = 0;
|
||||||
|
|
||||||
|
if ((edat->flags & EDAT_FLAG_0x3C) != 0 || (edat->flags & EDAT_FLAG_0x3D) != 0)
|
||||||
|
{
|
||||||
|
ConLog.Error("EDAT: Flag 0x3C/0x3D EDAT files are unsupported yet");
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
if ((edat->flags & EDAT_COMPRESSED_FLAG) != 0)
|
if ((edat->flags & EDAT_COMPRESSED_FLAG) != 0)
|
||||||
{
|
{
|
||||||
unsigned char metadata[0x20];
|
unsigned char metadata[0x20];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue