diff options
author | hap <happppp@users.noreply.github.com> | 2021-08-16 14:23:29 +0200 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2021-08-16 14:23:45 +0200 |
commit | 09c8b65820577c0fc6f3936ed351ef858cf693ab (patch) | |
tree | 918a7c1de4b5b1018a51e1a582e55dcb5eb92259 /src/devices | |
parent | 0e1b8aa3facbd8c3ea8de7e5a4e55b70fb565009 (diff) |
saitek_osa: prevent init order issue
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/bus/saitek_osa/maestro.cpp | 3 | ||||
-rw-r--r-- | src/devices/bus/saitek_osa/maestro.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/bus/saitek_osa/maestro.cpp b/src/devices/bus/saitek_osa/maestro.cpp index 6e9353ec1d9..fc755dd023c 100644 --- a/src/devices/bus/saitek_osa/maestro.cpp +++ b/src/devices/bus/saitek_osa/maestro.cpp @@ -224,7 +224,10 @@ void saitekosa_analyst_device::device_add_mconfig(machine_config &config) // video hardware HD44780(config, m_lcd, 0); m_lcd->set_lcd_size(2, 8); +} +void saitekosa_analyst_device::device_config_complete() +{ auto *screen = subdevice<screen_device>("^screen"); screen->set_size(6 * 16 + 3, 16); screen->set_visarea_full(); diff --git a/src/devices/bus/saitek_osa/maestro.h b/src/devices/bus/saitek_osa/maestro.h index b5739789af8..fee4b497d03 100644 --- a/src/devices/bus/saitek_osa/maestro.h +++ b/src/devices/bus/saitek_osa/maestro.h @@ -72,6 +72,7 @@ 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<hd44780_device> m_lcd; |