summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/video/ondra.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-09-17 15:00:31 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-09-17 15:00:31 +0000
commit5ddbca3e7a2327786fd92cc7443dd84257ba889a (patch)
treef6eb4b827714a8658ea246336342b03d6d7938e0 /src/mess/video/ondra.c
parentf27b07d0822f4ff52b95a1a0143f3c2313ea02ce (diff)
Modernized screen update calls (no whatsnew)
Diffstat (limited to 'src/mess/video/ondra.c')
-rw-r--r--src/mess/video/ondra.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mess/video/ondra.c b/src/mess/video/ondra.c
index 558b99e9f7b..0e1087def14 100644
--- a/src/mess/video/ondra.c
+++ b/src/mess/video/ondra.c
@@ -18,14 +18,13 @@ void ondra_state::video_start()
m_video_enable = 0;
}
-SCREEN_UPDATE_IND16( ondra )
+UINT32 ondra_state::screen_update_ondra(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{
- ondra_state *state = screen.machine().driver_data<ondra_state>();
UINT8 code1,code2;
int y, x, b;
int Vaddr = 0x2800;
- if (state->m_video_enable==1) {
+ if (m_video_enable==1) {
for (x = 0; x < 40; x++)
{
for (y = 127; y >=0; y--)