mirror of
https://github.com/holub/mame
synced 2025-05-29 00:53:09 +03:00
prosport: fixed tile flip y (in golf game)
This commit is contained in:
parent
d94a805ab4
commit
00d8b29d9c
@ -82,11 +82,17 @@ static TILE_GET_INFO( prosport_get_back_tile_info )
|
|||||||
{
|
{
|
||||||
int tile;
|
int tile;
|
||||||
|
|
||||||
/* TODO: bits 0-3 are used and there's an unimplemented per-tile flip y / +0x10 tile banking, understand where. */
|
/*
|
||||||
|
robiza notes:
|
||||||
|
- flip y (handled with a +0x10 tile banking) depends only by position of the tile in the screen
|
||||||
|
- bits 0-3 are not used by gfx hardware; the value is the color of the pixel in the map (golf)
|
||||||
|
*/
|
||||||
|
|
||||||
tile = (prosport_bg_vram[tile_index] & 0xf0)>>4;
|
tile = (prosport_bg_vram[tile_index] & 0xf0)>>4;
|
||||||
// if(!(tile & 0x08)) { tile+=0x10; }
|
|
||||||
tile+= deco16_io_ram[0]&0x20; //Pro Bowling bg tiles banking bit
|
if (tile_index & 0x8) tile += 0x10;
|
||||||
|
|
||||||
|
tile += deco16_io_ram[0]&0x20; //Pro Bowling bg tiles banking bit
|
||||||
|
|
||||||
SET_TILE_INFO(8, tile, 0, 0);
|
SET_TILE_INFO(8, tile, 0, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user