mirror of
https://github.com/holub/mame
synced 2025-06-11 23:25:26 +03:00
Added sn76496 ready line hook-up for spcforce.c, doesn't make a difference since it's not actually used.
This commit is contained in:
parent
1c86da07ed
commit
b317ad95bf
@ -53,7 +53,11 @@ static WRITE8_HANDLER( spcforce_SN76496_latch_w )
|
|||||||
|
|
||||||
static READ8_HANDLER( spcforce_SN76496_select_r )
|
static READ8_HANDLER( spcforce_SN76496_select_r )
|
||||||
{
|
{
|
||||||
return spcforce_SN76496_select;
|
if (~spcforce_SN76496_select & 0x40) return sn76496_ready_r(devtag_get_device(space->machine, "sn1"), 0 );
|
||||||
|
if (~spcforce_SN76496_select & 0x20) return sn76496_ready_r(devtag_get_device(space->machine, "sn2"), 0 );
|
||||||
|
if (~spcforce_SN76496_select & 0x10) return sn76496_ready_r(devtag_get_device(space->machine, "sn3"), 0 );
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static WRITE8_HANDLER( spcforce_SN76496_select_w )
|
static WRITE8_HANDLER( spcforce_SN76496_select_w )
|
||||||
|
Loading…
Reference in New Issue
Block a user