amstrad: Return 0xFF on PPI port A when the PSG is inactive. Fixes Puzzle Bobble.

This commit is contained in:
Barry Rodewald 2021-10-28 13:39:13 +13:00
parent 6ccae2148d
commit a972dc9859

View File

@ -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 */