mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
netlist.cpp: Fix a crash if an exception happened during validation.
This commit is contained in:
parent
ffb37e9ae8
commit
af3118d0f1
@ -1086,7 +1086,8 @@ void netlist_mame_device::device_reset()
|
||||
void netlist_mame_device::device_stop()
|
||||
{
|
||||
LOGDEVCALLS("device_stop\n");
|
||||
netlist().exec().stop();
|
||||
if (m_netlist)
|
||||
m_netlist->exec().stop();
|
||||
}
|
||||
|
||||
void netlist_mame_device::device_post_load()
|
||||
|
Loading…
Reference in New Issue
Block a user