Previous 199869 Revisions Next

r32038 Tuesday 9th September, 2014 at 20:57:48 UTC by Oliver Stöneberg
have a few less tagmap lookups counted (nw)
[src/emu]machine.c

trunk/src/emu/machine.c
r32037r32038
398398      // and out via the exit phase
399399      m_current_phase = MACHINE_PHASE_EXIT;
400400
401#ifdef MAME_DEBUG
402      if (g_tagmap_counter_enabled)
403      {
404         g_tagmap_counter_enabled = false;
405         if (*(options().command()) == 0)
406            osd_printf_info("%d tagmap lookups\n", g_tagmap_finds);
407      }
408#endif
409
401410      // save the NVRAM and configuration
402411      sound().ui_mute(true);
403412      nvram_save();
r32037r32038
436445      error = MAMERR_FATALERROR;
437446   }
438447
448   // make sure our phase is set properly before cleaning up,
449   // in case we got here via exception
450   m_current_phase = MACHINE_PHASE_EXIT;
451
439452#ifdef MAME_DEBUG
440453   if (g_tagmap_counter_enabled)
441454   {
r32037r32038
445458   }
446459#endif
447460
448   // make sure our phase is set properly before cleaning up,
449   // in case we got here via exception
450   m_current_phase = MACHINE_PHASE_EXIT;
451
452461   // call all exit callbacks registered
453462   call_notifiers(MACHINE_NOTIFY_EXIT);
454463   zip_file_cache_clear();

Previous 199869 Revisions Next


© 1997-2024 The MAME Team