diff options
author | angelosa <salese_corp_ltd@email.it> | 2017-04-25 22:15:56 +0200 |
---|---|---|
committer | angelosa <salese_corp_ltd@email.it> | 2017-04-25 22:16:38 +0200 |
commit | d132635438914c9e0ff8c989c8ef6237f98e55b8 (patch) | |
tree | b9029675cba9232a84b7f00506518003bde0abe3 | |
parent | 15af4432bcc25ad1a0e4e6de4e35a2981c322aa5 (diff) |
ksayakyu.cpp: videoram bit 6 isn't flip Y (nw)
-rw-r--r-- | src/mame/video/ksayakyu.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/video/ksayakyu.cpp b/src/mame/video/ksayakyu.cpp index 0894ca23257..bd143d13772 100644 --- a/src/mame/video/ksayakyu.cpp +++ b/src/mame/video/ksayakyu.cpp @@ -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); |