From 95d4f4d4be33b1eb4ed94633b4654540bbf6eb22 Mon Sep 17 00:00:00 2001 From: mahlemiut Date: Sat, 23 Jul 2016 22:51:03 +1200 Subject: [PATCH] amstrad: allow any value for the last byte in Plus ASIC unlock sequence --- src/mame/machine/amstrad.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/mame/machine/amstrad.cpp b/src/mame/machine/amstrad.cpp index bc48e1e76ad..a26ebcbc07d 100644 --- a/src/mame/machine/amstrad.cpp +++ b/src/mame/machine/amstrad.cpp @@ -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; }