diff options
Diffstat (limited to 'src/devices/sound/3526intf.cpp')
-rw-r--r-- | src/devices/sound/3526intf.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/sound/3526intf.cpp b/src/devices/sound/3526intf.cpp index 2418b9e65a1..dd81b0d7eb0 100644 --- a/src/devices/sound/3526intf.cpp +++ b/src/devices/sound/3526intf.cpp @@ -82,7 +82,8 @@ void ym3526_device::device_start() /* stream system initialize */ m_chip = ym3526_init(this, clock(), rate); - assert_always(m_chip != nullptr, "Error creating YM3526 chip"); + if (!m_chip) + throw emu_fatalerror("ym3526_device(%s): Error creating YM3526 chip", tag()); calculate_rates(); |