ksayakyu.cpp: videoram bit 6 isn't flip Y (nw)

This commit is contained in:
angelosa 2017-04-25 22:15:56 +02:00
parent 15af4432bc
commit d132635438

View File

@ -56,7 +56,8 @@ TILE_GET_INFO_MEMBER(ksayakyu_state::get_ksayakyu_tile_info)
}
/*
xy-- ---- flip bits
x--- ---- flip bits
-y-- ---- unknown, used when runner slides (NOT flip Y!)
--cc cc-- color
---- --bb bank select
*/
@ -64,9 +65,9 @@ TILE_GET_INFO_MEMBER(ksayakyu_state::get_text_tile_info)
{
int code = m_videoram[tile_index * 2 + 1];
int attr = m_videoram[tile_index * 2];
int flags = ((attr & 0x80) ? TILE_FLIPX : 0) | ((attr & 0x40) ? TILE_FLIPY : 0);
int flags = ((attr & 0x80) ? TILE_FLIPX : 0);// | ((attr & 0x40) ? TILE_FLIPY : 0);
int color = (attr & 0x3c) >> 2;
code |= (attr & 3) << 8;
SET_TILE_INFO_MEMBER(0, code, color, flags);