summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/hd66421.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/hd66421.h')
-rw-r--r--src/devices/video/hd66421.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/video/hd66421.h b/src/devices/video/hd66421.h
index 3be6de49536..331f91e12e2 100644
--- a/src/devices/video/hd66421.h
+++ b/src/devices/video/hd66421.h
@@ -41,14 +41,13 @@ public:
DECLARE_WRITE8_MEMBER( reg_idx_w );
DECLARE_READ8_MEMBER( reg_dat_r );
DECLARE_WRITE8_MEMBER( reg_dat_w );
- DECLARE_PALETTE_INIT(hd66421);
uint32_t update_screen(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
protected:
// device-level overrides
virtual void device_start() override;
- virtual machine_config_constructor device_mconfig_additions() const override;
+ virtual void device_add_mconfig(machine_config &config) override;
// device_config_memory_interface overrides
virtual const address_space_config *memory_space_config(address_spacenum spacenum = AS_0) const override;
@@ -65,6 +64,8 @@ private:
uint8_t m_cmd, m_reg[32];
int m_x, m_y;
required_device<palette_device> m_palette;
+
+ DECLARE_PALETTE_INIT(hd66421);
};