summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/orca40c.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/orca40c.h')
-rw-r--r--src/mame/video/orca40c.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/mame/video/orca40c.h b/src/mame/video/orca40c.h
index 4bef1695096..25f333f230e 100644
--- a/src/mame/video/orca40c.h
+++ b/src/mame/video/orca40c.h
@@ -22,7 +22,7 @@
// ======================> orca_ovg_40c_device
-class orca_ovg_40c_device : public device_t, public device_gfx_interface
+class orca_ovg_40c_device : public device_t, public device_gfx_interface, public device_video_interface
{
public:
// construction/destruction
@@ -40,6 +40,7 @@ public:
protected:
// device-level overrides
virtual void device_start() override;
+ virtual void device_config_complete() override;
virtual void device_add_mconfig(machine_config &config) override;
private:
@@ -50,9 +51,6 @@ private:
required_shared_ptr<uint8_t> m_spriteram;
required_shared_ptr<uint8_t> m_bulletsram;
- // devices
- required_device<palette_device> m_palette;
-
// configuration
bool m_percuss_hardware;
@@ -70,9 +68,9 @@ private:
void palette_init(palette_device &palette);
// drawing control
- void draw_bullets(bitmap_ind16 &bitmap, const rectangle &cliprect);
- void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
- uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ void draw_bullets(bitmap_rgb32 &bitmap, const rectangle &cliprect);
+ void draw_sprites(bitmap_rgb32 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
};
// device type definition