mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
The folder branch of get_rom_files probed for a CHD header at <walked dir>/<rom folder name> instead of the file being walked, so the path never existed and chd_sha1_hash came out empty for every file of every per-game-folder ROM, single-disc included. This also degraded metadata matching, since Hasheous lookups fall back to the container's MD5/SHA-1/CRC when the disc-data SHA-1 is missing, and those match nothing for a CHD. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>