Example #1
0
static MACHINE_RESET( mephisto )
{
	mephisto_state *state = machine.driver_data<mephisto_state>();
	state->m_lcd_shift_counter = 3;
	state->m_allowNMI = 1;
	mboard_set_border_pieces();
	mboard_set_board();

/* adjust artwork depending on current emulation*/

	if (!strcmp(machine.system().name,"mm2") )
		output_set_value("MM",1);
	else if (!strcmp(machine.system().name,"mm4") )
		output_set_value("MM",2);
	else if (!strcmp(machine.system().name,"mm4tk") )
		output_set_value("MM",5);
	else if (!strcmp(machine.system().name,"mm5tk") )
		output_set_value("MM",5);
	else if (!strcmp(machine.system().name,"mm5") )
		output_set_value("MM",3);
	else if (!strcmp(machine.system().name,"mm50") )
		output_set_value("MM",3);
	else if (!strcmp(machine.system().name,"rebel5") )
		output_set_value("MM",4);
}
Example #2
0
void mephisto_state::machine_reset()
{
	m_lcd_shift_counter = 3;
	m_allowNMI = 1;
	mboard_set_border_pieces();
	mboard_set_board();

/* adjust artwork depending on current emulation*/

	if (!strcmp(machine().system().name,"mm2") )
		output().set_value("MM",1);
	else if (!strcmp(machine().system().name,"mm4") )
		output().set_value("MM",2);
	else if (!strcmp(machine().system().name,"mm4tk") )
		output().set_value("MM",5);
	else if (!strcmp(machine().system().name,"mm5tk") )
		output().set_value("MM",5);
	else if (!strcmp(machine().system().name,"mm5") )
		output().set_value("MM",3);
	else if (!strcmp(machine().system().name,"mm50") )
		output().set_value("MM",3);
	else if (!strcmp(machine().system().name,"rebel5") )
		output().set_value("MM",4);
}