diff options
author | 2016-04-30 16:31:47 -0400 | |
---|---|---|
committer | 2016-04-30 16:39:27 -0400 | |
commit | dafe4d8e22d41a6d2f79c1d1d076ca1a18291401 (patch) | |
tree | 11a27122fbf7a667498a60c1270443e6c75c4e27 /scripts/src/machine.lua | |
parent | a717ba24ede14435f1c4f0dd15f76b2812db27b7 (diff) |
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
Diffstat (limited to 'scripts/src/machine.lua')
-rw-r--r-- | scripts/src/machine.lua | 14 |
1 files changed, 13 insertions, 1 deletions
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 + |