mirror of
https://github.com/holub/mame
synced 2025-05-09 15:51:48 +03:00
running an unavailable game with discrete sound would crash mame on exit because m_queue was uninitialized (still crashes on debug build tho?)
This commit is contained in:
parent
edef6e8203
commit
79c1cfc1e0
@ -888,7 +888,10 @@ discrete_sound_device::discrete_sound_device(running_machine &_machine, const di
|
||||
|
||||
discrete_device::~discrete_device(void)
|
||||
{
|
||||
osd_work_queue_free(m_queue);
|
||||
if (m_queue)
|
||||
{
|
||||
osd_work_queue_free(m_queue);
|
||||
}
|
||||
|
||||
if (m_profiling)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user