diff options
Diffstat (limited to 'src/devices/sound/262intf.cpp')
-rw-r--r-- | src/devices/sound/262intf.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/sound/262intf.cpp b/src/devices/sound/262intf.cpp index 0de5e274ca9..f2aee977b30 100644 --- a/src/devices/sound/262intf.cpp +++ b/src/devices/sound/262intf.cpp @@ -78,7 +78,8 @@ void ymf262_device::device_start() /* stream system initialize */ m_chip = ymf262_init(this,clock(),rate); - assert_always(m_chip != nullptr, "Error creating YMF262 chip"); + if (!m_chip) + throw emu_fatalerror("ymf262_device(%s): Error creating YMF262 chip", tag()); m_stream = machine().sound().stream_alloc(*this,0,4,rate); |