summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/imagetek_i4100.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/imagetek_i4100.h')
-rw-r--r--src/devices/video/imagetek_i4100.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/devices/video/imagetek_i4100.h b/src/devices/video/imagetek_i4100.h
index b55ec20cac4..f94179a5b68 100644
--- a/src/devices/video/imagetek_i4100.h
+++ b/src/devices/video/imagetek_i4100.h
@@ -38,7 +38,8 @@ public:
auto blit_irq_cb() { return m_blit_irq_cb.bind(); }
void set_spriteram_buffered(bool buffer) { m_spriteram_buffered = buffer; }
- uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
+ uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
+ void draw_foreground(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
DECLARE_WRITE_LINE_MEMBER(screen_eof);
protected:
@@ -148,15 +149,15 @@ protected:
DECLARE_WRITE16_MEMBER( screen_ctrl_w );
DECLARE_WRITE16_MEMBER( rombank_w );
- void draw_layers( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int pri );
- inline uint8_t get_tile_pix( uint16_t code, uint8_t x, uint8_t y, bool const big, uint16_t *pix );
- void draw_tilemap( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, uint32_t flags, uint32_t const pcode,
+ void draw_layers( screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect, int pri );
+ inline uint8_t get_tile_pix( uint16_t code, uint8_t x, uint8_t y, bool const big, uint32_t &pix );
+ void draw_tilemap( screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect, uint32_t flags, uint32_t const pcode,
int sx, int sy, int wx, int wy, bool const big, uint16_t const *tilemapram, int const layer );
- void draw_spritegfx(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &clip,
+ void draw_spritegfx(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &clip,
uint32_t const gfxstart, uint16_t const width, uint16_t const height,
uint16_t color, int const flipx, int const flipy, int sx, int sy,
uint32_t const scale, uint8_t const prival );
- void draw_sprites( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect );
+ void draw_sprites( screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect );
void expand_gfx1();
// A 2048 x 2048 virtual tilemap
@@ -180,7 +181,7 @@ public:
// needed by Blazing Tornado / Grand Striker 2 for mixing with PSAC
// (it's unknown how the chip enables external sync)
- uint16_t get_background_pen() { return m_background_color; };
+ uint32_t get_background_pen() { return m_palette->pen(m_background_color); };
void v2_map(address_map &map);
};