Open ParzivalWolfram opened 4 months ago
Do you have example rom names to check?
The only ROM in the No-Intro set that is affected by this is "Desert Demolition (USA, Europe) (Beta) (06.12.1994).md" but the problem also crops up on multiple ROM hacks. From what I can see, it only happens on ROMs with an odd number of bytes, as you're not double-checking if there are actually two more bytes to read. If memory serves, the missing byte should be treated as "\x00".
With some ROMs, it's possible for read_byte_as_int to fail as such: