From a972dc9859b3b56410aa8d8f4ccc1e182baab244 Mon Sep 17 00:00:00 2001 From: Barry Rodewald Date: Thu, 28 Oct 2021 13:39:13 +1300 Subject: amstrad: Return 0xFF on PPI port A when the PSG is inactive. Fixes Puzzle Bobble. --- src/mame/machine/amstrad.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mame/machine/amstrad.cpp b/src/mame/machine/amstrad.cpp index 5e11defce14..459e8cbea41 100644 --- a/src/mame/machine/amstrad.cpp +++ b/src/mame/machine/amstrad.cpp @@ -843,7 +843,7 @@ WRITE_LINE_MEMBER(amstrad_state::amstrad_hsync_changed) { amstrad_update_video(); - /* The gate array reacts to de-assertion of the hsycnc 6845 line */ + /* The gate array reacts to de-assertion of the hsync 6845 line */ if ( m_gate_array.hsync && !state ) { m_gate_array.hsync_counter++; @@ -2503,6 +2503,7 @@ void amstrad_state::update_psg() { case 0: {/* Inactive */ + m_ppi_port_inputs[amstrad_ppi_PortA] = 0xff; } break; case 1: {/* b6 = 1 ? : Read from selected PSG register and make the register data available to PPI Port A */ -- cgit v1.2.3