summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/cischeat.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-08-27 05:47:36 +1000
committer Vas Crabb <vas@vastheman.com>2016-08-27 05:47:36 +1000
commitea3ff966732b30c0350022e64005a4c3cfa232ed (patch)
treef7dcccdcf089555caa4f38d5ac174a075bc95d5d /src/mame/drivers/cischeat.cpp
parentdb48502ecbf882a0d4558d440a16803b1365f17d (diff)
More prep for removing pointer/reference duality (nw)
Diffstat (limited to 'src/mame/drivers/cischeat.cpp')
-rw-r--r--src/mame/drivers/cischeat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/cischeat.cpp b/src/mame/drivers/cischeat.cpp
index c116effd6d0..4ca173f82b7 100644
--- a/src/mame/drivers/cischeat.cpp
+++ b/src/mame/drivers/cischeat.cpp
@@ -573,7 +573,7 @@ void cischeat_state::captflag_motor_move(int side, UINT16 data)
{
UINT16 & pos = m_captflag_motor_pos[side];
- timer_device & dev = ((side == RIGHT) ? m_captflag_motor_right : m_captflag_motor_left);
+ timer_device &dev((side == RIGHT) ? *m_captflag_motor_right : *m_captflag_motor_left);
// bool busy = !(dev.time_left() == attotime::never);
bool busy = false;