From 543b88729de0939549d37e151c9a065a7d856187 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Wed, 28 Jan 2015 22:42:21 +0100 Subject: Sometimes it's not a cpu core bug ;-) (nw) --- src/mess/drivers/c65.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mess/drivers/c65.c b/src/mess/drivers/c65.c index 0fc0aa1c088..88c500c8375 100644 --- a/src/mess/drivers/c65.c +++ b/src/mess/drivers/c65.c @@ -111,7 +111,7 @@ int c65_state::inner_y_char(int yoffs) UINT32 c65_state::screen_update( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect ) { int y,x; - int border_color = (m_VIC2_EXTColor-1) & 0xf; // TODO: -1!? + int border_color = m_VIC2_EXTColor & 0xf; // TODO: border area for(y=0;yheight();y++) @@ -215,13 +215,13 @@ WRITE8_MEMBER(c65_state::PalRed_w) WRITE8_MEMBER(c65_state::PalGreen_w) { - m_palblue[offset] = data; + m_palgreen[offset] = data; PalEntryFlush(offset); } WRITE8_MEMBER(c65_state::PalBlue_w) { - m_palgreen[offset] = data; + m_palblue[offset] = data; PalEntryFlush(offset); } -- cgit v1.2.3