diff options
author | 2018-10-04 15:07:08 +0200 | |
---|---|---|
committer | 2018-10-04 19:01:32 +0200 | |
commit | 2e8cd56eb2d4e1f6389069fb1e70bc593b32b89d (patch) | |
tree | ae6706cf8828afab091968e770bc41058b2692b2 | |
parent | cd629dce1dc287f05d128c0dbd0e88c003dfa1bd (diff) |
poly.h: initialize m_unit_bucket in constructor (nw)
-rw-r--r-- | src/devices/video/poly.h | 2 |
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)); } |