summaryrefslogtreecommitdiffstats
path: root/src/mess/video/bbc.c
diff options
context:
space:
mode:
authorGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2014-03-15 13:00:23 +0000
committerGravatarGravatar Miodrag Milanovic <mmicko@gmail.com>2014-03-15 13:00:23 +0000
commita66aff27d6ca7657fe729f8a922e8773d601a37a (patch) (github)
tree3835abb43e8ca1388434b8d4541a6276e18daf0e /src/mess/video/bbc.c
parent445c89c839044afed3a09478dbd1cdb77f87cf92 (diff)
downloadmame-a66aff27d6ca7657fe729f8a922e8773d601a37a.tar.bz2
mame-a66aff27d6ca7657fe729f8a922e8773d601a37a.zip
primary_screen -> first_screen() (nw)
Diffstat (limited to 'src/mess/video/bbc.c')
-rw-r--r--src/mess/video/bbc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mess/video/bbc.c b/src/mess/video/bbc.c
index 3b3d10bb25a..c3df043c574 100644
--- a/src/mess/video/bbc.c
+++ b/src/mess/video/bbc.c
@@ -108,13 +108,13 @@ void bbc_state::set_pixel_lookup()
WRITE8_MEMBER(bbc_state::bbc_videoULA_w)
{
// Make sure vpos is never <0 2008-10-11 PHS.
- int vpos=machine().primary_screen->vpos();
+ int vpos=machine().first_screen()->vpos();
if(vpos==0)
- machine().primary_screen->update_partial(vpos);
+ machine().first_screen()->update_partial(vpos);
else
- machine().primary_screen->update_partial(vpos -1 );
+ machine().first_screen()->update_partial(vpos -1 );
- logerror("setting videoULA %.4x to:%.4x at :%d \n",data,offset,machine().primary_screen->vpos() );
+ logerror("setting videoULA %.4x to:%.4x at :%d \n",data,offset,machine().first_screen()->vpos() );
switch (offset&0x01)