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/machine/3dom2.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/machine/3dom2.cpp')
-rw-r--r-- | src/mame/machine/3dom2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/3dom2.cpp b/src/mame/machine/3dom2.cpp index 245117ce0d5..c1bf1cec1c5 100644 --- a/src/mame/machine/3dom2.cpp +++ b/src/mame/machine/3dom2.cpp @@ -196,7 +196,7 @@ static void write_m2_reg(uint32_t ®, uint32_t data, m2_reg_wmode mode) case REG_SET: reg |= data; break; case REG_CLEAR: reg &= ~data; break; default: - assert_always(false, "Bad register write mode"); + throw emu_fatalerror("write_m2_reg: Bad register write mode"); } } @@ -1605,7 +1605,7 @@ void m2_cde_device::device_timer(emu_timer &timer, device_timer_id id, int param break; default: - assert_always(false, "Unknown CDE timer ID"); + throw emu_fatalerror("m2_cde_device::device_timer: Unknown CDE timer ID"); } } @@ -1947,7 +1947,7 @@ void m2_cde_device::start_dma(uint32_t ch) if (dma_ch.m_cntl & CDE_DMA_DIRECTION) { // PowerBus to BioBus - assert_always(false, "CDE PowerBus to BioBus DMA currently unsupported"); + throw emu_fatalerror("m2_cde_device::start_dma: CDE PowerBus to BioBus DMA currently unsupported"); } else { |