monty, microvision: blend mode was backwards (nw)

This commit is contained in:
hap 2020-05-09 11:19:01 +02:00
parent d4be2312f5
commit 63e83c7f43
5 changed files with 10 additions and 14 deletions

View File

@ -129,7 +129,7 @@ void diablo_state::machine_start()
void diablo_state::lcd_palette(palette_device &palette) const
{
palette.set_pen_color(0, rgb_t(138, 146, 148)); // background
palette.set_pen_color(1, rgb_t(92, 83, 88)); // lcd pixel on
palette.set_pen_color(1, rgb_t(51, 42, 43)); // lcd pixel on
palette.set_pen_color(2, rgb_t(131, 136, 139)); // lcd pixel off
}

View File

@ -197,7 +197,7 @@ void sforte_state::machine_start()
void sexpert_state::lcd_palette(palette_device &palette) const
{
palette.set_pen_color(0, rgb_t(138, 146, 148)); // background
palette.set_pen_color(1, rgb_t(92, 83, 88)); // lcd pixel on
palette.set_pen_color(1, rgb_t(51, 42, 43)); // lcd pixel on
palette.set_pen_color(2, rgb_t(131, 136, 139)); // lcd pixel off
}

View File

@ -6,9 +6,8 @@ license:CC0
<!-- define elements -->
<element name="lcdb"><rect><color red="1" green="1" blue="1" /></rect></element>
<element name="lcdm"><rect><color red="0.76" green="0.75" blue="0.71" /></rect></element>
<element name="lcda"><rect><color red="0.22" green="0.2" blue="0.38" /></rect></element> <!-- blue tint -->
<element name="lcdb"><rect><color red="0.59" green="0.60" blue="0.44" /></rect></element>
<element name="lcda"><rect><color red="0.17" green="0.15" blue="0.27" /></rect></element> <!-- blue tint -->
<element name="nothing" defstate="0"><text string=" "/></element>
<element name="text_p1"><text string="PADDLE:" align="2"><color red="0.1" green="0.1" blue="0.1" /></text></element>
@ -25,7 +24,7 @@ license:CC0
<bounds left="0" right="18" top="0" bottom="18" />
<element ref="lcdb"><bounds x="0" y="0" width="18" height="18" /></element>
<screen index="0"><bounds x="1" y="1" width="16" height="16" /></screen>
<screen index="0" blend="multiply"><bounds x="1" y="1" width="16" height="16" /></screen>
<!-- draw the grid -->
<repeat count="17">
@ -35,7 +34,6 @@ license:CC0
</repeat>
<element ref="lcda" blend="add"><bounds x="0" y="0" width="18" height="18" /></element>
<element ref="lcdm" blend="multiply"><bounds x="0" y="0" width="18" height="18" /></element>
<!-- show paddle position -->
<element ref="text_p1" blend="add"><bounds x="10.75" y="0.1" width="5" height="0.75" /></element>

View File

@ -6,9 +6,8 @@ license:CC0
<!-- define elements -->
<element name="lcdb"><rect><color red="1" green="1" blue="1" /></rect></element>
<element name="lcdm"><rect><color red="0.54" green="0.57" blue="0.58" /></rect></element>
<element name="lcda"><rect><color red="0.38" green="0.29" blue="0.28" /></rect></element>
<element name="lcdb"><rect><color red="0.37" green="0.42" blue="0.43" /></rect></element>
<element name="lcda"><rect><color red="0.17" green="0.15" blue="0.15" /></rect></element>
<!-- build screen -->
@ -17,9 +16,8 @@ license:CC0
<bounds left="0" right="59" top="0" bottom="35" />
<element ref="lcdb"><bounds x="0" y="0" width="59" height="35" /></element>
<screen index="0"><bounds x="5" y="1" width="49" height="33" /></screen>
<screen index="0" blend="multiply"><bounds x="5" y="1" width="49" height="33" /></screen>
<element ref="lcda" blend="add"><bounds x="0" y="0" width="59" height="35" /></element>
<element ref="lcdm" blend="multiply"><bounds x="0" y="0" width="59" height="35" /></element>
</view>
</mamelayout>

View File

@ -59,8 +59,8 @@ void mephisto_display_module2_device::device_add_mconfig(machine_config &config)
void mephisto_display_module2_device::lcd_palette(palette_device &palette) const
{
palette.set_pen_color(0, rgb_t(138, 146, 148));
palette.set_pen_color(1, rgb_t(92, 83, 88));
palette.set_pen_color(0, rgb_t(138, 146, 148)); // background
palette.set_pen_color(1, rgb_t(51, 42, 43)); // lcd pixel on
}