summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/vectrex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/vectrex.cpp')
-rw-r--r--src/mame/machine/vectrex.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/machine/vectrex.cpp b/src/mame/machine/vectrex.cpp
index dda048384f4..55b6c072f98 100644
--- a/src/mame/machine/vectrex.cpp
+++ b/src/mame/machine/vectrex.cpp
@@ -103,7 +103,7 @@ void vectrex_state::vectrex_configuration()
switch ((cport >> 2) & 0x07)
{
case 0x00:
- m_imager_colors[0] = m_imager_colors[1] = m_imager_colors[2] = rgb_t::black;
+ m_imager_colors[0] = m_imager_colors[1] = m_imager_colors[2] = rgb_t::black();
break;
case 0x01:
m_imager_colors[0] = m_imager_colors[1] = m_imager_colors[2] = VC_DARKRED;
@@ -133,7 +133,7 @@ void vectrex_state::vectrex_configuration()
switch ((cport >> 5) & 0x07)
{
case 0x00:
- m_imager_colors[3] = m_imager_colors[4] = m_imager_colors[5] = rgb_t::black;
+ m_imager_colors[3] = m_imager_colors[4] = m_imager_colors[5] = rgb_t::black();
break;
case 0x01:
m_imager_colors[3] = m_imager_colors[4] = m_imager_colors[5] = VC_DARKRED;
@@ -162,8 +162,8 @@ void vectrex_state::vectrex_configuration()
else
{
vector_add_point_function = &vectrex_state::vectrex_add_point;
- m_beam_color = rgb_t::white;
- m_imager_colors[0] = m_imager_colors[1] = m_imager_colors[2] = m_imager_colors[3] = m_imager_colors[4] = m_imager_colors[5] = rgb_t::white;
+ m_beam_color = rgb_t::white();
+ m_imager_colors[0] = m_imager_colors[1] = m_imager_colors[2] = m_imager_colors[3] = m_imager_colors[4] = m_imager_colors[5] = rgb_t::white();
}
m_lightpen_port = m_io_lpenconf->read() & 0x03;
}
@@ -302,9 +302,9 @@ WRITE8_MEMBER(vectrex_state::vectrex_psg_port_w)
DRIVER_INIT_MEMBER(vectrex_state,vectrex)
{
m_imager_angles = unknown_game_angles;
- m_beam_color = rgb_t::white;
+ m_beam_color = rgb_t::white();
for (auto & elem : m_imager_colors)
- elem = rgb_t::white;
+ elem = rgb_t::white();
/*
* Minestorm's PRNG doesn't work with a 0 seed (mines in the first