psikyo.cpp: apply AJR's fix to the bootleg hardware, too (nw)

This commit is contained in:
Ivan Vangelista 2018-04-03 08:31:47 +02:00 committed by GitHub
parent 08db73db57
commit c80846895b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -615,7 +615,8 @@ uint32_t psikyo_state::screen_update_psikyo_bootleg(screen_device &screen, bitma
if (layer_ctrl[layer] & 0x0300) /* per-line rowscroll */
{
int tile_rowscroll = (layer_ctrl[layer] & 0x0200) >> 5; /* per-tile rowscroll */
int tile_rowscroll = (layer_ctrl[layer] & 0x0200) >> 7; /* per-tile rowscroll */
assert(tile_rowscroll == 0 || tile_rowscroll == 4);
if (m_old_linescroll[layer] != (layer_ctrl[layer] & 0x0300))
{
tmptilemap[layer]->set_scroll_rows(tilemap_width(tmsize[layer]) >> tile_rowscroll);