While developing the SNES bin plugin, I noticed some SNES ROMs were wrongly detected as OMF. This commit adds two additional checks to check_bytes: * Check that record size and string size in the first record agree with each other * Check that the string in the first record is valid ASCII Regression tests still pass. This commit also fixes an assumption that the host is little endian. |
||
|---|---|---|
| .. | ||
| coff | ||
| dex | ||
| elf | ||
| mach0 | ||
| mz | ||
| nes | ||
| nin | ||
| objc | ||
| omf | ||
| p9 | ||
| pe | ||
| psxexe | ||
| spc700 | ||
| te | ||
| vsf | ||
| xbe | ||
| zimg | ||