diff options
author | Nicola Salmoria <nicola@mamedev.org> | 2008-04-07 08:51:40 +0000 |
---|---|---|
committer | Nicola Salmoria <nicola@mamedev.org> | 2008-04-07 08:51:40 +0000 |
commit | af9f5d75c18469217571185eec718f977a7c82c3 (patch) | |
tree | 7883224b32a8769edd973613bda613b2de31a926 | |
parent | e0c1c7a07eed6008922d732aecb61ee7a349b62c (diff) |
01253: topsecrt: There are gray tiles around the title in the original pcb and the bootleg too.
-rw-r--r-- | src/mame/drivers/bionicc.c | 1 | ||||
-rw-r--r-- | src/mame/video/bionicc.c | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/bionicc.c b/src/mame/drivers/bionicc.c index a5ffd81d19f..f5ebf75d4f0 100644 --- a/src/mame/drivers/bionicc.c +++ b/src/mame/drivers/bionicc.c @@ -26,6 +26,7 @@ Note: These issues have been verified on a real PCB and are not emulation bugs: - sprite / background priority ( see level 1: birds walk through branches of different trees ) - see the beginning of level 3: background screwed + - gray tiles around the title in Top Secret ToDo: - get rid of input port hack diff --git a/src/mame/video/bionicc.c b/src/mame/video/bionicc.c index b1ec09f751e..b9ad108c861 100644 --- a/src/mame/video/bionicc.c +++ b/src/mame/video/bionicc.c @@ -93,9 +93,9 @@ static TILE_GET_INFO( get_tx_tile_info ) VIDEO_START( bionicc ) { - tx_tilemap = tilemap_create(get_tx_tile_info,tilemap_scan_rows, 8,8,32,32); - fg_tilemap = tilemap_create(get_fg_tile_info,tilemap_scan_rows, 16,16,64,64); - bg_tilemap = tilemap_create(get_bg_tile_info,tilemap_scan_rows, 8,8,64,64); + tx_tilemap = tilemap_create(get_tx_tile_info,tilemap_scan_rows, 8, 8,32,32); + fg_tilemap = tilemap_create(get_fg_tile_info,tilemap_scan_rows,16,16,64,64); + bg_tilemap = tilemap_create(get_bg_tile_info,tilemap_scan_rows, 8, 8,64,64); tilemap_set_transparent_pen(tx_tilemap,3); tilemap_set_transmask(fg_tilemap,0,0xffff,0x8000); /* split type 0 is completely transparent in front half */ @@ -219,7 +219,7 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta VIDEO_UPDATE( bionicc ) { - fillbitmap(bitmap,0,cliprect); + fillbitmap(bitmap,get_black_pen(screen->machine),cliprect); tilemap_draw(bitmap,cliprect,fg_tilemap,1|TILEMAP_DRAW_LAYER1,0); /* nothing in FRONT */ tilemap_draw(bitmap,cliprect,bg_tilemap,0,0); tilemap_draw(bitmap,cliprect,fg_tilemap,0|TILEMAP_DRAW_LAYER1,0); |