trunk/src/emu/machine.c
| r32038 | r32039 | |
| 479 | 479 | // if we're executing, abort out immediately |
| 480 | 480 | m_scheduler.eat_all_cycles(); |
| 481 | 481 | |
| 482 | #ifdef MAME_DEBUG |
| 483 | if (g_tagmap_counter_enabled) |
| 484 | { |
| 485 | g_tagmap_counter_enabled = false; |
| 486 | if (*(options().command()) == 0) |
| 487 | osd_printf_info("%d tagmap lookups\n", g_tagmap_finds); |
| 488 | } |
| 489 | #endif |
| 490 | |
| 482 | 491 | // if we're autosaving on exit, schedule a save as well |
| 483 | 492 | if (options().autosave() && (m_system.flags & GAME_SUPPORTS_SAVE) && this->time() > attotime::zero) |
| 484 | 493 | schedule_save("auto"); |
trunk/src/emu/video.c
| r32038 | r32039 | |
| 1028 | 1028 | // if we're past the "time-to-execute" requested, signal an exit |
| 1029 | 1029 | if (m_seconds_to_run != 0 && emutime.seconds >= m_seconds_to_run) |
| 1030 | 1030 | { |
| 1031 | #ifdef MAME_DEBUG |
| 1032 | if (g_tagmap_counter_enabled) |
| 1033 | { |
| 1034 | g_tagmap_counter_enabled = false; |
| 1035 | if (*(machine().options().command()) == 0) |
| 1036 | osd_printf_info("%d tagmap lookups\n", g_tagmap_finds); |
| 1037 | } |
| 1038 | #endif |
| 1039 | |
| 1031 | 1040 | if (machine().first_screen() != NULL) |
| 1032 | 1041 | { |
| 1033 | 1042 | // create a final screenshot |