cgang: small fix with boss spotlight (nw)

This commit is contained in:
hap 2019-12-18 23:30:12 +01:00
parent 9619b223fb
commit 0934035e6f
2 changed files with 14 additions and 7 deletions

View file

@ -551,8 +551,7 @@ WRITE8_MEMBER(cgang_state::spot_w)
// d0-d2: ufo boss spotlights
// d3-d7: cosmo spotlights
// it strobes them for dimming
for (int i = 0; i < 8; i++)
m_spot->matrix(1, data);
m_spot->matrix(1, data);
}
WRITE8_MEMBER(cgang_state::ppi5_a_w)

View file

@ -136,11 +136,11 @@
</element>
<element name="spotr" defstate="0">
<rect state="0"><color red="0.2" green="0.0" blue="0.0" /></rect>
<rect state="1"><color red="0.3" green="0.0" blue="0.0" /></rect>
<rect state="2"><color red="0.4" green="0.0" blue="0.0" /></rect>
<rect state="3"><color red="0.5" green="0.0" blue="0.0" /></rect>
<rect state="4"><color red="0.6" green="0.0" blue="0.0" /></rect>
<rect state="0"><color red="0.22" green="0.0" blue="0.0" /></rect>
<rect state="1"><color red="0.29" green="0.0" blue="0.0" /></rect>
<rect state="2"><color red="0.36" green="0.0" blue="0.0" /></rect>
<rect state="3"><color red="0.43" green="0.0" blue="0.0" /></rect>
<rect state="4"><color red="0.5" green="0.0" blue="0.0" /></rect>
</element>
<element name="leda" defstate="0">
@ -485,6 +485,14 @@
<element name="spot_lamp0" ref="spotr"><bounds x="31.0" y="82.5" width="8.5" height="3" /></element>
<element name="spot_lamp1" ref="spotr"><bounds x="28.166" y="82.5" width="5.666" height="3" /></element>
<element name="spot_lamp2" ref="spotr"><bounds x="25.9" y="82.5" width="3.4" height="3" /></element>
<element name="spot_lamp1" ref="spotr" blend="add"><bounds x="25.9" y="82.5" width="3.4" height="3" /></element>
<element ref="black"><bounds x="25.9" y="82.5" width="3.4" height="3" /><color alpha="0.5" /></element>
<element name="spot_lamp1" ref="spotr"><bounds x="32.7" y="82.5" width="3.4" height="3" /></element>
<element name="spot_lamp0" ref="spotr" blend="add"><bounds x="32.7" y="82.5" width="3.4" height="3" /></element>
<element ref="black"><bounds x="32.7" y="82.5" width="3.4" height="3" /><color alpha="0.5" /></element>
<repeat count="8">
<param name="x" start="23.5" increment="2" />
<param name="i" start="0" increment="1" />