Previous 199869 Revisions Next

r20055 Friday 4th January, 2013 at 06:00:48 UTC by hap
get rid of "from the next row", it also broke cocktail mode
[src/mame/video]blueprnt.c

trunk/src/mame/video/blueprnt.c
r20054r20055
5656{
5757   m_colorram[offset] = data;
5858   m_bg_tilemap->mark_tile_dirty(offset);
59
60   offset+=32;
61   offset &=0x3ff;
62   m_bg_tilemap->mark_tile_dirty(offset);
6359}
6460
6561WRITE8_MEMBER(blueprnt_state::blueprnt_flipscreen_w)
r20054r20055
8884// or flipscreen after startup...  this certainly doesn't work for 'Saturn'
8985TILE_GET_INFO_MEMBER(blueprnt_state::get_bg_tile_info_grasspin)
9086{
91   int attr = m_colorram[tile_index] & 0x3f;
92   attr |= m_colorram[(tile_index+32)&0x3ff] & 0xc0;  // from the next row?
93
94
87   int attr = m_colorram[tile_index];
9588   int code = m_videoram[tile_index];
96
97
9889   int color = attr & 0x7f;
9990
10091   tileinfo.category = (attr & 0x80) ? 1 : 0;
92   if ((attr & 0x40)) code += 0x100;
10193
102   if ((attr & 0x40)) code  += m_gfx_bank * 0x100;
103   else code &=0xff;
104   
10594   SET_TILE_INFO_MEMBER(0, code, color, 0);
10695}
10796

Previous 199869 Revisions Next


© 1997-2024 The MAME Team