static void SetTilemapVideoram( int offset, UINT16 newword ) { mTilemapInfo.videoram[offset] = newword; if( offset<0x4000 ) { mTilemapInfo.tmap[offset>>12]->mark_tile_dirty(offset&0xfff); }
void k052109_device::write(offs_t offset, u8 data) { if ((offset & 0x1fff) < 0x1800) /* tilemap RAM */ { if (offset >= 0x4000) m_has_extra_video_ram = 1; /* kludge for X-Men */ m_ram[offset] = data; m_tilemap[(offset & 0x1800) >> 11]->mark_tile_dirty(offset & 0x7ff); } else /* control registers */ {