diff options
Diffstat (limited to 'src/emu/driver.cpp')
-rw-r--r-- | src/emu/driver.cpp | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/src/emu/driver.cpp b/src/emu/driver.cpp index 6481b2e98a1..415872d4989 100644 --- a/src/emu/driver.cpp +++ b/src/emu/driver.cpp @@ -22,10 +22,10 @@ //------------------------------------------------- driver_device::driver_device(const machine_config &mconfig, device_type type, const char *tag) - : device_t(mconfig, type, tag, nullptr, 0), - m_system(nullptr), - m_flip_screen_x(0), - m_flip_screen_y(0) + : device_t(mconfig, type, tag, nullptr, 0) + , m_system(nullptr) + , m_flip_screen_x(0) + , m_flip_screen_y(0) { } @@ -75,6 +75,27 @@ void driver_device::static_set_callback(device_t &device, callback_type type, dr //------------------------------------------------- +// empty_init - default implementation which +// calls driver init +//------------------------------------------------- + +void driver_device::empty_init() +{ + driver_init(); +} + + +//------------------------------------------------- +// driver_init - default implementation which +// does nothing +//------------------------------------------------- + +void driver_device::driver_init() +{ +} + + +//------------------------------------------------- // driver_start - default implementation which // does nothing //------------------------------------------------- |