diff options
author | Olivier Galibert <galibert@pobox.com> | 2015-01-28 22:42:21 +0100 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2015-01-28 22:41:12 +0100 |
commit | 543b88729de0939549d37e151c9a065a7d856187 (patch) | |
tree | f48a5cce381f547830678f294e7caba7a1e3318d | |
parent | 4426bb21d6c397642dd5687283a4a17255db5ae1 (diff) |
Sometimes it's not a cpu core bug ;-) (nw)
-rw-r--r-- | src/mess/drivers/c65.c | 6 |
1 files 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;y<m_screen->height();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); } |