mirror of
https://github.com/holub/mame
synced 2025-06-02 02:49:44 +03:00
no sparkles after all, prev avg commit whatsnew report should be ignored
This commit is contained in:
parent
728e00bc44
commit
0ed9039b08
@ -834,16 +834,12 @@ static int tempest_strobe2(vgdata *vg)
|
|||||||
{
|
{
|
||||||
if ((OP2 == 0) && (vg->dvy12 == 0))
|
if ((OP2 == 0) && (vg->dvy12 == 0))
|
||||||
{
|
{
|
||||||
|
/* Contrary to previous documentation in MAME,
|
||||||
|
Tempest does not have the vg->enspkl bit. */
|
||||||
if (vg->dvy & 0x800)
|
if (vg->dvy & 0x800)
|
||||||
{
|
|
||||||
vg->color = vg->dvy & 0xf;
|
vg->color = vg->dvy & 0xf;
|
||||||
vg->enspkl = 0;
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
|
||||||
vg->intensity = (vg->dvy >> 4) & 0xf;
|
vg->intensity = (vg->dvy >> 4) & 0xf;
|
||||||
vg->enspkl = 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return avg_common_strobe2(vg);
|
return avg_common_strobe2(vg);
|
||||||
@ -966,14 +962,7 @@ static int tempest_strobe3(vgdata *vg)
|
|||||||
|
|
||||||
if ((vg->op & 5) == 0)
|
if ((vg->op & 5) == 0)
|
||||||
{
|
{
|
||||||
if (vg->enspkl)
|
data = tempest_colorram[vg->color];
|
||||||
{
|
|
||||||
/* exact pseudorandom sparkle generation is unknown */
|
|
||||||
data = mame_rand(vg->machine) & 0xf;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
data = tempest_colorram[vg->color];
|
|
||||||
|
|
||||||
bit3 = (~data >> 3) & 1;
|
bit3 = (~data >> 3) & 1;
|
||||||
bit2 = (~data >> 2) & 1;
|
bit2 = (~data >> 2) & 1;
|
||||||
bit1 = (~data >> 1) & 1;
|
bit1 = (~data >> 1) & 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user