From 4c48a72cd11869719fa50fd777cde3a68979eace Mon Sep 17 00:00:00 2001 From: Robbbert Date: Thu, 19 Dec 2013 12:24:39 +0000 Subject: (MESS) bbc : added back the cursor Note: in mode 7 (default), it's the text which is out of position. --- src/mess/video/bbc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/mess/video/bbc.c b/src/mess/video/bbc.c index 2c0f29ee522..7cc7301f24c 100644 --- a/src/mess/video/bbc.c +++ b/src/mess/video/bbc.c @@ -198,7 +198,7 @@ static MC6845_UPDATE_ROW( vid_update_row ) state->m_trom->tr6_w(1); state->m_trom->tr6_w(0); - int col=state->m_trom->get_rgb(); + int col=state->m_trom->get_rgb() ^ ((x_pos==cursor_x) ? 7 : 0); int r = BIT(col, 0) * 0xff; int g = BIT(col, 1) * 0xff; @@ -230,7 +230,7 @@ static MC6845_UPDATE_ROW( vid_update_row ) for(int pixelno=0;pixelnom_pixels_per_byte;pixelno++) { - int col=state->m_videoULA_pallet_lookup[state->m_pixel_bits[i]]; + int col=state->m_videoULA_pallet_lookup[state->m_pixel_bits[i]] ^ ((x_pos==cursor_x) ? 7 : 0); bitmap.pix32(y, (x_pos*state->m_pixels_per_byte)+pixelno)=palette[col]; i=(i<<1)|1; } -- cgit v1.2.3