isize Memory::didLoadFromBuffer(const u8 *buffer) {
...
// Check the integrity of the new values before we allocate memory
if (romSize > KB(512)) throw VAError(ERROR_SNAP_CORRUPTED);
if (womSize > KB(256)) throw VAError(ERROR_SNAP_CORRUPTED);
if (extSize > KB(512)) throw VAError(ERROR_SNAP_CORRUPTED);
if (chipSize > MB(2)) throw VAError(ERROR_SNAP_CORRUPTED);
if (slowSize > KB(512)) throw VAError(ERROR_SNAP_CORRUPTED);
if (fastSize > MB(8)) throw VAError(ERROR_SNAP_CORRUPTED);
...
}
The error is due to this piece code:
Update: Fixed on the v2.2 branch