diff options
Diffstat (limited to 'src/mame/video/k054156_k054157_k056832.cpp')
-rw-r--r-- | src/mame/video/k054156_k054157_k056832.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/video/k054156_k054157_k056832.cpp b/src/mame/video/k054156_k054157_k056832.cpp index f530599da4d..81193cfa2a5 100644 --- a/src/mame/video/k054156_k054157_k056832.cpp +++ b/src/mame/video/k054156_k054157_k056832.cpp @@ -479,6 +479,7 @@ void k056832_device::get_tile_info( tile_data &tileinfo, int tile_index, int pa const struct K056832_SHIFTMASKS *smptr; int layer, flip, fbits, attr, code, color, flags; + int priority = 0 uint16_t *pMem; pMem = &m_videoram[(pageIndex << 12) + (tile_index << 1)]; @@ -505,12 +506,13 @@ void k056832_device::get_tile_info( tile_data &tileinfo, int tile_index, int pa color = (attr & smptr->palm1) | (attr >> smptr->pals2 & smptr->palm2); flags = TILE_FLIPYX(flip); - m_k056832_cb(layer, &code, &color, &flags); + m_k056832_cb(layer, &code, &color, &flags, &priority); SET_TILE_INFO_MEMBER(m_gfx_num, code, color, flags); + tileinfo.category = priority; } |