amstrad: allow any value for the last byte in Plus ASIC unlock sequence

This commit is contained in:
mahlemiut 2016-07-23 22:51:03 +12:00
parent 52f5d4d0c1
commit 95d4f4d4be

View File

@ -1996,6 +1996,16 @@ void amstrad_state::amstrad_plus_seqcheck(int data)
m_asic.enabled = 1;
}
}
else
{
// last byte of ASIC sequence can be any value
if(m_asic.seqptr == 14)
{
m_asic.seqptr++;
logerror("SYS: ASIC unlocked\n");
m_asic.enabled = 1;
}
}
m_prev_data = data;
}