Fixed watchdogs when not explicitly specified.

This commit is contained in:
Aaron Giles 2008-02-05 07:45:17 +00:00
parent 7765adf61b
commit 72fbb6a0c4

View File

@ -261,6 +261,7 @@ static void cpuexec_reset(running_machine *machine)
/* set up the watchdog timer; only start off enabled if explicitly configured */
watchdog_enabled = (machine->drv->watchdog_vblank_count != 0 || attotime_compare(machine->drv->watchdog_time, attotime_zero) != 0);
watchdog_reset(machine);
watchdog_enabled = TRUE;
/* first pass over CPUs */
for (cpunum = 0; cpunum < cpu_gettotalcpu(); cpunum++)