summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src
diff options
context:
space:
mode:
author David Haywood <davidhaywood@users.noreply.github.com>2017-10-20 01:43:09 +0100
committer Vas Crabb <cuavas@users.noreply.github.com>2017-10-20 12:14:23 +1100
commitb8feed79290f0a6e347416db31f6dc0e765fc244 (patch)
tree52c548d0a2079f1ed46f1e4761315715dcbac4b1 /scripts/src
parent3cfd826defe785deaff78daa01c7c53514658bde (diff)
use slot device for gamate cartridge slot, do protection handling there (it's a mapper chip in the cartridge)
protection handled etc. written from scratch based on notes from Kevtris and Peter banking in the slot system seems somewhat archaic compared to proper modern banking, but this is how all other drivers I saw using slot roms did it.
Diffstat (limited to 'scripts/src')
-rw-r--r--scripts/src/bus.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua
index 65bd0e0de03..29605ec7213 100644
--- a/scripts/src/bus.lua
+++ b/scripts/src/bus.lua
@@ -739,6 +739,23 @@ end
---------------------------------------------------
--
+--@src/devices/bus/gamate/slot.h,BUSES["GAMATE"] = true
+---------------------------------------------------
+
+if (BUSES["GAMATE"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/bus/gamate/slot.cpp",
+ MAME_DIR .. "src/devices/bus/gamate/slot.h",
+ MAME_DIR .. "src/devices/bus/gamate/rom.cpp",
+ MAME_DIR .. "src/devices/bus/gamate/rom.h",
+ MAME_DIR .. "src/devices/bus/gamate/gamate_protection.cpp",
+ MAME_DIR .. "src/devices/bus/gamate/gamate_protection.h",
+ }
+end
+
+
+---------------------------------------------------
+--
--@src/devices/bus/hp_hil/hp_hil.h,BUSES["HPHIL"] = true
---------------------------------------------------