summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2025-05-04 02:28:50 +1000
committer Vas Crabb <vas@vastheman.com>2025-05-04 02:28:50 +1000
commit7838f253bc9dd83a39b51ec6ed033bc93129556b (patch)
tree87e50ac4a3f90a4d9a21c3f96b2d083444983ca8
parent4eba5a95cac868c16a0dbe88aeb9259495371b7c (diff)
misc/acefruit.cpp: Fixed build.
-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()