示例#1
0
static WRITE8_HANDLER( orbit_misc_w )
{
	orbit_state *state = space->machine().driver_data<orbit_state>();
	UINT8 bit = offset >> 1;

	if (offset & 1)
		update_misc_flags(space->machine(), state->m_misc_flags | (1 << bit));
	else
		update_misc_flags(space->machine(), state->m_misc_flags & ~(1 << bit));
}
示例#2
0
static WRITE8_HANDLER( orbit_misc_w )
{
	orbit_state *state = (orbit_state *)space->machine->driver_data;
	UINT8 bit = offset >> 1;

	if (offset & 1)
		update_misc_flags(space->machine, state->misc_flags | (1 << bit));
	else
		update_misc_flags(space->machine, state->misc_flags & ~(1 << bit));
}
示例#3
0
static MACHINE_RESET( orbit )
{
	orbit_state *state = machine.driver_data<orbit_state>();

	update_misc_flags(machine, 0);
	state->m_flip_screen = 0;
}
示例#4
0
static MACHINE_RESET( orbit )
{
	orbit_state *state = (orbit_state *)machine->driver_data;

	update_misc_flags(machine, 0);
	state->flip_screen = 0;
}