From 9365f389d18e46c454808526df2d6c2870e20298 Mon Sep 17 00:00:00 2001 From: AJR Date: Sat, 19 Jan 2019 01:14:15 -0500 Subject: [PATCH] mc6847: Tidying up (nw) --- src/devices/video/mc6847.cpp | 4 +++- src/devices/video/mc6847.h | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/devices/video/mc6847.cpp b/src/devices/video/mc6847.cpp index 6ed11f8328e..4ef156632b0 100644 --- a/src/devices/video/mc6847.cpp +++ b/src/devices/video/mc6847.cpp @@ -577,7 +577,9 @@ void mc6847_base_device::setup_fixed_mode() //------------------------------------------------- -// device_config_complete - device-specific startup +// device_config_complete - perform any +// operations now that the configuration is +// complete //------------------------------------------------- void mc6847_base_device::device_config_complete() diff --git a/src/devices/video/mc6847.h b/src/devices/video/mc6847.h index 8a6cf0c6463..b9e8e02ed4c 100644 --- a/src/devices/video/mc6847.h +++ b/src/devices/video/mc6847.h @@ -51,8 +51,6 @@ public: bool hs_r() const { return m_horizontal_sync; } bool fs_r() const { return m_field_sync; } - template devcb_base &set_hsync_wr_callback(Object &&cb) { return m_write_hsync.set_callback(std::forward(cb)); } - template devcb_base &set_fsync_wr_callback(Object &&cb) { return m_write_fsync.set_callback(std::forward(cb)); } auto hsync_wr_callback() { return m_write_hsync.bind(); } auto fsync_wr_callback() { return m_write_fsync.bind(); } @@ -490,7 +488,6 @@ private: class mc6847_base_device : public mc6847_friend_device { public: - template devcb_base &set_input_callback(Object &&cb) { return m_input_cb.set_callback(std::forward(cb)); } auto input_callback() { return m_input_cb.bind(); } void set_get_fixed_mode(uint8_t mode) { m_fixed_mode = mode; }