diff options
Diffstat (limited to 'src/mame/video/stic.cpp')
-rw-r--r-- | src/mame/video/stic.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/video/stic.cpp b/src/mame/video/stic.cpp index ea768f5f76c..8914e5c13ea 100644 --- a/src/mame/video/stic.cpp +++ b/src/mame/video/stic.cpp @@ -379,7 +379,7 @@ -DEFINE_DEVICE_TYPE(STIC, stic_device, "stic", "STIC (Standard Television Interface Chip) Video Chip"); +DEFINE_DEVICE_TYPE(STIC, stic_device, "stic", "AY-3-8900-1 STIC"); //------------------------------------------------- // stic_device - constructor @@ -387,6 +387,7 @@ DEFINE_DEVICE_TYPE(STIC, stic_device, "stic", "STIC (Standard Television Interfa stic_device::stic_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, STIC, tag, owner, clock), + device_video_interface(mconfig, *this), m_grom(*this, "grom"), m_x_scale(1), m_y_scale(1) @@ -408,7 +409,7 @@ stic_device::~stic_device() void stic_device::device_start() { - machine().first_screen()->register_screen_bitmap(m_bitmap); + screen().register_screen_bitmap(m_bitmap); save_item(NAME(m_stic_registers)); save_item(NAME(m_gramdirty)); |