Closed retroNUC closed 1 year ago
When trying to determine the header size of a CD sector, we look for the CD001 marker at 25 bytes in (XA) or 17 bytes in (non-XA). In this case, it's 1 byte in (header removed). Since we're not explicitly looking for it at 1 byte in, the code falls back to determining the sector size from the file size, which is done incorrectly using the CHD's logicalbytes value. In this case, that just happens to be divisible by 2352, so a 16 byte header is assumed, thus preventing the identification from working correctly.
I'm working on a fix.
Thanks for the previous CHD fix, but found a few files that still aren't hashing properly in this format when the ISO versions are fine.
An example of this is with the PS2 title
Legend of Spyro, The - Dawn of the Dragon (USA) (En,Fr,De,Es,It,Nl)
. I'll note that the CHD version is hashed and recognized fine in PCSX2.This is in latest locally-built version of RAHasher, with the libchdr update.
Verbose output from RAHasher with ISO file:
Verbose output from RAHasher with CHD conversion of same file: