From dafe4d8e22d41a6d2f79c1d1d076ca1a18291401 Mon Sep 17 00:00:00 2001 From: AJR Date: Sat, 30 Apr 2016 16:31:47 -0400 Subject: Make watchdog timer a separate device - Separate watchdog implementation from running_machine (once again) and driver_device - Old-style methods, now hidden behind #ifdefs, will probably be safe to remove soon --- scripts/src/machine.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'scripts/src/machine.lua') diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua index 6e97e4a1423..49e0eee98ec 100644 --- a/scripts/src/machine.lua +++ b/scripts/src/machine.lua @@ -2797,7 +2797,7 @@ end --------------------------------------------------- -- ---@src/devices/machine/gen_latch.h,MACHINES["GEN_LATCH] = true +--@src/devices/machine/gen_latch.h,MACHINES["GEN_LATCH"] = true --------------------------------------------------- if (MACHINES["GEN_LATCH"]~=null) then @@ -2819,3 +2819,15 @@ if (MACHINES["FDC_PLL"]~=null) then } end +--------------------------------------------------- +-- +--@src/devices/machine/watchdog.h,MACHINES["WATCHDOG"] = true +--------------------------------------------------- + +if (MACHINES["WATCHDOG"]~=null) then + files { + MAME_DIR .. "src/devices/machine/watchdog.cpp", + MAME_DIR .. "src/devices/machine/watchdog.h", + } +end + -- cgit v1.2.3-70-g09d2