summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2022-06-14 10:50:20 +0200
committer Olivier Galibert <galibert@pobox.com>2022-06-14 12:07:55 +0200
commite76d23fc73a4ebb66959dc7b7c7f79ad6b0dcde1 (patch)
treed0bec988955f924167dac1fade448c8d2347406c
parent58650bd6812a92dfcfd8fa5bc6e225b34d4aa479 (diff)
saa7191: Move to devices/machine too
-rw-r--r--scripts/src/machine.lua11
-rw-r--r--scripts/target/mame/mess.lua3
-rw-r--r--src/devices/machine/saa7191.cpp (renamed from src/mame/machine/saa7191.cpp)0
-rw-r--r--src/devices/machine/saa7191.h (renamed from src/mame/machine/saa7191.h)0
4 files changed, 12 insertions, 2 deletions
diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua
index 344d06b9ecc..60fd77428dd 100644
--- a/scripts/src/machine.lua
+++ b/scripts/src/machine.lua
@@ -5017,3 +5017,14 @@ if (MACHINES["AT_MB"]~=null) then
MAME_DIR .. "src/devices/machine/at.h",
}
end
+
+---------------------------------------------------
+--
+--@src/devices/machine/saa7191.h,MACHINES["SAA7191"] = true
+---------------------------------------------------
+if (MACHINES["SAA7191"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/saa7191.cpp",
+ MAME_DIR .. "src/devices/machine/saa7191.h",
+ }
+end
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index d55f3b8928e..f3a49bbc59e 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -840,6 +840,7 @@ MACHINES["FM_SCSI"] = true
MACHINES["ARCHIMEDES_KEYB"] = true
MACHINES["CAMMU"] = true
MACHINES["AT_MB"] = true
+MACHINES["SAA7191"] = true
--------------------------------------------------
-- specify available bus cores
@@ -3734,8 +3735,6 @@ files {
MAME_DIR .. "src/mame/drivers/octane.cpp",
MAME_DIR .. "src/mame/machine/vino.cpp",
MAME_DIR .. "src/mame/machine/vino.h",
- MAME_DIR .. "src/mame/machine/saa7191.cpp",
- MAME_DIR .. "src/mame/machine/saa7191.h",
MAME_DIR .. "src/mame/machine/sgi.cpp",
MAME_DIR .. "src/mame/machine/sgi.h",
MAME_DIR .. "src/mame/machine/hal2.cpp",
diff --git a/src/mame/machine/saa7191.cpp b/src/devices/machine/saa7191.cpp
index a879506e84b..a879506e84b 100644
--- a/src/mame/machine/saa7191.cpp
+++ b/src/devices/machine/saa7191.cpp
diff --git a/src/mame/machine/saa7191.h b/src/devices/machine/saa7191.h
index 907edfdc3b0..907edfdc3b0 100644
--- a/src/mame/machine/saa7191.h
+++ b/src/devices/machine/saa7191.h