summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar smf- <smf-@users.noreply.github.com>2013-01-11 19:43:14 +0000
committerGravatarGravatar smf- <smf-@users.noreply.github.com>2013-01-11 19:43:14 +0000
commit1940866c70674f0a625a79677b90f9f4a33b2e25 (patch)
tree0b18ac32397ff89ef7fc1ed27ff03fb8fbc92fa6
parentcff79778372c37b3b2eb9f64e31bd0abfdab978d (diff)
output of new srcclean changes that are relatively small [smf]
-rw-r--r--src/emu/addrmap.h207
-rw-r--r--src/emu/cpu/adsp2100/adsp2100.h3
-rw-r--r--src/emu/cpu/am29000/am29000.c1
-rw-r--r--src/emu/cpu/arm/arm.c2
-rw-r--r--src/emu/cpu/arm7/arm7.c3
-rw-r--r--src/emu/cpu/arm7/arm7core.c1
-rw-r--r--src/emu/cpu/arm7/arm7dasm.c1
-rw-r--r--src/emu/cpu/arm7/arm7ops.c8
-rw-r--r--src/emu/cpu/avr8/avr8.h3
-rw-r--r--src/emu/cpu/cubeqcpu/cubeqcpu.c1
-rw-r--r--src/emu/cpu/dsp32/dsp32.h3
-rw-r--r--src/emu/cpu/dsp56k/dsp56def.h1
-rw-r--r--src/emu/cpu/dsp56k/dsp56mem.c1
-rw-r--r--src/emu/cpu/dsp56k/dsp56mem.h1
-rw-r--r--src/emu/cpu/dsp56k/dsp56pcu.c1
-rw-r--r--src/emu/cpu/dsp56k/dsp56pcu.h1
-rw-r--r--src/emu/cpu/dsp56k/inst.c1
-rw-r--r--src/emu/cpu/dsp56k/inst.h1
-rw-r--r--src/emu/cpu/dsp56k/opcode.c1
-rw-r--r--src/emu/cpu/dsp56k/opcode.h1
-rw-r--r--src/emu/cpu/dsp56k/pmove.c1
-rw-r--r--src/emu/cpu/dsp56k/pmove.h1
-rw-r--r--src/emu/cpu/dsp56k/tables.c1
-rw-r--r--src/emu/cpu/dsp56k/tables.h1
-rw-r--r--src/emu/cpu/e132xs/e132xsop.c3
-rw-r--r--src/emu/cpu/esrip/esrip.c1
-rw-r--r--src/emu/cpu/esrip/esrip.h3
-rw-r--r--src/emu/cpu/f8/f8.c1
-rw-r--r--src/emu/cpu/g65816/g65816op.h3
-rw-r--r--src/emu/cpu/h6280/6280dasm.c1
-rw-r--r--src/emu/cpu/h6280/h6280ops.h9
-rw-r--r--src/emu/cpu/hd61700/hd61700.c1
-rw-r--r--src/emu/cpu/hd61700/hd61700.h3
-rw-r--r--src/emu/cpu/hd6309/6309ops.c3
-rw-r--r--src/emu/cpu/i386/i386op16.c10
-rw-r--r--src/emu/cpu/i386/i386op32.c9
-rw-r--r--src/emu/cpu/i386/i386ops.c2
-rw-r--r--src/emu/cpu/i86/instr186.c1
-rw-r--r--src/emu/cpu/i86/instr86.c1
-rw-r--r--src/emu/cpu/lc8670/lc8670.h3
-rw-r--r--src/emu/cpu/m37710/m37710op.h3
-rw-r--r--src/emu/cpu/m68000/68307ser.c2
-rw-r--r--src/emu/cpu/m68000/68307sim.c1
-rw-r--r--src/emu/cpu/m68000/68307tmu.c1
-rw-r--r--src/emu/cpu/m68000/68340dma.c1
-rw-r--r--src/emu/cpu/m68000/68340ser.c1
-rw-r--r--src/emu/cpu/m68000/68340sim.c1
-rw-r--r--src/emu/cpu/m68000/68340tmu.c1
-rw-r--r--src/emu/cpu/m68000/m68kdasm.c1
-rw-r--r--src/emu/cpu/m6809/m6809.h3
-rw-r--r--src/emu/cpu/mc68hc11/mc68hc11.c1
-rw-r--r--src/emu/cpu/mcs51/mcs51.c2
-rw-r--r--src/emu/cpu/mn10200/mn10200.c2
-rw-r--r--src/emu/cpu/nec/nec.c1
-rw-r--r--src/emu/cpu/nec/v25.c1
-rw-r--r--src/emu/cpu/pic16c62x/pic16c62x.c1
-rw-r--r--src/emu/cpu/powerpc/drc_ops.c1
-rw-r--r--src/emu/cpu/powerpc/ppc.c10
-rw-r--r--src/emu/cpu/powerpc/ppc403.c7
-rw-r--r--src/emu/cpu/powerpc/ppc602.c2
-rw-r--r--src/emu/cpu/powerpc/ppc_ops.c10
-rw-r--r--src/emu/cpu/psx/psx.h6
-rw-r--r--src/emu/cpu/psx/rcnt.h9
-rw-r--r--src/emu/cpu/psx/sio.h3
-rw-r--r--src/emu/cpu/rsp/rsp.c7
-rw-r--r--src/emu/cpu/rsp/rspdrc.c7
-rw-r--r--src/emu/cpu/s2650/2650dasm.c2
-rw-r--r--src/emu/cpu/sc61860/sc61860.c1
-rw-r--r--src/emu/cpu/se3208/se3208.c1
-rw-r--r--src/emu/cpu/se3208/se3208dis.c1
-rw-r--r--src/emu/cpu/sh2/sh2.c1
-rw-r--r--src/emu/cpu/sh2/sh2comn.c3
-rw-r--r--src/emu/cpu/sh4/sh3comn.c7
-rw-r--r--src/emu/cpu/sh4/sh4comn.c2
-rw-r--r--src/emu/cpu/sharc/sharc.c1
-rw-r--r--src/emu/cpu/sharc/sharcops.c1
-rw-r--r--src/emu/cpu/tms32031/tms32031.h3
-rw-r--r--src/emu/cpu/tms34010/34010ops.h24
-rw-r--r--src/emu/cpu/tms34010/tms34010.c12
-rw-r--r--src/emu/cpu/tms7000/tms7000.c1
-rwxr-xr-xsrc/emu/cpu/upd7725/upd7725.c1
-rw-r--r--src/emu/cpu/upd7810/upd7810.c6
-rw-r--r--src/emu/cpu/x86emit.h1
-rw-r--r--src/emu/cpu/z180/z180ops.h3
-rw-r--r--src/emu/debugint/debugint.c2
-rw-r--r--src/emu/device.h12
-rw-r--r--src/emu/diexec.h21
-rw-r--r--src/emu/diserial.c1
-rw-r--r--src/emu/dislot.h9
-rw-r--r--src/emu/disound.h15
-rw-r--r--src/emu/drawgfxm.h48
-rw-r--r--src/emu/driver.h21
-rw-r--r--src/emu/emucore.h3
-rw-r--r--src/emu/emuopts.c1
-rw-r--r--src/emu/imagedev/cartslot.c2
-rw-r--r--src/emu/imagedev/cartslot.h6
-rw-r--r--src/emu/imagedev/cassette.c2
-rw-r--r--src/emu/imagedev/chd_cd.c1
-rw-r--r--src/emu/imagedev/chd_cd.h3
-rw-r--r--src/emu/imagedev/flopdrv.c1
-rw-r--r--src/emu/imagedev/floppy.h3
-rw-r--r--src/emu/imagedev/harddriv.c1
-rw-r--r--src/emu/imagedev/harddriv.h6
-rw-r--r--src/emu/imagedev/printer.c1
-rw-r--r--src/emu/imagedev/printer.h3
-rw-r--r--src/emu/imagedev/serial.c1
-rw-r--r--src/emu/imagedev/serial.h3
-rw-r--r--src/emu/ioport.c3
-rw-r--r--src/emu/ioport.h43
-rw-r--r--src/emu/machine/6522via.c1
-rw-r--r--src/emu/machine/6551acia.c1
-rw-r--r--src/emu/machine/74123.c1
-rw-r--r--src/emu/machine/7474.h6
-rw-r--r--src/emu/machine/8237dma.c1
-rw-r--r--src/emu/machine/aakart.c1
-rw-r--r--src/emu/machine/aakart.h3
-rw-r--r--src/emu/machine/am53cf96.h3
-rw-r--r--src/emu/machine/cdp1871.c1
-rw-r--r--src/emu/machine/ctronics.c2
-rw-r--r--src/emu/machine/ctronics.h6
-rw-r--r--src/emu/machine/eeprom.h9
-rw-r--r--src/emu/machine/er2055.h3
-rw-r--r--src/emu/machine/f3853.c1
-rw-r--r--src/emu/machine/i8155.c1
-rw-r--r--src/emu/machine/i8212.c1
-rw-r--r--src/emu/machine/i8243.h9
-rw-r--r--src/emu/machine/i8251.c1
-rw-r--r--src/emu/machine/i8355.c1
-rw-r--r--src/emu/machine/idectrl.c1
-rw-r--r--src/emu/machine/ins8154.c1
-rw-r--r--src/emu/machine/jvsdev.h3
-rw-r--r--src/emu/machine/k033906.c1
-rw-r--r--src/emu/machine/k056230.c1
-rw-r--r--src/emu/machine/laserdsc.h30
-rw-r--r--src/emu/machine/lc89510.c2
-rw-r--r--src/emu/machine/ldpr8210.h6
-rw-r--r--src/emu/machine/ldstub.h9
-rw-r--r--src/emu/machine/ldv1000.h3
-rw-r--r--src/emu/machine/ldvp931.h3
-rw-r--r--src/emu/machine/m6m80011ap.c2
-rw-r--r--src/emu/machine/m6m80011ap.h3
-rw-r--r--src/emu/machine/msm6242.c1
-rw-r--r--src/emu/machine/n68681.h3
-rw-r--r--src/emu/machine/net_lib.h81
-rw-r--r--src/emu/machine/netlist.c5
-rw-r--r--src/emu/machine/netlist.h51
-rw-r--r--src/emu/machine/nvram.h27
-rw-r--r--src/emu/machine/pc16552d.c1
-rw-r--r--src/emu/machine/pci.h15
-rw-r--r--src/emu/machine/roc10937.c2
-rw-r--r--src/emu/machine/roc10937.h24
-rw-r--r--src/emu/machine/rtc65271.h3
-rw-r--r--src/emu/machine/rtc9701.c1
-rw-r--r--src/emu/machine/rtc9701.h3
-rw-r--r--src/emu/machine/s3520cf.c1
-rw-r--r--src/emu/machine/s3520cf.h3
-rw-r--r--src/emu/machine/s3c24xx.c1
-rw-r--r--src/emu/machine/scsicb.h27
-rw-r--r--src/emu/machine/seibu_cop.c1
-rw-r--r--src/emu/machine/seibu_cop.h3
-rw-r--r--src/emu/machine/tc009xlvc.c1
-rw-r--r--src/emu/machine/timekpr.c1
-rw-r--r--src/emu/machine/upd765.c1
-rw-r--r--src/emu/machine/v3021.c1
-rw-r--r--src/emu/machine/v3021.h3
-rw-r--r--src/emu/machine/wd17xx.c2
-rw-r--r--src/emu/machine/x2212.h6
-rw-r--r--src/emu/mconfig.h57
-rw-r--r--src/emu/rendlay.c4
-rw-r--r--src/emu/screen.h42
-rw-r--r--src/emu/softlist.c1
-rw-r--r--src/emu/sound/2151intf.h6
-rw-r--r--src/emu/sound/aica.c1
-rw-r--r--src/emu/sound/asc.h6
-rw-r--r--src/emu/sound/bsmt2000.h9
-rw-r--r--src/emu/sound/cdp1869.c1
-rw-r--r--src/emu/sound/dac.h3
-rw-r--r--src/emu/sound/disc_wav.c1
-rw-r--r--src/emu/sound/discrete.c4
-rw-r--r--src/emu/sound/discrete.h4
-rw-r--r--src/emu/sound/es5503.h9
-rw-r--r--src/emu/sound/fm.c16
-rw-r--r--src/emu/sound/fm2612.c10
-rw-r--r--src/emu/sound/fmopl.c3
-rw-r--r--src/emu/sound/gaelco.h12
-rw-r--r--src/emu/sound/ics2115.h6
-rw-r--r--src/emu/sound/k053260.c4
-rw-r--r--src/emu/sound/k054539.h3
-rw-r--r--src/emu/sound/nile.h6
-rw-r--r--src/emu/sound/okim6295.h3
-rw-r--r--src/emu/sound/okim6376.c2
-rw-r--r--src/emu/sound/qs1000.c1
-rw-r--r--src/emu/sound/qs1000.h1
-rw-r--r--src/emu/sound/qsound.h6
-rw-r--r--src/emu/sound/scsp.c1
-rw-r--r--src/emu/sound/segapcm.h6
-rw-r--r--src/emu/sound/snkwave.h6
-rw-r--r--src/emu/sound/tms5110.c2
-rw-r--r--src/emu/sound/votrax.h3
-rw-r--r--src/emu/sound/vrender0.h6
-rw-r--r--src/emu/sound/ym2151.c1
-rw-r--r--src/emu/sound/ym2413.c4
-rw-r--r--src/emu/sound/ymdeltat.c3
-rw-r--r--src/emu/sound/ymf262.c3
-rw-r--r--src/emu/speaker.h3
-rw-r--r--src/emu/timer.h36
-rw-r--r--src/emu/validity.c1
-rw-r--r--src/emu/video/bufsprite.h12
-rw-r--r--src/emu/video/huc6272.c3
-rw-r--r--src/emu/video/m50458.c1
-rw-r--r--src/emu/video/m50458.h3
-rw-r--r--src/emu/video/mb90082.c1
-rw-r--r--src/emu/video/mb90082.h3
-rw-r--r--src/emu/video/psx.c4
-rw-r--r--src/emu/video/ramdac.c1
-rw-r--r--src/emu/video/resnet.c2
-rw-r--r--src/emu/video/v9938.c6
-rw-r--r--src/emu/video/v9938.h6
-rw-r--r--src/emu/video/vooddefs.h36
-rw-r--r--src/lib/expat/xmlparse.c2
-rw-r--r--src/lib/formats/ami_dsk.c1
-rw-r--r--src/lib/formats/cassimg.h6
-rw-r--r--src/lib/formats/flopimg.h9
-rw-r--r--src/lib/formats/gtp_cas.c1
-rw-r--r--src/lib/formats/kc_cas.c1
-rw-r--r--src/lib/formats/pasti_dsk.c1
-rw-r--r--src/lib/formats/primoptp.c2
-rw-r--r--src/lib/formats/thom_cas.c2
-rw-r--r--src/lib/formats/vg5k_cas.c1
-rw-r--r--src/lib/lib7z/7zIn.c1
-rw-r--r--src/lib/lib7z/Aes.c6
-rw-r--r--src/lib/lib7z/BwtSort.c3
-rw-r--r--src/lib/libflac/include/flac++/decoder.h1
-rw-r--r--src/lib/libflac/include/flac++/encoder.h1
-rw-r--r--src/lib/libflac/include/flac++/metadata.h1
-rw-r--r--src/lib/libflac/include/flac/format.h3
-rw-r--r--src/lib/libflac/include/flac/metadata.h1
-rw-r--r--src/lib/libflac/include/flac/stream_decoder.h8
-rw-r--r--src/lib/libflac/include/flac/stream_encoder.h6
-rw-r--r--src/lib/libflac/libflac/bitreader.c2
-rw-r--r--src/lib/libjpeg/jcmaster.c2
-rw-r--r--src/lib/libjpeg/jdhuff.c5
-rw-r--r--src/lib/libjpeg/jdinput.c2
-rw-r--r--src/lib/libjpeg/jerror.h1
-rw-r--r--src/lib/libjpeg/jpegtran.c1
-rw-r--r--src/lib/portmidi/ptmacosx_cf.c1
-rwxr-xr-xsrc/lib/softfloat/fsincos.c3
-rw-r--r--src/lib/softfloat/fyl2x.c3
-rw-r--r--src/lib/softfloat/softfloat.c20
-rw-r--r--src/lib/util/opresolv.h21
-rw-r--r--src/lib/zlib/deflate.c3
-rw-r--r--src/lib/zlib/trees.c1
-rw-r--r--src/mame/audio/8080bw.c1
-rw-r--r--src/mame/audio/astrof.c1
-rw-r--r--src/mame/audio/circus.c1
-rw-r--r--src/mame/audio/copsnrob.c1
-rw-r--r--src/mame/audio/cyberbal.c1
-rw-r--r--src/mame/audio/harddriv.c4
-rw-r--r--src/mame/audio/jedi.c3
-rw-r--r--src/mame/audio/mario.c2
-rw-r--r--src/mame/audio/midway.h15
-rw-r--r--src/mame/audio/mw8080bw.c9
-rw-r--r--src/mame/audio/n8080.c3
-rw-r--r--src/mame/audio/seibu.h43
-rw-r--r--src/mame/audio/senjyo.c1
-rw-r--r--src/mame/audio/williams.h9
-rw-r--r--src/mame/drivers/1942.c2
-rw-r--r--src/mame/drivers/1943.c1
-rw-r--r--src/mame/drivers/20pacgal.c5
-rw-r--r--src/mame/drivers/2mindril.c9
-rw-r--r--src/mame/drivers/30test.c2
-rw-r--r--src/mame/drivers/39in1.c2
-rw-r--r--src/mame/drivers/40love.c4
-rw-r--r--src/mame/drivers/4enraya.c2
-rw-r--r--src/mame/drivers/4roses.c1
-rw-r--r--src/mame/drivers/5clown.c1
-rw-r--r--src/mame/drivers/88games.c8
-rw-r--r--src/mame/drivers/acesp.c178
-rw-r--r--src/mame/drivers/actfancr.c4
-rw-r--r--src/mame/drivers/adp.c3
-rw-r--r--src/mame/drivers/aeroboto.c5
-rw-r--r--src/mame/drivers/aerofgt.c1
-rw-r--r--src/mame/drivers/airbustr.c4
-rw-r--r--src/mame/drivers/albazc.c1
-rw-r--r--src/mame/drivers/alg.c4
-rw-r--r--src/mame/drivers/alien.c1
-rw-r--r--src/mame/drivers/aliens.c7
-rw-r--r--src/mame/drivers/alpha68k.c11
-rw-r--r--src/mame/drivers/amaticmg.c2
-rw-r--r--src/mame/drivers/ampoker2.c1
-rw-r--r--src/mame/drivers/amspdwy.c1
-rw-r--r--src/mame/drivers/angelkds.c1
-rw-r--r--src/mame/drivers/appoooh.c4
-rw-r--r--src/mame/drivers/aquarium.c2
-rw-r--r--src/mame/drivers/arabian.c5
-rw-r--r--src/mame/drivers/arcadia.c1
-rw-r--r--src/mame/drivers/aristmk4.c13
-rw-r--r--src/mame/drivers/aristmk5.c4
-rw-r--r--src/mame/drivers/aristmk6.c1
-rw-r--r--src/mame/drivers/arkanoid.c2
-rw-r--r--src/mame/drivers/armedf.c16
-rw-r--r--src/mame/drivers/ashnojoe.c2
-rw-r--r--src/mame/drivers/asterix.c4
-rw-r--r--src/mame/drivers/astinvad.c7
-rw-r--r--src/mame/drivers/astrafr.c1
-rw-r--r--src/mame/drivers/astrocorp.c3
-rw-r--r--src/mame/drivers/astrof.c13
-rw-r--r--src/mame/drivers/astropc.c1
-rw-r--r--src/mame/drivers/asuka.c2
-rw-r--r--src/mame/drivers/atarifb.c2
-rw-r--r--src/mame/drivers/atarig42.c1
-rw-r--r--src/mame/drivers/atarigt.c2
-rw-r--r--src/mame/drivers/atarigx2.c4
-rw-r--r--src/mame/drivers/atarisy2.c3
-rw-r--r--src/mame/drivers/atetris.c4
-rw-r--r--src/mame/drivers/avalnche.c2
-rw-r--r--src/mame/drivers/avt.c1
-rw-r--r--src/mame/drivers/backfire.c7
-rw-r--r--src/mame/drivers/badlands.c2
-rw-r--r--src/mame/drivers/bagman.c3
-rw-r--r--src/mame/drivers/bankp.c2
-rw-r--r--src/mame/drivers/baraduke.c1
-rw-r--r--src/mame/drivers/battlane.c4
-rw-r--r--src/mame/drivers/battlex.c2
-rw-r--r--src/mame/drivers/battlnts.c1
-rw-r--r--src/mame/drivers/bbusters.c4
-rw-r--r--src/mame/drivers/beathead.c1
-rw-r--r--src/mame/drivers/beezer.c1
-rw-r--r--src/mame/drivers/bfcobra.c1
-rw-r--r--src/mame/drivers/bfm_ad5sw.c96
-rw-r--r--src/mame/drivers/bfm_sc1.c45
-rw-r--r--src/mame/drivers/bfm_sc2.c116
-rw-r--r--src/mame/drivers/bfm_sc4.c4
-rw-r--r--src/mame/drivers/bfm_sc4h.c3
-rw-r--r--src/mame/drivers/bfm_swp.c1
-rw-r--r--src/mame/drivers/bfmsys85.c2
-rw-r--r--src/mame/drivers/bigevglf.c4
-rw-r--r--src/mame/drivers/bingoc.c2
-rw-r--r--src/mame/drivers/bingoman.c1
-rw-r--r--src/mame/drivers/bionicc.c7
-rw-r--r--src/mame/drivers/bishi.c1
-rw-r--r--src/mame/drivers/bking.c4
-rw-r--r--src/mame/drivers/blackt96.c4
-rw-r--r--src/mame/drivers/bladestl.c2
-rw-r--r--src/mame/drivers/blktiger.c2
-rw-r--r--src/mame/drivers/blmbycar.c7
-rw-r--r--src/mame/drivers/blockade.c3
-rw-r--r--src/mame/drivers/blockhl.c6
-rw-r--r--src/mame/drivers/blockout.c5
-rw-r--r--src/mame/drivers/bmcpokr.c1
-rw-r--r--src/mame/drivers/bnstars.c2
-rw-r--r--src/mame/drivers/bogeyman.c4
-rw-r--r--src/mame/drivers/bombjack.c4
-rw-r--r--src/mame/drivers/bottom9.c9
-rw-r--r--src/mame/drivers/boxer.c1
-rw-r--r--src/mame/drivers/brkthru.c4
-rw-r--r--src/mame/drivers/bsktball.c2
-rw-r--r--src/mame/drivers/bublbobl.c11
-rw-r--r--src/mame/drivers/buggychl.c2
-rw-r--r--src/mame/drivers/bwing.c6
-rw-r--r--src/mame/drivers/cabal.c4
-rw-r--r--src/mame/drivers/calorie.c3
-rw-r--r--src/mame/drivers/capbowl.c3
-rw-r--r--src/mame/drivers/carjmbre.c3
-rw-r--r--src/mame/drivers/carrera.c1
-rw-r--r--src/mame/drivers/cave.c14
-rw-r--r--src/mame/drivers/cball.c1
-rw-r--r--src/mame/drivers/cbasebal.c5
-rw-r--r--src/mame/drivers/cbuster.c4
-rw-r--r--src/mame/drivers/ccastles.c1
-rw-r--r--src/mame/drivers/cchance.c5
-rw-r--r--src/mame/drivers/cclimber.c3
-rw-r--r--src/mame/drivers/cd32.c3
-rw-r--r--src/mame/drivers/cdi.c1
-rw-r--r--src/mame/drivers/centiped.c4
-rw-r--r--src/mame/drivers/chaknpop.c1
-rw-r--r--src/mame/drivers/champbas.c5
-rw-r--r--src/mame/drivers/champbwl.c1
-rw-r--r--src/mame/drivers/chanbara.c7
-rw-r--r--src/mame/drivers/chance32.c4
-rw-r--r--src/mame/drivers/changela.c4
-rw-r--r--src/mame/drivers/cheekyms.c3
-rw-r--r--src/mame/drivers/chihiro.c3
-rw-r--r--src/mame/drivers/chinagat.c2
-rw-r--r--src/mame/drivers/chinsan.c5
-rw-r--r--src/mame/drivers/chqflag.c2
-rw-r--r--src/mame/drivers/cidelsa.c2
-rw-r--r--src/mame/drivers/cinemat.c3
-rw-r--r--src/mame/drivers/circus.c2
-rw-r--r--src/mame/drivers/circusc.c4
-rw-r--r--src/mame/drivers/citycon.c2
-rw-r--r--src/mame/drivers/clayshoo.c1
-rw-r--r--src/mame/drivers/cliffhgr.c1
-rw-r--r--src/mame/drivers/cmmb.c1
-rw-r--r--src/mame/drivers/cninja.c1
-rw-r--r--src/mame/drivers/cntsteer.c6
-rw-r--r--src/mame/drivers/cobra.c9
-rw-r--r--src/mame/drivers/coinmvga.c1
-rw-r--r--src/mame/drivers/combatsc.c5
-rw-r--r--src/mame/drivers/commando.c2
-rw-r--r--src/mame/drivers/compgolf.c3
-rw-r--r--src/mame/drivers/coolpool.c15
-rw-r--r--src/mame/drivers/coolridr.c2
-rw-r--r--src/mame/drivers/cop01.c4
-rw-r--r--src/mame/drivers/cops.c1
-rw-r--r--src/mame/drivers/copsnrob.c3
-rw-r--r--src/mame/drivers/cosmic.c5
-rw-r--r--src/mame/drivers/cps1.c3
-rw-r--r--src/mame/drivers/cps2.c4
-rw-r--r--src/mame/drivers/cps3.c2
-rw-r--r--src/mame/drivers/crbaloon.c1
-rw-r--r--src/mame/drivers/crgolf.c7
-rw-r--r--src/mame/drivers/crimfght.c3
-rw-r--r--src/mame/drivers/crospang.c2
-rw-r--r--src/mame/drivers/crshrace.c3
-rw-r--r--src/mame/drivers/crystal.c5
-rw-r--r--src/mame/drivers/cupidon.c1
-rw-r--r--src/mame/drivers/cvs.c18
-rw-r--r--src/mame/drivers/cyclemb.c3
-rw-r--r--src/mame/drivers/dacholer.c3
-rw-r--r--src/mame/drivers/dai3wksi.c3
-rw-r--r--src/mame/drivers/darius.c11
-rw-r--r--src/mame/drivers/dassault.c1
-rw-r--r--src/mame/drivers/dblewing.c5
-rw-r--r--src/mame/drivers/dbz.c1
-rw-r--r--src/mame/drivers/dcheese.c3
-rw-r--r--src/mame/drivers/dday.c2
-rw-r--r--src/mame/drivers/ddayjlc.c6
-rw-r--r--src/mame/drivers/ddealer.c6
-rw-r--r--src/mame/drivers/ddenlovr.c1
-rw-r--r--src/mame/drivers/ddragon.c5
-rw-r--r--src/mame/drivers/ddragon3.c2
-rw-r--r--src/mame/drivers/ddz.c1
-rw-r--r--src/mame/drivers/dec0.c1
-rw-r--r--src/mame/drivers/dec8.c8
-rw-r--r--src/mame/drivers/deco32.c2
-rw-r--r--src/mame/drivers/decocass.c12
-rw-r--r--src/mame/drivers/deniam.c1
-rw-r--r--src/mame/drivers/destroyr.c4
-rw-r--r--src/mame/drivers/dietgo.c1
-rw-r--r--src/mame/drivers/discoboy.c8
-rw-r--r--src/mame/drivers/diverboy.c2
-rw-r--r--src/mame/drivers/djboy.c10
-rw-r--r--src/mame/drivers/dkong.c2
-rw-r--r--src/mame/drivers/dlair2.c1
-rw-r--r--src/mame/drivers/docastle.c1
-rw-r--r--src/mame/drivers/dogfgt.c2
-rw-r--r--src/mame/drivers/dooyong.c1
-rw-r--r--src/mame/drivers/dorachan.c3
-rw-r--r--src/mame/drivers/dotrikun.c1
-rw-r--r--src/mame/drivers/dreamwld.c3
-rw-r--r--src/mame/drivers/drgnmst.c4
-rw-r--r--src/mame/drivers/dribling.c8
-rw-r--r--src/mame/drivers/drmicro.c4
-rw-r--r--src/mame/drivers/drtomy.c5
-rw-r--r--src/mame/drivers/drw80pkr.c1
-rw-r--r--src/mame/drivers/dunhuang.c2
-rw-r--r--src/mame/drivers/dwarfd.c7
-rw-r--r--src/mame/drivers/dynadice.c1
-rw-r--r--src/mame/drivers/dynax.c12
-rw-r--r--src/mame/drivers/ecoinf1.c1
-rw-r--r--src/mame/drivers/ecoinf2.c1
-rw-r--r--src/mame/drivers/ecoinf3.c2
-rw-r--r--src/mame/drivers/ecoinfr.c78
-rw-r--r--src/mame/drivers/egghunt.c2
-rw-r--r--src/mame/drivers/embargo.c3
-rw-r--r--src/mame/drivers/eolith.c2
-rw-r--r--src/mame/drivers/eolithsp.c1
-rw-r--r--src/mame/drivers/epos.c3
-rw-r--r--src/mame/drivers/eprom.c2
-rw-r--r--src/mame/drivers/equites.c4
-rw-r--r--src/mame/drivers/esd16.c20
-rw-r--r--src/mame/drivers/espial.c3
-rw-r--r--src/mame/drivers/exedexes.c2
-rw-r--r--src/mame/drivers/exerion.c1
-rw-r--r--src/mame/drivers/expro02.c2
-rw-r--r--src/mame/drivers/exprraid.c3
-rw-r--r--src/mame/drivers/extrema.c3
-rw-r--r--src/mame/drivers/f1gp.c3
-rw-r--r--src/mame/drivers/famibox.c4
-rw-r--r--src/mame/drivers/fantland.c2
-rw-r--r--src/mame/drivers/fastfred.c6
-rw-r--r--src/mame/drivers/fastlane.c1
-rw-r--r--src/mame/drivers/fcombat.c4
-rw-r--r--src/mame/drivers/feversoc.c1
-rw-r--r--src/mame/drivers/fgoal.c4
-rw-r--r--src/mame/drivers/finalizr.c4
-rw-r--r--src/mame/drivers/firebeat.c1
-rw-r--r--src/mame/drivers/firetrap.c2
-rw-r--r--src/mame/drivers/firetrk.c1
-rw-r--r--src/mame/drivers/fitfight.c2
-rw-r--r--src/mame/drivers/flkatck.c3
-rw-r--r--src/mame/drivers/flstory.c3
-rw-r--r--src/mame/drivers/flyball.c1
-rw-r--r--src/mame/drivers/forte2.c1
-rw-r--r--src/mame/drivers/fromanc2.c4
-rw-r--r--src/mame/drivers/fromance.c2
-rw-r--r--src/mame/drivers/funkball.c4
-rw-r--r--src/mame/drivers/funkybee.c2
-rw-r--r--src/mame/drivers/funkyjet.c1
-rw-r--r--src/mame/drivers/fuukifg3.c1
-rw-r--r--src/mame/drivers/gaelco.c6
-rw-r--r--src/mame/drivers/gaiden.c6
-rw-r--r--src/mame/drivers/galaga.c5
-rw-r--r--src/mame/drivers/galastrm.c1
-rw-r--r--src/mame/drivers/galaxi.c4
-rw-r--r--src/mame/drivers/galaxian.c4
-rw-r--r--src/mame/drivers/galgame.c2
-rw-r--r--src/mame/drivers/galivan.c7
-rw-r--r--src/mame/drivers/galpani3.c3
-rw-r--r--src/mame/drivers/galspnbl.c2
-rw-r--r--src/mame/drivers/gameplan.c3
-rw-r--r--src/mame/drivers/gamtor.c1
-rw-r--r--src/mame/drivers/gaplus.c3
-rw-r--r--src/mame/drivers/gatron.c1
-rw-r--r--src/mame/drivers/gberet.c3
-rw-r--r--src/mame/drivers/gbusters.c7
-rw-r--r--src/mame/drivers/gcpinbal.c2
-rw-r--r--src/mame/drivers/gei.c1
-rw-r--r--src/mame/drivers/ggconnie.c1
-rw-r--r--src/mame/drivers/gijoe.c4
-rw-r--r--src/mame/drivers/ginganin.c2
-rw-r--r--src/mame/drivers/glass.c2
-rw-r--r--src/mame/drivers/globalfr.c4
-rw-r--r--src/mame/drivers/gng.c2
-rw-r--r--src/mame/drivers/goal92.c1
-rw-r--r--src/mame/drivers/goindol.c7
-rw-r--r--src/mame/drivers/goldngam.c3
-rw-r--r--src/mame/drivers/goldnpkr.c1
-rw-r--r--src/mame/drivers/goldstar.c4
-rw-r--r--src/mame/drivers/gotcha.c1
-rw-r--r--src/mame/drivers/gotya.c2
-rw-r--r--src/mame/drivers/gradius3.c7
-rw-r--r--src/mame/drivers/grchamp.c2
-rw-r--r--src/mame/drivers/gstream.c2
-rw-r--r--src/mame/drivers/gsword.c1
-rw-r--r--src/mame/drivers/gundealr.c1
-rw-r--r--src/mame/drivers/gunsmoke.c1
-rw-r--r--src/mame/drivers/gyruss.c3
-rw-r--r--src/mame/drivers/halleys.c3
-rw-r--r--src/mame/drivers/hanaawas.c2
-rw-r--r--src/mame/drivers/hcastle.c1
-rw-r--r--src/mame/drivers/highvdeo.c1
-rw-r--r--src/mame/drivers/hikaru.c4
-rw-r--r--src/mame/drivers/himesiki.c1
-rw-r--r--src/mame/drivers/hitme.c3
-rw-r--r--src/mame/drivers/hnayayoi.c2
-rw-r--r--src/mame/drivers/hng64.c21
-rw-r--r--src/mame/drivers/homedata.c4
-rw-r--r--src/mame/drivers/hotstuff.c1
-rw-r--r--src/mame/drivers/hshavoc.c1
-rw-r--r--src/mame/drivers/hvyunit.c17
-rw-r--r--src/mame/drivers/hyperspt.c2
-rw-r--r--src/mame/drivers/hyprduel.c6
-rw-r--r--src/mame/drivers/icecold.c1
-rw-r--r--src/mame/drivers/ichiban.c1
-rw-r--r--src/mame/drivers/igs011.c2
-rw-r--r--src/mame/drivers/igspc.c1
-rw-r--r--src/mame/drivers/ikki.c3
-rw-r--r--src/mame/drivers/imolagp.c4
-rw-r--r--src/mame/drivers/inufuku.c1
-rw-r--r--src/mame/drivers/ironhors.c4
-rw-r--r--src/mame/drivers/jackal.c2
-rw-r--r--src/mame/drivers/jackie.c1
-rw-r--r--src/mame/drivers/jailbrek.c3
-rw-r--r--src/mame/drivers/jangou.c9
-rw-r--r--src/mame/drivers/jantotsu.c4
-rw-r--r--src/mame/drivers/jchan.c8
-rw-r--r--src/mame/drivers/jclub2.c3
-rw-r--r--src/mame/drivers/jedi.c5
-rw-r--r--src/mame/drivers/jollyjgr.c5
-rw-r--r--src/mame/drivers/jongkyo.c3
-rw-r--r--src/mame/drivers/jpmimpct.c3
-rw-r--r--src/mame/drivers/jpmimpctsw.c468
-rw-r--r--src/mame/drivers/jpmsys5.c3
-rw-r--r--src/mame/drivers/jpmsys5sw.c36
-rw-r--r--src/mame/drivers/jrpacman.c3
-rw-r--r--src/mame/drivers/jubilee.c1
-rw-r--r--src/mame/drivers/junofrst.c12
-rw-r--r--src/mame/drivers/kangaroo.c1
-rw-r--r--src/mame/drivers/karnov.c4
-rw-r--r--src/mame/drivers/kas89.c4
-rw-r--r--src/mame/drivers/kchamp.c4
-rw-r--r--src/mame/drivers/kickgoal.c3
-rw-r--r--src/mame/drivers/kingobox.c3
-rw-r--r--src/mame/drivers/kncljoe.c3
-rw-r--r--src/mame/drivers/koikoi.c2
-rw-r--r--src/mame/drivers/konamigv.c7
-rw-r--r--src/mame/drivers/konamigx.c1
-rw-r--r--src/mame/drivers/kontest.c1
-rw-r--r--src/mame/drivers/kopunch.c4
-rw-r--r--src/mame/drivers/ksayakyu.c1
-rw-r--r--src/mame/drivers/ksys573.c8
-rw-r--r--src/mame/drivers/kungfur.c3
-rw-r--r--src/mame/drivers/kyugo.c1
-rw-r--r--src/mame/drivers/ladybug.c4
-rw-r--r--src/mame/drivers/ladyfrog.c5
-rw-r--r--src/mame/drivers/laserbas.c9
-rw-r--r--src/mame/drivers/laserbat.c5
-rw-r--r--src/mame/drivers/lasso.c5
-rw-r--r--src/mame/drivers/lastduel.c1
-rw-r--r--src/mame/drivers/lastfght.c15
-rw-r--r--src/mame/drivers/lazercmd.c5
-rw-r--r--src/mame/drivers/lemmings.c2
-rw-r--r--src/mame/drivers/lethal.c3
-rw-r--r--src/mame/drivers/liberate.c2
-rw-r--r--src/mame/drivers/limenko.c2
-rw-r--r--src/mame/drivers/littlerb.c4
-rw-r--r--src/mame/drivers/lkage.c3
-rw-r--r--src/mame/drivers/lockon.c3
-rw-r--r--src/mame/drivers/looping.c1
-rw-r--r--src/mame/drivers/lsasquad.c2
-rw-r--r--src/mame/drivers/lwings.c4
-rw-r--r--src/mame/drivers/m10.c6
-rw-r--r--src/mame/drivers/m107.c1
-rw-r--r--src/mame/drivers/m14.c9
-rw-r--r--src/mame/drivers/m62.c2
-rw-r--r--src/mame/drivers/m63.c17
-rw-r--r--src/mame/drivers/m72.c1
-rw-r--r--src/mame/drivers/m92.c1
-rw-r--r--src/mame/drivers/macrossp.c7
-rw-r--r--src/mame/drivers/macs.c6
-rw-r--r--src/mame/drivers/madmotor.c3
-rw-r--r--src/mame/drivers/magicard.c1
-rw-r--r--src/mame/drivers/magictg.c2
-rw-r--r--src/mame/drivers/mainevt.c10
-rw-r--r--src/mame/drivers/mainsnk.c3
-rw-r--r--src/mame/drivers/majorpkr.c9
-rw-r--r--src/mame/drivers/malzak.c3
-rw-r--r--src/mame/drivers/mappy.c6
-rw-r--r--src/mame/drivers/marineb.c6
-rw-r--r--src/mame/drivers/marinedt.c4
-rw-r--r--src/mame/drivers/mario.c2
-rw-r--r--src/mame/drivers/matmania.c3
-rw-r--r--src/mame/drivers/maygay1b.c1
-rw-r--r--src/mame/drivers/maygay1bsw.c222
-rw-r--r--src/mame/drivers/maygayep.c169
-rw-r--r--src/mame/drivers/maygayv1.c7
-rw-r--r--src/mame/drivers/mayumi.c2
-rw-r--r--src/mame/drivers/mazerbla.c10
-rw-r--r--src/mame/drivers/mcatadv.c1
-rw-r--r--src/mame/drivers/mediagx.c11
-rw-r--r--src/mame/drivers/megaplay.c4
-rw-r--r--src/mame/drivers/megasys1.c2
-rw-r--r--src/mame/drivers/megatech.c4
-rw-r--r--src/mame/drivers/megazone.c5
-rw-r--r--src/mame/drivers/meijinsn.c2
-rw-r--r--src/mame/drivers/meritm.c1
-rw-r--r--src/mame/drivers/mermaid.c7
-rw-r--r--src/mame/drivers/metalmx.c11
-rw-r--r--src/mame/drivers/metlclsh.c2
-rw-r--r--src/mame/drivers/metro.c6
-rw-r--r--src/mame/drivers/mexico86.c1
-rw-r--r--src/mame/drivers/mgolf.c1
-rw-r--r--src/mame/drivers/midqslvr.c1
-rw-r--r--src/mame/drivers/midzeus.c1
-rw-r--r--src/mame/drivers/mikie.c5
-rw-r--r--src/mame/drivers/mirage.c3
-rw-r--r--src/mame/drivers/missb2.c4
-rw-r--r--src/mame/drivers/missile.c1
-rw-r--r--src/mame/drivers/mitchell.c5
-rw-r--r--src/mame/drivers/mjkjidai.c2
-rw-r--r--src/mame/drivers/mjsister.c2
-rw-r--r--src/mame/drivers/model1.c3
-rw-r--r--src/mame/drivers/model2.c7
-rw-r--r--src/mame/drivers/model3.c3
-rw-r--r--src/mame/drivers/mogura.c1
-rw-r--r--src/mame/drivers/mole.c1
-rw-r--r--src/mame/drivers/momoko.c1
-rw-r--r--src/mame/drivers/moo.c3
-rw-r--r--src/mame/drivers/mosaic.c4
-rw-r--r--src/mame/drivers/mouser.c3
-rw-r--r--src/mame/drivers/mpoker.c1
-rw-r--r--src/mame/drivers/mpu12wbk.c1
-rw-r--r--src/mame/drivers/mpu2.c3
-rw-r--r--src/mame/drivers/mpu3.c1
-rw-r--r--src/mame/drivers/mpu4.c72
-rw-r--r--src/mame/drivers/mpu4avan.c99
-rw-r--r--src/mame/drivers/mpu4bwb.c312
-rw-r--r--src/mame/drivers/mpu4concept.c24
-rw-r--r--src/mame/drivers/mpu4crystal.c87
-rw-r--r--src/mame/drivers/mpu4dealem.c1
-rw-r--r--src/mame/drivers/mpu4hw.c2
-rw-r--r--src/mame/drivers/mpu4misc.c78
-rw-r--r--src/mame/drivers/mpu4mod4yam.c48
-rw-r--r--src/mame/drivers/mpu4plasma.c14
-rw-r--r--src/mame/drivers/mpu4sw.c603
-rw-r--r--src/mame/drivers/mpu4vid.c3
-rw-r--r--src/mame/drivers/mrflea.c4
-rw-r--r--src/mame/drivers/msisaac.c2
-rw-r--r--src/mame/drivers/mugsmash.c2
-rw-r--r--src/mame/drivers/multfish.c10
-rw-r--r--src/mame/drivers/multigam.c1
-rw-r--r--src/mame/drivers/munchmo.c5
-rw-r--r--src/mame/drivers/murogmbl.c1
-rw-r--r--src/mame/drivers/mwarr.c8
-rw-r--r--src/mame/drivers/mystston.c1
-rw-r--r--src/mame/drivers/n8080.c5
-rw-r--r--src/mame/drivers/namcos11.c8
-rw-r--r--src/mame/drivers/namcos12.c13
-rw-r--r--src/mame/drivers/namcos21.c6
-rw-r--r--src/mame/drivers/namcos22.c1
-rw-r--r--src/mame/drivers/naomi.c7
-rw-r--r--src/mame/drivers/nbmj9195.c2
-rw-r--r--src/mame/drivers/nemesis.c4
-rw-r--r--src/mame/drivers/neodrvr.c9
-rw-r--r--src/mame/drivers/neogeo.c7
-rw-r--r--src/mame/drivers/neoprint.c3
-rw-r--r--src/mame/drivers/neptunp2.c1
-rw-r--r--src/mame/drivers/news.c2
-rw-r--r--src/mame/drivers/nexus3d.c2
-rw-r--r--src/mame/drivers/nightgal.c7
-rw-r--r--src/mame/drivers/ninjaw.c6
-rw-r--r--src/mame/drivers/nmg5.c7
-rw-r--r--src/mame/drivers/nmk16.c4
-rw-r--r--src/mame/drivers/nsmpoker.c1
-rw-r--r--src/mame/drivers/nss.c2
-rw-r--r--src/mame/drivers/nycaptor.c4
-rw-r--r--src/mame/drivers/nyny.c8
-rw-r--r--src/mame/drivers/offtwall.c4
-rw-r--r--src/mame/drivers/ohmygod.c2
-rw-r--r--src/mame/drivers/ojankohs.c4
-rw-r--r--src/mame/drivers/olibochu.c2
-rw-r--r--src/mame/drivers/oneshot.c4
-rw-r--r--src/mame/drivers/opwolf.c2
-rw-r--r--src/mame/drivers/orbit.c1
-rw-r--r--src/mame/drivers/othello.c5
-rw-r--r--src/mame/drivers/othldrby.c2
-rw-r--r--src/mame/drivers/othunder.c7
-rw-r--r--src/mame/drivers/overdriv.c4
-rw-r--r--src/mame/drivers/pachifev.c4
-rw-r--r--src/mame/drivers/pacland.c2
-rw-r--r--src/mame/drivers/pacman.c4
-rw-r--r--src/mame/drivers/pandoras.c7
-rw-r--r--src/mame/drivers/panicr.c1
-rw-r--r--src/mame/drivers/paradise.c5
-rw-r--r--src/mame/drivers/parodius.c7
-rw-r--r--src/mame/drivers/pasha2.c6
-rw-r--r--src/mame/drivers/pbaction.c5
-rw-r--r--src/mame/drivers/pcat_dyn.c1
-rw-r--r--src/mame/drivers/pcxt.c3
-rw-r--r--src/mame/drivers/pengadvb.c2
-rw-r--r--src/mame/drivers/pengo.c3
-rw-r--r--src/mame/drivers/peyper.c1
-rw-r--r--src/mame/drivers/pgm.c9
-rw-r--r--src/mame/drivers/pgm2.c4
-rw-r--r--src/mame/drivers/pinkiri8.c4
-rw-r--r--src/mame/drivers/pipedrm.c2
-rw-r--r--src/mame/drivers/pktgaldx.c1
-rw-r--r--src/mame/drivers/playch10.c4
-rw-r--r--src/mame/drivers/playmark.c6
-rw-r--r--src/mame/drivers/plygonet.c2
-rw-r--r--src/mame/drivers/pntnpuzl.c1
-rw-r--r--src/mame/drivers/polyplay.c1
-rw-r--r--src/mame/drivers/pong.c2
-rw-r--r--src/mame/drivers/pooyan.c3
-rw-r--r--src/mame/drivers/popobear.c2
-rw-r--r--src/mame/drivers/popper.c4
-rw-r--r--src/mame/drivers/potgoldu.c3
-rw-r--r--src/mame/drivers/powerbal.c6
-rw-r--r--src/mame/drivers/proconn.c10
-rw-r--r--src/mame/drivers/psattack.c6
-rw-r--r--src/mame/drivers/psikyo.c12
-rw-r--r--src/mame/drivers/psikyo4.c4
-rw-r--r--src/mame/drivers/psikyosh.c1
-rw-r--r--src/mame/drivers/punchout.c2
-rw-r--r--src/mame/drivers/pushman.c8
-rw-r--r--src/mame/drivers/pzletime.c4
-rw-r--r--src/mame/drivers/qdrmfgp.c2
-rw-r--r--src/mame/drivers/quasar.c3
-rw-r--r--src/mame/drivers/quizshow.c2
-rw-r--r--src/mame/drivers/rabbit.c1
-rw-r--r--src/mame/drivers/raiden.c1
-rw-r--r--src/mame/drivers/rainbow.c2
-rw-r--r--src/mame/drivers/rallyx.c6
-rw-r--r--src/mame/drivers/rastan.c1
-rw-r--r--src/mame/drivers/rastersp.c2
-rw-r--r--src/mame/drivers/rcorsair.c1
-rw-r--r--src/mame/drivers/redclash.c2
-rw-r--r--src/mame/drivers/retofinv.c2
-rw-r--r--src/mame/drivers/rgum.c1
-rw-r--r--src/mame/drivers/rltennis.c2
-rw-r--r--src/mame/drivers/rockrage.c1
-rw-r--r--src/mame/drivers/rocnrope.c2
-rw-r--r--src/mame/drivers/rohga.c1
-rw-r--r--src/mame/drivers/rollerg.c2
-rw-r--r--src/mame/drivers/rollrace.c4
-rw-r--r--src/mame/drivers/royalmah.c1
-rw-r--r--src/mame/drivers/rungun.c7
-rw-r--r--src/mame/drivers/s11.c1
-rw-r--r--src/mame/drivers/safarir.c6
-rw-r--r--src/mame/drivers/sandscrp.c9
-rw-r--r--src/mame/drivers/saturn.c1
-rw-r--r--src/mame/drivers/sbasketb.c2
-rw-r--r--src/mame/drivers/sbowling.c5
-rw-r--r--src/mame/drivers/scotrsht.c2
-rw-r--r--src/mame/drivers/scregg.c2
-rw-r--r--src/mame/drivers/segac2.c1
-rw-r--r--src/mame/drivers/segag80r.c1
-rw-r--r--src/mame/drivers/segajw.c2
-rw-r--r--src/mame/drivers/segald.c8
-rw-r--r--src/mame/drivers/segas16b.c3
-rw-r--r--src/mame/drivers/seibuspi.c1
-rw-r--r--src/mame/drivers/seicross.c3
-rw-r--r--src/mame/drivers/senjyo.c6
-rw-r--r--src/mame/drivers/seta.c10
-rw-r--r--src/mame/drivers/seta2.c9
-rw-r--r--src/mame/drivers/sf.c3
-rw-r--r--src/mame/drivers/sfbonus.c3
-rw-r--r--src/mame/drivers/sfcbox.c6
-rw-r--r--src/mame/drivers/shadfrce.c2
-rw-r--r--src/mame/drivers/shougi.c3
-rw-r--r--src/mame/drivers/shtzone.c4
-rw-r--r--src/mame/drivers/sigmab52.c3
-rw-r--r--src/mame/drivers/silkroad.c1
-rw-r--r--src/mame/drivers/silvmil.c4
-rw-r--r--src/mame/drivers/simpsons.c1
-rw-r--r--src/mame/drivers/skeetsht.c6
-rw-r--r--src/mame/drivers/skimaxx.c1
-rw-r--r--src/mame/drivers/skyarmy.c5
-rw-r--r--src/mame/drivers/skyfox.c3
-rw-r--r--src/mame/drivers/skykid.c2
-rw-r--r--src/mame/drivers/skylncr.c3
-rw-r--r--src/mame/drivers/skyraid.c3
-rw-r--r--src/mame/drivers/slapfght.c1
-rw-r--r--src/mame/drivers/slapshot.c1
-rw-r--r--src/mame/drivers/sliver.c9
-rw-r--r--src/mame/drivers/snk.c13
-rw-r--r--src/mame/drivers/snk6502.c2
-rw-r--r--src/mame/drivers/snk68.c2
-rw-r--r--src/mame/drivers/solomon.c2
-rw-r--r--src/mame/drivers/sonson.c2
-rw-r--r--src/mame/drivers/spcforce.c5
-rw-r--r--src/mame/drivers/speedatk.c5
-rw-r--r--src/mame/drivers/splash.c6
-rw-r--r--src/mame/drivers/splus.c8
-rw-r--r--src/mame/drivers/spoker.c12
-rw-r--r--src/mame/drivers/spool99.c5
-rw-r--r--src/mame/drivers/sprcros2.c2
-rw-r--r--src/mame/drivers/spy.c7
-rw-r--r--src/mame/drivers/srmp5.c16
-rw-r--r--src/mame/drivers/srmp6.c10
-rw-r--r--src/mame/drivers/sshot.c2
-rw-r--r--src/mame/drivers/ssingles.c6
-rw-r--r--src/mame/drivers/sslam.c4
-rw-r--r--src/mame/drivers/ssozumo.c2
-rw-r--r--src/mame/drivers/sstrangr.c1
-rw-r--r--src/mame/drivers/ssv.c17
-rw-r--r--src/mame/drivers/st0016.c1
-rw-r--r--src/mame/drivers/stactics.c5
-rw-r--r--src/mame/drivers/stlforce.c2
-rw-r--r--src/mame/drivers/strnskil.c1
-rw-r--r--src/mame/drivers/stv.c37
-rw-r--r--src/mame/drivers/su2000.c2
-rw-r--r--src/mame/drivers/sub.c2
-rw-r--r--src/mame/drivers/subsino2.c1
-rw-r--r--src/mame/drivers/summit.c1
-rw-r--r--src/mame/drivers/supbtime.c1
-rw-r--r--src/mame/drivers/superchs.c1
-rw-r--r--src/mame/drivers/superdq.c7
-rw-r--r--src/mame/drivers/superqix.c3
-rw-r--r--src/mame/drivers/supertnk.c3
-rw-r--r--src/mame/drivers/superwng.c4
-rw-r--r--src/mame/drivers/suprgolf.c10
-rw-r--r--src/mame/drivers/suprslam.c2
-rw-r--r--src/mame/drivers/surpratk.c4
-rw-r--r--src/mame/drivers/system16.c23
-rw-r--r--src/mame/drivers/tagteam.c2
-rw-r--r--src/mame/drivers/tail2nos.c2
-rw-r--r--src/mame/drivers/taito_b.c4
-rw-r--r--src/mame/drivers/taito_f2.c7
-rw-r--r--src/mame/drivers/taito_l.c10
-rw-r--r--src/mame/drivers/taito_o.c1
-rw-r--r--src/mame/drivers/taito_x.c2
-rw-r--r--src/mame/drivers/taito_z.c3
-rw-r--r--src/mame/drivers/taitoair.c5
-rw-r--r--src/mame/drivers/taitojc.c4
-rw-r--r--src/mame/drivers/taitopjc.c1
-rw-r--r--src/mame/drivers/taitotz.c10
-rw-r--r--src/mame/drivers/tankbust.c1
-rw-r--r--src/mame/drivers/tapatune.c3
-rw-r--r--src/mame/drivers/tattack.c1
-rw-r--r--src/mame/drivers/tetrisp2.c1
-rw-r--r--src/mame/drivers/thayers.c1
-rw-r--r--src/mame/drivers/thedeep.c2
-rw-r--r--src/mame/drivers/thepit.c2
-rw-r--r--src/mame/drivers/thunderj.c1
-rw-r--r--src/mame/drivers/thunderx.c10
-rw-r--r--src/mame/drivers/timetrv.c1
-rw-r--r--src/mame/drivers/tmaster.c1
-rw-r--r--src/mame/drivers/tmmjprd.c1
-rw-r--r--src/mame/drivers/tmnt.c1
-rw-r--r--src/mame/drivers/toaplan2.c26
-rw-r--r--src/mame/drivers/topspeed.c2
-rw-r--r--src/mame/drivers/toratora.c2
-rw-r--r--src/mame/drivers/toypop.c3
-rw-r--r--src/mame/drivers/tp84.c2
-rw-r--r--src/mame/drivers/trackfld.c7
-rw-r--r--src/mame/drivers/travrusa.c1
-rw-r--r--src/mame/drivers/triforce.c6
-rw-r--r--src/mame/drivers/trucocl.c2
-rw-r--r--src/mame/drivers/trvmadns.c1
-rw-r--r--src/mame/drivers/trvquest.c2
-rw-r--r--src/mame/drivers/tumbleb.c4
-rw-r--r--src/mame/drivers/tumblep.c1
-rw-r--r--src/mame/drivers/tutankhm.c4
-rw-r--r--src/mame/drivers/twinkle.c12
-rw-r--r--src/mame/drivers/ultraman.c3
-rw-r--r--src/mame/drivers/umipoker.c9
-rw-r--r--src/mame/drivers/unkhorse.c1
-rw-r--r--src/mame/drivers/vamphalf.c2
-rw-r--r--src/mame/drivers/vaportra.c3
-rw-r--r--src/mame/drivers/vastar.c1
-rw-r--r--src/mame/drivers/vega.c16
-rw-r--r--src/mame/drivers/vegaeo.c3
-rw-r--r--src/mame/drivers/vendetta.c2
-rw-r--r--src/mame/drivers/videopin.c1
-rw-r--r--src/mame/drivers/viper.c4
-rw-r--r--src/mame/drivers/vlc.c2
-rw-r--r--src/mame/drivers/volfied.c1
-rw-r--r--src/mame/drivers/warpsped.c3
-rw-r--r--src/mame/drivers/warpwarp.c1
-rw-r--r--src/mame/drivers/warriorb.c6
-rw-r--r--src/mame/drivers/welltris.c3
-rw-r--r--src/mame/drivers/wgp.c4
-rw-r--r--src/mame/drivers/wheelfir.c10
-rw-r--r--src/mame/drivers/wiping.c4
-rw-r--r--src/mame/drivers/witch.c2
-rw-r--r--src/mame/drivers/wiz.c4
-rw-r--r--src/mame/drivers/wms.c1
-rw-r--r--src/mame/drivers/wwfsstar.c2
-rw-r--r--src/mame/drivers/xexex.c6
-rw-r--r--src/mame/drivers/xmen.c2
-rw-r--r--src/mame/drivers/xtom3d.c1
-rw-r--r--src/mame/drivers/xyonix.c1
-rw-r--r--src/mame/drivers/yiear.c4
-rw-r--r--src/mame/drivers/yunsun16.c2
-rw-r--r--src/mame/drivers/yunsung8.c1
-rw-r--r--src/mame/drivers/zaccaria.c3
-rw-r--r--src/mame/drivers/zaxxon.c5
-rw-r--r--src/mame/drivers/zn.c2
-rw-r--r--src/mame/drivers/zodiack.c1
-rw-r--r--src/mame/etc/template_device.c2
-rw-r--r--src/mame/etc/template_device.h3
-rw-r--r--src/mame/etc/template_driver.c1
-rw-r--r--src/mame/includes/bfm_sc45.h1853
-rw-r--r--src/mame/includes/dec0.h1
-rw-r--r--src/mame/includes/gottlieb.h12
-rw-r--r--src/mame/includes/iremipt.h6
-rw-r--r--src/mame/includes/konamipt.h3
-rw-r--r--src/mame/includes/maygay1b.h1
-rw-r--r--src/mame/includes/namcoic.h3
-rw-r--r--src/mame/includes/pgm.h6
-rw-r--r--src/mame/includes/segaipt.h3
-rw-r--r--src/mame/machine/3do.c1
-rw-r--r--src/mame/machine/ajax.c4
-rw-r--r--src/mame/machine/amiga.c3
-rw-r--r--src/mame/machine/arkanoid.c7
-rw-r--r--src/mame/machine/atari.c1
-rw-r--r--src/mame/machine/atarifb.c3
-rw-r--r--src/mame/machine/balsente.c8
-rw-r--r--src/mame/machine/bfm_bd1.c2
-rw-r--r--src/mame/machine/bfm_bd1.h6
-rw-r--r--src/mame/machine/bfm_bda.c3
-rw-r--r--src/mame/machine/bfm_bda.h6
-rw-r--r--src/mame/machine/bigevglf.c4
-rw-r--r--src/mame/machine/bublbobl.c6
-rw-r--r--src/mame/machine/cdicdic.h6
-rw-r--r--src/mame/machine/cdislave.h6
-rw-r--r--src/mame/machine/dc.c7
-rw-r--r--src/mame/machine/decocass.c1
-rw-r--r--src/mame/machine/flstory.c5
-rw-r--r--src/mame/machine/irobot.c2
-rw-r--r--src/mame/machine/kaneko_calc3.c2
-rw-r--r--src/mame/machine/kaneko_hit.c1
-rw-r--r--src/mame/machine/kaneko_toybox.c1
-rw-r--r--src/mame/machine/konamigx.c2
-rw-r--r--src/mame/machine/lkage.c7
-rw-r--r--src/mame/machine/lsasquad.c9
-rw-r--r--src/mame/machine/md_cart.c2
-rw-r--r--src/mame/machine/mega32x.c19
-rw-r--r--src/mame/machine/megacd.c36
-rw-r--r--src/mame/machine/megacd.h33
-rw-r--r--src/mame/machine/megacdcd.c10
-rw-r--r--src/mame/machine/megacdcd.h48
-rw-r--r--src/mame/machine/megadriv.c3
-rw-r--r--src/mame/machine/megavdp.c8
-rw-r--r--src/mame/machine/mexico86.c4
-rw-r--r--src/mame/machine/micro3d.c3
-rw-r--r--src/mame/machine/mw8080bw.c1
-rw-r--r--src/mame/machine/n64.c1
-rw-r--r--src/mame/machine/namco50.h3
-rw-r--r--src/mame/machine/namcond1.c1
-rw-r--r--src/mame/machine/naomim2.c1
-rw-r--r--src/mame/machine/nb1413m3.c1
-rw-r--r--src/mame/machine/neoboot.c1
-rw-r--r--src/mame/machine/nitedrvr.c4
-rw-r--r--src/mame/machine/nycaptor.c5
-rw-r--r--src/mame/machine/opwolf.c4
-rw-r--r--src/mame/machine/pgmcrypt.c68
-rw-r--r--src/mame/machine/pgmprot1.c1
-rw-r--r--src/mame/machine/pgmprot4.c6
-rw-r--r--src/mame/machine/qix.c14
-rw-r--r--src/mame/machine/rainbow.c1
-rw-r--r--src/mame/machine/scudsp.c1
-rw-r--r--src/mame/machine/segaic16.h18
-rw-r--r--src/mame/machine/segamsys.c4
-rw-r--r--src/mame/machine/seicop.c3
-rw-r--r--src/mame/machine/simpsons.c3
-rw-r--r--src/mame/machine/slapfght.c3
-rw-r--r--src/mame/machine/snes.c2
-rw-r--r--src/mame/machine/snesbsx.c1
-rw-r--r--src/mame/machine/starwars.c1
-rw-r--r--src/mame/machine/steppers.c1
-rw-r--r--src/mame/machine/stvprot.c2
-rw-r--r--src/mame/machine/taitoio.c2
-rw-r--r--src/mame/machine/ticket.h3
-rw-r--r--src/mame/machine/tnzs.c3
-rw-r--r--src/mame/machine/toaplan1.c8
-rw-r--r--src/mame/machine/twincobr.c1
-rw-r--r--src/mame/machine/tx1.c1
-rw-r--r--src/mame/machine/vertigo.c1
-rw-r--r--src/mame/machine/volfied.c3
-rw-r--r--src/mame/machine/vsnes.c5
-rw-r--r--src/mame/machine/xevious.c1
-rw-r--r--src/mame/machine/zndip.h3
-rw-r--r--src/mame/machine/zs01.h3
-rw-r--r--src/mame/video/1942.c5
-rw-r--r--src/mame/video/1943.c4
-rw-r--r--src/mame/video/20pacgal.c1
-rw-r--r--src/mame/video/4enraya.c4
-rw-r--r--src/mame/video/88games.c1
-rw-r--r--src/mame/video/actfancr.c1
-rw-r--r--src/mame/video/aeroboto.c5
-rw-r--r--src/mame/video/airbustr.c3
-rw-r--r--src/mame/video/ajax.c2
-rw-r--r--src/mame/video/aliens.c2
-rw-r--r--src/mame/video/alpha68k.c3
-rw-r--r--src/mame/video/amigaaga.c1
-rw-r--r--src/mame/video/angelkds.c10
-rw-r--r--src/mame/video/appoooh.c1
-rw-r--r--src/mame/video/arabian.c1
-rw-r--r--src/mame/video/arcadecl.c1
-rw-r--r--src/mame/video/arkanoid.c4
-rw-r--r--src/mame/video/armedf.c5
-rw-r--r--src/mame/video/ashnojoe.c11
-rw-r--r--src/mame/video/astrocde.c2
-rw-r--r--src/mame/video/asuka.c1
-rw-r--r--src/mame/video/atarifb.c4
-rw-r--r--src/mame/video/atarig1.c2
-rw-r--r--src/mame/video/atarig42.c1
-rw-r--r--src/mame/video/atarigt.c1
-rw-r--r--src/mame/video/atarigx2.c1
-rw-r--r--src/mame/video/atetris.c2
-rw-r--r--src/mame/video/avgdvg.c2
-rw-r--r--src/mame/video/awpvid.c1
-rw-r--r--src/mame/video/balsente.c3
-rw-r--r--src/mame/video/bankp.c7
-rw-r--r--src/mame/video/battlane.c1
-rw-r--r--src/mame/video/battlera.c2
-rw-r--r--src/mame/video/battlex.c1
-rw-r--r--src/mame/video/battlnts.c1
-rw-r--r--src/mame/video/bbusters.c8
-rw-r--r--src/mame/video/bfm_dm01.c2
-rw-r--r--src/mame/video/bigevglf.c3
-rw-r--r--src/mame/video/bigstrkb.c1
-rw-r--r--src/mame/video/bionicc.c10
-rw-r--r--src/mame/video/bishi.c1
-rw-r--r--src/mame/video/bking.c4
-rw-r--r--src/mame/video/blktiger.c3
-rw-r--r--src/mame/video/blmbycar.c2
-rw-r--r--src/mame/video/blockade.c1
-rw-r--r--src/mame/video/blockhl.c2
-rw-r--r--src/mame/video/blockout.c4
-rw-r--r--src/mame/video/bogeyman.c5
-rw-r--r--src/mame/video/bombjack.c2
-rw-r--r--src/mame/video/bosco.c2
-rw-r--r--src/mame/video/bottom9.c2
-rw-r--r--src/mame/video/brkthru.c5
-rw-r--r--src/mame/video/bsktball.c2
-rw-r--r--src/mame/video/btime.c1
-rw-r--r--src/mame/video/buggychl.c1
-rw-r--r--src/mame/video/cabal.c3
-rw-r--r--src/mame/video/canyon.c2
-rw-r--r--src/mame/video/capbowl.c1
-rw-r--r--src/mame/video/carjmbre.c3
-rw-r--r--src/mame/video/carpolo.c1
-rw-r--r--src/mame/video/cbasebal.c5
-rw-r--r--src/mame/video/ccastles.c3
-rw-r--r--src/mame/video/chaknpop.c4
-rw-r--r--src/mame/video/changela.c1
-rw-r--r--src/mame/video/cheekyms.c2
-rw-r--r--src/mame/video/chqflag.c2
-rw-r--r--src/mame/video/cischeat.c1
-rw-r--r--src/mame/video/citycon.c1
-rw-r--r--src/mame/video/cloak.c3
-rw-r--r--src/mame/video/cloud9.c4
-rw-r--r--src/mame/video/cninja.c1
-rw-r--r--src/mame/video/combatsc.c2
-rw-r--r--src/mame/video/commando.c9
-rw-r--r--src/mame/video/contra.c7
-rw-r--r--src/mame/video/cosmic.c2
-rw-r--r--src/mame/video/cps1.c7
-rw-r--r--src/mame/video/crgolf.c2
-rw-r--r--src/mame/video/crimfght.c2
-rw-r--r--src/mame/video/crospang.c5
-rw-r--r--src/mame/video/crshrace.c6
-rw-r--r--src/mame/video/cvs.c2
-rw-r--r--src/mame/video/darius.c2
-rw-r--r--src/mame/video/darkseal.c1
-rw-r--r--src/mame/video/dbz.c1
-rw-r--r--src/mame/video/dc.c11
-rw-r--r--src/mame/video/dcheese.c1
-rw-r--r--src/mame/video/dcon.c1
-rw-r--r--src/mame/video/dday.c6
-rw-r--r--src/mame/video/ddragon.c3
-rw-r--r--src/mame/video/ddragon3.c5
-rw-r--r--src/mame/video/ddribble.c1
-rw-r--r--src/mame/video/dec0.c3
-rw-r--r--src/mame/video/dec8.c3
-rw-r--r--src/mame/video/decbac06.c4
-rw-r--r--src/mame/video/deckarn.c2
-rw-r--r--src/mame/video/decmxc06.c2
-rw-r--r--src/mame/video/deco16ic.c2
-rw-r--r--src/mame/video/deco32.c2
-rw-r--r--src/mame/video/decospr.c4
-rw-r--r--src/mame/video/deniam.c2
-rw-r--r--src/mame/video/digdug.c2
-rw-r--r--src/mame/video/djboy.c1
-rw-r--r--src/mame/video/dkong.c14
-rw-r--r--src/mame/video/docastle.c1
-rw-r--r--src/mame/video/dogfgt.c6
-rw-r--r--src/mame/video/dribling.c1
-rw-r--r--src/mame/video/drmicro.c1
-rw-r--r--src/mame/video/dynax.c19
-rw-r--r--src/mame/video/dynduke.c2
-rw-r--r--src/mame/video/esd16.c1
-rw-r--r--src/mame/video/espial.c8
-rw-r--r--src/mame/video/exedexes.c5
-rw-r--r--src/mame/video/exerion.c1
-rw-r--r--src/mame/video/exidy.c1
-rw-r--r--src/mame/video/exprraid.c1
-rw-r--r--src/mame/video/f1gp.c5
-rw-r--r--src/mame/video/fastlane.c1
-rw-r--r--src/mame/video/fcombat.c1
-rw-r--r--src/mame/video/finalizr.c1
-rw-r--r--src/mame/video/fitfight.c4
-rw-r--r--src/mame/video/flkatck.c2
-rw-r--r--src/mame/video/fromanc2.c3
-rw-r--r--src/mame/video/fromance.c7
-rw-r--r--src/mame/video/fuukifg3.c1
-rw-r--r--src/mame/video/gaelco.c2
-rw-r--r--src/mame/video/gaelco3d.c1
-rw-r--r--src/mame/video/gaiden.c8
-rw-r--r--src/mame/video/galaga.c4
-rw-r--r--src/mame/video/galastrm.c1
-rw-r--r--src/mame/video/galaxold.c1
-rw-r--r--src/mame/video/galivan.c5
-rw-r--r--src/mame/video/gameplan.c7
-rw-r--r--src/mame/video/gberet.c2
-rw-r--r--src/mame/video/gbusters.c1
-rw-r--r--src/mame/video/gng.c1
-rw-r--r--src/mame/video/goldstar.c16
-rw-r--r--src/mame/video/gotya.c1
-rw-r--r--src/mame/video/gp9001.c1
-rw-r--r--src/mame/video/gp9001.h6
-rw-r--r--src/mame/video/gradius3.c1
-rw-r--r--src/mame/video/grchamp.c1
-rw-r--r--src/mame/video/gstriker.c3
-rw-r--r--src/mame/video/gticlub.c3
-rw-r--r--src/mame/video/gunsmoke.c2
-rw-r--r--src/mame/video/gyruss.c1
-rw-r--r--src/mame/video/hcastle.c3
-rw-r--r--src/mame/video/hng64.c12
-rw-r--r--src/mame/video/homerun.c2
-rw-r--r--src/mame/video/hyperspt.c2
-rw-r--r--src/mame/video/hyprduel.c2
-rw-r--r--src/mame/video/inufuku.c1
-rw-r--r--src/mame/video/jedi.c4
-rw-r--r--src/mame/video/kaneko16.c1
-rw-r--r--src/mame/video/kaneko_grap2.c1
-rw-r--r--src/mame/video/kaneko_grap2.h3
-rw-r--r--src/mame/video/kaneko_spr.h6
-rw-r--r--src/mame/video/kangaroo.c1
-rw-r--r--src/mame/video/karnov.c2
-rw-r--r--src/mame/video/kchamp.c2
-rw-r--r--src/mame/video/kickgoal.c3
-rw-r--r--src/mame/video/kingobox.c2
-rw-r--r--src/mame/video/kncljoe.c1
-rw-r--r--src/mame/video/konamigx.c3
-rw-r--r--src/mame/video/konamiic.c6
-rw-r--r--src/mame/video/konicdev.c5
-rw-r--r--src/mame/video/kopunch.c1
-rw-r--r--src/mame/video/ksayakyu.c1
-rw-r--r--src/mame/video/kyugo.c8
-rw-r--r--src/mame/video/labyrunr.c1
-rw-r--r--src/mame/video/ladybug.c4
-rw-r--r--src/mame/video/ladyfrog.c7
-rw-r--r--src/mame/video/lasso.c4
-rw-r--r--src/mame/video/lastduel.c9
-rw-r--r--src/mame/video/legionna.c1
-rw-r--r--src/mame/video/lemmings.c1
-rw-r--r--src/mame/video/lethal.c3
-rw-r--r--src/mame/video/lkage.c2
-rw-r--r--src/mame/video/lockon.c7
-rw-r--r--src/mame/video/lwings.c6
-rw-r--r--src/mame/video/m10.c5
-rw-r--r--src/mame/video/m52.c3
-rw-r--r--src/mame/video/m57.c4
-rw-r--r--src/mame/video/m58.c5
-rw-r--r--src/mame/video/m62.c3
-rw-r--r--src/mame/video/m90.c1
-rw-r--r--src/mame/video/macrossp.c7
-rw-r--r--src/mame/video/mainevt.c2
-rw-r--r--src/mame/video/mainsnk.c4
-rw-r--r--src/mame/video/mappy.c7
-rw-r--r--src/mame/video/marineb.c6
-rw-r--r--src/mame/video/mario.c6
-rw-r--r--src/mame/video/mcatadv.c2
-rw-r--r--src/mame/video/mcd212.c1
-rw-r--r--src/mame/video/mermaid.c2
-rw-r--r--src/mame/video/metlclsh.c5
-rw-r--r--src/mame/video/mexico86.c1
-rw-r--r--src/mame/video/micro3d.c2
-rw-r--r--src/mame/video/mikie.c3
-rw-r--r--src/mame/video/mitchell.c13
-rw-r--r--src/mame/video/mjkjidai.c2
-rw-r--r--src/mame/video/model2.c1
-rw-r--r--src/mame/video/model3.c2
-rw-r--r--src/mame/video/moo.c1
-rw-r--r--src/mame/video/mosaic.c4
-rw-r--r--src/mame/video/mrdo.c4
-rw-r--r--src/mame/video/mrflea.c1
-rw-r--r--src/mame/video/ms32.c2
-rw-r--r--src/mame/video/mugsmash.c8
-rw-r--r--src/mame/video/mw8080bw.c1
-rw-r--r--src/mame/video/mystston.c6
-rw-r--r--src/mame/video/mystwarr.c1
-rw-r--r--src/mame/video/n64.c1
-rw-r--r--src/mame/video/n8080.c4
-rw-r--r--src/mame/video/nbmj8891.c1
-rw-r--r--src/mame/video/nemesis.c9
-rw-r--r--src/mame/video/neogeo.c2
-rw-r--r--src/mame/video/news.c4
-rw-r--r--src/mame/video/ninjaw.c1
-rw-r--r--src/mame/video/nitedrvr.c3
-rw-r--r--src/mame/video/nmk16.c6
-rw-r--r--src/mame/video/nycaptor.c5
-rw-r--r--src/mame/video/ohmygod.c1
-rw-r--r--src/mame/video/ojankohs.c7
-rw-r--r--src/mame/video/oneshot.c3
-rw-r--r--src/mame/video/opwolf.c1
-rw-r--r--src/mame/video/orbit.c1
-rw-r--r--src/mame/video/othldrby.c5
-rw-r--r--src/mame/video/overdriv.c1
-rw-r--r--src/mame/video/pacman.c1
-rw-r--r--src/mame/video/pandoras.c4
-rw-r--r--src/mame/video/paradise.c3
-rw-r--r--src/mame/video/pass.c3
-rw-r--r--src/mame/video/pbaction.c1
-rw-r--r--src/mame/video/pgm.c4
-rw-r--r--src/mame/video/pitnrun.c1
-rw-r--r--src/mame/video/playch10.c1
-rw-r--r--src/mame/video/playmark.c21
-rw-r--r--src/mame/video/polepos.c1
-rw-r--r--src/mame/video/pooyan.c1
-rw-r--r--src/mame/video/popper.c6
-rw-r--r--src/mame/video/ppu2c0x.c4
-rw-r--r--src/mame/video/ppu2c0x.h24
-rw-r--r--src/mame/video/prehisle.c5
-rw-r--r--src/mame/video/psikyo.c3
-rw-r--r--src/mame/video/psikyosh.c20
-rw-r--r--src/mame/video/punchout.c3
-rw-r--r--src/mame/video/pushman.c3
-rw-r--r--src/mame/video/qix.c11
-rw-r--r--src/mame/video/rainbow.c3
-rw-r--r--src/mame/video/rallyx.c5
-rw-r--r--src/mame/video/rastan.c1
-rw-r--r--src/mame/video/redclash.c2
-rw-r--r--src/mame/video/rltennis.c2
-rw-r--r--src/mame/video/rockrage.c1
-rw-r--r--src/mame/video/rollrace.c4
-rw-r--r--src/mame/video/rungun.c1
-rw-r--r--src/mame/video/sauro.c9
-rw-r--r--src/mame/video/sbasketb.c1
-rw-r--r--src/mame/video/sbugger.c2
-rw-r--r--src/mame/video/scn2674.c2
-rw-r--r--src/mame/video/scotrsht.c5
-rw-r--r--src/mame/video/sderby.c7
-rw-r--r--src/mame/video/sega16sp.h27
-rw-r--r--src/mame/video/segaic24.c1
-rw-r--r--src/mame/video/segas18.c1
-rw-r--r--src/mame/video/segas24.c1
-rw-r--r--src/mame/video/seicross.c2
-rw-r--r--src/mame/video/senjyo.c7
-rw-r--r--src/mame/video/seta.c7
-rw-r--r--src/mame/video/seta001.c2
-rw-r--r--src/mame/video/seta2.c5
-rw-r--r--src/mame/video/sf.c2
-rw-r--r--src/mame/video/shadfrce.c12
-rw-r--r--src/mame/video/shangha3.c2
-rw-r--r--src/mame/video/shangkid.c1
-rw-r--r--src/mame/video/shaolins.c6
-rw-r--r--src/mame/video/shisen.c3
-rw-r--r--src/mame/video/shootout.c5
-rw-r--r--src/mame/video/sidearms.c4
-rw-r--r--src/mame/video/silkroad.c5
-rw-r--r--src/mame/video/simpl156.c2
-rw-r--r--src/mame/video/sknsspr.c1
-rw-r--r--src/mame/video/skyfox.c4
-rw-r--r--src/mame/video/skyraid.c2
-rw-r--r--src/mame/video/slapshot.c1
-rw-r--r--src/mame/video/snes.c3
-rw-r--r--src/mame/video/snk.c41
-rw-r--r--src/mame/video/snk6502.c11
-rw-r--r--src/mame/video/snk68.c8
-rw-r--r--src/mame/video/solomon.c5
-rw-r--r--src/mame/video/sonson.c1
-rw-r--r--src/mame/video/spbactn.c1
-rw-r--r--src/mame/video/speedatk.c4
-rw-r--r--src/mame/video/splash.c4
-rw-r--r--src/mame/video/sprcros2.c7
-rw-r--r--src/mame/video/spy.c2
-rw-r--r--src/mame/video/srumbler.c1
-rw-r--r--src/mame/video/sshangha.c2
-rw-r--r--src/mame/video/sslam.c8
-rw-r--r--src/mame/video/ssozumo.c7
-rw-r--r--src/mame/video/ssrj.c8
-rw-r--r--src/mame/video/ssv.c4
-rw-r--r--src/mame/video/st0016.c4
-rw-r--r--src/mame/video/st0020.h6
-rw-r--r--src/mame/video/stactics.c9
-rw-r--r--src/mame/video/starcrus.c2
-rw-r--r--src/mame/video/stlforce.c5
-rw-r--r--src/mame/video/stvvdp1.c1
-rw-r--r--src/mame/video/stvvdp2.c3
-rw-r--r--src/mame/video/suna16.c4
-rw-r--r--src/mame/video/suprnova.c6
-rw-r--r--src/mame/video/suprslam.c3
-rw-r--r--src/mame/video/system16.c9
-rw-r--r--src/mame/video/tagteam.c1
-rw-r--r--src/mame/video/tail2nos.c4
-rw-r--r--src/mame/video/taito_b.c3
-rw-r--r--src/mame/video/taito_f2.c9
-rw-r--r--src/mame/video/taito_f3.c1
-rw-r--r--src/mame/video/taito_h.c3
-rw-r--r--src/mame/video/taito_l.c4
-rw-r--r--src/mame/video/taito_o.c1
-rw-r--r--src/mame/video/taitoair.c3
-rw-r--r--src/mame/video/taitoic.c5
-rw-r--r--src/mame/video/taitojc.c4
-rw-r--r--src/mame/video/tankbust.c1
-rw-r--r--src/mame/video/tatsumi.c3
-rw-r--r--src/mame/video/tbowl.c2
-rw-r--r--src/mame/video/tecmo.c2
-rw-r--r--src/mame/video/tecmo16.c4
-rw-r--r--src/mame/video/tecmosys.c5
-rw-r--r--src/mame/video/tetrisp2.c3
-rw-r--r--src/mame/video/thoop2.c1
-rw-r--r--src/mame/video/thunderx.c1
-rw-r--r--src/mame/video/timeplt.c1
-rw-r--r--src/mame/video/tmnt.c19
-rw-r--r--src/mame/video/toaplan1.c23
-rw-r--r--src/mame/video/toaplan2.c10
-rw-r--r--src/mame/video/toki.c1
-rw-r--r--src/mame/video/toypop.c1
-rw-r--r--src/mame/video/travrusa.c1
-rw-r--r--src/mame/video/tumbleb.c16
-rw-r--r--src/mame/video/tunhunt.c1
-rw-r--r--src/mame/video/turbo.c2
-rw-r--r--src/mame/video/twincobr.c13
-rw-r--r--src/mame/video/tx1.c10
-rw-r--r--src/mame/video/ultraman.c2
-rw-r--r--src/mame/video/vdc.c2
-rw-r--r--src/mame/video/vectrex.c1
-rw-r--r--src/mame/video/volfied.c2
-rw-r--r--src/mame/video/vrender0.c3
-rw-r--r--src/mame/video/vsystem_spr.c1
-rw-r--r--src/mame/video/vsystem_spr.h15
-rw-r--r--src/mame/video/vsystem_spr2.c1
-rw-r--r--src/mame/video/vsystem_spr2.h12
-rw-r--r--src/mame/video/warriorb.c1
-rw-r--r--src/mame/video/wc90.c5
-rw-r--r--src/mame/video/welltris.c4
-rw-r--r--src/mame/video/wgp.c1
-rw-r--r--src/mame/video/wolfpack.c1
-rw-r--r--src/mame/video/wwfsstar.c4
-rw-r--r--src/mame/video/xain.c4
-rw-r--r--src/mame/video/xevious.c2
-rw-r--r--src/mame/video/xexex.c1
-rw-r--r--src/mame/video/xmen.c2
-rw-r--r--src/mame/video/xyonix.c3
-rw-r--r--src/mame/video/ygv608.c4
-rw-r--r--src/mame/video/ygv608.h1
-rw-r--r--src/mame/video/yiear.c1
-rw-r--r--src/mame/video/yunsun16.c4
-rw-r--r--src/mame/video/yunsung8.c2
-rw-r--r--src/mame/video/zaxxon.c14
-rw-r--r--src/mame/video/zodiack.c2
-rw-r--r--src/mess/audio/arcadia.c1
-rw-r--r--src/mess/audio/dave.c1
-rw-r--r--src/mess/audio/mea8000.c3
-rw-r--r--src/mess/audio/t6721.h3
-rw-r--r--src/mess/audio/upd1771.c5
-rw-r--r--src/mess/devices/microdrv.c1
-rw-r--r--src/mess/drivers/altair.c1
-rw-r--r--src/mess/drivers/amico2k.c1
-rw-r--r--src/mess/drivers/apc.c1
-rw-r--r--src/mess/drivers/apf.c1
-rw-r--r--src/mess/drivers/apollo.c1
-rw-r--r--src/mess/drivers/apricot.c1
-rw-r--r--src/mess/drivers/apricotp.c1
-rw-r--r--src/mess/drivers/atarist.c3
-rw-r--r--src/mess/drivers/atm.c1
-rw-r--r--src/mess/drivers/b16.c1
-rw-r--r--src/mess/drivers/babbage.c1
-rw-r--r--src/mess/drivers/beta.c1
-rw-r--r--src/mess/drivers/bigbord2.c1
-rw-r--r--src/mess/drivers/bmjr.c1
-rw-r--r--src/mess/drivers/bml3.c2
-rw-r--r--src/mess/drivers/busicom.c1
-rw-r--r--src/mess/drivers/casloopy.c1
-rw-r--r--src/mess/drivers/cat.c1
-rw-r--r--src/mess/drivers/coleco.c3
-rw-r--r--src/mess/drivers/cxhumax.c1
-rw-r--r--src/mess/drivers/dm7000.c1
-rw-r--r--src/mess/drivers/eacc.c1
-rw-r--r--src/mess/drivers/einstein.c7
-rw-r--r--src/mess/drivers/esq5505.c2
-rw-r--r--src/mess/drivers/fidelz80.c2
-rw-r--r--src/mess/drivers/fk1.c2
-rw-r--r--src/mess/drivers/fm7.c1
-rw-r--r--src/mess/drivers/fp1100.c1
-rw-r--r--src/mess/drivers/fp6000.c7
-rw-r--r--src/mess/drivers/gba.c7
-rw-r--r--src/mess/drivers/glasgow.c2
-rw-r--r--src/mess/drivers/h89.c1
-rw-r--r--src/mess/drivers/homelab.c3
-rw-r--r--src/mess/drivers/intv.c2
-rw-r--r--src/mess/drivers/ip20.c1
-rw-r--r--src/mess/drivers/ip22.c1
-rw-r--r--src/mess/drivers/iq151.c3
-rw-r--r--src/mess/drivers/korgm1.c1
-rw-r--r--src/mess/drivers/m20.c3
-rw-r--r--src/mess/drivers/mac.c1
-rw-r--r--src/mess/drivers/mc10.c1
-rw-r--r--src/mess/drivers/mc1000.c1
-rw-r--r--src/mess/drivers/megadriv.c3
-rw-r--r--src/mess/drivers/mikrosha.c1
-rw-r--r--src/mess/drivers/mirage.c1
-rw-r--r--src/mess/drivers/mmodular.c7
-rw-r--r--src/mess/drivers/mpf1.c2
-rw-r--r--src/mess/drivers/msx.c3
-rw-r--r--src/mess/drivers/multi8.c1
-rw-r--r--src/mess/drivers/mycom.c1
-rw-r--r--src/mess/drivers/mz2000.c2
-rw-r--r--src/mess/drivers/nakajies.c1
-rw-r--r--src/mess/drivers/nanos.c1
-rw-r--r--src/mess/drivers/newbrain.c1
-rw-r--r--src/mess/drivers/ng_aes.c7
-rw-r--r--src/mess/drivers/ngp.c3
-rw-r--r--src/mess/drivers/osbexec.c12
-rw-r--r--src/mess/drivers/osi.c1
-rw-r--r--src/mess/drivers/pasopia7.c2
-rw-r--r--src/mess/drivers/pc6001.c51
-rw-r--r--src/mess/drivers/pc8801.c3
-rw-r--r--src/mess/drivers/pc88va.c1
-rw-r--r--src/mess/drivers/pc9801.c26
-rw-r--r--src/mess/drivers/pce220.c3
-rw-r--r--src/mess/drivers/pcw.c9
-rw-r--r--src/mess/drivers/pcw16.c1
-rw-r--r--src/mess/drivers/pdp11.c3
-rw-r--r--src/mess/drivers/plus4.c2
-rw-r--r--src/mess/drivers/pv1000.c1
-rw-r--r--src/mess/drivers/pv2000.c1
-rw-r--r--src/mess/drivers/px4.c5
-rw-r--r--src/mess/drivers/qx10.c1
-rw-r--r--src/mess/drivers/rainbow.c2
-rw-r--r--src/mess/drivers/rex6000.c4
-rw-r--r--src/mess/drivers/rt1715.c1
-rw-r--r--src/mess/drivers/sc2.c2
-rw-r--r--src/mess/drivers/scorpion.c1
-rw-r--r--src/mess/drivers/scv.c2
-rw-r--r--src/mess/drivers/smc777.c10
-rw-r--r--src/mess/drivers/supercon.c2
-rw-r--r--src/mess/drivers/supracan.c17
-rw-r--r--src/mess/drivers/tandy2k.c1
-rw-r--r--src/mess/drivers/ti89.c1
-rw-r--r--src/mess/drivers/ti990_4.c3
-rw-r--r--src/mess/drivers/ti99_4p.c1
-rw-r--r--src/mess/drivers/ti99_4x.c2
-rw-r--r--src/mess/drivers/ti99_8.c1
-rw-r--r--src/mess/drivers/timex.c1
-rw-r--r--src/mess/drivers/tm990189.c2
-rw-r--r--src/mess/drivers/tvc.c6
-rw-r--r--src/mess/drivers/vboy.c5
-rw-r--r--src/mess/drivers/vii.c5
-rw-r--r--src/mess/drivers/vtech1.c2
-rw-r--r--src/mess/drivers/x07.c3
-rw-r--r--src/mess/drivers/x1.c1
-rw-r--r--src/mess/drivers/x1twin.c1
-rw-r--r--src/mess/drivers/x68k.c3
-rw-r--r--src/mess/drivers/z100.c3
-rw-r--r--src/mess/includes/alesis.h1
-rw-r--r--src/mess/includes/genpc.h6
-rw-r--r--src/mess/includes/msx_slot.h2
-rw-r--r--src/mess/includes/psion.h1
-rw-r--r--src/mess/machine/3c505.c1
-rw-r--r--src/mess/machine/a2bus.h6
-rw-r--r--src/mess/machine/a2eauxslot.h6
-rw-r--r--src/mess/machine/apollo.c6
-rw-r--r--src/mess/machine/apollo_dbg.c2
-rw-r--r--src/mess/machine/apollo_eth.c1
-rw-r--r--src/mess/machine/apollo_kbd.c1
-rw-r--r--src/mess/machine/apollo_net.c5
-rw-r--r--src/mess/machine/apple2gs.c2
-rw-r--r--src/mess/machine/at45dbxx.h9
-rw-r--r--src/mess/machine/at_keybc.h1
-rw-r--r--src/mess/machine/b2m.c1
-rw-r--r--src/mess/machine/bbc.c1
-rw-r--r--src/mess/machine/beta.c1
-rw-r--r--src/mess/machine/c1581.h1
-rw-r--r--src/mess/machine/c2n.h1
-rw-r--r--src/mess/machine/coco_vhd.c1
-rw-r--r--src/mess/machine/coco_vhd.h3
-rw-r--r--src/mess/machine/compis.c1
-rw-r--r--src/mess/machine/corvushd.c19
-rw-r--r--src/mess/machine/cpc_rom.c1
-rw-r--r--src/mess/machine/cpc_rom.h3
-rw-r--r--src/mess/machine/d9060.h1
-rw-r--r--src/mess/machine/dai.c1
-rw-r--r--src/mess/machine/diag264_lb_tape.h1
-rw-r--r--src/mess/machine/fm_scsi.h6
-rw-r--r--src/mess/machine/gb.c1
-rw-r--r--src/mess/machine/hec2hrp.c2
-rw-r--r--src/mess/machine/hp48.c2
-rw-r--r--src/mess/machine/i8271.c7
-rw-r--r--src/mess/machine/intv.c1
-rw-r--r--src/mess/machine/isa.h12
-rw-r--r--src/mess/machine/isa_ide_cd.c1
-rw-r--r--src/mess/machine/kc.c2
-rw-r--r--src/mess/machine/kc_keyb.h3
-rw-r--r--src/mess/machine/lisa.c3
-rw-r--r--src/mess/machine/mboard.c3
-rw-r--r--src/mess/machine/mc6843.c4
-rw-r--r--src/mess/machine/mc6846.c2
-rw-r--r--src/mess/machine/mc6854.c4
-rw-r--r--src/mess/machine/msx.c2
-rw-r--r--src/mess/machine/mz700.c3
-rw-r--r--src/mess/machine/nascom1.c1
-rw-r--r--src/mess/machine/nes.c3
-rw-r--r--src/mess/machine/nes_mmc.c2
-rw-r--r--src/mess/machine/nes_pcb.c5
-rw-r--r--src/mess/machine/nubus.h6
-rw-r--r--src/mess/machine/omti8621.c3
-rw-r--r--src/mess/machine/osborne1.c1
-rw-r--r--src/mess/machine/pc1350.c1
-rw-r--r--src/mess/machine/pc9801_118.c1
-rw-r--r--src/mess/machine/pc9801_26.c2
-rw-r--r--src/mess/machine/pc9801_86.c2
-rw-r--r--src/mess/machine/pc9801_kbd.c1
-rw-r--r--src/mess/machine/pc_joy.c1
-rw-r--r--src/mess/machine/pc_kbdc.h6
-rw-r--r--src/mess/machine/pce220_ser.h3
-rw-r--r--src/mess/machine/pcf8593.h3
-rw-r--r--src/mess/machine/pecom.c1
-rw-r--r--src/mess/machine/pet.c1
-rw-r--r--src/mess/machine/poly88.c1
-rw-r--r--src/mess/machine/primo.c1
-rw-r--r--src/mess/machine/psion_pack.h3
-rw-r--r--src/mess/machine/psxcd.h3
-rw-r--r--src/mess/machine/rmnimbus.c3
-rw-r--r--src/mess/machine/s100.h6
-rw-r--r--src/mess/machine/serialbox.h1
-rw-r--r--src/mess/machine/sms.c23
-rw-r--r--src/mess/machine/softbox.h1
-rw-r--r--src/mess/machine/svi318.c1
-rw-r--r--src/mess/machine/thomflop.c18
-rw-r--r--src/mess/machine/thomson.c16
-rw-r--r--src/mess/machine/ti85.c4
-rw-r--r--src/mess/machine/ti99/mapper8.c1
-rw-r--r--src/mess/machine/trs80.c1
-rw-r--r--src/mess/machine/tvcexp.h3
-rw-r--r--src/mess/machine/wangpc_wdc.c1
-rw-r--r--src/mess/tools/imgtool/modules/thomson.c7
-rw-r--r--src/mess/tools/imgtool/modules/ti99.c1
-rw-r--r--src/mess/tools/imgtool/modules/vzdos.c9
-rw-r--r--src/mess/video/911_chr.h1
-rw-r--r--src/mess/video/a7800.c1
-rw-r--r--src/mess/video/apollo.c2
-rw-r--r--src/mess/video/apple2gs.c1
-rw-r--r--src/mess/video/atarist.c3
-rw-r--r--src/mess/video/bbc.c2
-rw-r--r--src/mess/video/dai.c5
-rw-r--r--src/mess/video/epnick.c1
-rw-r--r--src/mess/video/gb.c1
-rw-r--r--src/mess/video/gf4500.c1
-rw-r--r--src/mess/video/hd44780.h1
-rw-r--r--src/mess/video/hd66421.h3
-rw-r--r--src/mess/video/mac.c4
-rw-r--r--src/mess/video/mbc55x.c1
-rw-r--r--src/mess/video/mc6847.h6
-rw-r--r--src/mess/video/mz700.c1
-rw-r--r--src/mess/video/nes.c2
-rw-r--r--src/mess/video/odyssey2.c5
-rw-r--r--src/mess/video/pcw.c1
-rw-r--r--src/mess/video/pdp1.c1
-rw-r--r--src/mess/video/pecom.c2
-rw-r--r--src/mess/video/rmnimbus.c1
-rw-r--r--src/mess/video/thomson.c1
-rw-r--r--src/mess/video/tms3556.h3
-rw-r--r--src/mess/video/tx0.c1
-rw-r--r--src/mess/video/vc4000.c1
-rw-r--r--src/mess/video/vtvideo.c2
-rw-r--r--src/mess/video/zx.c1
-rw-r--r--src/osd/sdl/drawogl.c1
-rw-r--r--src/osd/sdl/dview.c1
-rw-r--r--src/osd/sdl/sdlos_unix.c1
-rw-r--r--src/osd/sdl/window.c1
-rw-r--r--src/osd/windows/debugwin.c1
1620 files changed, 2202 insertions, 9095 deletions
diff --git a/src/emu/addrmap.h b/src/emu/addrmap.h
index 1fe20c90233..19ddd95510d 100644
--- a/src/emu/addrmap.h
+++ b/src/emu/addrmap.h
@@ -387,8 +387,7 @@ void ADDRESS_MAP_NAME(_name)(address_map &map, device_t &device) \
address_map_entry##_bits *curentry = NULL; \
(void)curentry; \
map.configure(_space, _bits); \
- typedef _class drivdata_class; \
-
+ typedef _class drivdata_class;
#define DEVICE_ADDRESS_MAP_START(_name, _bits, _class) \
void _class :: _name(::address_map &map, device_t &device) \
{ \
@@ -397,8 +396,7 @@ void _class :: _name(::address_map &map, device_t &device) \
address_map_entry##_bits *curentry = NULL; \
(void)curentry; \
map.configure(AS_PROGRAM, _bits); \
- typedef _class drivdata_class; \
-
+ typedef _class drivdata_class;
#define ADDRESS_MAP_END \
}
@@ -414,254 +412,187 @@ void _class :: _name(::address_map &map, device_t &device) \
// global controls
#define ADDRESS_MAP_GLOBAL_MASK(_mask) \
- map.set_global_mask(_mask); \
-
+ map.set_global_mask(_mask);
#define ADDRESS_MAP_UNMAP_LOW \
- map.set_unmap_value(0); \
-
+ map.set_unmap_value(0);
#define ADDRESS_MAP_UNMAP_HIGH \
- map.set_unmap_value(~0); \
-
+ map.set_unmap_value(~0);
// importing data from other address maps
#define AM_IMPORT_FROM(_name) \
- ADDRESS_MAP_NAME(_name)(map, device); \
-
+ ADDRESS_MAP_NAME(_name)(map, device);
// importing data from inherited address maps
#define AM_INHERIT_FROM(_name) \
- _name(map, device); \
-
+ _name(map, device);
// address ranges
#define AM_RANGE(_start, _end) \
- curentry = map.add(_start, _end, curentry); \
-
+ curentry = map.add(_start, _end, curentry);
#define AM_MASK(_mask) \
- curentry->set_mask(_mask); \
-
+ curentry->set_mask(_mask);
#define AM_MIRROR(_mirror) \
- curentry->set_mirror(_mirror); \
-
+ curentry->set_mirror(_mirror);
// legacy space reads
#define AM_READ_LEGACY(_handler) \
- curentry->set_handler(_handler, #_handler); \
-
+ curentry->set_handler(_handler, #_handler);
#define AM_READ8_LEGACY(_handler, _unitmask) \
- curentry->set_handler(_handler, #_handler, _unitmask); \
-
+ curentry->set_handler(_handler, #_handler, _unitmask);
// legacy space writes
#define AM_WRITE_LEGACY(_handler) \
- curentry->set_handler(_handler, #_handler); \
-
+ curentry->set_handler(_handler, #_handler);
#define AM_WRITE8_LEGACY(_handler, _unitmask) \
- curentry->set_handler(_handler, #_handler, _unitmask); \
-
+ curentry->set_handler(_handler, #_handler, _unitmask);
// legacy space reads/writes
#define AM_READWRITE_LEGACY(_rhandler, _whandler) \
- curentry->set_handler(_rhandler, #_rhandler, _whandler, #_whandler); \
-
+ curentry->set_handler(_rhandler, #_rhandler, _whandler, #_whandler);
#define AM_READWRITE8_LEGACY(_rhandler, _whandler, _unitmask) \
- curentry->set_handler(_rhandler, #_rhandler, _whandler, #_whandler, _unitmask); \
-
+ curentry->set_handler(_rhandler, #_rhandler, _whandler, #_whandler, _unitmask);
#define AM_READWRITE16_LEGACY(_rhandler, _whandler, _unitmask) \
- curentry->set_handler(_rhandler, #_rhandler, _whandler, #_whandler, _unitmask); \
-
+ curentry->set_handler(_rhandler, #_rhandler, _whandler, #_whandler, _unitmask);
#define AM_READWRITE32_LEGACY(_rhandler, _whandler, _unitmask) \
- curentry->set_handler(_rhandler, #_rhandler, _whandler, #_whandler, _unitmask); \
-
+ curentry->set_handler(_rhandler, #_rhandler, _whandler, #_whandler, _unitmask);
// legacy device reads
#define AM_DEVREAD_LEGACY(_tag, _handler) \
- curentry->set_handler(device, read_delegate(&_handler, #_handler, _tag, (device_t *)0)); \
-
+ curentry->set_handler(device, read_delegate(&_handler, #_handler, _tag, (device_t *)0));
#define AM_DEVREAD8_LEGACY(_tag, _handler, _unitmask) \
- curentry->set_handler(device, read8_delegate(&_handler, #_handler, _tag, (device_t *)0), _unitmask); \
-
+ curentry->set_handler(device, read8_delegate(&_handler, #_handler, _tag, (device_t *)0), _unitmask);
// legacy device writes
#define AM_DEVWRITE_LEGACY(_tag, _handler) \
- curentry->set_handler(device, write_delegate(&_handler, #_handler, _tag, (device_t *)0)); \
-
+ curentry->set_handler(device, write_delegate(&_handler, #_handler, _tag, (device_t *)0));
#define AM_DEVWRITE8_LEGACY(_tag, _handler, _unitmask) \
- curentry->set_handler(device, write8_delegate(&_handler, #_handler, _tag, (device_t *)0), _unitmask); \
-
+ curentry->set_handler(device, write8_delegate(&_handler, #_handler, _tag, (device_t *)0), _unitmask);
// legacy device reads/writes
#define AM_DEVREADWRITE_LEGACY(_tag, _rhandler, _whandler) \
- curentry->set_handler(device, read_delegate(&_rhandler, #_rhandler, _tag, (device_t *)0), write_delegate(&_whandler, #_whandler, _tag, (device_t *)0)); \
-
+ curentry->set_handler(device, read_delegate(&_rhandler, #_rhandler, _tag, (device_t *)0), write_delegate(&_whandler, #_whandler, _tag, (device_t *)0));
#define AM_DEVREADWRITE8_LEGACY(_tag, _rhandler, _whandler, _unitmask) \
- curentry->set_handler(device, read8_delegate(&_rhandler, #_rhandler, _tag, (device_t *)0), write8_delegate(&_whandler, #_whandler, _tag, (device_t *)0), _unitmask); \
-
+ curentry->set_handler(device, read8_delegate(&_rhandler, #_rhandler, _tag, (device_t *)0), write8_delegate(&_whandler, #_whandler, _tag, (device_t *)0), _unitmask);
#define AM_DEVREADWRITE16_LEGACY(_tag, _rhandler, _whandler, _unitmask) \
- curentry->set_handler(device, read16_delegate(&_rhandler, #_rhandler, _tag, (device_t *)0), write16_delegate(&_whandler, #_whandler, _tag, (device_t *)0), _unitmask); \
-
+ curentry->set_handler(device, read16_delegate(&_rhandler, #_rhandler, _tag, (device_t *)0), write16_delegate(&_whandler, #_whandler, _tag, (device_t *)0), _unitmask);
// driver data reads
#define AM_READ(_handler) \
- curentry->set_handler(device, read_delegate(&drivdata_class::_handler, "driver_data::" #_handler, DEVICE_SELF, (drivdata_class *)0)); \
-
+ curentry->set_handler(device, read_delegate(&drivdata_class::_handler, "driver_data::" #_handler, DEVICE_SELF, (drivdata_class *)0));
#define AM_READ8(_handler, _unitmask) \
- curentry->set_handler(device, read8_delegate(&drivdata_class::_handler, "driver_data::" #_handler, DEVICE_SELF, (drivdata_class *)0), _unitmask); \
-
+ curentry->set_handler(device, read8_delegate(&drivdata_class::_handler, "driver_data::" #_handler, DEVICE_SELF, (drivdata_class *)0), _unitmask);
#define AM_READ16(_handler, _unitmask) \
- curentry->set_handler(device, read16_delegate(&drivdata_class::_handler, "driver_data::" #_handler, DEVICE_SELF, (drivdata_class *)0), _unitmask); \
-
+ curentry->set_handler(device, read16_delegate(&drivdata_class::_handler, "driver_data::" #_handler, DEVICE_SELF, (drivdata_class *)0), _unitmask);
#define AM_READ32(_handler, _unitmask) \
- curentry->set_handler(device, read32_delegate(&drivdata_class::_handler, "driver_data::" #_handler, DEVICE_SELF, (drivdata_class *)0), _unitmask); \
-
+ curentry->set_handler(device, read32_delegate(&drivdata_class::_handler, "driver_data::" #_handler, DEVICE_SELF, (drivdata_class *)0), _unitmask);
// driver data writes
#define AM_WRITE(_handler) \
- curentry->set_handler(device, write_delegate(&drivdata_class::_handler, "driver_data::" #_handler, DEVICE_SELF, (drivdata_class *)0)); \
-
+ curentry->set_handler(device, write_delegate(&drivdata_class::_handler, "driver_data::" #_handler, DEVICE_SELF, (drivdata_class *)0));
#define AM_WRITE8(_handler, _unitmask) \
- curentry->set_handler(device, write8_delegate(&drivdata_class::_handler, "driver_data::" #_handler, DEVICE_SELF, (drivdata_class *)0), _unitmask); \
-
+ curentry->set_handler(device, write8_delegate(&drivdata_class::_handler, "driver_data::" #_handler, DEVICE_SELF, (drivdata_class *)0), _unitmask);
#define AM_WRITE16(_handler, _unitmask) \
- curentry->set_handler(device, write16_delegate(&drivdata_class::_handler, "driver_data::" #_handler, DEVICE_SELF, (drivdata_class *)0), _unitmask); \
-
+ curentry->set_handler(device, write16_delegate(&drivdata_class::_handler, "driver_data::" #_handler, DEVICE_SELF, (drivdata_class *)0), _unitmask);
#define AM_WRITE32(_handler, _unitmask) \
- curentry->set_handler(device, write32_delegate(&drivdata_class::_handler, "driver_data::" #_handler, DEVICE_SELF, (drivdata_class *)0), _unitmask); \
-
+ curentry->set_handler(device, write32_delegate(&drivdata_class::_handler, "driver_data::" #_handler, DEVICE_SELF, (drivdata_class *)0), _unitmask);
// driver data reads/writes
#define AM_READWRITE(_rhandler, _whandler) \
- curentry->set_handler(device, read_delegate(&drivdata_class::_rhandler, "driver_data::" #_rhandler, DEVICE_SELF, (drivdata_class *)0), write_delegate(&drivdata_class::_whandler, "driver_data::" #_whandler, DEVICE_SELF, (drivdata_class *)0)); \
-
+ curentry->set_handler(device, read_delegate(&drivdata_class::_rhandler, "driver_data::" #_rhandler, DEVICE_SELF, (drivdata_class *)0), write_delegate(&drivdata_class::_whandler, "driver_data::" #_whandler, DEVICE_SELF, (drivdata_class *)0));
#define AM_READWRITE8(_rhandler, _whandler, _unitmask) \
- curentry->set_handler(device, read8_delegate(&drivdata_class::_rhandler, "driver_data::" #_rhandler, DEVICE_SELF, (drivdata_class *)0), write8_delegate(&drivdata_class::_whandler, "driver_data::" #_whandler, DEVICE_SELF, (drivdata_class *)0), _unitmask); \
-
+ curentry->set_handler(device, read8_delegate(&drivdata_class::_rhandler, "driver_data::" #_rhandler, DEVICE_SELF, (drivdata_class *)0), write8_delegate(&drivdata_class::_whandler, "driver_data::" #_whandler, DEVICE_SELF, (drivdata_class *)0), _unitmask);
#define AM_READWRITE16(_rhandler, _whandler, _unitmask) \
- curentry->set_handler(device, read16_delegate(&drivdata_class::_rhandler, "driver_data::" #_rhandler, DEVICE_SELF, (drivdata_class *)0), write16_delegate(&drivdata_class::_whandler, "driver_data::" #_whandler, DEVICE_SELF, (drivdata_class *)0), _unitmask); \
-
+ curentry->set_handler(device, read16_delegate(&drivdata_class::_rhandler, "driver_data::" #_rhandler, DEVICE_SELF, (drivdata_class *)0), write16_delegate(&drivdata_class::_whandler, "driver_data::" #_whandler, DEVICE_SELF, (drivdata_class *)0), _unitmask);
#define AM_READWRITE32(_rhandler, _whandler, _unitmask) \
- curentry->set_handler(device, read32_delegate(&drivdata_class::_rhandler, "driver_data::" #_rhandler, DEVICE_SELF, (drivdata_class *)0), write32_delegate(&drivdata_class::_whandler, "driver_data::" #_whandler, DEVICE_SELF, (drivdata_class *)0), _unitmask); \
-
+ curentry->set_handler(device, read32_delegate(&drivdata_class::_rhandler, "driver_data::" #_rhandler, DEVICE_SELF, (drivdata_class *)0), write32_delegate(&drivdata_class::_whandler, "driver_data::" #_whandler, DEVICE_SELF, (drivdata_class *)0), _unitmask);
// device reads
#define AM_DEVREAD(_tag, _class, _handler) \
- curentry->set_handler(device, read_delegate(&_class::_handler, #_class "::" #_handler, _tag, (_class *)0)); \
-
+ curentry->set_handler(device, read_delegate(&_class::_handler, #_class "::" #_handler, _tag, (_class *)0));
#define AM_DEVREAD8(_tag, _class, _handler, _unitmask) \
- curentry->set_handler(device, read8_delegate(&_class::_handler, #_class "::" #_handler, _tag, (_class *)0), _unitmask); \
-
+ curentry->set_handler(device, read8_delegate(&_class::_handler, #_class "::" #_handler, _tag, (_class *)0), _unitmask);
#define AM_DEVREAD16(_tag, _class, _handler, _unitmask) \
- curentry->set_handler(device, read16_delegate(&_class::_handler, #_class "::" #_handler, _tag, (_class *)0), _unitmask); \
-
+ curentry->set_handler(device, read16_delegate(&_class::_handler, #_class "::" #_handler, _tag, (_class *)0), _unitmask);
#define AM_DEVREAD32(_tag, _class, _handler, _unitmask) \
- curentry->set_handler(device, read32_delegate(&_class::_handler, #_class "::" #_handler, _tag, (_class *)0), _unitmask); \
-
+ curentry->set_handler(device, read32_delegate(&_class::_handler, #_class "::" #_handler, _tag, (_class *)0), _unitmask);
// device writes
#define AM_DEVWRITE(_tag, _class, _handler) \
- curentry->set_handler(device, write_delegate(&_class::_handler, #_class "::" #_handler, _tag, (_class *)0)); \
-
+ curentry->set_handler(device, write_delegate(&_class::_handler, #_class "::" #_handler, _tag, (_class *)0));
#define AM_DEVWRITE8(_tag, _class, _handler, _unitmask) \
- curentry->set_handler(device, write8_delegate(&_class::_handler, #_class "::" #_handler, _tag, (_class *)0), _unitmask); \
-
+ curentry->set_handler(device, write8_delegate(&_class::_handler, #_class "::" #_handler, _tag, (_class *)0), _unitmask);
#define AM_DEVWRITE16(_tag, _class, _handler, _unitmask) \
- curentry->set_handler(device, write16_delegate(&_class::_handler, #_class "::" #_handler, _tag, (_class *)0), _unitmask); \
-
+ curentry->set_handler(device, write16_delegate(&_class::_handler, #_class "::" #_handler, _tag, (_class *)0), _unitmask);
#define AM_DEVWRITE32(_tag, _class, _handler, _unitmask) \
- curentry->set_handler(device, write32_delegate(&_class::_handler, #_class "::" #_handler, _tag, (_class *)0), _unitmask); \
-
+ curentry->set_handler(device, write32_delegate(&_class::_handler, #_class "::" #_handler, _tag, (_class *)0), _unitmask);
// device reads/writes
#define AM_DEVREADWRITE(_tag, _class, _rhandler, _whandler) \
- curentry->set_handler(device, read_delegate(&_class::_rhandler, #_class "::" #_rhandler, _tag, (_class *)0), write_delegate(&_class::_whandler, #_class "::" #_whandler, _tag, (_class *)0)); \
-
+ curentry->set_handler(device, read_delegate(&_class::_rhandler, #_class "::" #_rhandler, _tag, (_class *)0), write_delegate(&_class::_whandler, #_class "::" #_whandler, _tag, (_class *)0));
#define AM_DEVREADWRITE8(_tag, _class, _rhandler, _whandler, _unitmask) \
- curentry->set_handler(device, read8_delegate(&_class::_rhandler, #_class "::" #_rhandler, _tag, (_class *)0), write8_delegate(&_class::_whandler, #_class "::" #_whandler, _tag, (_class *)0), _unitmask); \
-
+ curentry->set_handler(device, read8_delegate(&_class::_rhandler, #_class "::" #_rhandler, _tag, (_class *)0), write8_delegate(&_class::_whandler, #_class "::" #_whandler, _tag, (_class *)0), _unitmask);
#define AM_DEVREADWRITE16(_tag, _class, _rhandler, _whandler, _unitmask) \
- curentry->set_handler(device, read16_delegate(&_class::_rhandler, #_class "::" #_rhandler, _tag, (_class *)0), write16_delegate(&_class::_whandler, #_class "::" #_whandler, _tag, (_class *)0), _unitmask); \
-
+ curentry->set_handler(device, read16_delegate(&_class::_rhandler, #_class "::" #_rhandler, _tag, (_class *)0), write16_delegate(&_class::_whandler, #_class "::" #_whandler, _tag, (_class *)0), _unitmask);
#define AM_DEVREADWRITE32(_tag, _class, _rhandler, _whandler, _unitmask) \
- curentry->set_handler(device, read32_delegate(&_class::_rhandler, #_class "::" #_rhandler, _tag, (_class *)0), write32_delegate(&_class::_whandler, #_class "::" #_whandler, _tag, (_class *)0), _unitmask); \
-
+ curentry->set_handler(device, read32_delegate(&_class::_rhandler, #_class "::" #_rhandler, _tag, (_class *)0), write32_delegate(&_class::_whandler, #_class "::" #_whandler, _tag, (_class *)0), _unitmask);
// device mapping
#define AM_DEVICE(_tag, _class, _handler) \
- curentry->set_submap(device, _tag, address_map_delegate(&_class::_handler, #_class "::" #_handler, (_class *)0), 0, 0); \
-
+ curentry->set_submap(device, _tag, address_map_delegate(&_class::_handler, #_class "::" #_handler, (_class *)0), 0, 0);
#define AM_DEVICE8(_tag, _class, _handler, _unitmask) \
- curentry->set_submap(device, _tag, address_map_delegate(&_class::_handler, #_class "::" #_handler, (_class *)0), 8, _unitmask); \
-
+ curentry->set_submap(device, _tag, address_map_delegate(&_class::_handler, #_class "::" #_handler, (_class *)0), 8, _unitmask);
#define AM_DEVICE16(_tag, _class, _handler, _unitmask) \
- curentry->set_submap(device, _tag, address_map_delegate(&_class::_handler, #_class "::" #_handler, (_class *)0), 16, _unitmask); \
-
+ curentry->set_submap(device, _tag, address_map_delegate(&_class::_handler, #_class "::" #_handler, (_class *)0), 16, _unitmask);
#define AM_DEVICE32(_tag, _class, _handler, _unitmask) \
- curentry->set_submap(device, _tag, address_map_delegate(&_class::_handler, #_class "::" #_handler, (_class *)0), 32, _unitmask); \
-
+ curentry->set_submap(device, _tag, address_map_delegate(&_class::_handler, #_class "::" #_handler, (_class *)0), 32, _unitmask);
// special-case accesses
#define AM_ROM \
- curentry->set_read_type(AMH_ROM); \
-
+ curentry->set_read_type(AMH_ROM);
#define AM_RAM \
curentry->set_read_type(AMH_RAM); \
- curentry->set_write_type(AMH_RAM); \
-
+ curentry->set_write_type(AMH_RAM);
#define AM_READONLY \
- curentry->set_read_type(AMH_RAM); \
-
+ curentry->set_read_type(AMH_RAM);
#define AM_WRITEONLY \
- curentry->set_write_type(AMH_RAM); \
-
+ curentry->set_write_type(AMH_RAM);
#define AM_UNMAP \
curentry->set_read_type(AMH_UNMAP); \
- curentry->set_write_type(AMH_UNMAP); \
-
+ curentry->set_write_type(AMH_UNMAP);
#define AM_NOP \
curentry->set_read_type(AMH_NOP); \
- curentry->set_write_type(AMH_NOP); \
-
+ curentry->set_write_type(AMH_NOP);
#define AM_READNOP \
- curentry->set_read_type(AMH_NOP); \
-
+ curentry->set_read_type(AMH_NOP);
#define AM_WRITENOP \
- curentry->set_write_type(AMH_NOP); \
-
+ curentry->set_write_type(AMH_NOP);
// port accesses
#define AM_READ_PORT(_tag) \
- curentry->set_read_port(device, _tag); \
-
+ curentry->set_read_port(device, _tag);
#define AM_WRITE_PORT(_tag) \
- curentry->set_write_port(device, _tag); \
-
+ curentry->set_write_port(device, _tag);
#define AM_READWRITE_PORT(_tag) \
- curentry->set_readwrite_port(device, _tag); \
-
+ curentry->set_readwrite_port(device, _tag);
// bank accesses
#define AM_READ_BANK(_tag) \
- curentry->set_read_bank(device, _tag); \
-
+ curentry->set_read_bank(device, _tag);
#define AM_WRITE_BANK(_tag) \
- curentry->set_write_bank(device, _tag); \
-
+ curentry->set_write_bank(device, _tag);
#define AM_READWRITE_BANK(_tag) \
- curentry->set_readwrite_bank(device, _tag); \
-
+ curentry->set_readwrite_bank(device, _tag);
// attributes for accesses
#define AM_REGION(_tag, _offs) \
- curentry->set_region(_tag, _offs); \
-
+ curentry->set_region(_tag, _offs);
#define AM_SHARE(_tag) \
- curentry->set_share(_tag); \
-
+ curentry->set_share(_tag);
// common shortcuts
#define AM_ROMBANK(_bank) AM_READ_BANK(_bank)
diff --git a/src/emu/cpu/adsp2100/adsp2100.h b/src/emu/cpu/adsp2100/adsp2100.h
index 96cc4650084..5db7258d9a0 100644
--- a/src/emu/cpu/adsp2100/adsp2100.h
+++ b/src/emu/cpu/adsp2100/adsp2100.h
@@ -213,8 +213,7 @@ enum
//**************************************************************************
#define MCFG_ADSP21XX_CONFIG(_config) \
- adsp21xx_device::static_set_config(*device, _config); \
-
+ adsp21xx_device::static_set_config(*device, _config);
//**************************************************************************
diff --git a/src/emu/cpu/am29000/am29000.c b/src/emu/cpu/am29000/am29000.c
index f15585d2ae8..298e61f7e0c 100644
--- a/src/emu/cpu/am29000/am29000.c
+++ b/src/emu/cpu/am29000/am29000.c
@@ -227,7 +227,6 @@ static CPU_RESET( am29000 )
static CPU_EXIT( am29000 )
{
-
}
diff --git a/src/emu/cpu/arm/arm.c b/src/emu/cpu/arm/arm.c
index 10364e4c19b..bcd203125e2 100644
--- a/src/emu/cpu/arm/arm.c
+++ b/src/emu/cpu/arm/arm.c
@@ -503,7 +503,6 @@ static void arm_check_irq_state(ARM_REGS* cpustate)
static void set_irq_line(ARM_REGS* cpustate, int irqline, int state)
{
switch (irqline) {
-
case ARM_IRQ_LINE: /* IRQ */
if (state && (R15&0x3)!=eARM_MODE_IRQ) /* Don't allow nested IRQs */
cpustate->pendingIrq=1;
@@ -707,7 +706,6 @@ static void HandleMemSingle( ARM_REGS* cpustate, UINT32 insn )
SetRegister(cpustate, rn,GetRegister(cpustate, rd));
}
else {
-
if ((insn&INSN_SDT_W)!=0)
logerror("%08x: RegisterWritebackIncrement %d %d %d\n",R15,(insn & INSN_SDT_P)!=0,(insn&INSN_SDT_W)!=0,(insn & INSN_SDT_U)!=0);
diff --git a/src/emu/cpu/arm7/arm7.c b/src/emu/cpu/arm7/arm7.c
index 7a79d82a16d..8b56fcf3a06 100644
--- a/src/emu/cpu/arm7/arm7.c
+++ b/src/emu/cpu/arm7/arm7.c
@@ -517,8 +517,7 @@ static CPU_EXIT( arm7 )
#define UNEXECUTED() \
R15 += 4; \
- ARM7_ICOUNT +=2; /* Any unexecuted instruction only takes 1 cycle (page 193) */ \
-
+ ARM7_ICOUNT +=2; /* Any unexecuted instruction only takes 1 cycle (page 193) */
static CPU_EXECUTE( arm7 )
{
UINT32 pc;
diff --git a/src/emu/cpu/arm7/arm7core.c b/src/emu/cpu/arm7/arm7core.c
index a74e2cd6876..48af446b831 100644
--- a/src/emu/cpu/arm7/arm7core.c
+++ b/src/emu/cpu/arm7/arm7core.c
@@ -289,7 +289,6 @@ void arm7_check_irq_state(arm_state *cpustate)
static void arm7_core_set_irq_line(arm_state *cpustate, int irqline, int state)
{
switch (irqline) {
-
case ARM7_IRQ_LINE: /* IRQ */
cpustate->pendingIrq = state & 1;
break;
diff --git a/src/emu/cpu/arm7/arm7dasm.c b/src/emu/cpu/arm7/arm7dasm.c
index e8129ca436a..5f42f2f0507 100644
--- a/src/emu/cpu/arm7/arm7dasm.c
+++ b/src/emu/cpu/arm7/arm7dasm.c
@@ -430,7 +430,6 @@ static UINT32 arm7_disasm( char *pBuf, UINT32 pc, UINT32 opcode )
}
else if( (opcode&0x0c000000)==0 ) //bits 27-26 == 00 - This check can only exist properly after Multiplication check above
{
-
/* Data Processing OR PSR Transfer */
//SJE: check for MRS & MSR ( S bit must be clear, and bit 24,23 = 10 )
diff --git a/src/emu/cpu/arm7/arm7ops.c b/src/emu/cpu/arm7/arm7ops.c
index 63c32e4ca80..9ed012e5a7a 100644
--- a/src/emu/cpu/arm7/arm7ops.c
+++ b/src/emu/cpu/arm7/arm7ops.c
@@ -291,7 +291,6 @@ static void HandleCoProcDO(arm_state *cpustate, UINT32 insn)
// Co-Processor Register Transfer - To/From Arm to Co-Proc
static void HandleCoProcRT(arm_state *cpustate, UINT32 insn)
{
-
/* xxxx 1110 oooL nnnn dddd cccc ppp1 mmmm */
// Load (MRC) data from Co-Proc to ARM7 register
@@ -544,7 +543,6 @@ static void HandleMemSingle(arm_state *cpustate, UINT32 insn)
}
else
{
-
/* Do post-indexing writeback */
if (!(insn & INSN_SDT_P)/* && (insn & INSN_SDT_W)*/)
{
@@ -557,7 +555,6 @@ static void HandleMemSingle(arm_state *cpustate, UINT32 insn)
// todo: check for offs... ?
}
else {
-
if ((insn & INSN_SDT_W) != 0)
LOG(("%08x: RegisterWritebackIncrement %d %d %d\n", R15, (insn & INSN_SDT_P) != 0, (insn & INSN_SDT_W) != 0, (insn & INSN_SDT_U) != 0));
@@ -669,7 +666,6 @@ static void HandleHalfWordDT(arm_state *cpustate, UINT32 insn)
if (cpustate->pendingAbtD == 0)
{
-
// PC?
if (rd == eR15)
{
@@ -698,7 +694,6 @@ static void HandleHalfWordDT(arm_state *cpustate, UINT32 insn)
if (cpustate->pendingAbtD == 0)
{
-
if (rd == eR15)
{
R15 = newval + 8;
@@ -761,7 +756,6 @@ static void HandleHalfWordDT(arm_state *cpustate, UINT32 insn)
}
else
{
-
// SJE: No idea if this writeback code works or makes sense here..
/* Do post-indexing writeback */
@@ -776,7 +770,6 @@ static void HandleHalfWordDT(arm_state *cpustate, UINT32 insn)
// todo: check for offs... ?
}
else {
-
if ((insn & INSN_SDT_W) != 0)
LOG(("%08x: RegisterWritebackIncrement %d %d %d\n", R15, (insn & INSN_SDT_P) != 0, (insn & INSN_SDT_W) != 0, (insn & INSN_SDT_U) != 0));
@@ -1085,7 +1078,6 @@ static void HandleALU(arm_state *cpustate, UINT32 insn)
{
// Rd = 15 and S Flag IS set, Result is placed in R15, and current mode SPSR moved to CPSR
if (rdn == eR15) {
-
if (MODE32)
{
// When Rd is R15 and the S flag is set the result of the operation is placed in R15 and the SPSR corresponding to
diff --git a/src/emu/cpu/avr8/avr8.h b/src/emu/cpu/avr8/avr8.h
index d5490ef18db..b89ac9d11e0 100644
--- a/src/emu/cpu/avr8/avr8.h
+++ b/src/emu/cpu/avr8/avr8.h
@@ -45,8 +45,7 @@
//**************************************************************************
#define MCFG_CPU_AVR8_CONFIG(_config) \
- avr8_device::static_set_config(*device, _config); \
-
+ avr8_device::static_set_config(*device, _config);
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
diff --git a/src/emu/cpu/cubeqcpu/cubeqcpu.c b/src/emu/cpu/cubeqcpu/cubeqcpu.c
index adc53bfa1ef..dab7a34fb33 100644
--- a/src/emu/cpu/cubeqcpu/cubeqcpu.c
+++ b/src/emu/cpu/cubeqcpu/cubeqcpu.c
@@ -983,7 +983,6 @@ static CPU_EXECUTE( cquestrot )
}
case RAMU:
{
-
UINT16 q15 = BIT(cpustate->q, 15);
UINT16 r15 = BIT(cpustate->f, 15);
UINT16 r0 = 0;
diff --git a/src/emu/cpu/dsp32/dsp32.h b/src/emu/cpu/dsp32/dsp32.h
index e419b46ef65..9bba8f137ce 100644
--- a/src/emu/cpu/dsp32/dsp32.h
+++ b/src/emu/cpu/dsp32/dsp32.h
@@ -47,8 +47,7 @@
//**************************************************************************
#define MCFG_DSP32C_CONFIG(_config) \
- dsp32c_device::static_set_config(*device, _config); \
-
+ dsp32c_device::static_set_config(*device, _config);
//**************************************************************************
diff --git a/src/emu/cpu/dsp56k/dsp56def.h b/src/emu/cpu/dsp56k/dsp56def.h
index 741de50846d..a813de5570d 100644
--- a/src/emu/cpu/dsp56k/dsp56def.h
+++ b/src/emu/cpu/dsp56k/dsp56def.h
@@ -9,7 +9,6 @@
namespace DSP56K
{
-
/***************************************************************************
ALU
***************************************************************************/
diff --git a/src/emu/cpu/dsp56k/dsp56mem.c b/src/emu/cpu/dsp56k/dsp56mem.c
index e421bcffcc1..47b1a4dc57d 100644
--- a/src/emu/cpu/dsp56k/dsp56mem.c
+++ b/src/emu/cpu/dsp56k/dsp56mem.c
@@ -6,7 +6,6 @@
namespace DSP56K
{
-
/* IPR Accessor Implementations */
void IPR_set(dsp56k_core* cpustate, UINT16 value)
{
diff --git a/src/emu/cpu/dsp56k/dsp56mem.h b/src/emu/cpu/dsp56k/dsp56mem.h
index 642ae059c5e..c9ddd0e8267 100644
--- a/src/emu/cpu/dsp56k/dsp56mem.h
+++ b/src/emu/cpu/dsp56k/dsp56mem.h
@@ -5,7 +5,6 @@
namespace DSP56K
{
-
/***************************************************************************
MEMORY
***************************************************************************/
diff --git a/src/emu/cpu/dsp56k/dsp56pcu.c b/src/emu/cpu/dsp56k/dsp56pcu.c
index 87bb8c77b0f..66d5fbacf1b 100644
--- a/src/emu/cpu/dsp56k/dsp56pcu.c
+++ b/src/emu/cpu/dsp56k/dsp56pcu.c
@@ -3,7 +3,6 @@
namespace DSP56K
{
-
/* ************************************************************************* */
/* Status Register */
/* ************************************************************************* */
diff --git a/src/emu/cpu/dsp56k/dsp56pcu.h b/src/emu/cpu/dsp56k/dsp56pcu.h
index a582eb1cb39..360b08f4d61 100644
--- a/src/emu/cpu/dsp56k/dsp56pcu.h
+++ b/src/emu/cpu/dsp56k/dsp56pcu.h
@@ -5,7 +5,6 @@
namespace DSP56K
{
-
/***************************************************************************
PCU
***************************************************************************/
diff --git a/src/emu/cpu/dsp56k/inst.c b/src/emu/cpu/dsp56k/inst.c
index 74c5b88c090..58c3bf67aed 100644
--- a/src/emu/cpu/dsp56k/inst.c
+++ b/src/emu/cpu/dsp56k/inst.c
@@ -3,7 +3,6 @@
namespace DSP56K
{
-
// Factory
Instruction* Instruction::decodeInstruction(const Opcode* opc,
const UINT16 word0,
diff --git a/src/emu/cpu/dsp56k/inst.h b/src/emu/cpu/dsp56k/inst.h
index afd65fa340d..34f19534976 100644
--- a/src/emu/cpu/dsp56k/inst.h
+++ b/src/emu/cpu/dsp56k/inst.h
@@ -13,7 +13,6 @@
//
namespace DSP56K
{
-
#define ADDRESS(X) ((X)<<1)
#define UNIMPLEMENTED_OPCODE() mame_printf_error("Unimplemented opcode: PC=%04x | %s;\n", PC, __PRETTY_FUNCTION__);
diff --git a/src/emu/cpu/dsp56k/opcode.c b/src/emu/cpu/dsp56k/opcode.c
index 0e9ad3706dc..803a4fe7160 100644
--- a/src/emu/cpu/dsp56k/opcode.c
+++ b/src/emu/cpu/dsp56k/opcode.c
@@ -4,7 +4,6 @@
namespace DSP56K
{
-
Opcode::Opcode(UINT16 w0, UINT16 w1) : m_word0(w0), m_word1(w1)
{
m_instruction = Instruction::decodeInstruction(this, w0, w1);
diff --git a/src/emu/cpu/dsp56k/opcode.h b/src/emu/cpu/dsp56k/opcode.h
index cd841e2d1a8..86f5a3f1350 100644
--- a/src/emu/cpu/dsp56k/opcode.h
+++ b/src/emu/cpu/dsp56k/opcode.h
@@ -12,7 +12,6 @@
//
namespace DSP56K
{
-
class Instruction;
class ParallelMove;
diff --git a/src/emu/cpu/dsp56k/pmove.c b/src/emu/cpu/dsp56k/pmove.c
index a3f6a0dada4..ce9c7776e87 100644
--- a/src/emu/cpu/dsp56k/pmove.c
+++ b/src/emu/cpu/dsp56k/pmove.c
@@ -2,7 +2,6 @@
namespace DSP56K
{
-
const reg_id& ParallelMove::opSource() const { return m_oco->instSource(); }
const reg_id& ParallelMove::opDestination() const { return m_oco->instDestination(); }
const size_t ParallelMove::opAccumulatorBitsModified() const { return m_oco->instAccumulatorBitsModified(); }
diff --git a/src/emu/cpu/dsp56k/pmove.h b/src/emu/cpu/dsp56k/pmove.h
index 4dabb9b3a30..e6b017280b6 100644
--- a/src/emu/cpu/dsp56k/pmove.h
+++ b/src/emu/cpu/dsp56k/pmove.h
@@ -10,7 +10,6 @@
//
namespace DSP56K
{
-
class Opcode;
class ParallelMove
diff --git a/src/emu/cpu/dsp56k/tables.c b/src/emu/cpu/dsp56k/tables.c
index 096eb04ffae..edbe3b32a9d 100644
--- a/src/emu/cpu/dsp56k/tables.c
+++ b/src/emu/cpu/dsp56k/tables.c
@@ -7,7 +7,6 @@
namespace DSP56K
{
-
/******************/
/* Table decoding */
/******************/
diff --git a/src/emu/cpu/dsp56k/tables.h b/src/emu/cpu/dsp56k/tables.h
index 1701bcd146a..139d89403a0 100644
--- a/src/emu/cpu/dsp56k/tables.h
+++ b/src/emu/cpu/dsp56k/tables.h
@@ -9,7 +9,6 @@
namespace DSP56K
{
-
#define BITSn(CUR,MASK) (dsp56k_op_maskn(CUR,MASK))
enum bitsModified {BM_NONE = 0x0, BM_LOW = 0x1, BM_MIDDLE = 0x2, BM_HIGH = 0x4};
diff --git a/src/emu/cpu/e132xs/e132xsop.c b/src/emu/cpu/e132xs/e132xsop.c
index 585af997675..02fcff4190a 100644
--- a/src/emu/cpu/e132xs/e132xsop.c
+++ b/src/emu/cpu/e132xs/e132xsop.c
@@ -15,8 +15,7 @@
decode->dst_is_local = 0; \
decode->same_src_dst = 0; \
decode->same_src_dstf = 0; \
- decode->same_srcf_dst = 0; \
-
+ decode->same_srcf_dst = 0;
void hyperstone_device::op00()
{
diff --git a/src/emu/cpu/esrip/esrip.c b/src/emu/cpu/esrip/esrip.c
index 4e351c26c06..300ac0d9a2c 100644
--- a/src/emu/cpu/esrip/esrip.c
+++ b/src/emu/cpu/esrip/esrip.c
@@ -327,7 +327,6 @@ void esrip_device::device_reset()
void esrip_device::device_stop()
{
-
}
diff --git a/src/emu/cpu/esrip/esrip.h b/src/emu/cpu/esrip/esrip.h
index 729a0f96eef..296ccf7f803 100644
--- a/src/emu/cpu/esrip/esrip.h
+++ b/src/emu/cpu/esrip/esrip.h
@@ -25,8 +25,7 @@
***************************************************************************/
#define MCFG_CPU_ESRIP_CONFIG(_config) \
- esrip_device::static_set_config(*device, _config); \
-
+ esrip_device::static_set_config(*device, _config);
/***************************************************************************
REGISTER ENUMERATION
diff --git a/src/emu/cpu/f8/f8.c b/src/emu/cpu/f8/f8.c
index 605056e99e2..4e86d1c00d3 100644
--- a/src/emu/cpu/f8/f8.c
+++ b/src/emu/cpu/f8/f8.c
@@ -1158,7 +1158,6 @@ static void f8_am(f8_Regs *cpustate)
***************************************************/
static void f8_amd(f8_Regs *cpustate)
{
-
/*SKR from F8 Guide To programming description of AMD
binary add the addend to the binary sum of the augend and $66
diff --git a/src/emu/cpu/g65816/g65816op.h b/src/emu/cpu/g65816/g65816op.h
index 2748b37aa5a..3d5cefc4e01 100644
--- a/src/emu/cpu/g65816/g65816op.h
+++ b/src/emu/cpu/g65816/g65816op.h
@@ -777,8 +777,7 @@ INLINE uint EA_SIY(g65816i_cpu_struct *cpustate) {return MAKE_UINT_16(read_16_
g65816i_branch_8(cpustate, DST); \
BREAKOUT; \
} \
- CLK(CLK_OP + CLK_RELATIVE_8); \
-
+ CLK(CLK_OP + CLK_RELATIVE_8);
/* M6502 Set flags according to bits */
#undef OP_BIT
#if FLAG_SET_M
diff --git a/src/emu/cpu/h6280/6280dasm.c b/src/emu/cpu/h6280/6280dasm.c
index de07366a884..cf40842aede 100644
--- a/src/emu/cpu/h6280/6280dasm.c
+++ b/src/emu/cpu/h6280/6280dasm.c
@@ -48,7 +48,6 @@ enum addr_mode {
};
enum opcodes {
-
/* 6502 opcodes */
_adc=0,_and, _asl, _bcc, _bcs, _beq, _bit, _bmi,
_bne, _bpl, _brk, _bvc, _bvs, _clc, _cld, _cli,
diff --git a/src/emu/cpu/h6280/h6280ops.h b/src/emu/cpu/h6280/h6280ops.h
index 8c57e2cfff5..994941296d9 100644
--- a/src/emu/cpu/h6280/h6280ops.h
+++ b/src/emu/cpu/h6280/h6280ops.h
@@ -494,8 +494,7 @@
push(P); \
P = (P & ~_fD) | _fI; \
PCL = program_read8(H6280_IRQ2_VEC); \
- PCH = program_read8(H6280_IRQ2_VEC+1); \
-
+ PCH = program_read8(H6280_IRQ2_VEC+1);
/* 6280 ********************************************************
* BSR Branch to subroutine
***************************************************************/
@@ -691,8 +690,7 @@
***************************************************************/
#define JMP \
CLEAR_T; \
- PCD = EAD; \
-
+ PCD = EAD;
/* 6280 ********************************************************
* JSR Jump to subroutine
* decrement PC (sic!) push PC hi, push PC lo and set
@@ -703,8 +701,7 @@
PCW--; \
push(PCH); \
push(PCL); \
- PCD = EAD; \
-
+ PCD = EAD;
/* 6280 ********************************************************
* LDA Load accumulator
***************************************************************/
diff --git a/src/emu/cpu/hd61700/hd61700.c b/src/emu/cpu/hd61700/hd61700.c
index cfbfb785720..06ae03d9a12 100644
--- a/src/emu/cpu/hd61700/hd61700.c
+++ b/src/emu/cpu/hd61700/hd61700.c
@@ -2963,7 +2963,6 @@ inline int hd61700_cpu_device::get_im_7(UINT8 data)
inline UINT16 hd61700_cpu_device::make_bcd_sub(UINT8 arg1, UINT8 arg2)
{
-
UINT32 ret = (arg1&0x0f) - (arg2&0x0f);
UINT8 carry;
diff --git a/src/emu/cpu/hd61700/hd61700.h b/src/emu/cpu/hd61700/hd61700.h
index 039d4ce853f..ff2b5cdf78e 100644
--- a/src/emu/cpu/hd61700/hd61700.h
+++ b/src/emu/cpu/hd61700/hd61700.h
@@ -14,8 +14,7 @@
//**************************************************************************
#define MCFG_HD61700_CONFIG(_config) \
- hd61700_cpu_device::static_set_config(*device, _config); \
-
+ hd61700_cpu_device::static_set_config(*device, _config);
//**************************************************************************
// DEFINITIONS
//**************************************************************************
diff --git a/src/emu/cpu/hd6309/6309ops.c b/src/emu/cpu/hd6309/6309ops.c
index a9f72db1b22..a2bcc37830d 100644
--- a/src/emu/cpu/hd6309/6309ops.c
+++ b/src/emu/cpu/hd6309/6309ops.c
@@ -697,8 +697,7 @@ OP_HANDLER( lble )
case 13: if (promote) dst16Reg = &z16; else dst8Reg = &z8; break; \
case 14: if (promote) dst16Reg = &W; else dst8Reg = &E; break; \
default: if (promote) dst16Reg = &W; else dst8Reg = &F; break; \
- } \
-
+ }
/* $1030 addr_r r1 + r2 -> r2 */
OP_HANDLER( addr_r )
diff --git a/src/emu/cpu/i386/i386op16.c b/src/emu/cpu/i386/i386op16.c
index e009e6e6bcf..440628a3ddc 100644
--- a/src/emu/cpu/i386/i386op16.c
+++ b/src/emu/cpu/i386/i386op16.c
@@ -6,7 +6,6 @@ static UINT16 I386OP(shift_rotate16)(i386_state *cpustate, UINT8 modrm, UINT32 v
if( shift == 0 ) {
CYCLES_RM(cpustate,modrm, 3, 7);
} else if( shift == 1 ) {
-
switch( (modrm >> 3) & 0x7 )
{
case 0: /* ROL rm16, 1 */
@@ -57,7 +56,6 @@ static UINT16 I386OP(shift_rotate16)(i386_state *cpustate, UINT8 modrm, UINT32 v
break;
}
} else {
-
switch( (modrm >> 3) & 0x7 )
{
case 0: /* ROL rm16, i8 */
@@ -2012,7 +2010,6 @@ static void I386OP(shld16_i8)(i386_state *cpustate) // Opcode 0x0f a4
UINT8 shift = FETCH(cpustate);
shift &= 31;
if( shift == 0 ) {
-
} else if( shift > 15 ) {
cpustate->CF = (upper & (1 << (16-shift))) ? 1 : 0;
// ppro and above should be (dst >> (32-shift))
@@ -2034,7 +2031,6 @@ static void I386OP(shld16_i8)(i386_state *cpustate) // Opcode 0x0f a4
UINT8 shift = FETCH(cpustate);
shift &= 31;
if( shift == 0 ) {
-
} else if( shift > 15 ) {
cpustate->CF = (upper & (1 << (16-shift))) ? 1 : 0;
dst = (upper << (shift-16)) | (upper >> (32-shift));
@@ -2060,7 +2056,6 @@ static void I386OP(shld16_cl)(i386_state *cpustate) // Opcode 0x0f a5
UINT8 shift = REG8(CL);
shift &= 31;
if( shift == 0 ) {
-
} else if( shift > 15 ) {
cpustate->CF = (upper & (1 << (16-shift))) ? 1 : 0;
dst = (upper << (shift-16)) | (upper >> (32-shift));
@@ -2081,7 +2076,6 @@ static void I386OP(shld16_cl)(i386_state *cpustate) // Opcode 0x0f a5
UINT8 shift = REG8(CL);
shift &= 31;
if( shift == 0 ) {
-
} else if( shift > 15 ) {
cpustate->CF = (upper & (1 << (16-shift))) ? 1 : 0;
dst = (upper << (shift-16)) | (upper >> (32-shift));
@@ -2107,7 +2101,6 @@ static void I386OP(shrd16_i8)(i386_state *cpustate) // Opcode 0x0f ac
UINT8 shift = FETCH(cpustate);
shift &= 31;
if( shift == 0) {
-
} else if( shift > 15 ) {
cpustate->CF = (upper & (1 << (shift-1))) ? 1 : 0;
dst = (upper >> (shift-16)) | (upper << (32-shift));
@@ -2128,7 +2121,6 @@ static void I386OP(shrd16_i8)(i386_state *cpustate) // Opcode 0x0f ac
UINT8 shift = FETCH(cpustate);
shift &= 31;
if( shift == 0) {
-
} else if( shift > 15 ) {
cpustate->CF = (upper & (1 << (shift-1))) ? 1 : 0;
dst = (upper >> (shift-16)) | (upper << (32-shift));
@@ -2154,7 +2146,6 @@ static void I386OP(shrd16_cl)(i386_state *cpustate) // Opcode 0x0f ad
UINT8 shift = REG8(CL);
shift &= 31;
if( shift == 0) {
-
} else if( shift > 15 ) {
cpustate->CF = (upper & (1 << (shift-1))) ? 1 : 0;
dst = (upper >> (shift-16)) | (upper << (32-shift));
@@ -2175,7 +2166,6 @@ static void I386OP(shrd16_cl)(i386_state *cpustate) // Opcode 0x0f ad
UINT8 shift = REG8(CL);
shift &= 31;
if( shift == 0) {
-
} else if( shift > 15 ) {
cpustate->CF = (upper & (1 << (shift-1))) ? 1 : 0;
dst = (upper >> (shift-16)) | (upper << (32-shift));
diff --git a/src/emu/cpu/i386/i386op32.c b/src/emu/cpu/i386/i386op32.c
index a139ba884c9..20b6cc58b88 100644
--- a/src/emu/cpu/i386/i386op32.c
+++ b/src/emu/cpu/i386/i386op32.c
@@ -7,7 +7,6 @@ static UINT32 I386OP(shift_rotate32)(i386_state *cpustate, UINT8 modrm, UINT32 v
if( shift == 0 ) {
CYCLES_RM(cpustate,modrm, 3, 7);
} else if( shift == 1 ) {
-
switch( (modrm >> 3) & 0x7 )
{
case 0: /* ROL rm32, 1 */
@@ -1863,7 +1862,6 @@ static void I386OP(shld32_i8)(i386_state *cpustate) // Opcode 0x0f a4
UINT8 shift = FETCH(cpustate);
shift &= 31;
if( shift == 0 ) {
-
} else {
cpustate->CF = (dst & (1 << (32-shift))) ? 1 : 0;
dst = (dst << shift) | (upper >> (32-shift));
@@ -1879,7 +1877,6 @@ static void I386OP(shld32_i8)(i386_state *cpustate) // Opcode 0x0f a4
UINT8 shift = FETCH(cpustate);
shift &= 31;
if( shift == 0 ) {
-
} else {
cpustate->CF = (dst & (1 << (32-shift))) ? 1 : 0;
dst = (dst << shift) | (upper >> (32-shift));
@@ -1900,7 +1897,6 @@ static void I386OP(shld32_cl)(i386_state *cpustate) // Opcode 0x0f a5
UINT8 shift = REG8(CL);
shift &= 31;
if( shift == 0 ) {
-
} else {
cpustate->CF = (dst & (1 << (32-shift))) ? 1 : 0;
dst = (dst << shift) | (upper >> (32-shift));
@@ -1916,7 +1912,6 @@ static void I386OP(shld32_cl)(i386_state *cpustate) // Opcode 0x0f a5
UINT8 shift = REG8(CL);
shift &= 31;
if( shift == 0 ) {
-
} else {
cpustate->CF = (dst & (1 << (32-shift))) ? 1 : 0;
dst = (dst << shift) | (upper >> (32-shift));
@@ -1937,7 +1932,6 @@ static void I386OP(shrd32_i8)(i386_state *cpustate) // Opcode 0x0f ac
UINT8 shift = FETCH(cpustate);
shift &= 31;
if( shift == 0 ) {
-
} else {
cpustate->CF = (dst & (1 << (shift-1))) ? 1 : 0;
dst = (dst >> shift) | (upper << (32-shift));
@@ -1953,7 +1947,6 @@ static void I386OP(shrd32_i8)(i386_state *cpustate) // Opcode 0x0f ac
UINT8 shift = FETCH(cpustate);
shift &= 31;
if( shift == 0 ) {
-
} else {
cpustate->CF = (dst & (1 << (shift-1))) ? 1 : 0;
dst = (dst >> shift) | (upper << (32-shift));
@@ -1974,7 +1967,6 @@ static void I386OP(shrd32_cl)(i386_state *cpustate) // Opcode 0x0f ad
UINT8 shift = REG8(CL);
shift &= 31;
if( shift == 0 ) {
-
} else {
cpustate->CF = (dst & (1 << (shift-1))) ? 1 : 0;
dst = (dst >> shift) | (upper << (32-shift));
@@ -1990,7 +1982,6 @@ static void I386OP(shrd32_cl)(i386_state *cpustate) // Opcode 0x0f ad
UINT8 shift = REG8(CL);
shift &= 31;
if( shift == 0 ) {
-
} else {
cpustate->CF = (dst & (1 << (shift-1))) ? 1 : 0;
dst = (dst >> shift) | (upper << (32-shift));
diff --git a/src/emu/cpu/i386/i386ops.c b/src/emu/cpu/i386/i386ops.c
index 6f653bee2e9..2a39681286c 100644
--- a/src/emu/cpu/i386/i386ops.c
+++ b/src/emu/cpu/i386/i386ops.c
@@ -6,7 +6,6 @@ static UINT8 I386OP(shift_rotate8)(i386_state *cpustate, UINT8 modrm, UINT32 val
if( shift == 0 ) {
CYCLES_RM(cpustate,modrm, 3, 7);
} else if( shift == 1 ) {
-
switch( (modrm >> 3) & 0x7 )
{
case 0: /* ROL rm8, 1 */
@@ -58,7 +57,6 @@ static UINT8 I386OP(shift_rotate8)(i386_state *cpustate, UINT8 modrm, UINT32 val
}
} else {
-
switch( (modrm >> 3) & 0x7 )
{
case 0: /* ROL rm8, i8 */
diff --git a/src/emu/cpu/i86/instr186.c b/src/emu/cpu/i86/instr186.c
index aa3cfe9bf59..72d1f5f9936 100644
--- a/src/emu/cpu/i86/instr186.c
+++ b/src/emu/cpu/i86/instr186.c
@@ -33,7 +33,6 @@ static void PREFIX186(_pusha)(i8086_state *cpustate) /* Opcode 0x60 */
static unsigned i186_popa_tmp; // hack around GCC 4.6 error because we need the side effects of POP
static void PREFIX186(_popa)(i8086_state *cpustate) /* Opcode 0x61 */
{
-
#ifdef I80286
if(PM) i80286_check_permission(cpustate, SS, cpustate->regs.w[SP], 16, I80286_READ);
#endif
diff --git a/src/emu/cpu/i86/instr86.c b/src/emu/cpu/i86/instr86.c
index 0cdba2eff38..2c007ff3fa9 100644
--- a/src/emu/cpu/i86/instr86.c
+++ b/src/emu/cpu/i86/instr86.c
@@ -2954,7 +2954,6 @@ static void PREFIX86(_f6pre)(i8086_state *cpustate)
case 0x38: /* IDIV AL, Ew */
ICOUNT -= (ModRM >= 0xc0) ? timing.idiv_r8 : timing.idiv_m8;
{
-
INT16 result;
result = cpustate->regs.w[AX];
diff --git a/src/emu/cpu/lc8670/lc8670.h b/src/emu/cpu/lc8670/lc8670.h
index 852105830d1..d9490fcd8ca 100644
--- a/src/emu/cpu/lc8670/lc8670.h
+++ b/src/emu/cpu/lc8670/lc8670.h
@@ -61,8 +61,7 @@ typedef UINT32 (*lc8670_lcd_update)(device_t &device, bitmap_ind16 &bitmap, cons
#define MCFG_LC8670_SET_CLOCK_SOURCES(_sub_clock, _rc_clock, _cf_clock) \
lc8670_cpu_device::static_set_cpu_clock(*device, LC8670_SUB_CLOCK, _sub_clock); \
lc8670_cpu_device::static_set_cpu_clock(*device, LC8670_RC_CLOCK, _rc_clock); \
- lc8670_cpu_device::static_set_cpu_clock(*device, LC8670_CF_CLOCK, _cf_clock); \
-
+ lc8670_cpu_device::static_set_cpu_clock(*device, LC8670_CF_CLOCK, _cf_clock);
#define MCFG_LC8670_BANKSWITCH_CB(_devcb) \
devcb = &lc8670_cpu_device::static_set_bankswitch_cb(*device, DEVCB2_##_devcb);
diff --git a/src/emu/cpu/m37710/m37710op.h b/src/emu/cpu/m37710/m37710op.h
index 5255f667bce..13b6c393ca4 100644
--- a/src/emu/cpu/m37710/m37710op.h
+++ b/src/emu/cpu/m37710/m37710op.h
@@ -864,8 +864,7 @@ INLINE uint EA_SIY(m37710i_cpu_struct *cpustate) {return MAKE_UINT_16(read_16_
m37710i_branch_8(cpustate, DST); \
BREAKOUT; \
} \
- CLK(CLK_OP + CLK_RELATIVE_8); \
-
+ CLK(CLK_OP + CLK_RELATIVE_8);
/* M37710 Cause a Break interrupt */
#undef OP_BRK
#define OP_BRK() \
diff --git a/src/emu/cpu/m68000/68307ser.c b/src/emu/cpu/m68000/68307ser.c
index 50b552bc543..74e3c3249ee 100644
--- a/src/emu/cpu/m68000/68307ser.c
+++ b/src/emu/cpu/m68000/68307ser.c
@@ -28,7 +28,6 @@ READ8_HANDLER( m68307_internal_serial_r )
}
else
{
-
int pc = space.device().safe_pc();
switch (offset)
@@ -170,5 +169,4 @@ WRITE8_HANDLER( m68307_internal_serial_w )
void m68307_serial::reset(void)
{
-
}
diff --git a/src/emu/cpu/m68000/68307sim.c b/src/emu/cpu/m68000/68307sim.c
index e7a2c6ee15e..53a606e0ee5 100644
--- a/src/emu/cpu/m68000/68307sim.c
+++ b/src/emu/cpu/m68000/68307sim.c
@@ -53,7 +53,6 @@ WRITE16_HANDLER( m68307_internal_sim_w )
{
switch (offset<<1)
{
-
case m68307SIM_PACNT:
logerror("%08x m68307_internal_sim_w %08x, %04x (%04x) (Port A (8-bit) Control Register - PACNT)\n", pc, offset*2,data,mem_mask);
sim->write_pacnt(data,mem_mask);
diff --git a/src/emu/cpu/m68000/68307tmu.c b/src/emu/cpu/m68000/68307tmu.c
index 23aebd6714d..a296d92d52a 100644
--- a/src/emu/cpu/m68000/68307tmu.c
+++ b/src/emu/cpu/m68000/68307tmu.c
@@ -101,7 +101,6 @@ WRITE16_HANDLER( m68307_internal_timer_w )
static TIMER_CALLBACK( m68307_timer0_callback )
{
-
legacy_cpu_device *dev = (legacy_cpu_device *)ptr;
m68ki_cpu_core* m68k = m68k_get_safe_token(dev);
m68307_single_timer* tptr = &m68k->m68307TIMER->singletimer[0];
diff --git a/src/emu/cpu/m68000/68340dma.c b/src/emu/cpu/m68000/68340dma.c
index 34d604bd064..b2e4c101113 100644
--- a/src/emu/cpu/m68000/68340dma.c
+++ b/src/emu/cpu/m68000/68340dma.c
@@ -34,5 +34,4 @@ WRITE32_HANDLER( m68340_internal_dma_w )
void m68340_dma::reset(void)
{
-
}
diff --git a/src/emu/cpu/m68000/68340ser.c b/src/emu/cpu/m68000/68340ser.c
index 98565ed58c5..cbd5679dae7 100644
--- a/src/emu/cpu/m68000/68340ser.c
+++ b/src/emu/cpu/m68000/68340ser.c
@@ -35,5 +35,4 @@ WRITE32_HANDLER( m68340_internal_serial_w )
void m68340_serial::reset(void)
{
-
}
diff --git a/src/emu/cpu/m68000/68340sim.c b/src/emu/cpu/m68000/68340sim.c
index dbe530da08a..2d3c95c10b0 100644
--- a/src/emu/cpu/m68000/68340sim.c
+++ b/src/emu/cpu/m68000/68340sim.c
@@ -300,5 +300,4 @@ WRITE32_HANDLER( m68340_internal_sim_cs_w )
void m68340_sim::reset(void)
{
-
}
diff --git a/src/emu/cpu/m68000/68340tmu.c b/src/emu/cpu/m68000/68340tmu.c
index f19093c4e10..e410a9bf91e 100644
--- a/src/emu/cpu/m68000/68340tmu.c
+++ b/src/emu/cpu/m68000/68340tmu.c
@@ -35,5 +35,4 @@ WRITE32_HANDLER( m68340_internal_timer_w )
void m68340_timer::reset(void)
{
-
}
diff --git a/src/emu/cpu/m68000/m68kdasm.c b/src/emu/cpu/m68000/m68kdasm.c
index 887f84b7cfd..bbc8bf318ce 100644
--- a/src/emu/cpu/m68000/m68kdasm.c
+++ b/src/emu/cpu/m68000/m68kdasm.c
@@ -1845,7 +1845,6 @@ static void d68040_fpu(void)
case 0x5: // control to ea
{
-
strcpy(g_dasm_str, "fmovem.l ");
if (w2 & 0x1000) strcat(g_dasm_str, "fpcr");
if (w2 & 0x0800) strcat(g_dasm_str, "/fpsr");
diff --git a/src/emu/cpu/m6809/m6809.h b/src/emu/cpu/m6809/m6809.h
index c6a9dbd84d6..1f9b4423170 100644
--- a/src/emu/cpu/m6809/m6809.h
+++ b/src/emu/cpu/m6809/m6809.h
@@ -10,8 +10,7 @@
//**************************************************************************
#define MCFG_CPU_M6809_CONFIG(_config) \
- m6809_base_device::static_set_config(*device, _config); \
-
+ m6809_base_device::static_set_config(*device, _config);
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
diff --git a/src/emu/cpu/mc68hc11/mc68hc11.c b/src/emu/cpu/mc68hc11/mc68hc11.c
index 0a06445c1dd..492c0b91187 100644
--- a/src/emu/cpu/mc68hc11/mc68hc11.c
+++ b/src/emu/cpu/mc68hc11/mc68hc11.c
@@ -495,7 +495,6 @@ static CPU_RESET( hc11 )
static CPU_EXIT( hc11 )
{
-
}
/*
diff --git a/src/emu/cpu/mcs51/mcs51.c b/src/emu/cpu/mcs51/mcs51.c
index b69930223ae..ac2e69971df 100644
--- a/src/emu/cpu/mcs51/mcs51.c
+++ b/src/emu/cpu/mcs51/mcs51.c
@@ -1314,7 +1314,6 @@ static void execute_op(mcs51_state_t *mcs51_state, UINT8 op)
switch( op )
{
-
case 0x00: nop(mcs51_state, op); break; //NOP
case 0x01: ajmp(mcs51_state, op); break; //AJMP code addr
case 0x02: ljmp(mcs51_state, op); break; //LJMP code addr
@@ -2338,7 +2337,6 @@ static void ds5002fp_sfr_write(mcs51_state_t *mcs51_state, size_t offset, UINT8
{
switch (offset)
{
-
case ADDR_TA:
mcs51_state->ds5002fp.previous_ta = TA;
/* init the time window after having wrote 0xaa */
diff --git a/src/emu/cpu/mn10200/mn10200.c b/src/emu/cpu/mn10200/mn10200.c
index 8a85b37a5c3..4808c048a34 100644
--- a/src/emu/cpu/mn10200/mn10200.c
+++ b/src/emu/cpu/mn10200/mn10200.c
@@ -949,7 +949,6 @@ static CPU_EXECUTE(mn10200)
case 0xf1:
opcode = mn102_read_byte(mn102, mn102->pc+1);
switch(opcode>>6) {
-
// mov (di, an), am
case 0:
mn102->cycles -= 3;
@@ -1483,7 +1482,6 @@ static CPU_EXECUTE(mn10200)
case 0xf5:
opcode = mn102_read_byte(mn102, mn102->pc+1);
switch(opcode) {
-
// and imm8, dn
case 0x00: case 0x01: case 0x02: case 0x03:
mn102->cycles -= 2;
diff --git a/src/emu/cpu/nec/nec.c b/src/emu/cpu/nec/nec.c
index bae144a895b..2f8bfc41617 100644
--- a/src/emu/cpu/nec/nec.c
+++ b/src/emu/cpu/nec/nec.c
@@ -227,7 +227,6 @@ static CPU_RESET( nec )
static CPU_EXIT( nec )
{
-
}
static void nec_interrupt(nec_state_t *nec_state, unsigned int_num, INTSOURCES source)
diff --git a/src/emu/cpu/nec/v25.c b/src/emu/cpu/nec/v25.c
index 39501514750..a2a1ccc5bb1 100644
--- a/src/emu/cpu/nec/v25.c
+++ b/src/emu/cpu/nec/v25.c
@@ -210,7 +210,6 @@ static CPU_RESET( v25 )
static CPU_EXIT( v25 )
{
-
}
static void nec_interrupt(v25_state_t *nec_state, unsigned int_num, INTSOURCES source)
diff --git a/src/emu/cpu/pic16c62x/pic16c62x.c b/src/emu/cpu/pic16c62x/pic16c62x.c
index 58c513960a4..33d8a4ac1c5 100644
--- a/src/emu/cpu/pic16c62x/pic16c62x.c
+++ b/src/emu/cpu/pic16c62x/pic16c62x.c
@@ -700,7 +700,6 @@ static void swapf(pic16c62x_state *cpustate)
static void tris(pic16c62x_state *cpustate)
{
-
switch(cpustate->opcode.b.l & 0x7)
{
case 05: STORE_REGFILE(cpustate, 0x85, cpustate->W); break;
diff --git a/src/emu/cpu/powerpc/drc_ops.c b/src/emu/cpu/powerpc/drc_ops.c
index 1f15314df78..ebbe32cba9c 100644
--- a/src/emu/cpu/powerpc/drc_ops.c
+++ b/src/emu/cpu/powerpc/drc_ops.c
@@ -1872,7 +1872,6 @@ static UINT32 recompile_orcx(drc_core *drc, UINT32 op)
static UINT32 recompile_ori(drc_core *drc, UINT32 op)
{
-
emit_mov_r32_m32(DRCTOP, REG_EAX, MABS(&REG(RS)));
emit_or_r32_imm(DRCTOP, REG_EAX, UIMM16);
emit_mov_m32_r32(DRCTOP, MABS(&REG(RA)), REG_EAX);
diff --git a/src/emu/cpu/powerpc/ppc.c b/src/emu/cpu/powerpc/ppc.c
index 3d748ae9f83..b87db93a412 100644
--- a/src/emu/cpu/powerpc/ppc.c
+++ b/src/emu/cpu/powerpc/ppc.c
@@ -889,7 +889,6 @@ static void ppc_init(void)
/* Fill the opcode tables */
for( i=0; i < (sizeof(ppc_opcode_common) / sizeof(PPC_OPCODE)); i++ ) {
-
switch(ppc_opcode_common[i].code)
{
case 19:
@@ -970,7 +969,6 @@ static CPU_INIT( ppc403 )
static CPU_EXIT( ppc403 )
{
-
}
static CPU_INIT( ppc405 )
@@ -1016,7 +1014,6 @@ static CPU_INIT( ppc405 )
static CPU_EXIT( ppc405 )
{
-
}
static CPU_INIT( ppc603 )
@@ -1160,7 +1157,6 @@ static CPU_INIT( ppc603 )
static CPU_EXIT( ppc603 )
{
-
}
static CPU_INIT( ppc602 )
@@ -1293,17 +1289,14 @@ static CPU_INIT( ppc602 )
static CPU_EXIT( ppc602 )
{
-
}
static void mpc8240_tlbli(UINT32 op)
{
-
}
static void mpc8240_tlbld(UINT32 op)
{
-
}
static CPU_INIT( mpc8240 )
@@ -1434,7 +1427,6 @@ static CPU_INIT( mpc8240 )
static CPU_EXIT( mpc8240 )
{
-
}
static CPU_INIT( ppc601 )
@@ -1562,7 +1554,6 @@ static CPU_INIT( ppc601 )
static CPU_EXIT( ppc601 )
{
-
}
static CPU_INIT( ppc604 )
@@ -1692,7 +1683,6 @@ static CPU_INIT( ppc604 )
static CPU_EXIT( ppc604 )
{
-
}
diff --git a/src/emu/cpu/powerpc/ppc403.c b/src/emu/cpu/powerpc/ppc403.c
index 8cd212c683e..ea026b89da3 100644
--- a/src/emu/cpu/powerpc/ppc403.c
+++ b/src/emu/cpu/powerpc/ppc403.c
@@ -489,27 +489,22 @@ static void ppc403_dma_set_irq_line(int dma, int state)
#ifndef PPC_DRC
static void ppc_dccci(UINT32 op)
{
-
}
static void ppc_dcread(UINT32 op)
{
-
}
static void ppc_icbt(UINT32 op)
{
-
}
static void ppc_iccci(UINT32 op)
{
-
}
static void ppc_icread(UINT32 op)
{
-
}
static void ppc_rfci(UINT32 op)
@@ -732,7 +727,6 @@ void ppc403_install_spu_tx_handler(SPU_TX_HANDLER tx_handler)
void ppc403_spu_rx_dma(UINT8 *data, int length)
{
-
}
void ppc403_install_spu_rx_dma_handler(PPC_DMA_HANDLER rx_dma_handler, UINT8 *buffer)
@@ -797,7 +791,6 @@ static void ppc403_dma_exec(int ch)
}
else /* mem to peripheral */
{
-
/* check if the serial port is hooked to channel 2 or 3 */
if( (ch == 2 && ((ppc.spu.sptc >> 5) & 0x3) == 2) ||
(ch == 3 && ((ppc.spu.sptc >> 5) & 0x3) == 3) )
diff --git a/src/emu/cpu/powerpc/ppc602.c b/src/emu/cpu/powerpc/ppc602.c
index 1c183112785..9632d0f42a1 100644
--- a/src/emu/cpu/powerpc/ppc602.c
+++ b/src/emu/cpu/powerpc/ppc602.c
@@ -32,12 +32,10 @@ static void ppc_esa(UINT32 op)
#ifndef PPC_DRC
static void ppc_tlbli(UINT32 op)
{
-
}
static void ppc_tlbld(UINT32 op)
{
-
}
#endif
diff --git a/src/emu/cpu/powerpc/ppc_ops.c b/src/emu/cpu/powerpc/ppc_ops.c
index db42657ccde..dddf2379c40 100644
--- a/src/emu/cpu/powerpc/ppc_ops.c
+++ b/src/emu/cpu/powerpc/ppc_ops.c
@@ -429,32 +429,26 @@ static void ppc_crxor(UINT32 op)
#ifndef PPC_DRC
static void ppc_dcbf(UINT32 op)
{
-
}
static void ppc_dcbi(UINT32 op)
{
-
}
static void ppc_dcbst(UINT32 op)
{
-
}
static void ppc_dcbt(UINT32 op)
{
-
}
static void ppc_dcbtst(UINT32 op)
{
-
}
static void ppc_dcbz(UINT32 op)
{
-
}
#endif
@@ -512,7 +506,6 @@ static void ppc_divwux(UINT32 op)
#ifndef PPC_DRC
static void ppc_eieio(UINT32 op)
{
-
}
static void ppc_eqvx(UINT32 op)
@@ -544,12 +537,10 @@ static void ppc_extshx(UINT32 op)
static void ppc_icbi(UINT32 op)
{
-
}
static void ppc_isync(UINT32 op)
{
-
}
static void ppc_lbz(UINT32 op)
@@ -1506,7 +1497,6 @@ static void ppc_subfzex(UINT32 op)
#ifndef PPC_DRC
static void ppc_sync(UINT32 op)
{
-
}
#endif
diff --git a/src/emu/cpu/psx/psx.h b/src/emu/cpu/psx/psx.h
index 1eb5b0aa064..e8ad804578a 100644
--- a/src/emu/cpu/psx/psx.h
+++ b/src/emu/cpu/psx/psx.h
@@ -111,11 +111,9 @@ enum
psxcpu_device::getcpu( *owner, cputag )->subdevice<psxdma_device>("dma")->install_write_handler( channel, handler );
#define MCFG_PSX_GPU_READ_HANDLER(_devcb) \
- devcb = &psxcpu_device::set_gpu_read_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &psxcpu_device::set_gpu_read_handler(*device, DEVCB2_##_devcb);
#define MCFG_PSX_GPU_WRITE_HANDLER(_devcb) \
- devcb = &psxcpu_device::set_gpu_write_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &psxcpu_device::set_gpu_write_handler(*device, DEVCB2_##_devcb);
//**************************************************************************
// TYPE DEFINITIONS
diff --git a/src/emu/cpu/psx/rcnt.h b/src/emu/cpu/psx/rcnt.h
index c56b0c0c3b2..4730f4493f0 100644
--- a/src/emu/cpu/psx/rcnt.h
+++ b/src/emu/cpu/psx/rcnt.h
@@ -15,14 +15,11 @@
extern const device_type PSX_RCNT;
#define MCFG_PSX_RCNT_IRQ0_HANDLER(_devcb) \
- devcb = &psxrcnt_device::set_irq0_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &psxrcnt_device::set_irq0_handler(*device, DEVCB2_##_devcb);
#define MCFG_PSX_RCNT_IRQ1_HANDLER(_devcb) \
- devcb = &psxrcnt_device::set_irq1_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &psxrcnt_device::set_irq1_handler(*device, DEVCB2_##_devcb);
#define MCFG_PSX_RCNT_IRQ2_HANDLER(_devcb) \
- devcb = &psxrcnt_device::set_irq2_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &psxrcnt_device::set_irq2_handler(*device, DEVCB2_##_devcb);
#define PSX_RC_STOP ( 0x01 )
#define PSX_RC_RESET ( 0x04 ) /* guess */
#define PSX_RC_COUNTTARGET ( 0x08 )
diff --git a/src/emu/cpu/psx/sio.h b/src/emu/cpu/psx/sio.h
index fc1d45632a3..aaa61fb429b 100644
--- a/src/emu/cpu/psx/sio.h
+++ b/src/emu/cpu/psx/sio.h
@@ -17,8 +17,7 @@ extern const device_type PSX_SIO0;
extern const device_type PSX_SIO1;
#define MCFG_PSX_SIO_IRQ_HANDLER(_devcb) \
- devcb = &psxsio_device::set_irq_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &psxsio_device::set_irq_handler(*device, DEVCB2_##_devcb);
#define SIO_BUF_SIZE ( 8 )
#define SIO_STATUS_TX_RDY ( 1 << 0 )
diff --git a/src/emu/cpu/rsp/rsp.c b/src/emu/cpu/rsp/rsp.c
index f48faed8e76..8e22c6a55bd 100644
--- a/src/emu/cpu/rsp/rsp.c
+++ b/src/emu/cpu/rsp/rsp.c
@@ -1912,10 +1912,8 @@ static void handle_vector_ops(rsp_state *rsp, UINT32 op)
if (CARRY_FLAG(i) != 0)
{
-
if (ZERO_FLAG(i) != 0)
{
-
if (COMPARE_FLAG(i) != 0)
{
ACCUM_L(i) = -(UINT16)s2;
@@ -1927,10 +1925,8 @@ static void handle_vector_ops(rsp_state *rsp, UINT32 op)
}
else//ZERO_FLAG(i)==0
{
-
if (rsp->flag[2] & (1 << (i)))
{
-
if (((UINT32)(UINT16)(s1) + (UINT32)(UINT16)(s2)) > 0x10000)
{//proper fix for Harvest Moon 64, r4
@@ -1939,7 +1935,6 @@ static void handle_vector_ops(rsp_state *rsp, UINT32 op)
}
else
{
-
ACCUM_L(i) = -((UINT16)s2);
SET_COMPARE_FLAG(i);
}
@@ -1961,10 +1956,8 @@ static void handle_vector_ops(rsp_state *rsp, UINT32 op)
}//
else//CARRY_FLAG(i)==0
{
-
if (ZERO_FLAG(i) != 0)
{
-
if (rsp->flag[1] & (1 << (8+i)))
{
ACCUM_L(i) = s2;
diff --git a/src/emu/cpu/rsp/rspdrc.c b/src/emu/cpu/rsp/rspdrc.c
index f1e83aec193..43ac9758561 100644
--- a/src/emu/cpu/rsp/rspdrc.c
+++ b/src/emu/cpu/rsp/rspdrc.c
@@ -2659,10 +2659,8 @@ INLINE void cfunc_rsp_vcl(void *param)
if (CARRY_FLAG(i) != 0)
{
-
if (ZERO_FLAG(i) != 0)
{
-
if (COMPARE_FLAG(i) != 0)
{
ACCUM_L(i) = -(UINT16)s2;
@@ -2674,10 +2672,8 @@ INLINE void cfunc_rsp_vcl(void *param)
}
else//ZERO_FLAG(i)==0
{
-
if (rsp->flag[2] & (1 << (i)))
{
-
if (((UINT32)(UINT16)(s1) + (UINT32)(UINT16)(s2)) > 0x10000)
{//proper fix for Harvest Moon 64, r4
@@ -2686,7 +2682,6 @@ INLINE void cfunc_rsp_vcl(void *param)
}
else
{
-
ACCUM_L(i) = -((UINT16)s2);
SET_COMPARE_FLAG(i);
}
@@ -2708,10 +2703,8 @@ INLINE void cfunc_rsp_vcl(void *param)
}//
else//CARRY_FLAG(i)==0
{
-
if (ZERO_FLAG(i) != 0)
{
-
if (rsp->flag[1] & (1 << (8+i)))
{
ACCUM_L(i) = s2;
diff --git a/src/emu/cpu/s2650/2650dasm.c b/src/emu/cpu/s2650/2650dasm.c
index cd6d2dac053..6dedfe09acc 100644
--- a/src/emu/cpu/s2650/2650dasm.c
+++ b/src/emu/cpu/s2650/2650dasm.c
@@ -109,11 +109,9 @@ static char *IMM_PSU(int pc)
int v = readarg(pc);
if (v == 0xff) {
-
p += sprintf(p, "all");
} else {
-
if (v & 0x80) /* sense input */
p += sprintf(p, "si+");
if (v & 0x40) /* flag output */
diff --git a/src/emu/cpu/sc61860/sc61860.c b/src/emu/cpu/sc61860/sc61860.c
index 06640835a42..b15f4498f37 100644
--- a/src/emu/cpu/sc61860/sc61860.c
+++ b/src/emu/cpu/sc61860/sc61860.c
@@ -150,7 +150,6 @@ static CPU_SET_INFO( sc61860 )
sc61860_state *cpustate = get_safe_token(device);
switch (state)
{
-
case CPUINFO_INT_PC:
case CPUINFO_INT_REGISTER + SC61860_PC: cpustate->pc = info->i; break;
case CPUINFO_INT_SP:
diff --git a/src/emu/cpu/se3208/se3208.c b/src/emu/cpu/se3208/se3208.c
index 9f32390ff03..6f8854618e9 100644
--- a/src/emu/cpu/se3208/se3208.c
+++ b/src/emu/cpu/se3208/se3208.c
@@ -1635,7 +1635,6 @@ static _OP DecodeOp(UINT16 Opcode)
{
if(Opcode&(1<<8))
{
-
}
else
{
diff --git a/src/emu/cpu/se3208/se3208dis.c b/src/emu/cpu/se3208/se3208dis.c
index 38f3e2adb7c..de90bd87f04 100644
--- a/src/emu/cpu/se3208/se3208dis.c
+++ b/src/emu/cpu/se3208/se3208dis.c
@@ -1335,7 +1335,6 @@ static _OP DecodeOp(UINT16 Opcode)
{
if(Opcode&(1<<8))
{
-
}
else
{
diff --git a/src/emu/cpu/sh2/sh2.c b/src/emu/cpu/sh2/sh2.c
index 5d934e94d6b..bbebb2a40a3 100644
--- a/src/emu/cpu/sh2/sh2.c
+++ b/src/emu/cpu/sh2/sh2.c
@@ -169,7 +169,6 @@ INLINE UINT32 RL(sh2_state *sh2, offs_t A)
INLINE void WB(sh2_state *sh2, offs_t A, UINT8 V)
{
-
if (A >= 0xe0000000)
{
sh2_internal_w(sh2->internal, (A & 0x1fc)>>2, V << (((~A) & 3)*8), 0xff << (((~A) & 3)*8));
diff --git a/src/emu/cpu/sh2/sh2comn.c b/src/emu/cpu/sh2/sh2comn.c
index 32afcf45de6..890d5bfe512 100644
--- a/src/emu/cpu/sh2/sh2comn.c
+++ b/src/emu/cpu/sh2/sh2comn.c
@@ -191,8 +191,6 @@ void sh2_do_dma(sh2_state *sh2, int dma)
if (sh2->active_dma_count[dma] > 0)
{
-
-
// process current DMA
switch(sh2->active_dma_size[dma])
{
@@ -432,7 +430,6 @@ static void sh2_dmac_check(sh2_state *sh2, int dma)
{
if(!sh2->dma_timer_active[dma] && !(sh2->m[0x63+4*dma] & 2))
{
-
sh2->active_dma_incd[dma] = (sh2->m[0x63+4*dma] >> 14) & 3;
sh2->active_dma_incs[dma] = (sh2->m[0x63+4*dma] >> 12) & 3;
sh2->active_dma_size[dma] = (sh2->m[0x63+4*dma] >> 10) & 3;
diff --git a/src/emu/cpu/sh4/sh3comn.c b/src/emu/cpu/sh4/sh3comn.c
index 000bd4f4a13..ccc06959fc6 100644
--- a/src/emu/cpu/sh4/sh3comn.c
+++ b/src/emu/cpu/sh4/sh3comn.c
@@ -17,7 +17,6 @@ WRITE32_HANDLER( sh3_internal_high_w )
switch (offset)
{
-
case SH3_ICR0_IPRA_ADDR:
if (mem_mask & 0xffff0000)
{
@@ -81,7 +80,6 @@ READ32_HANDLER( sh3_internal_high_r )
switch (offset)
{
-
case SH3_ICR0_IPRA_ADDR:
logerror("'%s' (%08x): INTC internal read from %08x mask %08x (SH3_ICR0_IPRA_ADDR - %08x)\n",sh4->device->tag(), sh4->pc & AM,(offset *4)+SH3_UPPER_REGBASE,mem_mask, sh4->m_sh3internal_upper[offset]);
return (sh4->m_sh3internal_upper[offset] & 0xffff0000) | (sh4->SH4_IPRA & 0xffff);
@@ -144,10 +142,8 @@ READ32_HANDLER( sh3_internal_r )
if (offset<0x1000)
{
-
switch (offset)
{
-
case SH3_SAR0_ADDR: return sh4_handle_sar0_addr_r(sh4,mem_mask);
case SH3_SAR1_ADDR: return sh4_handle_sar1_addr_r(sh4,mem_mask);
case SH3_SAR2_ADDR: return sh4_handle_sar2_addr_r(sh4,mem_mask);
@@ -371,7 +367,6 @@ READ32_HANDLER( sh3_internal_r )
}
else
{
-
logerror("'%s' (%08x): unmapped internal read from %08x mask %08x\n",
sh4->device->tag(), sh4->pc & AM,
(offset *4)+0x4000000,
@@ -396,7 +391,6 @@ WRITE32_HANDLER( sh3_internal_w )
switch (offset)
{
-
case SH3_SAR0_ADDR: sh4_handle_sar0_addr_w(sh4,data,mem_mask); break;
case SH3_SAR1_ADDR: sh4_handle_sar1_addr_w(sh4,data,mem_mask); break;
case SH3_SAR2_ADDR: sh4_handle_sar2_addr_w(sh4,data,mem_mask); break;
@@ -443,7 +437,6 @@ WRITE32_HANDLER( sh3_internal_w )
case PINTER_IPRC:
{
-
if (mem_mask & 0xffff0000)
{
logerror("'%s' (%08x): unmapped internal write to %08x = %08x & %08x (PINTER)\n",sh4->device->tag(), sh4->pc & AM,(offset *4)+0x4000000,data,mem_mask);
diff --git a/src/emu/cpu/sh4/sh4comn.c b/src/emu/cpu/sh4/sh4comn.c
index b92b6acb4c4..27570afd351 100644
--- a/src/emu/cpu/sh4/sh4comn.c
+++ b/src/emu/cpu/sh4/sh4comn.c
@@ -415,7 +415,6 @@ void sh4_exception(sh4_state *sh4, const char *message, int exception) // handle
}
else
{
-
if (sh4->sr & BL)
return;
if (((sh4->exception_priority[exception] >> 8) & 255) <= ((sh4->sr >> 4) & 15))
@@ -1009,7 +1008,6 @@ void sh4_set_frt_input(device_t *device, int state)
if (sh4->cpu_type == CPU_TYPE_SH4)
{
-
if(sh4->m[5] & 0x8000) {
if(state == CLEAR_LINE) {
return;
diff --git a/src/emu/cpu/sharc/sharc.c b/src/emu/cpu/sharc/sharc.c
index 8e3b0ff0bce..3632ab433fb 100644
--- a/src/emu/cpu/sharc/sharc.c
+++ b/src/emu/cpu/sharc/sharc.c
@@ -403,7 +403,6 @@ void sharc_external_dma_write(device_t *device, UINT32 address, UINT64 data)
if (shift == 2)
{
-
cpustate->dma[6].int_index += cpustate->dma[6].int_modifier;
}
break;
diff --git a/src/emu/cpu/sharc/sharcops.c b/src/emu/cpu/sharc/sharcops.c
index 14e7a56ffd8..95d49abcc73 100644
--- a/src/emu/cpu/sharc/sharcops.c
+++ b/src/emu/cpu/sharc/sharcops.c
@@ -2729,7 +2729,6 @@ static void sharcop_push_pop_stacks(SHARC_REGS *cpustate)
static void sharcop_nop(SHARC_REGS *cpustate)
{
-
}
/*****************************************************************************/
diff --git a/src/emu/cpu/tms32031/tms32031.h b/src/emu/cpu/tms32031/tms32031.h
index e18e90878a9..bbc4e070c62 100644
--- a/src/emu/cpu/tms32031/tms32031.h
+++ b/src/emu/cpu/tms32031/tms32031.h
@@ -120,8 +120,7 @@ enum
//**************************************************************************
#define MCFG_TMS3203X_CONFIG(_config) \
- tms3203x_device::static_set_config(*device, _config); \
-
+ tms3203x_device::static_set_config(*device, _config);
//**************************************************************************
diff --git a/src/emu/cpu/tms34010/34010ops.h b/src/emu/cpu/tms34010/34010ops.h
index 484d601444e..f7a32c320e0 100644
--- a/src/emu/cpu/tms34010/34010ops.h
+++ b/src/emu/cpu/tms34010/34010ops.h
@@ -68,8 +68,7 @@ INLINE void TMS34010_WRMEM_DWORD(tms34010_state *tms, offs_t A,UINT32 V)
{ \
old = (UINT32)TMS34010_RDMEM_WORD(T, offset) & ~((MASK) << shift); \
TMS34010_WRMEM_WORD(T, offset, ((masked_data & (MASK)) << shift) | old); \
- } \
-
+ }
#define WFIELDMAC_BIG(T,MASK,MAX) \
UINT32 shift = offset & 0x0f; \
UINT32 masked_data = data & (MASK); \
@@ -84,24 +83,21 @@ INLINE void TMS34010_WRMEM_DWORD(tms34010_state *tms, offs_t A,UINT32 V)
shift = 32 - shift; \
old = (UINT32)TMS34010_RDMEM_WORD(T, offset + 4) & ~((MASK) >> shift); \
TMS34010_WRMEM_WORD(T, offset, (masked_data >> shift) | old); \
- } \
-
+ }
#define WFIELDMAC_8(T) \
if (offset & 0x07) \
{ \
WFIELDMAC(T,0xff,9); \
} \
else \
- TMS34010_WRMEM(T, TOBYTE(offset), data); \
-
+ TMS34010_WRMEM(T, TOBYTE(offset), data);
#define RFIELDMAC_8(T) \
if (offset & 0x07) \
{ \
RFIELDMAC(T,0xff,9); \
} \
else \
- return TMS34010_RDMEM(T, TOBYTE(offset)); \
-
+ return TMS34010_RDMEM(T, TOBYTE(offset));
#define WFIELDMAC_32(T) \
if (offset & 0x0f) \
{ \
@@ -115,8 +111,7 @@ INLINE void TMS34010_WRMEM_DWORD(tms34010_state *tms, offs_t A,UINT32 V)
TMS34010_WRMEM_DWORD(T, TOBYTE(offset+0x20),(data>>(0x20-shift))|hiword); \
} \
else \
- TMS34010_WRMEM_DWORD(T, TOBYTE(offset),data); \
-
+ TMS34010_WRMEM_DWORD(T, TOBYTE(offset),data);
/***************************************************************************
@@ -130,8 +125,7 @@ INLINE void TMS34010_WRMEM_DWORD(tms34010_state *tms, offs_t A,UINT32 V)
if (shift >= MAX) \
ret = (TMS34010_RDMEM_DWORD(T, offset) >> shift) & (MASK); \
else \
- ret = (TMS34010_RDMEM_WORD(T, offset) >> shift) & (MASK); \
-
+ ret = (TMS34010_RDMEM_WORD(T, offset) >> shift) & (MASK);
#define RFIELDMAC_BIG(T,MASK,MAX) \
UINT32 shift = offset & 0x0f; \
offset = TOBYTE(offset & 0xfffffff0); \
@@ -139,8 +133,7 @@ INLINE void TMS34010_WRMEM_DWORD(tms34010_state *tms, offs_t A,UINT32 V)
ret = (UINT32)TMS34010_RDMEM_DWORD(T, offset) >> shift; \
if (shift >= MAX) \
ret |= (TMS34010_RDMEM_WORD(T, offset + 4) << (32 - shift)); \
- ret &= MASK; \
-
+ ret &= MASK;
#define RFIELDMAC_32(T) \
if (offset&0x0f) \
{ \
@@ -150,8 +143,7 @@ INLINE void TMS34010_WRMEM_DWORD(tms34010_state *tms, offs_t A,UINT32 V)
(TMS34010_RDMEM_DWORD (T, TOBYTE(offset+0x20))<<(0x20-shift)));\
} \
else \
- return TMS34010_RDMEM_DWORD(T, TOBYTE(offset)); \
-
+ return TMS34010_RDMEM_DWORD(T, TOBYTE(offset));
#endif /* __34010OPS_H__ */
diff --git a/src/emu/cpu/tms34010/tms34010.c b/src/emu/cpu/tms34010/tms34010.c
index ac086c578c8..d47afa30362 100644
--- a/src/emu/cpu/tms34010/tms34010.c
+++ b/src/emu/cpu/tms34010/tms34010.c
@@ -337,8 +337,7 @@ static UINT32 read_pixel_shiftreg(tms34010_state *tms, offs_t offset)
/* TODO: plane masking */ \
data &= m2; \
pix = (pix & ~(m2 << shiftcount)) | (data << shiftcount); \
- TMS34010_WRMEM_WORD(T, a, pix); \
-
+ TMS34010_WRMEM_WORD(T, a, pix);
/* No Raster Op + Transparency */
#define WP_T(T,m1,m2) \
/* TODO: plane masking */ \
@@ -352,8 +351,7 @@ static UINT32 read_pixel_shiftreg(tms34010_state *tms, offs_t offset)
/* TODO: plane masking */ \
pix = (pix & ~(m2 << shiftcount)) | (data << shiftcount); \
TMS34010_WRMEM_WORD(T, a, pix); \
- } \
-
+ }
/* Raster Op + No Transparency */
#define WP_R(T,m1,m2) \
UINT32 a = TOBYTE(offset & 0xfffffff0); \
@@ -363,8 +361,7 @@ static UINT32 read_pixel_shiftreg(tms34010_state *tms, offs_t offset)
/* TODO: plane masking */ \
data = (*(T)->raster_op)(tms, data & m2, (pix >> shiftcount) & m2) & m2; \
pix = (pix & ~(m2 << shiftcount)) | (data << shiftcount); \
- TMS34010_WRMEM_WORD(T, a, pix); \
-
+ TMS34010_WRMEM_WORD(T, a, pix);
/* Raster Op + Transparency */
#define WP_R_T(T,m1,m2) \
UINT32 a = TOBYTE(offset & 0xfffffff0); \
@@ -377,8 +374,7 @@ static UINT32 read_pixel_shiftreg(tms34010_state *tms, offs_t offset)
{ \
pix = (pix & ~(m2 << shiftcount)) | (data << shiftcount); \
TMS34010_WRMEM_WORD(T, a, pix); \
- } \
-
+ }
/* No Raster Op + No Transparency */
static void write_pixel_1(tms34010_state *tms, offs_t offset, UINT32 data) { WP(tms, 0x0f, 0x01); }
diff --git a/src/emu/cpu/tms7000/tms7000.c b/src/emu/cpu/tms7000/tms7000.c
index cc9c30a602f..59a8090c779 100644
--- a/src/emu/cpu/tms7000/tms7000.c
+++ b/src/emu/cpu/tms7000/tms7000.c
@@ -496,7 +496,6 @@ static CPU_EXECUTE( tms7000_exl )
if( cpustate->idle_state == 0 )
{
-
op = cpustate->direct->read_decrypted_byte(pPC++);
opfn_exl[op](cpustate);
diff --git a/src/emu/cpu/upd7725/upd7725.c b/src/emu/cpu/upd7725/upd7725.c
index a5f9d4ca923..60708de5ba0 100755
--- a/src/emu/cpu/upd7725/upd7725.c
+++ b/src/emu/cpu/upd7725/upd7725.c
@@ -583,7 +583,6 @@ void necdsp_device::exec_ld(UINT32 opcode) {
}
UINT8 necdsp_device::snesdsp_read(bool mode) {
-
if (!mode)
{
return regs.sr >> 8;
diff --git a/src/emu/cpu/upd7810/upd7810.c b/src/emu/cpu/upd7810/upd7810.c
index 014e62fba9f..75ef948f5c0 100644
--- a/src/emu/cpu/upd7810/upd7810.c
+++ b/src/emu/cpu/upd7810/upd7810.c
@@ -658,8 +658,7 @@ struct opcode_s {
if ((after & 15) < (before & 15)) \
PSW |= HC; \
else \
- PSW &= ~HC; \
-
+ PSW &= ~HC;
#define ZHC_SUB(after,before,carry) \
if (after == 0) PSW |= Z; else PSW &= ~Z; \
if (before == after) \
@@ -671,8 +670,7 @@ struct opcode_s {
if ((after & 15) > (before & 15)) \
PSW |= HC; \
else \
- PSW &= ~HC; \
-
+ PSW &= ~HC;
#define SKIP_CY if (CY == (PSW & CY)) PSW |= SK
#define SKIP_NC if (0 == (PSW & CY)) PSW |= SK
#define SKIP_Z if (Z == (PSW & Z)) PSW |= SK
diff --git a/src/emu/cpu/x86emit.h b/src/emu/cpu/x86emit.h
index 5ca12233d26..0034f33beaf 100644
--- a/src/emu/cpu/x86emit.h
+++ b/src/emu/cpu/x86emit.h
@@ -102,7 +102,6 @@ namespace x86emit
namespace x64emit
#endif
{
-
//**************************************************************************
// CONSTANTS
//**************************************************************************
diff --git a/src/emu/cpu/z180/z180ops.h b/src/emu/cpu/z180/z180ops.h
index ff9f476a2e3..2480b1d92cf 100644
--- a/src/emu/cpu/z180/z180ops.h
+++ b/src/emu/cpu/z180/z180ops.h
@@ -194,8 +194,7 @@ INLINE UINT32 ARG16(z180_state *cpustate)
cpustate->_PC += arg; /* so don't do cpustate->_PC += ARG(cpustate) */ \
CC(ex,opcode); \
} \
- else cpustate->_PC++; \
-
+ else cpustate->_PC++;
/***************************************************************
* CALL
***************************************************************/
diff --git a/src/emu/debugint/debugint.c b/src/emu/debugint/debugint.c
index 652e991c2f8..0a7e7a1d5cf 100644
--- a/src/emu/debugint/debugint.c
+++ b/src/emu/debugint/debugint.c
@@ -628,7 +628,6 @@ static int dview_on_mouse(DView *dv, int mx, int my, int button)
INLINE void map_attr_to_fg_bg(unsigned char attr, rgb_t *fg, rgb_t *bg)
{
-
*bg = MAKE_ARGB(0xff,0xff,0xff,0xff);
*fg = MAKE_ARGB(0xff,0x00,0x00,0x00);
@@ -1413,7 +1412,6 @@ static void update_views(void)
void debugint_wait_for_debugger(device_t &device, bool firststop)
{
-
if (firststop && list == NULL)
{
DView *dv;
diff --git a/src/emu/device.h b/src/emu/device.h
index 51132968ef9..d4cd2a9e1f3 100644
--- a/src/emu/device.h
+++ b/src/emu/device.h
@@ -63,17 +63,13 @@
// configure devices
#define MCFG_DEVICE_CONFIG(_config) \
- device_t::static_set_static_config(*device, &(_config)); \
-
+ device_t::static_set_static_config(*device, &(_config));
#define MCFG_DEVICE_CONFIG_CLEAR() \
- device_t::static_set_static_config(*device, NULL); \
-
+ device_t::static_set_static_config(*device, NULL);
#define MCFG_DEVICE_CLOCK(_clock) \
- device_t::static_set_clock(*device, _clock); \
-
+ device_t::static_set_clock(*device, _clock);
#define MCFG_DEVICE_INPUT_DEFAULTS(_config) \
- device_t::static_set_input_default(*device, DEVICE_INPUT_DEFAULTS_NAME(_config)); \
-
+ device_t::static_set_input_default(*device, DEVICE_INPUT_DEFAULTS_NAME(_config));
// macros for defining read_line/write_line functions
#define READ_LINE_DEVICE_HANDLER(name) int name(ATTR_UNUSED device_t *device)
diff --git a/src/emu/diexec.h b/src/emu/diexec.h
index 5ba27962c02..8f59af7270f 100644
--- a/src/emu/diexec.h
+++ b/src/emu/diexec.h
@@ -113,26 +113,19 @@ enum
//**************************************************************************
#define MCFG_DEVICE_DISABLE() \
- device_execute_interface::static_set_disable(*device); \
-
+ device_execute_interface::static_set_disable(*device);
#define MCFG_DEVICE_VBLANK_INT(_tag, _func) \
- device_execute_interface::static_set_vblank_int(*device, _func, _tag); \
-
+ device_execute_interface::static_set_vblank_int(*device, _func, _tag);
#define MCFG_DEVICE_VBLANK_INT_DRIVER(_tag, _class, _func) \
- device_execute_interface::static_set_vblank_int(*device, device_interrupt_delegate(&_class::_func, #_class "::" #_func, DEVICE_SELF_OWNER, (_class *)0), _tag); \
-
+ device_execute_interface::static_set_vblank_int(*device, device_interrupt_delegate(&_class::_func, #_class "::" #_func, DEVICE_SELF_OWNER, (_class *)0), _tag);
#define MCFG_DEVICE_VBLANK_INT_DEVICE(_devtag, _tag, _class, _func) \
- device_execute_interface::static_set_vblank_int(*device, device_interrupt_delegate(&_class::_func, #_class "::" #_func, _devtag, (_class *)0), _tag); \
-
+ device_execute_interface::static_set_vblank_int(*device, device_interrupt_delegate(&_class::_func, #_class "::" #_func, _devtag, (_class *)0), _tag);
#define MCFG_DEVICE_PERIODIC_INT(_func, _rate) \
- device_execute_interface::static_set_periodic_int(*device, _func, attotime::from_hz(_rate)); \
-
+ device_execute_interface::static_set_periodic_int(*device, _func, attotime::from_hz(_rate));
#define MCFG_DEVICE_PERIODIC_INT_DRIVER(_class, _func, _rate) \
- device_execute_interface::static_set_periodic_int(*device, device_interrupt_delegate(&_class::_func, #_class "::" #_func, DEVICE_SELF_OWNER, (_class *)0), attotime::from_hz(_rate)); \
-
+ device_execute_interface::static_set_periodic_int(*device, device_interrupt_delegate(&_class::_func, #_class "::" #_func, DEVICE_SELF_OWNER, (_class *)0), attotime::from_hz(_rate));
#define MCFG_DEVICE_PERIODIC_INT_DEVICE(_devtag, _class, _func, _rate) \
- device_execute_interface::static_set_periodic_int(*device, device_interrupt_delegate(&_class::_func, #_class "::" #_func, _devtag, (_class *)0), attotime::from_hz(_rate)); \
-
+ device_execute_interface::static_set_periodic_int(*device, device_interrupt_delegate(&_class::_func, #_class "::" #_func, _devtag, (_class *)0), attotime::from_hz(_rate));
//**************************************************************************
diff --git a/src/emu/diserial.c b/src/emu/diserial.c
index 14b90b6cea4..fb0d0c84d21 100644
--- a/src/emu/diserial.c
+++ b/src/emu/diserial.c
@@ -386,7 +386,6 @@ static UINT8 serial_connection_spin_bits(UINT8 input_status)
void device_serial_interface::serial_connection_out()
{
-
if (m_other_connection!=NULL)
{
UINT8 state_at_other_end = serial_connection_spin_bits(m_connection_state);
diff --git a/src/emu/dislot.h b/src/emu/dislot.h
index aef6e4a8229..c1c1de0a08e 100644
--- a/src/emu/dislot.h
+++ b/src/emu/dislot.h
@@ -31,14 +31,11 @@ struct slot_interface
#define SLOT_INTERFACE_START(name) \
const slot_interface slot_interface_##name[] = \
- { \
-
+ {
#define SLOT_INTERFACE(tag,device) \
- { tag, device, false }, \
-
+ { tag, device, false },
#define SLOT_INTERFACE_INTERNAL(tag,device) \
- { tag, device, true }, \
-
+ { tag, device, true },
#define SLOT_INTERFACE_END \
{ NULL, NULL, false } \
};
diff --git a/src/emu/disound.h b/src/emu/disound.h
index a9bd58944e5..4a62a12d362 100644
--- a/src/emu/disound.h
+++ b/src/emu/disound.h
@@ -61,8 +61,7 @@ const int AUTO_ALLOC_INPUT = 65535;
//**************************************************************************
#define MCFG_SOUND_ADD(_tag, _type, _clock) \
- MCFG_DEVICE_ADD(_tag, _type, _clock) \
-
+ MCFG_DEVICE_ADD(_tag, _type, _clock)
#define MCFG_SOUND_MODIFY(_tag) \
MCFG_DEVICE_MODIFY(_tag)
@@ -76,18 +75,14 @@ const int AUTO_ALLOC_INPUT = 65535;
MCFG_DEVICE_CONFIG(_config)
#define MCFG_SOUND_ROUTE(_output, _target, _gain) \
- device_sound_interface::static_add_route(*device, _output, _target, _gain); \
-
+ device_sound_interface::static_add_route(*device, _output, _target, _gain);
#define MCFG_SOUND_ROUTE_EX(_output, _target, _gain, _input) \
- device_sound_interface::static_add_route(*device, _output, _target, _gain, _input); \
-
+ device_sound_interface::static_add_route(*device, _output, _target, _gain, _input);
#define MCFG_SOUND_ROUTES_RESET() \
- device_sound_interface::static_reset_routes(*device); \
-
+ device_sound_interface::static_reset_routes(*device);
#define MCFG_MIXER_ROUTE(_output, _target, _gain, _mixoutput) \
- device_sound_interface::static_add_route(*device, _output, _target, _gain, AUTO_ALLOC_INPUT, _mixoutput); \
-
+ device_sound_interface::static_add_route(*device, _output, _target, _gain, AUTO_ALLOC_INPUT, _mixoutput);
//**************************************************************************
diff --git a/src/emu/drawgfxm.h b/src/emu/drawgfxm.h
index 05d67fe2e3a..f5880783e12 100644
--- a/src/emu/drawgfxm.h
+++ b/src/emu/drawgfxm.h
@@ -82,8 +82,7 @@ do
{ \
(DEST) = SOURCE; \
} \
-while (0) \
-
+while (0)
/*-------------------------------------------------
PIXEL_OP_COPY_TRANSPEN - render all pixels
@@ -98,8 +97,7 @@ do
if (srcdata != transpen) \
(DEST) = SOURCE; \
} \
-while (0) \
-
+while (0)
/*-------------------------------------------------
PIXEL_OP_REMAP_OPAQUE - render all pixels
@@ -112,8 +110,7 @@ do
{ \
(DEST) = paldata[SOURCE]; \
} \
-while (0) \
-
+while (0)
#define PIXEL_OP_REMAP_OPAQUE_PRIORITY(DEST, PRIORITY, SOURCE) \
do \
{ \
@@ -121,8 +118,7 @@ do
(DEST) = paldata[SOURCE]; \
(PRIORITY) = 31; \
} \
-while (0) \
-
+while (0)
/*-------------------------------------------------
PIXEL_OP_REMAP_TRANSPEN - render all pixels
@@ -137,8 +133,7 @@ do
if (srcdata != transpen) \
(DEST) = paldata[srcdata]; \
} \
-while (0) \
-
+while (0)
#define PIXEL_OP_REMAP_TRANSPEN_PRIORITY(DEST, PRIORITY, SOURCE) \
do \
{ \
@@ -150,8 +145,7 @@ do
(PRIORITY) = 31; \
} \
} \
-while (0) \
-
+while (0)
/*-------------------------------------------------
PIXEL_OP_REBASE_TRANSPEN - render all pixels
@@ -166,8 +160,7 @@ do
if (srcdata != transpen) \
(DEST) = color + srcdata; \
} \
-while (0) \
-
+while (0)
#define PIXEL_OP_REBASE_TRANSPEN_PRIORITY(DEST, PRIORITY, SOURCE) \
do \
{ \
@@ -179,8 +172,7 @@ do
(PRIORITY) = 31; \
} \
} \
-while (0) \
-
+while (0)
/*-------------------------------------------------
PIXEL_OP_REMAP_TRANSMASK - render all pixels
@@ -195,8 +187,7 @@ do
if (((transmask >> srcdata) & 1) == 0) \
(DEST) = paldata[srcdata]; \
} \
-while (0) \
-
+while (0)
#define PIXEL_OP_REMAP_TRANSMASK_PRIORITY(DEST, PRIORITY, SOURCE) \
do \
{ \
@@ -208,8 +199,7 @@ do
(PRIORITY) = 31; \
} \
} \
-while (0) \
-
+while (0)
/*-------------------------------------------------
PIXEL_OP_REMAP_TRANSTABLE - look up each pen in
@@ -233,8 +223,7 @@ do
(DEST) = shadowtable[DEST]; \
} \
} \
-while (0) \
-
+while (0)
#define PIXEL_OP_REMAP_TRANSTABLE32(DEST, PRIORITY, SOURCE) \
do \
{ \
@@ -248,8 +237,7 @@ do
(DEST) = shadowtable[rgb_to_rgb15(DEST)]; \
} \
} \
-while (0) \
-
+while (0)
#define PIXEL_OP_REMAP_TRANSTABLE16_PRIORITY(DEST, PRIORITY, SOURCE) \
do \
{ \
@@ -271,8 +259,7 @@ do
} \
} \
} \
-while (0) \
-
+while (0)
#define PIXEL_OP_REMAP_TRANSTABLE32_PRIORITY(DEST, PRIORITY, SOURCE) \
do \
{ \
@@ -294,8 +281,7 @@ do
} \
} \
} \
-while (0) \
-
+while (0)
/*-------------------------------------------------
PIXEL_OP_REMAP_TRANSPEN_ALPHA - render all
@@ -312,8 +298,7 @@ do
if (srcdata != transpen) \
(DEST) = alpha_blend_r32((DEST), paldata[srcdata], alpha); \
} \
-while (0) \
-
+while (0)
#define PIXEL_OP_REMAP_TRANSPEN_ALPHA32_PRIORITY(DEST, PRIORITY, SOURCE) \
do \
{ \
@@ -325,8 +310,7 @@ do
(PRIORITY) = 31; \
} \
} \
-while (0) \
-
+while (0)
/***************************************************************************
diff --git a/src/emu/driver.h b/src/emu/driver.h
index 001f363d3db..e3ad1f0dd2d 100644
--- a/src/emu/driver.h
+++ b/src/emu/driver.h
@@ -53,48 +53,41 @@
// core machine callbacks
#define MCFG_MACHINE_START(_func) \
- driver_device::static_set_callback(*owner, driver_device::CB_MACHINE_START, MACHINE_START_NAME(_func)); \
-
+ driver_device::static_set_callback(*owner, driver_device::CB_MACHINE_START, MACHINE_START_NAME(_func));
#define MCFG_MACHINE_START_OVERRIDE(_class, _func) \
driver_device::static_set_callback(*owner, driver_device::CB_MACHINE_START, driver_callback_delegate(&_class::MACHINE_START_NAME(_func), #_class "::machine_start_" #_func, downcast<_class *>(&config.root_device())));
#define MCFG_MACHINE_RESET(_func) \
- driver_device::static_set_callback(*owner, driver_device::CB_MACHINE_RESET, MACHINE_RESET_NAME(_func)); \
-
+ driver_device::static_set_callback(*owner, driver_device::CB_MACHINE_RESET, MACHINE_RESET_NAME(_func));
#define MCFG_MACHINE_RESET_OVERRIDE(_class, _func) \
driver_device::static_set_callback(*owner, driver_device::CB_MACHINE_RESET, driver_callback_delegate(&_class::MACHINE_RESET_NAME(_func), #_class "::machine_reset_" #_func, downcast<_class *>(&config.root_device())));
// core sound callbacks
#define MCFG_SOUND_START(_func) \
- driver_device::static_set_callback(*owner, driver_device::CB_SOUND_START, SOUND_START_NAME(_func)); \
-
+ driver_device::static_set_callback(*owner, driver_device::CB_SOUND_START, SOUND_START_NAME(_func));
#define MCFG_SOUND_START_OVERRIDE(_class, _func) \
driver_device::static_set_callback(*owner, driver_device::CB_SOUND_START, driver_callback_delegate(&_class::_func, #_class "::" #_func, downcast<_class *>(&config.root_device())));
#define MCFG_SOUND_RESET(_func) \
- driver_device::static_set_callback(*owner, driver_device::CB_SOUND_RESET, SOUND_RESET_NAME(_func)); \
-
+ driver_device::static_set_callback(*owner, driver_device::CB_SOUND_RESET, SOUND_RESET_NAME(_func));
#define MCFG_SOUND_RESET_OVERRIDE(_class, _func) \
driver_device::static_set_callback(*owner, driver_device::CB_SOUND_RESET, driver_callback_delegate(&_class::_func, #_class "::" #_func, downcast<_class *>(&config.root_device())));
// core video callbacks
#define MCFG_PALETTE_INIT(_func) \
- driver_device::static_set_callback(*owner, driver_device::CB_PALETTE_INIT, PALETTE_INIT_NAME(_func)); \
-
+ driver_device::static_set_callback(*owner, driver_device::CB_PALETTE_INIT, PALETTE_INIT_NAME(_func));
#define MCFG_PALETTE_INIT_OVERRIDE(_class, _func) \
driver_device::static_set_callback(*owner, driver_device::CB_PALETTE_INIT, driver_callback_delegate(&_class::PALETTE_INIT_NAME(_func), #_class "::palette_init_" #_func, downcast<_class *>(&config.root_device())));
#define MCFG_VIDEO_START(_func) \
- driver_device::static_set_callback(*owner, driver_device::CB_VIDEO_START, VIDEO_START_NAME(_func)); \
-
+ driver_device::static_set_callback(*owner, driver_device::CB_VIDEO_START, VIDEO_START_NAME(_func));
#define MCFG_VIDEO_START_OVERRIDE(_class, _func) \
driver_device::static_set_callback(*owner, driver_device::CB_VIDEO_START, driver_callback_delegate(&_class::VIDEO_START_NAME(_func), #_class "::video_start_" #_func, downcast<_class *>(&config.root_device())));
#define MCFG_VIDEO_RESET(_func) \
- driver_device::static_set_callback(*owner, driver_device::CB_VIDEO_RESET, VIDEO_RESET_NAME(_func)); \
-
+ driver_device::static_set_callback(*owner, driver_device::CB_VIDEO_RESET, VIDEO_RESET_NAME(_func));
#define MCFG_VIDEO_RESET_OVERRIDE(_class, _func) \
driver_device::static_set_callback(*owner, driver_device::CB_VIDEO_RESET, driver_callback_delegate(&_class::VIDEO_RESET_NAME(_func), #_class "::video_reset_" #_func, downcast<_class *>(&config.root_device())));
diff --git a/src/emu/emucore.h b/src/emu/emucore.h
index 69ad52a8c23..90f2e815634 100644
--- a/src/emu/emucore.h
+++ b/src/emu/emucore.h
@@ -187,8 +187,7 @@ const endianness_t ENDIANNESS_NATIVE = ENDIANNESS_BIG;
#define DISABLE_COPYING(_Type) \
private: \
_Type(const _Type &); \
- _Type &operator=(const _Type &) \
-
+ _Type &operator=(const _Type &)
// macro for declaring enumerator operators that increment/decrement like plain old C
#define DECLARE_ENUM_OPERATORS(_Type) \
diff --git a/src/emu/emuopts.c b/src/emu/emuopts.c
index 0f1eb1a708b..b4cb4522071 100644
--- a/src/emu/emuopts.c
+++ b/src/emu/emuopts.c
@@ -249,7 +249,6 @@ bool emu_options::add_slot_options(bool isfirst)
// retrieve info about the device instance
if (!exists(slot->device().tag() + 1)) {
-
// add the option
entry[0].name = slot->device().tag() + 1;
entry[0].description = NULL;
diff --git a/src/emu/imagedev/cartslot.c b/src/emu/imagedev/cartslot.c
index d8f536017ff..1476992bd25 100644
--- a/src/emu/imagedev/cartslot.c
+++ b/src/emu/imagedev/cartslot.c
@@ -30,7 +30,6 @@ cartslot_image_device::cartslot_image_device(const machine_config &mconfig, cons
m_device_partialhash(NULL),
m_device_displayinfo(NULL)
{
-
}
//-------------------------------------------------
@@ -208,7 +207,6 @@ int cartslot_image_device::process_cartridge(bool load)
void cartslot_image_device::device_start()
{
-
/* if this cartridge has a custom DEVICE_START, use it */
if (m_device_start != NULL)
{
diff --git a/src/emu/imagedev/cartslot.h b/src/emu/imagedev/cartslot.h
index a767d931adc..defafabda5a 100644
--- a/src/emu/imagedev/cartslot.h
+++ b/src/emu/imagedev/cartslot.h
@@ -90,11 +90,9 @@ extern const device_type CARTSLOT;
***************************************************************************/
#define MCFG_CARTSLOT_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, CARTSLOT, 0) \
-
+ MCFG_DEVICE_ADD(_tag, CARTSLOT, 0)
#define MCFG_CARTSLOT_MODIFY(_tag) \
- MCFG_DEVICE_MODIFY(_tag) \
-
+ MCFG_DEVICE_MODIFY(_tag)
#define MCFG_CARTSLOT_EXTENSION_LIST(_extensions) \
static_cast<cartslot_image_device *>(device)->set_extensions(_extensions);
diff --git a/src/emu/imagedev/cassette.c b/src/emu/imagedev/cassette.c
index 32bc1100973..2d1f5ec25a8 100644
--- a/src/emu/imagedev/cassette.c
+++ b/src/emu/imagedev/cassette.c
@@ -40,7 +40,6 @@ cassette_image_device::cassette_image_device(const machine_config &mconfig, cons
: device_t(mconfig, CASSETTE, "Cassette", tag, owner, clock),
device_image_interface(mconfig, *this)
{
-
}
//-------------------------------------------------
@@ -340,7 +339,6 @@ error:
void cassette_image_device::call_unload()
{
-
/* if we are recording, write the value to the image */
if ((m_state & CASSETTE_MASK_UISTATE) == CASSETTE_RECORD)
update();
diff --git a/src/emu/imagedev/chd_cd.c b/src/emu/imagedev/chd_cd.c
index 264dc2d78d6..a8a98ccdbe9 100644
--- a/src/emu/imagedev/chd_cd.c
+++ b/src/emu/imagedev/chd_cd.c
@@ -28,7 +28,6 @@ cdrom_image_device::cdrom_image_device(const machine_config &mconfig, const char
: device_t(mconfig, CDROM, "Cdrom", tag, owner, clock),
device_image_interface(mconfig, *this)
{
-
}
//-------------------------------------------------
diff --git a/src/emu/imagedev/chd_cd.h b/src/emu/imagedev/chd_cd.h
index 98437e7be32..fb390f3e39d 100644
--- a/src/emu/imagedev/chd_cd.h
+++ b/src/emu/imagedev/chd_cd.h
@@ -74,6 +74,5 @@ extern const device_type CDROM;
#define MCFG_CDROM_ADD(_tag, _config) \
MCFG_DEVICE_ADD(_tag, CDROM, 0) \
- MCFG_DEVICE_CONFIG(_config) \
-
+ MCFG_DEVICE_CONFIG(_config)
#endif /* CHD_CD_H */
diff --git a/src/emu/imagedev/flopdrv.c b/src/emu/imagedev/flopdrv.c
index ba9034723b1..46180994bb2 100644
--- a/src/emu/imagedev/flopdrv.c
+++ b/src/emu/imagedev/flopdrv.c
@@ -753,7 +753,6 @@ WRITE_LINE_DEVICE_HANDLER( floppy_drtn_w )
/* write data */
WRITE_LINE_DEVICE_HANDLER( floppy_wtd_w )
{
-
}
/* step */
diff --git a/src/emu/imagedev/floppy.h b/src/emu/imagedev/floppy.h
index 9a7b2285d48..67717a85824 100644
--- a/src/emu/imagedev/floppy.h
+++ b/src/emu/imagedev/floppy.h
@@ -24,8 +24,7 @@
static const floppy_format_type _name [];
#define FLOPPY_FORMATS_MEMBER(_member) \
- const floppy_format_type _member [] = { \
-
+ const floppy_format_type _member [] = {
#define FLOPPY_FORMATS_END \
, \
FLOPPY_D88_FORMAT, \
diff --git a/src/emu/imagedev/harddriv.c b/src/emu/imagedev/harddriv.c
index 05b3c76ab3e..30cc8765d70 100644
--- a/src/emu/imagedev/harddriv.c
+++ b/src/emu/imagedev/harddriv.c
@@ -42,7 +42,6 @@ harddisk_image_device::harddisk_image_device(const machine_config &mconfig, cons
m_chd(NULL),
m_hard_disk_handle(NULL)
{
-
}
//-------------------------------------------------
diff --git a/src/emu/imagedev/harddriv.h b/src/emu/imagedev/harddriv.h
index b04b06177a9..35d4e77ae7a 100644
--- a/src/emu/imagedev/harddriv.h
+++ b/src/emu/imagedev/harddriv.h
@@ -83,10 +83,8 @@ extern const device_type HARDDISK;
***************************************************************************/
#define MCFG_HARDDISK_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, HARDDISK, 0) \
-
+ MCFG_DEVICE_ADD(_tag, HARDDISK, 0)
#define MCFG_HARDDISK_CONFIG_ADD(_tag,_config) \
MCFG_DEVICE_ADD(_tag, HARDDISK, 0) \
- MCFG_DEVICE_CONFIG(_config) \
-
+ MCFG_DEVICE_CONFIG(_config)
#endif /* HARDDRIV_H */
diff --git a/src/emu/imagedev/printer.c b/src/emu/imagedev/printer.c
index 98b21cd47c7..c062f125887 100644
--- a/src/emu/imagedev/printer.c
+++ b/src/emu/imagedev/printer.c
@@ -21,7 +21,6 @@ printer_image_device::printer_image_device(const machine_config &mconfig, const
: device_t(mconfig, PRINTER, "Printer", tag, owner, clock),
device_image_interface(mconfig, *this)
{
-
}
//-------------------------------------------------
diff --git a/src/emu/imagedev/printer.h b/src/emu/imagedev/printer.h
index 59ce5066257..959f635e547 100644
--- a/src/emu/imagedev/printer.h
+++ b/src/emu/imagedev/printer.h
@@ -70,6 +70,5 @@ extern const device_type PRINTER;
#define MCFG_PRINTER_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, PRINTER, 0) \
-
+ MCFG_DEVICE_ADD(_tag, PRINTER, 0)
#endif /* __PRINTER_H__ */
diff --git a/src/emu/imagedev/serial.c b/src/emu/imagedev/serial.c
index 761f79449fd..a325520c9f0 100644
--- a/src/emu/imagedev/serial.c
+++ b/src/emu/imagedev/serial.c
@@ -22,7 +22,6 @@ serial_image_device::serial_image_device(const machine_config &mconfig, const ch
device_serial_interface(mconfig, *this),
device_image_interface(mconfig, *this)
{
-
}
//-------------------------------------------------
diff --git a/src/emu/imagedev/serial.h b/src/emu/imagedev/serial.h
index eae304d0e5f..7cd213e5651 100644
--- a/src/emu/imagedev/serial.h
+++ b/src/emu/imagedev/serial.h
@@ -105,6 +105,5 @@ extern const device_type SERIAL;
#define MCFG_SERIAL_ADD(_tag,_config) \
MCFG_DEVICE_ADD(_tag, SERIAL, 0) \
- MCFG_DEVICE_CONFIG(_config) \
-
+ MCFG_DEVICE_CONFIG(_config)
#endif /* __SERIAL_H__ */
diff --git a/src/emu/ioport.c b/src/emu/ioport.c
index 2abe71e2c81..5466136ac3f 100644
--- a/src/emu/ioport.c
+++ b/src/emu/ioport.c
@@ -3844,8 +3844,7 @@ void ioport_configurer::field_alloc(ioport_type type, ioport_value defval, iopor
{
// make sure we have a port
if (m_curport == NULL)
- throw emu_fatalerror("alloc_field called with no active port (mask=%X defval=%X)\n", mask, defval); \
-
+ throw emu_fatalerror("alloc_field called with no active port (mask=%X defval=%X)\n", mask, defval);
// append the field
if (type != IPT_UNKNOWN && type != IPT_UNUSED)
m_curport->m_active |= mask;
diff --git a/src/emu/ioport.h b/src/emu/ioport.h
index 869b7ded52e..436ecacc989 100644
--- a/src/emu/ioport.h
+++ b/src/emu/ioport.h
@@ -1428,8 +1428,7 @@ private:
#define INPUT_PORTS_START(_name) \
ATTR_COLD void INPUT_PORTS_NAME(_name)(device_t &owner, ioport_list &portlist, astring &errorbuf) \
{ \
- ioport_configurer configurer(owner, portlist, errorbuf); \
-
+ ioport_configurer configurer(owner, portlist, errorbuf);
// end of table
#define INPUT_PORTS_END \
}
@@ -1440,26 +1439,21 @@ ATTR_COLD void INPUT_PORTS_NAME(_name)(device_t &owner, ioport_list &portlist, a
// including
#define PORT_INCLUDE(_name) \
- INPUT_PORTS_NAME(_name)(owner, portlist, errorbuf); \
-
+ INPUT_PORTS_NAME(_name)(owner, portlist, errorbuf);
// start of a new input port (with included tag)
#define PORT_START(_tag) \
- configurer.port_alloc(_tag); \
-
+ configurer.port_alloc(_tag);
// modify an existing port
#define PORT_MODIFY(_tag) \
- configurer.port_modify(_tag); \
-
+ configurer.port_modify(_tag);
// input bit definition
#define PORT_BIT(_mask, _default, _type) \
- configurer.field_alloc((_type), (_default), (_mask)); \
-
+ configurer.field_alloc((_type), (_default), (_mask));
#define PORT_SPECIAL_ONOFF(_mask, _default, _strindex) \
PORT_SPECIAL_ONOFF_DIPLOC(_mask, _default, _strindex, NULL)
#define PORT_SPECIAL_ONOFF_DIPLOC(_mask, _default, _strindex, _diploc) \
- configurer.onoff_alloc(DEF_STR(_strindex), _default, _mask, _diploc); \
-
+ configurer.onoff_alloc(DEF_STR(_strindex), _default, _mask, _diploc);
// append a code
#define PORT_CODE(_code) \
configurer.field_add_code(SEQ_TYPE_STANDARD, _code);
@@ -1520,8 +1514,7 @@ ATTR_COLD void INPUT_PORTS_NAME(_name)(device_t &owner, ioport_list &portlist, a
configurer.field_set_sensitivity(_sensitivity);
#define PORT_KEYDELTA(_delta) \
- configurer.field_set_delta(_delta); \
-
+ configurer.field_set_delta(_delta);
// note that PORT_CENTERDELTA must appear after PORT_KEYDELTA
#define PORT_CENTERDELTA(_delta) \
configurer.field_set_centerdelta(_delta);
@@ -1585,29 +1578,23 @@ ATTR_COLD void INPUT_PORTS_NAME(_name)(device_t &owner, ioport_list &portlist, a
// dip switch definition
#define PORT_DIPNAME(_mask, _default, _name) \
- configurer.field_alloc(IPT_DIPSWITCH, (_default), (_mask), (_name)); \
-
+ configurer.field_alloc(IPT_DIPSWITCH, (_default), (_mask), (_name));
#define PORT_DIPSETTING(_default, _name) \
- configurer.setting_alloc((_default), (_name)); \
-
+ configurer.setting_alloc((_default), (_name));
// physical location, of the form: name:[!]sw,[name:][!]sw,...
// note that these are specified LSB-first
#define PORT_DIPLOCATION(_location) \
- configurer.field_set_diplocation(_location); \
-
+ configurer.field_set_diplocation(_location);
// conditionals for dip switch settings
#define PORT_CONDITION(_tag, _mask, _condition, _value) \
- configurer.set_condition(ioport_condition::_condition, _tag, _mask, _value); \
-
+ configurer.set_condition(ioport_condition::_condition, _tag, _mask, _value);
// analog adjuster definition
#define PORT_ADJUSTER(_default, _name) \
configurer.field_alloc(IPT_ADJUSTER, (_default), 0xff, (_name)); \
- configurer.field_set_min_max(0, 100); \
-
+ configurer.field_set_min_max(0, 100);
// config definition
#define PORT_CONFNAME(_mask, _default, _name) \
- configurer.field_alloc(IPT_CONFIG, (_default), (_mask), (_name)); \
-
+ configurer.field_alloc(IPT_CONFIG, (_default), (_mask), (_name));
#define PORT_CONFSETTING(_default, _name) \
configurer.setting_alloc((_default), (_name));
@@ -1625,11 +1612,9 @@ ATTR_COLD void INPUT_PORTS_NAME(_name)(device_t &owner, ioport_list &portlist, a
// start of table
#define DEVICE_INPUT_DEFAULTS_START(_name) \
const input_device_default DEVICE_INPUT_DEFAULTS_NAME(_name)[] = {
-
// end of table
#define DEVICE_INPUT_DEFAULTS(_tag,_mask,_defval) \
- { _tag ,_mask, _defval }, \
-
+ { _tag ,_mask, _defval },
// end of table
#define DEVICE_INPUT_DEFAULTS_END \
{NULL,0,0} };
diff --git a/src/emu/machine/6522via.c b/src/emu/machine/6522via.c
index d934d91e4d3..5af27803813 100644
--- a/src/emu/machine/6522via.c
+++ b/src/emu/machine/6522via.c
@@ -151,7 +151,6 @@ via6522_device::via6522_device(const machine_config &mconfig, const char *tag, d
: device_t(mconfig, VIA6522, "6522 VIA", tag, owner, clock),
m_irq(CLEAR_LINE)
{
-
}
diff --git a/src/emu/machine/6551acia.c b/src/emu/machine/6551acia.c
index 7ad80d36ee1..80771f0356c 100644
--- a/src/emu/machine/6551acia.c
+++ b/src/emu/machine/6551acia.c
@@ -397,7 +397,6 @@ WRITE8_MEMBER(acia6551_device::write)
switch (rate)
{
-
default:
case 1:
{
diff --git a/src/emu/machine/74123.c b/src/emu/machine/74123.c
index 2c9169e1d2d..ca822a34464 100644
--- a/src/emu/machine/74123.c
+++ b/src/emu/machine/74123.c
@@ -29,7 +29,6 @@ const device_type TTL74123 = &device_creator<ttl74123_device>;
ttl74123_device::ttl74123_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TTL74123, "TTL74123", tag, owner, clock)
{
-
}
diff --git a/src/emu/machine/7474.h b/src/emu/machine/7474.h
index 2174f409894..e66b25aef97 100644
--- a/src/emu/machine/7474.h
+++ b/src/emu/machine/7474.h
@@ -61,11 +61,9 @@
MCFG_7474_COMP_OUTPUT_CB(_comp_output_cb)
#define MCFG_7474_OUTPUT_CB(_devcb) \
- devcb = &ttl7474_device::set_output_cb(*device, DEVCB2_##_devcb); \
-
+ devcb = &ttl7474_device::set_output_cb(*device, DEVCB2_##_devcb);
#define MCFG_7474_COMP_OUTPUT_CB(_devcb) \
- devcb = &ttl7474_device::set_comp_output_cb(*device, DEVCB2_##_devcb); \
-
+ devcb = &ttl7474_device::set_comp_output_cb(*device, DEVCB2_##_devcb);
//**************************************************************************
diff --git a/src/emu/machine/8237dma.c b/src/emu/machine/8237dma.c
index 4566b41378e..016d5968089 100644
--- a/src/emu/machine/8237dma.c
+++ b/src/emu/machine/8237dma.c
@@ -265,7 +265,6 @@ void i8237_device::i8237_timerproc()
switch ( m_state )
{
-
case DMA8237_SI:
{
/* Make sure EOP is high */
diff --git a/src/emu/machine/aakart.c b/src/emu/machine/aakart.c
index bf35b0e7dbf..62887c3fbe3 100644
--- a/src/emu/machine/aakart.c
+++ b/src/emu/machine/aakart.c
@@ -40,7 +40,6 @@ const device_type AAKART = &device_creator<aakart_device>;
aakart_device::aakart_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, AAKART, "aakart", tag, owner, clock)
{
-
}
diff --git a/src/emu/machine/aakart.h b/src/emu/machine/aakart.h
index 6272e05a6b4..c2a0f31d41f 100644
--- a/src/emu/machine/aakart.h
+++ b/src/emu/machine/aakart.h
@@ -17,8 +17,7 @@ Acorn Archimedes KART interface
#define MCFG_AAKART_ADD(_tag, _freq, _config) \
MCFG_DEVICE_ADD(_tag, AAKART, _freq) \
- MCFG_DEVICE_CONFIG(_config) \
-
+ MCFG_DEVICE_CONFIG(_config)
#define AAKART_INTERFACE(name) \
const aakart_interface (name) =
diff --git a/src/emu/machine/am53cf96.h b/src/emu/machine/am53cf96.h
index 8f82cbeaafa..4fb8f5554e9 100644
--- a/src/emu/machine/am53cf96.h
+++ b/src/emu/machine/am53cf96.h
@@ -12,8 +12,7 @@
MCFG_DEVICE_ADD( _tag, AM53CF96, 0 )
#define MCFG_AM53CF96_IRQ_HANDLER(_devcb) \
- devcb = &am53cf96_device::set_irq_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &am53cf96_device::set_irq_handler(*device, DEVCB2_##_devcb);
// 53CF96 register set
enum
{
diff --git a/src/emu/machine/cdp1871.c b/src/emu/machine/cdp1871.c
index f87a8271aa9..4042d9197d9 100644
--- a/src/emu/machine/cdp1871.c
+++ b/src/emu/machine/cdp1871.c
@@ -100,7 +100,6 @@ cdp1871_device::cdp1871_device(const machine_config &mconfig, const char *tag, d
m_next_da(CLEAR_LINE),
m_next_rpt(CLEAR_LINE)
{
-
}
diff --git a/src/emu/machine/ctronics.c b/src/emu/machine/ctronics.c
index 50d941e8265..9e40888377d 100644
--- a/src/emu/machine/ctronics.c
+++ b/src/emu/machine/ctronics.c
@@ -23,7 +23,6 @@ centronics_device::centronics_device(const machine_config &mconfig, const char *
device_slot_interface(mconfig, *this),
m_dev(NULL)
{
-
}
//-------------------------------------------------
@@ -232,7 +231,6 @@ void centronics_printer_device::device_start()
void centronics_printer_device::device_reset()
{
-
}
/*-------------------------------------------------
diff --git a/src/emu/machine/ctronics.h b/src/emu/machine/ctronics.h
index 89b246fe086..021c66f190a 100644
--- a/src/emu/machine/ctronics.h
+++ b/src/emu/machine/ctronics.h
@@ -151,11 +151,9 @@ SLOT_INTERFACE_EXTERN(centronics_printer);
#define MCFG_CENTRONICS_ADD(_tag, _intf, _slot_intf, _def_slot, _def_inp) \
MCFG_DEVICE_ADD(_tag, CENTRONICS, 0) \
MCFG_DEVICE_CONFIG(_intf) \
- MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, _def_inp, false) \
-
+ MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, _def_inp, false)
#define MCFG_CENTRONICS_PRINTER_ADD(_tag, _intf) \
- MCFG_CENTRONICS_ADD(_tag, _intf, centronics_printer, "printer", NULL) \
-
+ MCFG_CENTRONICS_ADD(_tag, _intf, centronics_printer, "printer", NULL)
/***************************************************************************
DEFAULT INTERFACES
diff --git a/src/emu/machine/eeprom.h b/src/emu/machine/eeprom.h
index 2a915b21921..da7f381d728 100644
--- a/src/emu/machine/eeprom.h
+++ b/src/emu/machine/eeprom.h
@@ -19,8 +19,7 @@
#define MCFG_EEPROM_ADD(_tag, _interface) \
MCFG_DEVICE_ADD(_tag, EEPROM, 0) \
- eeprom_device::static_set_interface(*device, _interface); \
-
+ eeprom_device::static_set_interface(*device, _interface);
#define MCFG_EEPROM_93C46_ADD(_tag) \
MCFG_EEPROM_ADD(_tag, eeprom_interface_93C46)
@@ -31,11 +30,9 @@
MCFG_EEPROM_ADD(_tag, eeprom_interface_93C66B)
#define MCFG_EEPROM_DATA(_data, _size) \
- eeprom_device::static_set_default_data(*device, _data, _size); \
-
+ eeprom_device::static_set_default_data(*device, _data, _size);
#define MCFG_EEPROM_DEFAULT_VALUE(_value) \
- eeprom_device::static_set_default_value(*device, _value); \
-
+ eeprom_device::static_set_default_value(*device, _value);
//**************************************************************************
diff --git a/src/emu/machine/er2055.h b/src/emu/machine/er2055.h
index e04d9a5face..2cbc8d792d7 100644
--- a/src/emu/machine/er2055.h
+++ b/src/emu/machine/er2055.h
@@ -49,8 +49,7 @@
//**************************************************************************
#define MCFG_ER2055_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, ER2055, 0) \
-
+ MCFG_DEVICE_ADD(_tag, ER2055, 0)
//**************************************************************************
diff --git a/src/emu/machine/f3853.c b/src/emu/machine/f3853.c
index b9313326a8f..4a4163bcdbf 100644
--- a/src/emu/machine/f3853.c
+++ b/src/emu/machine/f3853.c
@@ -51,7 +51,6 @@ const device_type F3853 = &device_creator<f3853_device>;
f3853_device::f3853_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, F3853, "F3853", tag, owner, clock)
{
-
}
diff --git a/src/emu/machine/i8155.c b/src/emu/machine/i8155.c
index ff05fa0e950..db8cb7c0fd7 100644
--- a/src/emu/machine/i8155.c
+++ b/src/emu/machine/i8155.c
@@ -203,7 +203,6 @@ i8155_device::i8155_device(const machine_config &mconfig, const char *tag, devic
device_memory_interface(mconfig, *this),
m_space_config("ram", ENDIANNESS_LITTLE, 8, 8, 0, NULL, *ADDRESS_MAP_NAME(i8155))
{
-
}
diff --git a/src/emu/machine/i8212.c b/src/emu/machine/i8212.c
index fe2f94ebc22..d2a07b49177 100644
--- a/src/emu/machine/i8212.c
+++ b/src/emu/machine/i8212.c
@@ -36,7 +36,6 @@ i8212_device::i8212_device(const machine_config &mconfig, const char *tag, devic
m_md(I8212_MODE_INPUT),
m_stb(0)
{
-
}
diff --git a/src/emu/machine/i8243.h b/src/emu/machine/i8243.h
index f83460a54c7..12922adf706 100644
--- a/src/emu/machine/i8243.h
+++ b/src/emu/machine/i8243.h
@@ -25,14 +25,11 @@
#define MCFG_I8243_ADD(_tag, _read, _write) \
MCFG_DEVICE_ADD(_tag, I8243, 0) \
MCFG_I8243_READHANDLER(_read) \
- MCFG_I8243_WRITEHANDLER(_write) \
-
+ MCFG_I8243_WRITEHANDLER(_write)
#define MCFG_I8243_READHANDLER(_devcb) \
- devcb = &i8243_device::set_read_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &i8243_device::set_read_handler(*device, DEVCB2_##_devcb);
#define MCFG_I8243_WRITEHANDLER(_devcb) \
- devcb = &i8243_device::set_write_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &i8243_device::set_write_handler(*device, DEVCB2_##_devcb);
/***************************************************************************
TYPE DEFINITIONS
***************************************************************************/
diff --git a/src/emu/machine/i8251.c b/src/emu/machine/i8251.c
index d772e77dea9..73e7d841f29 100644
--- a/src/emu/machine/i8251.c
+++ b/src/emu/machine/i8251.c
@@ -168,7 +168,6 @@ void i8251_device::transmit_clock()
/* transmit enable? */
if (m_command & (1<<0))
{
-
/* transmit register full? */
if ((m_status & I8251_STATUS_TX_READY)==0)
{
diff --git a/src/emu/machine/i8355.c b/src/emu/machine/i8355.c
index 10f3476fd1f..826e0a6f2c2 100644
--- a/src/emu/machine/i8355.c
+++ b/src/emu/machine/i8355.c
@@ -96,7 +96,6 @@ i8355_device::i8355_device(const machine_config &mconfig, const char *tag, devic
device_memory_interface(mconfig, *this),
m_space_config("ram", ENDIANNESS_LITTLE, 8, 11, 0, NULL, *ADDRESS_MAP_NAME(i8355))
{
-
}
diff --git a/src/emu/machine/idectrl.c b/src/emu/machine/idectrl.c
index 45658643caa..9fd2a67094f 100644
--- a/src/emu/machine/idectrl.c
+++ b/src/emu/machine/idectrl.c
@@ -1850,7 +1850,6 @@ ide_slot_device::ide_slot_device(const machine_config &mconfig, const char *tag,
device_slot_interface(mconfig, *this),
m_dev(NULL)
{
-
}
//-------------------------------------------------
diff --git a/src/emu/machine/ins8154.c b/src/emu/machine/ins8154.c
index e8853a88196..bde8c351531 100644
--- a/src/emu/machine/ins8154.c
+++ b/src/emu/machine/ins8154.c
@@ -45,7 +45,6 @@ const device_type INS8154 = &device_creator<ins8154_device>;
ins8154_device::ins8154_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, INS8154, "INS8154", tag, owner, clock)
{
-
}
diff --git a/src/emu/machine/jvsdev.h b/src/emu/machine/jvsdev.h
index 23e01a88861..fb2adfe2afb 100644
--- a/src/emu/machine/jvsdev.h
+++ b/src/emu/machine/jvsdev.h
@@ -5,8 +5,7 @@
#define MCFG_JVS_DEVICE_ADD(_tag, _type, _host) \
MCFG_DEVICE_ADD(_tag, _type, 0) \
- jvs_device::static_set_jvs_host_tag(*device, _host); \
-
+ jvs_device::static_set_jvs_host_tag(*device, _host);
class jvs_host;
class jvs_device : public device_t
diff --git a/src/emu/machine/k033906.c b/src/emu/machine/k033906.c
index 5570ba3ac3e..779611bf24d 100644
--- a/src/emu/machine/k033906.c
+++ b/src/emu/machine/k033906.c
@@ -24,7 +24,6 @@ const device_type K033906 = &device_creator<k033906_device>;
k033906_device::k033906_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K033906, "Konami 033906", tag, owner, clock)
{
-
}
//-------------------------------------------------
diff --git a/src/emu/machine/k056230.c b/src/emu/machine/k056230.c
index 28b0a335efb..26d8db27983 100644
--- a/src/emu/machine/k056230.c
+++ b/src/emu/machine/k056230.c
@@ -23,7 +23,6 @@ const device_type K056230 = &device_creator<k056230_device>;
k056230_device::k056230_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K056230, "Konami 056230", tag, owner, clock)
{
-
}
diff --git a/src/emu/machine/laserdsc.h b/src/emu/machine/laserdsc.h
index f595d928549..d491d5bb922 100644
--- a/src/emu/machine/laserdsc.h
+++ b/src/emu/machine/laserdsc.h
@@ -87,29 +87,21 @@ enum laserdisc_field_code
//**************************************************************************
#define MCFG_LASERDISC_GET_DISC(_func) \
- laserdisc_device::static_set_get_disc(*device, _func); \
-
+ laserdisc_device::static_set_get_disc(*device, _func);
#define MCFG_LASERDISC_AUDIO(_func) \
- laserdisc_device::static_set_audio(*device, _func); \
-
+ laserdisc_device::static_set_audio(*device, _func);
#define MCFG_LASERDISC_OVERLAY_STATIC(_width, _height, _func) \
- laserdisc_device::static_set_overlay(*device, _width, _height, screen_update_delegate_smart(&screen_update_##_func, "screen_update_" #_func)); \
-
+ laserdisc_device::static_set_overlay(*device, _width, _height, screen_update_delegate_smart(&screen_update_##_func, "screen_update_" #_func));
#define MCFG_LASERDISC_OVERLAY_DRIVER(_width, _height, _class, _method) \
- laserdisc_device::static_set_overlay(*device, _width, _height, screen_update_delegate_smart(&_class::_method, #_class "::" #_method, NULL)); \
-
+ laserdisc_device::static_set_overlay(*device, _width, _height, screen_update_delegate_smart(&_class::_method, #_class "::" #_method, NULL));
#define MCFG_LASERDISC_OVERLAY_DEVICE(_width, _height, _device, _class, _method) \
- laserdisc_device::static_set_overlay(*device, _width, _height, screen_update_delegate_smart(&_class::_method, #_class "::" #_method, _device)); \
-
+ laserdisc_device::static_set_overlay(*device, _width, _height, screen_update_delegate_smart(&_class::_method, #_class "::" #_method, _device));
#define MCFG_LASERDISC_OVERLAY_CLIP(_minx, _maxx, _miny, _maxy) \
- laserdisc_device::static_set_overlay_clip(*device, _minx, _maxx, _miny, _maxy); \
-
+ laserdisc_device::static_set_overlay_clip(*device, _minx, _maxx, _miny, _maxy);
#define MCFG_LASERDISC_OVERLAY_POSITION(_posx, _posy) \
- laserdisc_device::static_set_overlay_position(*device, _posx, _posy); \
-
+ laserdisc_device::static_set_overlay_position(*device, _posx, _posy);
#define MCFG_LASERDISC_OVERLAY_SCALE(_scalex, _scaley) \
- laserdisc_device::static_set_overlay_scale(*device, _scalex, _scaley); \
-
+ laserdisc_device::static_set_overlay_scale(*device, _scalex, _scaley);
// use these to add laserdisc screens with proper video update parameters
#define MCFG_LASERDISC_SCREEN_ADD_NTSC(_tag, _ldtag) \
@@ -118,8 +110,7 @@ enum laserdisc_field_code
MCFG_VIDEO_ATTRIBUTES(VIDEO_SELF_RENDER) \
MCFG_SCREEN_ADD(_tag, RASTER) \
MCFG_SCREEN_RAW_PARAMS(XTAL_14_31818MHz*2, 910, 0, 704, 525, 44, 524) \
- MCFG_SCREEN_UPDATE_DEVICE(_ldtag, laserdisc_device, screen_update) \
-
+ MCFG_SCREEN_UPDATE_DEVICE(_ldtag, laserdisc_device, screen_update)
// not correct yet; fix me...
#define MCFG_LASERDISC_SCREEN_ADD_PAL(_tag, _ldtag) \
MCFG_DEVICE_MODIFY(_ldtag) \
@@ -127,8 +118,7 @@ enum laserdisc_field_code
MCFG_VIDEO_ATTRIBUTES(VIDEO_SELF_RENDER) \
MCFG_SCREEN_ADD(_tag, RASTER) \
MCFG_SCREEN_RAW_PARAMS(XTAL_14_31818MHz, 910, 0, 704, 525.0/2, 0, 480/2) \
- MCFG_SCREEN_UPDATE_DEVICE(_ldtag, laserdisc_device, screen_update) \
-
+ MCFG_SCREEN_UPDATE_DEVICE(_ldtag, laserdisc_device, screen_update)
//**************************************************************************
diff --git a/src/emu/machine/lc89510.c b/src/emu/machine/lc89510.c
index 8ce3988009d..be0aa027339 100644
--- a/src/emu/machine/lc89510.c
+++ b/src/emu/machine/lc89510.c
@@ -17,10 +17,8 @@ lc89510_device::lc89510_device(const machine_config &mconfig, const char *tag, d
void lc89510_device::device_start()
{
-
}
void lc89510_device::device_reset()
{
-
}
diff --git a/src/emu/machine/ldpr8210.h b/src/emu/machine/ldpr8210.h
index cee2a2ba842..bcc8fdbcf7a 100644
--- a/src/emu/machine/ldpr8210.h
+++ b/src/emu/machine/ldpr8210.h
@@ -51,11 +51,9 @@
//**************************************************************************
#define MCFG_LASERDISC_PR8210_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, PIONEER_PR8210, 0) \
-
+ MCFG_DEVICE_ADD(_tag, PIONEER_PR8210, 0)
#define MCFG_LASERDISC_SIMUTREK_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, SIMUTREK_SPECIAL, 0) \
-
+ MCFG_DEVICE_ADD(_tag, SIMUTREK_SPECIAL, 0)
//**************************************************************************
diff --git a/src/emu/machine/ldstub.h b/src/emu/machine/ldstub.h
index 1acb5e08877..86c5d2f0233 100644
--- a/src/emu/machine/ldstub.h
+++ b/src/emu/machine/ldstub.h
@@ -50,14 +50,11 @@
//**************************************************************************
#define MCFG_LASERDISC_LDP1450_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, SONY_LDP1450, 0) \
-
+ MCFG_DEVICE_ADD(_tag, SONY_LDP1450, 0)
#define MCFG_LASERDISC_PR7820_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, PIONEER_PR7820, 0) \
-
+ MCFG_DEVICE_ADD(_tag, PIONEER_PR7820, 0)
#define MCFG_LASERDISC_22VP932_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, PHILLIPS_22VP932, 0) \
-
+ MCFG_DEVICE_ADD(_tag, PHILLIPS_22VP932, 0)
//**************************************************************************
diff --git a/src/emu/machine/ldv1000.h b/src/emu/machine/ldv1000.h
index 007705c59af..d57d3621749 100644
--- a/src/emu/machine/ldv1000.h
+++ b/src/emu/machine/ldv1000.h
@@ -53,8 +53,7 @@
//**************************************************************************
#define MCFG_LASERDISC_LDV1000_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, PIONEER_LDV1000, 0) \
-
+ MCFG_DEVICE_ADD(_tag, PIONEER_LDV1000, 0)
//**************************************************************************
diff --git a/src/emu/machine/ldvp931.h b/src/emu/machine/ldvp931.h
index 163767dd846..f956f7fae1d 100644
--- a/src/emu/machine/ldvp931.h
+++ b/src/emu/machine/ldvp931.h
@@ -51,8 +51,7 @@
//**************************************************************************
#define MCFG_LASERDISC_22VP931_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, PHILLIPS_22VP931, 0) \
-
+ MCFG_DEVICE_ADD(_tag, PHILLIPS_22VP931, 0)
//**************************************************************************
diff --git a/src/emu/machine/m6m80011ap.c b/src/emu/machine/m6m80011ap.c
index 7820e982be1..6640ed2e367 100644
--- a/src/emu/machine/m6m80011ap.c
+++ b/src/emu/machine/m6m80011ap.c
@@ -29,7 +29,6 @@ m6m80011ap_device::m6m80011ap_device(const machine_config &mconfig, const char *
: device_t(mconfig, M6M80011AP, "m6m80011ap", tag, owner, clock),
device_nvram_interface(mconfig, *this)
{
-
}
@@ -49,7 +48,6 @@ void m6m80011ap_device::device_validity_check(validity_checker &valid) const
void m6m80011ap_device::device_start()
{
-
}
diff --git a/src/emu/machine/m6m80011ap.h b/src/emu/machine/m6m80011ap.h
index 7d719c5731e..f42c980a81c 100644
--- a/src/emu/machine/m6m80011ap.h
+++ b/src/emu/machine/m6m80011ap.h
@@ -17,8 +17,7 @@ Template for skeleton device
/* TODO: frequency */
#define MCFG_M6M80011AP_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, M6M80011AP, XTAL_32_768kHz) \
-
+ MCFG_DEVICE_ADD(_tag, M6M80011AP, XTAL_32_768kHz)
//**************************************************************************
// TYPE DEFINITIONS
diff --git a/src/emu/machine/msm6242.c b/src/emu/machine/msm6242.c
index 4dbe1a61890..61280ef375a 100644
--- a/src/emu/machine/msm6242.c
+++ b/src/emu/machine/msm6242.c
@@ -67,7 +67,6 @@ msm6242_device::msm6242_device(const machine_config &mconfig, const char *tag, d
: device_t(mconfig, msm6242, "msm6242", tag, owner, clock),
device_rtc_interface(mconfig, *this)
{
-
}
diff --git a/src/emu/machine/n68681.h b/src/emu/machine/n68681.h
index 7488639d2bc..54d23bf7eff 100644
--- a/src/emu/machine/n68681.h
+++ b/src/emu/machine/n68681.h
@@ -12,8 +12,7 @@
MCFG_DEVICE_CONFIG(_config)
#define MCFG_DUART68681_CHANNEL_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, DUART68681CHANNEL, 0) \
-
+ MCFG_DEVICE_ADD(_tag, DUART68681CHANNEL, 0)
// forward declaration
class duartn68681_device;
diff --git a/src/emu/machine/net_lib.h b/src/emu/machine/net_lib.h
index 441b01f332e..b47989108b0 100644
--- a/src/emu/machine/net_lib.h
+++ b/src/emu/machine/net_lib.h
@@ -55,33 +55,26 @@
// ----------------------------------------------------------------------------------------
#define NETDEV_CLOCK(_name) \
- NET_REGISTER_DEV(netdev_clock, _name) \
-
+ NET_REGISTER_DEV(netdev_clock, _name)
#define NETDEV_LOGIC_INPUT(_name) \
- NET_REGISTER_DEV(netdev_logic_input, _name) \
-
+ NET_REGISTER_DEV(netdev_logic_input, _name)
#define NETDEV_ANALOG_INPUT(_name) \
- NET_REGISTER_DEV(netdev_analog_input, _name) \
-
+ NET_REGISTER_DEV(netdev_analog_input, _name)
#define NETDEV_CALLBACK(_name, _IN) \
NET_REGISTER_DEV(netdev_callback, _name) \
- NET_CONNECT(_name, IN, _IN) \
-
+ NET_CONNECT(_name, IN, _IN)
#define NETDEV_SWITCH2(_name, _i1, _i2) \
NET_REGISTER_DEV(nicMultiSwitch, _name) \
NET_CONNECT(_name, i1, _i1) \
- NET_CONNECT(_name, i2, _i2) \
-
+ NET_CONNECT(_name, i2, _i2)
#define NETDEV_DELAY_RISE(_name, _CLK, _D) \
NET_REGISTER_DEV(netdev_delay_lh, _name) \
NET_CONNECT(_name, CLK, _CLK) \
- NET_CONNECT(_name, D, _D) \
-
+ NET_CONNECT(_name, D, _D)
#define NETDEV_RSFF(_name, _S, _R) \
NET_REGISTER_DEV(nicRSFF, _name) \
NET_CONNECT(_name, S, _S) \
- NET_CONNECT(_name, R, _R) \
-
+ NET_CONNECT(_name, R, _R)
// ----------------------------------------------------------------------------------------
// TTL Logic chips
@@ -90,43 +83,36 @@
#define TTL_7400_NAND(_name, _I1, _I2) \
NET_REGISTER_DEV(nic7400, _name) \
NET_CONNECT(_name, I1, _I1) \
- NET_CONNECT(_name, I2, _I2) \
-
+ NET_CONNECT(_name, I2, _I2)
#define TTL_7402_NOR(_name, _I1, _I2) \
NET_REGISTER_DEV(nic7402, _name) \
NET_CONNECT(_name, I1, _I1) \
- NET_CONNECT(_name, I2, _I2) \
-
+ NET_CONNECT(_name, I2, _I2)
#define TTL_7404_INVERT(_name, _I1) \
NET_REGISTER_DEV(nic7404, _name) \
- NET_CONNECT(_name, I1, _I1) \
-
+ NET_CONNECT(_name, I1, _I1)
#define TTL_7410_NAND(_name, _I1, _I2, _I3) \
NET_REGISTER_DEV(nic7410, _name) \
NET_CONNECT(_name, I1, _I1) \
NET_CONNECT(_name, I2, _I2) \
- NET_CONNECT(_name, I3, _I3) \
-
+ NET_CONNECT(_name, I3, _I3)
#define TTL_7420_NAND(_name, _I1, _I2, _I3, _I4) \
NET_REGISTER_DEV(nic7420, _name) \
NET_CONNECT(_name, I1, _I1) \
NET_CONNECT(_name, I2, _I2) \
NET_CONNECT(_name, I3, _I3) \
- NET_CONNECT(_name, I4, _I4) \
-
+ NET_CONNECT(_name, I4, _I4)
#define TTL_7425_NOR(_name, _I1, _I2, _I3, _I4) \
NET_REGISTER_DEV(nic7425, _name) \
NET_CONNECT(_name, I1, _I1) \
NET_CONNECT(_name, I2, _I2) \
NET_CONNECT(_name, I3, _I3) \
- NET_CONNECT(_name, I4, _I4) \
-
+ NET_CONNECT(_name, I4, _I4)
#define TTL_7427_NOR(_name, _I1, _I2, _I3) \
NET_REGISTER_DEV(nic7427, _name) \
NET_CONNECT(_name, I1, _I1) \
NET_CONNECT(_name, I2, _I2) \
- NET_CONNECT(_name, I3, _I3) \
-
+ NET_CONNECT(_name, I3, _I3)
#define TTL_7430_NAND(_name, _I1, _I2, _I3, _I4, _I5, _I6, _I7, _I8) \
NET_REGISTER_DEV(nic7430, _name) \
NET_CONNECT(_name, I1, _I1) \
@@ -136,20 +122,17 @@
NET_CONNECT(_name, I5, _I5) \
NET_CONNECT(_name, I6, _I6) \
NET_CONNECT(_name, I7, _I7) \
- NET_CONNECT(_name, I8, _I8) \
-
+ NET_CONNECT(_name, I8, _I8)
#define TTL_7450_ANDORINVERT(_name, _I1, _I2, _I3, _I4) \
NET_REGISTER_DEV(nic7450, _name) \
NET_CONNECT(_name, I1, _I1) \
NET_CONNECT(_name, I2, _I2) \
NET_CONNECT(_name, I3, _I3) \
- NET_CONNECT(_name, I4, _I4) \
-
+ NET_CONNECT(_name, I4, _I4)
#define TTL_7486_XOR(_name, _I1, _I2) \
NET_REGISTER_DEV(nic7486, _name) \
NET_CONNECT(_name, I1, _I1) \
- NET_CONNECT(_name, I2, _I2) \
-
+ NET_CONNECT(_name, I2, _I2)
#define TTL_7448(_name, _A0, _A1, _A2, _A3, _LTQ, _BIQ, _RBIQ) \
NET_REGISTER_DEV(nic7448, _name) \
NET_CONNECT(_name, A0, _A0) \
@@ -158,15 +141,13 @@
NET_CONNECT(_name, A3, _A3) \
NET_CONNECT(_name, LTQ, _LTQ) \
NET_CONNECT(_name, BIQ, _BIQ) \
- NET_CONNECT(_name, RBIQ, _RBIQ) \
-
+ NET_CONNECT(_name, RBIQ, _RBIQ)
#define TTL_7474(_name, _CLK, _D, _CLRQ, _PREQ) \
NET_REGISTER_DEV(nic7474, _name) \
NET_CONNECT(_name, CLK, _CLK) \
NET_CONNECT(_name, D, _D) \
NET_CONNECT(_name, CLRQ, _CLRQ) \
- NET_CONNECT(_name, PREQ, _PREQ) \
-
+ NET_CONNECT(_name, PREQ, _PREQ)
#define TTL_7483(_name, _A1, _A2, _A3, _A4, _B1, _B2, _B3, _B4, _CI) \
NET_REGISTER_DEV(nic7483, _name) \
NET_CONNECT(_name, A1, _A1) \
@@ -177,30 +158,26 @@
NET_CONNECT(_name, B2, _B2) \
NET_CONNECT(_name, B3, _B3) \
NET_CONNECT(_name, B4, _B4) \
- NET_CONNECT(_name, CI, _CI) \
-
+ NET_CONNECT(_name, CI, _CI)
#define TTL_7490(_name, _CLK, _R1, _R2, _R91, _R92) \
NET_REGISTER_DEV(nic7490, _name) \
NET_CONNECT(_name, CLK, _CLK) \
NET_CONNECT(_name, R1, _R1) \
NET_CONNECT(_name, R2, _R2) \
NET_CONNECT(_name, R91, _R91) \
- NET_CONNECT(_name, R92, _R92) \
-
+ NET_CONNECT(_name, R92, _R92)
#define TTL_7493(_name, _CLKA, _CLKB, _R1, _R2) \
NET_REGISTER_DEV(nic7493, _name) \
NET_CONNECT(_name, CLKA, _CLKA) \
NET_CONNECT(_name, CLKB, _CLKB) \
NET_CONNECT(_name, R1, _R1) \
- NET_CONNECT(_name, R2, _R2) \
-
+ NET_CONNECT(_name, R2, _R2)
#define TTL_74107A(_name, _CLK, _J, _K, _CLRQ) \
NET_REGISTER_DEV(nic74107A, _name) \
NET_CONNECT(_name, CLK, _CLK) \
NET_CONNECT(_name, J, _J) \
NET_CONNECT(_name, K, _K) \
- NET_CONNECT(_name, CLRQ, _CLRQ) \
-
+ NET_CONNECT(_name, CLRQ, _CLRQ)
#define TTL_74107(_name, _CLK, _J, _K, _CLRQ) \
TTL_74107A(_name, _CLK, _J, _K, _CLRQ)
@@ -212,8 +189,7 @@
NET_CONNECT(_name, A4, _A4) \
NET_CONNECT(_name, A, _A) \
NET_CONNECT(_name, B, _B) \
- NET_CONNECT(_name, GA, _GA) \
-
+ NET_CONNECT(_name, GA, _GA)
#define TTL_9316(_name, _CLK, _ENP, _ENT, _CLRQ, _LOADQ, _A, _B, _C, _D) \
NET_REGISTER_DEV(nic9316, _name) \
NET_CONNECT(_name, CLK, _CLK) \
@@ -224,20 +200,17 @@
NET_CONNECT(_name, A, _A) \
NET_CONNECT(_name, B, _B) \
NET_CONNECT(_name, C, _C) \
- NET_CONNECT(_name, D, _D) \
-
+ NET_CONNECT(_name, D, _D)
#define NE555N_MSTABLE(_name, _TRIG, _CV) \
NET_REGISTER_DEV(nicNE555N_MSTABLE, _name) \
NET_CONNECT(_name, TRIG, _TRIG) \
- NET_CONNECT(_name, CV, _CV) \
-
+ NET_CONNECT(_name, CV, _CV)
#define NETDEV_MIXER3(_name, _I1, _I2, _I3) \
NET_REGISTER_DEV(nicMixer8, _name) \
NET_CONNECT(_name, I1, _I1) \
NET_CONNECT(_name, I2, _I2) \
- NET_CONNECT(_name, I3, _I3) \
-
+ NET_CONNECT(_name, I3, _I3)
// ----------------------------------------------------------------------------------------
// Special support devices ...
// ----------------------------------------------------------------------------------------
diff --git a/src/emu/machine/netlist.c b/src/emu/machine/netlist.c
index 328f34f72d6..7d6671842e7 100644
--- a/src/emu/machine/netlist.c
+++ b/src/emu/machine/netlist.c
@@ -382,7 +382,6 @@ void netlist_base_t::set_clock_freq(UINT64 clockfreq)
ATTR_HOT ATTR_ALIGN void netlist_base_t::process_list(INT32 &atime)
{
-
while ( (atime > 0) && (m_queue.is_not_empty()))
{
queue_t::entry_t e = m_queue.pop();
@@ -795,7 +794,6 @@ static inline void update_dev(const net_input_t *inp, const UINT32 mask)
ATTR_HOT inline void net_output_t::update_devs()
{
-
const UINT32 masks[4] = { 1, 5, 3, 1 };
m_Q = m_new_Q;
m_Q_analog = m_new_Q_analog;
@@ -900,7 +898,6 @@ void netlist_mame_device::device_config_complete()
void netlist_mame_device::device_start()
{
-
//double dt = clocks_to_attotime(1).as_double();
m_netlist = global_alloc_clear(netlist_t(*this));
m_netlist->set_clock_freq(this->clock());
@@ -942,12 +939,10 @@ void netlist_mame_device::device_stop()
void netlist_mame_device::device_post_load()
{
-
}
void netlist_mame_device::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
{
-
}
void netlist_mame_device::save_state()
diff --git a/src/emu/machine/netlist.h b/src/emu/machine/netlist.h
index de4dd5dfdd3..c009d4554c1 100644
--- a/src/emu/machine/netlist.h
+++ b/src/emu/machine/netlist.h
@@ -73,22 +73,17 @@
//============================================================
#define NET_ALIAS(_alias, _name) \
- netlist.register_alias(# _alias, # _name); \
-
+ netlist.register_alias(# _alias, # _name);
#define NET_NEW(_type , _name) net_create_device_by_classname(# _type, &netlist, # _name)
#define NET_REGISTER_DEV(_type, _name) \
- netlist.register_dev(NET_NEW(_type, _name)); \
-
+ netlist.register_dev(NET_NEW(_type, _name));
#define NET_REMOVE_DEV(_name) \
- netlist.remove_dev(# _name); \
-
+ netlist.remove_dev(# _name);
#define NET_REGISTER_SIGNAL(_type, _name) \
- NET_REGISTER_DEV(_type ## _ ## sig, _name) \
-
+ NET_REGISTER_DEV(_type ## _ ## sig, _name)
#define NET_CONNECT(_name, _input, _output) \
- netlist.register_link(# _name "." # _input, # _output); \
-
+ netlist.register_link(# _name "." # _input, # _output);
#define NETDEV_PARAM(_name, _val) \
netlist.find_param(# _name).initial(_val);
@@ -96,17 +91,14 @@
#define NETLIST_START(_name) \
ATTR_COLD void NETLIST_NAME(_name)(netlist_setup_t &netlist) \
-{ \
-
+{
#define NETLIST_END }
#define NETLIST_INCLUDE(_name) \
- NETLIST_NAME(_name)(netlist); \
-
+ NETLIST_NAME(_name)(netlist);
#define NETLIST_MEMREGION(_name) \
- netlist.parse((char *)downcast<netlist_t &>(netlist.netlist()).machine().root_device().memregion(_name)->base()); \
-
+ netlist.parse((char *)downcast<netlist_t &>(netlist.netlist()).machine().root_device().memregion(_name)->base());
#if defined(__GNUC__) && (__GNUC__ >= 3)
#if !defined(__ppc__) && !defined (__PPC__) && !defined(__ppc64__) && !defined(__PPC64__)
#define ATTR_ALIGN __attribute__ ((aligned(128)))
@@ -131,8 +123,7 @@ ATTR_COLD void NETLIST_NAME(_name)(netlist_setup_t &netlist) \
{ \
public: \
_name () : net_signal_t<_num_input, _check>() { } \
- }; \
-
+ };
#define NETLIB_DEVICE(_name, _priv) \
class _name : public net_device_t \
{ \
@@ -142,8 +133,7 @@ ATTR_COLD void NETLIST_NAME(_name)(netlist_setup_t &netlist) \
ATTR_COLD void start(); \
protected: \
_priv \
- } \
-
+ }
#define NETLIB_SUBDEVICE(_name, _priv) \
class _name : public net_core_device_t \
{ \
@@ -152,8 +142,7 @@ ATTR_COLD void NETLIST_NAME(_name)(netlist_setup_t &netlist) \
ATTR_HOT void update(); \
/*protected:*/ \
_priv \
- } \
-
+ }
#define NETLIB_DEVICE_WITH_PARAMS(_name, _priv) \
class _name : public net_device_t \
{ \
@@ -164,21 +153,17 @@ ATTR_COLD void NETLIST_NAME(_name)(netlist_setup_t &netlist) \
ATTR_COLD void start(); \
/* protected: */ \
_priv \
- } \
-
+ }
// MAME specific
#define MCFG_NETLIST_ADD(_tag, _setup ) \
MCFG_DEVICE_ADD(_tag, NETLIST, NETLIST_CLOCK) \
- MCFG_NETLIST_SETUP(_setup) \
-
+ MCFG_NETLIST_SETUP(_setup)
#define MCFG_NETLIST_REPLACE(_tag, _setup) \
MCFG_DEVICE_REPLACE(_tag, NETLIST, NETLIST_CLOCK) \
- MCFG_NETLIST_SETUP(_setup) \
-
+ MCFG_NETLIST_SETUP(_setup)
#define MCFG_NETLIST_SETUP(_setup) \
- netlist_mame_device::static_set_constructor(*device, NETLIST_NAME(_setup)); \
-
+ netlist_mame_device::static_set_constructor(*device, NETLIST_NAME(_setup));
// ----------------------------------------------------------------------------------------
// Type definitions
@@ -971,12 +956,10 @@ private:
#define NETDEV_TTL_CONST(_name, _v) \
NET_REGISTER_DEV(netdev_ttl_const, _name) \
- NETDEV_PARAM(_name.CONST, _v) \
-
+ NETDEV_PARAM(_name.CONST, _v)
#define NETDEV_ANALOG_CONST(_name, _v) \
NET_REGISTER_DEV(netdev_analog_const, _name) \
- NETDEV_PARAM(_name.CONST, _v) \
-
+ NETDEV_PARAM(_name.CONST, _v)
NETLIB_DEVICE_WITH_PARAMS(netdev_ttl_const,
ttl_output_t m_Q;
diff --git a/src/emu/machine/nvram.h b/src/emu/machine/nvram.h
index e96c3aa79b2..b052ea098e5 100644
--- a/src/emu/machine/nvram.h
+++ b/src/emu/machine/nvram.h
@@ -50,41 +50,32 @@
#define MCFG_NVRAM_ADD_0FILL(_tag) \
MCFG_DEVICE_ADD(_tag, NVRAM, 0) \
- nvram_device::static_set_default_value(*device, nvram_device::DEFAULT_ALL_0); \
-
+ nvram_device::static_set_default_value(*device, nvram_device::DEFAULT_ALL_0);
#define MCFG_NVRAM_ADD_1FILL(_tag) \
MCFG_DEVICE_ADD(_tag, NVRAM, 0) \
- nvram_device::static_set_default_value(*device, nvram_device::DEFAULT_ALL_1); \
-
+ nvram_device::static_set_default_value(*device, nvram_device::DEFAULT_ALL_1);
#define MCFG_NVRAM_ADD_RANDOM_FILL(_tag) \
MCFG_DEVICE_ADD(_tag, NVRAM, 0) \
- nvram_device::static_set_default_value(*device, nvram_device::DEFAULT_RANDOM); \
-
+ nvram_device::static_set_default_value(*device, nvram_device::DEFAULT_RANDOM);
#define MCFG_NVRAM_ADD_NO_FILL(_tag) \
MCFG_DEVICE_ADD(_tag, NVRAM, 0) \
- nvram_device::static_set_default_value(*device, nvram_device::DEFAULT_NONE); \
-
+ nvram_device::static_set_default_value(*device, nvram_device::DEFAULT_NONE);
#define MCFG_NVRAM_ADD_CUSTOM_DRIVER(_tag, _class, _method) \
MCFG_DEVICE_ADD(_tag, NVRAM, 0) \
- nvram_device::static_set_custom_handler(*device, nvram_init_delegate(&_class::_method, #_class "::" #_method, NULL, (_class *)0)); \
-
+ nvram_device::static_set_custom_handler(*device, nvram_init_delegate(&_class::_method, #_class "::" #_method, NULL, (_class *)0));
#define MCFG_NVRAM_REPLACE_0FILL(_tag) \
MCFG_DEVICE_REPLACE(_tag, NVRAM, 0) \
- nvram_device::static_set_default_value(*device, nvram_device::DEFAULT_ALL_0); \
-
+ nvram_device::static_set_default_value(*device, nvram_device::DEFAULT_ALL_0);
#define MCFG_NVRAM_REPLACE_1FILL(_tag) \
MCFG_DEVICE_REPLACE(_tag, NVRAM, 0) \
- nvram_device::static_set_default_value(*device, nvram_device::DEFAULT_ALL_1); \
-
+ nvram_device::static_set_default_value(*device, nvram_device::DEFAULT_ALL_1);
#define MCFG_NVRAM_REPLACE_RANDOM_FILL(_tag) \
MCFG_DEVICE_REPLACE(_tag, NVRAM, 0) \
- nvram_device::static_set_default_value(*device, nvram_device::DEFAULT_RANDOM); \
-
+ nvram_device::static_set_default_value(*device, nvram_device::DEFAULT_RANDOM);
#define MCFG_NVRAM_REPLACE_CUSTOM_DRIVER(_tag, _class, _method) \
MCFG_DEVICE_REPLACE(_tag, NVRAM, 0) \
- nvram_device::static_set_custom_handler(*device, nvram_init_delegate(&_class::_method, #_class "::" #_method, NULL, (_class *)0)); \
-
+ nvram_device::static_set_custom_handler(*device, nvram_init_delegate(&_class::_method, #_class "::" #_method, NULL, (_class *)0));
//**************************************************************************
diff --git a/src/emu/machine/pc16552d.c b/src/emu/machine/pc16552d.c
index bd941eb1f8e..1d5857f502b 100644
--- a/src/emu/machine/pc16552d.c
+++ b/src/emu/machine/pc16552d.c
@@ -219,7 +219,6 @@ static UINT8 duart_r(running_machine &machine, int chip, int reg)
}
else
{
-
}
break;
}
diff --git a/src/emu/machine/pci.h b/src/emu/machine/pci.h
index c7d0d853516..a850c4077d5 100644
--- a/src/emu/machine/pci.h
+++ b/src/emu/machine/pci.h
@@ -71,14 +71,11 @@ extern const device_type PCI_BUS_LEGACY;
#define MCFG_PCI_BUS_LEGACY_ADD(_tag, _busnum) \
MCFG_DEVICE_ADD(_tag, PCI_BUS_LEGACY, 0) \
- downcast<pci_bus_legacy_device *>(device)->set_busnum(_busnum); \
-
+ downcast<pci_bus_legacy_device *>(device)->set_busnum(_busnum);
#define MCFG_PCI_BUS_LEGACY_DEVICE(_devnum, _devtag, _configread, _configwrite) \
- downcast<pci_bus_legacy_device *>(device)->set_device(_devnum, _devtag,_configread,_configwrite); \
-
+ downcast<pci_bus_legacy_device *>(device)->set_device(_devnum, _devtag,_configread,_configwrite);
#define MCFG_PCI_BUS_LEGACY_SIBLING(_father_tag) \
- downcast<pci_bus_legacy_device *>(device)->set_father(_father_tag); \
-
+ downcast<pci_bus_legacy_device *>(device)->set_father(_father_tag);
// NEW IMPLEMENTATION
@@ -171,15 +168,13 @@ extern const device_type PCI_BUS;
#define MCFG_PCI_BUS_ADD(_tag, _busnum) \
MCFG_DEVICE_ADD(_tag, PCI_BUS, 0) \
- downcast<pci_bus_device *>(device)->set_busnum(_busnum); \
-
+ downcast<pci_bus_device *>(device)->set_busnum(_busnum);
#define MCFG_PCI_BUS_DEVICE(_tag, _slot_intf, _def_slot, _def_inp, _def_config, _def_clock, _fixed) \
MCFG_DEVICE_ADD(_tag, PCI_CONNECTOR, 0) \
MCFG_DEVICE_SLOT_INTERFACE_FULL(_slot_intf, _def_slot, _def_inp, _def_config, _def_clock, _fixed)
#define MCFG_PCI_BUS_SIBLING(_father_tag) \
- downcast<pci_bus_device *>(device)->set_father(_father_tag); \
-
+ downcast<pci_bus_device *>(device)->set_father(_father_tag);
#endif /* PCI_H */
diff --git a/src/emu/machine/roc10937.c b/src/emu/machine/roc10937.c
index 1d2a8d15786..eab1779ef03 100644
--- a/src/emu/machine/roc10937.c
+++ b/src/emu/machine/roc10937.c
@@ -183,8 +183,6 @@ void rocvfd_t::device_reset()
///////////////////////////////////////////////////////////////////////////
UINT32 rocvfd_t::set_display(UINT32 segin)
{
-
-
return BITSWAP32(segin, 31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,11,9,15,13,12,8,10,14,7,6,5,4,3,2,1,0);
}
diff --git a/src/emu/machine/roc10937.h b/src/emu/machine/roc10937.h
index 26c71f02357..40ad878a871 100644
--- a/src/emu/machine/roc10937.h
+++ b/src/emu/machine/roc10937.h
@@ -15,42 +15,34 @@
#define MCFG_ROC10937_ADD(_tag,_val,_reversed) \
MCFG_DEVICE_ADD(_tag, ROC10937,60)\
MCFG_ROC10937_PORT(_val) \
- MCFG_ROC10937_REVERSE(_reversed) \
-
+ MCFG_ROC10937_REVERSE(_reversed)
#define MCFG_ROC10937_PORT(_val) \
- roc10937_t::static_set_value(*device, _val); \
-
+ roc10937_t::static_set_value(*device, _val);
#define MCFG_ROC10937_REVERSE(_reversed) \
- roc10937_t::static_set_zero(*device, _reversed); \
-
+ roc10937_t::static_set_zero(*device, _reversed);
#define MCFG_ROC10937_REMOVE(_tag) \
MCFG_DEVICE_REMOVE(_tag)
#define MCFG_ROC10957_ADD(_tag,_val,_reversed) \
MCFG_DEVICE_ADD(_tag, ROC10957,60)\
MCFG_ROC10957_PORT(_val) \
- MCFG_ROC10957_REVERSE(_reversed) \
-
+ MCFG_ROC10957_REVERSE(_reversed)
#define MCFG_ROC10957_PORT(_val) \
- roc10957_t::static_set_value(*device, _val); \
-
+ roc10957_t::static_set_value(*device, _val);
#define MCFG_ROC10957_REVERSE(_reversed) \
- roc10957_t::static_set_zero(*device, _reversed); \
-
+ roc10957_t::static_set_zero(*device, _reversed);
#define MCFG_ROC10957_REMOVE(_tag) \
MCFG_DEVICE_REMOVE(_tag)
#define MCFG_MSC1937_ADD(_tag,_val,_reversed) \
MCFG_DEVICE_ADD(_tag, ROC10937,60)\
MCFG_MSC1937_PORT(_val) \
- MCFG_MSC1937_REVERSE(_reversed) \
-
+ MCFG_MSC1937_REVERSE(_reversed)
#define MCFG_MSC1937_PORT(_val) \
MCFG_ROC10937_PORT(_val)
#define MCFG_MSC1937_REVERSE(_reversed) \
- roc10937_t::static_set_zero(*device, _reversed); \
-
+ roc10937_t::static_set_zero(*device, _reversed);
#define MCFG_MSC1937_REMOVE(_tag) \
MCFG_DEVICE_REMOVE(_tag)
diff --git a/src/emu/machine/rtc65271.h b/src/emu/machine/rtc65271.h
index 54b3d2a853b..c2db1cad6ca 100644
--- a/src/emu/machine/rtc65271.h
+++ b/src/emu/machine/rtc65271.h
@@ -11,8 +11,7 @@
#define MCFG_RTC65271_ADD(_tag, _config) \
MCFG_DEVICE_ADD(_tag, RTC65271, 0) \
- MCFG_DEVICE_CONFIG(_config) \
-
+ MCFG_DEVICE_CONFIG(_config)
// ======================> rtc65271_interface
struct rtc65271_interface
diff --git a/src/emu/machine/rtc9701.c b/src/emu/machine/rtc9701.c
index 4ff82073a72..20c6dcc6a95 100644
--- a/src/emu/machine/rtc9701.c
+++ b/src/emu/machine/rtc9701.c
@@ -37,7 +37,6 @@ rtc9701_device::rtc9701_device(const machine_config &mconfig, const char *tag, d
m_reset_line(CLEAR_LINE),
m_clock_line(CLEAR_LINE)
{
-
}
void rtc9701_device::timer_callback()
diff --git a/src/emu/machine/rtc9701.h b/src/emu/machine/rtc9701.h
index 9598f893eda..ab5445d4d96 100644
--- a/src/emu/machine/rtc9701.h
+++ b/src/emu/machine/rtc9701.h
@@ -18,8 +18,7 @@
//**************************************************************************
#define MCFG_RTC9701_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, rtc9701, XTAL_32_768kHz) \
-
+ MCFG_DEVICE_ADD(_tag, rtc9701, XTAL_32_768kHz)
//**************************************************************************
// TYPE DEFINITIONS
diff --git a/src/emu/machine/s3520cf.c b/src/emu/machine/s3520cf.c
index 39f9abb1f11..0e844cd41a5 100644
--- a/src/emu/machine/s3520cf.c
+++ b/src/emu/machine/s3520cf.c
@@ -36,7 +36,6 @@ const device_type S3520CF = &device_creator<s3520cf_device>;
s3520cf_device::s3520cf_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, S3520CF, "s3520cf", tag, owner, clock)
{
-
}
void s3520cf_device::timer_callback()
diff --git a/src/emu/machine/s3520cf.h b/src/emu/machine/s3520cf.h
index 789c4be7664..85dc39516a0 100644
--- a/src/emu/machine/s3520cf.h
+++ b/src/emu/machine/s3520cf.h
@@ -16,8 +16,7 @@ Template for skeleton device
//**************************************************************************
#define MCFG_S3520CF_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, S3520CF, XTAL_32_768kHz) \
-
+ MCFG_DEVICE_ADD(_tag, S3520CF, XTAL_32_768kHz)
//**************************************************************************
// TYPE DEFINITIONS
diff --git a/src/emu/machine/s3c24xx.c b/src/emu/machine/s3c24xx.c
index 5756bbb34b4..09ecf8fd9d4 100644
--- a/src/emu/machine/s3c24xx.c
+++ b/src/emu/machine/s3c24xx.c
@@ -3377,7 +3377,6 @@ static READ32_DEVICE_HANDLER( s3c24xx_nand_r )
#if defined(DEVICE_S3C2440)
case S3C24XX_NFMECC0 :
{
-
data = (s3c24xx->nand.mecc[3] << 24) | (s3c24xx->nand.mecc[2] << 16) | (s3c24xx->nand.mecc[1] << 8) | (s3c24xx->nand.mecc[0] << 0);
}
break;
diff --git a/src/emu/machine/scsicb.h b/src/emu/machine/scsicb.h
index be00e5598fb..5c6540c3cd3 100644
--- a/src/emu/machine/scsicb.h
+++ b/src/emu/machine/scsicb.h
@@ -87,32 +87,23 @@ private:
MCFG_DEVICE_ADD(_tag, SCSICB, 0)
#define MCFG_SCSICB_BSY_HANDLER(_devcb) \
- devcb = &scsicb_device::set_bsy_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &scsicb_device::set_bsy_handler(*device, DEVCB2_##_devcb);
#define MCFG_SCSICB_SEL_HANDLER(_devcb) \
- devcb = &scsicb_device::set_sel_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &scsicb_device::set_sel_handler(*device, DEVCB2_##_devcb);
#define MCFG_SCSICB_CD_HANDLER(_devcb) \
- devcb = &scsicb_device::set_cd_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &scsicb_device::set_cd_handler(*device, DEVCB2_##_devcb);
#define MCFG_SCSICB_IO_HANDLER(_devcb) \
- devcb = &scsicb_device::set_io_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &scsicb_device::set_io_handler(*device, DEVCB2_##_devcb);
#define MCFG_SCSICB_MSG_HANDLER(_devcb) \
- devcb = &scsicb_device::set_msg_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &scsicb_device::set_msg_handler(*device, DEVCB2_##_devcb);
#define MCFG_SCSICB_REQ_HANDLER(_devcb) \
- devcb = &scsicb_device::set_req_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &scsicb_device::set_req_handler(*device, DEVCB2_##_devcb);
#define MCFG_SCSICB_ACK_HANDLER(_devcb) \
- devcb = &scsicb_device::set_ack_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &scsicb_device::set_ack_handler(*device, DEVCB2_##_devcb);
#define MCFG_SCSICB_ATN_HANDLER(_devcb) \
- devcb = &scsicb_device::set_atn_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &scsicb_device::set_atn_handler(*device, DEVCB2_##_devcb);
#define MCFG_SCSICB_RST_HANDLER(_devcb) \
- devcb = &scsicb_device::set_rst_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &scsicb_device::set_rst_handler(*device, DEVCB2_##_devcb);
// device type definition
extern const device_type SCSICB;
diff --git a/src/emu/machine/seibu_cop.c b/src/emu/machine/seibu_cop.c
index 997255cc6b2..7418ea81ee7 100644
--- a/src/emu/machine/seibu_cop.c
+++ b/src/emu/machine/seibu_cop.c
@@ -71,7 +71,6 @@ seibu_cop_device::seibu_cop_device(const machine_config &mconfig, const char *ta
device_memory_interface(mconfig, *this),
m_space_config("io", ENDIANNESS_LITTLE, 16, 16, 0, NULL, *ADDRESS_MAP_NAME(seibu_cop_io))
{
-
}
diff --git a/src/emu/machine/seibu_cop.h b/src/emu/machine/seibu_cop.h
index d13326cb19f..07341874613 100644
--- a/src/emu/machine/seibu_cop.h
+++ b/src/emu/machine/seibu_cop.h
@@ -16,8 +16,7 @@ Template for skeleton device
//**************************************************************************
#define MCFG_SEIBU_COP_ADD(_tag,_freq) \
- MCFG_DEVICE_ADD(_tag, SEIBU_COP, _freq) \
-
+ MCFG_DEVICE_ADD(_tag, SEIBU_COP, _freq)
#define SEIBU_COP_INTERFACE(_name) \
const seibu_cop_interface (_name) =
diff --git a/src/emu/machine/tc009xlvc.c b/src/emu/machine/tc009xlvc.c
index d995970e34e..e66ecbdc18f 100644
--- a/src/emu/machine/tc009xlvc.c
+++ b/src/emu/machine/tc009xlvc.c
@@ -278,7 +278,6 @@ void tc0091lvc_device::device_start()
void tc0091lvc_device::device_reset()
{
-
}
const address_space_config *tc0091lvc_device::memory_space_config(address_spacenum spacenum) const
diff --git a/src/emu/machine/timekpr.c b/src/emu/machine/timekpr.c
index 6183aff30f6..4b8c349eaf2 100644
--- a/src/emu/machine/timekpr.c
+++ b/src/emu/machine/timekpr.c
@@ -121,7 +121,6 @@ timekeeper_device::timekeeper_device(const machine_config &mconfig, device_type
: device_t(mconfig, type, name, tag, owner, clock),
device_nvram_interface(mconfig, *this)
{
-
}
m48t02_device::m48t02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
diff --git a/src/emu/machine/upd765.c b/src/emu/machine/upd765.c
index 416fd890b5e..ebed6f335ed 100644
--- a/src/emu/machine/upd765.c
+++ b/src/emu/machine/upd765.c
@@ -642,7 +642,6 @@ void upd765_family_device::live_run(attotime limit)
}
for(;;) {
-
switch(cur_live.state) {
case SEARCH_ADDRESS_MARK_HEADER:
if(read_one_bit(limit))
diff --git a/src/emu/machine/v3021.c b/src/emu/machine/v3021.c
index e95dc0ad509..819b4953440 100644
--- a/src/emu/machine/v3021.c
+++ b/src/emu/machine/v3021.c
@@ -34,7 +34,6 @@ const device_type v3021 = &device_creator<v3021_device>;
v3021_device::v3021_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, v3021, "v3021", tag, owner, clock)
{
-
}
void v3021_device::timer_callback()
diff --git a/src/emu/machine/v3021.h b/src/emu/machine/v3021.h
index f4e38c08f39..3df1d90a821 100644
--- a/src/emu/machine/v3021.h
+++ b/src/emu/machine/v3021.h
@@ -20,8 +20,7 @@
//**************************************************************************
#define MCFG_V3021_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, v3021, XTAL_32_768kHz) \
-
+ MCFG_DEVICE_ADD(_tag, v3021, XTAL_32_768kHz)
//**************************************************************************
// TYPE DEFINITIONS
diff --git a/src/emu/machine/wd17xx.c b/src/emu/machine/wd17xx.c
index 1bdd53647ec..19802c3e028 100644
--- a/src/emu/machine/wd17xx.c
+++ b/src/emu/machine/wd17xx.c
@@ -1169,7 +1169,6 @@ static TIMER_CALLBACK( wd17xx_write_sector_callback )
wd17xx_complete_command(device, DELAY_NOTREADY);
else
{
-
/* drive write protected? */
if (floppy_wpt_r(w->drive) == CLEAR_LINE)
{
@@ -1603,7 +1602,6 @@ WRITE8_DEVICE_HANDLER( wd17xx_command_w )
}
else
{
-
/* drive write protected? */
if (floppy_wpt_r(w->drive) == CLEAR_LINE)
{
diff --git a/src/emu/machine/x2212.h b/src/emu/machine/x2212.h
index 0db04924f8b..1370236696e 100644
--- a/src/emu/machine/x2212.h
+++ b/src/emu/machine/x2212.h
@@ -18,14 +18,12 @@
//**************************************************************************
#define MCFG_X2212_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, X2212, 0) \
-
+ MCFG_DEVICE_ADD(_tag, X2212, 0)
// some systems (like many early Atari games) wire up the /STORE signal
// to fire on power-down, effectively creating an "auto-save" functionality
#define MCFG_X2212_ADD_AUTOSAVE(_tag) \
MCFG_DEVICE_ADD(_tag, X2212, 0) \
- x2212_device::static_set_auto_save(*device); \
-
+ x2212_device::static_set_auto_save(*device);
//**************************************************************************
diff --git a/src/emu/mconfig.h b/src/emu/mconfig.h
index 9c3e1f9e264..809c98f8d3d 100644
--- a/src/emu/mconfig.h
+++ b/src/emu/mconfig.h
@@ -179,8 +179,7 @@ ATTR_COLD device_t *MACHINE_CONFIG_NAME(_name)(machine_config &config, device_t
(void)device; \
devcb2_base *devcb = NULL; \
(void)devcb; \
- if (owner == NULL) owner = config.device_add(NULL, "root", &driver_device_creator<_class>, 0); \
-
+ if (owner == NULL) owner = config.device_add(NULL, "root", &driver_device_creator<_class>, 0);
#define MACHINE_CONFIG_FRAGMENT(_name) \
ATTR_COLD device_t *MACHINE_CONFIG_NAME(_name)(machine_config &config, device_t *owner) \
{ \
@@ -188,8 +187,7 @@ ATTR_COLD device_t *MACHINE_CONFIG_NAME(_name)(machine_config &config, device_t
(void)device; \
devcb2_base *devcb = NULL; \
(void)devcb; \
- assert(owner != NULL); \
-
+ assert(owner != NULL);
#define MACHINE_CONFIG_DERIVED(_name, _base) \
ATTR_COLD device_t *MACHINE_CONFIG_NAME(_name)(machine_config &config, device_t *owner) \
{ \
@@ -198,8 +196,7 @@ ATTR_COLD device_t *MACHINE_CONFIG_NAME(_name)(machine_config &config, device_t
devcb2_base *devcb = NULL; \
(void)devcb; \
owner = MACHINE_CONFIG_NAME(_base)(config, owner); \
- assert(owner != NULL); \
-
+ assert(owner != NULL);
#define MACHINE_CONFIG_DERIVED_CLASS(_name, _base, _class) \
ATTR_COLD device_t *MACHINE_CONFIG_NAME(_name)(machine_config &config, device_t *owner) \
{ \
@@ -208,8 +205,7 @@ ATTR_COLD device_t *MACHINE_CONFIG_NAME(_name)(machine_config &config, device_t
devcb2_base *devcb = NULL; \
(void)devcb; \
if (owner == NULL) owner = config.device_add(NULL, "root", &driver_device_creator<_class>, 0); \
- owner = MACHINE_CONFIG_NAME(_base)(config, owner); \
-
+ owner = MACHINE_CONFIG_NAME(_base)(config, owner);
#define MACHINE_CONFIG_END \
return owner; \
}
@@ -226,58 +222,43 @@ ATTR_COLD device_t *MACHINE_CONFIG_NAME(_name)(machine_config &config, device_t
// scheduling parameters
#define MCFG_QUANTUM_TIME(_time) \
- config.m_minimum_quantum = _time; \
-
+ config.m_minimum_quantum = _time;
#define MCFG_QUANTUM_PERFECT_CPU(_cputag) \
- owner->subtag(config.m_perfect_cpu_quantum, _cputag); \
-
+ owner->subtag(config.m_perfect_cpu_quantum, _cputag);
// watchdog configuration
#define MCFG_WATCHDOG_VBLANK_INIT(_count) \
- config.m_watchdog_vblank_count = _count; \
-
+ config.m_watchdog_vblank_count = _count;
#define MCFG_WATCHDOG_TIME_INIT(_time) \
- config.m_watchdog_time = _time; \
-
+ config.m_watchdog_time = _time;
// core functions
#define MCFG_NVRAM_HANDLER(_func) \
- config.m_nvram_handler = NVRAM_HANDLER_NAME(_func); \
-
+ config.m_nvram_handler = NVRAM_HANDLER_NAME(_func);
#define MCFG_MEMCARD_HANDLER(_func) \
- config.m_memcard_handler = MEMCARD_HANDLER_NAME(_func); \
-
+ config.m_memcard_handler = MEMCARD_HANDLER_NAME(_func);
#define MCFG_NVRAM_HANDLER_CLEAR() \
- config.m_nvram_handler = NULL; \
-
+ config.m_nvram_handler = NULL;
// core video parameters
#define MCFG_VIDEO_ATTRIBUTES(_flags) \
- config.m_video_attributes = _flags; \
-
+ config.m_video_attributes = _flags;
#define MCFG_GFXDECODE(_gfx) \
- config.m_gfxdecodeinfo = GFXDECODE_NAME(_gfx); \
-
+ config.m_gfxdecodeinfo = GFXDECODE_NAME(_gfx);
#define MCFG_PALETTE_LENGTH(_length) \
- config.m_total_colors = _length; \
-
+ config.m_total_colors = _length;
#define MCFG_DEFAULT_LAYOUT(_layout) \
- config.m_default_layout = &(_layout)[0]; \
-
+ config.m_default_layout = &(_layout)[0];
// add/remove devices
#define MCFG_DEVICE_ADD(_tag, _type, _clock) \
- device = config.device_add(owner, _tag, _type, _clock); \
-
+ device = config.device_add(owner, _tag, _type, _clock);
#define MCFG_DEVICE_REPLACE(_tag, _type, _clock) \
- device = config.device_replace(owner, _tag, _type, _clock); \
-
+ device = config.device_replace(owner, _tag, _type, _clock);
#define MCFG_DEVICE_REMOVE(_tag) \
- device = config.device_remove(owner, _tag); \
-
+ device = config.device_remove(owner, _tag);
#define MCFG_DEVICE_MODIFY(_tag) \
- device = config.device_find(owner, _tag); \
-
+ device = config.device_find(owner, _tag);
#endif /* __MCONFIG_H__ */
diff --git a/src/emu/rendlay.c b/src/emu/rendlay.c
index 206408fcd6d..52f6f6c96ba 100644
--- a/src/emu/rendlay.c
+++ b/src/emu/rendlay.c
@@ -1065,7 +1065,6 @@ void layout_element::component::draw_reel(running_machine &machine, bitmap_argb3
// only render the symbol / text if it's atually in view because the code is SLOW
if ((endpos >= bounds.min_y) && (basey <= bounds.max_y))
{
-
while (1)
{
width = font->string_width(ourheight/num_shown, aspect, m_stopnames[fruit]);
@@ -1102,7 +1101,6 @@ void layout_element::component::draw_reel(running_machine &machine, bitmap_argb3
int effx = x;
if (effx >= bounds.min_x && effx <= bounds.max_x)
{
-
UINT32 spix = RGB_ALPHA(src[x]);
if (spix != 0)
{
@@ -1141,7 +1139,6 @@ void layout_element::component::draw_reel(running_machine &machine, bitmap_argb3
int effx = curx + x + chbounds.min_x;
if (effx >= bounds.min_x && effx <= bounds.max_x)
{
-
UINT32 spix = RGB_ALPHA(src[x]);
if (spix != 0)
{
@@ -1211,7 +1208,6 @@ void layout_element::component::load_bitmap()
void layout_element::component::load_reel_bitmap(int number)
{
-
// load the basic bitmap
assert(m_file != NULL);
/*m_hasalpha[number] = */ render_load_png(m_bitmap[number], *m_file[number], m_dirname, m_imagefile[number]);
diff --git a/src/emu/screen.h b/src/emu/screen.h
index 2f07fc1b24f..634bff28c56 100644
--- a/src/emu/screen.h
+++ b/src/emu/screen.h
@@ -364,53 +364,39 @@ typedef device_type_iterator<&device_creator<screen_device>, screen_device> scre
#define MCFG_SCREEN_ADD(_tag, _type) \
MCFG_DEVICE_ADD(_tag, SCREEN, 0) \
- MCFG_SCREEN_TYPE(_type) \
-
+ MCFG_SCREEN_TYPE(_type)
#define MCFG_SCREEN_MODIFY(_tag) \
MCFG_DEVICE_MODIFY(_tag)
#define MCFG_SCREEN_TYPE(_type) \
- screen_device::static_set_type(*device, SCREEN_TYPE_##_type); \
-
+ screen_device::static_set_type(*device, SCREEN_TYPE_##_type);
#define MCFG_SCREEN_RAW_PARAMS(_pixclock, _htotal, _hbend, _hbstart, _vtotal, _vbend, _vbstart) \
screen_device::static_set_raw(*device, _pixclock, _htotal, _hbend, _hbstart, _vtotal, _vbend, _vbstart);
#define MCFG_SCREEN_REFRESH_RATE(_rate) \
- screen_device::static_set_refresh(*device, HZ_TO_ATTOSECONDS(_rate)); \
-
+ screen_device::static_set_refresh(*device, HZ_TO_ATTOSECONDS(_rate));
#define MCFG_SCREEN_VBLANK_TIME(_time) \
- screen_device::static_set_vblank_time(*device, _time); \
-
+ screen_device::static_set_vblank_time(*device, _time);
#define MCFG_SCREEN_SIZE(_width, _height) \
- screen_device::static_set_size(*device, _width, _height); \
-
+ screen_device::static_set_size(*device, _width, _height);
#define MCFG_SCREEN_VISIBLE_AREA(_minx, _maxx, _miny, _maxy) \
- screen_device::static_set_visarea(*device, _minx, _maxx, _miny, _maxy); \
-
+ screen_device::static_set_visarea(*device, _minx, _maxx, _miny, _maxy);
#define MCFG_SCREEN_DEFAULT_POSITION(_xscale, _xoffs, _yscale, _yoffs) \
- screen_device::static_set_default_position(*device, _xscale, _xoffs, _yscale, _yoffs); \
-
+ screen_device::static_set_default_position(*device, _xscale, _xoffs, _yscale, _yoffs);
#define MCFG_SCREEN_UPDATE_STATIC(_func) \
- screen_device::static_set_screen_update(*device, screen_update_delegate_smart(&screen_update_##_func, "screen_update_" #_func)); \
-
+ screen_device::static_set_screen_update(*device, screen_update_delegate_smart(&screen_update_##_func, "screen_update_" #_func));
#define MCFG_SCREEN_UPDATE_DRIVER(_class, _method) \
- screen_device::static_set_screen_update(*device, screen_update_delegate_smart(&_class::_method, #_class "::" #_method, NULL)); \
-
+ screen_device::static_set_screen_update(*device, screen_update_delegate_smart(&_class::_method, #_class "::" #_method, NULL));
#define MCFG_SCREEN_UPDATE_DEVICE(_device, _class, _method) \
- screen_device::static_set_screen_update(*device, screen_update_delegate_smart(&_class::_method, #_class "::" #_method, _device)); \
-
+ screen_device::static_set_screen_update(*device, screen_update_delegate_smart(&_class::_method, #_class "::" #_method, _device));
#define MCFG_SCREEN_VBLANK_NONE() \
- screen_device::static_set_screen_vblank(*device, screen_vblank_delegate()); \
-
+ screen_device::static_set_screen_vblank(*device, screen_vblank_delegate());
#define MCFG_SCREEN_VBLANK_STATIC(_func) \
- screen_device::static_set_screen_vblank(*device, screen_vblank_delegate(&screen_vblank_##_func, "screen_vblank_" #_func)); \
-
+ screen_device::static_set_screen_vblank(*device, screen_vblank_delegate(&screen_vblank_##_func, "screen_vblank_" #_func));
#define MCFG_SCREEN_VBLANK_DRIVER(_class, _method) \
- screen_device::static_set_screen_vblank(*device, screen_vblank_delegate(&_class::_method, #_class "::" #_method, NULL, (_class *)0)); \
-
+ screen_device::static_set_screen_vblank(*device, screen_vblank_delegate(&_class::_method, #_class "::" #_method, NULL, (_class *)0));
#define MCFG_SCREEN_VBLANK_DEVICE(_device, _class, _method) \
- screen_device::static_set_screen_vblank(*device, screen_vblank_delegate(&_class::_method, #_class "::" #_method, _device, (_class *)0)); \
-
+ screen_device::static_set_screen_vblank(*device, screen_vblank_delegate(&_class::_method, #_class "::" #_method, _device, (_class *)0));
//**************************************************************************
diff --git a/src/emu/softlist.c b/src/emu/softlist.c
index e258ca4ff52..bfb97287150 100644
--- a/src/emu/softlist.c
+++ b/src/emu/softlist.c
@@ -1377,7 +1377,6 @@ void software_list_find_approx_matches(software_list_device *swlistdev, software
software_part *part = software_find_part(swinfo, NULL, NULL);
if ((interface==NULL || softlist_contain_interface(interface, part->interface_)) && (is_software_compatible(part, swlistdev)))
{
-
/* pick the best match between driver name and description */
curpenalty = softlist_penalty_compare(name, candidate->longname);
tmp = softlist_penalty_compare(name, candidate->shortname);
diff --git a/src/emu/sound/2151intf.h b/src/emu/sound/2151intf.h
index b8c42eb01e9..c8a866384ce 100644
--- a/src/emu/sound/2151intf.h
+++ b/src/emu/sound/2151intf.h
@@ -20,11 +20,9 @@
MCFG_DEVICE_ADD(_tag, YM2151, _clock)
#define MCFG_YM2151_IRQ_HANDLER(_devcb) \
- devcb = &ym2151_device::set_irq_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &ym2151_device::set_irq_handler(*device, DEVCB2_##_devcb);
#define MCFG_YM2151_PORT_WRITE_HANDLER(_devcb) \
- devcb = &ym2151_device::set_port_write_handler(*device, DEVCB2_##_devcb); \
-
+ devcb = &ym2151_device::set_port_write_handler(*device, DEVCB2_##_devcb);
//**************************************************************************
diff --git a/src/emu/sound/aica.c b/src/emu/sound/aica.c
index 3ef493af208..a9dcd298e17 100644
--- a/src/emu/sound/aica.c
+++ b/src/emu/sound/aica.c
@@ -820,7 +820,6 @@ static void AICA_UpdateReg(aica_state *AICA, address_space &space, int reg)
static void AICA_UpdateSlotRegR(aica_state *AICA, int slot,int reg)
{
-
}
static void AICA_UpdateRegR(aica_state *AICA, address_space &space, int reg)
diff --git a/src/emu/sound/asc.h b/src/emu/sound/asc.h
index cc6c8288921..2dfe522c9c2 100644
--- a/src/emu/sound/asc.h
+++ b/src/emu/sound/asc.h
@@ -49,11 +49,9 @@ enum
MCFG_IRQ_FUNC(_irqf)
#define MCFG_ASC_TYPE(_type) \
- asc_device::static_set_type(*device, _type); \
-
+ asc_device::static_set_type(*device, _type);
#define MCFG_IRQ_FUNC(_irqf) \
- asc_device::static_set_irqf(*device, _irqf); \
-
+ asc_device::static_set_irqf(*device, _irqf);
//**************************************************************************
// TYPE DEFINITIONS
diff --git a/src/emu/sound/bsmt2000.h b/src/emu/sound/bsmt2000.h
index 1ae84979422..276050709f7 100644
--- a/src/emu/sound/bsmt2000.h
+++ b/src/emu/sound/bsmt2000.h
@@ -50,14 +50,11 @@
//**************************************************************************
#define MCFG_BSMT2000_ADD(_tag, _clock) \
- MCFG_DEVICE_ADD(_tag, BSMT2000, _clock) \
-
+ MCFG_DEVICE_ADD(_tag, BSMT2000, _clock)
#define MCFG_BSMT2000_REPLACE(_tag, _clock) \
- MCFG_DEVICE_REPLACE(_tag, BSMT2000, _clock) \
-
+ MCFG_DEVICE_REPLACE(_tag, BSMT2000, _clock)
#define MCFG_BSMT2000_READY_CALLBACK(_callback) \
- bsmt2000_device::static_set_ready_callback(*device, _callback); \
-
+ bsmt2000_device::static_set_ready_callback(*device, _callback);
//**************************************************************************
diff --git a/src/emu/sound/cdp1869.c b/src/emu/sound/cdp1869.c
index 89ebe143ffd..c65b0f2d98c 100644
--- a/src/emu/sound/cdp1869.c
+++ b/src/emu/sound/cdp1869.c
@@ -329,7 +329,6 @@ cdp1869_device::cdp1869_device(const machine_config &mconfig, const char *tag, d
m_stream(NULL),
m_space_config("pageram", ENDIANNESS_LITTLE, 8, 11, 0, NULL, *ADDRESS_MAP_NAME(cdp1869))
{
-
}
diff --git a/src/emu/sound/dac.h b/src/emu/sound/dac.h
index fdafa4eaa9f..ab7dfdfb31e 100644
--- a/src/emu/sound/dac.h
+++ b/src/emu/sound/dac.h
@@ -46,8 +46,7 @@
//**************************************************************************
#define MCFG_DAC_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, DAC, 0) \
-
+ MCFG_DEVICE_ADD(_tag, DAC, 0)
//**************************************************************************
diff --git a/src/emu/sound/disc_wav.c b/src/emu/sound/disc_wav.c
index b1d64d06405..c73e721a754 100644
--- a/src/emu/sound/disc_wav.c
+++ b/src/emu/sound/disc_wav.c
@@ -164,7 +164,6 @@ DISCRETE_STEP(dss_counter)
DISCRETE_RESET(dss_counter)
{
-
if ((int)DSS_COUNTER__CLOCK_TYPE & DISC_COUNTER_IS_7492)
{
m_is_7492 = 1;
diff --git a/src/emu/sound/discrete.c b/src/emu/sound/discrete.c
index c729aeb75c3..1e4eb16903a 100644
--- a/src/emu/sound/discrete.c
+++ b/src/emu/sound/discrete.c
@@ -176,7 +176,6 @@ private:
inline void discrete_task::step_nodes(void)
{
-
for_each(input_buffer *, sn, &source_list)
{
sn->buffer = *sn->ptr++;
@@ -284,7 +283,6 @@ void discrete_task::check(discrete_task *dest_task)
*/
for_each(discrete_step_interface **, node_entry, &step_list)
{
-
discrete_base_node *task_node = (*node_entry)->self;
for_each(discrete_step_interface **, step_entry, &dest_task->step_list)
@@ -1003,7 +1001,6 @@ void discrete_sound_device::device_start()
void discrete_device::device_reset()
{
-
update_to_current_time();
/* loop over all nodes */
@@ -1018,7 +1015,6 @@ void discrete_device::device_reset()
void discrete_sound_device::device_reset()
{
-
discrete_device::device_reset();
}
diff --git a/src/emu/sound/discrete.h b/src/emu/sound/discrete.h
index efd8cf616a2..d5fc370a3b4 100644
--- a/src/emu/sound/discrete.h
+++ b/src/emu/sound/discrete.h
@@ -4272,8 +4272,7 @@ DECLARE_READ8_DEVICE_HANDLER( discrete_sound_r );
MCFG_DISCRETE_INTF(_intf)
#define MCFG_DISCRETE_INTF(_intf) \
- discrete_device::static_set_intf(*device, (const discrete_block *)&(_intf##_discrete_interface)); \
-
+ discrete_device::static_set_intf(*device, (const discrete_block *)&(_intf##_discrete_interface));
#define MCFG_SOUND_CONFIG_DISCRETE(name) MCFG_SOUND_CONFIG(name##_discrete_interface)
//**************************************************************************
@@ -4530,7 +4529,6 @@ discrete_base_node * discrete_node_factory<C>::Create(discrete_device * pdev, co
#define DISCRETE_SOUND_EXTERN(name) extern const discrete_block name##_discrete_interface[]
#define DISCRETE_SOUND_START(name) const discrete_block name##_discrete_interface[] = {
-
#define DSC_SND_ENTRY(_nod, _class, _dss, _num, _iact, _iinit, _custom, _name) { _nod, new discrete_node_factory< DISCRETE_CLASS_NAME(_class) >, _dss, _num, _iact, _iinit, _custom, _name, # _class }
diff --git a/src/emu/sound/es5503.h b/src/emu/sound/es5503.h
index eb20a433505..e4bd6f58cca 100644
--- a/src/emu/sound/es5503.h
+++ b/src/emu/sound/es5503.h
@@ -18,14 +18,11 @@
MCFG_ES5503_ADC_FUNC(_adcf)
#define MCFG_ES5503_OUTPUT_CHANNELS(_channels) \
- es5503_device::static_set_channels(*device, _channels); \
-
+ es5503_device::static_set_channels(*device, _channels);
#define MCFG_ES5503_IRQ_FUNC(_irqf) \
- es5503_device::static_set_irqf(*device, _irqf); \
-
+ es5503_device::static_set_irqf(*device, _irqf);
#define MCFG_ES5503_ADC_FUNC(_adcf) \
- es5503_device::static_set_adcf(*device, _adcf); \
-
+ es5503_device::static_set_adcf(*device, _adcf);
// ======================> es5503_device
class es5503_device : public device_t,
diff --git a/src/emu/sound/fm.c b/src/emu/sound/fm.c
index 8e736522315..21d8751df53 100644
--- a/src/emu/sound/fm.c
+++ b/src/emu/sound/fm.c
@@ -207,7 +207,6 @@ static const UINT32 sl_table[16]={
#define RATE_STEPS (8)
static const UINT8 eg_inc[19*RATE_STEPS]={
-
/*cycle:0 1 2 3 4 5 6 7*/
/* 0 */ 0,1, 0,1, 0,1, 0,1, /* rates 00..11 0 (increment by 0 or 1) */
@@ -1083,7 +1082,6 @@ INLINE void advance_lfo(FM_OPN *OPN)
/* actually I can't optimize is this way without rewriting chan_calc()
to use chip->lfo_am instead of global lfo_am */
{
-
/* triangle */
/* AM: 0 to 126 step +2, 126 to 0 step -2 */
if (pos<64)
@@ -1169,7 +1167,6 @@ static void advance_eg_channel(FM_OPN *OPN, FM_SLOT *SLOT)
{
if ( !(OPN->eg_cnt & ((1<<SLOT->eg_sh_d2r)-1) ) )
{
-
SLOT->volume += 4 * eg_inc[SLOT->eg_sel_d2r + ((OPN->eg_cnt>>SLOT->eg_sh_d2r)&7)];
if ( SLOT->volume >= ENV_QUIET )
@@ -1886,20 +1883,17 @@ static void OPNWriteReg(FM_OPN *OPN, int r, int v)
/* SSG-EG envelope shapes :
E AtAlH
- 1 0 0 0 \\\\
-
+ 1 0 0 0 \\\
1 0 0 1 \___
1 0 1 0 \/\/
___
- 1 0 1 1 \
-
+ 1 0 1 1
1 1 0 0 ////
___
1 1 0 1 /
- 1 1 1 0 /\/\
-
+ 1 1 1 0 /\/
1 1 1 1 /___
@@ -2695,7 +2689,6 @@ static const unsigned int YM2608_ADPCM_ROM_addr[2*6] = {
*/
static const unsigned char YM2608_ADPCM_ROM[0x2000] = {
-
/* Source: 01BD.ROM */
/* Length: 448 / 0x000001C0 */
@@ -3311,7 +3304,6 @@ void ym2608_update_one(void *chip, FMSAMPLE **buffer, int length)
/* buffering */
for(i=0; i < length ; i++)
{
-
advance_lfo(OPN);
/* clear output acc. */
@@ -3857,7 +3849,6 @@ void ym2610_update_one(void *chip, FMSAMPLE **buffer, int length)
/* buffering */
for(i=0; i < length ; i++)
{
-
advance_lfo(OPN);
/* clear output acc. */
@@ -3988,7 +3979,6 @@ void ym2610b_update_one(void *chip, FMSAMPLE **buffer, int length)
/* buffering */
for(i=0; i < length ; i++)
{
-
advance_lfo(OPN);
/* clear output acc. */
diff --git a/src/emu/sound/fm2612.c b/src/emu/sound/fm2612.c
index 3b2877a7c58..49d8983e0dd 100644
--- a/src/emu/sound/fm2612.c
+++ b/src/emu/sound/fm2612.c
@@ -213,7 +213,6 @@ static const UINT32 sl_table[16]={
#define RATE_STEPS (8)
static const UINT8 eg_inc[19*RATE_STEPS]={
-
/*cycle:0 1 2 3 4 5 6 7*/
/* 0 */ 0,1, 0,1, 0,1, 0,1, /* rates 00..11 0 (increment by 0 or 1) */
@@ -1834,20 +1833,17 @@ static void OPNWriteReg(FM_OPN *OPN, int r, int v)
/* SSG-EG envelope shapes :
E AtAlH
- 1 0 0 0 \\\\
-
+ 1 0 0 0 \\\
1 0 0 1 \___
1 0 1 0 \/\/
___
- 1 0 1 1 \
-
+ 1 0 1 1
1 1 0 0 ////
___
1 1 0 1 /
- 1 1 1 0 /\/\
-
+ 1 1 1 0 /\/
1 1 1 1 /___
diff --git a/src/emu/sound/fmopl.c b/src/emu/sound/fmopl.c
index 119d110ec73..372f5cc44e2 100644
--- a/src/emu/sound/fmopl.c
+++ b/src/emu/sound/fmopl.c
@@ -399,7 +399,6 @@ static const UINT32 sl_tab[16]={
#define RATE_STEPS (8)
static const unsigned char eg_inc[15*RATE_STEPS]={
-
/*cycle:0 1 2 3 4 5 6 7*/
/* 0 */ 0,1, 0,1, 0,1, 0,1, /* rates 00..12 0 (increment by 0 or 1) */
@@ -600,7 +599,6 @@ static const UINT8 lfo_am_table[LFO_AM_TAB_ELEMENTS] = {
/* LFO Phase Modulation table (verified on real YM3812) */
static const INT8 lfo_pm_table[8*8*2] = {
-
/* FNUM2/FNUM = 00 0xxxxxxx (0x0000) */
0, 0, 0, 0, 0, 0, 0, 0, /*LFO PM depth = 0*/
0, 0, 0, 0, 0, 0, 0, 0, /*LFO PM depth = 1*/
@@ -1038,7 +1036,6 @@ INLINE void OPL_CALC_RH( FM_OPL *OPL, OPL_CH *CH, unsigned int noise )
env = volume_calc(SLOT7_1);
if( env < ENV_QUIET )
{
-
/* high hat phase generation:
phase = d0 or 234 (based on frequency only)
phase = 34 or 2d0 (based on noise)
diff --git a/src/emu/sound/gaelco.h b/src/emu/sound/gaelco.h
index e454ec85c51..d697b057b15 100644
--- a/src/emu/sound/gaelco.h
+++ b/src/emu/sound/gaelco.h
@@ -12,17 +12,13 @@
//**************************************************************************
#define MCFG_GAELCO_GAE1_ADD(_tag, _clock) \
- MCFG_DEVICE_ADD(_tag, GAELCO_GAE1, _clock) \
-
+ MCFG_DEVICE_ADD(_tag, GAELCO_GAE1, _clock)
#define MCFG_GAELCO_GAE1_REPLACE(_tag, _clock) \
- MCFG_DEVICE_REPLACE(_tag, GAELCO_GAE1, _clock) \
-
+ MCFG_DEVICE_REPLACE(_tag, GAELCO_GAE1, _clock)
#define MCFG_GAELCO_CG1V_ADD(_tag, _clock) \
- MCFG_DEVICE_ADD(_tag, GAELCO_CG1V, _clock) \
-
+ MCFG_DEVICE_ADD(_tag, GAELCO_CG1V, _clock)
#define MCFG_GAELCO_CG1V_REPLACE(_tag, _clock) \
- MCFG_DEVICE_REPLACE(_tag, GAELCO_CG1V, _clock) \
-
+ MCFG_DEVICE_REPLACE(_tag, GAELCO_CG1V, _clock)
//**************************************************************************
// TYPE DEFINITIONS
diff --git a/src/emu/sound/ics2115.h b/src/emu/sound/ics2115.h
index e53947cbfb2..d60dc6bcb40 100644
--- a/src/emu/sound/ics2115.h
+++ b/src/emu/sound/ics2115.h
@@ -10,15 +10,13 @@
#define MCFG_ICS2115_ADD(_tag, _clock, _irqf) \
MCFG_DEVICE_ADD(_tag, ICS2115, _clock) \
- MCFG_IRQ_FUNC(_irqf) \
-
+ MCFG_IRQ_FUNC(_irqf)
#define MCFG_ICS2115_REPLACE(_tag, _clock, _irqf) \
MCFG_DEVICE_REPLACE(_tag, ICS2115, _clock) \
MCFG_IRQ_FUNC(_irqf)
#define MCFG_IRQ_FUNC(_irqf) \
- ics2115_device::static_set_irqf(*device, _irqf); \
-
+ ics2115_device::static_set_irqf(*device, _irqf);
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
diff --git a/src/emu/sound/k053260.c b/src/emu/sound/k053260.c
index 096388eba57..95a753cb805 100644
--- a/src/emu/sound/k053260.c
+++ b/src/emu/sound/k053260.c
@@ -134,7 +134,6 @@ static STREAM_UPDATE( k053260_update )
}
for ( j = 0; j < samples; j++ ) {
-
dataL = dataR = 0;
for ( i = 0; i < 4; i++ ) {
@@ -142,7 +141,6 @@ static STREAM_UPDATE( k053260_update )
if ( play[i] ) {
/* see if we're done */
if ( ( pos[i] >> BASE_SHIFT ) >= end[i] ) {
-
ppcm_data[i] = 0;
if ( loop[i] )
pos[i] = 0;
@@ -160,7 +158,6 @@ static STREAM_UPDATE( k053260_update )
{
int newdata;
if ( pos[i] & 0x8000 ){
-
newdata = ((rom[i][pos[i] >> BASE_SHIFT]) >> 4) & 0x0f; /*high nybble*/
}
else{
@@ -261,7 +258,6 @@ static DEVICE_START( k053260 )
INLINE void check_bounds( k053260_state *ic, int channel )
{
-
int channel_start = ( ic->channels[channel].bank << 16 ) + ic->channels[channel].start;
int channel_end = channel_start + ic->channels[channel].size - 1;
diff --git a/src/emu/sound/k054539.h b/src/emu/sound/k054539.h
index e79dd6cdc9b..dbfefba2f12 100644
--- a/src/emu/sound/k054539.h
+++ b/src/emu/sound/k054539.h
@@ -11,8 +11,7 @@
#define MCFG_K054539_ADD(_tag, _clock, _interface) \
MCFG_DEVICE_ADD(_tag, K054539, _clock) \
- k054539_device::static_set_interface(*device, _interface); \
-
+ k054539_device::static_set_interface(*device, _interface);
struct k054539_interface
{
const char *rgnoverride;
diff --git a/src/emu/sound/nile.h b/src/emu/sound/nile.h
index 50cd2b5be4a..c6809e31eee 100644
--- a/src/emu/sound/nile.h
+++ b/src/emu/sound/nile.h
@@ -9,11 +9,9 @@
//**************************************************************************
#define MCFG_NILE_ADD(_tag, _clock) \
- MCFG_DEVICE_ADD(_tag, NILE, _clock) \
-
+ MCFG_DEVICE_ADD(_tag, NILE, _clock)
#define MCFG_NILE_REPLACE(_tag, _clock) \
- MCFG_DEVICE_REPLACE(_tag, NILE, _clock) \
-
+ MCFG_DEVICE_REPLACE(_tag, NILE, _clock)
//**************************************************************************
diff --git a/src/emu/sound/okim6295.h b/src/emu/sound/okim6295.h
index cd366663a1f..2159d7b6510 100644
--- a/src/emu/sound/okim6295.h
+++ b/src/emu/sound/okim6295.h
@@ -40,8 +40,7 @@ enum
MCFG_OKIM6295_PIN7(_pin7)
#define MCFG_OKIM6295_PIN7(_pin7) \
- okim6295_device::static_set_pin7(*device, _pin7); \
-
+ okim6295_device::static_set_pin7(*device, _pin7);
//**************************************************************************
diff --git a/src/emu/sound/okim6376.c b/src/emu/sound/okim6376.c
index b6caf3db419..f59e72d98df 100644
--- a/src/emu/sound/okim6376.c
+++ b/src/emu/sound/okim6376.c
@@ -566,7 +566,6 @@ WRITE_LINE_DEVICE_HANDLER( okim6376_st_w )
if (info->st != state)
{
-
info->st = state;
info->st_update = 1;
@@ -574,7 +573,6 @@ WRITE_LINE_DEVICE_HANDLER( okim6376_st_w )
{
struct ADPCMVoice *voice = &info->voice[info->channel];
{
-
info->st_pulses ++;
MSM6376LOG(("OKIM6376:'%s' ST pulses %x\n",device->tag(),info->st_pulses));
if (info->st_pulses > 3)
diff --git a/src/emu/sound/qs1000.c b/src/emu/sound/qs1000.c
index 218bedc430c..e04ceff8dae 100644
--- a/src/emu/sound/qs1000.c
+++ b/src/emu/sound/qs1000.c
@@ -364,7 +364,6 @@ READ8_MEMBER( qs1000_device::p3_r )
//-------------------------------------------------
WRITE8_MEMBER( qs1000_device::p0_w )
{
-
}
diff --git a/src/emu/sound/qs1000.h b/src/emu/sound/qs1000.h
index 06e41af2305..29a608fc2e7 100644
--- a/src/emu/sound/qs1000.h
+++ b/src/emu/sound/qs1000.h
@@ -59,7 +59,6 @@ class qs1000_device : public device_t,
public device_memory_interface,
public qs1000_interface
{
-
public:
// construction/destruction
qs1000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
diff --git a/src/emu/sound/qsound.h b/src/emu/sound/qsound.h
index bfd7abfe344..7c4676d3424 100644
--- a/src/emu/sound/qsound.h
+++ b/src/emu/sound/qsound.h
@@ -22,11 +22,9 @@ typedef stream_sample_t QSOUND_SAMPLE;
//**************************************************************************
#define MCFG_QSOUND_ADD(_tag, _clock) \
- MCFG_DEVICE_ADD(_tag, QSOUND, _clock) \
-
+ MCFG_DEVICE_ADD(_tag, QSOUND, _clock)
#define MCFG_QSOUND_REPLACE(_tag, _clock) \
- MCFG_DEVICE_REPLACE(_tag, QSOUND, _clock) \
-
+ MCFG_DEVICE_REPLACE(_tag, QSOUND, _clock)
//**************************************************************************
diff --git a/src/emu/sound/scsp.c b/src/emu/sound/scsp.c
index 2b0fe12819e..0f803484c75 100644
--- a/src/emu/sound/scsp.c
+++ b/src/emu/sound/scsp.c
@@ -831,7 +831,6 @@ static void SCSP_UpdateReg(scsp_state *scsp, address_space &space, int reg)
static void SCSP_UpdateSlotRegR(scsp_state *scsp, int slot,int reg)
{
-
}
static void SCSP_UpdateRegR(scsp_state *scsp, address_space &space, int reg)
diff --git a/src/emu/sound/segapcm.h b/src/emu/sound/segapcm.h
index 485f254b2d9..ea01e9a0784 100644
--- a/src/emu/sound/segapcm.h
+++ b/src/emu/sound/segapcm.h
@@ -20,11 +20,9 @@
//**************************************************************************
#define MCFG_SEGAPCM_ADD(_tag, _clock) \
- MCFG_DEVICE_ADD(_tag, SEGAPCM, _clock) \
-
+ MCFG_DEVICE_ADD(_tag, SEGAPCM, _clock)
#define MCFG_SEGAPCM_REPLACE(_tag, _clock) \
- MCFG_DEVICE_REPLACE(_tag, SEGAPCM, _clock) \
-
+ MCFG_DEVICE_REPLACE(_tag, SEGAPCM, _clock)
//**************************************************************************
// TYPE DEFINITIONS
diff --git a/src/emu/sound/snkwave.h b/src/emu/sound/snkwave.h
index 19fcbd82fe0..97373410e37 100644
--- a/src/emu/sound/snkwave.h
+++ b/src/emu/sound/snkwave.h
@@ -10,11 +10,9 @@
//**************************************************************************
#define MCFG_SNKWAVE_ADD(_tag, _clock) \
- MCFG_DEVICE_ADD(_tag, SNKWAVE, _clock) \
-
+ MCFG_DEVICE_ADD(_tag, SNKWAVE, _clock)
#define MCFG_SNKWAVE_REPLACE(_tag, _clock) \
- MCFG_DEVICE_REPLACE(_tag, SNKWAVE, _clock) \
-
+ MCFG_DEVICE_REPLACE(_tag, SNKWAVE, _clock)
//**************************************************************************
diff --git a/src/emu/sound/tms5110.c b/src/emu/sound/tms5110.c
index 01be92167ff..9fd26c7ea82 100644
--- a/src/emu/sound/tms5110.c
+++ b/src/emu/sound/tms5110.c
@@ -427,7 +427,6 @@ void tms5110_process(tms5110_state *tms, INT16 *buffer, unsigned int size)
/* if we're to speak, but haven't started */
if (!tms->talk_status)
{
-
/* a "dummy read" is mentioned in the tms5200 datasheet */
/* The Bagman speech roms data are organized in such a way that
** the bit at address 0 is NOT a speech data. The bit at address 1
@@ -455,7 +454,6 @@ void tms5110_process(tms5110_state *tms, INT16 *buffer, unsigned int size)
/* if we're ready for a new frame */
if ((tms->interp_count == 0) && (tms->sample_count == 0))
{
-
/* remember previous frame */
tms->old_energy = tms->new_energy;
tms->old_pitch = tms->new_pitch;
diff --git a/src/emu/sound/votrax.h b/src/emu/sound/votrax.h
index 8e4b3db69c3..07e51b9c8c9 100644
--- a/src/emu/sound/votrax.h
+++ b/src/emu/sound/votrax.h
@@ -51,8 +51,7 @@
#define MCFG_VOTRAX_SC01_ADD(_tag, _clock, _interface) \
MCFG_DEVICE_ADD(_tag, VOTRAX_SC01, _clock) \
- votrax_sc01_device::static_set_interface(*device, _interface); \
-
+ votrax_sc01_device::static_set_interface(*device, _interface);
//**************************************************************************
diff --git a/src/emu/sound/vrender0.h b/src/emu/sound/vrender0.h
index 064fc359873..483c9f56b55 100644
--- a/src/emu/sound/vrender0.h
+++ b/src/emu/sound/vrender0.h
@@ -9,11 +9,9 @@
//**************************************************************************
#define MCFG_SOUND_VRENDER0_ADD(_tag, _clock) \
- MCFG_DEVICE_ADD(_tag, VRENDER0, _clock) \
-
+ MCFG_DEVICE_ADD(_tag, VRENDER0, _clock)
#define MCFG_SOUND_VRENDER0_REPLACE(_tag, _clock) \
- MCFG_DEVICE_REPLACE(_tag, VRENDER0, _clock) \
-
+ MCFG_DEVICE_REPLACE(_tag, VRENDER0, _clock)
//**************************************************************************
diff --git a/src/emu/sound/ym2151.c b/src/emu/sound/ym2151.c
index de5c21e4ba3..669115b1c9c 100644
--- a/src/emu/sound/ym2151.c
+++ b/src/emu/sound/ym2151.c
@@ -229,7 +229,6 @@ static UINT32 d1l_tab[16];
#define RATE_STEPS (8)
static const UINT8 eg_inc[19*RATE_STEPS]={
-
/*cycle:0 1 2 3 4 5 6 7*/
/* 0 */ 0,1, 0,1, 0,1, 0,1, /* rates 00..11 0 (increment by 0 or 1) */
diff --git a/src/emu/sound/ym2413.c b/src/emu/sound/ym2413.c
index ba0cb8acff1..7126c7f590e 100644
--- a/src/emu/sound/ym2413.c
+++ b/src/emu/sound/ym2413.c
@@ -335,7 +335,6 @@ static const UINT32 sl_tab[16]={
#define RATE_STEPS (8)
static const unsigned char eg_inc[15*RATE_STEPS]={
-
/*cycle:0 1 2 3 4 5 6 7*/
/* 0 */ 0,1, 0,1, 0,1, 0,1, /* rates 00..12 0 (increment by 0 or 1) */
@@ -536,7 +535,6 @@ static const UINT8 lfo_am_table[LFO_AM_TAB_ELEMENTS] = {
/* LFO Phase Modulation table (verified on real YM2413) */
static const INT8 lfo_pm_table[8*8] = {
-
/* FNUM2/FNUM = 0 00xxxxxx (0x0000) */
0, 0, 0, 0, 0, 0, 0, 0,
@@ -673,7 +671,6 @@ INLINE void advance(YM2413 *chip)
switch(op->state)
{
-
case EG_DMP: /* dump phase */
/*dump phase is performed by both operators in each channel*/
/*when CARRIER envelope gets down to zero level,
@@ -1051,7 +1048,6 @@ INLINE void rhythm_calc( YM2413 *chip, OPLL_CH *CH, unsigned int noise )
env = volume_calc(SLOT7_1);
if( env < ENV_QUIET )
{
-
/* high hat phase generation:
phase = d0 or 234 (based on frequency only)
phase = 34 or 2d0 (based on noise)
diff --git a/src/emu/sound/ymdeltat.c b/src/emu/sound/ymdeltat.c
index f5ed6f3ce00..285fe23ffdb 100644
--- a/src/emu/sound/ymdeltat.c
+++ b/src/emu/sound/ymdeltat.c
@@ -484,7 +484,6 @@ INLINE void YM_DELTAT_synthesis_from_external_memory(YM_DELTAT *DELTAT)
step = DELTAT->now_step >> YM_DELTAT_SHIFT;
DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1;
do{
-
if ( DELTAT->now_addr == (DELTAT->limit<<1) )
DELTAT->now_addr = 0;
@@ -566,7 +565,6 @@ INLINE void YM_DELTAT_synthesis_from_CPU_memory(YM_DELTAT *DELTAT)
step = DELTAT->now_step >> YM_DELTAT_SHIFT;
DELTAT->now_step &= (1<<YM_DELTAT_SHIFT)-1;
do{
-
if( DELTAT->now_addr&1 )
{
data = DELTAT->now_data & 0x0f;
@@ -616,7 +614,6 @@ INLINE void YM_DELTAT_synthesis_from_CPU_memory(YM_DELTAT *DELTAT)
/* ADPCM B (Delta-T control type) */
void YM_DELTAT_ADPCM_CALC(YM_DELTAT *DELTAT)
{
-
/*
some examples:
value: START, REC, MEMDAT, REPEAT, SPOFF, x,x,RESET meaning:
diff --git a/src/emu/sound/ymf262.c b/src/emu/sound/ymf262.c
index 9b2ba48f555..552cf603435 100644
--- a/src/emu/sound/ymf262.c
+++ b/src/emu/sound/ymf262.c
@@ -352,7 +352,6 @@ static const UINT32 sl_tab[16]={
#define RATE_STEPS (8)
static const unsigned char eg_inc[15*RATE_STEPS]={
-
/*cycle:0 1 2 3 4 5 6 7*/
/* 0 */ 0,1, 0,1, 0,1, 0,1, /* rates 00..12 0 (increment by 0 or 1) */
@@ -557,7 +556,6 @@ static const UINT8 lfo_am_table[LFO_AM_TAB_ELEMENTS] = {
/* LFO Phase Modulation table (verified on real YM3812) */
static const INT8 lfo_pm_table[8*8*2] = {
-
/* FNUM2/FNUM = 00 0xxxxxxx (0x0000) */
0, 0, 0, 0, 0, 0, 0, 0, /*LFO PM depth = 0*/
0, 0, 0, 0, 0, 0, 0, 0, /*LFO PM depth = 1*/
@@ -1031,7 +1029,6 @@ INLINE void chan_calc_rhythm( OPL3 *chip, OPL3_CH *CH, unsigned int noise )
env = volume_calc(SLOT7_1);
if( env < ENV_QUIET )
{
-
/* high hat phase generation:
phase = d0 or 234 (based on frequency only)
phase = 34 or 2d0 (based on noise)
diff --git a/src/emu/speaker.h b/src/emu/speaker.h
index 27df82e23e5..5b797e53492 100644
--- a/src/emu/speaker.h
+++ b/src/emu/speaker.h
@@ -63,8 +63,7 @@ extern const device_type SPEAKER;
// add/remove speakers
#define MCFG_SPEAKER_ADD(_tag, _x, _y, _z) \
MCFG_DEVICE_ADD(_tag, SPEAKER, 0) \
- speaker_device::static_set_position(*device, _x, _y, _z); \
-
+ speaker_device::static_set_position(*device, _x, _y, _z);
#define MCFG_SPEAKER_STANDARD_MONO(_tag) \
MCFG_SPEAKER_ADD(_tag, 0.0, 0.0, 1.0)
diff --git a/src/emu/timer.h b/src/emu/timer.h
index 5dc23d4c5de..77b43aaad26 100644
--- a/src/emu/timer.h
+++ b/src/emu/timer.h
@@ -62,50 +62,38 @@
#define MCFG_TIMER_ADD(_tag, _callback) \
MCFG_DEVICE_ADD(_tag, TIMER, 0) \
- timer_device::static_configure_generic(*device, timer_device_expired_delegate(&_callback, #_callback)); \
-
+ timer_device::static_configure_generic(*device, timer_device_expired_delegate(&_callback, #_callback));
#define MCFG_TIMER_ADD_NONE(_tag) \
MCFG_DEVICE_ADD(_tag, TIMER, 0) \
- timer_device::static_configure_generic(*device, timer_device_expired_delegate()); \
-
+ timer_device::static_configure_generic(*device, timer_device_expired_delegate());
#define MCFG_TIMER_ADD_PERIODIC(_tag, _callback, _period) \
MCFG_DEVICE_ADD(_tag, TIMER, 0) \
- timer_device::static_configure_periodic(*device, timer_device_expired_delegate(&_callback, #_callback), _period); \
-
+ timer_device::static_configure_periodic(*device, timer_device_expired_delegate(&_callback, #_callback), _period);
#define MCFG_TIMER_ADD_SCANLINE(_tag, _callback, _screen, _first_vpos, _increment) \
MCFG_DEVICE_ADD(_tag, TIMER, 0) \
- timer_device::static_configure_scanline(*device, timer_device_expired_delegate(&_callback, #_callback), _screen, _first_vpos, _increment); \
-
+ timer_device::static_configure_scanline(*device, timer_device_expired_delegate(&_callback, #_callback), _screen, _first_vpos, _increment);
#define MCFG_TIMER_DRIVER_ADD(_tag, _class, _callback) \
MCFG_DEVICE_ADD(_tag, TIMER, 0) \
- timer_device::static_configure_generic(*device, timer_device_expired_delegate(&_class::_callback, #_class "::" #_callback, NULL, (_class *)0)); \
-
+ timer_device::static_configure_generic(*device, timer_device_expired_delegate(&_class::_callback, #_class "::" #_callback, NULL, (_class *)0));
#define MCFG_TIMER_DRIVER_ADD_PERIODIC(_tag, _class, _callback, _period) \
MCFG_DEVICE_ADD(_tag, TIMER, 0) \
- timer_device::static_configure_periodic(*device, timer_device_expired_delegate(&_class::_callback, #_class "::" #_callback, NULL, (_class *)0), _period); \
-
+ timer_device::static_configure_periodic(*device, timer_device_expired_delegate(&_class::_callback, #_class "::" #_callback, NULL, (_class *)0), _period);
#define MCFG_TIMER_DRIVER_ADD_SCANLINE(_tag, _class, _callback, _screen, _first_vpos, _increment) \
MCFG_DEVICE_ADD(_tag, TIMER, 0) \
- timer_device::static_configure_scanline(*device, timer_device_expired_delegate(&_class::_callback, #_class "::" #_callback, NULL, (_class *)0), _screen, _first_vpos, _increment); \
-
+ timer_device::static_configure_scanline(*device, timer_device_expired_delegate(&_class::_callback, #_class "::" #_callback, NULL, (_class *)0), _screen, _first_vpos, _increment);
#define MCFG_TIMER_MODIFY(_tag) \
MCFG_DEVICE_MODIFY(_tag)
#define MCFG_TIMER_CALLBACK(_callback) \
- timer_device::static_set_callback(*device, timer_device_expired_delegate(&_callback, #_callback)); \
-
+ timer_device::static_set_callback(*device, timer_device_expired_delegate(&_callback, #_callback));
#define MCFG_TIMER_DRIVER_CALLBACK(_class, _callback) \
- timer_device::static_set_callback(*device, timer_device_expired_delegate(&_class::_callback, #_class "::" #_callback, NULL, (_class *)0)); \
-
+ timer_device::static_set_callback(*device, timer_device_expired_delegate(&_class::_callback, #_class "::" #_callback, NULL, (_class *)0));
#define MCFG_TIMER_START_DELAY(_start_delay) \
- timer_device::static_set_start_delay(*device, _start_delay); \
-
+ timer_device::static_set_start_delay(*device, _start_delay);
#define MCFG_TIMER_PARAM(_param) \
- timer_device::static_set_param(*device, _param); \
-
+ timer_device::static_set_param(*device, _param);
#define MCFG_TIMER_PTR(_ptr) \
- timer_device::static_set_ptr(*device, (void *)(_ptr)); \
-
+ timer_device::static_set_ptr(*device, (void *)(_ptr));
//**************************************************************************
diff --git a/src/emu/validity.c b/src/emu/validity.c
index 59c965bf15a..42d2fe31bf0 100644
--- a/src/emu/validity.c
+++ b/src/emu/validity.c
@@ -336,7 +336,6 @@ void validity_checker::validate_one(const game_driver &driver)
void validity_checker::validate_core()
{
-
// basic system checks
UINT8 a = 0xff;
UINT8 b = a + 1;
diff --git a/src/emu/video/bufsprite.h b/src/emu/video/bufsprite.h
index 7d5b21cb32c..7c94ec3bba4 100644
--- a/src/emu/video/bufsprite.h
+++ b/src/emu/video/bufsprite.h
@@ -61,17 +61,13 @@ extern const device_type BUFFERED_SPRITERAM64;
//**************************************************************************
#define MCFG_BUFFERED_SPRITERAM8_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, BUFFERED_SPRITERAM8, 0) \
-
+ MCFG_DEVICE_ADD(_tag, BUFFERED_SPRITERAM8, 0)
#define MCFG_BUFFERED_SPRITERAM16_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, BUFFERED_SPRITERAM16, 0) \
-
+ MCFG_DEVICE_ADD(_tag, BUFFERED_SPRITERAM16, 0)
#define MCFG_BUFFERED_SPRITERAM32_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, BUFFERED_SPRITERAM32, 0) \
-
+ MCFG_DEVICE_ADD(_tag, BUFFERED_SPRITERAM32, 0)
#define MCFG_BUFFERED_SPRITERAM64_ADD(_tag) \
- MCFG_DEVICE_ADD(_tag, BUFFERED_SPRITERAM64, 0) \
-
+ MCFG_DEVICE_ADD(_tag, BUFFERED_SPRITERAM64, 0)
//**************************************************************************
diff --git a/src/emu/video/huc6272.c b/src/emu/video/huc6272.c
index 1a417fb3134..efb382f6bc6 100644
--- a/src/emu/video/huc6272.c
+++ b/src/emu/video/huc6272.c
@@ -68,7 +68,6 @@ huc6272_device::huc6272_device(const machine_config &mconfig, const char *tag, d
device_memory_interface(mconfig, *this),
m_space_config("videoram", ENDIANNESS_LITTLE, 32, 32, 0, NULL, *ADDRESS_MAP_NAME(huc6272_vram))
{
-
}
@@ -88,7 +87,6 @@ void huc6272_device::device_validity_check(validity_checker &valid) const
void huc6272_device::device_start()
{
-
}
@@ -168,7 +166,6 @@ WRITE32_MEMBER( huc6272_device::write )
{
switch(m_register)
{
-
case 0x09: // DMA addr
//printf("%08x DMA ADDR\n",data);
break;
diff --git a/src/emu/video/m50458.c b/src/emu/video/m50458.c
index 56e9feb9f62..fbce138f50d 100644
--- a/src/emu/video/m50458.c
+++ b/src/emu/video/m50458.c
@@ -92,7 +92,6 @@ WRITE16_MEMBER( m50458_device::vreg_123_w)
WRITE16_MEMBER( m50458_device::vreg_124_w)
{
-
}
WRITE16_MEMBER( m50458_device::vreg_125_w)
diff --git a/src/emu/video/m50458.h b/src/emu/video/m50458.h
index 58b9c897fa6..7efcd0eb88f 100644
--- a/src/emu/video/m50458.h
+++ b/src/emu/video/m50458.h
@@ -17,8 +17,7 @@ Mitsubishi M50458 OSD chip
#define MCFG_M50458_ADD(_tag,_config,_freq) \
MCFG_DEVICE_ADD(_tag, M50458,_freq) \
- MCFG_DEVICE_CONFIG(_config) \
-
+ MCFG_DEVICE_CONFIG(_config)
#define M50458_INTERFACE(name) \
const m50458_interface (name) =
diff --git a/src/emu/video/mb90082.c b/src/emu/video/mb90082.c
index 7c6deff6c43..58290d60b97 100644
--- a/src/emu/video/mb90082.c
+++ b/src/emu/video/mb90082.c
@@ -109,7 +109,6 @@ void mb90082_device::device_validity_check(validity_checker &valid) const
void mb90082_device::device_start()
{
-
}
diff --git a/src/emu/video/mb90082.h b/src/emu/video/mb90082.h
index bb263c95475..0e53037d965 100644
--- a/src/emu/video/mb90082.h
+++ b/src/emu/video/mb90082.h
@@ -16,8 +16,7 @@ Template for skeleton device
//**************************************************************************
#define MCFG_MB90082_ADD(_tag,_freq) \
- MCFG_DEVICE_ADD(_tag, MB90082, _freq) \
-
+ MCFG_DEVICE_ADD(_tag, MB90082, _freq)
//**************************************************************************
// TYPE DEFINITIONS
diff --git a/src/emu/video/psx.c b/src/emu/video/psx.c
index 2cf14f30a99..4aaf1725e84 100644
--- a/src/emu/video/psx.c
+++ b/src/emu/video/psx.c
@@ -950,8 +950,7 @@ void psxgpu_device::decode_tpage( UINT32 tpage )
n_distance--; \
} \
break; \
- } \
-
+ }
#define FLATTEXTUREDPOLYGONUPDATE \
n_u.d += n_du; \
n_v.d += n_dv;
@@ -969,7 +968,6 @@ void psxgpu_device::decode_tpage( UINT32 tpage )
#define TEXTURE_LOOP \
while( n_distance > 0 ) \
{
-
#define TEXTURE_ENDLOOP \
}
diff --git a/src/emu/video/ramdac.c b/src/emu/video/ramdac.c
index 4930f0e1878..4f3df8fffa5 100644
--- a/src/emu/video/ramdac.c
+++ b/src/emu/video/ramdac.c
@@ -42,7 +42,6 @@ ramdac_device::ramdac_device(const machine_config &mconfig, const char *tag, dev
device_memory_interface(mconfig, *this),
m_space_config("videoram", ENDIANNESS_LITTLE, 8, 10, 0, NULL, *ADDRESS_MAP_NAME(ramdac_palram))
{
-
}
//-------------------------------------------------
diff --git a/src/emu/video/resnet.c b/src/emu/video/resnet.c
index 20f873ab28e..4b69fd0160a 100644
--- a/src/emu/video/resnet.c
+++ b/src/emu/video/resnet.c
@@ -59,7 +59,6 @@ double compute_resistor_weights(
int count_2, const int * resistances_2, double * weights_2, int pulldown_2, int pullup_2,
int count_3, const int * resistances_3, double * weights_3, int pulldown_3, int pullup_3 )
{
-
int networks_no;
int rescount[MAX_NETS]; /* number of resistors in each of the nets */
@@ -239,7 +238,6 @@ double compute_resistor_net_outputs(
int count_2, const int * resistances_2, double * outputs_2, int pulldown_2, int pullup_2,
int count_3, const int * resistances_3, double * outputs_3, int pulldown_3, int pullup_3 )
{
-
int networks_no;
int rescount[MAX_NETS]; /* number of resistors in each of the nets */
diff --git a/src/emu/video/v9938.c b/src/emu/video/v9938.c
index 1e1511e48ac..ec00d6b24eb 100644
--- a/src/emu/video/v9938.c
+++ b/src/emu/video/v9938.c
@@ -2272,7 +2272,6 @@ re-used here so that they have to be entered only once
*************************************************************/
#define pre_loop \
while ((cnt-=delta) > 0) {
-
#define post_loop \
}
@@ -2524,8 +2523,7 @@ void v99x8_device::srch_engine()
#define post_srch(MX) \
{ m_stat_reg[2]|=0x10; /* Border detected */ break; } \
- if ((SX+=TX) & MX) { m_stat_reg[2] &= 0xEF; /* Border not detected */ break; } \
-
+ if ((SX+=TX) & MX) { m_stat_reg[2] &= 0xEF; /* Border not detected */ break; }
switch (m_mode) {
default:
case V9938_MODE_GRAPHIC4: pre_loop if ((VDPpoint5(MXD, SX, SY)==CL) ^ANX) post_srch(256) post_loop
@@ -2761,7 +2759,6 @@ void v99x8_device::lmmm_engine()
void v99x8_device::lmcm_engine()
{
if ((m_stat_reg[2]&0x80)!=0x80) {
-
m_stat_reg[7]=m_cont_reg[44]=VDP_POINT(((m_mode >= 5) && (m_mode <= 8)) ? (m_mode-5) : 0, m_mmc.MXS, m_mmc.ASX, m_mmc.SY);
m_vdp_ops_count-=get_vdp_timing_value(lmmv_timing);
m_stat_reg[2]|=0x80;
@@ -2997,7 +2994,6 @@ void v99x8_device::ymmm_engine()
void v99x8_device::hmmc_engine()
{
if ((m_stat_reg[2]&0x80)!=0x80) {
-
m_vram_space->write_byte(VDP_VRMP(((m_mode >= 5) && (m_mode <= 8)) ? (m_mode-5) : 0, m_mmc.MXD, m_mmc.ADX, m_mmc.DY), m_cont_reg[44]);
m_vdp_ops_count -= get_vdp_timing_value(hmmv_timing);
m_stat_reg[2]|=0x80;
diff --git a/src/emu/video/v9938.h b/src/emu/video/v9938.h
index 14731a2b17a..f1f7722d7b7 100644
--- a/src/emu/video/v9938.h
+++ b/src/emu/video/v9938.h
@@ -18,13 +18,11 @@
#define MCFG_V9938_ADD(_tag, _screen, _vramsize) \
MCFG_DEVICE_ADD(_tag, V9938, 0) \
v9938_device::static_set_screen(*device, _screen); \
- v9938_device::static_set_vram_size(*device, _vramsize); \
-
+ v9938_device::static_set_vram_size(*device, _vramsize);
#define MCFG_V9958_ADD(_tag, _screen, _vramsize) \
MCFG_DEVICE_ADD(_tag, V9958, 0) \
v9938_device::static_set_screen(*device, _screen); \
- v9938_device::static_set_vram_size(*device, _vramsize); \
-
+ v9938_device::static_set_vram_size(*device, _vramsize);
#define MCFG_V99X8_INTERRUPT_CALLBACK_STATIC(_func) \
v9938_device::static_set_interrupt_callback(*device, v99x8_interrupt_delegate(_func, #_func, (device_t *)0), device->tag());
diff --git a/src/emu/video/vooddefs.h b/src/emu/video/vooddefs.h
index 5f5c8e8bdd1..5e821c09237 100644
--- a/src/emu/video/vooddefs.h
+++ b/src/emu/video/vooddefs.h
@@ -1053,53 +1053,43 @@ static const UINT8 dither_matrix_2x2[16] =
#define EXTRACT_565_TO_888(val, a, b, c) \
(a) = (((val) >> 8) & 0xf8) | (((val) >> 13) & 0x07); \
(b) = (((val) >> 3) & 0xfc) | (((val) >> 9) & 0x03); \
- (c) = (((val) << 3) & 0xf8) | (((val) >> 2) & 0x07); \
-
+ (c) = (((val) << 3) & 0xf8) | (((val) >> 2) & 0x07);
#define EXTRACT_x555_TO_888(val, a, b, c) \
(a) = (((val) >> 7) & 0xf8) | (((val) >> 12) & 0x07); \
(b) = (((val) >> 2) & 0xf8) | (((val) >> 7) & 0x07); \
- (c) = (((val) << 3) & 0xf8) | (((val) >> 2) & 0x07); \
-
+ (c) = (((val) << 3) & 0xf8) | (((val) >> 2) & 0x07);
#define EXTRACT_555x_TO_888(val, a, b, c) \
(a) = (((val) >> 8) & 0xf8) | (((val) >> 13) & 0x07); \
(b) = (((val) >> 3) & 0xf8) | (((val) >> 8) & 0x07); \
- (c) = (((val) << 2) & 0xf8) | (((val) >> 3) & 0x07); \
-
+ (c) = (((val) << 2) & 0xf8) | (((val) >> 3) & 0x07);
#define EXTRACT_1555_TO_8888(val, a, b, c, d) \
(a) = ((INT16)(val) >> 15) & 0xff; \
- EXTRACT_x555_TO_888(val, b, c, d) \
-
+ EXTRACT_x555_TO_888(val, b, c, d)
#define EXTRACT_5551_TO_8888(val, a, b, c, d) \
EXTRACT_555x_TO_888(val, a, b, c) \
- (d) = ((val) & 0x0001) ? 0xff : 0x00; \
-
+ (d) = ((val) & 0x0001) ? 0xff : 0x00;
#define EXTRACT_x888_TO_888(val, a, b, c) \
(a) = ((val) >> 16) & 0xff; \
(b) = ((val) >> 8) & 0xff; \
- (c) = ((val) >> 0) & 0xff; \
-
+ (c) = ((val) >> 0) & 0xff;
#define EXTRACT_888x_TO_888(val, a, b, c) \
(a) = ((val) >> 24) & 0xff; \
(b) = ((val) >> 16) & 0xff; \
- (c) = ((val) >> 8) & 0xff; \
-
+ (c) = ((val) >> 8) & 0xff;
#define EXTRACT_8888_TO_8888(val, a, b, c, d) \
(a) = ((val) >> 24) & 0xff; \
(b) = ((val) >> 16) & 0xff; \
(c) = ((val) >> 8) & 0xff; \
- (d) = ((val) >> 0) & 0xff; \
-
+ (d) = ((val) >> 0) & 0xff;
#define EXTRACT_4444_TO_8888(val, a, b, c, d) \
(a) = (((val) >> 8) & 0xf0) | (((val) >> 12) & 0x0f); \
(b) = (((val) >> 4) & 0xf0) | (((val) >> 8) & 0x0f); \
(c) = (((val) >> 0) & 0xf0) | (((val) >> 4) & 0x0f); \
- (d) = (((val) << 4) & 0xf0) | (((val) >> 0) & 0x0f); \
-
+ (d) = (((val) << 4) & 0xf0) | (((val) >> 0) & 0x0f);
#define EXTRACT_332_TO_888(val, a, b, c) \
(a) = (((val) >> 0) & 0xe0) | (((val) >> 3) & 0x1c) | (((val) >> 6) & 0x03); \
(b) = (((val) << 3) & 0xe0) | (((val) >> 0) & 0x1c) | (((val) >> 3) & 0x03); \
- (c) = (((val) << 6) & 0xc0) | (((val) << 4) & 0x30) | (((val) << 2) & 0xc0) | (((val) << 0) & 0x03); \
-
+ (c) = (((val) << 6) & 0xc0) | (((val) << 4) & 0x30) | (((val) << 2) & 0xc0) | (((val) << 0) & 0x03);
/*************************************
@@ -2108,11 +2098,9 @@ INLINE UINT32 compute_raster_hash(const raster_info *info)
#define DECLARE_DITHER_POINTERS \
const UINT8 *dither_lookup = NULL; \
const UINT8 *dither4 = NULL; \
- const UINT8 *dither = NULL \
-
+ const UINT8 *dither = NULL
#define DECLARE_DITHER_POINTERS_NO_DITHER_VAR \
- const UINT8 *dither_lookup = NULL; \
-
+ const UINT8 *dither_lookup = NULL;
#define COMPUTE_DITHER_POINTERS(FBZMODE, YY) \
do \
{ \
diff --git a/src/lib/expat/xmlparse.c b/src/lib/expat/xmlparse.c
index 64fcf76a53c..209d047591b 100644
--- a/src/lib/expat/xmlparse.c
+++ b/src/lib/expat/xmlparse.c
@@ -1967,7 +1967,6 @@ XML_ErrorString(enum XML_Error code)
const XML_LChar * XMLCALL
XML_ExpatVersion(void) {
-
/* V1 is used to string-ize the version number. However, it would
string-ize the actual version macro *names* unless we get them
substituted before being passed to V1. CPP is defined to expand
@@ -3075,7 +3074,6 @@ addBinding(XML_Parser parser, PREFIX *prefix, const ATTRIBUTE_ID *attId,
&& prefix->name[0] == XML_T(ASCII_x)
&& prefix->name[1] == XML_T(ASCII_m)
&& prefix->name[2] == XML_T(ASCII_l)) {
-
/* Not allowed to bind xmlns */
if (prefix->name[3] == XML_T(ASCII_n)
&& prefix->name[4] == XML_T(ASCII_s)
diff --git a/src/lib/formats/ami_dsk.c b/src/lib/formats/ami_dsk.c
index c1a187bd01e..96857c9fc0c 100644
--- a/src/lib/formats/ami_dsk.c
+++ b/src/lib/formats/ami_dsk.c
@@ -174,7 +174,6 @@ bool adf_format::save(io_generic *io, floppy_image *image)
if(g32(trackbuf, track_size, i) == 0x44894489 &&
(g32(trackbuf, track_size, i+384) & 0x55555555) == checksum(trackbuf, track_size, i+32, 10) &&
(g32(trackbuf, track_size, i+448) & 0x55555555) == checksum(trackbuf, track_size, i+480, 256)) {
-
UINT32 head = ((g32(trackbuf, track_size, i+32) & 0x55555555) << 1) | (g32(trackbuf, track_size, i+64) & 0x55555555);
int sect = (head >> 8) & 0xff;
if(sect > (hd ? 22 : 11))
diff --git a/src/lib/formats/cassimg.h b/src/lib/formats/cassimg.h
index 550e1d16a95..bb1185c53cd 100644
--- a/src/lib/formats/cassimg.h
+++ b/src/lib/formats/cassimg.h
@@ -148,11 +148,9 @@ extern const struct CassetteFormat wavfile_format;
#define CASSETTE_FORMATLIST_START(name) \
const struct CassetteFormat *const name[] = \
{ \
- &wavfile_format, \
-
+ &wavfile_format,
#define CASSETTE_FORMAT(name) \
- &(name), \
-
+ &(name),
#define CASSETTE_FORMATLIST_END \
NULL \
};
diff --git a/src/lib/formats/flopimg.h b/src/lib/formats/flopimg.h
index 87b0a4d167c..58887426a92 100644
--- a/src/lib/formats/flopimg.h
+++ b/src/lib/formats/flopimg.h
@@ -116,18 +116,15 @@ FLOPPY_CONSTRUCT(fdi_dsk_construct);
#define LEGACY_FLOPPY_OPTIONS_START(name) \
const struct FloppyFormat floppyoptions_##name[] = \
- { \
-
+ {
#define LEGACY_FLOPPY_OPTIONS_END0 \
{ NULL } \
};
#define LEGACY_FLOPPY_OPTIONS_EXTERN(name) \
- extern const struct FloppyFormat floppyoptions_##name[] \
-
+ extern const struct FloppyFormat floppyoptions_##name[]
#define LEGACY_FLOPPY_OPTION(name, extensions_, description_, identify_, construct_, destruct_, ranges_)\
- { #name, extensions_, description_, identify_, construct_, destruct_, ranges_ }, \
-
+ { #name, extensions_, description_, identify_, construct_, destruct_, ranges_ },
#define LEGACY_FLOPPY_OPTIONS_END \
LEGACY_FLOPPY_OPTION( fdi, "fdi", "Formatted Disk Image", fdi_dsk_identify, fdi_dsk_construct, NULL, NULL) \
LEGACY_FLOPPY_OPTION( td0, "td0", "Teledisk floppy disk image", td0_dsk_identify, td0_dsk_construct, td0_dsk_destruct, NULL) \
diff --git a/src/lib/formats/gtp_cas.c b/src/lib/formats/gtp_cas.c
index 7f786bf1ab6..47baa0aba7e 100644
--- a/src/lib/formats/gtp_cas.c
+++ b/src/lib/formats/gtp_cas.c
@@ -135,7 +135,6 @@ static int gtp_cas_fill_wave( INT16 *buffer, int length, UINT8 *bytes ) {
int block_size = bytes[n+2]*256 + bytes[n+1];
n+=5;
if (block_type==GTP_BLOCK_STANDARD) {
-
// Interblock pause
wave_data = WAVE_NULL;
gtp_output_wave(&buffer,INTERBLOCK_PAUSE);
diff --git a/src/lib/formats/kc_cas.c b/src/lib/formats/kc_cas.c
index 8469b2e0e54..1f39129c27e 100644
--- a/src/lib/formats/kc_cas.c
+++ b/src/lib/formats/kc_cas.c
@@ -45,7 +45,6 @@ INLINE int kc_cas_cycle(INT16 *buffer, int sample_pos, int len)
if (buffer)
{
-
for (int i=0; i<num_samples; i++)
buffer[ sample_pos + i ] = SMPHI;
diff --git a/src/lib/formats/pasti_dsk.c b/src/lib/formats/pasti_dsk.c
index 45c7aa51acf..96f64d887c5 100644
--- a/src/lib/formats/pasti_dsk.c
+++ b/src/lib/formats/pasti_dsk.c
@@ -530,7 +530,6 @@ void pasti_format::map_sectors_in_track(wd_obs &obs, wd_sect_info *sect_infos)
tdata[(i+1) % tsize] == 0xa1 &&
(tdata[(i+2) % tsize] == 0xfe ||
tdata[(i+2) % tsize] == 0xff)) {
-
UINT8 hbyte = tdata[(i+2) % tsize];
int hpos = (i+3) % tsize;
int j;
diff --git a/src/lib/formats/primoptp.c b/src/lib/formats/primoptp.c
index 5de9a1a7bef..ad8606617d9 100644
--- a/src/lib/formats/primoptp.c
+++ b/src/lib/formats/primoptp.c
@@ -140,7 +140,6 @@ static int primo_cassette_calculate_size_in_samples(const UINT8 *bytes, int leng
static int primo_cassette_fill_wave(INT16 *buffer, int length, UINT8 *bytes)
{
-
int i = 0, j = 0, k;
INT16 *p = buffer;
@@ -177,7 +176,6 @@ static int primo_cassette_fill_wave(INT16 *buffer, int length, UINT8 *bytes)
j = 0;
while (j < file_size-3)
{
-
/* block pilot */
for (k=0; k<96; k++)
p = primo_output_byte (p, 0xff);
diff --git a/src/lib/formats/thom_cas.c b/src/lib/formats/thom_cas.c
index 4bbd78ce807..301b3de7d10 100644
--- a/src/lib/formats/thom_cas.c
+++ b/src/lib/formats/thom_cas.c
@@ -234,7 +234,6 @@ static casserr_t to7_k7_load( cassette_image *cass )
/* loop over regular blocks */
while ( pos < size )
{
-
rebounce:
/* skip 0xff filler */
for ( sz = 0; pos < size; pos++, sz++ )
@@ -561,7 +560,6 @@ static casserr_t mo5_k5_load( cassette_image *cass )
/* loop over regular blocks */
while ( pos < size )
{
-
rebounce:
/* skip DCMOTO header*/
if ( dcmoto )
diff --git a/src/lib/formats/vg5k_cas.c b/src/lib/formats/vg5k_cas.c
index e56765c9921..2f0ad10a7a1 100644
--- a/src/lib/formats/vg5k_cas.c
+++ b/src/lib/formats/vg5k_cas.c
@@ -98,7 +98,6 @@ INLINE int vg5k_cas_byte(INT16 *buffer, int sample_pos, UINT8 data)
********************************************************************/
INLINE int vg5k_k7_synchro(INT16 *buffer, int sample_pos, int len)
{
-
int i, samples = 0;
for ( i = 0; i < len ; i++ )
diff --git a/src/lib/lib7z/7zIn.c b/src/lib/lib7z/7zIn.c
index 2716e8271b4..43e66668075 100644
--- a/src/lib/lib7z/7zIn.c
+++ b/src/lib/lib7z/7zIn.c
@@ -1155,7 +1155,6 @@ static SRes SzReadAndDecodePackedStreams2(
UInt32 **digests,
ISzAlloc *allocTemp)
{
-
UInt32 numUnpackStreams = 0;
UInt64 dataStartPos;
CSzFolder *folder;
diff --git a/src/lib/lib7z/Aes.c b/src/lib/lib7z/Aes.c
index 82da09473cd..b275baa792c 100644
--- a/src/lib/lib7z/Aes.c
+++ b/src/lib/lib7z/Aes.c
@@ -104,8 +104,7 @@ void AesGenTables(void)
HT4(m, 2, s, p); \
HT4(m, 0, s, p); \
HT4(m, 3, s, p); \
- HT4(m, 1, s, p); \
-
+ HT4(m, 1, s, p);
#define FT(i, x) Sbox[gb ## x(m[(i + x) & 3])]
#define FT4(i) dest[i] =