コード例 #1
0
ファイル: mame.c プロジェクト: joolswills/advancemame
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);
}
コード例 #2
0
ファイル: mame.c プロジェクト: broftkd/mess-cvs
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);
}