mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
tatsumi.cpp: fix Apache 3 out of bounds colors for sprites (trees and buildings) [Angelo Salese]
This commit is contained in:
parent
16428d169f
commit
06cf8794c6
@ -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
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user