示例#1
0
文件: othunder.c 项目: cdenix/psmame
static READ16_HANDLER( othunder_sound_r )
{
	othunder_state *state = space->machine().driver_data<othunder_state>();
	if (offset == 1)
		return ((tc0140syt_comm_r(state->m_tc0140syt, 0) & 0xff));
	else
		return 0;
}
示例#2
0
static READ16_HANDLER( warriorb_sound_r )
{
	warriorb_state *state = space->machine->driver_data<warriorb_state>();

	if (offset == 1)
		return ((tc0140syt_comm_r(state->tc0140syt, 0) & 0xff));
	else
		return 0;
}
示例#3
0
static READ16_HANDLER( ninjaw_sound_r )
{
	ninjaw_state *state = (ninjaw_state *)space->machine->driver_data;

	if (offset == 1)
		return ((tc0140syt_comm_r(state->tc0140syt, 0) & 0xff));
	else
		return 0;
}