Esempio n. 1
0
void mame_schedule_exit(void)
{
	exit_pending = TRUE;

	/* if we're autosaving on exit, schedule a save as well */
	if (options.auto_save && (Machine->gamedrv->flags & GAME_SUPPORTS_SAVE))
		mame_schedule_save(Machine->gamedrv->name);
}
Esempio n. 2
0
void mame_schedule_exit(running_machine *machine)
{
	mame_private *mame = machine->mame_data;
	mame->exit_pending = TRUE;

	/* if we're autosaving on exit, schedule a save as well */
	if (options.auto_save && (machine->gamedrv->flags & GAME_SUPPORTS_SAVE))
		mame_schedule_save(machine, machine->gamedrv->name);
}