diff --git a/src/devices/video/poly.h b/src/devices/video/poly.h index d61e1bd6137..378e433b269 100644 --- a/src/devices/video/poly.h +++ b/src/devices/video/poly.h @@ -622,6 +622,10 @@ void *poly_manager::work_item_callback(v template void poly_manager::wait(const char *debug_reason) { + // early out if no units outstanding + if (m_unit.count() == 0) + return; + #if TRACK_POLY_WAITS int items = osd_work_queue_items(m_queue); osd_ticks_t time = get_profile_ticks();