mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
system1.c: Fixed PIO regression. (no whatsnew)
This commit is contained in:
parent
56e5600332
commit
158ed23dae
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user