mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
Stop save and load logging timers unless VERBOSE is set. [smf]
This commit is contained in:
parent
f28df852dd
commit
b09a842ff6
@ -654,8 +654,10 @@ void device_scheduler::timed_trigger(void *ptr, s32 param)
|
||||
void device_scheduler::presave()
|
||||
{
|
||||
// report the timer state after a log
|
||||
machine().logerror("Prior to saving state:\n");
|
||||
LOG(("Prior to saving state:\n"));
|
||||
#if VERBOSE
|
||||
dump_timers();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@ -689,8 +691,10 @@ void device_scheduler::postload()
|
||||
rebuild_execute_list();
|
||||
|
||||
// report the timer state after a log
|
||||
machine().logerror("After resetting/reordering timers:\n");
|
||||
LOG(("After resetting/reordering timers:\n"));
|
||||
#if VERBOSE
|
||||
dump_timers();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user