diff options
Diffstat (limited to 'src/devices/sound/tiaintf.cpp')
-rw-r--r-- | src/devices/sound/tiaintf.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/sound/tiaintf.cpp b/src/devices/sound/tiaintf.cpp index 9df0166ca86..da0f0c27759 100644 --- a/src/devices/sound/tiaintf.cpp +++ b/src/devices/sound/tiaintf.cpp @@ -33,7 +33,8 @@ void tia_device::device_start() { m_channel = stream_alloc(0, 1, clock()); m_chip = tia_sound_init(this, clock(), clock(), 16); - assert_always(m_chip != nullptr, "Error creating TIA chip"); + if (!m_chip) + throw emu_fatalerror("tia_device(%s): Error creating TIA chip", tag()); } |