Пример #1
0
static READ16_HANDLER( guardians_sloop_data_r )
{
	guardians_sloop_tweak(offset);
	if (offset < 0x78000/2)
		return sloop_base[offset];
	else
		return sloop_base[0x78000/2 + sloop_bank * 0x1000 + (offset & 0xfff)];
}
Пример #2
0
static READ16_HANDLER( guardians_sloop_data_r )
{
	atarig42_state *state = space->machine().driver_data<atarig42_state>();
	guardians_sloop_tweak(state, offset);
	if (offset < 0x78000/2)
		return state->m_sloop_base[offset];
	else
		return state->m_sloop_base[0x78000/2 + state->m_sloop_bank * 0x1000 + (offset & 0xfff)];
}
Пример #3
0
static WRITE16_HANDLER( guardians_sloop_data_w )
{
	guardians_sloop_tweak(offset);
}
Пример #4
0
static WRITE16_HANDLER( guardians_sloop_data_w )
{
	atarig42_state *state = space->machine().driver_data<atarig42_state>();
	guardians_sloop_tweak(state, offset);
}