summaryrefslogtreecommitdiffstats
path: root/src/devices/sound/ymz280b.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/ymz280b.cpp')
-rw-r--r--src/devices/sound/ymz280b.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/ymz280b.cpp b/src/devices/sound/ymz280b.cpp
index 1ab3cd9b6a9..0b182509fb5 100644
--- a/src/devices/sound/ymz280b.cpp
+++ b/src/devices/sound/ymz280b.cpp
@@ -636,7 +636,7 @@ void ymz280b_device::device_reset()
m_ext_mem_address = 0;
/* clear other voice parameters */
- for (auto & elem : m_voice)
+ for (auto &elem : m_voice)
{
struct YMZ280BVoice *voice = &elem;
@@ -653,7 +653,7 @@ void ymz280b_device::device_timer(emu_timer &timer, device_timer_id id, int para
if (id < 8)
update_irq_state_timer_common( id );
else
- assert_always(false, "Unknown id in ymz280b_device::device_timer");
+ throw emu_fatalerror("Unknown id in ymz280b_device::device_timer");
}