When you download a ROM, the first thing an emulator checks is the "File Hash" (CRC32 or SHA-1). A correct NES ROM size that matches a known good dump (e.g., Super Mario Bros. (JU) [!].nes at 40,016 bytes) verifies that the file is not corrupted. If the size is off by even 1 byte, the game may crash or glitch.