From f427a839ce381f0ea030568aa8aa45fa222c068a Mon Sep 17 00:00:00 2001 From: hap Date: Thu, 9 Dec 2021 18:39:49 +0100 Subject: analyst: remove device_config_complete function --- src/devices/bus/saitek_osa/expansion.cpp | 2 +- src/devices/bus/saitek_osa/maestro.cpp | 7 ------- src/devices/bus/saitek_osa/maestro.h | 1 - 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/devices/bus/saitek_osa/expansion.cpp b/src/devices/bus/saitek_osa/expansion.cpp index ba2dc790422..76a4ac6b6cd 100644 --- a/src/devices/bus/saitek_osa/expansion.cpp +++ b/src/devices/bus/saitek_osa/expansion.cpp @@ -75,7 +75,7 @@ void saitekosa_expansion_device::device_add_mconfig(machine_config &config) // optional embedded screen auto &screen(SCREEN(config, "screen", SCREEN_TYPE_LCD)); screen.set_refresh_hz(60); - screen.set_size(99, 16); + screen.set_size(6 * 16 + 3, 16); screen.set_visarea_full(); screen.set_screen_update(FUNC(saitekosa_expansion_device::screen_update)); } diff --git a/src/devices/bus/saitek_osa/maestro.cpp b/src/devices/bus/saitek_osa/maestro.cpp index fc755dd023c..c0b388213c3 100644 --- a/src/devices/bus/saitek_osa/maestro.cpp +++ b/src/devices/bus/saitek_osa/maestro.cpp @@ -226,13 +226,6 @@ void saitekosa_analyst_device::device_add_mconfig(machine_config &config) m_lcd->set_lcd_size(2, 8); } -void saitekosa_analyst_device::device_config_complete() -{ - auto *screen = subdevice("^screen"); - screen->set_size(6 * 16 + 3, 16); - screen->set_visarea_full(); -} - //------------------------------------------------- // internal i/o diff --git a/src/devices/bus/saitek_osa/maestro.h b/src/devices/bus/saitek_osa/maestro.h index 89c580c9ef5..1b79423e424 100644 --- a/src/devices/bus/saitek_osa/maestro.h +++ b/src/devices/bus/saitek_osa/maestro.h @@ -77,7 +77,6 @@ public: protected: virtual const tiny_rom_entry *device_rom_region() const override; virtual void device_add_mconfig(machine_config &config) override; - virtual void device_config_complete() override; private: required_device m_lcd; -- cgit v1.2.3