summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author yz70s <yz70s@users.noreply.github.com>2018-10-04 15:07:08 +0200
committer yz70s <yz70s@users.noreply.github.com>2018-10-04 19:01:32 +0200
commit2e8cd56eb2d4e1f6389069fb1e70bc593b32b89d (patch)
treeae6706cf8828afab091968e770bc41058b2692b2
parentcd629dce1dc287f05d128c0dbd0e88c003dfa1bd (diff)
poly.h: initialize m_unit_bucket in constructor (nw)
-rw-r--r--src/devices/video/poly.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/video/poly.h b/src/devices/video/poly.h
index 1b8130ceca0..c619c50c2a1 100644
--- a/src/devices/video/poly.h
+++ b/src/devices/video/poly.h
@@ -323,6 +323,8 @@ poly_manager<_BaseType, _ObjectData, _MaxParams, _MaxPolys>::poly_manager(runnin
if (!(flags & FLAG_NO_WORK_QUEUE))
m_queue = osd_work_queue_alloc(WORK_QUEUE_FLAG_MULTI | WORK_QUEUE_FLAG_HIGH_FREQ);
+ memset(m_unit_bucket, 0xff, sizeof(m_unit_bucket));
+
// request a pre-save callback for synchronization
machine.save().register_presave(save_prepost_delegate(FUNC(poly_manager::presave), this));
}