summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/mame/misc/acefruit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/misc/acefruit.cpp b/src/mame/misc/acefruit.cpp
index 88aca1e8c11..2202ab7620d 100644
--- a/src/mame/misc/acefruit.cpp
+++ b/src/mame/misc/acefruit.cpp
@@ -111,9 +111,9 @@ TIMER_CALLBACK_MEMBER(acefruit_state::refresh_tick)
m_screen->update_partial(vpos);
update_irq(vpos);
- vpos = ((vpos / 8) + 1) * 8;
+ const int next_vpos = ((vpos / 8) + 1) * 8;
- m_refresh_timer->adjust(m_screen->time_until_pos(vpos));
+ m_refresh_timer->adjust(m_screen->time_until_pos(next_vpos));
}
void acefruit_state::machine_start()