mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
poly.h: initialize m_unit_bucket in constructor (nw)
This commit is contained in:
parent
cd629dce1d
commit
2e8cd56eb2
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user