mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
ym2203: Avoid crash if MAME fatalerrors
This commit is contained in:
parent
11875e315f
commit
459dd62d39
@ -111,7 +111,8 @@ void ym2203_device::calculate_rates()
|
||||
|
||||
void ym2203_device::device_stop()
|
||||
{
|
||||
ym2203_shutdown(m_chip);
|
||||
if (m_chip)
|
||||
ym2203_shutdown(m_chip);
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user