summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/eolith.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/eolith.c')
-rw-r--r--src/mame/video/eolith.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/video/eolith.c b/src/mame/video/eolith.c
index d8fd24fdf66..b3fadaefd24 100644
--- a/src/mame/video/eolith.c
+++ b/src/mame/video/eolith.c
@@ -35,15 +35,14 @@ VIDEO_START_MEMBER(eolith_state,eolith)
m_vram = auto_alloc_array(machine(), UINT32, 0x40000*2/4);
}
-SCREEN_UPDATE_IND16( eolith )
+UINT32 eolith_state::screen_update_eolith(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- eolith_state *state = screen.machine().driver_data<eolith_state>();
int y;
for (y = 0; y < 240; y++)
{
int x;
- UINT32 *src = &state->m_vram[(state->m_buffer ? 0 : 0x10000) | (y * (336 / 2))];
+ UINT32 *src = &m_vram[(m_buffer ? 0 : 0x10000) | (y * (336 / 2))];
UINT16 *dest = &bitmap.pix16(y);
for (x = 0; x < 320; x += 2)