From ed39da783d416c2ff776935a5dec9dd5bb3606ce Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Mon, 29 Jun 2020 23:17:24 +0200 Subject: various devices and drivers: removed superfluous semicolons (nw) --- src/devices/bus/ieee488/hp9122c.h | 4 ++-- src/devices/bus/megadrive/md_slot.cpp | 4 ++-- src/devices/bus/msx_slot/fs4600.cpp | 2 +- src/devices/bus/psx/gamebooster.cpp | 2 +- src/devices/bus/vsmile/vsmile_ctrl.cpp | 2 +- src/devices/cpu/adsp2100/2100dasm.h | 2 +- src/devices/cpu/am29000/am29000.cpp | 2 +- src/devices/cpu/es5510/es5510.cpp | 2 +- src/devices/cpu/h8/h8_sci.cpp | 2 +- src/devices/cpu/m6502/xavix2000.cpp | 8 ++++---- src/devices/cpu/m6805/m68hc05.cpp | 2 +- src/devices/cpu/mips/ps2vu.cpp | 2 +- src/devices/cpu/rsp/rspdrc.cpp | 8 ++++---- src/devices/cpu/tlcs870/tlcs870_ops.cpp | 2 +- src/devices/cpu/tms9900/9900dasm.cpp | 2 +- src/devices/machine/fdc37c93x.cpp | 6 +++--- src/devices/machine/i82371sb.h | 2 +- src/devices/machine/netlist.cpp | 2 +- src/devices/machine/rtc9701.cpp | 4 ++-- src/devices/machine/smc91c9x.cpp | 4 ++-- src/devices/machine/stvcd.cpp | 2 +- src/devices/sound/c140.cpp | 2 +- src/devices/sound/disc_dev.hxx | 2 +- src/devices/sound/disc_wav.hxx | 2 +- src/devices/video/huc6261.cpp | 2 +- src/devices/video/pc_vga.cpp | 2 +- src/emu/emumem.cpp | 6 +++--- src/emu/render.cpp | 2 +- src/mame/audio/bzone.cpp | 2 +- src/mame/audio/t5182.h | 2 +- src/mame/audio/tx1.h | 2 +- src/mame/drivers/aerofgt.cpp | 2 +- src/mame/drivers/bfm_sc4.cpp | 4 ++-- src/mame/drivers/bfm_sc5.cpp | 4 ++-- src/mame/drivers/cat.cpp | 2 +- src/mame/drivers/chaos.cpp | 2 +- src/mame/drivers/equites.cpp | 2 +- src/mame/drivers/gimix.cpp | 8 ++++---- src/mame/drivers/gladiatr.cpp | 2 +- src/mame/drivers/goldart.cpp | 2 +- src/mame/drivers/goldstar.cpp | 2 +- src/mame/drivers/kenseim.cpp | 2 +- src/mame/drivers/konmedal.cpp | 6 +++--- src/mame/drivers/luckybal.cpp | 4 ++-- src/mame/drivers/m79152pc.cpp | 2 +- src/mame/drivers/maygay1b.cpp | 2 +- src/mame/drivers/maygayv1.cpp | 2 +- src/mame/drivers/megatech.cpp | 2 +- src/mame/drivers/mz2000.cpp | 2 +- src/mame/drivers/nemesis.cpp | 4 ++-- src/mame/drivers/ps2sony.cpp | 2 +- src/mame/drivers/system16.cpp | 2 +- src/mame/drivers/taito_b.cpp | 2 +- src/mame/drivers/tetrisp2.cpp | 2 +- src/mame/drivers/ti99_8.cpp | 2 +- src/mame/drivers/tulip1.cpp | 2 +- src/mame/drivers/vigilant.cpp | 2 +- src/mame/drivers/vp415.cpp | 2 +- src/mame/drivers/vt1682.cpp | 4 ++-- src/mame/includes/gb.h | 2 +- src/mame/includes/namcos86.h | 18 +++++++++--------- src/mame/includes/vaportra.h | 2 +- src/mame/includes/volfied.h | 6 +++--- src/mame/machine/namco65.cpp | 2 +- src/mame/machine/scramble.cpp | 2 +- src/mame/video/elan_eu3a14vid.cpp | 2 +- src/mame/video/light.cpp | 2 +- src/mame/video/suprridr.cpp | 6 +++--- src/mame/video/vicdual-97269pb.cpp | 2 +- 69 files changed, 105 insertions(+), 105 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(m_sample_rate); - m_mixer_buffer_right = std::make_unique(m_sample_rate);; + m_mixer_buffer_right = std::make_unique(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); diff --git a/src/emu/emumem.cpp b/src/emu/emumem.cpp index 5263207e867..27ab2e1c6e5 100644 --- a/src/emu/emumem.cpp +++ b/src/emu/emumem.cpp @@ -599,7 +599,7 @@ public: // native read NativeType read_native(offs_t offset, NativeType mask) { - return dispatch_read(offs_t(-1), offset & m_addrmask, mask, m_dispatch_read);; + return dispatch_read(offs_t(-1), offset & m_addrmask, mask, m_dispatch_read); } // mask-less native read @@ -611,13 +611,13 @@ public: // native write void write_native(offs_t offset, NativeType data, NativeType mask) { - dispatch_write(offs_t(-1), offset & m_addrmask, data, mask, m_dispatch_write);; + dispatch_write(offs_t(-1), offset & m_addrmask, data, mask, m_dispatch_write); } // mask-less native write void write_native(offs_t offset, NativeType data) { - dispatch_write(offs_t(-1), offset & m_addrmask, data, uX(0xffffffffffffffffU), m_dispatch_write);; + dispatch_write(offs_t(-1), offset & m_addrmask, data, uX(0xffffffffffffffffU), m_dispatch_write); } // virtual access to these functions diff --git a/src/emu/render.cpp b/src/emu/render.cpp index dc46c9d4e44..53850f35358 100644 --- a/src/emu/render.cpp +++ b/src/emu/render.cpp @@ -1441,7 +1441,7 @@ bool render_target::map_point_container(s32 target_x, s32 target_y, render_conta bool render_target::map_point_input(s32 target_x, s32 target_y, ioport_port *&input_port, ioport_value &input_mask, float &input_x, float &input_y) { - return map_point_internal(target_x, target_y, nullptr, input_x, input_y, input_port, input_mask);; + return map_point_internal(target_x, target_y, nullptr, input_x, input_y, input_port, input_mask); } diff --git a/src/mame/audio/bzone.cpp b/src/mame/audio/bzone.cpp index 9e0567aa57d..ebd483d14a1 100644 --- a/src/mame/audio/bzone.cpp +++ b/src/mame/audio/bzone.cpp @@ -267,7 +267,7 @@ DISCRETE_RESET(bzone_custom_filter) m_gain[1] = BZONE_CUSTOM_FILTER__R5 / m_gain[1] + 1; m_v_in1_gain = RES_VOLTAGE_DIVIDER(BZONE_CUSTOM_FILTER__R3, BZONE_CUSTOM_FILTER__R4); m_v_p = BZONE_CUSTOM_FILTER__VP - OP_AMP_VP_RAIL_OFFSET; - m_exponent = RC_CHARGE_EXP(BZONE_CUSTOM_FILTER__R5 * BZONE_CUSTOM_FILTER__C);; + m_exponent = RC_CHARGE_EXP(BZONE_CUSTOM_FILTER__R5 * BZONE_CUSTOM_FILTER__C); m_out_v = 0.0; } diff --git a/src/mame/audio/t5182.h b/src/mame/audio/t5182.h index a0bc8c690ca..de909b0f05c 100644 --- a/src/mame/audio/t5182.h +++ b/src/mame/audio/t5182.h @@ -58,7 +58,7 @@ private: TIMER_CALLBACK_MEMBER( setirq_callback ); void sharedram_semaphore_snd_acquire_w(uint8_t data); - void sharedram_semaphore_snd_release_w(uint8_t data);; + void sharedram_semaphore_snd_release_w(uint8_t data); uint8_t sharedram_semaphore_main_r(); void ym2151_irq_ack_w(uint8_t data); void cpu_irq_ack_w(uint8_t data); diff --git a/src/mame/audio/tx1.h b/src/mame/audio/tx1.h index f212121ae9f..b27ddd0fa73 100644 --- a/src/mame/audio/tx1.h +++ b/src/mame/audio/tx1.h @@ -111,7 +111,7 @@ protected: double m_weights0[4] = { 0, 0, 0, 0 }; double m_weights1[3] = { 0, 0, 0 }; double m_weights2[3] = { 0, 0, 0 }; - int m_eng0[4] = { 0, 0, 0, 0 };; + int m_eng0[4] = { 0, 0, 0, 0 }; int m_eng1[4] = { 0, 0, 0, 0 }; int m_eng2[4] = { 0, 0, 0, 0 }; diff --git a/src/mame/drivers/aerofgt.cpp b/src/mame/drivers/aerofgt.cpp index 638208e532b..12395aa30ec 100644 --- a/src/mame/drivers/aerofgt.cpp +++ b/src/mame/drivers/aerofgt.cpp @@ -1979,7 +1979,7 @@ void aerofgt_state::aerofgt(machine_config &config) m_maincpu->set_vblank_int("screen", FUNC(aerofgt_state::irq1_line_hold)); /* all irq vectors are the same */ Z80(config, m_audiocpu, XTAL(20'000'000)/4); /* 5 MHz verified on pcb */ - m_audiocpu->set_addrmap(AS_PROGRAM, &aerofgt_state::sound_map);; + m_audiocpu->set_addrmap(AS_PROGRAM, &aerofgt_state::sound_map); m_audiocpu->set_addrmap(AS_IO, &aerofgt_state::aerofgt_sound_portmap); /* IRQs are triggered by the YM2610 */ MCFG_MACHINE_START_OVERRIDE(aerofgt_state,aerofgt) diff --git a/src/mame/drivers/bfm_sc4.cpp b/src/mame/drivers/bfm_sc4.cpp index 2b306b9070d..d46ed168677 100644 --- a/src/mame/drivers/bfm_sc4.cpp +++ b/src/mame/drivers/bfm_sc4.cpp @@ -910,8 +910,8 @@ void sc4_state::sc4_common(machine_config &config) m_duart->set_clocks(XTAL(16'000'000)/2/8, XTAL(16'000'000)/2/16, XTAL(16'000'000)/2/16, XTAL(16'000'000)/2/8); m_duart->irq_cb().set(FUNC(sc4_state::bfm_sc4_duart_irq_handler)); m_duart->a_tx_cb().set(FUNC(sc4_state::bfm_sc4_duart_txa)); - m_duart->inport_cb().set(FUNC(sc4_state::bfm_sc4_duart_input_r));; - m_duart->outport_cb().set(FUNC(sc4_state::bfm_sc4_duart_output_w));; + m_duart->inport_cb().set(FUNC(sc4_state::bfm_sc4_duart_input_r)); + m_duart->outport_cb().set(FUNC(sc4_state::bfm_sc4_duart_output_w)); BFM_BDA(config, m_vfd0, 60, 0); diff --git a/src/mame/drivers/bfm_sc5.cpp b/src/mame/drivers/bfm_sc5.cpp index 7aecae41f74..31d0aa07932 100644 --- a/src/mame/drivers/bfm_sc5.cpp +++ b/src/mame/drivers/bfm_sc5.cpp @@ -347,8 +347,8 @@ void bfm_sc5_state::bfm_sc5(machine_config &config) m_duart->set_clocks(16000000/2/8, 16000000/2/16, 16000000/2/16, 16000000/2/8); m_duart->irq_cb().set(FUNC(bfm_sc5_state::bfm_sc5_duart_irq_handler)); m_duart->a_tx_cb().set(FUNC(bfm_sc5_state::bfm_sc5_duart_txa)); - m_duart->inport_cb().set(FUNC(bfm_sc5_state::bfm_sc5_duart_input_r));; - m_duart->outport_cb().set(FUNC(bfm_sc5_state::bfm_sc5_duart_output_w));; + m_duart->inport_cb().set(FUNC(bfm_sc5_state::bfm_sc5_duart_input_r)); + m_duart->outport_cb().set(FUNC(bfm_sc5_state::bfm_sc5_duart_output_w)); BFM_BDA(config, m_vfd0, 60, 0); diff --git a/src/mame/drivers/cat.cpp b/src/mame/drivers/cat.cpp index aa98d1f10ab..353e2caa6ea 100644 --- a/src/mame/drivers/cat.cpp +++ b/src/mame/drivers/cat.cpp @@ -1077,7 +1077,7 @@ void cat_state::cat(machine_config &config) m_duart->irq_cb().set(FUNC(cat_state::cat_duart_irq_handler)); m_duart->a_tx_cb().set(FUNC(cat_state::cat_duart_txa)); m_duart->b_tx_cb().set(FUNC(cat_state::cat_duart_txb)); - m_duart->outport_cb().set(FUNC(cat_state::cat_duart_output));; + m_duart->outport_cb().set(FUNC(cat_state::cat_duart_output)); CENTRONICS(config, m_ctx, centronics_devices, "printer"); m_ctx->ack_handler().set(FUNC(cat_state::prn_ack_ff)); diff --git a/src/mame/drivers/chaos.cpp b/src/mame/drivers/chaos.cpp index 987b14404eb..4ac4f1ae6e9 100644 --- a/src/mame/drivers/chaos.cpp +++ b/src/mame/drivers/chaos.cpp @@ -143,7 +143,7 @@ void chaos_state::kbd_put(u8 data) void chaos_state::machine_start() { - save_item(NAME(m_term_data));; + save_item(NAME(m_term_data)); } void chaos_state::machine_reset() diff --git a/src/mame/drivers/equites.cpp b/src/mame/drivers/equites.cpp index 84154c68c9e..105b986fac1 100644 --- a/src/mame/drivers/equites.cpp +++ b/src/mame/drivers/equites.cpp @@ -415,7 +415,7 @@ READ_LINE_MEMBER(gekisou_state::gekisou_unknown_bit_r) void gekisou_state::gekisou_unknown_bit_w(offs_t offset, uint16_t data) { // data bit is A17 (offset) - m_gekisou_unknown_bit = (offset == 0) ? 0 : 1;; + m_gekisou_unknown_bit = (offset == 0) ? 0 : 1; } diff --git a/src/mame/drivers/gimix.cpp b/src/mame/drivers/gimix.cpp index 036afa4eae7..36aa5033d23 100644 --- a/src/mame/drivers/gimix.cpp +++ b/src/mame/drivers/gimix.cpp @@ -755,10 +755,10 @@ void gimix_state::gimix(machine_config &config) m_fdc->intrq_wr_callback().set(FUNC(gimix_state::fdc_irq_w)); m_fdc->drq_wr_callback().set(FUNC(gimix_state::fdc_drq_w)); m_fdc->set_force_ready(true); - FLOPPY_CONNECTOR(config, "fdc:0", gimix_floppies, "525hd", gimix_state::floppy_formats).enable_sound(true);; - FLOPPY_CONNECTOR(config, "fdc:1", gimix_floppies, "525hd", gimix_state::floppy_formats).enable_sound(true);; - FLOPPY_CONNECTOR(config, "fdc:2", gimix_floppies, "525hd", gimix_state::floppy_formats).enable_sound(true);; - FLOPPY_CONNECTOR(config, "fdc:3", gimix_floppies, "525hd", gimix_state::floppy_formats).enable_sound(true);; + FLOPPY_CONNECTOR(config, "fdc:0", gimix_floppies, "525hd", gimix_state::floppy_formats).enable_sound(true); + FLOPPY_CONNECTOR(config, "fdc:1", gimix_floppies, "525hd", gimix_state::floppy_formats).enable_sound(true); + FLOPPY_CONNECTOR(config, "fdc:2", gimix_floppies, "525hd", gimix_state::floppy_formats).enable_sound(true); + FLOPPY_CONNECTOR(config, "fdc:3", gimix_floppies, "525hd", gimix_state::floppy_formats).enable_sound(true); /* parallel ports */ pia6821_device &pia1(PIA6821(config, "pia1", 2'000'000)); diff --git a/src/mame/drivers/gladiatr.cpp b/src/mame/drivers/gladiatr.cpp index 72318165a65..bf18e3e7408 100644 --- a/src/mame/drivers/gladiatr.cpp +++ b/src/mame/drivers/gladiatr.cpp @@ -610,7 +610,7 @@ void ppking_state::ppking_qxcomu_w(u8 data) MACHINE_RESET_MEMBER(ppking_state, ppking) { // yes, it expects to read DSW1 without sending commands first ... - m_mcu[0].rxd = (ioport("DSW1")->read() & 0x1f) << 2;; + m_mcu[0].rxd = (ioport("DSW1")->read() & 0x1f) << 2; m_mcu[0].rst = 0; m_mcu[0].state = 0; } diff --git a/src/mame/drivers/goldart.cpp b/src/mame/drivers/goldart.cpp index ec6ddc089b2..975211b4e8c 100644 --- a/src/mame/drivers/goldart.cpp +++ b/src/mame/drivers/goldart.cpp @@ -117,7 +117,7 @@ uint32_t goldart_state::screen_update_goldart(screen_device& screen, bitmap_ind1 count++; - dstptr_bitmap[x*2] = ((data&0xf0)>>4) | (data2 & 0xf0);; + dstptr_bitmap[x*2] = ((data&0xf0)>>4) | (data2 & 0xf0); dstptr_bitmap[(x*2)+1] = (data&0x0f) | ((data2 & 0x0f)<<4); } } diff --git a/src/mame/drivers/goldstar.cpp b/src/mame/drivers/goldstar.cpp index 8a865657eba..683b74f960f 100644 --- a/src/mame/drivers/goldstar.cpp +++ b/src/mame/drivers/goldstar.cpp @@ -18412,7 +18412,7 @@ void wingco_state::init_super972() m_decrypted_opcodes[i] = rom [i]; for (int i = 0xc000; i < 0xe000; i++) - m_decrypted_opcodes[i] = bitswap<8>(m_decrypted_opcodes[i], 7, 4, 5, 6, 3, 0, 1, 2);; + m_decrypted_opcodes[i] = bitswap<8>(m_decrypted_opcodes[i], 7, 4, 5, 6, 3, 0, 1, 2); for (int i = 0xc000; i < 0xe000; i++) rom[i] = bitswap<8>(rom[i], 7, 2, 5, 0, 3, 6, 1, 4); diff --git a/src/mame/drivers/kenseim.cpp b/src/mame/drivers/kenseim.cpp index f3c8858dffd..ac1288ee492 100644 --- a/src/mame/drivers/kenseim.cpp +++ b/src/mame/drivers/kenseim.cpp @@ -395,7 +395,7 @@ READ_LINE_MEMBER(kenseim_state::cmd_req_r) READ_LINE_MEMBER(kenseim_state::cmd_LVm_r) { - return m_to_68k_cmd_LVm;; + return m_to_68k_cmd_LVm; } /* 68k side COMMS writes */ diff --git a/src/mame/drivers/konmedal.cpp b/src/mame/drivers/konmedal.cpp index 4d11638b302..13776207dcf 100644 --- a/src/mame/drivers/konmedal.cpp +++ b/src/mame/drivers/konmedal.cpp @@ -632,7 +632,7 @@ void konmedal_state::tsukande(machine_config &config) TIMER(config, "scantimer").configure_scanline(FUNC(konmedal_state::konmedal_scanline), "screen", 0, 1); NVRAM(config, m_nvram, nvram_device::DEFAULT_ALL_0); - m_nvram->set_custom_handler(FUNC(konmedal_state::medal_nvram_init));; + m_nvram->set_custom_handler(FUNC(konmedal_state::medal_nvram_init)); HOPPER(config, "hopper", attotime::from_msec(100), TICKET_MOTOR_ACTIVE_HIGH, TICKET_STATUS_ACTIVE_HIGH); K053252(config, m_k053252, XTAL(14'318'181) / 2); // not verified @@ -675,7 +675,7 @@ void konmedal_state::ddboy(machine_config &config) TIMER(config, "scantimer").configure_scanline(FUNC(konmedal_state::konmedal_scanline), "screen", 0, 1); NVRAM(config, m_nvram, nvram_device::DEFAULT_ALL_0); - m_nvram->set_custom_handler(FUNC(konmedal_state::medal_nvram_init));; + m_nvram->set_custom_handler(FUNC(konmedal_state::medal_nvram_init)); HOPPER(config, "hopper", attotime::from_msec(100), TICKET_MOTOR_ACTIVE_HIGH, TICKET_STATUS_ACTIVE_HIGH); K053252(config, m_k053252, XTAL(14'318'181) / 2); // not verified @@ -820,7 +820,7 @@ void konmedal_state::shuriboy(machine_config &config) TIMER(config, "scantimer").configure_scanline(FUNC(konmedal_state::shuri_scanline), "screen", 0, 1); NVRAM(config, m_nvram, nvram_device::DEFAULT_ALL_0); - m_nvram->set_custom_handler(FUNC(konmedal_state::shuriboy_nvram_init));; + m_nvram->set_custom_handler(FUNC(konmedal_state::shuriboy_nvram_init)); HOPPER(config, "hopper", attotime::from_msec(100), TICKET_MOTOR_ACTIVE_HIGH, TICKET_STATUS_ACTIVE_HIGH); /* video hardware */ diff --git a/src/mame/drivers/luckybal.cpp b/src/mame/drivers/luckybal.cpp index 8bd7ea76290..e00e1c347d6 100644 --- a/src/mame/drivers/luckybal.cpp +++ b/src/mame/drivers/luckybal.cpp @@ -349,9 +349,9 @@ void luckybal_state::main_io(address_map &map) { map.global_mask(0xff); - map(0x00, 0x0a).nopr().nopw();; // Z180 Internal registers. + map(0x00, 0x0a).nopr().nopw(); // Z180 Internal registers. map(0x0b, 0x0b).nopr().w(FUNC(luckybal_state::z180_trdr_w)); - map(0x0c, 0x3f).nopr().nopw();; // Z180 Internal registers. + map(0x0c, 0x3f).nopr().nopw(); // Z180 Internal registers. map(0x90, 0x90).w(FUNC(luckybal_state::port90_bitswap_w)); map(0xc0, 0xc3).rw(FUNC(luckybal_state::ppi_bitswap_r), FUNC(luckybal_state::ppi_bitswap_w)); diff --git a/src/mame/drivers/m79152pc.cpp b/src/mame/drivers/m79152pc.cpp index dc6ecf88278..cf041466982 100644 --- a/src/mame/drivers/m79152pc.cpp +++ b/src/mame/drivers/m79152pc.cpp @@ -134,7 +134,7 @@ void m79152pc_state::lc_reset_w(u8 data) void m79152pc_state::mem_map(address_map &map) { map.unmap_value_high(); - map(0x0000, 0x3fff).rom().region("maincpu", 0);; + map(0x0000, 0x3fff).rom().region("maincpu", 0); map(0x4000, 0x47ff).ram(); map(0x8000, 0x8fff).ram().share("videoram"); map(0x9000, 0x9fff).ram().share("attributes"); diff --git a/src/mame/drivers/maygay1b.cpp b/src/mame/drivers/maygay1b.cpp index 8a23240cc84..61aadc67d13 100644 --- a/src/mame/drivers/maygay1b.cpp +++ b/src/mame/drivers/maygay1b.cpp @@ -721,7 +721,7 @@ void maygay1b_state::maygay_m1(machine_config &config) MC68681(config, m_duart68681, M1_DUART_CLOCK); m_duart68681->irq_cb().set(FUNC(maygay1b_state::duart_irq_handler)); - m_duart68681->inport_cb().set(FUNC(maygay1b_state::m1_duart_r));; + m_duart68681->inport_cb().set(FUNC(maygay1b_state::m1_duart_r)); pia6821_device &pia(PIA6821(config, "pia", 0)); pia.writepa_handler().set(FUNC(maygay1b_state::m1_pia_porta_w)); diff --git a/src/mame/drivers/maygayv1.cpp b/src/mame/drivers/maygayv1.cpp index d3e0999bd22..4459418d0cc 100644 --- a/src/mame/drivers/maygayv1.cpp +++ b/src/mame/drivers/maygayv1.cpp @@ -918,7 +918,7 @@ void maygayv1_state::maygayv1(machine_config &config) MC68681(config, m_duart68681, DUART_CLOCK); m_duart68681->irq_cb().set(FUNC(maygayv1_state::duart_irq_handler)); - m_duart68681->a_tx_cb().set(FUNC(maygayv1_state::duart_txa));; + m_duart68681->a_tx_cb().set(FUNC(maygayv1_state::duart_txa)); i8279_device &kbdc(I8279(config, "i8279", MASTER_CLOCK/4)); // unknown clock kbdc.out_sl_callback().set(FUNC(maygayv1_state::strobe_w)); // scan SL lines diff --git a/src/mame/drivers/megatech.cpp b/src/mame/drivers/megatech.cpp index 40f8b9e9665..d13980ffad6 100644 --- a/src/mame/drivers/megatech.cpp +++ b/src/mame/drivers/megatech.cpp @@ -611,7 +611,7 @@ void mtech_state::init_mt_crt() uint8_t* pin = memregion("sms_pin")->base(); init_mt_slot(); - m_cart_is_genesis[0] = !pin[0] ? 1 : 0;; + m_cart_is_genesis[0] = !pin[0] ? 1 : 0; } diff --git a/src/mame/drivers/mz2000.cpp b/src/mame/drivers/mz2000.cpp index a963cd6ce9c..36331ccade5 100644 --- a/src/mame/drivers/mz2000.cpp +++ b/src/mame/drivers/mz2000.cpp @@ -884,7 +884,7 @@ void mz2000_state::mz2000(machine_config &config) i8255_device &ppi(I8255(config, "i8255_0")); ppi.in_pa_callback().set(FUNC(mz2000_state::mz2000_porta_r)); - ppi.out_pa_callback().set(FUNC(mz2000_state::mz2000_porta_w));; + ppi.out_pa_callback().set(FUNC(mz2000_state::mz2000_porta_w)); ppi.in_pb_callback().set(FUNC(mz2000_state::mz2000_portb_r)); ppi.out_pb_callback().set(FUNC(mz2000_state::mz2000_portb_w)); ppi.in_pc_callback().set(FUNC(mz2000_state::mz2000_portc_r)); diff --git a/src/mame/drivers/nemesis.cpp b/src/mame/drivers/nemesis.cpp index 2ce5e6a11b8..03bed5205dc 100644 --- a/src/mame/drivers/nemesis.cpp +++ b/src/mame/drivers/nemesis.cpp @@ -1802,7 +1802,7 @@ void nemesis_state::gx400(machine_config &config) m_audiocpu->set_addrmap(AS_PROGRAM, &nemesis_state::gx400_sound_map); ls259_device &outlatch(LS259(config, "outlatch")); - outlatch.q_out_cb<0>().set(FUNC(nemesis_state::coin1_lockout_w));; + outlatch.q_out_cb<0>().set(FUNC(nemesis_state::coin1_lockout_w)); outlatch.q_out_cb<1>().set(FUNC(nemesis_state::coin2_lockout_w)); outlatch.q_out_cb<2>().set(FUNC(nemesis_state::sound_irq_w)); outlatch.q_out_cb<7>().set(FUNC(nemesis_state::irq4_enable_w)); // ?? @@ -1932,7 +1932,7 @@ void nemesis_state::rf2_gx400(machine_config &config) m_audiocpu->set_addrmap(AS_PROGRAM, &nemesis_state::gx400_sound_map); ls259_device &outlatch(LS259(config, "outlatch")); - outlatch.q_out_cb<0>().set(FUNC(nemesis_state::coin1_lockout_w));; + outlatch.q_out_cb<0>().set(FUNC(nemesis_state::coin1_lockout_w)); outlatch.q_out_cb<1>().set(FUNC(nemesis_state::coin2_lockout_w)); outlatch.q_out_cb<2>().set(FUNC(nemesis_state::sound_irq_w)); outlatch.q_out_cb<7>().set(FUNC(nemesis_state::irq4_enable_w)); // ?? diff --git a/src/mame/drivers/ps2sony.cpp b/src/mame/drivers/ps2sony.cpp index 1597fcc1b8e..548af45ab0c 100644 --- a/src/mame/drivers/ps2sony.cpp +++ b/src/mame/drivers/ps2sony.cpp @@ -691,7 +691,7 @@ void ps2sony_state::mem_map(address_map &map) map(0x10005000, 0x1000500f).mirror(0xff0).rw(m_vu1, FUNC(sonyvu1_device::vif_r), FUNC(sonyvu1_device::vif_w)); map(0x10006000, 0x1000600f).mirror(0xff0).rw(FUNC(ps2sony_state::gif_fifo_r), FUNC(ps2sony_state::gif_fifo_w)); map(0x10007000, 0x1000701f).mirror(0xfe0).rw(FUNC(ps2sony_state::ipu_fifo_r), FUNC(ps2sony_state::ipu_fifo_w)); - map(0x10008000, 0x1000dfff).rw(m_dmac, FUNC(ps2_dmac_device::channel_r), FUNC(ps2_dmac_device::channel_w)).umask64(0x00000000ffffffff);; + map(0x10008000, 0x1000dfff).rw(m_dmac, FUNC(ps2_dmac_device::channel_r), FUNC(ps2_dmac_device::channel_w)).umask64(0x00000000ffffffff); map(0x1000e000, 0x1000efff).rw(m_dmac, FUNC(ps2_dmac_device::read), FUNC(ps2_dmac_device::write)).umask64(0x00000000ffffffff); map(0x1000f000, 0x1000f017).rw(m_intc, FUNC(ps2_intc_device::read), FUNC(ps2_intc_device::write)).umask64(0x00000000ffffffff); map(0x1000f130, 0x1000f137).nopr(); diff --git a/src/mame/drivers/system16.cpp b/src/mame/drivers/system16.cpp index 511d8e34003..edcfe9f2c73 100644 --- a/src/mame/drivers/system16.cpp +++ b/src/mame/drivers/system16.cpp @@ -4105,7 +4105,7 @@ void segas1x_bootleg_state::init_beautyb() /* Sys18 */ void segas1x_bootleg_state::init_shdancbl() { - uint8_t *mem = m_soundcpu_region->base();; + uint8_t *mem = m_soundcpu_region->base(); /* Copy first 32K of IC45 to Z80 address space */ memcpy(mem, mem + 0x10000, 0x8000); diff --git a/src/mame/drivers/taito_b.cpp b/src/mame/drivers/taito_b.cpp index ce56e0e0f22..db0dd459e97 100644 --- a/src/mame/drivers/taito_b.cpp +++ b/src/mame/drivers/taito_b.cpp @@ -2517,7 +2517,7 @@ void taitob_state::selfeena(machine_config &config) ym2610_device &ymsnd(YM2610(config, "ymsnd", 16_MHz_XTAL / 2)); /* 8 MHz */ ymsnd.irq_handler().set_inputline(m_audiocpu, 0); ymsnd.add_route(0, "mono", 0.25); - ymsnd.add_route(1, "mono", 1.0);; + ymsnd.add_route(1, "mono", 1.0); ymsnd.add_route(2, "mono", 1.0); tc0140syt_device &tc0140syt(TC0140SYT(config, "tc0140syt", 0)); diff --git a/src/mame/drivers/tetrisp2.cpp b/src/mame/drivers/tetrisp2.cpp index 73cf88abcb7..b2eb4ca2426 100644 --- a/src/mame/drivers/tetrisp2.cpp +++ b/src/mame/drivers/tetrisp2.cpp @@ -1929,7 +1929,7 @@ void stepstag_state::stepstag(machine_config &config) // mscreen.set_palette(m_vj_palette_m)); screen_device &rscreen(SCREEN(config, "rscreen", SCREEN_TYPE_RASTER)); - rscreen.set_orientation(ROT270);; + rscreen.set_orientation(ROT270); rscreen.set_refresh_hz(30); rscreen.set_vblank_time(ATTOSECONDS_IN_USEC(0)); rscreen.set_size(0x160, 0xf0); diff --git a/src/mame/drivers/ti99_8.cpp b/src/mame/drivers/ti99_8.cpp index 81b1528651b..2484f6d622c 100644 --- a/src/mame/drivers/ti99_8.cpp +++ b/src/mame/drivers/ti99_8.cpp @@ -752,7 +752,7 @@ void ti99_8_state::ti99_8(machine_config& config) // Cassette drive SPEAKER(config, "cass_out").front_center(); - CASSETTE(config, "cassette", 0).add_route(ALL_OUTPUTS, "cass_out", 0.25);; + CASSETTE(config, "cassette", 0).add_route(ALL_OUTPUTS, "cass_out", 0.25); // GROM library using namespace bus::ti99::internal; diff --git a/src/mame/drivers/tulip1.cpp b/src/mame/drivers/tulip1.cpp index 84226d2c083..b2af48f7fca 100644 --- a/src/mame/drivers/tulip1.cpp +++ b/src/mame/drivers/tulip1.cpp @@ -77,7 +77,7 @@ void tulip1_state::mem_map(address_map &map) { map(0x00000, 0x1ffff).ram(); map(0x20000, 0xdffff).noprw(); - map(0xe0000, 0xe0fff).ram().share("vram");; + map(0xe0000, 0xe0fff).ram().share("vram"); map(0xfe000, 0xfffff).rom().region("bios", 0); } diff --git a/src/mame/drivers/vigilant.cpp b/src/mame/drivers/vigilant.cpp index 3eda7e50b21..76f506558d7 100644 --- a/src/mame/drivers/vigilant.cpp +++ b/src/mame/drivers/vigilant.cpp @@ -584,7 +584,7 @@ void vigilant_state::buccanrs(machine_config &config) ym1.add_route(3, "lspeaker", 0.50); ym1.add_route(3, "rspeaker", 0.50); - ym2203_device &ym2(YM2203(config, "ym2", 18432000/6));; + ym2203_device &ym2(YM2203(config, "ym2", 18432000/6)); ym2.add_route(0, "lspeaker", 0.35); ym2.add_route(0, "rspeaker", 0.35); ym2.add_route(1, "lspeaker", 0.35); diff --git a/src/mame/drivers/vp415.cpp b/src/mame/drivers/vp415.cpp index 155360b95c2..eec82774aa7 100644 --- a/src/mame/drivers/vp415.cpp +++ b/src/mame/drivers/vp415.cpp @@ -508,7 +508,7 @@ void vp415_state::vp415(machine_config &config) // Module S: Control I8031(config, m_ctrlcpu, XTAL(11'059'200)); // 11.059MHz, per schematic - m_ctrlcpu->port_out_cb<1>().set(FUNC(vp415_state::ctrl_cpu_port1_w));; + m_ctrlcpu->port_out_cb<1>().set(FUNC(vp415_state::ctrl_cpu_port1_w)); m_ctrlcpu->port_in_cb<1>().set(FUNC(vp415_state::ctrl_cpu_port1_r)); m_ctrlcpu->port_out_cb<3>().set(FUNC(vp415_state::ctrl_cpu_port3_w)); m_ctrlcpu->port_in_cb<3>().set(FUNC(vp415_state::ctrl_cpu_port3_r)); diff --git a/src/mame/drivers/vt1682.cpp b/src/mame/drivers/vt1682.cpp index 6bd7b73712f..226b9114072 100644 --- a/src/mame/drivers/vt1682.cpp +++ b/src/mame/drivers/vt1682.cpp @@ -3482,7 +3482,7 @@ void vt_vt1682_state::do_dma_external_to_internal(int data, bool is_video) dstaddr++; // update registers - set_dma_dt_addr(dstaddr);; + set_dma_dt_addr(dstaddr); set_dma_sr_addr(srcaddr); } } @@ -4301,7 +4301,7 @@ void vt_vt1682_state::draw_tile_pixline(int segment, int tile, int tileline, int bytes_in = 2; } - int xbase = x;; + int xbase = x; for (int xx = 0; xx < tilesize_wide; xx += 4) // tile x pixels { diff --git a/src/mame/includes/gb.h b/src/mame/includes/gb.h index 5a825a64557..6bde090e813 100644 --- a/src/mame/includes/gb.h +++ b/src/mame/includes/gb.h @@ -155,7 +155,7 @@ private: uint8_t megaduck_sound_r1(offs_t offset); void megaduck_sound_w2(offs_t offset, uint8_t data); uint8_t megaduck_sound_r2(offs_t offset); - void megaduck_palette(palette_device &palette) const;; + void megaduck_palette(palette_device &palette) const; void megaduck_map(address_map &map); uint8_t cart_r(offs_t offset); diff --git a/src/mame/includes/namcos86.h b/src/mame/includes/namcos86.h index eadebf47826..60baa16e22a 100644 --- a/src/mame/includes/namcos86.h +++ b/src/mame/includes/namcos86.h @@ -53,15 +53,15 @@ private: void coin_w(uint8_t data); void led_w(uint8_t data); void cus115_w(offs_t offset, uint8_t data); - void videoram1_w(offs_t offset, uint8_t data);; - void videoram2_w(offs_t offset, uint8_t data);; - void tilebank_select_w(offs_t offset, uint8_t data);; - void scroll0_w(offs_t offset, uint8_t data);; - void scroll1_w(offs_t offset, uint8_t data);; - void scroll2_w(offs_t offset, uint8_t data);; - void scroll3_w(offs_t offset, uint8_t data);; - void backcolor_w(uint8_t data);; - void spriteram_w(offs_t offset, uint8_t data);; + void videoram1_w(offs_t offset, uint8_t data); + void videoram2_w(offs_t offset, uint8_t data); + void tilebank_select_w(offs_t offset, uint8_t data); + void scroll0_w(offs_t offset, uint8_t data); + void scroll1_w(offs_t offset, uint8_t data); + void scroll2_w(offs_t offset, uint8_t data); + void scroll3_w(offs_t offset, uint8_t data); + void backcolor_w(uint8_t data); + void spriteram_w(offs_t offset, uint8_t data); TILE_GET_INFO_MEMBER(get_tile_info0); TILE_GET_INFO_MEMBER(get_tile_info1); diff --git a/src/mame/includes/vaportra.h b/src/mame/includes/vaportra.h index b2d59b5e0e4..9111bf230d8 100644 --- a/src/mame/includes/vaportra.h +++ b/src/mame/includes/vaportra.h @@ -57,7 +57,7 @@ private: uint8_t irq6_ack_r(); void irq6_ack_w(uint8_t data); - void priority_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);; + void priority_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); void palette_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); void palette_ext_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); diff --git a/src/mame/includes/volfied.h b/src/mame/includes/volfied.h index edae8435869..7fc971ff18e 100644 --- a/src/mame/includes/volfied.h +++ b/src/mame/includes/volfied.h @@ -42,10 +42,10 @@ protected: private: uint16_t video_ram_r(offs_t offset); - void video_ram_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);; - void video_ctrl_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);; + void video_ram_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); + void video_ctrl_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); uint16_t video_ctrl_r(); - void video_mask_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0);; + void video_mask_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); void counters_w(uint8_t data); void volfied_colpri_cb(u32 &sprite_colbank, u32 &pri_mask, u16 sprite_ctrl); uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); diff --git a/src/mame/machine/namco65.cpp b/src/mame/machine/namco65.cpp index ca3e810fbd6..4b9d124c03d 100644 --- a/src/mame/machine/namco65.cpp +++ b/src/mame/machine/namco65.cpp @@ -164,7 +164,7 @@ void namcoc65_device::mcu_map(address_map &map) map(0x3003, 0x3003).r(FUNC(namcoc65_device::mcudi3_r)); map(0x5000, 0x57ff).rw(FUNC(namcoc65_device::dpram_byte_r), FUNC(namcoc65_device::dpram_byte_w)); map(0x6000, 0x6fff).nopr(); /* watchdog */ - map(0x8000, 0xffff).rom().region("external", 0);; /* external ROM socket */ + map(0x8000, 0xffff).rom().region("external", 0); /* external ROM socket */ } diff --git a/src/mame/machine/scramble.cpp b/src/mame/machine/scramble.cpp index 2584ed3bae5..fd9645ee105 100644 --- a/src/mame/machine/scramble.cpp +++ b/src/mame/machine/scramble.cpp @@ -448,7 +448,7 @@ void scramble_state::init_hustler() { int bits[8]; for (int i = 0;i < 8;i++) - bits[i] = BIT(A, i);; + bits[i] = BIT(A, i); uint8_t xormask = 0xff; if (bits[0] ^ bits[1]) xormask ^= 0x01; diff --git a/src/mame/video/elan_eu3a14vid.cpp b/src/mame/video/elan_eu3a14vid.cpp index 86439f53a5c..bf7d92eb0ac 100644 --- a/src/mame/video/elan_eu3a14vid.cpp +++ b/src/mame/video/elan_eu3a14vid.cpp @@ -468,7 +468,7 @@ void elan_eu3a14vid_device::draw_background_ramlayer(screen_device& screen, bitm // this register use is questionable if (m_ramtilecfg[0] & 0x80) { - int rtm_size;; + int rtm_size; int rtm_pagewidth; int rtm_pageheight; int rtm_yscroll; diff --git a/src/mame/video/light.cpp b/src/mame/video/light.cpp index 5847135f462..8092c1db2ca 100644 --- a/src/mame/video/light.cpp +++ b/src/mame/video/light.cpp @@ -314,7 +314,7 @@ void light_video_device::do_rex_command() const uint32_t end_x = m_lg1.m_x_end_i; const uint32_t end_y = m_lg1.m_y_end_i; const uint32_t src_start_x = start_x + (m_lg1.m_xy_move >> 16); - const uint32_t src_start_y = start_y + (uint16_t)m_lg1.m_xy_move;; + const uint32_t src_start_y = start_y + (uint16_t)m_lg1.m_xy_move; LOGMASKED(LOG_REX, "LG1: Command %08x: Block copy from %d,%d-%d,%d inclusive.\n", m_lg1.m_command, start_x, start_y, end_x, end_y); if (copy) diff --git a/src/mame/video/suprridr.cpp b/src/mame/video/suprridr.cpp index 535eae562d0..343aca69cac 100644 --- a/src/mame/video/suprridr.cpp +++ b/src/mame/video/suprridr.cpp @@ -167,19 +167,19 @@ uint32_t suprridr_state::screen_update(screen_device &screen, bitmap_ind16 &bitm const rectangle &visarea = screen.visible_area(); /* render left 4 columns with no scroll */ - subclip = visarea;; + subclip = visarea; subclip.max_x = subclip.min_x + (m_flipx ? 1*8 : 4*8) - 1; subclip &= cliprect; m_bg_tilemap_noscroll->draw(screen, bitmap, subclip, 0, 0); /* render right 1 column with no scroll */ - subclip = visarea;; + subclip = visarea; subclip.min_x = subclip.max_x - (m_flipx ? 4*8 : 1*8) + 1; subclip &= cliprect; m_bg_tilemap_noscroll->draw(screen, bitmap, subclip, 0, 0); /* render the middle columns normally */ - subclip = visarea;; + subclip = visarea; subclip.min_x += m_flipx ? 1*8 : 4*8; subclip.max_x -= m_flipx ? 4*8 : 1*8; subclip &= cliprect; diff --git a/src/mame/video/vicdual-97269pb.cpp b/src/mame/video/vicdual-97269pb.cpp index 2ae3c31c4d0..6ae4830492e 100644 --- a/src/mame/video/vicdual-97269pb.cpp +++ b/src/mame/video/vicdual-97269pb.cpp @@ -144,7 +144,7 @@ pen_t s97269pb_device::choose_pen(uint8_t x, uint8_t y, pen_t back_pen) case 0x4: // black-to-blue - return rgb_t(0, 0, (gradient_flags & 0x0f) * 0x11);; + return rgb_t(0, 0, (gradient_flags & 0x0f) * 0x11); break; case 0xf: -- cgit v1.2.3