diff options
author | 2019-09-20 00:28:19 +1000 | |
---|---|---|
committer | 2019-09-20 00:28:19 +1000 | |
commit | dac7094f3431b8f933497b0c7693e6baeb1bb75c (patch) | |
tree | 1c3dc049110c54d23dc31a1e6c1e8b11fd24e299 /src/mame/audio/snes_snd.cpp | |
parent | cc25024f791747fa17c1f06bd81c482a86aac91b (diff) |
(nw) misc cleanup:
* get rid of most assert_always
* get rid of a few MCFG_*_OVERRIDE
Diffstat (limited to 'src/mame/audio/snes_snd.cpp')
-rw-r--r-- | src/mame/audio/snes_snd.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mame/audio/snes_snd.cpp b/src/mame/audio/snes_snd.cpp index e4f1b91a517..2f8a23f48da 100644 --- a/src/mame/audio/snes_snd.cpp +++ b/src/mame/audio/snes_snd.cpp @@ -240,10 +240,7 @@ inline void snes_sound_device::update_timer_tick(u8 which) void snes_sound_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) { if (id != TIMER_TICK_ID) - { - assert_always(false, "Unknown id in snes_sound_device::device_timer"); - return; - } + throw emu_fatalerror("Unknown id in snes_sound_device::device_timer"); for (int ch = 0; ch < 3; ch++) update_timer_tick(ch); |