summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-04-18 14:08:54 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-04-18 14:08:54 +0200
commitc47bd3a9370dde25764b2153c235f6c57acaacda (patch)
tree8a85b614de608dc3294c4f59df20bb74d6e177ad /scripts
parent8a07dafbafd614e9d060b827e2e0a49185e284ba (diff)
Added generic latch to replace soundlatch in driver_device (nw)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/src/machine.lua12
-rw-r--r--scripts/target/mame/arcade.lua1
-rw-r--r--scripts/target/mame/mess.lua1
3 files changed, 14 insertions, 0 deletions
diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua
index 4499f93ef1f..b364535e3c1 100644
--- a/scripts/src/machine.lua
+++ b/scripts/src/machine.lua
@@ -2750,3 +2750,15 @@ if (MACHINES["GENPC"]~=null) then
MAME_DIR .. "src/devices/machine/genpc.h",
}
end
+
+---------------------------------------------------
+--
+--@src/devices/machine/gen_latch.h,MACHINES["GEN_LATCH] = true
+---------------------------------------------------
+
+if (MACHINES["GEN_LATCH"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/gen_latch.cpp",
+ MAME_DIR .. "src/devices/machine/gen_latch.h",
+ }
+end
diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua
index c662d17658f..252cf594be1 100644
--- a/scripts/target/mame/arcade.lua
+++ b/scripts/target/mame/arcade.lua
@@ -566,6 +566,7 @@ MACHINES["STEPPERS"] = true
MACHINES["PCI9050"] = true
--MACHINES["TMS1024"] = true
MACHINES["GENPC"] = true
+MACHINES["GEN_LATCH"] = true
--------------------------------------------------
-- specify available bus cores
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index 9101b913f36..93039ee80bd 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -574,6 +574,7 @@ MACHINES["TMS1024"] = true
MACHINES["NSC810"] = true
MACHINES["VT82C496"] = true
MACHINES["GENPC"] = true
+MACHINES["GEN_LATCH"] = true
--------------------------------------------------
-- specify available bus cores