summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/emu/cpuexec.c6
-rw-r--r--src/emu/watchdog.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/cpuexec.c b/src/emu/cpuexec.c
index ac37f108220..b6745891e59 100644
--- a/src/emu/cpuexec.c
+++ b/src/emu/cpuexec.c
@@ -969,12 +969,12 @@ static void cpu_inittimers(running_machine *machine)
interleave_boost_timer = timer_alloc(NULL, NULL);
interleave_boost_timer_end = timer_alloc(end_interleave_boost, NULL);
- /* register the interrupt handercallbacks */
+ /* register the interrupt handler callbacks */
for (cpunum = 0; cpunum < cpu_gettotalcpu(); cpunum++)
{
const cpu_config *config = machine->config->cpu + cpunum;
- /* screen specific VBLANK callbacks */
+ /* VBLANK interrupts */
if (config->vblank_interrupts_per_frame > 0)
{
const char *screen_tag;
@@ -1000,7 +1000,7 @@ static void cpu_inittimers(running_machine *machine)
video_screen_register_vbl_cb(machine, screen, on_vblank);
}
- /* periodic interrupt timer */
+ /* periodic interrupts */
if (config->timed_interrupt_period != 0)
{
attotime timedint_period = attotime_make(0, config->timed_interrupt_period);
diff --git a/src/emu/watchdog.c b/src/emu/watchdog.c
index 3242df13b68..676f68225b7 100644
--- a/src/emu/watchdog.c
+++ b/src/emu/watchdog.c
@@ -46,8 +46,8 @@ void watchdog_init(running_machine *machine)
/* save some stuff in the default tag */
state_save_push_tag(0);
- state_save_register_item("cpu", 0, watchdog_enabled);
- state_save_register_item("cpu", 0, watchdog_counter);
+ state_save_register_item("watchdog", 0, watchdog_enabled);
+ state_save_register_item("watchdog", 0, watchdog_counter);
state_save_pop_tag();
}