From 158ed23dae364fb08d30ca5462d32544d39d45ae Mon Sep 17 00:00:00 2001 From: Curt Coder Date: Thu, 18 Feb 2010 20:39:50 +0000 Subject: [PATCH] system1.c: Fixed PIO regression. (no whatsnew) --- src/mame/drivers/system1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mame/drivers/system1.c b/src/mame/drivers/system1.c index b811c1b6630..b422149dabe 100644 --- a/src/mame/drivers/system1.c +++ b/src/mame/drivers/system1.c @@ -499,9 +499,10 @@ static READ8_HANDLER( sound_data_r ) /* if we have a Z80 PIO, get the data from the port and toggle the strobe */ else if (pio != NULL) { + UINT8 data = z80pio_pa_r(pio, 0); z80pio_astb_w(pio, 0); z80pio_astb_w(pio, 1); - return soundlatch_r(space, offset); + return data; } return 0xff;