diff options
Diffstat (limited to 'src/emu/driver.cpp')
-rw-r--r-- | src/emu/driver.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/emu/driver.cpp b/src/emu/driver.cpp index 51b6b629544..79bef6a1c14 100644 --- a/src/emu/driver.cpp +++ b/src/emu/driver.cpp @@ -22,7 +22,7 @@ //------------------------------------------------- driver_device::driver_device(const machine_config &mconfig, device_type type, const char *tag) - : device_t(mconfig, type, "Driver Device", tag, nullptr, 0, "", __FILE__), + : device_t(mconfig, type, tag, nullptr, 0), m_system(nullptr), m_flip_screen_x(0), m_flip_screen_y(0) @@ -51,12 +51,6 @@ void driver_device::static_set_game(device_t &device, const game_driver &game) // set the system driver.m_system = &game; - // set the short name to the game's name - driver.m_shortname = game.name; - - // set the full name to the game's description - driver.m_name = game.description; - // and set the search path to include all parents driver.m_searchpath = game.name; for (int parent = driver_list::clone(game); parent != -1; parent = driver_list::clone(parent)) @@ -190,8 +184,7 @@ void driver_device::device_start() throw device_missing_dependencies(); // call the game-specific init - if (m_system->driver_init != nullptr) - (*m_system->driver_init)(machine()); + m_system->driver_init(machine()); // finish image devices init process machine().image().postdevice_init(); |