diff options
author | Vas Crabb <vas@vastheman.com> | 2019-02-19 20:19:15 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2019-02-19 20:19:15 +1100 |
commit | 798368509692350152e06a5c4eedce05b1bac7ca (patch) | |
tree | ddcdb7186df66795ffb3fb9335bbd8b41ca88d0a /src/mame/drivers/pc9801.cpp | |
parent | 4f049026f6c76f531f6bd1faeaa06d1d97db274b (diff) |
(nw) clean up trivial stuff - the device delegate boilerplate is ugly, I will address it ASAP
Diffstat (limited to 'src/mame/drivers/pc9801.cpp')
-rw-r--r-- | src/mame/drivers/pc9801.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/pc9801.cpp b/src/mame/drivers/pc9801.cpp index eb7e2be3743..08cfafde863 100644 --- a/src/mame/drivers/pc9801.cpp +++ b/src/mame/drivers/pc9801.cpp @@ -2367,12 +2367,12 @@ void pc9801_state::pc9801_common(machine_config &config) UPD7220(config, m_hgdc1, 21.0526_MHz_XTAL / 8); m_hgdc1->set_addrmap(0, &pc9801_state::upd7220_1_map); - m_hgdc1->set_draw_text_callback(FUNC(pc9801_state::hgdc_draw_text), this); + m_hgdc1->set_draw_text(FUNC(pc9801_state::hgdc_draw_text)); m_hgdc1->vsync_wr_callback().set(m_hgdc2, FUNC(upd7220_device::ext_sync_w)); UPD7220(config, m_hgdc2, 21.0526_MHz_XTAL / 8); m_hgdc2->set_addrmap(0, &pc9801_state::upd7220_2_map); - m_hgdc2->set_display_pixels_callback(FUNC(pc9801_state::hgdc_display_pixels), this); + m_hgdc2->set_display_pixels(FUNC(pc9801_state::hgdc_display_pixels)); SPEAKER(config, "mono").front_center(); |