, the size of several Alien vs. Predator (AvP) ROM files—including avp14m.rom —was updated to reflect more accurate dumps. Why this is happening Version Mismatch : Newer versions of MAME (0.238+) expect 1,048,576 bytes Older Dumps

The issue is likely located in the avp14m_pack_header() function. It is hypothesized that the pointer arithmetic used to write the length bytes is incrementing incorrectly, or the variable storing the length is being overwritten by a subsequent status flag before being written to the buffer.