summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/ps2timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/ps2timer.cpp')
-rw-r--r--src/mame/machine/ps2timer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mame/machine/ps2timer.cpp b/src/mame/machine/ps2timer.cpp
index 2ba6668715d..ec3d6bb5f37 100644
--- a/src/mame/machine/ps2timer.cpp
+++ b/src/mame/machine/ps2timer.cpp
@@ -130,6 +130,7 @@ void ps2_timer_device::update_count()
{
m_elapsed_time -= attotime::from_ticks(ticks, frequency);
m_count += ticks;
+ m_count &= 0xffff;
}
}