summaryrefslogtreecommitdiffstats
path: root/src/mess/video/bbc.c
diff options
context:
space:
mode:
authorGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2012-10-03 09:27:22 +0000
committerGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2012-10-03 09:27:22 +0000
commite52d60b7f8ce03e5c1f8c801fd5caa234b3aa3cf (patch)
treebe8ce4af035c60e33f580cf3a983cc3c9b684c75 /src/mess/video/bbc.c
parent92b1c4eebd358d5138fc51662daead09f4a4c72e (diff)
downloadmame-e52d60b7f8ce03e5c1f8c801fd5caa234b3aa3cf.tar.xz
mame-e52d60b7f8ce03e5c1f8c801fd5caa234b3aa3cf.zip
Replace some *_DEVICE_HANDLER with _MEMBER calls in MESS section (no whatsnew)
Diffstat (limited to 'src/mess/video/bbc.c')
-rw-r--r--src/mess/video/bbc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mess/video/bbc.c b/src/mess/video/bbc.c
index 18688fc56b1..b420703cfb5 100644
--- a/src/mess/video/bbc.c
+++ b/src/mess/video/bbc.c
@@ -276,10 +276,9 @@ static MC6845_UPDATE_ROW( vid_update_row )
}
}
-static WRITE_LINE_DEVICE_HANDLER( bbc_vsync )
+WRITE_LINE_MEMBER(bbc_state::bbc_vsync)
{
- bbc_state *bstate = device->machine().driver_data<bbc_state>();
- bstate->m_trom->dew_w(state);
+ m_trom->dew_w(state);
}
@@ -293,7 +292,7 @@ const mc6845_interface bbc_mc6845_intf =
DEVCB_NULL, /* on_de_changed */
DEVCB_NULL, /* on_cur_changed */
DEVCB_NULL, /* on_hsync_changed */
- DEVCB_LINE(bbc_vsync), /* on_vsync_changed */
+ DEVCB_DRIVER_LINE_MEMBER(bbc_state,bbc_vsync), /* on_vsync_changed */
NULL
};