summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/driver.h')
-rw-r--r--src/emu/driver.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/emu/driver.h b/src/emu/driver.h
index d4216325ce7..5711012188e 100644
--- a/src/emu/driver.h
+++ b/src/emu/driver.h
@@ -121,8 +121,8 @@ public:
void set_game_driver(const game_driver &game);
static void static_set_callback(device_t &device, callback_type type, driver_callback_delegate callback);
- // dummy driver_init callbacks
- void init_0() { }
+ // dummy driver_init callback
+ void empty_init();
// memory helpers
address_space &generic_space() const { return machine().dummy_space(); }
@@ -161,6 +161,8 @@ public:
// generic input port helpers
DECLARE_CUSTOM_INPUT_MEMBER( custom_port_read );
+ virtual void driver_init();
+
protected:
// helpers called at startup
virtual void driver_start();
@@ -194,8 +196,8 @@ private:
void updateflip();
// internal state
- const game_driver * m_system; // pointer to the game driver
- driver_callback_delegate m_callbacks[CB_COUNT]; // start/reset callbacks
+ const game_driver *m_system; // pointer to the game driver
+ driver_callback_delegate m_callbacks[CB_COUNT]; // start/reset callbacks
// generic video
u8 m_flip_screen_x;