ksayakyu.cpp: videoram bit 6 isn't flip Y (nw)
This commit is contained in:
parent
15af4432bc
commit
d132635438
@ -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
|
--cc cc-- color
|
||||||
---- --bb bank select
|
---- --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 code = m_videoram[tile_index * 2 + 1];
|
||||||
int attr = m_videoram[tile_index * 2];
|
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;
|
int color = (attr & 0x3c) >> 2;
|
||||||
|
|
||||||
code |= (attr & 3) << 8;
|
code |= (attr & 3) << 8;
|
||||||
|
|
||||||
SET_TILE_INFO_MEMBER(0, code, color, flags);
|
SET_TILE_INFO_MEMBER(0, code, color, flags);
|
||||||
|
Loading…
Reference in New Issue
Block a user