summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/huc6260.h
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2017-05-24 17:19:07 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2017-05-24 17:19:07 +0200
commit0832b6e2be4be218981a80c13a255bfa237fa1b1 (patch)
tree12cf09199ebf357b46ed80c99827e0e8e96a1601 /src/devices/video/huc6260.h
parenta1e83106ad0943aff288b91e8daa9c8bf3151e0e (diff)
updated devices/video devices to use device_add_mconfig insted of device_mconfig_additions (nw)
Diffstat (limited to 'src/devices/video/huc6260.h')
-rw-r--r--src/devices/video/huc6260.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/video/huc6260.h b/src/devices/video/huc6260.h
index c560f3df0f1..a863a05d762 100644
--- a/src/devices/video/huc6260.h
+++ b/src/devices/video/huc6260.h
@@ -47,7 +47,6 @@ public:
void video_update(bitmap_ind16 &bitmap, const rectangle &cliprect);
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
- DECLARE_PALETTE_INIT(huc6260);
READ8_MEMBER(palette_direct_read);
WRITE8_MEMBER(palette_direct_write);
@@ -57,14 +56,13 @@ protected:
virtual void device_start() override;
virtual void device_reset() override;
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
- virtual machine_config_constructor device_mconfig_additions() const override;
+ virtual void device_add_mconfig(machine_config &config) override;
private:
int m_last_h;
int m_last_v;
int m_height;
- /* callbacks */
/* Callback function to retrieve pixel data */
devcb_read16 m_next_pixel_data_cb;
@@ -88,6 +86,8 @@ private:
emu_timer *m_timer;
std::unique_ptr<bitmap_ind16> m_bmp;
+
+ DECLARE_PALETTE_INIT(huc6260);
};