summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/driver.cpp')
-rw-r--r--src/emu/driver.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/emu/driver.cpp b/src/emu/driver.cpp
index 846f48c26ef..ceed36bd493 100644
--- a/src/emu/driver.cpp
+++ b/src/emu/driver.cpp
@@ -161,6 +161,27 @@ const tiny_rom_entry *driver_device::device_rom_region() const
//-------------------------------------------------
+// device_add_mconfig - add machine configuration
+//-------------------------------------------------
+
+void driver_device::device_add_mconfig(machine_config &config)
+{
+ m_system->machine_config(config, this, nullptr);
+}
+
+
+//-------------------------------------------------
+// device_input_ports - return a pointer to the
+// game's input ports
+//-------------------------------------------------
+
+ioport_constructor driver_device::device_input_ports() const
+{
+ return m_system->ipt;
+}
+
+
+//-------------------------------------------------
// device_start - device override which calls
// the various helpers
//-------------------------------------------------