mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-12 18:45:33 -10:00
rc_hash reads a .ciso file through formats/ciso as the disc image it stands for, the way RVZ and WIA files are read, so a CISO identifies as its ISO does. The file reader lives in cheevos/cheevos_ciso.c: it reads on the descriptor path, straight into the buffer rc_hash gives, and seeks only when the file is not already where a read starts. The reader is now built with cheevos as well as with the database. ciso_hash_test hashes a GameCube disc as an ISO and as a CISO with blocks left out, and checks the two hashes match.