tatsumi.cpp: fix Apache 3 out of bounds colors for sprites (trees and buildings) [Angelo Salese]

This commit is contained in:
angelosa 2018-05-28 01:02:12 +02:00
parent 16428d169f
commit 06cf8794c6
2 changed files with 3 additions and 4 deletions

View File

@ -30,8 +30,6 @@
game uses different sized tilemaps - these are probably software
controlled rather than hardwired, but I don't think either game
changes the size at runtime.
- Apache 3 (Kana): wrong colors for most sprites in city stage (buildings/trees),
checkable in attract mode;
- Split these games into individual drivers, write new devices for video routines.
- Dip switches
- Deviceify HD6445 (superset of 6845)
@ -853,7 +851,7 @@ static const gfx_layout roundup5_vramlayout =
};
static GFXDECODE_START( gfx_apache3 )
GFXDECODE_ENTRY( "sprites", 0, spritelayout, 1024, 128)
GFXDECODE_ENTRY( "sprites", 0, spritelayout, 1024, 256)
GFXDECODE_ENTRY( "text", 0, gfx_8x8x3_planar, 768, 16)
GFXDECODE_END

View File

@ -546,6 +546,7 @@ void tatsumi_state::draw_sprites(_BitmapClass &bitmap, const rectangle &cliprect
lines = src1[2];
y_offset = src1[0]&0xf8;
lines -= y_offset;
render_x = x << 16;
@ -1027,7 +1028,7 @@ if (0) {
uint32_t apache3_state::screen_update_apache3(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
update_cluts(1024, 0, 2048);
update_cluts(1024, 0, 2048+2048);
m_tx_layer->set_scrollx(0,24);