summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/machine.lua
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2025-08-31 04:54:10 +1000
committer Vas Crabb <vas@vastheman.com>2025-08-31 04:54:10 +1000
commita17c87d7e5c6c635cdeedb1a7d6d2d5b8fca556c (patch)
treed8c230d6a1cc5456b89cda6360d21746b90460f7 /scripts/src/machine.lua
parent345f8de2a272f116a5d0d5094ae5b154fe6f275f (diff)
Tidied various things, added side effect checks for some reads.
Diffstat (limited to 'scripts/src/machine.lua')
-rw-r--r--scripts/src/machine.lua36
1 files changed, 24 insertions, 12 deletions
diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua
index 87732d0df8d..7619769a554 100644
--- a/scripts/src/machine.lua
+++ b/scripts/src/machine.lua
@@ -3388,6 +3388,30 @@ end
---------------------------------------------------
--
+--@src/devices/machine/sega_md_ioport.h,MACHINES["SEGA_MD_IOPORT"] = true
+---------------------------------------------------
+
+if (BUSES["SEGA_MD_IOPORT"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/sega_md_ioport.cpp",
+ MAME_DIR .. "src/devices/machine/sega_md_ioport.h",
+ }
+end
+
+---------------------------------------------------
+--
+--@src/devices/machine/sega_scu.h,MACHINES["SEGA_SCU"] = true
+---------------------------------------------------
+
+if (MACHINES["SEGA_SCU"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/machine/sega_scu.cpp",
+ MAME_DIR .. "src/devices/machine/sega_scu.h",
+ }
+end
+
+---------------------------------------------------
+--
--@src/devices/machine/sensorboard.h,MACHINES["SENSORBOARD"] = true
---------------------------------------------------
@@ -3424,18 +3448,6 @@ end
---------------------------------------------------
--
---@src/devices/machine/sega_scu.h,MACHINES["SEGA_SCU"] = true
----------------------------------------------------
-
-if (MACHINES["SEGA_SCU"]~=null) then
- files {
- MAME_DIR .. "src/devices/machine/sega_scu.cpp",
- MAME_DIR .. "src/devices/machine/sega_scu.h",
- }
-end
-
----------------------------------------------------
---
--@src/devices/machine/spg2xx.h,MACHINES["SPG2XX"] = true
--@src/devices/machine/spg110.h,MACHINES["SPG2XX"] = true
--@src/devices/machine/generalplus_gpl16250soc.h,MACHINES["SPG2XX"] = true