mirror of
https://github.com/holub/mame
synced 2025-07-03 09:06:08 +03:00
Fixed MT 02710 [Robbbert]
This commit is contained in:
parent
95c00f8c65
commit
2faf483330
@ -193,18 +193,27 @@ UINT32 astinvad_state::screen_update_astinvad(screen_device &screen, bitmap_rgb3
|
||||
UINT32 astinvad_state::screen_update_spaceint(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
|
||||
{
|
||||
const UINT8 *color_prom = memregion("proms")->base();
|
||||
int offs;
|
||||
offs_t offs,n;
|
||||
UINT8 x,y,data,color;
|
||||
|
||||
for (offs = 0; offs < m_videoram.bytes(); offs++)
|
||||
{
|
||||
UINT8 data = m_videoram[offs];
|
||||
UINT8 color = m_colorram[offs];
|
||||
data = m_videoram[offs];
|
||||
color = m_colorram[offs];
|
||||
|
||||
UINT8 y = ~offs;
|
||||
UINT8 x = offs >> 8 << 3;
|
||||
if (m_screen_flip)
|
||||
{
|
||||
y = offs;
|
||||
x = ~offs >> 8 << 3;
|
||||
}
|
||||
else
|
||||
{
|
||||
y = ~offs;
|
||||
x = offs >> 8 << 3;
|
||||
}
|
||||
|
||||
/* this is almost certainly wrong */
|
||||
offs_t n = ((offs >> 5) & 0xf0) | color;
|
||||
n = ((offs >> 5) & 0xf0) | color;
|
||||
color = color_prom[n] & 0x07;
|
||||
|
||||
plot_byte(machine(), bitmap, y, x, data, color);
|
||||
|
Loading…
Reference in New Issue
Block a user