diff options
author | Ivan Vangelista <mesgnet@yahoo.it> | 2020-06-29 23:17:24 +0200 |
---|---|---|
committer | Ivan Vangelista <mesgnet@yahoo.it> | 2020-06-29 23:17:24 +0200 |
commit | ed39da783d416c2ff776935a5dec9dd5bb3606ce (patch) | |
tree | 7e0b239640132cf5fe122c339516112ed5af88bb /src/devices | |
parent | 1b3322edc39ee2f0d9f8f233f7887c3f1d9501a6 (diff) |
various devices and drivers: removed superfluous semicolons (nw)
Diffstat (limited to 'src/devices')
26 files changed, 38 insertions, 38 deletions
diff --git a/src/devices/bus/ieee488/hp9122c.h b/src/devices/bus/ieee488/hp9122c.h index 1456502b235..0c2d4854251 100644 --- a/src/devices/bus/ieee488/hp9122c.h +++ b/src/devices/bus/ieee488/hp9122c.h @@ -109,9 +109,9 @@ private: DECLARE_WRITE_LINE_MEMBER(fdc_intrq_w); DECLARE_WRITE_LINE_MEMBER(fdc_drq_w); - void cmd_w(uint8_t data);; + void cmd_w(uint8_t data); uint8_t status_r(); - void clridx_w(uint8_t data);; + void clridx_w(uint8_t data); void cpu_map(address_map &map); diff --git a/src/devices/bus/megadrive/md_slot.cpp b/src/devices/bus/megadrive/md_slot.cpp index e90a4510e2f..5a793f7495a 100644 --- a/src/devices/bus/megadrive/md_slot.cpp +++ b/src/devices/bus/megadrive/md_slot.cpp @@ -1033,8 +1033,8 @@ void base_md_cart_slot_device::file_logging(uint8_t *ROM8, uint32_t rom_len, uin rom_start = (ROM8[0x1a1] << 24 | ROM8[0x1a0] << 16 | ROM8[0x1a3] << 8 | ROM8[0x1a2]); rom_end = (ROM8[0x1a5] << 24 | ROM8[0x1a4] << 16 | ROM8[0x1a7] << 8 | ROM8[0x1a6]); - ram_start = (ROM8[0x1a9] << 24 | ROM8[0x1a8] << 16 | ROM8[0x1ab] << 8 | ROM8[0x1aa]);; - ram_end = (ROM8[0x1ad] << 24 | ROM8[0x1ac] << 16 | ROM8[0x1af] << 8 | ROM8[0x1ae]);; + ram_start = (ROM8[0x1a9] << 24 | ROM8[0x1a8] << 16 | ROM8[0x1ab] << 8 | ROM8[0x1aa]); + ram_end = (ROM8[0x1ad] << 24 | ROM8[0x1ac] << 16 | ROM8[0x1af] << 8 | ROM8[0x1ae]); if (ROM8[0x1b1] == 'R' && ROM8[0x1b0] == 'A') { valid_sram = true; diff --git a/src/devices/bus/msx_slot/fs4600.cpp b/src/devices/bus/msx_slot/fs4600.cpp index a7470fc2a78..0f328985f6f 100644 --- a/src/devices/bus/msx_slot/fs4600.cpp +++ b/src/devices/bus/msx_slot/fs4600.cpp @@ -134,7 +134,7 @@ void msx_slot_fs4600_device::write(offs_t offset, uint8_t data) break; default: - logerror("msx_slot_fs4600: Unhandled write %02x to %04x\n", data, offset);; + logerror("msx_slot_fs4600: Unhandled write %02x to %04x\n", data, offset); break; } } diff --git a/src/devices/bus/psx/gamebooster.cpp b/src/devices/bus/psx/gamebooster.cpp index 3e329791c1e..a84a9893542 100644 --- a/src/devices/bus/psx/gamebooster.cpp +++ b/src/devices/bus/psx/gamebooster.cpp @@ -80,7 +80,7 @@ uint16_t psx_gamebooster_device::exp_r(offs_t offset, uint16_t mem_mask) else if (offset < 0x24000) { offset -= 0x20000; - uint16_t retval = 0;; + uint16_t retval = 0; if (mem_mask & 0xff00) retval |= (m_cartslot->read_rom((offset*2)+1))<<8; if (mem_mask & 0x00ff) retval |= m_cartslot->read_rom((offset*2)+0); diff --git a/src/devices/bus/vsmile/vsmile_ctrl.cpp b/src/devices/bus/vsmile/vsmile_ctrl.cpp index 478f8c142e6..00621df1690 100644 --- a/src/devices/bus/vsmile/vsmile_ctrl.cpp +++ b/src/devices/bus/vsmile/vsmile_ctrl.cpp @@ -72,7 +72,7 @@ vsmile_ctrl_port_device::~vsmile_ctrl_port_device() void vsmile_ctrl_port_device::device_resolve_objects() { - m_device = get_card_device();; + m_device = get_card_device(); m_rts_cb.resolve_safe(); m_data_cb.resolve_safe(); diff --git a/src/devices/cpu/adsp2100/2100dasm.h b/src/devices/cpu/adsp2100/2100dasm.h index 1c80c47a554..8d72728e6dd 100644 --- a/src/devices/cpu/adsp2100/2100dasm.h +++ b/src/devices/cpu/adsp2100/2100dasm.h @@ -24,7 +24,7 @@ private: static const char *const mac_xop[]; static const char *const mac_yop[]; static const char *const mac_dst[]; - static const char *const shift_xop[];; + static const char *const shift_xop[]; static const char *const reg_grp[][16]; static const char *const dual_xreg[]; static const char *const dual_yreg[]; diff --git a/src/devices/cpu/am29000/am29000.cpp b/src/devices/cpu/am29000/am29000.cpp index 43f221102ae..3a7bdb98954 100644 --- a/src/devices/cpu/am29000/am29000.cpp +++ b/src/devices/cpu/am29000/am29000.cpp @@ -108,7 +108,7 @@ am29000_cpu_device::am29000_cpu_device(const machine_config &mconfig, const char m_fpe = 0; m_inte = 0; m_fps = 0; - memset( m_exception_queue, 0, sizeof( m_exception_queue) );; + memset( m_exception_queue, 0, sizeof( m_exception_queue) ); m_irq_active = 0; m_irq_lines = 0; m_exec_ir = 0; diff --git a/src/devices/cpu/es5510/es5510.cpp b/src/devices/cpu/es5510/es5510.cpp index 0af8ea94a68..81df1799e36 100644 --- a/src/devices/cpu/es5510/es5510.cpp +++ b/src/devices/cpu/es5510/es5510.cpp @@ -793,7 +793,7 @@ void es5510_device::execute_run() { // --- RAM cycle N-2 (if a Read cycle): data read from bus is stored in DIL if (ram_pp.cycle != RAM_CYCLE_WRITE) { if (ram_pp.io) { // read from I/O and store into DIL - dil = 0; // read_io(ram_pp.address);; + dil = 0; // read_io(ram_pp.address); } else { // read from DRAM and store into DIL dil = dram_r(ram_pp.address) << 8; LOG_EXEC((" . RAM: read %x (%d) from address %x\n", dil, dil, ram_pp.address)); diff --git a/src/devices/cpu/h8/h8_sci.cpp b/src/devices/cpu/h8/h8_sci.cpp index b5d8b586f94..7f6c84b21d9 100644 --- a/src/devices/cpu/h8/h8_sci.cpp +++ b/src/devices/cpu/h8/h8_sci.cpp @@ -464,7 +464,7 @@ uint64_t h8_sci_device::internal_update(uint64_t current_time) case CLKM_EXTERNAL_ASYNC: case CLKM_EXTERNAL_SYNC: - break;; + break; } if(event) { attotime ctime = machine().time(); diff --git a/src/devices/cpu/m6502/xavix2000.cpp b/src/devices/cpu/m6502/xavix2000.cpp index 94b56308e0d..35da0f522b3 100644 --- a/src/devices/cpu/m6502/xavix2000.cpp +++ b/src/devices/cpu/m6502/xavix2000.cpp @@ -60,10 +60,10 @@ void xavix2000_device::device_start() { xavix_device::device_start(); - state_add(SXAVIX_J, "J", m_j).callimport().formatstr("%8s");; - state_add(SXAVIX_K, "K", m_k).callimport().formatstr("%8s");; - state_add(SXAVIX_L, "L", m_l).callimport().formatstr("%8s");; - state_add(SXAVIX_M, "M", m_m).callimport().formatstr("%8s");; + state_add(SXAVIX_J, "J", m_j).callimport().formatstr("%8s"); + state_add(SXAVIX_K, "K", m_k).callimport().formatstr("%8s"); + state_add(SXAVIX_L, "L", m_l).callimport().formatstr("%8s"); + state_add(SXAVIX_M, "M", m_m).callimport().formatstr("%8s"); state_add(SXAVIX_PA, "PA", m_pa).callimport().formatstr("%8s"); state_add(SXAVIX_PB, "PB", m_pb).callimport().formatstr("%8s"); } diff --git a/src/devices/cpu/m6805/m68hc05.cpp b/src/devices/cpu/m6805/m68hc05.cpp index 97e83ae2c0e..d2869fe8b04 100644 --- a/src/devices/cpu/m6805/m68hc05.cpp +++ b/src/devices/cpu/m6805/m68hc05.cpp @@ -478,7 +478,7 @@ void m68hc05_device::device_start() save_item(NAME(m_counter)); save_item(NAME(m_icr)); save_item(NAME(m_ocr)); - save_item(NAME(m_inhibit_cap));; + save_item(NAME(m_inhibit_cap)); save_item(NAME(m_inhibit_cmp)); save_item(NAME(m_trl_buf)); save_item(NAME(m_trl_latched)); diff --git a/src/devices/cpu/mips/ps2vu.cpp b/src/devices/cpu/mips/ps2vu.cpp index 473979587d8..c27cd481731 100644 --- a/src/devices/cpu/mips/ps2vu.cpp +++ b/src/devices/cpu/mips/ps2vu.cpp @@ -996,7 +996,7 @@ void sonyvu1_device::device_start() save_item(NAME(m_p)); - state_add(SONYVU1_P, "P", *(uint32_t*)&m_p).formatstr("%17s");; + state_add(SONYVU1_P, "P", *(uint32_t*)&m_p).formatstr("%17s"); } void sonyvu1_device::device_reset() diff --git a/src/devices/cpu/rsp/rspdrc.cpp b/src/devices/cpu/rsp/rspdrc.cpp index c9ec2bcb4b3..4e5df7c80a0 100644 --- a/src/devices/cpu/rsp/rspdrc.cpp +++ b/src/devices/cpu/rsp/rspdrc.cpp @@ -142,7 +142,7 @@ inline void rsp_device::ccfunc_read32() static void cfunc_read32(void *param) { - ((rsp_device *)param)->ccfunc_read32();; + ((rsp_device *)param)->ccfunc_read32(); } inline void rsp_device::ccfunc_write8() @@ -152,7 +152,7 @@ inline void rsp_device::ccfunc_write8() static void cfunc_write8(void *param) { - ((rsp_device *)param)->ccfunc_write8();; + ((rsp_device *)param)->ccfunc_write8(); } inline void rsp_device::ccfunc_write16() @@ -162,7 +162,7 @@ inline void rsp_device::ccfunc_write16() static void cfunc_write16(void *param) { - ((rsp_device *)param)->ccfunc_write16();; + ((rsp_device *)param)->ccfunc_write16(); } inline void rsp_device::ccfunc_write32() @@ -172,7 +172,7 @@ inline void rsp_device::ccfunc_write32() static void cfunc_write32(void *param) { - ((rsp_device *)param)->ccfunc_write32();; + ((rsp_device *)param)->ccfunc_write32(); } /*****************************************************************************/ diff --git a/src/devices/cpu/tlcs870/tlcs870_ops.cpp b/src/devices/cpu/tlcs870/tlcs870_ops.cpp index f215774b5d0..f9e415e7b8c 100644 --- a/src/devices/cpu/tlcs870/tlcs870_ops.cpp +++ b/src/devices/cpu/tlcs870/tlcs870_ops.cpp @@ -1077,7 +1077,7 @@ void tlcs870_device::do_JR_a(const uint8_t opbyte0) int val = READ8(); if (val & 0x80) val -= 0x100; - m_addr = m_tmppc + 2 + val;; + m_addr = m_tmppc + 2 + val; set_JF(); } diff --git a/src/devices/cpu/tms9900/9900dasm.cpp b/src/devices/cpu/tms9900/9900dasm.cpp index 64520815353..3808d8e14fe 100644 --- a/src/devices/cpu/tms9900/9900dasm.cpp +++ b/src/devices/cpu/tms9900/9900dasm.cpp @@ -210,7 +210,7 @@ const enum tms9900_disassembler::opcodes tms9900_disassembler::ops_001c_002f_s0[ inline uint16_t tms9900_disassembler::readop_arg(const data_buffer ¶ms, offs_t &PC) { uint16_t result = params.r16(PC); - PC += 2;; + PC += 2; return result; } diff --git a/src/devices/machine/fdc37c93x.cpp b/src/devices/machine/fdc37c93x.cpp index b18ed597097..98811cc8c2d 100644 --- a/src/devices/machine/fdc37c93x.cpp +++ b/src/devices/machine/fdc37c93x.cpp @@ -491,7 +491,7 @@ void fdc37c93x_device::write(offs_t offset, uint8_t data) if (config_index < 0x30) write_global_configuration_register(config_index, byt); else - write_logical_configuration_register(config_index, byt);; + write_logical_configuration_register(config_index, byt); } else return; @@ -882,12 +882,12 @@ void fdc37c93x_device::write_auxio_configuration_register(int index, int data) if (index == 0xe8) { if (data & 16) - logerror("GP20 used as 8042 P20 keyboard reset line\n");; + logerror("GP20 used as 8042 P20 keyboard reset line\n"); } if (index == 0xed) { if (data & 8) - logerror("GP25 used as GATEA20 line\n");; + logerror("GP25 used as GATEA20 line\n"); } } diff --git a/src/devices/machine/i82371sb.h b/src/devices/machine/i82371sb.h index 4ba3733e515..e6cddab4a3f 100644 --- a/src/devices/machine/i82371sb.h +++ b/src/devices/machine/i82371sb.h @@ -141,7 +141,7 @@ private: // southbridge uint8_t at_page8_r(offs_t offset); - void at_page8_w(offs_t offset, uint8_t data);; + void at_page8_w(offs_t offset, uint8_t data); uint8_t at_portb_r(); void at_portb_w(uint8_t data); DECLARE_WRITE_LINE_MEMBER(iochck_w); diff --git a/src/devices/machine/netlist.cpp b/src/devices/machine/netlist.cpp index 2aa5eb0ec60..cf839c876ea 100644 --- a/src/devices/machine/netlist.cpp +++ b/src/devices/machine/netlist.cpp @@ -848,7 +848,7 @@ void netlist_mame_stream_output_device::pre_parse_action(netlist::nlparse_t &par const auto lambda = [this](auto &in, netlist::nl_fptype val) { - this->process(in.exec().time(), val);; + this->process(in.exec().time(), val); }; using lb_t = decltype(lambda); diff --git a/src/devices/machine/rtc9701.cpp b/src/devices/machine/rtc9701.cpp index f224f9c8f87..a8ccc5cec7f 100644 --- a/src/devices/machine/rtc9701.cpp +++ b/src/devices/machine/rtc9701.cpp @@ -377,7 +377,7 @@ WRITE_LINE_MEMBER( rtc9701_device::set_clock_line ) if (cmd_stream_pos>4) { rtc9701_data_pos++; - rtc9701_current_data = (rtc9701_current_data << 1) | (m_latch&1);; + rtc9701_current_data = (rtc9701_current_data << 1) | (m_latch&1); } if (cmd_stream_pos==12) @@ -438,7 +438,7 @@ WRITE_LINE_MEMBER( rtc9701_device::set_clock_line ) if (cmd_stream_pos>12) { rtc9701_data_pos++; - rtc9701_current_data = (rtc9701_current_data << 1) | (m_latch&1);; + rtc9701_current_data = (rtc9701_current_data << 1) | (m_latch&1); } if (cmd_stream_pos==28) diff --git a/src/devices/machine/smc91c9x.cpp b/src/devices/machine/smc91c9x.cpp index 0d711a711b2..ee67ce23da2 100644 --- a/src/devices/machine/smc91c9x.cpp +++ b/src/devices/machine/smc91c9x.cpp @@ -839,7 +839,7 @@ u16 smc91c9x_device::read(offs_t offset, u16 mem_mask) if ( m_reg[B2_POINTER] & 0x8000 ) buffer = &m_buffer[curr_completed_rx() * ETHER_BUFFER_SIZE]; else - buffer = &m_buffer[(m_reg[B2_PNR_ARR] & 0x1f) * ETHER_BUFFER_SIZE];; + buffer = &m_buffer[(m_reg[B2_PNR_ARR] & 0x1f) * ETHER_BUFFER_SIZE]; result = buffer[addr++]; if ( ACCESSING_BITS_8_15 ) @@ -1000,7 +1000,7 @@ void smc91c9x_device::write(offs_t offset, u16 data, u16 mem_mask) if (m_reg[B2_POINTER] & RCV) buffer = &m_buffer[curr_completed_rx() * ETHER_BUFFER_SIZE]; else - buffer = &m_buffer[(m_reg[B2_PNR_ARR] & 0x1f) * ETHER_BUFFER_SIZE];; + buffer = &m_buffer[(m_reg[B2_PNR_ARR] & 0x1f) * ETHER_BUFFER_SIZE]; buffer[addr++] = data; if ( ACCESSING_BITS_8_15 ) diff --git a/src/devices/machine/stvcd.cpp b/src/devices/machine/stvcd.cpp index 10cacbde736..88af2d7e0cf 100644 --- a/src/devices/machine/stvcd.cpp +++ b/src/devices/machine/stvcd.cpp @@ -882,7 +882,7 @@ void stvcd_device::cmd_seek_disc() if (cr2 >> 8) { cd_stat = CD_STAT_PAUSE; - cur_track = cr2>>8;; + cur_track = cr2>>8; cd_curfad = cdrom_get_track_start(cdrom, cur_track-1); m_cdda->pause_audio(1); // (index is cr2 low byte) diff --git a/src/devices/sound/c140.cpp b/src/devices/sound/c140.cpp index f4986fd35ca..7f3780c8ed3 100644 --- a/src/devices/sound/c140.cpp +++ b/src/devices/sound/c140.cpp @@ -206,7 +206,7 @@ void c140_device::device_clock_changed() /* allocate a pair of buffers to mix into - 1 second's worth should be more than enough */ m_mixer_buffer_left = std::make_unique<s16[]>(m_sample_rate); - m_mixer_buffer_right = std::make_unique<s16[]>(m_sample_rate);; + m_mixer_buffer_right = std::make_unique<s16[]>(m_sample_rate); } diff --git a/src/devices/sound/disc_dev.hxx b/src/devices/sound/disc_dev.hxx index 945440e128a..e340f4004a7 100644 --- a/src/devices/sound/disc_dev.hxx +++ b/src/devices/sound/disc_dev.hxx @@ -1653,7 +1653,7 @@ DISCRETE_STEP(dsd_ls624) double freq, t1; double v_freq_2, v_freq_3, v_freq_4; double t_used = m_t_used; - double dt = this->sample_time();; + double dt = this->sample_time(); double v_freq = DSD_LS624__VMOD; double v_rng = DSD_LS624__VRNG; int count_f = 0, count_r = 0; diff --git a/src/devices/sound/disc_wav.hxx b/src/devices/sound/disc_wav.hxx index d767e6c6bd8..76e21d7bbc8 100644 --- a/src/devices/sound/disc_wav.hxx +++ b/src/devices/sound/disc_wav.hxx @@ -998,7 +998,7 @@ DISCRETE_RESET(dss_op_amp_osc) m_charge_exp[0] = RC_CHARGE_EXP(m_charge_rc[0]); m_charge_exp[1] = RC_CHARGE_EXP(m_charge_rc[1]); m_threshold_low = (info->vP - OP_AMP_NORTON_VBE) / info->r4; - m_threshold_high = m_threshold_low + (info->vP - 2 * OP_AMP_NORTON_VBE) / info->r3;; + m_threshold_high = m_threshold_low + (info->vP - 2 * OP_AMP_NORTON_VBE) / info->r3; m_threshold_low = m_threshold_low * info->r2 + OP_AMP_NORTON_VBE; m_threshold_high = m_threshold_high * info->r2 + OP_AMP_NORTON_VBE; diff --git a/src/devices/video/huc6261.cpp b/src/devices/video/huc6261.cpp index 4345e0ce245..42568090447 100644 --- a/src/devices/video/huc6261.cpp +++ b/src/devices/video/huc6261.cpp @@ -275,7 +275,7 @@ uint16_t huc6261_device::read(offs_t offset) break; case 0x09: - data = m_priority[0] | ( m_priority[1] << 4 ) | ( m_priority[2] << 8 ) | ( m_priority[3] << 12 );; + data = m_priority[0] | ( m_priority[1] << 4 ) | ( m_priority[2] << 8 ) | ( m_priority[3] << 12 ); break; } break; diff --git a/src/devices/video/pc_vga.cpp b/src/devices/video/pc_vga.cpp index 4b426260a75..33f2f48d999 100644 --- a/src/devices/video/pc_vga.cpp +++ b/src/devices/video/pc_vga.cpp @@ -1750,7 +1750,7 @@ uint8_t vga_device::gc_reg_read(uint8_t index) break; case 0x05: res = (vga.gc.shift256 & 1) << 6; - res |= (vga.gc.shift_reg & 1) << 5;; + res |= (vga.gc.shift_reg & 1) << 5; res |= (vga.gc.host_oe & 1) << 4; res |= (vga.gc.read_mode & 1) << 3; res |= (vga.gc.write_mode & 3); |