summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/audio/alesis.cpp10
-rw-r--r--src/mame/audio/arcadia.cpp2
-rw-r--r--src/mame/audio/arcadia.h2
-rw-r--r--src/mame/audio/atarijsa.cpp14
-rw-r--r--src/mame/audio/atarijsa.h14
-rw-r--r--src/mame/audio/beezer.cpp2
-rw-r--r--src/mame/audio/cage.cpp6
-rw-r--r--src/mame/audio/cage.h6
-rw-r--r--src/mame/audio/cclimber.cpp2
-rw-r--r--src/mame/audio/cclimber.h2
-rw-r--r--src/mame/audio/channelf.cpp2
-rw-r--r--src/mame/audio/channelf.h2
-rw-r--r--src/mame/audio/cps3.cpp2
-rw-r--r--src/mame/audio/cps3.h2
-rw-r--r--src/mame/audio/dai_snd.cpp2
-rw-r--r--src/mame/audio/dai_snd.h2
-rw-r--r--src/mame/audio/dave.cpp2
-rw-r--r--src/mame/audio/dave.h2
-rw-r--r--src/mame/audio/dcs.cpp20
-rw-r--r--src/mame/audio/dcs.h20
-rw-r--r--src/mame/audio/decobsmt.cpp2
-rw-r--r--src/mame/audio/decobsmt.h2
-rw-r--r--src/mame/audio/dsbz80.cpp2
-rw-r--r--src/mame/audio/dsbz80.h2
-rw-r--r--src/mame/audio/exidy.cpp8
-rw-r--r--src/mame/audio/exidy.h8
-rw-r--r--src/mame/audio/exidy440.cpp2
-rw-r--r--src/mame/audio/exidy440.h2
-rw-r--r--src/mame/audio/flower.cpp2
-rw-r--r--src/mame/audio/galaxian.cpp2
-rw-r--r--src/mame/audio/galaxian.h2
-rw-r--r--src/mame/audio/gamate.cpp2
-rw-r--r--src/mame/audio/gb.cpp2
-rw-r--r--src/mame/audio/gb.h2
-rw-r--r--src/mame/audio/geebee.cpp2
-rw-r--r--src/mame/audio/gomoku.cpp2
-rw-r--r--src/mame/audio/gottlieb.cpp10
-rw-r--r--src/mame/audio/gottlieb.h10
-rw-r--r--src/mame/audio/gridlee.cpp2
-rw-r--r--src/mame/audio/harddriv.cpp2
-rw-r--r--src/mame/audio/hyprolyb.cpp2
-rw-r--r--src/mame/audio/hyprolyb.h2
-rw-r--r--src/mame/audio/irem.cpp8
-rw-r--r--src/mame/audio/irem.h8
-rw-r--r--src/mame/audio/leland.cpp10
-rw-r--r--src/mame/audio/lynx.cpp6
-rw-r--r--src/mame/audio/lynx.h6
-rw-r--r--src/mame/audio/m72.cpp2
-rw-r--r--src/mame/audio/m72.h2
-rw-r--r--src/mame/audio/mac.cpp2
-rw-r--r--src/mame/audio/mea8000.cpp2
-rw-r--r--src/mame/audio/mea8000.h4
-rw-r--r--src/mame/audio/micro3d.cpp2
-rw-r--r--src/mame/audio/midway.cpp10
-rw-r--r--src/mame/audio/midway.h10
-rw-r--r--src/mame/audio/namco52.cpp2
-rw-r--r--src/mame/audio/namco52.h4
-rw-r--r--src/mame/audio/namco54.cpp2
-rw-r--r--src/mame/audio/namco54.h4
-rw-r--r--src/mame/audio/phoenix.cpp2
-rw-r--r--src/mame/audio/pleiads.cpp8
-rw-r--r--src/mame/audio/pleiads.h8
-rw-r--r--src/mame/audio/polepos.cpp2
-rw-r--r--src/mame/audio/redbaron.cpp2
-rw-r--r--src/mame/audio/redbaron.h2
-rw-r--r--src/mame/audio/s11c_bg.cpp4
-rw-r--r--src/mame/audio/s11c_bg.h6
-rw-r--r--src/mame/audio/segag80r.cpp2
-rw-r--r--src/mame/audio/segam1audio.cpp2
-rw-r--r--src/mame/audio/segam1audio.h2
-rw-r--r--src/mame/audio/segasnd.cpp8
-rw-r--r--src/mame/audio/segasnd.h8
-rw-r--r--src/mame/audio/seibu.cpp7
-rw-r--r--src/mame/audio/seibu.h8
-rw-r--r--src/mame/audio/snes_snd.cpp2
-rw-r--r--src/mame/audio/snes_snd.h2
-rw-r--r--src/mame/audio/snk6502.cpp2
-rw-r--r--src/mame/audio/socrates.cpp2
-rw-r--r--src/mame/audio/socrates.h2
-rw-r--r--src/mame/audio/specimx_snd.cpp2
-rw-r--r--src/mame/audio/specimx_snd.h2
-rw-r--r--src/mame/audio/svis_snd.cpp2
-rw-r--r--src/mame/audio/svis_snd.h2
-rw-r--r--src/mame/audio/t5182.cpp2
-rw-r--r--src/mame/audio/t5182.h2
-rw-r--r--src/mame/audio/taito_en.cpp2
-rw-r--r--src/mame/audio/taito_en.h2
-rw-r--r--src/mame/audio/taito_zm.cpp2
-rw-r--r--src/mame/audio/taito_zm.h2
-rw-r--r--src/mame/audio/taitosnd.cpp2
-rw-r--r--src/mame/audio/taitosnd.h6
-rw-r--r--src/mame/audio/tiamc1.cpp2
-rw-r--r--src/mame/audio/timeplt.cpp2
-rw-r--r--src/mame/audio/timeplt.h2
-rw-r--r--src/mame/audio/trackfld.cpp2
-rw-r--r--src/mame/audio/trackfld.h2
-rw-r--r--src/mame/audio/turrett.cpp2
-rw-r--r--src/mame/audio/tvc_snd.cpp2
-rw-r--r--src/mame/audio/tvc_snd.h2
-rw-r--r--src/mame/audio/tx1.cpp6
-rw-r--r--src/mame/audio/upd1771.cpp2
-rw-r--r--src/mame/audio/upd1771.h2
-rw-r--r--src/mame/audio/vboy.cpp2
-rw-r--r--src/mame/audio/vboy.h2
-rw-r--r--src/mame/audio/vc4000snd.cpp2
-rw-r--r--src/mame/audio/vc4000snd.h2
-rw-r--r--src/mame/audio/warpwarp.cpp2
-rw-r--r--src/mame/audio/warpwarp.h4
-rw-r--r--src/mame/audio/williams.cpp6
-rw-r--r--src/mame/audio/williams.h6
-rw-r--r--src/mame/audio/wiping.cpp2
-rw-r--r--src/mame/audio/wiping.h2
-rw-r--r--src/mame/audio/wpcsnd.cpp4
-rw-r--r--src/mame/audio/wpcsnd.h6
-rw-r--r--src/mame/audio/wswan_snd.cpp2
-rw-r--r--src/mame/audio/wswan_snd.h2
-rw-r--r--src/mame/drivers/1945kiii.cpp2
-rw-r--r--src/mame/drivers/24cdjuke.cpp2
-rw-r--r--src/mame/drivers/2mindril.cpp2
-rw-r--r--src/mame/drivers/30test.cpp2
-rw-r--r--src/mame/drivers/39in1.cpp2
-rw-r--r--src/mame/drivers/3x3puzzl.cpp2
-rw-r--r--src/mame/drivers/4004clk.cpp2
-rw-r--r--src/mame/drivers/4dpi.cpp2
-rw-r--r--src/mame/drivers/4enlinea.cpp6
-rw-r--r--src/mame/drivers/4roses.cpp2
-rw-r--r--src/mame/drivers/5clown.cpp2
-rw-r--r--src/mame/drivers/68ksbc.cpp2
-rw-r--r--src/mame/drivers/a1supply.cpp2
-rw-r--r--src/mame/drivers/a2600.cpp2
-rw-r--r--src/mame/drivers/a310.cpp2
-rw-r--r--src/mame/drivers/a5105.cpp2
-rw-r--r--src/mame/drivers/a51xx.cpp2
-rw-r--r--src/mame/drivers/a6809.cpp2
-rw-r--r--src/mame/drivers/a7150.cpp2
-rw-r--r--src/mame/drivers/a7800.cpp2
-rw-r--r--src/mame/drivers/ace.cpp2
-rw-r--r--src/mame/drivers/acefruit.cpp2
-rw-r--r--src/mame/drivers/aces1.cpp2
-rw-r--r--src/mame/drivers/acesp.cpp2
-rw-r--r--src/mame/drivers/acommand.cpp2
-rw-r--r--src/mame/drivers/acrnsys1.cpp2
-rw-r--r--src/mame/drivers/adp.cpp2
-rw-r--r--src/mame/drivers/age_candy.cpp2
-rw-r--r--src/mame/drivers/aim65_40.cpp2
-rw-r--r--src/mame/drivers/albazc.cpp2
-rw-r--r--src/mame/drivers/albazg.cpp2
-rw-r--r--src/mame/drivers/aleck64.cpp2
-rw-r--r--src/mame/drivers/aleisttl.cpp2
-rw-r--r--src/mame/drivers/alg.cpp2
-rw-r--r--src/mame/drivers/alien.cpp2
-rw-r--r--src/mame/drivers/alinvade.cpp2
-rw-r--r--src/mame/drivers/allied.cpp2
-rw-r--r--src/mame/drivers/alphasma.cpp4
-rw-r--r--src/mame/drivers/alphatro.cpp2
-rw-r--r--src/mame/drivers/altair.cpp2
-rw-r--r--src/mame/drivers/alto2.cpp2
-rw-r--r--src/mame/drivers/altos5.cpp2
-rw-r--r--src/mame/drivers/alvg.cpp2
-rw-r--r--src/mame/drivers/amaticmg.cpp2
-rw-r--r--src/mame/drivers/amerihok.cpp2
-rw-r--r--src/mame/drivers/amico2k.cpp2
-rw-r--r--src/mame/drivers/amiga.cpp20
-rw-r--r--src/mame/drivers/ampro.cpp2
-rw-r--r--src/mame/drivers/amstr_pc.cpp2
-rw-r--r--src/mame/drivers/amusco.cpp2
-rw-r--r--src/mame/drivers/amust.cpp2
-rw-r--r--src/mame/drivers/apc.cpp2
-rw-r--r--src/mame/drivers/apexc.cpp14
-rw-r--r--src/mame/drivers/apf.cpp2
-rw-r--r--src/mame/drivers/apogee.cpp2
-rw-r--r--src/mame/drivers/apollo.cpp2
-rw-r--r--src/mame/drivers/apple2.cpp2
-rw-r--r--src/mame/drivers/apple2e.cpp2
-rw-r--r--src/mame/drivers/applix.cpp2
-rw-r--r--src/mame/drivers/apricot.cpp2
-rw-r--r--src/mame/drivers/apricotf.cpp2
-rw-r--r--src/mame/drivers/apricotp.cpp2
-rw-r--r--src/mame/drivers/arachnid.cpp2
-rw-r--r--src/mame/drivers/argo.cpp2
-rw-r--r--src/mame/drivers/aristmk4.cpp2
-rw-r--r--src/mame/drivers/aristmk5.cpp2
-rw-r--r--src/mame/drivers/aristmk6.cpp2
-rw-r--r--src/mame/drivers/arsystems.cpp6
-rw-r--r--src/mame/drivers/asst128.cpp4
-rw-r--r--src/mame/drivers/astinvad.cpp2
-rw-r--r--src/mame/drivers/astrafr.cpp2
-rw-r--r--src/mame/drivers/astrcorp.cpp2
-rw-r--r--src/mame/drivers/astrohome.cpp2
-rw-r--r--src/mame/drivers/astropc.cpp2
-rw-r--r--src/mame/drivers/atari400.cpp2
-rw-r--r--src/mame/drivers/atari_s1.cpp2
-rw-r--r--src/mame/drivers/atari_s2.cpp2
-rw-r--r--src/mame/drivers/atarisy4.cpp2
-rw-r--r--src/mame/drivers/atarittl.cpp2
-rw-r--r--src/mame/drivers/atlantis.cpp2
-rw-r--r--src/mame/drivers/atm.cpp2
-rw-r--r--src/mame/drivers/atronic.cpp2
-rw-r--r--src/mame/drivers/attache.cpp2
-rw-r--r--src/mame/drivers/attckufo.cpp2
-rw-r--r--src/mame/drivers/atvtrack.cpp6
-rw-r--r--src/mame/drivers/avt.cpp2
-rw-r--r--src/mame/drivers/ax20.cpp2
-rw-r--r--src/mame/drivers/b16.cpp2
-rw-r--r--src/mame/drivers/babbage.cpp2
-rw-r--r--src/mame/drivers/backfire.cpp2
-rw-r--r--src/mame/drivers/bailey.cpp2
-rw-r--r--src/mame/drivers/barata.cpp2
-rw-r--r--src/mame/drivers/bartop52.cpp2
-rw-r--r--src/mame/drivers/basic52.cpp2
-rw-r--r--src/mame/drivers/bbcbc.cpp2
-rw-r--r--src/mame/drivers/bcs3.cpp2
-rw-r--r--src/mame/drivers/beaminv.cpp2
-rw-r--r--src/mame/drivers/beehive.cpp2
-rw-r--r--src/mame/drivers/belatra.cpp2
-rw-r--r--src/mame/drivers/berzerk.cpp2
-rw-r--r--src/mame/drivers/besta.cpp2
-rw-r--r--src/mame/drivers/bestleag.cpp2
-rw-r--r--src/mame/drivers/beta.cpp2
-rw-r--r--src/mame/drivers/bfcobra.cpp2
-rw-r--r--src/mame/drivers/bfm_sc1.cpp2
-rw-r--r--src/mame/drivers/bfm_sc2.cpp2
-rw-r--r--src/mame/drivers/bfm_swp.cpp2
-rw-r--r--src/mame/drivers/bfmsys83.cpp2
-rw-r--r--src/mame/drivers/bfmsys85.cpp2
-rw-r--r--src/mame/drivers/bgt.cpp2
-rw-r--r--src/mame/drivers/big10.cpp2
-rw-r--r--src/mame/drivers/bigbord2.cpp2
-rw-r--r--src/mame/drivers/binbug.cpp4
-rw-r--r--src/mame/drivers/bingo.cpp6
-rw-r--r--src/mame/drivers/bingoc.cpp2
-rw-r--r--src/mame/drivers/bingoman.cpp2
-rw-r--r--src/mame/drivers/bingor.cpp2
-rw-r--r--src/mame/drivers/bitgraph.cpp2
-rw-r--r--src/mame/drivers/blackt96.cpp2
-rw-r--r--src/mame/drivers/blitz.cpp2
-rw-r--r--src/mame/drivers/blitz68k.cpp2
-rw-r--r--src/mame/drivers/blockhl.cpp2
-rw-r--r--src/mame/drivers/bmcbowl.cpp2
-rw-r--r--src/mame/drivers/bmcpokr.cpp2
-rw-r--r--src/mame/drivers/bmjr.cpp2
-rw-r--r--src/mame/drivers/bml3.cpp2
-rw-r--r--src/mame/drivers/bnstars.cpp2
-rw-r--r--src/mame/drivers/bntyhunt.cpp2
-rw-r--r--src/mame/drivers/bob85.cpp2
-rw-r--r--src/mame/drivers/bowltry.cpp2
-rw-r--r--src/mame/drivers/boxer.cpp2
-rw-r--r--src/mame/drivers/br8641.cpp2
-rw-r--r--src/mame/drivers/buster.cpp2
-rw-r--r--src/mame/drivers/by17.cpp2
-rw-r--r--src/mame/drivers/by35.cpp2
-rw-r--r--src/mame/drivers/by6803.cpp2
-rw-r--r--src/mame/drivers/by68701.cpp2
-rw-r--r--src/mame/drivers/byvid.cpp2
-rw-r--r--src/mame/drivers/c10.cpp2
-rw-r--r--src/mame/drivers/c64dtv.cpp2
-rw-r--r--src/mame/drivers/c65.cpp2
-rw-r--r--src/mame/drivers/c900.cpp2
-rw-r--r--src/mame/drivers/cabaret.cpp2
-rw-r--r--src/mame/drivers/calchase.cpp2
-rw-r--r--src/mame/drivers/calorie.cpp2
-rw-r--r--src/mame/drivers/camplynx.cpp2
-rw-r--r--src/mame/drivers/canon_s80.cpp2
-rw-r--r--src/mame/drivers/capcom.cpp2
-rw-r--r--src/mame/drivers/capr1.cpp2
-rw-r--r--src/mame/drivers/caprcyc.cpp2
-rw-r--r--src/mame/drivers/cardline.cpp2
-rw-r--r--src/mame/drivers/carrera.cpp2
-rw-r--r--src/mame/drivers/casloopy.cpp2
-rw-r--r--src/mame/drivers/castle.cpp2
-rw-r--r--src/mame/drivers/caswin.cpp2
-rw-r--r--src/mame/drivers/cat.cpp2
-rw-r--r--src/mame/drivers/cavepc.cpp2
-rw-r--r--src/mame/drivers/cb2001.cpp2
-rw-r--r--src/mame/drivers/cball.cpp2
-rw-r--r--src/mame/drivers/cc40.cpp2
-rw-r--r--src/mame/drivers/cchance.cpp2
-rw-r--r--src/mame/drivers/ccs2810.cpp2
-rw-r--r--src/mame/drivers/ccs300.cpp2
-rw-r--r--src/mame/drivers/cd2650.cpp2
-rw-r--r--src/mame/drivers/cdc721.cpp2
-rw-r--r--src/mame/drivers/cesclass.cpp2
-rw-r--r--src/mame/drivers/cfx9850.cpp2
-rw-r--r--src/mame/drivers/cgenie.cpp2
-rw-r--r--src/mame/drivers/cham24.cpp2
-rw-r--r--src/mame/drivers/champbwl.cpp2
-rw-r--r--src/mame/drivers/chanbara.cpp2
-rw-r--r--src/mame/drivers/chance32.cpp2
-rw-r--r--src/mame/drivers/chaos.cpp2
-rw-r--r--src/mame/drivers/chessmst.cpp2
-rw-r--r--src/mame/drivers/chesstrv.cpp2
-rw-r--r--src/mame/drivers/chexx.cpp2
-rw-r--r--src/mame/drivers/chicago.cpp2
-rw-r--r--src/mame/drivers/chihiro.cpp6
-rw-r--r--src/mame/drivers/chinagat.cpp2
-rw-r--r--src/mame/drivers/chinsan.cpp2
-rw-r--r--src/mame/drivers/chsuper.cpp2
-rw-r--r--src/mame/drivers/clayshoo.cpp2
-rw-r--r--src/mame/drivers/clcd.cpp2
-rw-r--r--src/mame/drivers/cliffhgr.cpp2
-rw-r--r--src/mame/drivers/clowndwn.cpp2
-rw-r--r--src/mame/drivers/cm1800.cpp2
-rw-r--r--src/mame/drivers/cmmb.cpp2
-rw-r--r--src/mame/drivers/cntsteer.cpp2
-rw-r--r--src/mame/drivers/cobra.cpp18
-rw-r--r--src/mame/drivers/cocoloco.cpp2
-rw-r--r--src/mame/drivers/codata.cpp2
-rw-r--r--src/mame/drivers/coinmstr.cpp2
-rw-r--r--src/mame/drivers/coinmvga.cpp2
-rw-r--r--src/mame/drivers/comebaby.cpp2
-rw-r--r--src/mame/drivers/compucolor.cpp2
-rw-r--r--src/mame/drivers/coolridr.cpp2
-rw-r--r--src/mame/drivers/cops.cpp2
-rw-r--r--src/mame/drivers/corona.cpp2
-rw-r--r--src/mame/drivers/cortex.cpp2
-rw-r--r--src/mame/drivers/cp1.cpp2
-rw-r--r--src/mame/drivers/cps3.cpp22
-rw-r--r--src/mame/drivers/craft.cpp2
-rw-r--r--src/mame/drivers/crystal.cpp2
-rw-r--r--src/mame/drivers/csc.cpp2
-rw-r--r--src/mame/drivers/cshooter.cpp2
-rw-r--r--src/mame/drivers/csplayh5.cpp2
-rw-r--r--src/mame/drivers/cswat.cpp2
-rw-r--r--src/mame/drivers/ct486.cpp2
-rw-r--r--src/mame/drivers/cubeqst.cpp2
-rw-r--r--src/mame/drivers/cubo.cpp2
-rw-r--r--src/mame/drivers/cultures.cpp2
-rw-r--r--src/mame/drivers/cupidon.cpp2
-rw-r--r--src/mame/drivers/cv1k.cpp2
-rw-r--r--src/mame/drivers/cvicny.cpp2
-rw-r--r--src/mame/drivers/cybertnk.cpp2
-rw-r--r--src/mame/drivers/cyclemb.cpp2
-rw-r--r--src/mame/drivers/czk80.cpp2
-rw-r--r--src/mame/drivers/d6800.cpp2
-rw-r--r--src/mame/drivers/d6809.cpp2
-rw-r--r--src/mame/drivers/d9final.cpp2
-rw-r--r--src/mame/drivers/dacholer.cpp2
-rw-r--r--src/mame/drivers/dai3wksi.cpp2
-rw-r--r--src/mame/drivers/dambustr.cpp2
-rw-r--r--src/mame/drivers/daruma.cpp2
-rw-r--r--src/mame/drivers/dblcrown.cpp2
-rw-r--r--src/mame/drivers/dblewing.cpp2
-rw-r--r--src/mame/drivers/dct11em.cpp2
-rw-r--r--src/mame/drivers/ddayjlc.cpp2
-rw-r--r--src/mame/drivers/ddealer.cpp2
-rw-r--r--src/mame/drivers/ddenlovr.cpp2
-rw-r--r--src/mame/drivers/ddragon3.cpp4
-rw-r--r--src/mame/drivers/de_2.cpp2
-rw-r--r--src/mame/drivers/de_3.cpp2
-rw-r--r--src/mame/drivers/de_3b.cpp2
-rw-r--r--src/mame/drivers/deco156.cpp6
-rw-r--r--src/mame/drivers/deco_ld.cpp2
-rw-r--r--src/mame/drivers/dectalk.cpp2
-rw-r--r--src/mame/drivers/decwritr.cpp2
-rw-r--r--src/mame/drivers/deshoros.cpp2
-rw-r--r--src/mame/drivers/destroyr.cpp2
-rw-r--r--src/mame/drivers/dfruit.cpp2
-rw-r--r--src/mame/drivers/dgpix.cpp2
-rw-r--r--src/mame/drivers/didact.cpp6
-rw-r--r--src/mame/drivers/digel804.cpp2
-rw-r--r--src/mame/drivers/dim68k.cpp2
-rw-r--r--src/mame/drivers/discoboy.cpp2
-rw-r--r--src/mame/drivers/diverboy.cpp2
-rw-r--r--src/mame/drivers/dlair.cpp2
-rw-r--r--src/mame/drivers/dlair2.cpp2
-rw-r--r--src/mame/drivers/dmndrby.cpp2
-rw-r--r--src/mame/drivers/dms5000.cpp2
-rw-r--r--src/mame/drivers/dms86.cpp2
-rw-r--r--src/mame/drivers/dmv.cpp2
-rw-r--r--src/mame/drivers/dolphunk.cpp2
-rw-r--r--src/mame/drivers/dominob.cpp2
-rw-r--r--src/mame/drivers/dorachan.cpp2
-rw-r--r--src/mame/drivers/dotrikun.cpp2
-rw-r--r--src/mame/drivers/dps1.cpp2
-rw-r--r--src/mame/drivers/dreambal.cpp2
-rw-r--r--src/mame/drivers/dreamwld.cpp2
-rw-r--r--src/mame/drivers/drtomy.cpp2
-rw-r--r--src/mame/drivers/drw80pkr.cpp2
-rw-r--r--src/mame/drivers/dsb46.cpp2
-rw-r--r--src/mame/drivers/dual68.cpp2
-rw-r--r--src/mame/drivers/dunhuang.cpp2
-rw-r--r--src/mame/drivers/dvk_kcgd.cpp2
-rw-r--r--src/mame/drivers/dvk_ksm.cpp2
-rw-r--r--src/mame/drivers/dwarfd.cpp2
-rw-r--r--src/mame/drivers/dynadice.cpp2
-rw-r--r--src/mame/drivers/eacc.cpp2
-rw-r--r--src/mame/drivers/ec184x.cpp2
-rw-r--r--src/mame/drivers/ec65.cpp4
-rw-r--r--src/mame/drivers/ecoinf1.cpp2
-rw-r--r--src/mame/drivers/ecoinf2.cpp2
-rw-r--r--src/mame/drivers/ecoinf3.cpp2
-rw-r--r--src/mame/drivers/ecoinfr.cpp2
-rw-r--r--src/mame/drivers/egghunt.cpp2
-rw-r--r--src/mame/drivers/einstein.cpp2
-rw-r--r--src/mame/drivers/elecbowl.cpp2
-rw-r--r--src/mame/drivers/electra.cpp2
-rw-r--r--src/mame/drivers/elekscmp.cpp2
-rw-r--r--src/mame/drivers/elwro800.cpp2
-rw-r--r--src/mame/drivers/embargo.cpp2
-rw-r--r--src/mame/drivers/enigma2.cpp2
-rw-r--r--src/mame/drivers/enmirage.cpp2
-rw-r--r--src/mame/drivers/eolith16.cpp2
-rw-r--r--src/mame/drivers/ertictac.cpp2
-rw-r--r--src/mame/drivers/esh.cpp2
-rw-r--r--src/mame/drivers/esq1.cpp6
-rw-r--r--src/mame/drivers/esq5505.cpp2
-rw-r--r--src/mame/drivers/esqasr.cpp2
-rw-r--r--src/mame/drivers/esqkt.cpp2
-rw-r--r--src/mame/drivers/esqmr.cpp2
-rw-r--r--src/mame/drivers/et3400.cpp2
-rw-r--r--src/mame/drivers/ettrivia.cpp2
-rw-r--r--src/mame/drivers/europc.cpp2
-rw-r--r--src/mame/drivers/evmbug.cpp2
-rw-r--r--src/mame/drivers/excali64.cpp2
-rw-r--r--src/mame/drivers/exelv.cpp2
-rw-r--r--src/mame/drivers/exidyttl.cpp2
-rw-r--r--src/mame/drivers/expro02.cpp2
-rw-r--r--src/mame/drivers/extrema.cpp2
-rw-r--r--src/mame/drivers/f-32.cpp2
-rw-r--r--src/mame/drivers/famibox.cpp2
-rw-r--r--src/mame/drivers/fanucs15.cpp2
-rw-r--r--src/mame/drivers/fanucspmg.cpp2
-rw-r--r--src/mame/drivers/fastinvaders.cpp4
-rw-r--r--src/mame/drivers/fb01.cpp2
-rw-r--r--src/mame/drivers/fc100.cpp2
-rw-r--r--src/mame/drivers/feversoc.cpp2
-rw-r--r--src/mame/drivers/fidelz80.cpp2
-rw-r--r--src/mame/drivers/fireball.cpp2
-rw-r--r--src/mame/drivers/firebeat.cpp2
-rw-r--r--src/mame/drivers/firefox.cpp2
-rw-r--r--src/mame/drivers/fk1.cpp2
-rw-r--r--src/mame/drivers/flicker.cpp2
-rw-r--r--src/mame/drivers/flipjack.cpp2
-rw-r--r--src/mame/drivers/flyball.cpp2
-rw-r--r--src/mame/drivers/force68k.cpp2
-rw-r--r--src/mame/drivers/forte2.cpp2
-rw-r--r--src/mame/drivers/fortecar.cpp2
-rw-r--r--src/mame/drivers/fp1100.cpp2
-rw-r--r--src/mame/drivers/fp200.cpp2
-rw-r--r--src/mame/drivers/fp6000.cpp2
-rw-r--r--src/mame/drivers/fresh.cpp2
-rw-r--r--src/mame/drivers/fruitpc.cpp2
-rw-r--r--src/mame/drivers/ft68m.cpp2
-rw-r--r--src/mame/drivers/fungames.cpp2
-rw-r--r--src/mame/drivers/funkball.cpp2
-rw-r--r--src/mame/drivers/g627.cpp2
-rw-r--r--src/mame/drivers/gal3.cpp2
-rw-r--r--src/mame/drivers/galaxi.cpp2
-rw-r--r--src/mame/drivers/galgame.cpp2
-rw-r--r--src/mame/drivers/galpani2.cpp4
-rw-r--r--src/mame/drivers/galpani3.cpp2
-rw-r--r--src/mame/drivers/gamate.cpp2
-rw-r--r--src/mame/drivers/gambl186.cpp2
-rw-r--r--src/mame/drivers/gamecstl.cpp2
-rw-r--r--src/mame/drivers/gameking.cpp2
-rw-r--r--src/mame/drivers/gammagic.cpp2
-rw-r--r--src/mame/drivers/gamtor.cpp2
-rw-r--r--src/mame/drivers/gei.cpp2
-rw-r--r--src/mame/drivers/geneve.cpp2
-rw-r--r--src/mame/drivers/geniusiq.cpp4
-rw-r--r--src/mame/drivers/genpc.cpp2
-rw-r--r--src/mame/drivers/ggconnie.cpp2
-rw-r--r--src/mame/drivers/ghosteo.cpp2
-rw-r--r--src/mame/drivers/gimix.cpp2
-rw-r--r--src/mame/drivers/gizmondo.cpp2
-rw-r--r--src/mame/drivers/gkigt.cpp2
-rw-r--r--src/mame/drivers/glasgow.cpp2
-rw-r--r--src/mame/drivers/globalfr.cpp2
-rw-r--r--src/mame/drivers/globalvr.cpp2
-rw-r--r--src/mame/drivers/gluck2.cpp2
-rw-r--r--src/mame/drivers/gmaster.cpp2
-rw-r--r--src/mame/drivers/go2000.cpp2
-rw-r--r--src/mame/drivers/goldngam.cpp2
-rw-r--r--src/mame/drivers/goldnpkr.cpp2
-rw-r--r--src/mame/drivers/good.cpp2
-rw-r--r--src/mame/drivers/goodejan.cpp2
-rw-r--r--src/mame/drivers/gp2x.cpp2
-rw-r--r--src/mame/drivers/gp_1.cpp2
-rw-r--r--src/mame/drivers/gp_2.cpp2
-rw-r--r--src/mame/drivers/gpworld.cpp2
-rw-r--r--src/mame/drivers/grfd2301.cpp2
-rw-r--r--src/mame/drivers/gstream.cpp2
-rw-r--r--src/mame/drivers/gticlub.cpp6
-rw-r--r--src/mame/drivers/gts1.cpp2
-rw-r--r--src/mame/drivers/gts3.cpp2
-rw-r--r--src/mame/drivers/gts3a.cpp2
-rw-r--r--src/mame/drivers/gts80.cpp2
-rw-r--r--src/mame/drivers/gts80a.cpp4
-rw-r--r--src/mame/drivers/gts80b.cpp2
-rw-r--r--src/mame/drivers/guab.cpp2
-rw-r--r--src/mame/drivers/gunpey.cpp2
-rw-r--r--src/mame/drivers/h19.cpp2
-rw-r--r--src/mame/drivers/h8.cpp2
-rw-r--r--src/mame/drivers/h89.cpp2
-rw-r--r--src/mame/drivers/halleys.cpp2
-rw-r--r--src/mame/drivers/hankin.cpp2
-rw-r--r--src/mame/drivers/harddriv.cpp20
-rw-r--r--src/mame/drivers/harriet.cpp2
-rw-r--r--src/mame/drivers/hazelgr.cpp2
-rw-r--r--src/mame/drivers/headonb.cpp2
-rw-r--r--src/mame/drivers/hh_cop400.cpp14
-rw-r--r--src/mame/drivers/hh_hmcs40.cpp62
-rw-r--r--src/mame/drivers/hh_melps4.cpp6
-rw-r--r--src/mame/drivers/hh_pic16.cpp4
-rw-r--r--src/mame/drivers/hh_sm510.cpp8
-rw-r--r--src/mame/drivers/hh_tms1k.cpp62
-rw-r--r--src/mame/drivers/hh_ucom4.cpp38
-rw-r--r--src/mame/drivers/hideseek.cpp2
-rw-r--r--src/mame/drivers/highvdeo.cpp2
-rw-r--r--src/mame/drivers/hikaru.cpp2
-rw-r--r--src/mame/drivers/hitpoker.cpp2
-rw-r--r--src/mame/drivers/hk68v10.cpp2
-rw-r--r--src/mame/drivers/homelab.cpp2
-rw-r--r--src/mame/drivers/homez80.cpp2
-rw-r--r--src/mame/drivers/horizon.cpp2
-rw-r--r--src/mame/drivers/hornet.cpp6
-rw-r--r--src/mame/drivers/hotblock.cpp2
-rw-r--r--src/mame/drivers/hotstuff.cpp2
-rw-r--r--src/mame/drivers/hp16500.cpp2
-rw-r--r--src/mame/drivers/hp49gp.cpp2
-rw-r--r--src/mame/drivers/hp64k.cpp4
-rw-r--r--src/mame/drivers/hp9845.cpp4
-rw-r--r--src/mame/drivers/hp9k.cpp2
-rw-r--r--src/mame/drivers/hp9k_3xx.cpp2
-rw-r--r--src/mame/drivers/hp_ipc.cpp2
-rw-r--r--src/mame/drivers/hprot1.cpp2
-rw-r--r--src/mame/drivers/hpz80unk.cpp2
-rw-r--r--src/mame/drivers/ht68k.cpp2
-rw-r--r--src/mame/drivers/hunter2.cpp2
-rw-r--r--src/mame/drivers/hvyunit.cpp2
-rw-r--r--src/mame/drivers/hyperscan.cpp2
-rw-r--r--src/mame/drivers/i7000.cpp2
-rw-r--r--src/mame/drivers/ibm6580.cpp2
-rw-r--r--src/mame/drivers/ibmpc.cpp2
-rw-r--r--src/mame/drivers/ibmpcjr.cpp2
-rw-r--r--src/mame/drivers/icatel.cpp2
-rw-r--r--src/mame/drivers/ice_bozopail.cpp2
-rw-r--r--src/mame/drivers/ice_tbd.cpp2
-rw-r--r--src/mame/drivers/icecold.cpp2
-rw-r--r--src/mame/drivers/ichiban.cpp2
-rw-r--r--src/mame/drivers/ie15.cpp2
-rw-r--r--src/mame/drivers/if800.cpp2
-rw-r--r--src/mame/drivers/igs009.cpp2
-rw-r--r--src/mame/drivers/igs011.cpp2
-rw-r--r--src/mame/drivers/igs017.cpp2
-rw-r--r--src/mame/drivers/igs_fear.cpp2
-rw-r--r--src/mame/drivers/igs_m027.cpp2
-rw-r--r--src/mame/drivers/igs_m036.cpp2
-rw-r--r--src/mame/drivers/igspc.cpp2
-rw-r--r--src/mame/drivers/igspoker.cpp2
-rw-r--r--src/mame/drivers/imds.cpp2
-rw-r--r--src/mame/drivers/imds2.cpp2
-rw-r--r--src/mame/drivers/imolagp.cpp2
-rw-r--r--src/mame/drivers/imsai.cpp2
-rw-r--r--src/mame/drivers/inder.cpp2
-rw-r--r--src/mame/drivers/indiana.cpp2
-rw-r--r--src/mame/drivers/indigo.cpp2
-rw-r--r--src/mame/drivers/indy_indigo2.cpp2
-rw-r--r--src/mame/drivers/instruct.cpp2
-rw-r--r--src/mame/drivers/interact.cpp2
-rw-r--r--src/mame/drivers/intrscti.cpp2
-rw-r--r--src/mame/drivers/invqix.cpp2
-rw-r--r--src/mame/drivers/ipc.cpp2
-rw-r--r--src/mame/drivers/ipds.cpp2
-rw-r--r--src/mame/drivers/iq151.cpp2
-rw-r--r--src/mame/drivers/iris3130.cpp2
-rw-r--r--src/mame/drivers/irisha.cpp2
-rw-r--r--src/mame/drivers/isbc.cpp2
-rw-r--r--src/mame/drivers/iskr103x.cpp2
-rw-r--r--src/mame/drivers/istellar.cpp2
-rw-r--r--src/mame/drivers/iteagle.cpp2
-rw-r--r--src/mame/drivers/itech8.cpp4
-rw-r--r--src/mame/drivers/itgambl2.cpp2
-rw-r--r--src/mame/drivers/itgambl3.cpp2
-rw-r--r--src/mame/drivers/itgamble.cpp2
-rw-r--r--src/mame/drivers/itt3030.cpp2
-rw-r--r--src/mame/drivers/jackie.cpp2
-rw-r--r--src/mame/drivers/jackpool.cpp2
-rw-r--r--src/mame/drivers/jade.cpp2
-rw-r--r--src/mame/drivers/jaguar.cpp2
-rw-r--r--src/mame/drivers/jalmah.cpp2
-rw-r--r--src/mame/drivers/jangou.cpp2
-rw-r--r--src/mame/drivers/jankenmn.cpp2
-rw-r--r--src/mame/drivers/jantotsu.cpp2
-rw-r--r--src/mame/drivers/jchan.cpp2
-rw-r--r--src/mame/drivers/jclub2.cpp2
-rw-r--r--src/mame/drivers/jeutel.cpp2
-rw-r--r--src/mame/drivers/jokrwild.cpp2
-rw-r--r--src/mame/drivers/jollyjgr.cpp2
-rw-r--r--src/mame/drivers/jongkyo.cpp2
-rw-r--r--src/mame/drivers/jonos.cpp2
-rw-r--r--src/mame/drivers/joystand.cpp2
-rw-r--r--src/mame/drivers/jp.cpp2
-rw-r--r--src/mame/drivers/jpmmps.cpp2
-rw-r--r--src/mame/drivers/jpms80.cpp2
-rw-r--r--src/mame/drivers/jpmsru.cpp2
-rw-r--r--src/mame/drivers/jpmsys7.cpp2
-rw-r--r--src/mame/drivers/jr100.cpp2
-rw-r--r--src/mame/drivers/jr200.cpp2
-rw-r--r--src/mame/drivers/jrpacman.cpp2
-rw-r--r--src/mame/drivers/jtc.cpp8
-rw-r--r--src/mame/drivers/jubilee.cpp2
-rw-r--r--src/mame/drivers/juicebox.cpp2
-rw-r--r--src/mame/drivers/junior.cpp2
-rw-r--r--src/mame/drivers/junofrst.cpp2
-rw-r--r--src/mame/drivers/jupace.cpp2
-rw-r--r--src/mame/drivers/jvh.cpp2
-rw-r--r--src/mame/drivers/k1003.cpp2
-rw-r--r--src/mame/drivers/k8915.cpp2
-rw-r--r--src/mame/drivers/kaneko16.cpp2
-rw-r--r--src/mame/drivers/kas89.cpp2
-rw-r--r--src/mame/drivers/kenseim.cpp2
-rw-r--r--src/mame/drivers/kim1.cpp2
-rw-r--r--src/mame/drivers/kingdrby.cpp2
-rw-r--r--src/mame/drivers/kingpin.cpp2
-rw-r--r--src/mame/drivers/kinst.cpp2
-rw-r--r--src/mame/drivers/kissproto.cpp2
-rw-r--r--src/mame/drivers/koftball.cpp2
-rw-r--r--src/mame/drivers/koikoi.cpp2
-rw-r--r--src/mame/drivers/konamigq.cpp2
-rw-r--r--src/mame/drivers/konamigv.cpp2
-rw-r--r--src/mame/drivers/konamim2.cpp2
-rw-r--r--src/mame/drivers/konendev.cpp2
-rw-r--r--src/mame/drivers/konin.cpp2
-rw-r--r--src/mame/drivers/kontest.cpp2
-rw-r--r--src/mame/drivers/korgm1.cpp2
-rw-r--r--src/mame/drivers/ksys573.cpp2
-rw-r--r--src/mame/drivers/kungfur.cpp2
-rw-r--r--src/mame/drivers/kurukuru.cpp2
-rw-r--r--src/mame/drivers/laser3k.cpp2
-rw-r--r--src/mame/drivers/laserbas.cpp2
-rw-r--r--src/mame/drivers/lastbank.cpp2
-rw-r--r--src/mame/drivers/lastfght.cpp2
-rw-r--r--src/mame/drivers/laz_aftrshok.cpp2
-rw-r--r--src/mame/drivers/laz_awetoss.cpp2
-rw-r--r--src/mame/drivers/laz_ribrac.cpp2
-rw-r--r--src/mame/drivers/lbeach.cpp2
-rw-r--r--src/mame/drivers/lcmate2.cpp2
-rw-r--r--src/mame/drivers/leapster.cpp2
-rw-r--r--src/mame/drivers/lft.cpp2
-rw-r--r--src/mame/drivers/lg-dvd.cpp2
-rw-r--r--src/mame/drivers/lgp.cpp2
-rw-r--r--src/mame/drivers/limenko.cpp2
-rw-r--r--src/mame/drivers/lindbergh.cpp4
-rw-r--r--src/mame/drivers/littlerb.cpp2
-rw-r--r--src/mame/drivers/lola8a.cpp2
-rw-r--r--src/mame/drivers/looping.cpp2
-rw-r--r--src/mame/drivers/ltcasino.cpp2
-rw-r--r--src/mame/drivers/ltd.cpp2
-rw-r--r--src/mame/drivers/luckgrln.cpp2
-rw-r--r--src/mame/drivers/m14.cpp2
-rw-r--r--src/mame/drivers/m20.cpp2
-rw-r--r--src/mame/drivers/m24.cpp2
-rw-r--r--src/mame/drivers/m63.cpp2
-rw-r--r--src/mame/drivers/m6805evs.cpp2
-rw-r--r--src/mame/drivers/m79152pc.cpp2
-rw-r--r--src/mame/drivers/macs.cpp2
-rw-r--r--src/mame/drivers/magic10.cpp2
-rw-r--r--src/mame/drivers/magicard.cpp2
-rw-r--r--src/mame/drivers/magicfly.cpp2
-rw-r--r--src/mame/drivers/magictg.cpp2
-rw-r--r--src/mame/drivers/magtouch.cpp2
-rw-r--r--src/mame/drivers/majorpkr.cpp2
-rw-r--r--src/mame/drivers/manohman.cpp2
-rw-r--r--src/mame/drivers/marinedt.cpp2
-rw-r--r--src/mame/drivers/marywu.cpp2
-rw-r--r--src/mame/drivers/mastboy.cpp2
-rw-r--r--src/mame/drivers/maxaflex.cpp2
-rw-r--r--src/mame/drivers/maygayep.cpp2
-rw-r--r--src/mame/drivers/maygaysw.cpp2
-rw-r--r--src/mame/drivers/maygayv1.cpp2
-rw-r--r--src/mame/drivers/mayumi.cpp2
-rw-r--r--src/mame/drivers/mazerbla.cpp2
-rw-r--r--src/mame/drivers/mbc200.cpp2
-rw-r--r--src/mame/drivers/mbdtower.cpp2
-rw-r--r--src/mame/drivers/mc10.cpp2
-rw-r--r--src/mame/drivers/mcb216.cpp2
-rw-r--r--src/mame/drivers/mccpm.cpp2
-rw-r--r--src/mame/drivers/meadwttl.cpp2
-rw-r--r--src/mame/drivers/mediagx.cpp2
-rw-r--r--src/mame/drivers/megaphx.cpp2
-rw-r--r--src/mame/drivers/megaplay.cpp2
-rw-r--r--src/mame/drivers/megatech.cpp2
-rw-r--r--src/mame/drivers/meijinsn.cpp2
-rw-r--r--src/mame/drivers/mekd2.cpp2
-rw-r--r--src/mame/drivers/mephisto.cpp2
-rw-r--r--src/mame/drivers/mephistp.cpp2
-rw-r--r--src/mame/drivers/merit.cpp2
-rw-r--r--src/mame/drivers/meritm.cpp2
-rw-r--r--src/mame/drivers/mes.cpp2
-rw-r--r--src/mame/drivers/metro.cpp4
-rw-r--r--src/mame/drivers/meyc8080.cpp2
-rw-r--r--src/mame/drivers/meyc8088.cpp2
-rw-r--r--src/mame/drivers/mgames.cpp2
-rw-r--r--src/mame/drivers/mgavegas.cpp2
-rw-r--r--src/mame/drivers/mgolf.cpp2
-rw-r--r--src/mame/drivers/mice.cpp2
-rw-r--r--src/mame/drivers/micral.cpp2
-rw-r--r--src/mame/drivers/microdec.cpp2
-rw-r--r--src/mame/drivers/microkit.cpp2
-rw-r--r--src/mame/drivers/micropin.cpp2
-rw-r--r--src/mame/drivers/microvsn.cpp2
-rw-r--r--src/mame/drivers/midas.cpp2
-rw-r--r--src/mame/drivers/midqslvr.cpp2
-rw-r--r--src/mame/drivers/mikrosha.cpp2
-rw-r--r--src/mame/drivers/mil4000.cpp2
-rw-r--r--src/mame/drivers/mini2440.cpp2
-rw-r--r--src/mame/drivers/miniboy7.cpp2
-rw-r--r--src/mame/drivers/minicom.cpp2
-rw-r--r--src/mame/drivers/minivadr.cpp2
-rw-r--r--src/mame/drivers/mirage.cpp2
-rw-r--r--src/mame/drivers/mirax.cpp2
-rw-r--r--src/mame/drivers/missb2.cpp2
-rw-r--r--src/mame/drivers/missile.cpp2
-rw-r--r--src/mame/drivers/mits680b.cpp2
-rw-r--r--src/mame/drivers/mjsister.cpp2
-rw-r--r--src/mame/drivers/mk1.cpp2
-rw-r--r--src/mame/drivers/mk14.cpp2
-rw-r--r--src/mame/drivers/mk2.cpp2
-rw-r--r--src/mame/drivers/mk85.cpp2
-rw-r--r--src/mame/drivers/mk90.cpp2
-rw-r--r--src/mame/drivers/mkit09.cpp2
-rw-r--r--src/mame/drivers/mlanding.cpp2
-rw-r--r--src/mame/drivers/mmagic.cpp2
-rw-r--r--src/mame/drivers/mmd1.cpp2
-rw-r--r--src/mame/drivers/mmm.cpp2
-rw-r--r--src/mame/drivers/mmodular.cpp2
-rw-r--r--src/mame/drivers/mod8.cpp2
-rw-r--r--src/mame/drivers/modellot.cpp2
-rw-r--r--src/mame/drivers/mogura.cpp2
-rw-r--r--src/mame/drivers/mole.cpp2
-rw-r--r--src/mame/drivers/molecular.cpp2
-rw-r--r--src/mame/drivers/monacogp.cpp2
-rw-r--r--src/mame/drivers/monty.cpp2
-rw-r--r--src/mame/drivers/monzagp.cpp2
-rw-r--r--src/mame/drivers/mps1230.cpp2
-rw-r--r--src/mame/drivers/mpu12wbk.cpp2
-rw-r--r--src/mame/drivers/mpu2.cpp2
-rw-r--r--src/mame/drivers/mpu3.cpp2
-rw-r--r--src/mame/drivers/mpu4dealem.cpp2
-rw-r--r--src/mame/drivers/mpu4plasma.cpp2
-rw-r--r--src/mame/drivers/mpu4vid.cpp2
-rw-r--r--src/mame/drivers/mpu5hw.cpp2
-rw-r--r--src/mame/drivers/mquake.cpp2
-rw-r--r--src/mame/drivers/mrgame.cpp2
-rw-r--r--src/mame/drivers/ms0515.cpp2
-rw-r--r--src/mame/drivers/ms9540.cpp2
-rw-r--r--src/mame/drivers/mstation.cpp2
-rw-r--r--src/mame/drivers/mt735.cpp4
-rw-r--r--src/mame/drivers/multi16.cpp2
-rw-r--r--src/mame/drivers/multi8.cpp2
-rw-r--r--src/mame/drivers/multigam.cpp2
-rw-r--r--src/mame/drivers/murogem.cpp2
-rw-r--r--src/mame/drivers/murogmbl.cpp2
-rw-r--r--src/mame/drivers/mvme350.cpp2
-rw-r--r--src/mame/drivers/mw18w.cpp2
-rw-r--r--src/mame/drivers/mwarr.cpp2
-rw-r--r--src/mame/drivers/mwsub.cpp2
-rw-r--r--src/mame/drivers/mx2178.cpp2
-rw-r--r--src/mame/drivers/myb3k.cpp2
-rw-r--r--src/mame/drivers/mycom.cpp2
-rw-r--r--src/mame/drivers/myvision.cpp2
-rw-r--r--src/mame/drivers/mz2000.cpp2
-rw-r--r--src/mame/drivers/mz2500.cpp2
-rw-r--r--src/mame/drivers/mz3500.cpp2
-rw-r--r--src/mame/drivers/mz6500.cpp2
-rw-r--r--src/mame/drivers/mzr8105.cpp2
-rw-r--r--src/mame/drivers/n64.cpp2
-rw-r--r--src/mame/drivers/nakajies.cpp2
-rw-r--r--src/mame/drivers/namcops2.cpp2
-rw-r--r--src/mame/drivers/namcos10.cpp2
-rw-r--r--src/mame/drivers/namcos11.cpp2
-rw-r--r--src/mame/drivers/namcos12.cpp2
-rw-r--r--src/mame/drivers/namcos23.cpp8
-rw-r--r--src/mame/drivers/nanos.cpp2
-rw-r--r--src/mame/drivers/nascom1.cpp6
-rw-r--r--src/mame/drivers/neoprint.cpp2
-rw-r--r--src/mame/drivers/neptunp2.cpp2
-rw-r--r--src/mame/drivers/nexus3d.cpp2
-rw-r--r--src/mame/drivers/ng_aes.cpp2
-rw-r--r--src/mame/drivers/ngen.cpp4
-rw-r--r--src/mame/drivers/ngp.cpp2
-rw-r--r--src/mame/drivers/nightgal.cpp2
-rw-r--r--src/mame/drivers/ninjaw.cpp4
-rw-r--r--src/mame/drivers/nmg5.cpp2
-rw-r--r--src/mame/drivers/nokia_3310.cpp2
-rw-r--r--src/mame/drivers/nsm.cpp2
-rw-r--r--src/mame/drivers/nsmpoker.cpp2
-rw-r--r--src/mame/drivers/nss.cpp2
-rw-r--r--src/mame/drivers/nwk-tr.cpp2
-rw-r--r--src/mame/drivers/nyny.cpp2
-rw-r--r--src/mame/drivers/octopus.cpp2
-rw-r--r--src/mame/drivers/odyssey2.cpp4
-rw-r--r--src/mame/drivers/okean240.cpp2
-rw-r--r--src/mame/drivers/olibochu.cpp2
-rw-r--r--src/mame/drivers/omegrace.cpp2
-rw-r--r--src/mame/drivers/onetwo.cpp2
-rw-r--r--src/mame/drivers/onyx.cpp2
-rw-r--r--src/mame/drivers/oric.cpp4
-rw-r--r--src/mame/drivers/osbexec.cpp2
-rw-r--r--src/mame/drivers/othello.cpp2
-rw-r--r--src/mame/drivers/p112.cpp2
-rw-r--r--src/mame/drivers/p8k.cpp2
-rw-r--r--src/mame/drivers/pachifev.cpp2
-rw-r--r--src/mame/drivers/palm.cpp2
-rw-r--r--src/mame/drivers/palmz22.cpp2
-rw-r--r--src/mame/drivers/pangofun.cpp2
-rw-r--r--src/mame/drivers/panicr.cpp2
-rw-r--r--src/mame/drivers/paranoia.cpp2
-rw-r--r--src/mame/drivers/pasha2.cpp2
-rw-r--r--src/mame/drivers/paso1600.cpp2
-rw-r--r--src/mame/drivers/pasogo.cpp2
-rw-r--r--src/mame/drivers/pasopia.cpp2
-rw-r--r--src/mame/drivers/pasopia7.cpp2
-rw-r--r--src/mame/drivers/patinho_feio.cpp2
-rw-r--r--src/mame/drivers/pb1000.cpp2
-rw-r--r--src/mame/drivers/pc.cpp2
-rw-r--r--src/mame/drivers/pc100.cpp2
-rw-r--r--src/mame/drivers/pc1500.cpp2
-rw-r--r--src/mame/drivers/pc2000.cpp8
-rw-r--r--src/mame/drivers/pc6001.cpp2
-rw-r--r--src/mame/drivers/pc8801.cpp2
-rw-r--r--src/mame/drivers/pc88va.cpp2
-rw-r--r--src/mame/drivers/pc9801.cpp2
-rw-r--r--src/mame/drivers/pcat_dyn.cpp2
-rw-r--r--src/mame/drivers/pcat_nit.cpp2
-rw-r--r--src/mame/drivers/pcd.cpp2
-rw-r--r--src/mame/drivers/pce220.cpp4
-rw-r--r--src/mame/drivers/pcfx.cpp2
-rw-r--r--src/mame/drivers/pcm.cpp2
-rw-r--r--src/mame/drivers/pcxt.cpp10
-rw-r--r--src/mame/drivers/pda600.cpp2
-rw-r--r--src/mame/drivers/pdp1.cpp16
-rw-r--r--src/mame/drivers/pdp11.cpp2
-rw-r--r--src/mame/drivers/pegasus.cpp2
-rw-r--r--src/mame/drivers/pencil2.cpp2
-rw-r--r--src/mame/drivers/pengadvb.cpp2
-rw-r--r--src/mame/drivers/pengo.cpp2
-rw-r--r--src/mame/drivers/pentagon.cpp2
-rw-r--r--src/mame/drivers/peoplepc.cpp2
-rw-r--r--src/mame/drivers/peplus.cpp2
-rw-r--r--src/mame/drivers/peyper.cpp2
-rw-r--r--src/mame/drivers/pgm2.cpp2
-rw-r--r--src/mame/drivers/photon.cpp2
-rw-r--r--src/mame/drivers/photon2.cpp2
-rw-r--r--src/mame/drivers/photoply.cpp2
-rw-r--r--src/mame/drivers/phunsy.cpp2
-rw-r--r--src/mame/drivers/piggypas.cpp2
-rw-r--r--src/mame/drivers/pimps.cpp2
-rw-r--r--src/mame/drivers/pinball2k.cpp2
-rw-r--r--src/mame/drivers/pinkiri8.cpp6
-rw-r--r--src/mame/drivers/pipbug.cpp2
-rw-r--r--src/mame/drivers/pipedrm.cpp2
-rw-r--r--src/mame/drivers/pipeline.cpp2
-rw-r--r--src/mame/drivers/pitagjr.cpp2
-rw-r--r--src/mame/drivers/pk8000.cpp2
-rw-r--r--src/mame/drivers/pkscram.cpp2
-rw-r--r--src/mame/drivers/plan80.cpp2
-rw-r--r--src/mame/drivers/play_1.cpp2
-rw-r--r--src/mame/drivers/play_2.cpp2
-rw-r--r--src/mame/drivers/play_3.cpp2
-rw-r--r--src/mame/drivers/play_5.cpp2
-rw-r--r--src/mame/drivers/pluto5.cpp2
-rw-r--r--src/mame/drivers/pm68k.cpp2
-rw-r--r--src/mame/drivers/pmi80.cpp2
-rw-r--r--src/mame/drivers/pntnpuzl.cpp2
-rw-r--r--src/mame/drivers/pockstat.cpp2
-rw-r--r--src/mame/drivers/pokemini.cpp2
-rw-r--r--src/mame/drivers/poker72.cpp2
-rw-r--r--src/mame/drivers/poly.cpp2
-rw-r--r--src/mame/drivers/pong.cpp6
-rw-r--r--src/mame/drivers/popobear.cpp2
-rw-r--r--src/mame/drivers/potgoldu.cpp2
-rw-r--r--src/mame/drivers/powerbal.cpp2
-rw-r--r--src/mame/drivers/ppmast93.cpp2
-rw-r--r--src/mame/drivers/prestige.cpp2
-rw-r--r--src/mame/drivers/pro80.cpp2
-rw-r--r--src/mame/drivers/proconn.cpp2
-rw-r--r--src/mame/drivers/progolf.cpp2
-rw-r--r--src/mame/drivers/prophet600.cpp2
-rw-r--r--src/mame/drivers/proteus3.cpp2
-rw-r--r--src/mame/drivers/pse.cpp2
-rw-r--r--src/mame/drivers/psx.cpp2
-rw-r--r--src/mame/drivers/pt68k4.cpp2
-rw-r--r--src/mame/drivers/ptcsol.cpp2
-rw-r--r--src/mame/drivers/pturn.cpp2
-rw-r--r--src/mame/drivers/pulsar.cpp2
-rw-r--r--src/mame/drivers/pv1000.cpp6
-rw-r--r--src/mame/drivers/pv2000.cpp2
-rw-r--r--src/mame/drivers/pv9234.cpp2
-rw-r--r--src/mame/drivers/pve500.cpp2
-rw-r--r--src/mame/drivers/px4.cpp6
-rw-r--r--src/mame/drivers/pyl601.cpp2
-rw-r--r--src/mame/drivers/pyson.cpp2
-rw-r--r--src/mame/drivers/pzletime.cpp2
-rw-r--r--src/mame/drivers/qtsbc.cpp2
-rw-r--r--src/mame/drivers/quakeat.cpp2
-rw-r--r--src/mame/drivers/quantum.cpp2
-rw-r--r--src/mame/drivers/queen.cpp2
-rw-r--r--src/mame/drivers/quizo.cpp2
-rw-r--r--src/mame/drivers/quizpun2.cpp2
-rw-r--r--src/mame/drivers/quizshow.cpp2
-rw-r--r--src/mame/drivers/qx10.cpp2
-rw-r--r--src/mame/drivers/r2dtank.cpp2
-rw-r--r--src/mame/drivers/r2dx_v33.cpp2
-rw-r--r--src/mame/drivers/r9751.cpp2
-rw-r--r--src/mame/drivers/rabbit.cpp2
-rw-r--r--src/mame/drivers/rainbow.cpp2
-rw-r--r--src/mame/drivers/rambo.cpp2
-rw-r--r--src/mame/drivers/ramtek.cpp2
-rw-r--r--src/mame/drivers/rastersp.cpp2
-rw-r--r--src/mame/drivers/ravens.cpp2
-rw-r--r--src/mame/drivers/rbmk.cpp2
-rw-r--r--src/mame/drivers/rc759.cpp2
-rw-r--r--src/mame/drivers/rcorsair.cpp2
-rw-r--r--src/mame/drivers/rd100.cpp2
-rw-r--r--src/mame/drivers/rd110.cpp4
-rw-r--r--src/mame/drivers/re900.cpp2
-rw-r--r--src/mame/drivers/replicator.cpp2
-rw-r--r--src/mame/drivers/rex6000.cpp2
-rw-r--r--src/mame/drivers/rgum.cpp2
-rw-r--r--src/mame/drivers/riscpc.cpp2
-rw-r--r--src/mame/drivers/rmhaihai.cpp2
-rw-r--r--src/mame/drivers/rmt32.cpp4
-rw-r--r--src/mame/drivers/rollext.cpp2
-rw-r--r--src/mame/drivers/rotaryf.cpp2
-rw-r--r--src/mame/drivers/roul.cpp2
-rw-r--r--src/mame/drivers/route16.cpp2
-rw-r--r--src/mame/drivers/rowamet.cpp2
-rw-r--r--src/mame/drivers/royalmah.cpp2
-rw-r--r--src/mame/drivers/rsc55.cpp4
-rw-r--r--src/mame/drivers/rt1715.cpp2
-rw-r--r--src/mame/drivers/rvoice.cpp2
-rw-r--r--src/mame/drivers/rx78.cpp2
-rw-r--r--src/mame/drivers/s3.cpp2
-rw-r--r--src/mame/drivers/s4.cpp2
-rw-r--r--src/mame/drivers/s6.cpp2
-rw-r--r--src/mame/drivers/s6a.cpp2
-rw-r--r--src/mame/drivers/s7.cpp2
-rw-r--r--src/mame/drivers/s8.cpp2
-rw-r--r--src/mame/drivers/s8a.cpp2
-rw-r--r--src/mame/drivers/s9.cpp2
-rw-r--r--src/mame/drivers/sacstate.cpp2
-rw-r--r--src/mame/drivers/safarir.cpp2
-rw-r--r--src/mame/drivers/sam.cpp2
-rw-r--r--src/mame/drivers/sandscrp.cpp2
-rw-r--r--src/mame/drivers/sangho.cpp2
-rw-r--r--src/mame/drivers/sanremmg.cpp2
-rw-r--r--src/mame/drivers/sanremo.cpp2
-rw-r--r--src/mame/drivers/sansa_fuze.cpp2
-rw-r--r--src/mame/drivers/sapi1.cpp2
-rw-r--r--src/mame/drivers/saturn.cpp2
-rw-r--r--src/mame/drivers/savia84.cpp2
-rw-r--r--src/mame/drivers/savquest.cpp2
-rw-r--r--src/mame/drivers/sbc6510.cpp2
-rw-r--r--src/mame/drivers/sbowling.cpp2
-rw-r--r--src/mame/drivers/sbrain.cpp2
-rw-r--r--src/mame/drivers/sbrkout.cpp2
-rw-r--r--src/mame/drivers/sc1.cpp2
-rw-r--r--src/mame/drivers/sc2.cpp2
-rw-r--r--src/mame/drivers/scm_500.cpp2
-rw-r--r--src/mame/drivers/scobra.cpp2
-rw-r--r--src/mame/drivers/scorpion.cpp2
-rw-r--r--src/mame/drivers/scregg.cpp2
-rw-r--r--src/mame/drivers/scv.cpp2
-rw-r--r--src/mame/drivers/sdk80.cpp2
-rw-r--r--src/mame/drivers/sdk85.cpp2
-rw-r--r--src/mame/drivers/sdk86.cpp2
-rw-r--r--src/mame/drivers/seabattl.cpp2
-rw-r--r--src/mame/drivers/sealy.cpp2
-rw-r--r--src/mame/drivers/seattle.cpp2
-rw-r--r--src/mame/drivers/seattlecmp.cpp2
-rw-r--r--src/mame/drivers/sega_sawatte.cpp2
-rw-r--r--src/mame/drivers/segac2.cpp2
-rw-r--r--src/mame/drivers/segacoin.cpp2
-rw-r--r--src/mame/drivers/segae.cpp2
-rw-r--r--src/mame/drivers/segajw.cpp2
-rw-r--r--src/mame/drivers/segald.cpp2
-rw-r--r--src/mame/drivers/segam1.cpp2
-rw-r--r--src/mame/drivers/segapico.cpp6
-rw-r--r--src/mame/drivers/segapm.cpp2
-rw-r--r--src/mame/drivers/segas24.cpp12
-rw-r--r--src/mame/drivers/segas32.cpp10
-rw-r--r--src/mame/drivers/segaufo.cpp2
-rw-r--r--src/mame/drivers/segaxbd.cpp20
-rw-r--r--src/mame/drivers/selz80.cpp2
-rw-r--r--src/mame/drivers/sengokmj.cpp2
-rw-r--r--src/mame/drivers/seta2.cpp4
-rw-r--r--src/mame/drivers/sfbonus.cpp2
-rw-r--r--src/mame/drivers/sfcbox.cpp2
-rw-r--r--src/mame/drivers/sfkick.cpp2
-rw-r--r--src/mame/drivers/sg1000a.cpp2
-rw-r--r--src/mame/drivers/sh4robot.cpp2
-rw-r--r--src/mame/drivers/shanghai.cpp2
-rw-r--r--src/mame/drivers/shougi.cpp2
-rw-r--r--src/mame/drivers/shtzone.cpp2
-rw-r--r--src/mame/drivers/sigmab52.cpp2
-rw-r--r--src/mame/drivers/sigmab98.cpp2
-rw-r--r--src/mame/drivers/silvmil.cpp2
-rw-r--r--src/mame/drivers/sitcom.cpp2
-rw-r--r--src/mame/drivers/skeetsht.cpp2
-rw-r--r--src/mame/drivers/skimaxx.cpp2
-rw-r--r--src/mame/drivers/skyarmy.cpp2
-rw-r--r--src/mame/drivers/skylncr.cpp2
-rw-r--r--src/mame/drivers/slc1.cpp2
-rw-r--r--src/mame/drivers/sleic.cpp2
-rw-r--r--src/mame/drivers/slicer.cpp2
-rw-r--r--src/mame/drivers/sliver.cpp2
-rw-r--r--src/mame/drivers/slotcarn.cpp2
-rw-r--r--src/mame/drivers/sm1800.cpp2
-rw-r--r--src/mame/drivers/smc777.cpp2
-rw-r--r--src/mame/drivers/smsmcorp.cpp2
-rw-r--r--src/mame/drivers/snes.cpp2
-rw-r--r--src/mame/drivers/snesb.cpp2
-rw-r--r--src/mame/drivers/socrates.cpp4
-rw-r--r--src/mame/drivers/sothello.cpp2
-rw-r--r--src/mame/drivers/spaceg.cpp2
-rw-r--r--src/mame/drivers/spc1000.cpp2
-rw-r--r--src/mame/drivers/spc1500.cpp2
-rw-r--r--src/mame/drivers/spectra.cpp2
-rw-r--r--src/mame/drivers/speglsht.cpp2
-rw-r--r--src/mame/drivers/spinb.cpp2
-rw-r--r--src/mame/drivers/splus.cpp2
-rw-r--r--src/mame/drivers/spoker.cpp2
-rw-r--r--src/mame/drivers/spool99.cpp2
-rw-r--r--src/mame/drivers/squale.cpp2
-rw-r--r--src/mame/drivers/srmp5.cpp2
-rw-r--r--src/mame/drivers/srmp6.cpp2
-rw-r--r--src/mame/drivers/ssem.cpp2
-rw-r--r--src/mame/drivers/ssfindo.cpp2
-rw-r--r--src/mame/drivers/sshot.cpp2
-rw-r--r--src/mame/drivers/ssingles.cpp2
-rw-r--r--src/mame/drivers/sstrangr.cpp2
-rw-r--r--src/mame/drivers/st17xx.cpp2
-rw-r--r--src/mame/drivers/st_mp100.cpp2
-rw-r--r--src/mame/drivers/st_mp200.cpp2
-rw-r--r--src/mame/drivers/statriv2.cpp2
-rw-r--r--src/mame/drivers/stellafr.cpp2
-rw-r--r--src/mame/drivers/stratos.cpp2
-rw-r--r--src/mame/drivers/studio2.cpp6
-rw-r--r--src/mame/drivers/stuntair.cpp2
-rw-r--r--src/mame/drivers/su2000.cpp2
-rw-r--r--src/mame/drivers/sub.cpp2
-rw-r--r--src/mame/drivers/subhuntr.cpp2
-rw-r--r--src/mame/drivers/subsino.cpp2
-rw-r--r--src/mame/drivers/subsino2.cpp2
-rw-r--r--src/mame/drivers/summit.cpp2
-rw-r--r--src/mame/drivers/sumt8035.cpp2
-rw-r--r--src/mame/drivers/sun1.cpp2
-rw-r--r--src/mame/drivers/sun2.cpp2
-rw-r--r--src/mame/drivers/sun3.cpp2
-rw-r--r--src/mame/drivers/sun4.cpp2
-rw-r--r--src/mame/drivers/supdrapo.cpp2
-rw-r--r--src/mame/drivers/supduck.cpp2
-rw-r--r--src/mame/drivers/supercon.cpp2
-rw-r--r--src/mame/drivers/supercrd.cpp2
-rw-r--r--src/mame/drivers/superdq.cpp2
-rw-r--r--src/mame/drivers/supertnk.cpp2
-rw-r--r--src/mame/drivers/superwng.cpp2
-rw-r--r--src/mame/drivers/supracan.cpp8
-rw-r--r--src/mame/drivers/suprgolf.cpp2
-rw-r--r--src/mame/drivers/suprnova.cpp2
-rw-r--r--src/mame/drivers/sv8000.cpp2
-rw-r--r--src/mame/drivers/svmu.cpp2
-rw-r--r--src/mame/drivers/swtpc.cpp2
-rw-r--r--src/mame/drivers/swyft.cpp2
-rw-r--r--src/mame/drivers/sym1.cpp2
-rw-r--r--src/mame/drivers/sys2900.cpp2
-rw-r--r--src/mame/drivers/systec.cpp2
-rw-r--r--src/mame/drivers/taito.cpp2
-rw-r--r--src/mame/drivers/taito_z.cpp2
-rw-r--r--src/mame/drivers/taitogn.cpp2
-rw-r--r--src/mame/drivers/taitopjc.cpp2
-rw-r--r--src/mame/drivers/taitottl.cpp2
-rw-r--r--src/mame/drivers/taitotx.cpp2
-rw-r--r--src/mame/drivers/taitotz.cpp2
-rw-r--r--src/mame/drivers/taitowlf.cpp2
-rw-r--r--src/mame/drivers/tamag1.cpp2
-rw-r--r--src/mame/drivers/tandy1t.cpp2
-rw-r--r--src/mame/drivers/tapatune.cpp2
-rw-r--r--src/mame/drivers/tasman.cpp2
-rw-r--r--src/mame/drivers/tattack.cpp2
-rw-r--r--src/mame/drivers/tavernie.cpp2
-rw-r--r--src/mame/drivers/tb303.cpp2
-rw-r--r--src/mame/drivers/tcl.cpp2
-rw-r--r--src/mame/drivers/tec1.cpp2
-rw-r--r--src/mame/drivers/techno.cpp2
-rw-r--r--src/mame/drivers/tecnbras.cpp2
-rw-r--r--src/mame/drivers/tek410x.cpp2
-rw-r--r--src/mame/drivers/tekxp33x.cpp2
-rw-r--r--src/mame/drivers/tempest.cpp2
-rw-r--r--src/mame/drivers/terak.cpp2
-rw-r--r--src/mame/drivers/test_t400.cpp2
-rw-r--r--src/mame/drivers/tgtpanic.cpp2
-rw-r--r--src/mame/drivers/thayers.cpp2
-rw-r--r--src/mame/drivers/thedealr.cpp2
-rw-r--r--src/mame/drivers/ti630.cpp2
-rw-r--r--src/mame/drivers/ti74.cpp2
-rw-r--r--src/mame/drivers/ti990_10.cpp2
-rw-r--r--src/mame/drivers/ti990_4.cpp2
-rw-r--r--src/mame/drivers/ti99_2.cpp2
-rw-r--r--src/mame/drivers/ti99_4p.cpp2
-rw-r--r--src/mame/drivers/ti99_4x.cpp2
-rw-r--r--src/mame/drivers/ti99_8.cpp2
-rw-r--r--src/mame/drivers/ticalc1x.cpp18
-rw-r--r--src/mame/drivers/tickee.cpp2
-rw-r--r--src/mame/drivers/tim011.cpp2
-rw-r--r--src/mame/drivers/tim100.cpp2
-rw-r--r--src/mame/drivers/timetrv.cpp2
-rw-r--r--src/mame/drivers/tispeak.cpp2
-rw-r--r--src/mame/drivers/tispellb.cpp2
-rw-r--r--src/mame/drivers/tk2000.cpp2
-rw-r--r--src/mame/drivers/tk80.cpp2
-rw-r--r--src/mame/drivers/tk80bs.cpp2
-rw-r--r--src/mame/drivers/tm990189.cpp6
-rw-r--r--src/mame/drivers/tmaster.cpp2
-rw-r--r--src/mame/drivers/tmmjprd.cpp2
-rw-r--r--src/mame/drivers/tmspoker.cpp2
-rw-r--r--src/mame/drivers/tokyocop.cpp2
-rw-r--r--src/mame/drivers/tomcat.cpp2
-rw-r--r--src/mame/drivers/tonton.cpp2
-rw-r--r--src/mame/drivers/topspeed.cpp2
-rw-r--r--src/mame/drivers/toratora.cpp2
-rw-r--r--src/mame/drivers/tourtabl.cpp2
-rw-r--r--src/mame/drivers/tourvis.cpp2
-rw-r--r--src/mame/drivers/tricep.cpp2
-rw-r--r--src/mame/drivers/triforce.cpp2
-rw-r--r--src/mame/drivers/trvmadns.cpp2
-rw-r--r--src/mame/drivers/ts802.cpp2
-rw-r--r--src/mame/drivers/ts803.cpp2
-rw-r--r--src/mame/drivers/ts816.cpp2
-rw-r--r--src/mame/drivers/ttchamp.cpp2
-rw-r--r--src/mame/drivers/tugboat.cpp2
-rw-r--r--src/mame/drivers/turrett.cpp2
-rw-r--r--src/mame/drivers/tutor.cpp2
-rw-r--r--src/mame/drivers/tv950.cpp2
-rw-r--r--src/mame/drivers/tvc.cpp2
-rw-r--r--src/mame/drivers/tvcapcom.cpp2
-rw-r--r--src/mame/drivers/tvgame.cpp2
-rw-r--r--src/mame/drivers/twinkle.cpp2
-rw-r--r--src/mame/drivers/twins.cpp2
-rw-r--r--src/mame/drivers/tx0.cpp16
-rw-r--r--src/mame/drivers/uapce.cpp2
-rw-r--r--src/mame/drivers/uknc.cpp2
-rw-r--r--src/mame/drivers/ultrsprt.cpp2
-rw-r--r--src/mame/drivers/umipoker.cpp2
-rw-r--r--src/mame/drivers/unichamp.cpp2
-rw-r--r--src/mame/drivers/unior.cpp2
-rw-r--r--src/mame/drivers/unistar.cpp2
-rw-r--r--src/mame/drivers/univac.cpp2
-rw-r--r--src/mame/drivers/unixpc.cpp2
-rw-r--r--src/mame/drivers/unkfr.cpp2
-rw-r--r--src/mame/drivers/unkhorse.cpp2
-rw-r--r--src/mame/drivers/upscope.cpp2
-rw-r--r--src/mame/drivers/uzebox.cpp2
-rw-r--r--src/mame/drivers/v6809.cpp2
-rw-r--r--src/mame/drivers/vamphalf.cpp2
-rw-r--r--src/mame/drivers/vax11.cpp2
-rw-r--r--src/mame/drivers/vboy.cpp2
-rw-r--r--src/mame/drivers/vcombat.cpp8
-rw-r--r--src/mame/drivers/vd.cpp2
-rw-r--r--src/mame/drivers/vector4.cpp2
-rw-r--r--src/mame/drivers/vega.cpp2
-rw-r--r--src/mame/drivers/vegaeo.cpp2
-rw-r--r--src/mame/drivers/vegas.cpp2
-rw-r--r--src/mame/drivers/vg5k.cpp2
-rw-r--r--src/mame/drivers/videopkr.cpp2
-rw-r--r--src/mame/drivers/vii.cpp2
-rw-r--r--src/mame/drivers/viper.cpp2
-rw-r--r--src/mame/drivers/vk100.cpp2
-rw-r--r--src/mame/drivers/vlc.cpp2
-rw-r--r--src/mame/drivers/votrpss.cpp2
-rw-r--r--src/mame/drivers/votrtnt.cpp2
-rw-r--r--src/mame/drivers/voyager.cpp2
-rw-r--r--src/mame/drivers/vp101.cpp2
-rw-r--r--src/mame/drivers/vpoker.cpp2
-rw-r--r--src/mame/drivers/vroulet.cpp2
-rw-r--r--src/mame/drivers/vt100.cpp2
-rw-r--r--src/mame/drivers/vt220.cpp2
-rw-r--r--src/mame/drivers/vt240.cpp2
-rw-r--r--src/mame/drivers/vt320.cpp2
-rw-r--r--src/mame/drivers/vt520.cpp2
-rw-r--r--src/mame/drivers/vta2000.cpp2
-rw-r--r--src/mame/drivers/vtech1.cpp2
-rw-r--r--src/mame/drivers/wacky_gator.cpp2
-rw-r--r--src/mame/drivers/wallc.cpp2
-rw-r--r--src/mame/drivers/wardner.cpp2
-rw-r--r--src/mame/drivers/warpsped.cpp2
-rw-r--r--src/mame/drivers/wheelfir.cpp2
-rw-r--r--src/mame/drivers/white_mod.cpp2
-rw-r--r--src/mame/drivers/whitestar.cpp2
-rw-r--r--src/mame/drivers/wicat.cpp2
-rw-r--r--src/mame/drivers/wico.cpp2
-rw-r--r--src/mame/drivers/wildfire.cpp2
-rw-r--r--src/mame/drivers/wildpkr.cpp2
-rw-r--r--src/mame/drivers/wink.cpp2
-rw-r--r--src/mame/drivers/witch.cpp2
-rw-r--r--src/mame/drivers/wmg.cpp4
-rw-r--r--src/mame/drivers/wms.cpp2
-rw-r--r--src/mame/drivers/wpc_95.cpp2
-rw-r--r--src/mame/drivers/wpc_an.cpp2
-rw-r--r--src/mame/drivers/wpc_dcs.cpp2
-rw-r--r--src/mame/drivers/wpc_s.cpp2
-rw-r--r--src/mame/drivers/wyvernf0.cpp2
-rw-r--r--src/mame/drivers/x1twin.cpp2
-rw-r--r--src/mame/drivers/xavix.cpp2
-rw-r--r--src/mame/drivers/xbox.cpp2
-rw-r--r--src/mame/drivers/xtheball.cpp2
-rw-r--r--src/mame/drivers/xtom3d.cpp2
-rw-r--r--src/mame/drivers/ymmu100.cpp4
-rw-r--r--src/mame/drivers/z100.cpp2
-rw-r--r--src/mame/drivers/z1013.cpp2
-rw-r--r--src/mame/drivers/z80dev.cpp2
-rw-r--r--src/mame/drivers/z9001.cpp2
-rw-r--r--src/mame/drivers/zac_1.cpp2
-rw-r--r--src/mame/drivers/zac_2.cpp2
-rw-r--r--src/mame/drivers/zac_proto.cpp2
-rw-r--r--src/mame/drivers/zapcomputer.cpp2
-rw-r--r--src/mame/drivers/zaurus.cpp2
-rw-r--r--src/mame/drivers/zexall.cpp2
-rw-r--r--src/mame/drivers/zn.cpp2
-rw-r--r--src/mame/drivers/zorba.cpp2
-rw-r--r--src/mame/drivers/zr107.cpp2
-rw-r--r--src/mame/drivers/zrt80.cpp2
-rw-r--r--src/mame/drivers/zsbc3.cpp2
-rw-r--r--src/mame/etc/template_cpu.cpp2
-rw-r--r--src/mame/etc/template_device.cpp2
-rw-r--r--src/mame/etc/template_device.h2
-rw-r--r--src/mame/etc/template_driver.cpp2
-rw-r--r--src/mame/includes/1942.h2
-rw-r--r--src/mame/includes/1943.h2
-rw-r--r--src/mame/includes/20pacgal.h4
-rw-r--r--src/mame/includes/3do.h2
-rw-r--r--src/mame/includes/40love.h2
-rw-r--r--src/mame/includes/4enraya.h2
-rw-r--r--src/mame/includes/8080bw.h2
-rw-r--r--src/mame/includes/88games.h2
-rw-r--r--src/mame/includes/abc1600.h2
-rw-r--r--src/mame/includes/abc80.h2
-rw-r--r--src/mame/includes/abc80x.h10
-rw-r--r--src/mame/includes/ac1.h2
-rw-r--r--src/mame/includes/actfancr.h2
-rw-r--r--src/mame/includes/adam.h2
-rw-r--r--src/mame/includes/advision.h2
-rw-r--r--src/mame/includes/aeroboto.h2
-rw-r--r--src/mame/includes/aerofgt.h2
-rw-r--r--src/mame/includes/aim65.h2
-rw-r--r--src/mame/includes/airbustr.h2
-rw-r--r--src/mame/includes/ajax.h2
-rw-r--r--src/mame/includes/alesis.h4
-rw-r--r--src/mame/includes/aliens.h2
-rw-r--r--src/mame/includes/alpha68k.h2
-rw-r--r--src/mame/includes/ambush.h2
-rw-r--r--src/mame/includes/amiga.h2
-rw-r--r--src/mame/includes/ampoker2.h2
-rw-r--r--src/mame/includes/amspdwy.h2
-rw-r--r--src/mame/includes/amstrad.h2
-rw-r--r--src/mame/includes/angelkds.h2
-rw-r--r--src/mame/includes/apollo.h18
-rw-r--r--src/mame/includes/apple1.h2
-rw-r--r--src/mame/includes/apple2.h2
-rw-r--r--src/mame/includes/apple2gs.h2
-rw-r--r--src/mame/includes/apple3.h2
-rw-r--r--src/mame/includes/appoooh.h2
-rw-r--r--src/mame/includes/aquarium.h2
-rw-r--r--src/mame/includes/aquarius.h2
-rw-r--r--src/mame/includes/arabian.h2
-rw-r--r--src/mame/includes/arcadecl.h2
-rw-r--r--src/mame/includes/arcadia.h2
-rw-r--r--src/mame/includes/archimds.h2
-rw-r--r--src/mame/includes/argus.h2
-rw-r--r--src/mame/includes/arkanoid.h2
-rw-r--r--src/mame/includes/armedf.h4
-rw-r--r--src/mame/includes/artmagic.h2
-rw-r--r--src/mame/includes/ashnojoe.h2
-rw-r--r--src/mame/includes/asterix.h2
-rw-r--r--src/mame/includes/asteroid.h2
-rw-r--r--src/mame/includes/astrocde.h2
-rw-r--r--src/mame/includes/astrof.h2
-rw-r--r--src/mame/includes/asuka.h2
-rw-r--r--src/mame/includes/at.h6
-rw-r--r--src/mame/includes/atari.h2
-rw-r--r--src/mame/includes/atarifb.h2
-rw-r--r--src/mame/includes/atarig1.h2
-rw-r--r--src/mame/includes/atarig42.h2
-rw-r--r--src/mame/includes/atarigt.h2
-rw-r--r--src/mame/includes/atarigx2.h2
-rw-r--r--src/mame/includes/atarist.h10
-rw-r--r--src/mame/includes/atarisy1.h2
-rw-r--r--src/mame/includes/atarisy2.h2
-rw-r--r--src/mame/includes/atetris.h2
-rw-r--r--src/mame/includes/atom.h4
-rw-r--r--src/mame/includes/aussiebyte.h2
-rw-r--r--src/mame/includes/avalnche.h2
-rw-r--r--src/mame/includes/avigo.h2
-rw-r--r--src/mame/includes/aztarac.h2
-rw-r--r--src/mame/includes/b2m.h2
-rw-r--r--src/mame/includes/badlands.h2
-rw-r--r--src/mame/includes/bagman.h2
-rw-r--r--src/mame/includes/balsente.h2
-rw-r--r--src/mame/includes/banctec.h2
-rw-r--r--src/mame/includes/bankp.h2
-rw-r--r--src/mame/includes/baraduke.h2
-rw-r--r--src/mame/includes/batman.h2
-rw-r--r--src/mame/includes/battlane.h2
-rw-r--r--src/mame/includes/battlera.h2
-rw-r--r--src/mame/includes/battlex.h2
-rw-r--r--src/mame/includes/battlnts.h2
-rw-r--r--src/mame/includes/bbc.h2
-rw-r--r--src/mame/includes/bbusters.h2
-rw-r--r--src/mame/includes/beathead.h2
-rw-r--r--src/mame/includes/bebox.h2
-rw-r--r--src/mame/includes/beezer.h4
-rw-r--r--src/mame/includes/bfm_ad5.h2
-rw-r--r--src/mame/includes/bfm_sc45.h6
-rw-r--r--src/mame/includes/bfm_sc5.h2
-rw-r--r--src/mame/includes/bigevglf.h2
-rw-r--r--src/mame/includes/bigstrkb.h2
-rw-r--r--src/mame/includes/bionicc.h2
-rw-r--r--src/mame/includes/bishi.h2
-rw-r--r--src/mame/includes/bk.h2
-rw-r--r--src/mame/includes/bking.h2
-rw-r--r--src/mame/includes/bladestl.h2
-rw-r--r--src/mame/includes/blktiger.h2
-rw-r--r--src/mame/includes/blmbycar.h2
-rw-r--r--src/mame/includes/blockade.h2
-rw-r--r--src/mame/includes/blockout.h2
-rw-r--r--src/mame/includes/bloodbro.h2
-rw-r--r--src/mame/includes/blstroid.h2
-rw-r--r--src/mame/includes/blueprnt.h2
-rw-r--r--src/mame/includes/bogeyman.h2
-rw-r--r--src/mame/includes/bombjack.h2
-rw-r--r--src/mame/includes/boogwing.h2
-rw-r--r--src/mame/includes/bottom9.h2
-rw-r--r--src/mame/includes/brkthru.h2
-rw-r--r--src/mame/includes/bsktball.h2
-rw-r--r--src/mame/includes/btime.h2
-rw-r--r--src/mame/includes/btoads.h2
-rw-r--r--src/mame/includes/bublbobl.h2
-rw-r--r--src/mame/includes/buggychl.h2
-rw-r--r--src/mame/includes/bullet.h4
-rw-r--r--src/mame/includes/busicom.h2
-rw-r--r--src/mame/includes/bw12.h2
-rw-r--r--src/mame/includes/bw2.h2
-rw-r--r--src/mame/includes/bwidow.h2
-rw-r--r--src/mame/includes/bwing.h2
-rw-r--r--src/mame/includes/bzone.h2
-rw-r--r--src/mame/includes/c128.h2
-rw-r--r--src/mame/includes/c64.h8
-rw-r--r--src/mame/includes/c80.h2
-rw-r--r--src/mame/includes/cabal.h2
-rw-r--r--src/mame/includes/calomega.h2
-rw-r--r--src/mame/includes/canyon.h2
-rw-r--r--src/mame/includes/capbowl.h2
-rw-r--r--src/mame/includes/carjmbre.h2
-rw-r--r--src/mame/includes/carpolo.h2
-rw-r--r--src/mame/includes/cave.h2
-rw-r--r--src/mame/includes/cbasebal.h2
-rw-r--r--src/mame/includes/cbm2.h6
-rw-r--r--src/mame/includes/cbuster.h2
-rw-r--r--src/mame/includes/ccastles.h2
-rw-r--r--src/mame/includes/cchasm.h2
-rw-r--r--src/mame/includes/cclimber.h2
-rw-r--r--src/mame/includes/cdi.h2
-rw-r--r--src/mame/includes/centiped.h2
-rw-r--r--src/mame/includes/cgc7900.h2
-rw-r--r--src/mame/includes/chaknpop.h2
-rw-r--r--src/mame/includes/champbas.h2
-rw-r--r--src/mame/includes/changela.h2
-rw-r--r--src/mame/includes/channelf.h2
-rw-r--r--src/mame/includes/cheekyms.h2
-rw-r--r--src/mame/includes/chqflag.h2
-rw-r--r--src/mame/includes/cidelsa.h4
-rw-r--r--src/mame/includes/cinemat.h2
-rw-r--r--src/mame/includes/circus.h2
-rw-r--r--src/mame/includes/circusc.h2
-rw-r--r--src/mame/includes/cischeat.h2
-rw-r--r--src/mame/includes/citycon.h2
-rw-r--r--src/mame/includes/cloak.h2
-rw-r--r--src/mame/includes/cloud9.h2
-rw-r--r--src/mame/includes/clshroad.h2
-rw-r--r--src/mame/includes/cninja.h2
-rw-r--r--src/mame/includes/coco.h2
-rw-r--r--src/mame/includes/coco12.h2
-rw-r--r--src/mame/includes/coco3.h2
-rw-r--r--src/mame/includes/coleco.h2
-rw-r--r--src/mame/includes/combatsc.h2
-rw-r--r--src/mame/includes/commando.h2
-rw-r--r--src/mame/includes/compgolf.h2
-rw-r--r--src/mame/includes/compis.h2
-rw-r--r--src/mame/includes/comquest.h2
-rw-r--r--src/mame/includes/comx35.h2
-rw-r--r--src/mame/includes/concept.h2
-rw-r--r--src/mame/includes/contra.h2
-rw-r--r--src/mame/includes/coolpool.h2
-rw-r--r--src/mame/includes/cop01.h2
-rw-r--r--src/mame/includes/copsnrob.h2
-rw-r--r--src/mame/includes/cosmic.h2
-rw-r--r--src/mame/includes/cosmicos.h2
-rw-r--r--src/mame/includes/cps1.h2
-rw-r--r--src/mame/includes/cps3.h2
-rw-r--r--src/mame/includes/crbaloon.h2
-rw-r--r--src/mame/includes/crgolf.h2
-rw-r--r--src/mame/includes/crimfght.h2
-rw-r--r--src/mame/includes/crospang.h2
-rw-r--r--src/mame/includes/crshrace.h2
-rw-r--r--src/mame/includes/crvision.h6
-rw-r--r--src/mame/includes/cvs.h2
-rw-r--r--src/mame/includes/cxhumax.h2
-rw-r--r--src/mame/includes/cyberbal.h2
-rw-r--r--src/mame/includes/cybiko.h2
-rw-r--r--src/mame/includes/dai.h2
-rw-r--r--src/mame/includes/darius.h2
-rw-r--r--src/mame/includes/darkmist.h2
-rw-r--r--src/mame/includes/darkseal.h2
-rw-r--r--src/mame/includes/dassault.h2
-rw-r--r--src/mame/includes/dbz.h2
-rw-r--r--src/mame/includes/dc.h2
-rw-r--r--src/mame/includes/dccons.h2
-rw-r--r--src/mame/includes/dcheese.h2
-rw-r--r--src/mame/includes/dcon.h2
-rw-r--r--src/mame/includes/dday.h2
-rw-r--r--src/mame/includes/ddragon.h2
-rw-r--r--src/mame/includes/ddragon3.h4
-rw-r--r--src/mame/includes/ddribble.h2
-rw-r--r--src/mame/includes/deadang.h2
-rw-r--r--src/mame/includes/dec0.h4
-rw-r--r--src/mame/includes/dec8.h2
-rw-r--r--src/mame/includes/deco32.h4
-rw-r--r--src/mame/includes/deco_mlc.h2
-rw-r--r--src/mame/includes/decocass.h2
-rw-r--r--src/mame/includes/decocrpt.h6
-rw-r--r--src/mame/includes/deniam.h2
-rw-r--r--src/mame/includes/dgn_beta.h2
-rw-r--r--src/mame/includes/dgnalpha.h2
-rw-r--r--src/mame/includes/dietgo.h2
-rw-r--r--src/mame/includes/djboy.h2
-rw-r--r--src/mame/includes/djmain.h2
-rw-r--r--src/mame/includes/dkong.h2
-rw-r--r--src/mame/includes/dm7000.h2
-rw-r--r--src/mame/includes/docastle.h2
-rw-r--r--src/mame/includes/dogfgt.h2
-rw-r--r--src/mame/includes/dooyong.h8
-rw-r--r--src/mame/includes/dragon.h4
-rw-r--r--src/mame/includes/dragrace.h2
-rw-r--r--src/mame/includes/drgnmst.h2
-rw-r--r--src/mame/includes/dribling.h2
-rw-r--r--src/mame/includes/drmicro.h2
-rw-r--r--src/mame/includes/dynax.h2
-rw-r--r--src/mame/includes/dynduke.h2
-rw-r--r--src/mame/includes/ec184x.h2
-rw-r--r--src/mame/includes/einstein.h8
-rw-r--r--src/mame/includes/electron.h2
-rw-r--r--src/mame/includes/elf.h2
-rw-r--r--src/mame/includes/eolith.h2
-rw-r--r--src/mame/includes/ep64.h2
-rw-r--r--src/mame/includes/epos.h2
-rw-r--r--src/mame/includes/eprom.h2
-rw-r--r--src/mame/includes/equites.h2
-rw-r--r--src/mame/includes/esd16.h2
-rw-r--r--src/mame/includes/espial.h2
-rw-r--r--src/mame/includes/esripsys.h2
-rw-r--r--src/mame/includes/eti660.h2
-rw-r--r--src/mame/includes/exedexes.h2
-rw-r--r--src/mame/includes/exerion.h2
-rw-r--r--src/mame/includes/exidy.h2
-rw-r--r--src/mame/includes/exidy440.h2
-rw-r--r--src/mame/includes/exp85.h2
-rw-r--r--src/mame/includes/exprraid.h2
-rw-r--r--src/mame/includes/exterm.h2
-rw-r--r--src/mame/includes/exzisus.h2
-rw-r--r--src/mame/includes/f1gp.h2
-rw-r--r--src/mame/includes/fantland.h2
-rw-r--r--src/mame/includes/fastfred.h2
-rw-r--r--src/mame/includes/fastlane.h2
-rw-r--r--src/mame/includes/fcombat.h2
-rw-r--r--src/mame/includes/fgoal.h2
-rw-r--r--src/mame/includes/finalizr.h2
-rw-r--r--src/mame/includes/firetrap.h2
-rw-r--r--src/mame/includes/firetrk.h2
-rw-r--r--src/mame/includes/fitfight.h2
-rw-r--r--src/mame/includes/flkatck.h2
-rw-r--r--src/mame/includes/flower.h4
-rw-r--r--src/mame/includes/flstory.h2
-rw-r--r--src/mame/includes/fm7.h2
-rw-r--r--src/mame/includes/fmtowns.h6
-rw-r--r--src/mame/includes/foodf.h2
-rw-r--r--src/mame/includes/freekick.h2
-rw-r--r--src/mame/includes/fromanc2.h2
-rw-r--r--src/mame/includes/fromance.h2
-rw-r--r--src/mame/includes/funkybee.h2
-rw-r--r--src/mame/includes/funkyjet.h2
-rw-r--r--src/mame/includes/funworld.h2
-rw-r--r--src/mame/includes/funybubl.h2
-rw-r--r--src/mame/includes/fuukifg2.h2
-rw-r--r--src/mame/includes/fuukifg3.h2
-rw-r--r--src/mame/includes/gaelco.h2
-rw-r--r--src/mame/includes/gaelco2.h6
-rw-r--r--src/mame/includes/gaelco3d.h2
-rw-r--r--src/mame/includes/gaiden.h2
-rw-r--r--src/mame/includes/galaga.h8
-rw-r--r--src/mame/includes/galastrm.h2
-rw-r--r--src/mame/includes/galaxia.h2
-rw-r--r--src/mame/includes/galaxian.h2
-rw-r--r--src/mame/includes/galaxold.h2
-rw-r--r--src/mame/includes/galaxy.h2
-rw-r--r--src/mame/includes/galeb.h2
-rw-r--r--src/mame/includes/galivan.h2
-rw-r--r--src/mame/includes/galpani2.h2
-rw-r--r--src/mame/includes/galpanic.h2
-rw-r--r--src/mame/includes/galspnbl.h2
-rw-r--r--src/mame/includes/gamate.h2
-rw-r--r--src/mame/includes/gamecom.h2
-rw-r--r--src/mame/includes/gameplan.h2
-rw-r--r--src/mame/includes/gamepock.h2
-rw-r--r--src/mame/includes/gaplus.h2
-rw-r--r--src/mame/includes/gatron.h2
-rw-r--r--src/mame/includes/gauntlet.h2
-rw-r--r--src/mame/includes/gb.h4
-rw-r--r--src/mame/includes/gba.h2
-rw-r--r--src/mame/includes/gberet.h2
-rw-r--r--src/mame/includes/gcpinbal.h2
-rw-r--r--src/mame/includes/genpc.h12
-rw-r--r--src/mame/includes/gijoe.h2
-rw-r--r--src/mame/includes/ginganin.h2
-rw-r--r--src/mame/includes/gladiatr.h2
-rw-r--r--src/mame/includes/glass.h2
-rw-r--r--src/mame/includes/gng.h2
-rw-r--r--src/mame/includes/goal92.h2
-rw-r--r--src/mame/includes/goindol.h2
-rw-r--r--src/mame/includes/goldstar.h12
-rw-r--r--src/mame/includes/gomoku.h4
-rw-r--r--src/mame/includes/gotcha.h2
-rw-r--r--src/mame/includes/gottlieb.h2
-rw-r--r--src/mame/includes/gotya.h2
-rw-r--r--src/mame/includes/gp32.h2
-rw-r--r--src/mame/includes/gradius3.h2
-rw-r--r--src/mame/includes/grchamp.h2
-rw-r--r--src/mame/includes/gridlee.h4
-rw-r--r--src/mame/includes/groundfx.h2
-rw-r--r--src/mame/includes/gstriker.h2
-rw-r--r--src/mame/includes/gsword.h2
-rw-r--r--src/mame/includes/gumbo.h2
-rw-r--r--src/mame/includes/gunbustr.h2
-rw-r--r--src/mame/includes/gundealr.h2
-rw-r--r--src/mame/includes/gunsmoke.h2
-rw-r--r--src/mame/includes/gyruss.h2
-rw-r--r--src/mame/includes/hanaawas.h2
-rw-r--r--src/mame/includes/harddriv.h32
-rw-r--r--src/mame/includes/hcastle.h2
-rw-r--r--src/mame/includes/hec2hrp.h2
-rw-r--r--src/mame/includes/hexion.h2
-rw-r--r--src/mame/includes/hh_tms1k.h2
-rw-r--r--src/mame/includes/hh_ucom4.h2
-rw-r--r--src/mame/includes/higemaru.h2
-rw-r--r--src/mame/includes/himesiki.h2
-rw-r--r--src/mame/includes/hitme.h2
-rw-r--r--src/mame/includes/hnayayoi.h2
-rw-r--r--src/mame/includes/hng64.h2
-rw-r--r--src/mame/includes/holeland.h2
-rw-r--r--src/mame/includes/homedata.h2
-rw-r--r--src/mame/includes/homerun.h2
-rw-r--r--src/mame/includes/hp48.h4
-rw-r--r--src/mame/includes/huebler.h2
-rw-r--r--src/mame/includes/hx20.h2
-rw-r--r--src/mame/includes/hyhoo.h2
-rw-r--r--src/mame/includes/hyperspt.h2
-rw-r--r--src/mame/includes/hyprduel.h2
-rw-r--r--src/mame/includes/ikki.h2
-rw-r--r--src/mame/includes/imds2.h2
-rw-r--r--src/mame/includes/intv.h2
-rw-r--r--src/mame/includes/inufuku.h2
-rw-r--r--src/mame/includes/iqblock.h2
-rw-r--r--src/mame/includes/irobot.h2
-rw-r--r--src/mame/includes/ironhors.h2
-rw-r--r--src/mame/includes/itech32.h4
-rw-r--r--src/mame/includes/itech8.h2
-rw-r--r--src/mame/includes/jack.h2
-rw-r--r--src/mame/includes/jackal.h2
-rw-r--r--src/mame/includes/jaguar.h2
-rw-r--r--src/mame/includes/jailbrek.h2
-rw-r--r--src/mame/includes/jedi.h2
-rw-r--r--src/mame/includes/jpmimpct.h2
-rw-r--r--src/mame/includes/jpmsys5.h2
-rw-r--r--src/mame/includes/jupiter.h4
-rw-r--r--src/mame/includes/kaneko16.h10
-rw-r--r--src/mame/includes/kangaroo.h2
-rw-r--r--src/mame/includes/karnov.h2
-rw-r--r--src/mame/includes/kaypro.h2
-rw-r--r--src/mame/includes/kc.h4
-rw-r--r--src/mame/includes/kchamp.h2
-rw-r--r--src/mame/includes/kickgoal.h2
-rw-r--r--src/mame/includes/kingobox.h2
-rw-r--r--src/mame/includes/klax.h2
-rw-r--r--src/mame/includes/kncljoe.h2
-rw-r--r--src/mame/includes/konamigx.h2
-rw-r--r--src/mame/includes/kopunch.h2
-rw-r--r--src/mame/includes/kramermc.h2
-rw-r--r--src/mame/includes/ksayakyu.h2
-rw-r--r--src/mame/includes/kyocera.h8
-rw-r--r--src/mame/includes/kyugo.h2
-rw-r--r--src/mame/includes/labyrunr.h2
-rw-r--r--src/mame/includes/ladybug.h2
-rw-r--r--src/mame/includes/ladyfrog.h2
-rw-r--r--src/mame/includes/laserbat.h6
-rw-r--r--src/mame/includes/lasso.h2
-rw-r--r--src/mame/includes/lastduel.h2
-rw-r--r--src/mame/includes/lazercmd.h2
-rw-r--r--src/mame/includes/lc80.h2
-rw-r--r--src/mame/includes/legionna.h2
-rw-r--r--src/mame/includes/leland.h12
-rw-r--r--src/mame/includes/lemmings.h2
-rw-r--r--src/mame/includes/lethal.h2
-rw-r--r--src/mame/includes/lethalj.h2
-rw-r--r--src/mame/includes/liberate.h2
-rw-r--r--src/mame/includes/liberatr.h2
-rw-r--r--src/mame/includes/lisa.h2
-rw-r--r--src/mame/includes/lkage.h2
-rw-r--r--src/mame/includes/llc.h2
-rw-r--r--src/mame/includes/lockon.h2
-rw-r--r--src/mame/includes/lordgun.h2
-rw-r--r--src/mame/includes/lsasquad.h2
-rw-r--r--src/mame/includes/lucky74.h2
-rw-r--r--src/mame/includes/lvcards.h2
-rw-r--r--src/mame/includes/lviv.h2
-rw-r--r--src/mame/includes/lwings.h2
-rw-r--r--src/mame/includes/lynx.h2
-rw-r--r--src/mame/includes/m10.h2
-rw-r--r--src/mame/includes/m107.h2
-rw-r--r--src/mame/includes/m5.h2
-rw-r--r--src/mame/includes/m52.h2
-rw-r--r--src/mame/includes/m57.h2
-rw-r--r--src/mame/includes/m58.h2
-rw-r--r--src/mame/includes/m62.h2
-rw-r--r--src/mame/includes/m72.h2
-rw-r--r--src/mame/includes/m79amb.h2
-rw-r--r--src/mame/includes/m90.h2
-rw-r--r--src/mame/includes/m92.h2
-rw-r--r--src/mame/includes/mac.h4
-rw-r--r--src/mame/includes/macpci.h2
-rw-r--r--src/mame/includes/macrossp.h2
-rw-r--r--src/mame/includes/madalien.h2
-rw-r--r--src/mame/includes/madmotor.h2
-rw-r--r--src/mame/includes/magmax.h2
-rw-r--r--src/mame/includes/mainevt.h2
-rw-r--r--src/mame/includes/mainsnk.h2
-rw-r--r--src/mame/includes/malzak.h2
-rw-r--r--src/mame/includes/mappy.h2
-rw-r--r--src/mame/includes/marineb.h2
-rw-r--r--src/mame/includes/mario.h2
-rw-r--r--src/mame/includes/markham.h2
-rw-r--r--src/mame/includes/matmania.h2
-rw-r--r--src/mame/includes/maygay1b.h2
-rw-r--r--src/mame/includes/mbc55x.h2
-rw-r--r--src/mame/includes/mbee.h2
-rw-r--r--src/mame/includes/mboard.h2
-rw-r--r--src/mame/includes/mc1000.h2
-rw-r--r--src/mame/includes/mc1502.h2
-rw-r--r--src/mame/includes/mc80.h2
-rw-r--r--src/mame/includes/mcatadv.h2
-rw-r--r--src/mame/includes/mcr.h2
-rw-r--r--src/mame/includes/mcr3.h2
-rw-r--r--src/mame/includes/mcr68.h2
-rw-r--r--src/mame/includes/md_cons.h2
-rw-r--r--src/mame/includes/meadows.h2
-rw-r--r--src/mame/includes/megadriv.h4
-rw-r--r--src/mame/includes/megasys1.h2
-rw-r--r--src/mame/includes/megazone.h2
-rw-r--r--src/mame/includes/mermaid.h2
-rw-r--r--src/mame/includes/metalmx.h2
-rw-r--r--src/mame/includes/metlclsh.h2
-rw-r--r--src/mame/includes/metro.h2
-rw-r--r--src/mame/includes/mexico86.h2
-rw-r--r--src/mame/includes/mhavoc.h2
-rw-r--r--src/mame/includes/micro3d.h4
-rw-r--r--src/mame/includes/micronic.h2
-rw-r--r--src/mame/includes/microtan.h2
-rw-r--r--src/mame/includes/midtunit.h2
-rw-r--r--src/mame/includes/midvunit.h2
-rw-r--r--src/mame/includes/midwunit.h2
-rw-r--r--src/mame/includes/midxunit.h2
-rw-r--r--src/mame/includes/midyunit.h2
-rw-r--r--src/mame/includes/midzeus.h4
-rw-r--r--src/mame/includes/mikie.h2
-rw-r--r--src/mame/includes/mikro80.h2
-rw-r--r--src/mame/includes/mikromik.h2
-rw-r--r--src/mame/includes/mitchell.h2
-rw-r--r--src/mame/includes/mjkjidai.h2
-rw-r--r--src/mame/includes/model1.h2
-rw-r--r--src/mame/includes/model2.h2
-rw-r--r--src/mame/includes/model3.h2
-rw-r--r--src/mame/includes/momoko.h2
-rw-r--r--src/mame/includes/moo.h2
-rw-r--r--src/mame/includes/mosaic.h2
-rw-r--r--src/mame/includes/mouser.h2
-rw-r--r--src/mame/includes/mpf1.h2
-rw-r--r--src/mame/includes/mpu4.h2
-rw-r--r--src/mame/includes/mpz80.h2
-rw-r--r--src/mame/includes/mrdo.h2
-rw-r--r--src/mame/includes/mrflea.h2
-rw-r--r--src/mame/includes/mrjong.h2
-rw-r--r--src/mame/includes/ms32.h2
-rw-r--r--src/mame/includes/msbc1.h2
-rw-r--r--src/mame/includes/msisaac.h2
-rw-r--r--src/mame/includes/msx.h2
-rw-r--r--src/mame/includes/mtx.h2
-rw-r--r--src/mame/includes/mugsmash.h2
-rw-r--r--src/mame/includes/multfish.h2
-rw-r--r--src/mame/includes/munchmo.h2
-rw-r--r--src/mame/includes/mustache.h2
-rw-r--r--src/mame/includes/mw8080bw.h2
-rw-r--r--src/mame/includes/mystston.h2
-rw-r--r--src/mame/includes/mystwarr.h2
-rw-r--r--src/mame/includes/mz700.h2
-rw-r--r--src/mame/includes/mz80.h2
-rw-r--r--src/mame/includes/n64.h4
-rw-r--r--src/mame/includes/n8080.h2
-rw-r--r--src/mame/includes/namcofl.h2
-rw-r--r--src/mame/includes/namcona1.h2
-rw-r--r--src/mame/includes/namconb1.h2
-rw-r--r--src/mame/includes/namcond1.h2
-rw-r--r--src/mame/includes/namcos1.h2
-rw-r--r--src/mame/includes/namcos2.h4
-rw-r--r--src/mame/includes/namcos21.h2
-rw-r--r--src/mame/includes/namcos22.h2
-rw-r--r--src/mame/includes/namcos86.h2
-rw-r--r--src/mame/includes/naomi.h2
-rw-r--r--src/mame/includes/naughtyb.h2
-rw-r--r--src/mame/includes/nb1413m3.h2
-rw-r--r--src/mame/includes/nb1414m4.h2
-rw-r--r--src/mame/includes/nbmj8688.h2
-rw-r--r--src/mame/includes/nbmj8891.h2
-rw-r--r--src/mame/includes/nbmj8900.h2
-rw-r--r--src/mame/includes/nbmj8991.h2
-rw-r--r--src/mame/includes/nbmj9195.h2
-rw-r--r--src/mame/includes/nc.h2
-rw-r--r--src/mame/includes/nemesis.h2
-rw-r--r--src/mame/includes/neogeo.h6
-rw-r--r--src/mame/includes/nes.h2
-rw-r--r--src/mame/includes/newbrain.h4
-rw-r--r--src/mame/includes/news.h2
-rw-r--r--src/mame/includes/next.h2
-rw-r--r--src/mame/includes/ninjakd2.h2
-rw-r--r--src/mame/includes/ninjaw.h2
-rw-r--r--src/mame/includes/nitedrvr.h2
-rw-r--r--src/mame/includes/niyanpai.h2
-rw-r--r--src/mame/includes/nmk16.h2
-rw-r--r--src/mame/includes/norautp.h2
-rw-r--r--src/mame/includes/nova2001.h2
-rw-r--r--src/mame/includes/nycaptor.h2
-rw-r--r--src/mame/includes/ob68k1a.h2
-rw-r--r--src/mame/includes/offtwall.h2
-rw-r--r--src/mame/includes/ohmygod.h2
-rw-r--r--src/mame/includes/ojankohs.h2
-rw-r--r--src/mame/includes/ondra.h2
-rw-r--r--src/mame/includes/oneshot.h2
-rw-r--r--src/mame/includes/opwolf.h2
-rw-r--r--src/mame/includes/orao.h2
-rw-r--r--src/mame/includes/orbit.h2
-rw-r--r--src/mame/includes/orion.h2
-rw-r--r--src/mame/includes/osborne1.h2
-rw-r--r--src/mame/includes/osi.h8
-rw-r--r--src/mame/includes/othunder.h2
-rw-r--r--src/mame/includes/overdriv.h2
-rw-r--r--src/mame/includes/p2000t.h2
-rw-r--r--src/mame/includes/pacland.h2
-rw-r--r--src/mame/includes/pacman.h2
-rw-r--r--src/mame/includes/pandoras.h2
-rw-r--r--src/mame/includes/paradise.h2
-rw-r--r--src/mame/includes/parodius.h2
-rw-r--r--src/mame/includes/partner.h2
-rw-r--r--src/mame/includes/pass.h2
-rw-r--r--src/mame/includes/pastelg.h2
-rw-r--r--src/mame/includes/pbaction.h2
-rw-r--r--src/mame/includes/pc1251.h2
-rw-r--r--src/mame/includes/pc1350.h2
-rw-r--r--src/mame/includes/pc1401.h2
-rw-r--r--src/mame/includes/pc1403.h2
-rw-r--r--src/mame/includes/pc1512.h4
-rw-r--r--src/mame/includes/pc4.h2
-rw-r--r--src/mame/includes/pc8001.h4
-rw-r--r--src/mame/includes/pc8401a.h4
-rw-r--r--src/mame/includes/pce.h2
-rw-r--r--src/mame/includes/pcktgal.h2
-rw-r--r--src/mame/includes/pcw.h2
-rw-r--r--src/mame/includes/pcw16.h2
-rw-r--r--src/mame/includes/pdp1.h2
-rw-r--r--src/mame/includes/pecom.h2
-rw-r--r--src/mame/includes/pes.h2
-rw-r--r--src/mame/includes/pet.h12
-rw-r--r--src/mame/includes/pgm.h16
-rw-r--r--src/mame/includes/phc25.h2
-rw-r--r--src/mame/includes/phoenix.h4
-rw-r--r--src/mame/includes/pingpong.h2
-rw-r--r--src/mame/includes/pirates.h2
-rw-r--r--src/mame/includes/pitnrun.h2
-rw-r--r--src/mame/includes/pk8000.h2
-rw-r--r--src/mame/includes/pk8020.h2
-rw-r--r--src/mame/includes/pktgaldx.h2
-rw-r--r--src/mame/includes/playch10.h2
-rw-r--r--src/mame/includes/playmark.h2
-rw-r--r--src/mame/includes/plus4.h4
-rw-r--r--src/mame/includes/plygonet.h2
-rw-r--r--src/mame/includes/pmd85.h2
-rw-r--r--src/mame/includes/pocketc.h2
-rw-r--r--src/mame/includes/poisk1.h2
-rw-r--r--src/mame/includes/pokechmp.h2
-rw-r--r--src/mame/includes/polepos.h4
-rw-r--r--src/mame/includes/policetr.h2
-rw-r--r--src/mame/includes/poly88.h2
-rw-r--r--src/mame/includes/poly880.h2
-rw-r--r--src/mame/includes/polyplay.h2
-rw-r--r--src/mame/includes/poolshrk.h2
-rw-r--r--src/mame/includes/pooyan.h2
-rw-r--r--src/mame/includes/popeye.h2
-rw-r--r--src/mame/includes/popper.h2
-rw-r--r--src/mame/includes/portfoli.h2
-rw-r--r--src/mame/includes/portrait.h2
-rw-r--r--src/mame/includes/powerins.h2
-rw-r--r--src/mame/includes/pp01.h2
-rw-r--r--src/mame/includes/prehisle.h2
-rw-r--r--src/mame/includes/primo.h2
-rw-r--r--src/mame/includes/prof180x.h2
-rw-r--r--src/mame/includes/prof80.h2
-rw-r--r--src/mame/includes/psikyo.h2
-rw-r--r--src/mame/includes/psikyo4.h2
-rw-r--r--src/mame/includes/psikyosh.h2
-rw-r--r--src/mame/includes/psion.h4
-rw-r--r--src/mame/includes/psychic5.h2
-rw-r--r--src/mame/includes/punchout.h2
-rw-r--r--src/mame/includes/px8.h2
-rw-r--r--src/mame/includes/qdrmfgp.h2
-rw-r--r--src/mame/includes/qix.h2
-rw-r--r--src/mame/includes/ql.h2
-rw-r--r--src/mame/includes/quasar.h2
-rw-r--r--src/mame/includes/quizdna.h2
-rw-r--r--src/mame/includes/quizpani.h2
-rw-r--r--src/mame/includes/radio86.h2
-rw-r--r--src/mame/includes/raiden.h2
-rw-r--r--src/mame/includes/raiden2.h2
-rw-r--r--src/mame/includes/rallyx.h2
-rw-r--r--src/mame/includes/rampart.h2
-rw-r--r--src/mame/includes/rastan.h2
-rw-r--r--src/mame/includes/rbisland.h2
-rw-r--r--src/mame/includes/realbrk.h2
-rw-r--r--src/mame/includes/redalert.h2
-rw-r--r--src/mame/includes/relief.h2
-rw-r--r--src/mame/includes/renegade.h2
-rw-r--r--src/mame/includes/retofinv.h2
-rw-r--r--src/mame/includes/rltennis.h2
-rw-r--r--src/mame/includes/rm380z.h2
-rw-r--r--src/mame/includes/rmnimbus.h2
-rw-r--r--src/mame/includes/rockrage.h2
-rw-r--r--src/mame/includes/rocnrope.h2
-rw-r--r--src/mame/includes/rohga.h2
-rw-r--r--src/mame/includes/rollerg.h2
-rw-r--r--src/mame/includes/rollrace.h2
-rw-r--r--src/mame/includes/route16.h2
-rw-r--r--src/mame/includes/rpunch.h2
-rw-r--r--src/mame/includes/runaway.h2
-rw-r--r--src/mame/includes/rungun.h2
-rw-r--r--src/mame/includes/s11.h8
-rw-r--r--src/mame/includes/sage2.h2
-rw-r--r--src/mame/includes/samcoupe.h2
-rw-r--r--src/mame/includes/sauro.h2
-rw-r--r--src/mame/includes/sbasketb.h2
-rw-r--r--src/mame/includes/sbugger.h2
-rw-r--r--src/mame/includes/scotrsht.h2
-rw-r--r--src/mame/includes/scramble.h2
-rw-r--r--src/mame/includes/sderby.h2
-rw-r--r--src/mame/includes/segag80r.h4
-rw-r--r--src/mame/includes/segag80v.h2
-rw-r--r--src/mame/includes/segahang.h2
-rw-r--r--src/mame/includes/segaorun.h2
-rw-r--r--src/mame/includes/segas16a.h2
-rw-r--r--src/mame/includes/segas16b.h4
-rw-r--r--src/mame/includes/segas18.h2
-rw-r--r--src/mame/includes/segas24.h2
-rw-r--r--src/mame/includes/segas32.h8
-rw-r--r--src/mame/includes/segasp.h2
-rw-r--r--src/mame/includes/segaxbd.h16
-rw-r--r--src/mame/includes/segaybd.h2
-rw-r--r--src/mame/includes/seibuspi.h2
-rw-r--r--src/mame/includes/seicross.h2
-rw-r--r--src/mame/includes/senjyo.h2
-rw-r--r--src/mame/includes/seta.h2
-rw-r--r--src/mame/includes/seta2.h2
-rw-r--r--src/mame/includes/sf.h2
-rw-r--r--src/mame/includes/sg1000.h6
-rw-r--r--src/mame/includes/shadfrce.h2
-rw-r--r--src/mame/includes/shangha3.h2
-rw-r--r--src/mame/includes/shangkid.h2
-rw-r--r--src/mame/includes/shaolins.h2
-rw-r--r--src/mame/includes/shisen.h2
-rw-r--r--src/mame/includes/shootout.h2
-rw-r--r--src/mame/includes/shuuz.h2
-rw-r--r--src/mame/includes/sidearms.h2
-rw-r--r--src/mame/includes/sidepckt.h2
-rw-r--r--src/mame/includes/silkroad.h2
-rw-r--r--src/mame/includes/simpl156.h2
-rw-r--r--src/mame/includes/simple_st0016.h2
-rw-r--r--src/mame/includes/simpsons.h2
-rw-r--r--src/mame/includes/skullxbo.h2
-rw-r--r--src/mame/includes/skydiver.h2
-rw-r--r--src/mame/includes/skyfox.h2
-rw-r--r--src/mame/includes/skykid.h2
-rw-r--r--src/mame/includes/skyraid.h2
-rw-r--r--src/mame/includes/slapfght.h2
-rw-r--r--src/mame/includes/slapshot.h2
-rw-r--r--src/mame/includes/slapstic.h2
-rw-r--r--src/mame/includes/sms.h4
-rw-r--r--src/mame/includes/snes.h2
-rw-r--r--src/mame/includes/snk.h2
-rw-r--r--src/mame/includes/snk6502.h4
-rw-r--r--src/mame/includes/snk68.h2
-rw-r--r--src/mame/includes/snookr10.h2
-rw-r--r--src/mame/includes/snowbros.h2
-rw-r--r--src/mame/includes/softbox.h2
-rw-r--r--src/mame/includes/solomon.h2
-rw-r--r--src/mame/includes/sonson.h2
-rw-r--r--src/mame/includes/sorcerer.h2
-rw-r--r--src/mame/includes/spacefb.h2
-rw-r--r--src/mame/includes/spbactn.h2
-rw-r--r--src/mame/includes/spcforce.h2
-rw-r--r--src/mame/includes/spdodgeb.h2
-rw-r--r--src/mame/includes/special.h2
-rw-r--r--src/mame/includes/spectrum.h2
-rw-r--r--src/mame/includes/speedatk.h2
-rw-r--r--src/mame/includes/speedbal.h2
-rw-r--r--src/mame/includes/speedspn.h2
-rw-r--r--src/mame/includes/spiders.h2
-rw-r--r--src/mame/includes/splash.h2
-rw-r--r--src/mame/includes/sprcros2.h2
-rw-r--r--src/mame/includes/sprint2.h2
-rw-r--r--src/mame/includes/sprint4.h2
-rw-r--r--src/mame/includes/sprint8.h2
-rw-r--r--src/mame/includes/spy.h2
-rw-r--r--src/mame/includes/srmp2.h2
-rw-r--r--src/mame/includes/srumbler.h2
-rw-r--r--src/mame/includes/sshangha.h2
-rw-r--r--src/mame/includes/sslam.h2
-rw-r--r--src/mame/includes/ssozumo.h2
-rw-r--r--src/mame/includes/sspeedr.h2
-rw-r--r--src/mame/includes/ssrj.h2
-rw-r--r--src/mame/includes/ssv.h2
-rw-r--r--src/mame/includes/ssystem3.h2
-rw-r--r--src/mame/includes/stactics.h2
-rw-r--r--src/mame/includes/stadhero.h2
-rw-r--r--src/mame/includes/starcrus.h2
-rw-r--r--src/mame/includes/starfire.h2
-rw-r--r--src/mame/includes/starshp1.h2
-rw-r--r--src/mame/includes/starwars.h2
-rw-r--r--src/mame/includes/stfight.h2
-rw-r--r--src/mame/includes/stlforce.h2
-rw-r--r--src/mame/includes/strnskil.h2
-rw-r--r--src/mame/includes/stv.h4
-rw-r--r--src/mame/includes/subs.h2
-rw-r--r--src/mame/includes/suna16.h2
-rw-r--r--src/mame/includes/suna8.h2
-rw-r--r--src/mame/includes/supbtime.h2
-rw-r--r--src/mame/includes/super6.h2
-rw-r--r--src/mame/includes/super80.h2
-rw-r--r--src/mame/includes/superchs.h2
-rw-r--r--src/mame/includes/superqix.h2
-rw-r--r--src/mame/includes/superslave.h2
-rw-r--r--src/mame/includes/suprloco.h2
-rw-r--r--src/mame/includes/suprnova.h2
-rw-r--r--src/mame/includes/suprridr.h2
-rw-r--r--src/mame/includes/suprslam.h2
-rw-r--r--src/mame/includes/surpratk.h2
-rw-r--r--src/mame/includes/svi318.h2
-rw-r--r--src/mame/includes/svision.h2
-rw-r--r--src/mame/includes/swtpc09.h2
-rw-r--r--src/mame/includes/system1.h2
-rw-r--r--src/mame/includes/system16.h2
-rw-r--r--src/mame/includes/tagteam.h2
-rw-r--r--src/mame/includes/tail2nos.h2
-rw-r--r--src/mame/includes/taito_b.h2
-rw-r--r--src/mame/includes/taito_f2.h2
-rw-r--r--src/mame/includes/taito_f3.h2
-rw-r--r--src/mame/includes/taito_h.h2
-rw-r--r--src/mame/includes/taito_l.h2
-rw-r--r--src/mame/includes/taito_o.h2
-rw-r--r--src/mame/includes/taito_x.h2
-rw-r--r--src/mame/includes/taito_z.h2
-rw-r--r--src/mame/includes/taitoair.h2
-rw-r--r--src/mame/includes/taitojc.h2
-rw-r--r--src/mame/includes/taitosj.h2
-rw-r--r--src/mame/includes/tandy2k.h2
-rw-r--r--src/mame/includes/tank8.h2
-rw-r--r--src/mame/includes/tankbatt.h2
-rw-r--r--src/mame/includes/tankbust.h2
-rw-r--r--src/mame/includes/taotaido.h2
-rw-r--r--src/mame/includes/targeth.h2
-rw-r--r--src/mame/includes/tatsumi.h2
-rw-r--r--src/mame/includes/taxidriv.h2
-rw-r--r--src/mame/includes/tbowl.h2
-rw-r--r--src/mame/includes/tceptor.h2
-rw-r--r--src/mame/includes/tdv2324.h2
-rw-r--r--src/mame/includes/tecmo.h2
-rw-r--r--src/mame/includes/tecmo16.h2
-rw-r--r--src/mame/includes/tecmosys.h2
-rw-r--r--src/mame/includes/tehkanwc.h2
-rw-r--r--src/mame/includes/tek405x.h4
-rw-r--r--src/mame/includes/terracre.h2
-rw-r--r--src/mame/includes/tetrisp2.h4
-rw-r--r--src/mame/includes/thedeep.h2
-rw-r--r--src/mame/includes/thepit.h2
-rw-r--r--src/mame/includes/thief.h2
-rw-r--r--src/mame/includes/thomson.h4
-rw-r--r--src/mame/includes/thoop2.h2
-rw-r--r--src/mame/includes/thunderj.h2
-rw-r--r--src/mame/includes/thunderx.h2
-rw-r--r--src/mame/includes/ti85.h2
-rw-r--r--src/mame/includes/ti89.h2
-rw-r--r--src/mame/includes/tiamc1.h4
-rw-r--r--src/mame/includes/tigeroad.h2
-rw-r--r--src/mame/includes/tiki100.h2
-rw-r--r--src/mame/includes/timelimt.h2
-rw-r--r--src/mame/includes/timeplt.h2
-rw-r--r--src/mame/includes/tmc1800.h10
-rw-r--r--src/mame/includes/tmc2000e.h2
-rw-r--r--src/mame/includes/tmc600.h2
-rw-r--r--src/mame/includes/tmnt.h2
-rw-r--r--src/mame/includes/tnzs.h2
-rw-r--r--src/mame/includes/toaplan1.h4
-rw-r--r--src/mame/includes/toaplan2.h2
-rw-r--r--src/mame/includes/toki.h2
-rw-r--r--src/mame/includes/toobin.h2
-rw-r--r--src/mame/includes/topspeed.h2
-rw-r--r--src/mame/includes/toypop.h2
-rw-r--r--src/mame/includes/tp84.h2
-rw-r--r--src/mame/includes/trackfld.h2
-rw-r--r--src/mame/includes/travrusa.h2
-rw-r--r--src/mame/includes/triplhnt.h2
-rw-r--r--src/mame/includes/trs80.h2
-rw-r--r--src/mame/includes/trs80m2.h4
-rw-r--r--src/mame/includes/truco.h2
-rw-r--r--src/mame/includes/trucocl.h2
-rw-r--r--src/mame/includes/tryout.h2
-rw-r--r--src/mame/includes/tsamurai.h2
-rw-r--r--src/mame/includes/tsispch.h2
-rw-r--r--src/mame/includes/tubep.h2
-rw-r--r--src/mame/includes/tumbleb.h2
-rw-r--r--src/mame/includes/tumblep.h2
-rw-r--r--src/mame/includes/tunhunt.h2
-rw-r--r--src/mame/includes/turbo.h2
-rw-r--r--src/mame/includes/turrett.h4
-rw-r--r--src/mame/includes/tutankhm.h2
-rw-r--r--src/mame/includes/twin16.h6
-rw-r--r--src/mame/includes/twincobr.h2
-rw-r--r--src/mame/includes/tx0.h2
-rw-r--r--src/mame/includes/tx1.h8
-rw-r--r--src/mame/includes/ultraman.h2
-rw-r--r--src/mame/includes/ultratnk.h2
-rw-r--r--src/mame/includes/undrfire.h2
-rw-r--r--src/mame/includes/unico.h2
-rw-r--r--src/mame/includes/usgames.h2
-rw-r--r--src/mame/includes/ut88.h2
-rw-r--r--src/mame/includes/v1050.h2
-rw-r--r--src/mame/includes/vaportra.h2
-rw-r--r--src/mame/includes/vastar.h2
-rw-r--r--src/mame/includes/vball.h2
-rw-r--r--src/mame/includes/vc4000.h2
-rw-r--r--src/mame/includes/vcs80.h2
-rw-r--r--src/mame/includes/vector06.h2
-rw-r--r--src/mame/includes/vectrex.h2
-rw-r--r--src/mame/includes/vendetta.h2
-rw-r--r--src/mame/includes/vertigo.h2
-rw-r--r--src/mame/includes/vic10.h2
-rw-r--r--src/mame/includes/vic20.h2
-rw-r--r--src/mame/includes/vicdual.h2
-rw-r--r--src/mame/includes/victor9k.h2
-rw-r--r--src/mame/includes/victory.h2
-rw-r--r--src/mame/includes/vidbrain.h2
-rw-r--r--src/mame/includes/videopin.h2
-rw-r--r--src/mame/includes/vigilant.h2
-rw-r--r--src/mame/includes/vindictr.h2
-rw-r--r--src/mame/includes/vip.h2
-rw-r--r--src/mame/includes/vixen.h2
-rw-r--r--src/mame/includes/volfied.h2
-rw-r--r--src/mame/includes/vsnes.h2
-rw-r--r--src/mame/includes/vtech2.h2
-rw-r--r--src/mame/includes/vulgus.h2
-rw-r--r--src/mame/includes/wangpc.h2
-rw-r--r--src/mame/includes/warpwarp.h2
-rw-r--r--src/mame/includes/warriorb.h2
-rw-r--r--src/mame/includes/wc90.h2
-rw-r--r--src/mame/includes/wc90b.h2
-rw-r--r--src/mame/includes/wecleman.h2
-rw-r--r--src/mame/includes/welltris.h2
-rw-r--r--src/mame/includes/wgp.h2
-rw-r--r--src/mame/includes/williams.h8
-rw-r--r--src/mame/includes/wiping.h2
-rw-r--r--src/mame/includes/wiz.h2
-rw-r--r--src/mame/includes/wolfpack.h2
-rw-r--r--src/mame/includes/wpc_pin.h8
-rw-r--r--src/mame/includes/wrally.h2
-rw-r--r--src/mame/includes/wswan.h2
-rw-r--r--src/mame/includes/wwfsstar.h2
-rw-r--r--src/mame/includes/x07.h4
-rw-r--r--src/mame/includes/x1.h4
-rw-r--r--src/mame/includes/x68k.h2
-rw-r--r--src/mame/includes/xain.h2
-rw-r--r--src/mame/includes/xbox.h2
-rw-r--r--src/mame/includes/xerox820.h6
-rw-r--r--src/mame/includes/xexex.h2
-rw-r--r--src/mame/includes/xmen.h2
-rw-r--r--src/mame/includes/xor100.h2
-rw-r--r--src/mame/includes/xorworld.h2
-rw-r--r--src/mame/includes/xxmissio.h2
-rw-r--r--src/mame/includes/xybots.h2
-rw-r--r--src/mame/includes/xyonix.h2
-rw-r--r--src/mame/includes/yiear.h2
-rw-r--r--src/mame/includes/yunsun16.h2
-rw-r--r--src/mame/includes/yunsung8.h2
-rw-r--r--src/mame/includes/z80ne.h2
-rw-r--r--src/mame/includes/z88.h2
-rw-r--r--src/mame/includes/zac2650.h2
-rw-r--r--src/mame/includes/zaccaria.h2
-rw-r--r--src/mame/includes/zaxxon.h2
-rw-r--r--src/mame/includes/zerozone.h2
-rw-r--r--src/mame/includes/zodiack.h2
-rw-r--r--src/mame/includes/zx.h2
-rw-r--r--src/mame/machine/315-5838_317-0229_comp.cpp2
-rw-r--r--src/mame/machine/315-5838_317-0229_comp.h2
-rw-r--r--src/mame/machine/315-5881_crypt.cpp4
-rw-r--r--src/mame/machine/315-5881_crypt.h2
-rw-r--r--src/mame/machine/315_5296.cpp2
-rw-r--r--src/mame/machine/315_5296.h2
-rw-r--r--src/mame/machine/6883sam.cpp3
-rw-r--r--src/mame/machine/6883sam.h6
-rw-r--r--src/mame/machine/abc1600mac.cpp2
-rw-r--r--src/mame/machine/abc1600mac.h2
-rw-r--r--src/mame/machine/abc80kb.cpp2
-rw-r--r--src/mame/machine/abc80kb.h2
-rw-r--r--src/mame/machine/alpha8201.cpp4
-rw-r--r--src/mame/machine/alpha8201.h2
-rw-r--r--src/mame/machine/amigakbd.cpp2
-rw-r--r--src/mame/machine/amigakbd.h2
-rw-r--r--src/mame/machine/amstrad.cpp2
-rw-r--r--src/mame/machine/apollo.cpp10
-rw-r--r--src/mame/machine/apollo_kbd.cpp6
-rw-r--r--src/mame/machine/apollo_kbd.h2
-rw-r--r--src/mame/machine/appldriv.cpp2
-rw-r--r--src/mame/machine/appldriv.h2
-rw-r--r--src/mame/machine/applefdc.cpp6
-rw-r--r--src/mame/machine/applefdc.h6
-rw-r--r--src/mame/machine/apricotkb.cpp2
-rw-r--r--src/mame/machine/apricotkb.h2
-rw-r--r--src/mame/machine/apricotkb_hle.cpp2
-rw-r--r--src/mame/machine/apricotkb_hle.h2
-rw-r--r--src/mame/machine/arkanoid.cpp4
-rw-r--r--src/mame/machine/asic65.cpp2
-rw-r--r--src/mame/machine/asic65.h2
-rw-r--r--src/mame/machine/atari_vg.cpp2
-rw-r--r--src/mame/machine/atari_vg.h2
-rw-r--r--src/mame/machine/atarifdc.cpp2
-rw-r--r--src/mame/machine/atarifdc.h2
-rw-r--r--src/mame/machine/atarigen.cpp15
-rw-r--r--src/mame/machine/atarigen.h12
-rw-r--r--src/mame/machine/awboard.cpp4
-rw-r--r--src/mame/machine/awboard.h2
-rw-r--r--src/mame/machine/bbc.cpp4
-rw-r--r--src/mame/machine/beta.cpp2
-rw-r--r--src/mame/machine/beta.h2
-rw-r--r--src/mame/machine/bfm_bd1.cpp2
-rw-r--r--src/mame/machine/bfm_bd1.h2
-rw-r--r--src/mame/machine/bfm_bda.cpp2
-rw-r--r--src/mame/machine/bfm_bda.h2
-rw-r--r--src/mame/machine/buggychl.cpp2
-rw-r--r--src/mame/machine/buggychl.h2
-rw-r--r--src/mame/machine/c117.cpp6
-rw-r--r--src/mame/machine/c117.h2
-rw-r--r--src/mame/machine/cat702.cpp2
-rw-r--r--src/mame/machine/cat702.h2
-rw-r--r--src/mame/machine/cdi070.cpp2
-rw-r--r--src/mame/machine/cdi070.h2
-rw-r--r--src/mame/machine/cdicdic.cpp2
-rw-r--r--src/mame/machine/cdicdic.h2
-rw-r--r--src/mame/machine/cdislave.cpp2
-rw-r--r--src/mame/machine/cdislave.h2
-rw-r--r--src/mame/machine/coco.cpp2
-rw-r--r--src/mame/machine/coco3.cpp6
-rw-r--r--src/mame/machine/coco_vhd.cpp2
-rw-r--r--src/mame/machine/coco_vhd.h2
-rw-r--r--src/mame/machine/compiskb.cpp2
-rw-r--r--src/mame/machine/compiskb.h2
-rw-r--r--src/mame/machine/cuda.cpp2
-rw-r--r--src/mame/machine/cuda.h2
-rw-r--r--src/mame/machine/dc-ctrl.cpp6
-rw-r--r--src/mame/machine/dc-ctrl.h6
-rw-r--r--src/mame/machine/dec_lk201.cpp2
-rw-r--r--src/mame/machine/dec_lk201.h2
-rw-r--r--src/mame/machine/deco104.cpp2
-rw-r--r--src/mame/machine/deco104.h2
-rw-r--r--src/mame/machine/deco146.cpp4
-rw-r--r--src/mame/machine/deco146.h6
-rw-r--r--src/mame/machine/deco222.cpp4
-rw-r--r--src/mame/machine/deco222.h4
-rw-r--r--src/mame/machine/decocass.cpp14
-rw-r--r--src/mame/machine/decocass_tape.cpp2
-rw-r--r--src/mame/machine/decocass_tape.h2
-rw-r--r--src/mame/machine/decocpu6.cpp2
-rw-r--r--src/mame/machine/decocpu6.h2
-rw-r--r--src/mame/machine/decocpu7.cpp2
-rw-r--r--src/mame/machine/decocpu7.h2
-rw-r--r--src/mame/machine/decocrpt.cpp8
-rw-r--r--src/mame/machine/decopincpu.cpp16
-rw-r--r--src/mame/machine/decopincpu.h18
-rw-r--r--src/mame/machine/dmv_keyb.cpp2
-rw-r--r--src/mame/machine/dmv_keyb.h2
-rw-r--r--src/mame/machine/docg3.cpp2
-rw-r--r--src/mame/machine/docg3.h2
-rw-r--r--src/mame/machine/egret.cpp2
-rw-r--r--src/mame/machine/egret.h2
-rw-r--r--src/mame/machine/einstein.cpp6
-rw-r--r--src/mame/machine/esqpanel.cpp8
-rw-r--r--src/mame/machine/esqpanel.h8
-rw-r--r--src/mame/machine/esqvfd.cpp8
-rw-r--r--src/mame/machine/esqvfd.h8
-rw-r--r--src/mame/machine/fd1089.cpp6
-rw-r--r--src/mame/machine/fd1089.h6
-rw-r--r--src/mame/machine/fd1094.cpp2
-rw-r--r--src/mame/machine/fd1094.h2
-rw-r--r--src/mame/machine/fm_scsi.cpp2
-rw-r--r--src/mame/machine/fm_scsi.h2
-rw-r--r--src/mame/machine/gaelco3d.cpp4
-rw-r--r--src/mame/machine/gaelco3d.h2
-rw-r--r--src/mame/machine/gdrom.cpp2
-rw-r--r--src/mame/machine/gdrom.h2
-rw-r--r--src/mame/machine/genpc.cpp10
-rw-r--r--src/mame/machine/genpin.h2
-rw-r--r--src/mame/machine/hp48.cpp10
-rw-r--r--src/mame/machine/ie15_kbd.cpp4
-rw-r--r--src/mame/machine/ie15_kbd.h4
-rw-r--r--src/mame/machine/igs022.cpp2
-rw-r--r--src/mame/machine/igs022.h2
-rw-r--r--src/mame/machine/igs025.cpp2
-rw-r--r--src/mame/machine/igs025.h2
-rw-r--r--src/mame/machine/igs028.cpp2
-rw-r--r--src/mame/machine/igs028.h2
-rw-r--r--src/mame/machine/inder_sb.cpp2
-rw-r--r--src/mame/machine/inder_sb.h2
-rw-r--r--src/mame/machine/inder_vid.cpp2
-rw-r--r--src/mame/machine/inder_vid.h2
-rw-r--r--src/mame/machine/isbc_215g.cpp2
-rw-r--r--src/mame/machine/isbc_215g.h2
-rw-r--r--src/mame/machine/iteagle_fpga.cpp8
-rw-r--r--src/mame/machine/iteagle_fpga.h14
-rw-r--r--src/mame/machine/jvs13551.cpp5
-rw-r--r--src/mame/machine/jvs13551.h6
-rw-r--r--src/mame/machine/k573cass.cpp16
-rw-r--r--src/mame/machine/k573cass.h16
-rw-r--r--src/mame/machine/k573dio.cpp16
-rw-r--r--src/mame/machine/k573dio.h2
-rw-r--r--src/mame/machine/k573mcr.cpp2
-rw-r--r--src/mame/machine/k573mcr.h2
-rw-r--r--src/mame/machine/k573msu.cpp2
-rw-r--r--src/mame/machine/k573msu.h2
-rw-r--r--src/mame/machine/k573npu.cpp2
-rw-r--r--src/mame/machine/k573npu.h2
-rw-r--r--src/mame/machine/k7659kb.cpp2
-rw-r--r--src/mame/machine/k7659kb.h2
-rw-r--r--src/mame/machine/kaneko_calc3.cpp2
-rw-r--r--src/mame/machine/kaneko_calc3.h2
-rw-r--r--src/mame/machine/kaneko_hit.cpp2
-rw-r--r--src/mame/machine/kaneko_hit.h2
-rw-r--r--src/mame/machine/kaneko_toybox.cpp4
-rw-r--r--src/mame/machine/kaneko_toybox.h2
-rw-r--r--src/mame/machine/kc_keyb.cpp2
-rw-r--r--src/mame/machine/kc_keyb.h2
-rw-r--r--src/mame/machine/konami1.cpp2
-rw-r--r--src/mame/machine/konami1.h2
-rw-r--r--src/mame/machine/konppc.cpp2
-rw-r--r--src/mame/machine/konppc.h2
-rw-r--r--src/mame/machine/m1comm.cpp2
-rw-r--r--src/mame/machine/m1comm.h2
-rw-r--r--src/mame/machine/m20_8086.cpp2
-rw-r--r--src/mame/machine/m20_8086.h2
-rw-r--r--src/mame/machine/m20_kbd.cpp2
-rw-r--r--src/mame/machine/m20_kbd.h2
-rw-r--r--src/mame/machine/m24_kbd.cpp2
-rw-r--r--src/mame/machine/m24_kbd.h2
-rw-r--r--src/mame/machine/m24_z8000.cpp2
-rw-r--r--src/mame/machine/m24_z8000.h2
-rw-r--r--src/mame/machine/m2comm.cpp2
-rw-r--r--src/mame/machine/m2comm.h2
-rw-r--r--src/mame/machine/mackbd.cpp2
-rw-r--r--src/mame/machine/mackbd.h2
-rw-r--r--src/mame/machine/macrtc.cpp2
-rw-r--r--src/mame/machine/macrtc.h2
-rw-r--r--src/mame/machine/maple-dc.cpp2
-rw-r--r--src/mame/machine/maple-dc.h2
-rw-r--r--src/mame/machine/mapledev.cpp2
-rw-r--r--src/mame/machine/mapledev.h2
-rw-r--r--src/mame/machine/mathbox.cpp2
-rw-r--r--src/mame/machine/mathbox.h2
-rw-r--r--src/mame/machine/mega32x.cpp8
-rw-r--r--src/mame/machine/mega32x.h8
-rw-r--r--src/mame/machine/megacd.cpp8
-rw-r--r--src/mame/machine/megacd.h8
-rw-r--r--src/mame/machine/megacdcd.cpp2
-rw-r--r--src/mame/machine/megacdcd.h2
-rw-r--r--src/mame/machine/meters.cpp2
-rw-r--r--src/mame/machine/meters.h2
-rw-r--r--src/mame/machine/microdrv.cpp12
-rw-r--r--src/mame/machine/microdrv.h2
-rw-r--r--src/mame/machine/micropolis.cpp9
-rw-r--r--src/mame/machine/micropolis.h6
-rw-r--r--src/mame/machine/midikbd.cpp2
-rw-r--r--src/mame/machine/midikbd.h2
-rw-r--r--src/mame/machine/midwayic.cpp10
-rw-r--r--src/mame/machine/midwayic.h10
-rw-r--r--src/mame/machine/mie.cpp4
-rw-r--r--src/mame/machine/mie.h4
-rw-r--r--src/mame/machine/mm1kb.cpp2
-rw-r--r--src/mame/machine/mm1kb.h2
-rw-r--r--src/mame/machine/ms7004.cpp10
-rw-r--r--src/mame/machine/ms7004.h2
-rw-r--r--src/mame/machine/msx_matsushita.cpp2
-rw-r--r--src/mame/machine/msx_matsushita.h2
-rw-r--r--src/mame/machine/msx_s1985.cpp2
-rw-r--r--src/mame/machine/msx_s1985.h2
-rw-r--r--src/mame/machine/msx_switched.cpp2
-rw-r--r--src/mame/machine/msx_switched.h2
-rw-r--r--src/mame/machine/msx_systemflags.cpp2
-rw-r--r--src/mame/machine/msx_systemflags.h2
-rw-r--r--src/mame/machine/n64.cpp2
-rw-r--r--src/mame/machine/namco06.cpp18
-rw-r--r--src/mame/machine/namco06.h4
-rw-r--r--src/mame/machine/namco50.cpp2
-rw-r--r--src/mame/machine/namco50.h2
-rw-r--r--src/mame/machine/namco51.cpp2
-rw-r--r--src/mame/machine/namco51.h2
-rw-r--r--src/mame/machine/namco53.cpp2
-rw-r--r--src/mame/machine/namco53.h2
-rw-r--r--src/mame/machine/namco62.cpp2
-rw-r--r--src/mame/machine/namco62.h2
-rw-r--r--src/mame/machine/namco_settings.cpp4
-rw-r--r--src/mame/machine/namco_settings.h2
-rw-r--r--src/mame/machine/namcoio.cpp8
-rw-r--r--src/mame/machine/namcoio.h8
-rw-r--r--src/mame/machine/namcomcu.cpp10
-rw-r--r--src/mame/machine/namcomcu.h10
-rw-r--r--src/mame/machine/namcos1.cpp8
-rw-r--r--src/mame/machine/naomi.cpp2
-rw-r--r--src/mame/machine/naomibd.cpp2
-rw-r--r--src/mame/machine/naomibd.h2
-rw-r--r--src/mame/machine/naomig1.cpp2
-rw-r--r--src/mame/machine/naomig1.h2
-rw-r--r--src/mame/machine/naomigd.cpp2
-rw-r--r--src/mame/machine/naomigd.h2
-rw-r--r--src/mame/machine/naomim1.cpp4
-rw-r--r--src/mame/machine/naomim1.h2
-rw-r--r--src/mame/machine/naomim2.cpp2
-rw-r--r--src/mame/machine/naomim2.h2
-rw-r--r--src/mame/machine/naomim4.cpp2
-rw-r--r--src/mame/machine/naomim4.h2
-rw-r--r--src/mame/machine/naomirom.cpp2
-rw-r--r--src/mame/machine/naomirom.h2
-rw-r--r--src/mame/machine/nb1413m3.cpp2
-rw-r--r--src/mame/machine/nb1414m4.cpp2
-rw-r--r--src/mame/machine/nextkbd.cpp36
-rw-r--r--src/mame/machine/nextkbd.h2
-rw-r--r--src/mame/machine/nextmo.cpp2
-rw-r--r--src/mame/machine/nextmo.h2
-rw-r--r--src/mame/machine/ng_memcard.cpp2
-rw-r--r--src/mame/machine/ng_memcard.h2
-rw-r--r--src/mame/machine/ngen_kb.cpp2
-rw-r--r--src/mame/machine/ngen_kb.h2
-rw-r--r--src/mame/machine/nmk004.cpp2
-rw-r--r--src/mame/machine/nmk004.h2
-rw-r--r--src/mame/machine/nmk112.cpp8
-rw-r--r--src/mame/machine/nmk112.h9
-rw-r--r--src/mame/machine/ns10crypt.cpp16
-rw-r--r--src/mame/machine/ns10crypt.h16
-rw-r--r--src/mame/machine/ns11prot.cpp20
-rw-r--r--src/mame/machine/ns11prot.h20
-rw-r--r--src/mame/machine/pc1512kb.cpp2
-rw-r--r--src/mame/machine/pc1512kb.h2
-rw-r--r--src/mame/machine/pc9801_118.cpp2
-rw-r--r--src/mame/machine/pc9801_118.h2
-rw-r--r--src/mame/machine/pc9801_26.cpp2
-rw-r--r--src/mame/machine/pc9801_26.h2
-rw-r--r--src/mame/machine/pc9801_86.cpp2
-rw-r--r--src/mame/machine/pc9801_86.h2
-rw-r--r--src/mame/machine/pc9801_cbus.cpp2
-rw-r--r--src/mame/machine/pc9801_cbus.h2
-rw-r--r--src/mame/machine/pc9801_kbd.cpp2
-rw-r--r--src/mame/machine/pc9801_kbd.h2
-rw-r--r--src/mame/machine/pcd_kbd.cpp2
-rw-r--r--src/mame/machine/pcd_kbd.h2
-rw-r--r--src/mame/machine/pce220_ser.cpp4
-rw-r--r--src/mame/machine/pce220_ser.h2
-rw-r--r--src/mame/machine/pce_cd.cpp2
-rw-r--r--src/mame/machine/pce_cd.h2
-rw-r--r--src/mame/machine/pcecommn.h2
-rw-r--r--src/mame/machine/pcshare.h2
-rw-r--r--src/mame/machine/prof80mmu.cpp2
-rw-r--r--src/mame/machine/prof80mmu.h2
-rw-r--r--src/mame/machine/psion_pack.cpp2
-rw-r--r--src/mame/machine/psion_pack.h2
-rw-r--r--src/mame/machine/psxcd.cpp2
-rw-r--r--src/mame/machine/psxcd.h2
-rw-r--r--src/mame/machine/qimi.cpp2
-rw-r--r--src/mame/machine/qimi.h2
-rw-r--r--src/mame/machine/qx10kbd.cpp2
-rw-r--r--src/mame/machine/qx10kbd.h2
-rw-r--r--src/mame/machine/raiden2cop.cpp2
-rw-r--r--src/mame/machine/raiden2cop.h2
-rw-r--r--src/mame/machine/rmnkbd.cpp2
-rw-r--r--src/mame/machine/rmnkbd.h2
-rw-r--r--src/mame/machine/rx01.cpp2
-rw-r--r--src/mame/machine/rx01.h2
-rw-r--r--src/mame/machine/s32comm.cpp2
-rw-r--r--src/mame/machine/s32comm.h2
-rw-r--r--src/mame/machine/segabb.cpp2
-rw-r--r--src/mame/machine/segabb.h2
-rw-r--r--src/mame/machine/segaic16.cpp11
-rw-r--r--src/mame/machine/segaic16.h10
-rw-r--r--src/mame/machine/seicop.cpp2
-rw-r--r--src/mame/machine/seicop.h2
-rw-r--r--src/mame/machine/sgi.cpp2
-rw-r--r--src/mame/machine/sgi.h2
-rw-r--r--src/mame/machine/slapstic.cpp2
-rw-r--r--src/mame/machine/smartmed.cpp6
-rw-r--r--src/mame/machine/smartmed.h6
-rw-r--r--src/mame/machine/sonydriv.cpp2
-rw-r--r--src/mame/machine/sonydriv.h2
-rw-r--r--src/mame/machine/st0016.cpp2
-rw-r--r--src/mame/machine/st0016.h2
-rw-r--r--src/mame/machine/swim.cpp2
-rw-r--r--src/mame/machine/swim.h2
-rw-r--r--src/mame/machine/tait8741.cpp4
-rw-r--r--src/mame/machine/tait8741.h4
-rw-r--r--src/mame/machine/taitoio.cpp6
-rw-r--r--src/mame/machine/taitoio.h6
-rw-r--r--src/mame/machine/tandy2kb.cpp2
-rw-r--r--src/mame/machine/tandy2kb.h2
-rw-r--r--src/mame/machine/teleprinter.cpp2
-rw-r--r--src/mame/machine/teleprinter.h2
-rw-r--r--src/mame/machine/thomson.cpp2
-rw-r--r--src/mame/machine/ticket.cpp2
-rw-r--r--src/mame/machine/ticket.h2
-rw-r--r--src/mame/machine/trs80m2kb.cpp2
-rw-r--r--src/mame/machine/trs80m2kb.h2
-rw-r--r--src/mame/machine/upd65031.cpp42
-rw-r--r--src/mame/machine/upd65031.h2
-rw-r--r--src/mame/machine/v1050kb.cpp2
-rw-r--r--src/mame/machine/v1050kb.h2
-rw-r--r--src/mame/machine/victor9k_fdc.cpp8
-rw-r--r--src/mame/machine/victor9k_fdc.h2
-rw-r--r--src/mame/machine/victor9kb.cpp2
-rw-r--r--src/mame/machine/victor9kb.h2
-rw-r--r--src/mame/machine/wangpckb.cpp2
-rw-r--r--src/mame/machine/wangpckb.h2
-rw-r--r--src/mame/machine/wpc.cpp2
-rw-r--r--src/mame/machine/wpc.h2
-rw-r--r--src/mame/machine/wpc_lamp.cpp2
-rw-r--r--src/mame/machine/wpc_lamp.h2
-rw-r--r--src/mame/machine/wpc_out.cpp2
-rw-r--r--src/mame/machine/wpc_out.h2
-rw-r--r--src/mame/machine/wpc_pic.cpp10
-rw-r--r--src/mame/machine/wpc_pic.h2
-rw-r--r--src/mame/machine/wpc_shift.cpp2
-rw-r--r--src/mame/machine/wpc_shift.h2
-rw-r--r--src/mame/machine/x1.cpp2
-rw-r--r--src/mame/machine/x68k_hdc.cpp2
-rw-r--r--src/mame/machine/x68k_hdc.h2
-rw-r--r--src/mame/machine/x68k_kbd.cpp2
-rw-r--r--src/mame/machine/x68k_kbd.h2
-rw-r--r--src/mame/machine/x820kb.cpp2
-rw-r--r--src/mame/machine/x820kb.h2
-rw-r--r--src/mame/machine/zndip.cpp2
-rw-r--r--src/mame/machine/zndip.h2
-rw-r--r--src/mame/machine/zs01.cpp8
-rw-r--r--src/mame/machine/zs01.h2
-rw-r--r--src/mame/machine/zx8302.cpp34
-rw-r--r--src/mame/machine/zx8302.h2
-rw-r--r--src/mame/video/733_asr.cpp2
-rw-r--r--src/mame/video/733_asr.h2
-rw-r--r--src/mame/video/911_vdt.cpp2
-rw-r--r--src/mame/video/911_vdt.h2
-rw-r--r--src/mame/video/abc1600.cpp2
-rw-r--r--src/mame/video/abc1600.h2
-rw-r--r--src/mame/video/antic.cpp3
-rw-r--r--src/mame/video/antic.h6
-rw-r--r--src/mame/video/apollo.cpp6
-rw-r--r--src/mame/video/apple2.cpp2
-rw-r--r--src/mame/video/apple2.h2
-rw-r--r--src/mame/video/atarimo.cpp4
-rw-r--r--src/mame/video/atarimo.h4
-rw-r--r--src/mame/video/atarirle.cpp4
-rw-r--r--src/mame/video/atarirle.h2
-rw-r--r--src/mame/video/avgdvg.cpp22
-rw-r--r--src/mame/video/avgdvg.h22
-rw-r--r--src/mame/video/bfm_adr2.cpp2
-rw-r--r--src/mame/video/bfm_adr2.h2
-rw-r--r--src/mame/video/bfm_dm01.cpp2
-rw-r--r--src/mame/video/bfm_dm01.h2
-rw-r--r--src/mame/video/c116.cpp2
-rw-r--r--src/mame/video/c116.h2
-rw-r--r--src/mame/video/c45.cpp2
-rw-r--r--src/mame/video/c45.h2
-rw-r--r--src/mame/video/chihiro.cpp8
-rw-r--r--src/mame/video/crt.cpp2
-rw-r--r--src/mame/video/crt.h2
-rw-r--r--src/mame/video/decbac06.cpp4
-rw-r--r--src/mame/video/decbac06.h4
-rw-r--r--src/mame/video/deckarn.cpp6
-rw-r--r--src/mame/video/deckarn.h6
-rw-r--r--src/mame/video/decmxc06.cpp6
-rw-r--r--src/mame/video/decmxc06.h6
-rw-r--r--src/mame/video/deco16ic.cpp6
-rw-r--r--src/mame/video/deco16ic.h6
-rw-r--r--src/mame/video/deco_zoomspr.cpp6
-rw-r--r--src/mame/video/deco_zoomspr.h6
-rw-r--r--src/mame/video/decocomn.cpp4
-rw-r--r--src/mame/video/decocomn.h4
-rw-r--r--src/mame/video/decodmd1.cpp4
-rw-r--r--src/mame/video/decodmd1.h6
-rw-r--r--src/mame/video/decodmd2.cpp4
-rw-r--r--src/mame/video/decodmd2.h6
-rw-r--r--src/mame/video/decodmd3.cpp4
-rw-r--r--src/mame/video/decodmd3.h6
-rw-r--r--src/mame/video/decospr.cpp6
-rw-r--r--src/mame/video/decospr.h6
-rw-r--r--src/mame/video/excellent_spr.cpp2
-rw-r--r--src/mame/video/excellent_spr.h2
-rw-r--r--src/mame/video/fuukifg.cpp4
-rw-r--r--src/mame/video/fuukifg.h4
-rw-r--r--src/mame/video/gb_lcd.cpp10
-rw-r--r--src/mame/video/gb_lcd.h10
-rw-r--r--src/mame/video/gic.cpp4
-rw-r--r--src/mame/video/gic.h4
-rw-r--r--src/mame/video/gime.cpp11
-rw-r--r--src/mame/video/gime.h18
-rw-r--r--src/mame/video/gp9001.cpp2
-rw-r--r--src/mame/video/gp9001.h2
-rw-r--r--src/mame/video/gtia.cpp2
-rw-r--r--src/mame/video/gtia.h2
-rw-r--r--src/mame/video/igs017_igs031.cpp2
-rw-r--r--src/mame/video/igs017_igs031.h2
-rw-r--r--src/mame/video/itech32.cpp8
-rw-r--r--src/mame/video/jalblend.cpp2
-rw-r--r--src/mame/video/jalblend.h2
-rw-r--r--src/mame/video/k001005.cpp4
-rw-r--r--src/mame/video/k001005.h6
-rw-r--r--src/mame/video/k001006.cpp5
-rw-r--r--src/mame/video/k001006.h6
-rw-r--r--src/mame/video/k001604.cpp6
-rw-r--r--src/mame/video/k001604.h6
-rw-r--r--src/mame/video/k007121.cpp4
-rw-r--r--src/mame/video/k007121.h4
-rw-r--r--src/mame/video/k007342.cpp4
-rw-r--r--src/mame/video/k007342.h4
-rw-r--r--src/mame/video/k007420.cpp4
-rw-r--r--src/mame/video/k007420.h4
-rw-r--r--src/mame/video/k037122.cpp6
-rw-r--r--src/mame/video/k037122.h6
-rw-r--r--src/mame/video/k051316.cpp2
-rw-r--r--src/mame/video/k051316.h2
-rw-r--r--src/mame/video/k051733.cpp2
-rw-r--r--src/mame/video/k051733.h2
-rw-r--r--src/mame/video/k051960.cpp5
-rw-r--r--src/mame/video/k051960.h6
-rw-r--r--src/mame/video/k052109.cpp7
-rw-r--r--src/mame/video/k052109.h6
-rw-r--r--src/mame/video/k053244_k053245.cpp2
-rw-r--r--src/mame/video/k053244_k053245.h2
-rw-r--r--src/mame/video/k053246_k053247_k055673.cpp10
-rw-r--r--src/mame/video/k053246_k053247_k055673.h10
-rw-r--r--src/mame/video/k053250.cpp4
-rw-r--r--src/mame/video/k053250.h2
-rw-r--r--src/mame/video/k053251.cpp2
-rw-r--r--src/mame/video/k053251.h2
-rw-r--r--src/mame/video/k053936.cpp2
-rw-r--r--src/mame/video/k053936.h2
-rw-r--r--src/mame/video/k054000.cpp2
-rw-r--r--src/mame/video/k054000.h2
-rw-r--r--src/mame/video/k054156_k054157_k056832.cpp7
-rw-r--r--src/mame/video/k054156_k054157_k056832.h6
-rw-r--r--src/mame/video/k054338.cpp5
-rw-r--r--src/mame/video/k054338.h2
-rw-r--r--src/mame/video/k055555.cpp2
-rw-r--r--src/mame/video/k055555.h2
-rw-r--r--src/mame/video/k057714.cpp2
-rw-r--r--src/mame/video/k057714.h2
-rw-r--r--src/mame/video/k1ge.cpp6
-rw-r--r--src/mame/video/k1ge.h6
-rw-r--r--src/mame/video/kan_pand.cpp6
-rw-r--r--src/mame/video/kan_pand.h6
-rw-r--r--src/mame/video/kaneko_grap2.cpp6
-rw-r--r--src/mame/video/kaneko_grap2.h4
-rw-r--r--src/mame/video/kaneko_spr.cpp8
-rw-r--r--src/mame/video/kaneko_spr.h8
-rw-r--r--src/mame/video/kaneko_tmap.cpp4
-rw-r--r--src/mame/video/kaneko_tmap.h4
-rw-r--r--src/mame/video/maria.cpp2
-rw-r--r--src/mame/video/maria.h6
-rw-r--r--src/mame/video/mb60553.cpp4
-rw-r--r--src/mame/video/mb60553.h4
-rw-r--r--src/mame/video/mcd212.cpp2
-rw-r--r--src/mame/video/mcd212.h2
-rw-r--r--src/mame/video/neogeo_spr.cpp10
-rw-r--r--src/mame/video/neogeo_spr.h10
-rw-r--r--src/mame/video/newport.cpp2
-rw-r--r--src/mame/video/newport.h2
-rw-r--r--src/mame/video/nick.cpp2
-rw-r--r--src/mame/video/nick.h2
-rw-r--r--src/mame/video/pc080sn.cpp6
-rw-r--r--src/mame/video/pc080sn.h6
-rw-r--r--src/mame/video/pc090oj.cpp6
-rw-r--r--src/mame/video/pc090oj.h6
-rw-r--r--src/mame/video/pc_t1t.cpp6
-rw-r--r--src/mame/video/pc_t1t.h6
-rw-r--r--src/mame/video/pcd.cpp6
-rw-r--r--src/mame/video/pcd.h6
-rw-r--r--src/mame/video/powervr2.cpp14
-rw-r--r--src/mame/video/powervr2.h2
-rw-r--r--src/mame/video/ppu2c0x.cpp22
-rw-r--r--src/mame/video/ppu2c0x.h20
-rw-r--r--src/mame/video/sega16sp.cpp20
-rw-r--r--src/mame/video/sega16sp.h20
-rw-r--r--src/mame/video/segaic16.cpp4
-rw-r--r--src/mame/video/segaic16.h4
-rw-r--r--src/mame/video/segaic16_road.cpp2
-rw-r--r--src/mame/video/segaic16_road.h2
-rw-r--r--src/mame/video/segaic24.cpp10
-rw-r--r--src/mame/video/segaic24.h10
-rw-r--r--src/mame/video/seibu_crtc.cpp2
-rw-r--r--src/mame/video/seibu_crtc.h2
-rw-r--r--src/mame/video/seta001.cpp6
-rw-r--r--src/mame/video/seta001.h6
-rw-r--r--src/mame/video/sknsspr.cpp2
-rw-r--r--src/mame/video/sknsspr.h2
-rw-r--r--src/mame/video/st0020.cpp6
-rw-r--r--src/mame/video/st0020.h6
-rw-r--r--src/mame/video/stic.cpp2
-rw-r--r--src/mame/video/stic.h2
-rw-r--r--src/mame/video/tc0080vco.cpp6
-rw-r--r--src/mame/video/tc0080vco.h6
-rw-r--r--src/mame/video/tc0100scn.cpp6
-rw-r--r--src/mame/video/tc0100scn.h6
-rw-r--r--src/mame/video/tc0110pcr.cpp4
-rw-r--r--src/mame/video/tc0110pcr.h4
-rw-r--r--src/mame/video/tc0150rod.cpp2
-rw-r--r--src/mame/video/tc0150rod.h2
-rw-r--r--src/mame/video/tc0180vcu.cpp4
-rw-r--r--src/mame/video/tc0180vcu.h4
-rw-r--r--src/mame/video/tc0280grd.cpp4
-rw-r--r--src/mame/video/tc0280grd.h4
-rw-r--r--src/mame/video/tc0360pri.cpp2
-rw-r--r--src/mame/video/tc0360pri.h2
-rw-r--r--src/mame/video/tc0480scp.cpp6
-rw-r--r--src/mame/video/tc0480scp.h6
-rw-r--r--src/mame/video/tc0780fpa.cpp2
-rw-r--r--src/mame/video/tc0780fpa.h2
-rw-r--r--src/mame/video/tecmo_mix.cpp2
-rw-r--r--src/mame/video/tecmo_mix.h2
-rw-r--r--src/mame/video/tecmo_spr.cpp2
-rw-r--r--src/mame/video/tecmo_spr.h2
-rw-r--r--src/mame/video/tia.cpp6
-rw-r--r--src/mame/video/tia.h6
-rw-r--r--src/mame/video/tigeroad_spr.cpp2
-rw-r--r--src/mame/video/tigeroad_spr.h2
-rw-r--r--src/mame/video/toaplan_scu.cpp2
-rw-r--r--src/mame/video/toaplan_scu.h2
-rw-r--r--src/mame/video/uv201.cpp2
-rw-r--r--src/mame/video/uv201.h2
-rw-r--r--src/mame/video/vrender0.cpp2
-rw-r--r--src/mame/video/vrender0.h4
-rw-r--r--src/mame/video/vs920a.cpp4
-rw-r--r--src/mame/video/vs920a.h4
-rw-r--r--src/mame/video/vsystem_spr.cpp6
-rw-r--r--src/mame/video/vsystem_spr.h6
-rw-r--r--src/mame/video/vsystem_spr2.cpp6
-rw-r--r--src/mame/video/vsystem_spr2.h6
-rw-r--r--src/mame/video/vtvideo.cpp8
-rw-r--r--src/mame/video/vtvideo.h10
-rw-r--r--src/mame/video/wpc_dmd.cpp2
-rw-r--r--src/mame/video/wpc_dmd.h2
-rw-r--r--src/mame/video/wswan_video.cpp2
-rw-r--r--src/mame/video/wswan_video.h2
-rw-r--r--src/mame/video/ygv608.cpp6
-rw-r--r--src/mame/video/ygv608.h6
-rw-r--r--src/mame/video/zx8301.cpp2
-rw-r--r--src/mame/video/zx8301.h4
2689 files changed, 3821 insertions, 3843 deletions
diff --git a/src/mame/audio/alesis.cpp b/src/mame/audio/alesis.cpp
index 7a253db43a2..1547cd2cd33 100644
--- a/src/mame/audio/alesis.cpp
+++ b/src/mame/audio/alesis.cpp
@@ -34,7 +34,7 @@ MACHINE_CONFIG_END
// alesis_dm3ag_device - constructor
//-------------------------------------------------
-alesis_dm3ag_device::alesis_dm3ag_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+alesis_dm3ag_device::alesis_dm3ag_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ALESIS_DM3AG, "Alesis DM3AG", tag, owner, clock, "alesis_dm3ag", __FILE__),
m_dac(*this, "dac"),
m_samples(*this, DEVICE_SELF)
@@ -97,7 +97,7 @@ void alesis_dm3ag_device::device_timer(emu_timer &timer, device_timer_id id, int
*/
m_shift--;
- if (LOG) logerror("DM3AG '%s' shift: %02x\n", tag(), m_shift);
+ if (LOG) logerror("DM3AG '%s' shift: %02x\n", tag().c_str(), m_shift);
}
// every block ends with three or more -1 samples
@@ -106,7 +106,7 @@ void alesis_dm3ag_device::device_timer(emu_timer &timer, device_timer_id id, int
m_output_active = false;
sample = 0;
- if (LOG) logerror("DM3AG '%s' stop: %d, len: %d\n", tag(), m_cur_sample, m_cur_sample-((m_cmd[0]<<12) | (m_cmd[1]<<4) | ((m_cmd[2]>>4) & 0x0f)));
+ if (LOG) logerror("DM3AG '%s' stop: %d, len: %d\n", tag().c_str(), m_cur_sample, m_cur_sample-((m_cmd[0]<<12) | (m_cmd[1]<<4) | ((m_cmd[2]>>4) & 0x0f)));
break;
}
@@ -120,7 +120,7 @@ void alesis_dm3ag_device::device_timer(emu_timer &timer, device_timer_id id, int
WRITE8_MEMBER(alesis_dm3ag_device::write)
{
- if (LOG) logerror("DM3AG '%s' write: %02x\n", tag(), data);
+ if (LOG) logerror("DM3AG '%s' write: %02x\n", tag().c_str(), data);
m_cmd[m_count++] = data;
@@ -148,7 +148,7 @@ WRITE8_MEMBER(alesis_dm3ag_device::write)
{
bool good_pos = (m_cur_sample<2 || m_samples[m_cur_sample-2] == -128);
- logerror("DM3AG '%s' start: %d (%s), vol: %02x out: %d pan: %d\n", tag(), m_cur_sample, good_pos ? "ok": "no", m_cmd[3], m_cmd[4] & 0x10 ? 1 : 2, (m_cmd[4]>>5)&7);
+ logerror("DM3AG '%s' start: %d (%s), vol: %02x out: %d pan: %d\n", tag().c_str(), m_cur_sample, good_pos ? "ok": "no", m_cmd[3], m_cmd[4] & 0x10 ? 1 : 2, (m_cmd[4]>>5)&7);
}
}
diff --git a/src/mame/audio/arcadia.cpp b/src/mame/audio/arcadia.cpp
index 306932a0b44..5bbbcac47c2 100644
--- a/src/mame/audio/arcadia.cpp
+++ b/src/mame/audio/arcadia.cpp
@@ -47,7 +47,7 @@ const device_type ARCADIA_SOUND = &device_creator<arcadia_sound_device>;
// arcadia_sound_device - constructor
//-------------------------------------------------
-arcadia_sound_device::arcadia_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+arcadia_sound_device::arcadia_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ARCADIA_SOUND, "Arcadia Audio Custom", tag, owner, clock, "arcadia_sound", __FILE__),
device_sound_interface(mconfig, *this)
{
diff --git a/src/mame/audio/arcadia.h b/src/mame/audio/arcadia.h
index 14a4f298294..dac54545d57 100644
--- a/src/mame/audio/arcadia.h
+++ b/src/mame/audio/arcadia.h
@@ -21,7 +21,7 @@ class arcadia_sound_device : public device_t,
{
public:
// construction/destruction
- arcadia_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ arcadia_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_WRITE8_MEMBER(write);
protected:
diff --git a/src/mame/audio/atarijsa.cpp b/src/mame/audio/atarijsa.cpp
index 6b9781c9e49..998a484ddac 100644
--- a/src/mame/audio/atarijsa.cpp
+++ b/src/mame/audio/atarijsa.cpp
@@ -285,7 +285,7 @@ INPUT_PORTS_END
// atari_jsa_base_device - constructor
//-------------------------------------------------
-atari_jsa_base_device::atari_jsa_base_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, int channels)
+atari_jsa_base_device::atari_jsa_base_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, int channels)
: device_t(mconfig, devtype, name, tag, owner, clock, shortname, __FILE__),
device_mixer_interface(mconfig, *this, channels),
m_soundcomm(*this, "soundcomm"),
@@ -411,7 +411,7 @@ WRITE_LINE_MEMBER( atari_jsa_base_device::main_int_write_line )
// atari_jsa_oki_base_device: Constructor
//-------------------------------------------------
-atari_jsa_oki_base_device::atari_jsa_oki_base_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, int channels)
+atari_jsa_oki_base_device::atari_jsa_oki_base_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, int channels)
: atari_jsa_base_device(mconfig, devtype, name, tag, owner, clock, shortname, channels),
m_oki1(*this, "oki1"),
m_oki2(*this, "oki2"),
@@ -625,7 +625,7 @@ void atari_jsa_oki_base_device::update_all_volumes()
// atari_jsa_i_device: Constructor
//-------------------------------------------------
-atari_jsa_i_device::atari_jsa_i_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+atari_jsa_i_device::atari_jsa_i_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: atari_jsa_base_device(mconfig, ATARI_JSA_I, "Atari JSA I Sound Board", tag, owner, clock, "atjsa1", 2),
m_pokey(*this, "pokey"),
m_tms5220(*this, "tms"),
@@ -840,7 +840,7 @@ void atari_jsa_i_device::update_all_volumes()
// atari_jsa_ii_device: Constructor
//-------------------------------------------------
-atari_jsa_ii_device::atari_jsa_ii_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+atari_jsa_ii_device::atari_jsa_ii_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: atari_jsa_oki_base_device(mconfig, ATARI_JSA_II, "Atari JSA II Sound Board", tag, owner, clock, "atjsa2", 1)
, m_jsaii(*this, "JSAII")
{
@@ -904,13 +904,13 @@ ioport_constructor atari_jsa_ii_device::device_input_ports() const
// atari_jsa_iii_device: Constructor
//-------------------------------------------------
-atari_jsa_iii_device::atari_jsa_iii_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+atari_jsa_iii_device::atari_jsa_iii_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: atari_jsa_oki_base_device(mconfig, ATARI_JSA_III, "Atari JSA III Sound Board", tag, owner, clock, "atjsa3", 1)
, m_jsaiii(*this, "JSAIII")
{
}
-atari_jsa_iii_device::atari_jsa_iii_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, int channels)
+atari_jsa_iii_device::atari_jsa_iii_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, int channels)
: atari_jsa_oki_base_device(mconfig, devtype, name, tag, owner, clock, shortname, channels)
, m_jsaiii(*this, "JSAIII")
{
@@ -973,7 +973,7 @@ ioport_constructor atari_jsa_iii_device::device_input_ports() const
// atari_jsa_iiis_device: Constructor
//-------------------------------------------------
-atari_jsa_iiis_device::atari_jsa_iiis_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+atari_jsa_iiis_device::atari_jsa_iiis_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: atari_jsa_iii_device(mconfig, ATARI_JSA_IIIS, "Atari JSA IIIs Sound Board", tag, owner, clock, "atjsa3s", 2)
{
}
diff --git a/src/mame/audio/atarijsa.h b/src/mame/audio/atarijsa.h
index 38ce437b4d2..e2d16045068 100644
--- a/src/mame/audio/atarijsa.h
+++ b/src/mame/audio/atarijsa.h
@@ -80,7 +80,7 @@ class atari_jsa_base_device : public device_t,
{
protected:
// construction/destruction
- atari_jsa_base_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, int channels);
+ atari_jsa_base_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, int channels);
public:
// static configuration
@@ -137,7 +137,7 @@ class atari_jsa_oki_base_device : public atari_jsa_base_device
{
protected:
// derived construction/destruction
- atari_jsa_oki_base_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, int channels);
+ atari_jsa_oki_base_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, int channels);
public:
// read/write handlers
@@ -177,7 +177,7 @@ class atari_jsa_i_device : public atari_jsa_base_device
{
public:
// construction/destruction
- atari_jsa_i_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ atari_jsa_i_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// read/write handlers
DECLARE_READ8_MEMBER( rdio_r );
@@ -214,7 +214,7 @@ class atari_jsa_ii_device : public atari_jsa_oki_base_device
{
public:
// construction/destruction
- atari_jsa_ii_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ atari_jsa_ii_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// read/write handlers
DECLARE_READ8_MEMBER( rdio_r );
@@ -234,11 +234,11 @@ class atari_jsa_iii_device : public atari_jsa_oki_base_device
{
public:
// construction/destruction
- atari_jsa_iii_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ atari_jsa_iii_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// derived construction/destruction
- atari_jsa_iii_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, int channels);
+ atari_jsa_iii_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, int channels);
public:
// read/write handlers
@@ -259,7 +259,7 @@ class atari_jsa_iiis_device : public atari_jsa_iii_device
{
public:
// construction/destruction
- atari_jsa_iiis_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ atari_jsa_iiis_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// device level overrides
diff --git a/src/mame/audio/beezer.cpp b/src/mame/audio/beezer.cpp
index 3a295208073..9e11ceeb481 100644
--- a/src/mame/audio/beezer.cpp
+++ b/src/mame/audio/beezer.cpp
@@ -69,7 +69,7 @@
const device_type BEEZER = &device_creator<beezer_sound_device>;
-beezer_sound_device::beezer_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+beezer_sound_device::beezer_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, BEEZER, "beezer SFX", tag, owner, clock, "beezer_sound", __FILE__),
device_sound_interface(mconfig, *this),
//m_ptm_irq_state(0),
diff --git a/src/mame/audio/cage.cpp b/src/mame/audio/cage.cpp
index 62387ef1e0d..522701d210a 100644
--- a/src/mame/audio/cage.cpp
+++ b/src/mame/audio/cage.cpp
@@ -112,13 +112,13 @@ const device_type ATARI_CAGE = &device_creator<atari_cage_device>;
// atari_cage_device - constructor
//-------------------------------------------------
-atari_cage_device::atari_cage_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+atari_cage_device::atari_cage_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, ATARI_CAGE, "Atari CAGE", tag, owner, clock, "atari_cage", __FILE__),
m_irqhandler(*this)
{
}
-atari_cage_device::atari_cage_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
+atari_cage_device::atari_cage_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
m_irqhandler(*this)
{
@@ -684,7 +684,7 @@ const device_type ATARI_CAGE_SEATTLE = &device_creator<atari_cage_seattle_device
// atari_cage_seattle_device - constructor
//-------------------------------------------------
-atari_cage_seattle_device::atari_cage_seattle_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+atari_cage_seattle_device::atari_cage_seattle_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
atari_cage_device(mconfig, ATARI_CAGE_SEATTLE, "Atari CAGE Seattle", tag, owner, clock, "atari_cage_seattle", __FILE__)
{
}
diff --git a/src/mame/audio/cage.h b/src/mame/audio/cage.h
index ffa43f3522b..97c70bd0d43 100644
--- a/src/mame/audio/cage.h
+++ b/src/mame/audio/cage.h
@@ -24,8 +24,8 @@ class atari_cage_device : public device_t
{
public:
// construction/destruction
- atari_cage_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- atari_cage_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ atari_cage_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ atari_cage_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
static void static_set_speedup(device_t &device, offs_t speedup) { downcast<atari_cage_device &>(device).m_speedup = speedup; }
template<class _Object> static devcb_base &set_irqhandler_callback(device_t &device, _Object object) { return downcast<atari_cage_device &>(device).m_irqhandler.set_callback(object); }
@@ -97,7 +97,7 @@ class atari_cage_seattle_device : public atari_cage_device
{
public:
// construction/destruction
- atari_cage_seattle_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ atari_cage_seattle_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
diff --git a/src/mame/audio/cclimber.cpp b/src/mame/audio/cclimber.cpp
index 23ed02302b7..1248af80592 100644
--- a/src/mame/audio/cclimber.cpp
+++ b/src/mame/audio/cclimber.cpp
@@ -43,7 +43,7 @@ const device_type CCLIMBER_AUDIO = &device_creator<cclimber_audio_device>;
// cclimber_audio_device: Constructor
//-------------------------------------------------
-cclimber_audio_device::cclimber_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+cclimber_audio_device::cclimber_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CCLIMBER_AUDIO, "Crazy Climber Sound Board", tag, owner, clock, "cclimber_audio", __FILE__),
m_sample_buf(nullptr),
m_sample_num(0),
diff --git a/src/mame/audio/cclimber.h b/src/mame/audio/cclimber.h
index 6007aa0a831..3e7c7d457fc 100644
--- a/src/mame/audio/cclimber.h
+++ b/src/mame/audio/cclimber.h
@@ -35,7 +35,7 @@ class cclimber_audio_device : public device_t
{
public:
// construction/destruction
- cclimber_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ cclimber_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_WRITE8_MEMBER( sample_trigger_w );
DECLARE_WRITE8_MEMBER( sample_rate_w );
diff --git a/src/mame/audio/channelf.cpp b/src/mame/audio/channelf.cpp
index 2cf03d70aa0..8eed4ac9cc5 100644
--- a/src/mame/audio/channelf.cpp
+++ b/src/mame/audio/channelf.cpp
@@ -8,7 +8,7 @@
const device_type CHANNELF_SOUND = &device_creator<channelf_sound_device>;
-channelf_sound_device::channelf_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+channelf_sound_device::channelf_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CHANNELF_SOUND, "Channel F Sound", tag, owner, clock, "channelf_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_channel(nullptr),
diff --git a/src/mame/audio/channelf.h b/src/mame/audio/channelf.h
index 17ad5add8df..9fbe3fc2540 100644
--- a/src/mame/audio/channelf.h
+++ b/src/mame/audio/channelf.h
@@ -13,7 +13,7 @@ class channelf_sound_device : public device_t,
public device_sound_interface
{
public:
- channelf_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ channelf_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void sound_w(int mode);
protected:
diff --git a/src/mame/audio/cps3.cpp b/src/mame/audio/cps3.cpp
index 7038ec5adf8..1812b7c61f9 100644
--- a/src/mame/audio/cps3.cpp
+++ b/src/mame/audio/cps3.cpp
@@ -22,7 +22,7 @@ const device_type CPS3 = &device_creator<cps3_sound_device>;
// cps3_sound_device - constructor
//-------------------------------------------------
-cps3_sound_device::cps3_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+cps3_sound_device::cps3_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CPS3, "CPS3 Audio Custom", tag, owner, clock, "cps3_custom", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(nullptr),
diff --git a/src/mame/audio/cps3.h b/src/mame/audio/cps3.h
index 03c5e4f1642..c76b951f42b 100644
--- a/src/mame/audio/cps3.h
+++ b/src/mame/audio/cps3.h
@@ -30,7 +30,7 @@ class cps3_sound_device : public device_t,
public device_sound_interface
{
public:
- cps3_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ cps3_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~cps3_sound_device() { }
void set_base(INT8* base) { m_base = base; }
diff --git a/src/mame/audio/dai_snd.cpp b/src/mame/audio/dai_snd.cpp
index ae0bf3c79c3..fc7abb69613 100644
--- a/src/mame/audio/dai_snd.cpp
+++ b/src/mame/audio/dai_snd.cpp
@@ -21,7 +21,7 @@ const device_type DAI_SOUND = &device_creator<dai_sound_device>;
// dai_sound_device - constructor
//-------------------------------------------------
-dai_sound_device::dai_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+dai_sound_device::dai_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DAI_SOUND, "DAI Audio Custom", tag, owner, clock, "dai_sound", __FILE__),
device_sound_interface(mconfig, *this)
{
diff --git a/src/mame/audio/dai_snd.h b/src/mame/audio/dai_snd.h
index 484002161ff..7a466478210 100644
--- a/src/mame/audio/dai_snd.h
+++ b/src/mame/audio/dai_snd.h
@@ -18,7 +18,7 @@ class dai_sound_device : public device_t,
{
public:
// construction/destruction
- dai_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ dai_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_WRITE_LINE_MEMBER(set_input_ch0);
DECLARE_WRITE_LINE_MEMBER(set_input_ch1);
diff --git a/src/mame/audio/dave.cpp b/src/mame/audio/dave.cpp
index 138b8d9ac40..f227d05b605 100644
--- a/src/mame/audio/dave.cpp
+++ b/src/mame/audio/dave.cpp
@@ -52,7 +52,7 @@ ADDRESS_MAP_END
// dave_device - constructor
//-------------------------------------------------
-dave_device::dave_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+dave_device::dave_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DAVE, "DAVE", tag, owner, clock, "dave", __FILE__),
device_memory_interface(mconfig, *this),
device_sound_interface(mconfig, *this),
diff --git a/src/mame/audio/dave.h b/src/mame/audio/dave.h
index de534c51bda..0906f934a12 100644
--- a/src/mame/audio/dave.h
+++ b/src/mame/audio/dave.h
@@ -56,7 +56,7 @@ class dave_device : public device_t,
public device_sound_interface
{
public:
- dave_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ dave_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_irq_wr_callback(device_t &device, _Object object) { return downcast<dave_device &>(device).m_write_irq.set_callback(object); }
template<class _Object> static devcb_base &set_lh_wr_callback(device_t &device, _Object object) { return downcast<dave_device &>(device).m_write_lh.set_callback(object); }
diff --git a/src/mame/audio/dcs.cpp b/src/mame/audio/dcs.cpp
index cad34e38130..6669ad245e5 100644
--- a/src/mame/audio/dcs.cpp
+++ b/src/mame/audio/dcs.cpp
@@ -785,7 +785,7 @@ void dcs_audio_device::dcs_register_state()
// dcs_audio_device - constructor
//-------------------------------------------------
-dcs_audio_device::dcs_audio_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int rev) :
+dcs_audio_device::dcs_audio_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int rev) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
m_cpu(nullptr),
m_program(nullptr),
@@ -2378,7 +2378,7 @@ const device_type DCS_AUDIO_2K = &device_creator<dcs_audio_2k_device>;
// dcs_audio_2k_device - constructor
//-------------------------------------------------
-dcs_audio_2k_device::dcs_audio_2k_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+dcs_audio_2k_device::dcs_audio_2k_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
dcs_audio_device(mconfig, DCS_AUDIO_2K, "DCS Audio 2K", tag, owner, clock, "dcs_audio_2k", __FILE__)
{
}
@@ -2394,7 +2394,7 @@ const device_type DCS_AUDIO_2K_UART = &device_creator<dcs_audio_2k_uart_device>;
// dcs_audio_2k_uart_device - constructor
//-------------------------------------------------
-dcs_audio_2k_uart_device::dcs_audio_2k_uart_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+dcs_audio_2k_uart_device::dcs_audio_2k_uart_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
dcs_audio_device(mconfig, DCS_AUDIO_2K_UART, "DCS Audio 2K UART", tag, owner, clock, "dcs_audio_2k_uart", __FILE__)
{
}
@@ -2410,7 +2410,7 @@ const device_type DCS_AUDIO_8K = &device_creator<dcs_audio_8k_device>;
// dcs_audio_8k_device - constructor
//-------------------------------------------------
-dcs_audio_8k_device::dcs_audio_8k_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+dcs_audio_8k_device::dcs_audio_8k_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
dcs_audio_device(mconfig, DCS_AUDIO_8K, "DCS Audio 8K", tag, owner, clock, "dcs_audio_8k", __FILE__)
{
}
@@ -2426,7 +2426,7 @@ const device_type DCS_AUDIO_WPC = &device_creator<dcs_audio_wpc_device>;
// dcs_audio_wpc_device - constructor
//-------------------------------------------------
-dcs_audio_wpc_device::dcs_audio_wpc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+dcs_audio_wpc_device::dcs_audio_wpc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
dcs_audio_device(mconfig, DCS_AUDIO_WPC, "DCS Audio WPC", tag, owner, clock, "dcs_audio_wpc", __FILE__, 15)
{
}
@@ -2442,7 +2442,7 @@ machine_config_constructor dcs_audio_wpc_device::device_mconfig_additions() cons
// dcs2_audio_device - constructor
//-------------------------------------------------
-dcs2_audio_device::dcs2_audio_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
+dcs2_audio_device::dcs2_audio_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
dcs_audio_device(mconfig, type, name, tag, owner, clock, shortname, source)
{
}
@@ -2454,7 +2454,7 @@ const device_type DCS2_AUDIO_2115 = &device_creator<dcs2_audio_2115_device>;
// dcs2_audio_2115_device - constructor
//-------------------------------------------------
-dcs2_audio_2115_device::dcs2_audio_2115_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+dcs2_audio_2115_device::dcs2_audio_2115_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
dcs2_audio_device(mconfig, DCS2_AUDIO_2115, "DCS2 Audio 2115", tag, owner, clock, "dcs2_audio_2115", __FILE__)
{
}
@@ -2470,7 +2470,7 @@ const device_type DCS2_AUDIO_2104 = &device_creator<dcs2_audio_2104_device>;
// dcs2_audio_2104_device - constructor
//-------------------------------------------------
-dcs2_audio_2104_device::dcs2_audio_2104_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+dcs2_audio_2104_device::dcs2_audio_2104_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
dcs2_audio_device(mconfig, DCS2_AUDIO_2104, "DCS2 Audio 2104", tag, owner, clock, "dcs2_audio_2104", __FILE__)
{
}
@@ -2487,7 +2487,7 @@ const device_type DCS2_AUDIO_DSIO = &device_creator<dcs2_audio_dsio_device>;
// dcs2_audio_dsio_device - constructor
//-------------------------------------------------
-dcs2_audio_dsio_device::dcs2_audio_dsio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+dcs2_audio_dsio_device::dcs2_audio_dsio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
dcs2_audio_device(mconfig, DCS2_AUDIO_DSIO, "DCS2 Audio DSIO", tag, owner, clock, "dcs2_audio_dsio", __FILE__)
{
}
@@ -2503,7 +2503,7 @@ const device_type DCS2_AUDIO_DENVER = &device_creator<dcs2_audio_denver_device>;
// dcs2_audio_denver_device - constructor
//-------------------------------------------------
-dcs2_audio_denver_device::dcs2_audio_denver_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+dcs2_audio_denver_device::dcs2_audio_denver_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
dcs2_audio_device(mconfig, DCS2_AUDIO_DENVER, "DCS2 Audio Denver", tag, owner, clock, "dcs2_audio_denver", __FILE__)
{
}
diff --git a/src/mame/audio/dcs.h b/src/mame/audio/dcs.h
index 7f84d5fed96..b436f2709bb 100644
--- a/src/mame/audio/dcs.h
+++ b/src/mame/audio/dcs.h
@@ -23,7 +23,7 @@ class dcs_audio_device : public device_t
{
public:
// construction/destruction
- dcs_audio_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int rev = 1);
+ dcs_audio_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int rev = 1);
// for dcs2 (int dram_in_mb, offs_t polling_offset)
static void static_set_dram_in_mb(device_t &device, int dram_in_mb) { downcast<dcs_audio_device &>(device).m_dram_in_mb = dram_in_mb; }
@@ -212,7 +212,7 @@ class dcs_audio_2k_device : public dcs_audio_device
{
public:
// construction/destruction
- dcs_audio_2k_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ dcs_audio_2k_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -228,7 +228,7 @@ class dcs_audio_2k_uart_device : public dcs_audio_device
{
public:
// construction/destruction
- dcs_audio_2k_uart_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ dcs_audio_2k_uart_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -244,7 +244,7 @@ class dcs_audio_8k_device : public dcs_audio_device
{
public:
// construction/destruction
- dcs_audio_8k_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ dcs_audio_8k_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -260,7 +260,7 @@ class dcs_audio_wpc_device : public dcs_audio_device
{
public:
// construction/destruction
- dcs_audio_wpc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ dcs_audio_wpc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -276,7 +276,7 @@ class dcs2_audio_device : public dcs_audio_device
{
public:
// construction/destruction
- dcs2_audio_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ dcs2_audio_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
protected:
// device-level overrides
@@ -289,7 +289,7 @@ class dcs2_audio_2115_device : public dcs2_audio_device
{
public:
// construction/destruction
- dcs2_audio_2115_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ dcs2_audio_2115_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -305,7 +305,7 @@ class dcs2_audio_2104_device : public dcs2_audio_device
{
public:
// construction/destruction
- dcs2_audio_2104_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ dcs2_audio_2104_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -321,7 +321,7 @@ class dcs2_audio_dsio_device : public dcs2_audio_device
{
public:
// construction/destruction
- dcs2_audio_dsio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ dcs2_audio_dsio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -337,7 +337,7 @@ class dcs2_audio_denver_device : public dcs2_audio_device
{
public:
// construction/destruction
- dcs2_audio_denver_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ dcs2_audio_denver_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
diff --git a/src/mame/audio/decobsmt.cpp b/src/mame/audio/decobsmt.cpp
index c0b3aae1be8..b47d578c64b 100644
--- a/src/mame/audio/decobsmt.cpp
+++ b/src/mame/audio/decobsmt.cpp
@@ -73,7 +73,7 @@ machine_config_constructor decobsmt_device::device_mconfig_additions() const
// decobsmt_device - constructor
//-------------------------------------------------
-decobsmt_device::decobsmt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+decobsmt_device::decobsmt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, DECOBSMT, "Data East/Sega/Stern BSMT2000 Sound Board", tag, owner, clock, "decobsmt", __FILE__),
m_ourcpu(*this, M6809_TAG),
m_bsmt(*this, BSMT_TAG)
diff --git a/src/mame/audio/decobsmt.h b/src/mame/audio/decobsmt.h
index 715607f47b9..09230ea8490 100644
--- a/src/mame/audio/decobsmt.h
+++ b/src/mame/audio/decobsmt.h
@@ -22,7 +22,7 @@ class decobsmt_device : public device_t
{
public:
// construction/destruction
- decobsmt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ decobsmt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_WRITE8_MEMBER(bsmt_reset_w);
DECLARE_READ8_MEMBER(bsmt_status_r);
diff --git a/src/mame/audio/dsbz80.cpp b/src/mame/audio/dsbz80.cpp
index dfc97fd6028..89dcd4976f2 100644
--- a/src/mame/audio/dsbz80.cpp
+++ b/src/mame/audio/dsbz80.cpp
@@ -61,7 +61,7 @@ machine_config_constructor dsbz80_device::device_mconfig_additions() const
// dsbz80_device - constructor
//-------------------------------------------------
-dsbz80_device::dsbz80_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+dsbz80_device::dsbz80_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, DSBZ80, "Sega Z80-based Digital Sound Board", tag, owner, clock, "dsbz80", __FILE__),
device_sound_interface(mconfig, *this),
m_ourcpu(*this, Z80_TAG)
diff --git a/src/mame/audio/dsbz80.h b/src/mame/audio/dsbz80.h
index fb642566245..635efd33129 100644
--- a/src/mame/audio/dsbz80.h
+++ b/src/mame/audio/dsbz80.h
@@ -22,7 +22,7 @@ class dsbz80_device : public device_t, public device_sound_interface
{
public:
// construction/destruction
- dsbz80_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ dsbz80_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
diff --git a/src/mame/audio/exidy.cpp b/src/mame/audio/exidy.cpp
index c8bbaaf25ba..8f68642efa5 100644
--- a/src/mame/audio/exidy.cpp
+++ b/src/mame/audio/exidy.cpp
@@ -205,13 +205,13 @@ void exidy_sound_device::common_sh_start()
const device_type EXIDY = &device_creator<exidy_sound_device>;
-exidy_sound_device::exidy_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+exidy_sound_device::exidy_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, EXIDY, "Exidy SFX", tag, owner, clock, "exidy_sfx", __FILE__),
device_sound_interface(mconfig, *this)
{
}
-exidy_sound_device::exidy_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+exidy_sound_device::exidy_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this),
m_riot_irq_state(0),
@@ -669,7 +669,7 @@ WRITE8_MEMBER( venture_sound_device::filter_w )
const device_type EXIDY_VENTURE = &device_creator<venture_sound_device>;
-venture_sound_device::venture_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+venture_sound_device::venture_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: exidy_sound_device(mconfig, EXIDY_VENTURE, "Exidy SFX+PSG", tag, owner, clock, "venture_sound", __FILE__)
{
}
@@ -924,7 +924,7 @@ WRITE_LINE_MEMBER( victory_sound_device::main_ack_w )
const device_type EXIDY_VICTORY = &device_creator<victory_sound_device>;
-victory_sound_device::victory_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+victory_sound_device::victory_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: exidy_sound_device(mconfig, EXIDY_VICTORY, "Exidy SFX+PSG+Speech", tag, owner, clock, "victory_sound", __FILE__),
m_victory_sound_response_ack_clk(0)
{
diff --git a/src/mame/audio/exidy.h b/src/mame/audio/exidy.h
index 6f2eef49b56..9f49ecaa567 100644
--- a/src/mame/audio/exidy.h
+++ b/src/mame/audio/exidy.h
@@ -37,8 +37,8 @@ class exidy_sound_device : public device_t,
public device_sound_interface
{
public:
- exidy_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- exidy_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ exidy_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ exidy_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
~exidy_sound_device() {}
DECLARE_READ8_MEMBER( sh6840_r );
@@ -117,7 +117,7 @@ extern const device_type EXIDY;
class venture_sound_device : public exidy_sound_device
{
public:
- venture_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ venture_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_WRITE8_MEMBER( mtrap_voiceio_w );
DECLARE_READ8_MEMBER( mtrap_voiceio_r );
@@ -139,7 +139,7 @@ extern const device_type EXIDY_VENTURE;
class victory_sound_device : public exidy_sound_device
{
public:
- victory_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ victory_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ8_MEMBER( response_r );
DECLARE_READ8_MEMBER( status_r );
diff --git a/src/mame/audio/exidy440.cpp b/src/mame/audio/exidy440.cpp
index 78c122a9caf..aa020f35f74 100644
--- a/src/mame/audio/exidy440.cpp
+++ b/src/mame/audio/exidy440.cpp
@@ -48,7 +48,7 @@ static const int channel_bits[4] =
const device_type EXIDY440 = &device_creator<exidy440_sound_device>;
-exidy440_sound_device::exidy440_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+exidy440_sound_device::exidy440_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, EXIDY440, "Exidy 440 CVSD", tag, owner, clock, "exidy440_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_sound_command(0),
diff --git a/src/mame/audio/exidy440.h b/src/mame/audio/exidy440.h
index 0dafc17adf6..a10e831e18f 100644
--- a/src/mame/audio/exidy440.h
+++ b/src/mame/audio/exidy440.h
@@ -36,7 +36,7 @@ class exidy440_sound_device : public device_t,
public device_sound_interface
{
public:
- exidy440_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ exidy440_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~exidy440_sound_device() {}
DECLARE_READ8_MEMBER( sound_command_r );
diff --git a/src/mame/audio/flower.cpp b/src/mame/audio/flower.cpp
index fc8ef87b559..cdf6da57aa1 100644
--- a/src/mame/audio/flower.cpp
+++ b/src/mame/audio/flower.cpp
@@ -23,7 +23,7 @@ TODO:
const device_type FLOWER = &device_creator<flower_sound_device>;
-flower_sound_device::flower_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+flower_sound_device::flower_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, FLOWER, "Flower Audio Custom", tag, owner, clock, "flower_sound", __FILE__),
device_sound_interface(mconfig, *this)
{
diff --git a/src/mame/audio/galaxian.cpp b/src/mame/audio/galaxian.cpp
index 95598d41d1d..c247164bcaa 100644
--- a/src/mame/audio/galaxian.cpp
+++ b/src/mame/audio/galaxian.cpp
@@ -389,7 +389,7 @@ DISCRETE_SOUND_END
const device_type GALAXIAN = &device_creator<galaxian_sound_device>;
-galaxian_sound_device::galaxian_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+galaxian_sound_device::galaxian_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GALAXIAN, "Galaxian Audio Custom", tag, owner, clock, "galaxian_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_lfo_val(0)
diff --git a/src/mame/audio/galaxian.h b/src/mame/audio/galaxian.h
index 5f763e7792f..f9628daffa0 100644
--- a/src/mame/audio/galaxian.h
+++ b/src/mame/audio/galaxian.h
@@ -8,7 +8,7 @@ class galaxian_sound_device : public device_t,
public device_sound_interface
{
public:
- galaxian_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ galaxian_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~galaxian_sound_device() {}
DECLARE_WRITE8_MEMBER( sound_w );
diff --git a/src/mame/audio/gamate.cpp b/src/mame/audio/gamate.cpp
index 79913845058..a2533d3eda8 100644
--- a/src/mame/audio/gamate.cpp
+++ b/src/mame/audio/gamate.cpp
@@ -27,7 +27,7 @@ const int EnvelopeVolumes[]={ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
// gamate_sound_device - constructor
//-------------------------------------------------
-gamate_sound_device::gamate_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gamate_sound_device::gamate_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GAMATE_SND, "Gamate Audio Custom", tag, owner, clock, "gamate_sound", __FILE__)
, device_sound_interface(mconfig, *this)
, m_mixer_channel(nullptr)
diff --git a/src/mame/audio/gb.cpp b/src/mame/audio/gb.cpp
index 181eb7ad2fb..4ac7a5c9976 100644
--- a/src/mame/audio/gb.cpp
+++ b/src/mame/audio/gb.cpp
@@ -105,7 +105,7 @@ const device_type GAMEBOY = &device_creator<gameboy_sound_device>;
// gameboy_sound_device - constructor
//-------------------------------------------------
-gameboy_sound_device::gameboy_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gameboy_sound_device::gameboy_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GAMEBOY, "LR35902 Sound", tag, owner, clock, "gameboy_sound", __FILE__),
device_sound_interface(mconfig, *this)
{
diff --git a/src/mame/audio/gb.h b/src/mame/audio/gb.h
index 5ce8cb389f9..3f5fa23f5a2 100644
--- a/src/mame/audio/gb.h
+++ b/src/mame/audio/gb.h
@@ -60,7 +60,7 @@ class gameboy_sound_device : public device_t,
public device_sound_interface
{
public:
- gameboy_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ gameboy_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ8_MEMBER(sound_r);
DECLARE_READ8_MEMBER(wave_r);
diff --git a/src/mame/audio/geebee.cpp b/src/mame/audio/geebee.cpp
index d16f3c68cb5..01abe93986c 100644
--- a/src/mame/audio/geebee.cpp
+++ b/src/mame/audio/geebee.cpp
@@ -15,7 +15,7 @@
const device_type GEEBEE = &device_creator<geebee_sound_device>;
-geebee_sound_device::geebee_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+geebee_sound_device::geebee_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GEEBEE, "Gee Bee Audio Custom", tag, owner, clock, "geebee_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_decay(nullptr),
diff --git a/src/mame/audio/gomoku.cpp b/src/mame/audio/gomoku.cpp
index 9743ea2884e..a405e7cfebc 100644
--- a/src/mame/audio/gomoku.cpp
+++ b/src/mame/audio/gomoku.cpp
@@ -27,7 +27,7 @@ const device_type GOMOKU = &device_creator<gomoku_sound_device>;
// gomoku_sound_device - constructor
//-------------------------------------------------
-gomoku_sound_device::gomoku_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gomoku_sound_device::gomoku_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GOMOKU, "Gomoku Narabe Renju Audio Custom", tag, owner, clock, "gomoku_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_last_channel(nullptr),
diff --git a/src/mame/audio/gottlieb.cpp b/src/mame/audio/gottlieb.cpp
index 6a5eb46f0e8..8b15a3855bd 100644
--- a/src/mame/audio/gottlieb.cpp
+++ b/src/mame/audio/gottlieb.cpp
@@ -255,7 +255,7 @@ MACHINE_CONFIG_END
// gottlieb_sound_r0_device - constructors
//-------------------------------------------------
-gottlieb_sound_r0_device::gottlieb_sound_r0_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gottlieb_sound_r0_device::gottlieb_sound_r0_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GOTTLIEB_SOUND_REV1, "Gottlieb Sound rev. 0", tag, owner, clock, "gotsndr0", __FILE__)
, device_mixer_interface(mconfig, *this)
, m_audiocpu(*this, "audiocpu")
@@ -380,7 +380,7 @@ void gottlieb_sound_r0_device::device_start()
// gottlieb_sound_r1_device - constructors
//-------------------------------------------------
-gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GOTTLIEB_SOUND_REV1, "Gottlieb Sound rev. 1", tag, owner, clock, "gotsndr1", __FILE__),
device_mixer_interface(mconfig, *this),
m_audiocpu(*this, "audiocpu"),
@@ -398,7 +398,7 @@ gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig
{
}
-gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, bool populate_votrax)
+gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, bool populate_votrax)
: device_t(mconfig, GOTTLIEB_SOUND_REV1, "Gottlieb Sound rev. 1", tag, owner, clock, "gotsndr1", __FILE__),
device_mixer_interface(mconfig, *this),
m_audiocpu(*this, "audiocpu"),
@@ -625,7 +625,7 @@ void gottlieb_sound_r1_device::device_start()
// constructor
//-------------------------------------------------
-gottlieb_sound_r1_with_votrax_device::gottlieb_sound_r1_with_votrax_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gottlieb_sound_r1_with_votrax_device::gottlieb_sound_r1_with_votrax_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: gottlieb_sound_r1_device(mconfig, tag, owner, clock, true)
{
}
@@ -662,7 +662,7 @@ ioport_constructor gottlieb_sound_r1_with_votrax_device::device_input_ports() co
// gottlieb_sound_r2_device - constructor
//-------------------------------------------------
-gottlieb_sound_r2_device::gottlieb_sound_r2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gottlieb_sound_r2_device::gottlieb_sound_r2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GOTTLIEB_SOUND_REV2, "Gottlieb Sound rev. 2", tag, owner, clock, "gotsndr2", __FILE__),
device_mixer_interface(mconfig, *this),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/audio/gottlieb.h b/src/mame/audio/gottlieb.h
index 6295af33542..813cf44e9ee 100644
--- a/src/mame/audio/gottlieb.h
+++ b/src/mame/audio/gottlieb.h
@@ -62,7 +62,7 @@ class gottlieb_sound_r0_device : public device_t, public device_mixer_interface
{
public:
// construction/destruction
- gottlieb_sound_r0_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ gottlieb_sound_r0_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// read/write
DECLARE_WRITE8_MEMBER( write );
@@ -93,8 +93,8 @@ class gottlieb_sound_r1_device : public device_t, public device_mixer_interface
{
public:
// construction/destruction
- gottlieb_sound_r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- gottlieb_sound_r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, bool populate_votrax);
+ gottlieb_sound_r1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ gottlieb_sound_r1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, bool populate_votrax);
// read/write
DECLARE_WRITE8_MEMBER( write );
@@ -142,7 +142,7 @@ class gottlieb_sound_r1_with_votrax_device : public gottlieb_sound_r1_device
{
public:
// construction/destruction
- gottlieb_sound_r1_with_votrax_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ gottlieb_sound_r1_with_votrax_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// device-level overrides
@@ -158,7 +158,7 @@ class gottlieb_sound_r2_device : public device_t, public device_mixer_interface
{
public:
// construction/destruction
- gottlieb_sound_r2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ gottlieb_sound_r2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration helpers
static void static_enable_cobram3_mods(device_t &device);
diff --git a/src/mame/audio/gridlee.cpp b/src/mame/audio/gridlee.cpp
index b7575c2c34f..409c912557b 100644
--- a/src/mame/audio/gridlee.cpp
+++ b/src/mame/audio/gridlee.cpp
@@ -22,7 +22,7 @@ const device_type GRIDLEE = &device_creator<gridlee_sound_device>;
// gridlee_sound_device - constructor
//-------------------------------------------------
-gridlee_sound_device::gridlee_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gridlee_sound_device::gridlee_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GRIDLEE, "Gridlee Audio Custom", tag, owner, clock, "gridlee_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_tone_step(0),
diff --git a/src/mame/audio/harddriv.cpp b/src/mame/audio/harddriv.cpp
index c629eb7f32c..44d39c14fd3 100644
--- a/src/mame/audio/harddriv.cpp
+++ b/src/mame/audio/harddriv.cpp
@@ -27,7 +27,7 @@
const device_type HARDDRIV_SOUND_BOARD_DEVICE = &device_creator<harddriv_sound_board_device>;
-harddriv_sound_board_device::harddriv_sound_board_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+harddriv_sound_board_device::harddriv_sound_board_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, HARDDRIV_SOUND_BOARD_DEVICE, "Hard Drivin' Sound Board", tag, owner, clock, "harddriv_sound", __FILE__),
m_soundcpu(*this, "soundcpu"),
m_dac(*this, "dac"),
diff --git a/src/mame/audio/hyprolyb.cpp b/src/mame/audio/hyprolyb.cpp
index c816e4bb603..75b8cd7df6b 100644
--- a/src/mame/audio/hyprolyb.cpp
+++ b/src/mame/audio/hyprolyb.cpp
@@ -6,7 +6,7 @@
const device_type HYPROLYB_ADPCM = &device_creator<hyprolyb_adpcm_device>;
-hyprolyb_adpcm_device::hyprolyb_adpcm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+hyprolyb_adpcm_device::hyprolyb_adpcm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, HYPROLYB_ADPCM, "Hyper Olympics Audio", tag, owner, clock, "hyprolyb_adpcm", __FILE__),
device_sound_interface(mconfig, *this),
m_adpcm_ready(0),
diff --git a/src/mame/audio/hyprolyb.h b/src/mame/audio/hyprolyb.h
index f5b1c3dc116..35fe4f3ef13 100644
--- a/src/mame/audio/hyprolyb.h
+++ b/src/mame/audio/hyprolyb.h
@@ -6,7 +6,7 @@ class hyprolyb_adpcm_device : public device_t,
public device_sound_interface
{
public:
- hyprolyb_adpcm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ hyprolyb_adpcm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~hyprolyb_adpcm_device() {}
DECLARE_WRITE8_MEMBER( write );
diff --git a/src/mame/audio/irem.cpp b/src/mame/audio/irem.cpp
index 43cbf08b594..3e2a55cd006 100644
--- a/src/mame/audio/irem.cpp
+++ b/src/mame/audio/irem.cpp
@@ -16,7 +16,7 @@ const device_type IREM_M62_AUDIO = &device_creator<m62_audio_device>;
const device_type IREM_M52_SOUNDC_AUDIO = &device_creator<m52_soundc_audio_device>;
const device_type IREM_M52_LARGE_AUDIO = &device_creator<m52_large_audio_device>;
-irem_audio_device::irem_audio_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+irem_audio_device::irem_audio_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
m_port1(0),
m_port2(0)
@@ -25,17 +25,17 @@ irem_audio_device::irem_audio_device(const machine_config &mconfig, device_type
{
}
-m62_audio_device::m62_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+m62_audio_device::m62_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: irem_audio_device(mconfig, IREM_M62_AUDIO, "Irem M62 Audio", tag, owner, clock, "irem_m62_audio", __FILE__)
{
}
-m52_soundc_audio_device::m52_soundc_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+m52_soundc_audio_device::m52_soundc_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: irem_audio_device(mconfig, IREM_M52_SOUNDC_AUDIO, "Irem M52 SoundC Audio", tag, owner, clock, "irem_m52_soundc_audio", __FILE__)
{
}
-m52_large_audio_device::m52_large_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+m52_large_audio_device::m52_large_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: irem_audio_device(mconfig, IREM_M52_LARGE_AUDIO, "Irem M52 Large Audio", tag, owner, clock, "irem_m52_large_audio", __FILE__)
{
}
diff --git a/src/mame/audio/irem.h b/src/mame/audio/irem.h
index c8b156ffaab..6b1b89f891a 100644
--- a/src/mame/audio/irem.h
+++ b/src/mame/audio/irem.h
@@ -7,7 +7,7 @@
class irem_audio_device : public device_t
{
public:
- irem_audio_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ irem_audio_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
~irem_audio_device() {}
DECLARE_WRITE8_MEMBER( cmd_w );
@@ -52,21 +52,21 @@ private:
class m62_audio_device : public irem_audio_device
{
public:
- m62_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ m62_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual machine_config_constructor device_mconfig_additions() const override;
};
class m52_soundc_audio_device : public irem_audio_device
{
public:
- m52_soundc_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ m52_soundc_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual machine_config_constructor device_mconfig_additions() const override;
};
class m52_large_audio_device : public irem_audio_device
{
public:
- m52_large_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ m52_large_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual machine_config_constructor device_mconfig_additions() const override;
};
diff --git a/src/mame/audio/leland.cpp b/src/mame/audio/leland.cpp
index 6cf7e4740ad..34696b3d6ae 100644
--- a/src/mame/audio/leland.cpp
+++ b/src/mame/audio/leland.cpp
@@ -329,7 +329,7 @@ void leland_80186_sound_device::device_reset()
const device_type LELAND_80186 = &device_creator<leland_80186_sound_device>;
-leland_80186_sound_device::leland_80186_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+leland_80186_sound_device::leland_80186_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, LELAND_80186, "80186 DAC (Leland)", tag, owner, clock, "leland_80186_sound", __FILE__),
m_dac1(*this, "dac1"),
m_dac2(*this, "dac2"),
@@ -347,7 +347,7 @@ leland_80186_sound_device::leland_80186_sound_device(const machine_config &mconf
m_type = TYPE_LELAND;
}
-leland_80186_sound_device::leland_80186_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+leland_80186_sound_device::leland_80186_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
m_dac1(*this, "dac1"),
m_dac2(*this, "dac2"),
@@ -366,7 +366,7 @@ leland_80186_sound_device::leland_80186_sound_device(const machine_config &mconf
const device_type REDLINE_80186 = &device_creator<redline_80186_sound_device>;
-redline_80186_sound_device::redline_80186_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+redline_80186_sound_device::redline_80186_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: leland_80186_sound_device(mconfig, REDLINE_80186, "80186 DAC (Redline Racer)", tag, owner, clock, "redline_80186_sound", __FILE__)
{
m_type = TYPE_REDLINE;
@@ -374,7 +374,7 @@ redline_80186_sound_device::redline_80186_sound_device(const machine_config &mco
const device_type ATAXX_80186 = &device_creator<ataxx_80186_sound_device>;
-ataxx_80186_sound_device::ataxx_80186_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ataxx_80186_sound_device::ataxx_80186_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: leland_80186_sound_device(mconfig, REDLINE_80186, "80186 DAC (Ataxx)", tag, owner, clock, "ataxx_80186_sound", __FILE__)
{
m_type = TYPE_ATAXX;
@@ -382,7 +382,7 @@ ataxx_80186_sound_device::ataxx_80186_sound_device(const machine_config &mconfig
const device_type WSF_80186 = &device_creator<wsf_80186_sound_device>;
-wsf_80186_sound_device::wsf_80186_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+wsf_80186_sound_device::wsf_80186_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: leland_80186_sound_device(mconfig, REDLINE_80186, "80186 DAC (WSF)", tag, owner, clock, "wsf_80186_sound", __FILE__)
{
m_type = TYPE_WSF;
diff --git a/src/mame/audio/lynx.cpp b/src/mame/audio/lynx.cpp
index 2d58677f373..ca8af4d5eda 100644
--- a/src/mame/audio/lynx.cpp
+++ b/src/mame/audio/lynx.cpp
@@ -96,21 +96,21 @@ const device_type LYNX2_SND = &device_creator<lynx2_sound_device>;
// lynx_sound_device - constructor
//-------------------------------------------------
-lynx_sound_device::lynx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+lynx_sound_device::lynx_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, LYNX_SND, "Mikey", tag, owner, clock, "lynx_sound", __FILE__),
device_sound_interface(mconfig, *this)
{
m_timer_delegate = lynx_sound_timer_delegate();
}
-lynx_sound_device::lynx_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+lynx_sound_device::lynx_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this)
{
}
-lynx2_sound_device::lynx2_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+lynx2_sound_device::lynx2_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: lynx_sound_device(mconfig, LYNX2_SND, "Mikey (Lynx II)", tag, owner, clock, "lynx2_sound", __FILE__)
{
}
diff --git a/src/mame/audio/lynx.h b/src/mame/audio/lynx.h
index 8bd8bdd3067..e8c38daee57 100644
--- a/src/mame/audio/lynx.h
+++ b/src/mame/audio/lynx.h
@@ -29,8 +29,8 @@ class lynx_sound_device : public device_t,
public device_sound_interface
{
public:
- lynx_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
- lynx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ lynx_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ lynx_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ8_MEMBER(read);
DECLARE_WRITE8_MEMBER(write);
@@ -68,7 +68,7 @@ protected:
class lynx2_sound_device : public lynx_sound_device
{
public:
- lynx2_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ lynx2_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// device-level overrides
diff --git a/src/mame/audio/m72.cpp b/src/mame/audio/m72.cpp
index 69566d713b8..31fd62b6369 100644
--- a/src/mame/audio/m72.cpp
+++ b/src/mame/audio/m72.cpp
@@ -48,7 +48,7 @@ Shisensho II 1993 Rev 3.34 M81 Yes
const device_type M72 = &device_creator<m72_audio_device>;
-m72_audio_device::m72_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+m72_audio_device::m72_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, M72, "Irem M72 Audio Custom", tag, owner, clock, "m72_audio", __FILE__),
device_sound_interface(mconfig, *this),
m_irqvector(0),
diff --git a/src/mame/audio/m72.h b/src/mame/audio/m72.h
index 71ed62fa35d..709eb3ccbf4 100644
--- a/src/mame/audio/m72.h
+++ b/src/mame/audio/m72.h
@@ -13,7 +13,7 @@ class m72_audio_device : public device_t,
public device_sound_interface
{
public:
- m72_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ m72_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~m72_audio_device() {}
enum
diff --git a/src/mame/audio/mac.cpp b/src/mame/audio/mac.cpp
index 821c15a9afb..d20218fe341 100644
--- a/src/mame/audio/mac.cpp
+++ b/src/mame/audio/mac.cpp
@@ -32,7 +32,7 @@
const device_type MAC_SOUND = &device_creator<mac_sound_device>;
-mac_sound_device::mac_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+mac_sound_device::mac_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MAC_SOUND, "Mac Audio Custom", tag, owner, clock, "mac_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_sample_enable(0),
diff --git a/src/mame/audio/mea8000.cpp b/src/mame/audio/mea8000.cpp
index 306fec1ac3e..b26e21e62ec 100644
--- a/src/mame/audio/mea8000.cpp
+++ b/src/mame/audio/mea8000.cpp
@@ -114,7 +114,7 @@ static const int pi_table[32] =
const device_type MEA8000 = &device_creator<mea8000_device>;
-mea8000_device::mea8000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+mea8000_device::mea8000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, MEA8000, "Philips / Signetics MEA 8000 speech synthesizer", tag, owner, clock, "mea8000", __FILE__),
m_write_req(*this),
m_dac(*this)
diff --git a/src/mame/audio/mea8000.h b/src/mame/audio/mea8000.h
index fcda2267a80..aa42db156c3 100644
--- a/src/mame/audio/mea8000.h
+++ b/src/mame/audio/mea8000.h
@@ -57,10 +57,10 @@ struct filter_t
class mea8000_device : public device_t
{
public:
- mea8000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ mea8000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~mea8000_device() {}
- static void static_set_dac_tag(device_t &device, const char *tag) { downcast<mea8000_device &>(device).m_dac.set_tag(tag); }
+ static void static_set_dac_tag(device_t &device, std::string tag) { downcast<mea8000_device &>(device).m_dac.set_tag(tag); }
template<class _Object> static devcb_base &set_req_wr_callback(device_t &device, _Object object) { return downcast<mea8000_device &>(device).m_write_req.set_callback(object); }
DECLARE_READ8_MEMBER(read);
diff --git a/src/mame/audio/micro3d.cpp b/src/mame/audio/micro3d.cpp
index aeed7f03bdf..e47f531eb72 100644
--- a/src/mame/audio/micro3d.cpp
+++ b/src/mame/audio/micro3d.cpp
@@ -167,7 +167,7 @@ void micro3d_sound_device::noise_sh_w(UINT8 data)
const device_type MICRO3D = &device_creator<micro3d_sound_device>;
-micro3d_sound_device::micro3d_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+micro3d_sound_device::micro3d_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MICRO3D, "Microprose Audio Custom", tag, owner, clock, "micro3d_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_gain(0),
diff --git a/src/mame/audio/midway.cpp b/src/mame/audio/midway.cpp
index 4aea1c337ad..bdeb723d81c 100644
--- a/src/mame/audio/midway.cpp
+++ b/src/mame/audio/midway.cpp
@@ -47,7 +47,7 @@ extern const device_type MIDWAY_SQUAWK_N_TALK = &device_creator<midway_squawk_n_
// midway_ssio_device - constructor
//-------------------------------------------------
-midway_ssio_device::midway_ssio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+midway_ssio_device::midway_ssio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MIDWAY_SSIO, "Midway SSIO Sound Board", tag, owner, clock, "midssio", __FILE__),
device_mixer_interface(mconfig, *this, 2),
m_cpu(*this, "cpu"),
@@ -490,7 +490,7 @@ void midway_ssio_device::device_timer(emu_timer &timer, device_timer_id id, int
// midway_chip_squeak_deluxe_device - constructor
//-------------------------------------------------
-midway_chip_squeak_deluxe_device::midway_chip_squeak_deluxe_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+midway_chip_squeak_deluxe_device::midway_chip_squeak_deluxe_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MIDWAY_CHIP_SQUEAK_DELUXE, "Midway Chip Squeak Deluxe Sound Board", tag, owner, clock, "midcsd", __FILE__),
device_mixer_interface(mconfig, *this),
m_cpu(*this, "cpu"),
@@ -688,7 +688,7 @@ void midway_chip_squeak_deluxe_device::device_timer(emu_timer &timer, device_tim
// midway_sounds_good_device - constructor
//-------------------------------------------------
-midway_sounds_good_device::midway_sounds_good_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+midway_sounds_good_device::midway_sounds_good_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MIDWAY_SOUNDS_GOOD, "Midway Sounds Good Sound Board", tag, owner, clock, "midsg", __FILE__),
device_mixer_interface(mconfig, *this),
m_cpu(*this, "cpu"),
@@ -858,7 +858,7 @@ void midway_sounds_good_device::device_timer(emu_timer &timer, device_timer_id i
// midway_turbo_chip_squeak_device - constructor
//-------------------------------------------------
-midway_turbo_chip_squeak_device::midway_turbo_chip_squeak_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+midway_turbo_chip_squeak_device::midway_turbo_chip_squeak_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MIDWAY_TURBO_CHIP_SQUEAK, "Midway Turbo Chip Squeak Sound Board", tag, owner, clock, "midtcs", __FILE__),
device_mixer_interface(mconfig, *this),
m_cpu(*this, "cpu"),
@@ -1021,7 +1021,7 @@ void midway_turbo_chip_squeak_device::device_timer(emu_timer &timer, device_time
// midway_squawk_n_talk_device - constructor
//-------------------------------------------------
-midway_squawk_n_talk_device::midway_squawk_n_talk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+midway_squawk_n_talk_device::midway_squawk_n_talk_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MIDWAY_SQUAWK_N_TALK, "Midway Squawk 'n' Talk Sound Board", tag, owner, clock, "midsnt", __FILE__),
device_mixer_interface(mconfig, *this),
m_cpu(*this, "cpu"),
diff --git a/src/mame/audio/midway.h b/src/mame/audio/midway.h
index 7b672b13724..aefb7c9cf2a 100644
--- a/src/mame/audio/midway.h
+++ b/src/mame/audio/midway.h
@@ -62,7 +62,7 @@ class midway_ssio_device : public device_t,
{
public:
// construction/destruction
- midway_ssio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ midway_ssio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// read/write
DECLARE_READ8_MEMBER(read);
@@ -128,7 +128,7 @@ class midway_chip_squeak_deluxe_device : public device_t,
{
public:
// construction/destruction
- midway_chip_squeak_deluxe_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ midway_chip_squeak_deluxe_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// read/write
DECLARE_READ8_MEMBER(read);
@@ -168,7 +168,7 @@ class midway_sounds_good_device : public device_t,
{
public:
// construction/destruction
- midway_sounds_good_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ midway_sounds_good_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// read/write
DECLARE_READ8_MEMBER(read);
@@ -206,7 +206,7 @@ class midway_turbo_chip_squeak_device : public device_t,
{
public:
// construction/destruction
- midway_turbo_chip_squeak_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ midway_turbo_chip_squeak_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// read/write
DECLARE_READ8_MEMBER(read);
@@ -244,7 +244,7 @@ class midway_squawk_n_talk_device : public device_t,
{
public:
// construction/destruction
- midway_squawk_n_talk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ midway_squawk_n_talk_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// read/write
DECLARE_WRITE8_MEMBER(write);
diff --git a/src/mame/audio/namco52.cpp b/src/mame/audio/namco52.cpp
index f6e16575d93..49f63abc280 100644
--- a/src/mame/audio/namco52.cpp
+++ b/src/mame/audio/namco52.cpp
@@ -159,7 +159,7 @@ ROM_END
const device_type NAMCO_52XX = &device_creator<namco_52xx_device>;
-namco_52xx_device::namco_52xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco_52xx_device::namco_52xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NAMCO_52XX, "Namco 52xx", tag, owner, clock, "namco52", __FILE__),
m_cpu(*this, "mcu"),
m_discrete(*this),
diff --git a/src/mame/audio/namco52.h b/src/mame/audio/namco52.h
index 5ca62330947..4811995f0db 100644
--- a/src/mame/audio/namco52.h
+++ b/src/mame/audio/namco52.h
@@ -28,9 +28,9 @@
class namco_52xx_device : public device_t
{
public:
- namco_52xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco_52xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
- static void set_discrete(device_t &device, const char *tag) { downcast<namco_52xx_device &>(device).m_discrete.set_tag(tag); }
+ static void set_discrete(device_t &device, std::string tag) { downcast<namco_52xx_device &>(device).m_discrete.set_tag(tag); }
static void set_basenote(device_t &device, int node) { downcast<namco_52xx_device &>(device).m_basenode = node; }
static void set_extclock(device_t &device, attoseconds_t clk) { downcast<namco_52xx_device &>(device).m_extclock = clk; }
template<class _Object> static devcb_base &set_romread_callback(device_t &device, _Object object) { return downcast<namco_52xx_device &>(device).m_romread.set_callback(object); }
diff --git a/src/mame/audio/namco54.cpp b/src/mame/audio/namco54.cpp
index 0b19a142529..00b4a65d60a 100644
--- a/src/mame/audio/namco54.cpp
+++ b/src/mame/audio/namco54.cpp
@@ -130,7 +130,7 @@ ROM_END
const device_type NAMCO_54XX = &device_creator<namco_54xx_device>;
-namco_54xx_device::namco_54xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco_54xx_device::namco_54xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NAMCO_54XX, "Namco 54xx", tag, owner, clock, "namco54", __FILE__),
m_cpu(*this, "mcu"),
m_discrete(*this),
diff --git a/src/mame/audio/namco54.h b/src/mame/audio/namco54.h
index e05f5c6446b..725458918c8 100644
--- a/src/mame/audio/namco54.h
+++ b/src/mame/audio/namco54.h
@@ -20,9 +20,9 @@
class namco_54xx_device : public device_t
{
public:
- namco_54xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco_54xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
- static void set_discrete(device_t &device, const char *tag) { downcast<namco_54xx_device &>(device).m_discrete.set_tag(tag); }
+ static void set_discrete(device_t &device, std::string tag) { downcast<namco_54xx_device &>(device).m_discrete.set_tag(tag); }
static void set_basenote(device_t &device, int node) { downcast<namco_54xx_device &>(device).m_basenode = node; }
DECLARE_READ8_MEMBER( K_r );
diff --git a/src/mame/audio/phoenix.cpp b/src/mame/audio/phoenix.cpp
index 3bcd72661ea..cc878ea9e8e 100644
--- a/src/mame/audio/phoenix.cpp
+++ b/src/mame/audio/phoenix.cpp
@@ -50,7 +50,7 @@
const device_type PHOENIX = &device_creator<phoenix_sound_device>;
-phoenix_sound_device::phoenix_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+phoenix_sound_device::phoenix_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PHOENIX, "Phoenix Audio Custom", tag, owner, clock, "phoenix_sound", __FILE__),
device_sound_interface(mconfig, *this)
{
diff --git a/src/mame/audio/pleiads.cpp b/src/mame/audio/pleiads.cpp
index b838998c971..36eaafa1b00 100644
--- a/src/mame/audio/pleiads.cpp
+++ b/src/mame/audio/pleiads.cpp
@@ -20,13 +20,13 @@
const device_type PLEIADS = &device_creator<pleiads_sound_device>;
-pleiads_sound_device::pleiads_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pleiads_sound_device::pleiads_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PLEIADS, "Pleiads Audio Custom", tag, owner, clock, "pleiads_sound", __FILE__),
device_sound_interface(mconfig, *this)
{
}
-pleiads_sound_device::pleiads_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+pleiads_sound_device::pleiads_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this),
m_channel(nullptr),
@@ -119,7 +119,7 @@ void pleiads_sound_device::device_start()
const device_type NAUGHTYB = &device_creator<naughtyb_sound_device>;
-naughtyb_sound_device::naughtyb_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+naughtyb_sound_device::naughtyb_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: pleiads_sound_device(mconfig, NAUGHTYB, "Naughty Boy Audio Custom", tag, owner, clock, "naughtyb_sound", __FILE__)
{
}
@@ -197,7 +197,7 @@ void naughtyb_sound_device::device_start()
const device_type POPFLAME = &device_creator<popflame_sound_device>;
-popflame_sound_device::popflame_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+popflame_sound_device::popflame_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: pleiads_sound_device(mconfig, POPFLAME, "Pop Flamer Audio Custom", tag, owner, clock, "popflame_sound", __FILE__)
{
}
diff --git a/src/mame/audio/pleiads.h b/src/mame/audio/pleiads.h
index e47b1b8e659..b802018971b 100644
--- a/src/mame/audio/pleiads.h
+++ b/src/mame/audio/pleiads.h
@@ -44,8 +44,8 @@ class pleiads_sound_device : public device_t,
public device_sound_interface
{
public:
- pleiads_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- pleiads_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ pleiads_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ pleiads_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
~pleiads_sound_device() {}
DECLARE_WRITE8_MEMBER( control_a_w );
@@ -106,7 +106,7 @@ extern const device_type PLEIADS;
class naughtyb_sound_device : public pleiads_sound_device
{
public:
- naughtyb_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ naughtyb_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// device-level overrides
virtual void device_config_complete() override;
@@ -123,7 +123,7 @@ extern const device_type NAUGHTYB;
class popflame_sound_device : public pleiads_sound_device
{
public:
- popflame_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ popflame_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// device-level overrides
virtual void device_config_complete() override;
diff --git a/src/mame/audio/polepos.cpp b/src/mame/audio/polepos.cpp
index e3e23b2fdef..b42f0e6f8a8 100644
--- a/src/mame/audio/polepos.cpp
+++ b/src/mame/audio/polepos.cpp
@@ -51,7 +51,7 @@ const device_type POLEPOS = &device_creator<polepos_sound_device>;
// polepos_sound_device - constructor
//-------------------------------------------------
-polepos_sound_device::polepos_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+polepos_sound_device::polepos_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, POLEPOS, "Pole Position Audio Custom", tag, owner, clock, "polepos_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_current_position(0),
diff --git a/src/mame/audio/redbaron.cpp b/src/mame/audio/redbaron.cpp
index b8f71f1d5f2..19e80fabc39 100644
--- a/src/mame/audio/redbaron.cpp
+++ b/src/mame/audio/redbaron.cpp
@@ -35,7 +35,7 @@ const device_type REDBARON = &device_creator<redbaron_sound_device>;
// redbaron_sound_device - constructor
//-------------------------------------------------
-redbaron_sound_device::redbaron_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+redbaron_sound_device::redbaron_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, REDBARON, "Red Baron Audio Custom", tag, owner, clock, "redbaron_custom", __FILE__),
device_sound_interface(mconfig, *this),
m_vol_lookup(nullptr),
diff --git a/src/mame/audio/redbaron.h b/src/mame/audio/redbaron.h
index b7d11ae2ab7..ef7ed4c125d 100644
--- a/src/mame/audio/redbaron.h
+++ b/src/mame/audio/redbaron.h
@@ -10,7 +10,7 @@ class redbaron_sound_device : public device_t,
public device_sound_interface
{
public:
- redbaron_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ redbaron_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_WRITE8_MEMBER( sounds_w );
diff --git a/src/mame/audio/s11c_bg.cpp b/src/mame/audio/s11c_bg.cpp
index bc5a10566d0..da8a08e06b5 100644
--- a/src/mame/audio/s11c_bg.cpp
+++ b/src/mame/audio/s11c_bg.cpp
@@ -12,7 +12,7 @@
const device_type S11C_BG = &device_creator<s11c_bg_device>;
-s11c_bg_device::s11c_bg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+s11c_bg_device::s11c_bg_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig,S11C_BG,"Williams System 11C Background Music",tag,owner,clock, "s11c_bg", __FILE__),
m_cpu(*this,"bgcpu"),
m_ym2151(*this,"ym2151"),
@@ -110,7 +110,7 @@ void s11c_bg_device::device_reset()
m_cpu->set_input_line(INPUT_LINE_RESET,PULSE_LINE);
}
-void s11c_bg_device::static_set_gfxregion(device_t &device, const char *tag)
+void s11c_bg_device::static_set_gfxregion(device_t &device, std::string tag)
{
s11c_bg_device &cpuboard = downcast<s11c_bg_device &>(device);
cpuboard.m_regiontag = tag;
diff --git a/src/mame/audio/s11c_bg.h b/src/mame/audio/s11c_bg.h
index 136bd037825..e7d8ebfbf6a 100644
--- a/src/mame/audio/s11c_bg.h
+++ b/src/mame/audio/s11c_bg.h
@@ -25,7 +25,7 @@ class s11c_bg_device : public device_t
{
public:
// construction/destruction
- s11c_bg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ s11c_bg_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
required_device<cpu_device> m_cpu;
required_device<ym2151_device> m_ym2151;
@@ -46,7 +46,7 @@ public:
void ctrl_w(UINT8 data);
void data_w(UINT8 data);
- static void static_set_gfxregion(device_t &device, const char *tag);
+ static void static_set_gfxregion(device_t &device, std::string tag);
protected:
// overrides
@@ -55,7 +55,7 @@ protected:
virtual machine_config_constructor device_mconfig_additions() const override;
private:
- const char* m_regiontag;
+ std::string m_regiontag;
};
diff --git a/src/mame/audio/segag80r.cpp b/src/mame/audio/segag80r.cpp
index 60cdcc7a93a..4442ae74b85 100644
--- a/src/mame/audio/segag80r.cpp
+++ b/src/mame/audio/segag80r.cpp
@@ -30,7 +30,7 @@
const device_type SEGA005 = &device_creator<sega005_sound_device>;
-sega005_sound_device::sega005_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega005_sound_device::sega005_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEGA005, "Sega 005 Audio Custom", tag, owner, clock, "sega005_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_sega005_sound_timer(nullptr),
diff --git a/src/mame/audio/segam1audio.cpp b/src/mame/audio/segam1audio.cpp
index 3e5a37120a3..f8b879c408b 100644
--- a/src/mame/audio/segam1audio.cpp
+++ b/src/mame/audio/segam1audio.cpp
@@ -81,7 +81,7 @@ machine_config_constructor segam1audio_device::device_mconfig_additions() const
// segam1audio_device - constructor
//-------------------------------------------------
-segam1audio_device::segam1audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+segam1audio_device::segam1audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, SEGAM1AUDIO, "Sega Model 1 Sound Board", tag, owner, clock, "segam1audio", __FILE__),
m_audiocpu(*this, M68000_TAG),
m_multipcm_1(*this, MULTIPCM_1_TAG),
diff --git a/src/mame/audio/segam1audio.h b/src/mame/audio/segam1audio.h
index e188a5502a4..d996ad899a6 100644
--- a/src/mame/audio/segam1audio.h
+++ b/src/mame/audio/segam1audio.h
@@ -26,7 +26,7 @@ class segam1audio_device : public device_t
{
public:
// construction/destruction
- segam1audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segam1audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
diff --git a/src/mame/audio/segasnd.cpp b/src/mame/audio/segasnd.cpp
index abc5df498d4..2b65cea25ed 100644
--- a/src/mame/audio/segasnd.cpp
+++ b/src/mame/audio/segasnd.cpp
@@ -66,7 +66,7 @@ static inline double step_cr_filter(g80_filter_state *state, double input)
const device_type SEGASPEECH = &device_creator<speech_sound_device>;
-speech_sound_device::speech_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+speech_sound_device::speech_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEGASPEECH, "Sega Speech Sound Board", tag, owner, clock, "sega_speech_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_drq(0),
@@ -239,7 +239,7 @@ MACHINE_CONFIG_END
const device_type SEGAUSB = &device_creator<usb_sound_device>;
-usb_sound_device::usb_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+usb_sound_device::usb_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this),
m_ourcpu(*this, "ourcpu"),
@@ -258,7 +258,7 @@ usb_sound_device::usb_sound_device(const machine_config &mconfig, device_type ty
{
}
-usb_sound_device::usb_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+usb_sound_device::usb_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEGAUSB, "Sega Universal Sound Board", tag, owner, clock, "segausb", __FILE__),
device_sound_interface(mconfig, *this),
m_ourcpu(*this, "ourcpu"),
@@ -881,7 +881,7 @@ machine_config_constructor usb_sound_device::device_mconfig_additions() const
const device_type SEGAUSBROM = &device_creator<usb_rom_sound_device>;
-usb_rom_sound_device::usb_rom_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+usb_rom_sound_device::usb_rom_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: usb_sound_device(mconfig, SEGAUSBROM, "Sega Universal Sound Board with ROM", tag, owner, clock, "segausbrom", __FILE__)
{
}
diff --git a/src/mame/audio/segasnd.h b/src/mame/audio/segasnd.h
index 8436d8427e7..6814d77e6fb 100644
--- a/src/mame/audio/segasnd.h
+++ b/src/mame/audio/segasnd.h
@@ -12,7 +12,7 @@ class speech_sound_device : public device_t,
public device_sound_interface
{
public:
- speech_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ speech_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~speech_sound_device() {}
DECLARE_WRITE8_MEMBER( data_w );
@@ -115,8 +115,8 @@ class usb_sound_device : public device_t,
public device_sound_interface
{
public:
- usb_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
- usb_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ usb_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ usb_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~usb_sound_device() {}
required_device<i8035_device> m_ourcpu; /* CPU index of the 8035 */
@@ -176,7 +176,7 @@ extern const device_type SEGAUSB;
class usb_rom_sound_device : public usb_sound_device
{
public:
- usb_rom_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ usb_rom_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~usb_rom_sound_device() {}
protected:
diff --git a/src/mame/audio/seibu.cpp b/src/mame/audio/seibu.cpp
index 9883e9b9a25..2279adbddee 100644
--- a/src/mame/audio/seibu.cpp
+++ b/src/mame/audio/seibu.cpp
@@ -76,8 +76,8 @@
const device_type SEIBU_SOUND = &device_creator<seibu_sound_device>;
-seibu_sound_device::seibu_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : device_t(mconfig, SEIBU_SOUND, "Seibu Sound System", tag, owner, clock, "seibu_sound", __FILE__),
+seibu_sound_device::seibu_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
+ : device_t(mconfig, SEIBU_SOUND, "Seibu Sound System", tag, owner, clock, "seibu_sound", __FILE__), m_sound_cpu(nullptr),
m_main2sub_pending(0),
m_sub2main_pending(0),
m_rst10_irq(0xff),
@@ -506,7 +506,7 @@ ADDRESS_MAP_END
const device_type SEIBU_ADPCM = &device_creator<seibu_adpcm_device>;
-seibu_adpcm_device::seibu_adpcm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+seibu_adpcm_device::seibu_adpcm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEIBU_ADPCM, "Seibu ADPCM (MSM5205)", tag, owner, clock, "seibu_adpcm", __FILE__),
device_sound_interface(mconfig, *this),
m_stream(nullptr),
@@ -514,7 +514,6 @@ seibu_adpcm_device::seibu_adpcm_device(const machine_config &mconfig, const char
m_end(0),
m_nibble(0),
m_playing(0),
- m_rom_tag(nullptr),
m_base(nullptr)
{
}
diff --git a/src/mame/audio/seibu.h b/src/mame/audio/seibu.h
index 732ab5af314..8efbbb3f04c 100644
--- a/src/mame/audio/seibu.h
+++ b/src/mame/audio/seibu.h
@@ -43,7 +43,7 @@ ADDRESS_MAP_EXTERN(seibu3_adpcm_sound_map, 8);
class seibu_sound_device : public device_t
{
public:
- seibu_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ seibu_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~seibu_sound_device() {}
DECLARE_READ16_MEMBER( main_word_r );
@@ -102,10 +102,10 @@ class seibu_adpcm_device : public device_t,
public device_sound_interface
{
public:
- seibu_adpcm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ seibu_adpcm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~seibu_adpcm_device() {}
- static void set_adpcm_rom_tag(device_t &device, const char *tag) { downcast<seibu_adpcm_device &>(device).m_rom_tag = tag; }
+ static void set_adpcm_rom_tag(device_t &device, std::string tag) { downcast<seibu_adpcm_device &>(device).m_rom_tag = tag; }
void decrypt(const char *region);
DECLARE_WRITE8_MEMBER( adr_w );
@@ -126,7 +126,7 @@ protected:
UINT32 m_end;
UINT8 m_nibble;
UINT8 m_playing;
- const char *m_rom_tag;
+ std::string m_rom_tag;
UINT8 *m_base;
};
diff --git a/src/mame/audio/snes_snd.cpp b/src/mame/audio/snes_snd.cpp
index a9295fd560c..5dd418295ce 100644
--- a/src/mame/audio/snes_snd.cpp
+++ b/src/mame/audio/snes_snd.cpp
@@ -155,7 +155,7 @@ static const int ENVCNT[0x20]
const device_type SNES = &device_creator<snes_sound_device>;
-snes_sound_device::snes_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+snes_sound_device::snes_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SNES, "SNES Custom DSP (SPC700)", tag, owner, clock, "snes_sound", __FILE__),
device_sound_interface(mconfig, *this)
{
diff --git a/src/mame/audio/snes_snd.h b/src/mame/audio/snes_snd.h
index 6d4e97b14a1..c5b1cab5afd 100644
--- a/src/mame/audio/snes_snd.h
+++ b/src/mame/audio/snes_snd.h
@@ -63,7 +63,7 @@ class snes_sound_device : public device_t,
public device_sound_interface
{
public:
- snes_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ snes_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~snes_sound_device() {}
void set_volume(int volume);
diff --git a/src/mame/audio/snk6502.cpp b/src/mame/audio/snk6502.cpp
index 61a5bc8e959..570d3e68bae 100644
--- a/src/mame/audio/snk6502.cpp
+++ b/src/mame/audio/snk6502.cpp
@@ -130,7 +130,7 @@ DISCRETE_SOUND_END
const device_type SNK6502 = &device_creator<snk6502_sound_device>;
-snk6502_sound_device::snk6502_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+snk6502_sound_device::snk6502_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SNK6502, "SNK6502 Audio Custom", tag, owner, clock, "snk6502_sound", __FILE__),
device_sound_interface(mconfig, *this),
//m_tone_channels[CHANNELS],
diff --git a/src/mame/audio/socrates.cpp b/src/mame/audio/socrates.cpp
index c35896e5c25..a0cec702591 100644
--- a/src/mame/audio/socrates.cpp
+++ b/src/mame/audio/socrates.cpp
@@ -23,7 +23,7 @@ const device_type SOCRATES_SOUND = &device_creator<socrates_snd_device>;
// socrates_snd_device - constructor
//-------------------------------------------------
-socrates_snd_device::socrates_snd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+socrates_snd_device::socrates_snd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SOCRATES_SOUND, "Socrates Sound", tag, owner, clock, "socrates_snd", __FILE__),
device_sound_interface(mconfig, *this)
{
diff --git a/src/mame/audio/socrates.h b/src/mame/audio/socrates.h
index 14498844809..dd31bdd1bce 100644
--- a/src/mame/audio/socrates.h
+++ b/src/mame/audio/socrates.h
@@ -9,7 +9,7 @@ class socrates_snd_device : public device_t,
public device_sound_interface
{
public:
- socrates_snd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ socrates_snd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void reg0_w(int data);
void reg1_w(int data);
diff --git a/src/mame/audio/specimx_snd.cpp b/src/mame/audio/specimx_snd.cpp
index ec64bc096cc..c252a62dfc6 100644
--- a/src/mame/audio/specimx_snd.cpp
+++ b/src/mame/audio/specimx_snd.cpp
@@ -24,7 +24,7 @@ const device_type SPECIMX_SND = &device_creator<specimx_sound_device>;
// specimx_sound_device - constructor
//-------------------------------------------------
-specimx_sound_device::specimx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+specimx_sound_device::specimx_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SPECIMX_SND, "Specialist MX Audio Custom", tag, owner, clock, "specimx_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_mixer_channel(nullptr)
diff --git a/src/mame/audio/specimx_snd.h b/src/mame/audio/specimx_snd.h
index 0f682a37c0c..45758a4b39f 100644
--- a/src/mame/audio/specimx_snd.h
+++ b/src/mame/audio/specimx_snd.h
@@ -15,7 +15,7 @@ class specimx_sound_device : public device_t,
public device_sound_interface
{
public:
- specimx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ specimx_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~specimx_sound_device() { }
DECLARE_WRITE_LINE_MEMBER(set_input_ch0);
diff --git a/src/mame/audio/svis_snd.cpp b/src/mame/audio/svis_snd.cpp
index cc2bec2b821..0c95de6984e 100644
--- a/src/mame/audio/svis_snd.cpp
+++ b/src/mame/audio/svis_snd.cpp
@@ -22,7 +22,7 @@ const device_type SVISION_SND = &device_creator<svision_sound_device>;
// svision_sound_device - constructor
//-------------------------------------------------
-svision_sound_device::svision_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+svision_sound_device::svision_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SVISION_SND, "Super Vision Audio Custom", tag, owner, clock, "svision_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_mixer_channel(nullptr)
diff --git a/src/mame/audio/svis_snd.h b/src/mame/audio/svis_snd.h
index d6ca0228688..867a649c57a 100644
--- a/src/mame/audio/svis_snd.h
+++ b/src/mame/audio/svis_snd.h
@@ -105,7 +105,7 @@ class svision_sound_device : public device_t,
public device_sound_interface
{
public:
- svision_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ svision_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~svision_sound_device() { }
// static configuration
diff --git a/src/mame/audio/t5182.cpp b/src/mame/audio/t5182.cpp
index a40349de0d0..d101f8137cc 100644
--- a/src/mame/audio/t5182.cpp
+++ b/src/mame/audio/t5182.cpp
@@ -153,7 +153,7 @@ rom.
const device_type T5182 = &device_creator<t5182_device>;
-t5182_device::t5182_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+t5182_device::t5182_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, T5182, "T5182 MCU", tag, owner, clock, "t5182", __FILE__),
m_ourcpu(*this, "t5182_z80"),
m_sharedram(*this, "sharedram"),
diff --git a/src/mame/audio/t5182.h b/src/mame/audio/t5182.h
index cef7d593c2b..c60910057de 100644
--- a/src/mame/audio/t5182.h
+++ b/src/mame/audio/t5182.h
@@ -7,7 +7,7 @@ class t5182_device : public device_t
{
public:
- t5182_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ t5182_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~t5182_device() {}
enum
diff --git a/src/mame/audio/taito_en.cpp b/src/mame/audio/taito_en.cpp
index 7fc4a193a17..310128dae9e 100644
--- a/src/mame/audio/taito_en.cpp
+++ b/src/mame/audio/taito_en.cpp
@@ -18,7 +18,7 @@
const device_type TAITO_EN = &device_creator<taito_en_device>;
-taito_en_device::taito_en_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+taito_en_device::taito_en_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TAITO_EN, "Taito Ensoniq Sound System", tag, owner, clock, "taito_en", __FILE__),
m_audiocpu(*this, ":audiocpu"),
m_ensoniq(*this, ":ensoniq"),
diff --git a/src/mame/audio/taito_en.h b/src/mame/audio/taito_en.h
index 395a313a07a..bfb81f2a384 100644
--- a/src/mame/audio/taito_en.h
+++ b/src/mame/audio/taito_en.h
@@ -15,7 +15,7 @@ class taito_en_device : public device_t
{
public:
- taito_en_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ taito_en_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~taito_en_device() {}
DECLARE_READ8_MEMBER( en_68000_share_r );
diff --git a/src/mame/audio/taito_zm.cpp b/src/mame/audio/taito_zm.cpp
index a23967134c3..bae627fb502 100644
--- a/src/mame/audio/taito_zm.cpp
+++ b/src/mame/audio/taito_zm.cpp
@@ -37,7 +37,7 @@ const device_type TAITO_ZOOM = &device_creator<taito_zoom_device>;
// taito_zoom_device - constructor
//-------------------------------------------------
-taito_zoom_device::taito_zoom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+taito_zoom_device::taito_zoom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TAITO_ZOOM, "Taito Zoom Sound System", tag, owner, clock, "taito_zoom", __FILE__),
m_soundcpu(*this, ":mn10200"),
m_zsg2(*this, ":zsg2"),
diff --git a/src/mame/audio/taito_zm.h b/src/mame/audio/taito_zm.h
index 610cdc807a8..64b220e273e 100644
--- a/src/mame/audio/taito_zm.h
+++ b/src/mame/audio/taito_zm.h
@@ -16,7 +16,7 @@ class taito_zoom_device : public device_t
{
public:
- taito_zoom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ taito_zoom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~taito_zoom_device() {}
DECLARE_WRITE16_MEMBER(sound_irq_w);
diff --git a/src/mame/audio/taitosnd.cpp b/src/mame/audio/taitosnd.cpp
index b36b81dc030..b0689cfeaee 100644
--- a/src/mame/audio/taitosnd.cpp
+++ b/src/mame/audio/taitosnd.cpp
@@ -40,7 +40,7 @@ const device_type TC0140SYT = &device_creator<tc0140syt_device>;
// tc0140syt_device - constructor
//-------------------------------------------------
-tc0140syt_device::tc0140syt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tc0140syt_device::tc0140syt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TC0140SYT, "Taito TC0140SYT", tag, owner, clock, "tc0140syt", __FILE__),
m_mainmode(0),
m_submode(0),
diff --git a/src/mame/audio/taitosnd.h b/src/mame/audio/taitosnd.h
index b74f13d0307..05e707324d4 100644
--- a/src/mame/audio/taitosnd.h
+++ b/src/mame/audio/taitosnd.h
@@ -24,11 +24,11 @@
class tc0140syt_device : public device_t
{
public:
- tc0140syt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tc0140syt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~tc0140syt_device() { }
- static void set_master_tag(device_t &device, const char *tag) { downcast<tc0140syt_device &>(device).m_mastercpu.set_tag(tag); }
- static void set_slave_tag(device_t &device, const char *tag) { downcast<tc0140syt_device &>(device).m_slavecpu.set_tag(tag); }
+ static void set_master_tag(device_t &device, std::string tag) { downcast<tc0140syt_device &>(device).m_mastercpu.set_tag(tag); }
+ static void set_slave_tag(device_t &device, std::string tag) { downcast<tc0140syt_device &>(device).m_slavecpu.set_tag(tag); }
// MASTER (4-bit bus) control functions
DECLARE_WRITE8_MEMBER( master_port_w );
diff --git a/src/mame/audio/tiamc1.cpp b/src/mame/audio/tiamc1.cpp
index 9c896429fcd..2153eab68c7 100644
--- a/src/mame/audio/tiamc1.cpp
+++ b/src/mame/audio/tiamc1.cpp
@@ -57,7 +57,7 @@ const device_type TIAMC1 = &device_creator<tiamc1_sound_device>;
// tiamc1_sound_device - constructor
//-------------------------------------------------
-tiamc1_sound_device::tiamc1_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tiamc1_sound_device::tiamc1_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TIAMC1, "TIA-MC1 Audio Custom", tag, owner, clock, "tiamc1_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_channel(nullptr),
diff --git a/src/mame/audio/timeplt.cpp b/src/mame/audio/timeplt.cpp
index eb1dd3ef6e9..51a7516459a 100644
--- a/src/mame/audio/timeplt.cpp
+++ b/src/mame/audio/timeplt.cpp
@@ -21,7 +21,7 @@
const device_type TIMEPLT_AUDIO = &device_creator<timeplt_audio_device>;
-timeplt_audio_device::timeplt_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+timeplt_audio_device::timeplt_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TIMEPLT_AUDIO, "Time Pilot Audio", tag, owner, clock, "timeplt_audio", __FILE__),
device_sound_interface(mconfig, *this),
m_last_irq_state(0)
diff --git a/src/mame/audio/timeplt.h b/src/mame/audio/timeplt.h
index ec58d71bbf3..b16570ae657 100644
--- a/src/mame/audio/timeplt.h
+++ b/src/mame/audio/timeplt.h
@@ -8,7 +8,7 @@ class timeplt_audio_device : public device_t,
public device_sound_interface
{
public:
- timeplt_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ timeplt_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~timeplt_audio_device() {}
DECLARE_WRITE8_MEMBER( sh_irqtrigger_w );
diff --git a/src/mame/audio/trackfld.cpp b/src/mame/audio/trackfld.cpp
index 6f78f861712..c884132b696 100644
--- a/src/mame/audio/trackfld.cpp
+++ b/src/mame/audio/trackfld.cpp
@@ -13,7 +13,7 @@
const device_type TRACKFLD_AUDIO = &device_creator<trackfld_audio_device>;
-trackfld_audio_device::trackfld_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+trackfld_audio_device::trackfld_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TRACKFLD_AUDIO, "Track And Field Audio", tag, owner, clock, "trackfld_audio", __FILE__),
device_sound_interface(mconfig, *this),
m_last_addr(0),
diff --git a/src/mame/audio/trackfld.h b/src/mame/audio/trackfld.h
index e1cf446f6a8..c0c15552020 100644
--- a/src/mame/audio/trackfld.h
+++ b/src/mame/audio/trackfld.h
@@ -7,7 +7,7 @@ class trackfld_audio_device : public device_t,
public device_sound_interface
{
public:
- trackfld_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ trackfld_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~trackfld_audio_device() {}
DECLARE_WRITE8_MEMBER(konami_sh_irqtrigger_w );
diff --git a/src/mame/audio/turrett.cpp b/src/mame/audio/turrett.cpp
index bb1fee907b4..188d91e0315 100644
--- a/src/mame/audio/turrett.cpp
+++ b/src/mame/audio/turrett.cpp
@@ -15,7 +15,7 @@
// turrett_device - constructor
//-------------------------------------------------
-turrett_device::turrett_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+turrett_device::turrett_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TURRETT, "Turret Tower Sound", tag, owner, clock, "ttsnd", __FILE__),
device_sound_interface(mconfig, *this),
device_memory_interface(mconfig, *this),
diff --git a/src/mame/audio/tvc_snd.cpp b/src/mame/audio/tvc_snd.cpp
index 29d61b5dc7c..d7eb902994b 100644
--- a/src/mame/audio/tvc_snd.cpp
+++ b/src/mame/audio/tvc_snd.cpp
@@ -16,7 +16,7 @@ const device_type TVC_SOUND = &device_creator<tvc_sound_device>;
// tvc_sound_device - constructor
//-------------------------------------------------
-tvc_sound_device::tvc_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+tvc_sound_device::tvc_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, TVC_SOUND, "TVC 64 Audio Custom", tag, owner, clock, "tvc_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_write_sndint(*this)
diff --git a/src/mame/audio/tvc_snd.h b/src/mame/audio/tvc_snd.h
index 1103a9c116c..54f2e4594b0 100644
--- a/src/mame/audio/tvc_snd.h
+++ b/src/mame/audio/tvc_snd.h
@@ -25,7 +25,7 @@ class tvc_sound_device : public device_t,
{
public:
// construction/destruction
- tvc_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tvc_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_sndint_wr_callback(device_t &device, _Object object) { return downcast<tvc_sound_device &>(device).m_write_sndint.set_callback(object); }
diff --git a/src/mame/audio/tx1.cpp b/src/mame/audio/tx1.cpp
index 93de637e22d..95c6dc0f694 100644
--- a/src/mame/audio/tx1.cpp
+++ b/src/mame/audio/tx1.cpp
@@ -53,13 +53,13 @@ static const double tx1_engine_gains[16] =
const device_type TX1 = &device_creator<tx1_sound_device>;
-tx1_sound_device::tx1_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tx1_sound_device::tx1_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TX1, "TX-1 Audio Custom", tag, owner, clock, "tx1_sound", __FILE__),
device_sound_interface(mconfig, *this)
{
}
-tx1_sound_device::tx1_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+tx1_sound_device::tx1_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_sound_interface(mconfig, *this),
m_stream(nullptr),
@@ -346,7 +346,7 @@ static const double bb_engine_gains[16] =
const device_type BUGGYBOY = &device_creator<buggyboy_sound_device>;
-buggyboy_sound_device::buggyboy_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+buggyboy_sound_device::buggyboy_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: tx1_sound_device(mconfig, BUGGYBOY, "Buggy Boy Audio Custom", tag, owner, clock, "buggyboy_sound", __FILE__)
{
}
diff --git a/src/mame/audio/upd1771.cpp b/src/mame/audio/upd1771.cpp
index e826aafee0f..c04bf96ff7a 100644
--- a/src/mame/audio/upd1771.cpp
+++ b/src/mame/audio/upd1771.cpp
@@ -233,7 +233,7 @@ static unsigned char noise_tbl[]=
const device_type UPD1771C = &device_creator<upd1771c_device>;
-upd1771c_device::upd1771c_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+upd1771c_device::upd1771c_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, UPD1771C, "NEC uPD1771C 017", tag, owner, clock, "upd1771c", __FILE__),
device_sound_interface(mconfig, *this),
m_ack_handler(*this)
diff --git a/src/mame/audio/upd1771.h b/src/mame/audio/upd1771.h
index 46ca16e0158..9653c447a53 100644
--- a/src/mame/audio/upd1771.h
+++ b/src/mame/audio/upd1771.h
@@ -25,7 +25,7 @@ class upd1771c_device : public device_t,
public device_sound_interface
{
public:
- upd1771c_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ upd1771c_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~upd1771c_device() {}
template<class _Object> static devcb_base &set_ack_handler(device_t &device, _Object object) { return downcast<upd1771c_device &>(device).m_ack_handler.set_callback(object); }
diff --git a/src/mame/audio/vboy.cpp b/src/mame/audio/vboy.cpp
index f6b77630522..e27c77cbb36 100644
--- a/src/mame/audio/vboy.cpp
+++ b/src/mame/audio/vboy.cpp
@@ -195,7 +195,7 @@ static inline void mputb(UINT8 *ptr, INT8 data) { *ptr = data; }
// vboysnd_device - constructor
//-------------------------------------------------
-vboysnd_device::vboysnd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+vboysnd_device::vboysnd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, VBOYSND, "Virtual Boy audio", tag, owner, clock, "vboysnd", __FILE__),
device_sound_interface(mconfig, *this)
{
diff --git a/src/mame/audio/vboy.h b/src/mame/audio/vboy.h
index f3d85d60c6f..0f028ae3796 100644
--- a/src/mame/audio/vboy.h
+++ b/src/mame/audio/vboy.h
@@ -73,7 +73,7 @@ class vboysnd_device : public device_t, public device_sound_interface
{
public:
// construction/destruction
- vboysnd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ vboysnd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ8_MEMBER(read);
DECLARE_WRITE8_MEMBER(write);
diff --git a/src/mame/audio/vc4000snd.cpp b/src/mame/audio/vc4000snd.cpp
index 72a8e46b349..2d25524cb88 100644
--- a/src/mame/audio/vc4000snd.cpp
+++ b/src/mame/audio/vc4000snd.cpp
@@ -12,7 +12,7 @@
const device_type VC4000_SND = &device_creator<vc4000_sound_device>;
-vc4000_sound_device::vc4000_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+vc4000_sound_device::vc4000_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, VC4000_SND, "Intertion Electronic VC 4000 Audio Custom", tag, owner, clock, "vc4000_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_channel(nullptr),
diff --git a/src/mame/audio/vc4000snd.h b/src/mame/audio/vc4000snd.h
index d528fd501bc..6b0ede4b485 100644
--- a/src/mame/audio/vc4000snd.h
+++ b/src/mame/audio/vc4000snd.h
@@ -21,7 +21,7 @@ class vc4000_sound_device : public device_t,
public device_sound_interface
{
public:
- vc4000_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ vc4000_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~vc4000_sound_device() { }
protected:
diff --git a/src/mame/audio/warpwarp.cpp b/src/mame/audio/warpwarp.cpp
index d0c17d54d77..f5393f3434c 100644
--- a/src/mame/audio/warpwarp.cpp
+++ b/src/mame/audio/warpwarp.cpp
@@ -18,7 +18,7 @@
const device_type WARPWARP = &device_creator<warpwarp_sound_device>;
-warpwarp_sound_device::warpwarp_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+warpwarp_sound_device::warpwarp_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, WARPWARP, "Warp Warp Audio Custom", tag, owner, clock, "warpwarp_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_decay(nullptr),
diff --git a/src/mame/audio/warpwarp.h b/src/mame/audio/warpwarp.h
index c14c61f63b5..78a49135d1c 100644
--- a/src/mame/audio/warpwarp.h
+++ b/src/mame/audio/warpwarp.h
@@ -4,7 +4,7 @@ class geebee_sound_device : public device_t,
public device_sound_interface
{
public:
- geebee_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ geebee_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
enum
{
@@ -43,7 +43,7 @@ class warpwarp_sound_device : public device_t,
public device_sound_interface
{
public:
- warpwarp_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ warpwarp_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
enum
{
diff --git a/src/mame/audio/williams.cpp b/src/mame/audio/williams.cpp
index 94d9a39673a..9577849d904 100644
--- a/src/mame/audio/williams.cpp
+++ b/src/mame/audio/williams.cpp
@@ -69,7 +69,7 @@ extern const device_type WILLIAMS_ADPCM_SOUND = &device_creator<williams_adpcm_s
// williams_cvsd_sound_device - constructor
//-------------------------------------------------
-williams_cvsd_sound_device::williams_cvsd_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+williams_cvsd_sound_device::williams_cvsd_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, WILLIAMS_CVSD_SOUND, "Williams CVSD Sound Board", tag, owner, clock, "wmscvsd", __FILE__),
device_mixer_interface(mconfig, *this),
m_cpu(*this, "cpu"),
@@ -302,7 +302,7 @@ void williams_cvsd_sound_device::device_timer(emu_timer &timer, device_timer_id
// williams_narc_sound_device - constructor
//-------------------------------------------------
-williams_narc_sound_device::williams_narc_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+williams_narc_sound_device::williams_narc_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, WILLIAMS_NARC_SOUND, "Williams NARC Sound Board", tag, owner, clock, "wmsnarc", __FILE__),
device_mixer_interface(mconfig, *this),
m_cpu0(*this, "cpu0"),
@@ -675,7 +675,7 @@ void williams_narc_sound_device::device_timer(emu_timer &timer, device_timer_id
// williams_adpcm_sound_device - constructor
//-------------------------------------------------
-williams_adpcm_sound_device::williams_adpcm_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+williams_adpcm_sound_device::williams_adpcm_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, WILLIAMS_ADPCM_SOUND, "Williams ADPCM Sound Board", tag, owner, clock, "wmsadpcm", __FILE__),
device_mixer_interface(mconfig, *this),
m_cpu(*this, "cpu"),
diff --git a/src/mame/audio/williams.h b/src/mame/audio/williams.h
index 1c19bcd3985..38746b2f5e4 100644
--- a/src/mame/audio/williams.h
+++ b/src/mame/audio/williams.h
@@ -51,7 +51,7 @@ class williams_cvsd_sound_device : public device_t,
{
public:
// construction/destruction
- williams_cvsd_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ williams_cvsd_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// read/write
DECLARE_WRITE16_MEMBER(write);
@@ -91,7 +91,7 @@ class williams_narc_sound_device : public device_t,
{
public:
// construction/destruction
- williams_narc_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ williams_narc_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// read/write
DECLARE_READ16_MEMBER(read);
@@ -149,7 +149,7 @@ class williams_adpcm_sound_device : public device_t,
{
public:
// construction/destruction
- williams_adpcm_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ williams_adpcm_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// read/write
DECLARE_WRITE16_MEMBER(write);
diff --git a/src/mame/audio/wiping.cpp b/src/mame/audio/wiping.cpp
index 38925e08c37..82bd7f5653e 100644
--- a/src/mame/audio/wiping.cpp
+++ b/src/mame/audio/wiping.cpp
@@ -16,7 +16,7 @@ static const int defgain = 48;
const device_type WIPING = &device_creator<wiping_sound_device>;
-wiping_sound_device::wiping_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+wiping_sound_device::wiping_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, WIPING, "Wiping Audio Custom", tag, owner, clock, "wiping_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_last_channel(nullptr),
diff --git a/src/mame/audio/wiping.h b/src/mame/audio/wiping.h
index f891ae8f5d8..c61445ca2e1 100644
--- a/src/mame/audio/wiping.h
+++ b/src/mame/audio/wiping.h
@@ -18,7 +18,7 @@ class wiping_sound_device : public device_t,
public device_sound_interface
{
public:
- wiping_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ wiping_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~wiping_sound_device() {}
DECLARE_WRITE8_MEMBER( sound_w );
diff --git a/src/mame/audio/wpcsnd.cpp b/src/mame/audio/wpcsnd.cpp
index 134456fe19b..38b0131dde2 100644
--- a/src/mame/audio/wpcsnd.cpp
+++ b/src/mame/audio/wpcsnd.cpp
@@ -13,7 +13,7 @@
const device_type WPCSND = &device_creator<wpcsnd_device>;
-wpcsnd_device::wpcsnd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+wpcsnd_device::wpcsnd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig,WPCSND,"Williams WPC Sound",tag,owner,clock, "wpcsnd", __FILE__),
m_cpu(*this,"bgcpu"),
m_ym2151(*this,"ym2151"),
@@ -107,7 +107,7 @@ void wpcsnd_device::device_reset()
m_reply_available = false;
}
-void wpcsnd_device::static_set_gfxregion(device_t &device, const char *tag)
+void wpcsnd_device::static_set_gfxregion(device_t &device, std::string tag)
{
wpcsnd_device &cpuboard = downcast<wpcsnd_device &>(device);
cpuboard.m_regiontag = tag;
diff --git a/src/mame/audio/wpcsnd.h b/src/mame/audio/wpcsnd.h
index 36c418bd9bf..556a888202f 100644
--- a/src/mame/audio/wpcsnd.h
+++ b/src/mame/audio/wpcsnd.h
@@ -26,7 +26,7 @@ class wpcsnd_device : public device_t
{
public:
// construction/destruction
- wpcsnd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ wpcsnd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
required_device<cpu_device> m_cpu;
required_device<ym2151_device> m_ym2151;
@@ -49,7 +49,7 @@ public:
UINT8 ctrl_r();
UINT8 data_r();
- static void static_set_gfxregion(device_t &device, const char *tag);
+ static void static_set_gfxregion(device_t &device, std::string tag);
// callbacks
template<class _reply> void set_reply_callback(_reply reply) { m_reply_cb.set_callback(reply); }
@@ -61,7 +61,7 @@ protected:
virtual machine_config_constructor device_mconfig_additions() const override;
private:
- const char* m_regiontag;
+ std::string m_regiontag;
UINT8 m_latch;
UINT8 m_reply;
bool m_reply_available;
diff --git a/src/mame/audio/wswan_snd.cpp b/src/mame/audio/wswan_snd.cpp
index 42918fb191b..f679c36149d 100644
--- a/src/mame/audio/wswan_snd.cpp
+++ b/src/mame/audio/wswan_snd.cpp
@@ -28,7 +28,7 @@ const device_type WSWAN_SND = &device_creator<wswan_sound_device>;
// wswan_sound_device - constructor
//-------------------------------------------------
-wswan_sound_device::wswan_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+wswan_sound_device::wswan_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, WSWAN_SND, "WonderSwan Audio Custom", tag, owner, clock, "wswan_sound", __FILE__),
device_sound_interface(mconfig, *this),
m_channel(nullptr),
diff --git a/src/mame/audio/wswan_snd.h b/src/mame/audio/wswan_snd.h
index 227922e3cf9..4c353268fac 100644
--- a/src/mame/audio/wswan_snd.h
+++ b/src/mame/audio/wswan_snd.h
@@ -44,7 +44,7 @@ class wswan_sound_device : public device_t,
public device_sound_interface
{
public:
- wswan_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ wswan_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~wswan_sound_device() { }
protected:
diff --git a/src/mame/drivers/1945kiii.cpp b/src/mame/drivers/1945kiii.cpp
index 55b4b8c6ee3..12f7e77e69e 100644
--- a/src/mame/drivers/1945kiii.cpp
+++ b/src/mame/drivers/1945kiii.cpp
@@ -52,7 +52,7 @@ Notes:
class k3_state : public driver_device
{
public:
- k3_state(const machine_config &mconfig, device_type type, const char *tag)
+ k3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_oki1(*this, "oki1"),
m_oki2(*this, "oki2") ,
diff --git a/src/mame/drivers/24cdjuke.cpp b/src/mame/drivers/24cdjuke.cpp
index 7a9e17d325e..b56775a48b7 100644
--- a/src/mame/drivers/24cdjuke.cpp
+++ b/src/mame/drivers/24cdjuke.cpp
@@ -60,7 +60,7 @@ http://www.tilt.it/deb/i-midcoin.html
class midcoin24cdjuke_state : public driver_device
{
public:
- midcoin24cdjuke_state(const machine_config &mconfig, device_type type, const char *tag)
+ midcoin24cdjuke_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_io_row0(*this, "ROW0"),
diff --git a/src/mame/drivers/2mindril.cpp b/src/mame/drivers/2mindril.cpp
index d1f27dd46ab..d02679367e2 100644
--- a/src/mame/drivers/2mindril.cpp
+++ b/src/mame/drivers/2mindril.cpp
@@ -43,7 +43,7 @@ DAC -26.6860Mhz
class _2mindril_state : public taito_f3_state
{
public:
- _2mindril_state(const machine_config &mconfig, device_type type, const char *tag)
+ _2mindril_state(const machine_config &mconfig, device_type type, std::string tag)
: taito_f3_state(mconfig, type, tag),
m_iodata(*this, "iodata") { }
diff --git a/src/mame/drivers/30test.cpp b/src/mame/drivers/30test.cpp
index c41167a52de..8042713b864 100644
--- a/src/mame/drivers/30test.cpp
+++ b/src/mame/drivers/30test.cpp
@@ -53,7 +53,7 @@ http://blogs.yahoo.co.jp/nadegatayosoyuki/59285865.html
class namco_30test_state : public driver_device
{
public:
- namco_30test_state(const machine_config &mconfig, device_type type, const char *tag)
+ namco_30test_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_oki(*this, "oki") { }
diff --git a/src/mame/drivers/39in1.cpp b/src/mame/drivers/39in1.cpp
index 0c5bdcafc11..940fb3268a7 100644
--- a/src/mame/drivers/39in1.cpp
+++ b/src/mame/drivers/39in1.cpp
@@ -32,7 +32,7 @@
class _39in1_state : public driver_device
{
public:
- _39in1_state(const machine_config &mconfig, device_type type, const char *tag)
+ _39in1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ram(*this, "ram"),
m_eeprom(*this, "eeprom"),
diff --git a/src/mame/drivers/3x3puzzl.cpp b/src/mame/drivers/3x3puzzl.cpp
index 38ccc0c15a6..30ab32776f7 100644
--- a/src/mame/drivers/3x3puzzl.cpp
+++ b/src/mame/drivers/3x3puzzl.cpp
@@ -49,7 +49,7 @@ Notes:
class _3x3puzzle_state : public driver_device
{
public:
- _3x3puzzle_state(const machine_config &mconfig, device_type type, const char *tag)
+ _3x3puzzle_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram1(*this, "videoram1"),
m_videoram2(*this, "videoram2"),
diff --git a/src/mame/drivers/4004clk.cpp b/src/mame/drivers/4004clk.cpp
index 224102e80ef..97f202d826f 100644
--- a/src/mame/drivers/4004clk.cpp
+++ b/src/mame/drivers/4004clk.cpp
@@ -16,7 +16,7 @@
class nixieclock_state : public driver_device
{
public:
- nixieclock_state(const machine_config &mconfig, device_type type, const char *tag)
+ nixieclock_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac(*this, "dac"),
diff --git a/src/mame/drivers/4dpi.cpp b/src/mame/drivers/4dpi.cpp
index 7feead80bea..6a45f124855 100644
--- a/src/mame/drivers/4dpi.cpp
+++ b/src/mame/drivers/4dpi.cpp
@@ -29,7 +29,7 @@ struct ip6_regs_t
class sgi_ip6_state : public driver_device
{
public:
- sgi_ip6_state(const machine_config &mconfig, device_type type, const char *tag)
+ sgi_ip6_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/4enlinea.cpp b/src/mame/drivers/4enlinea.cpp
index 86328de8c88..50c2470a174 100644
--- a/src/mame/drivers/4enlinea.cpp
+++ b/src/mame/drivers/4enlinea.cpp
@@ -207,7 +207,7 @@
class _4enlinea_state : public driver_device
{
public:
- _4enlinea_state(const machine_config &mconfig, device_type type, const char *tag)
+ _4enlinea_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ay(*this, "aysnd"),
m_maincpu(*this, "maincpu")
@@ -244,7 +244,7 @@ class isa8_cga_4enlinea_device : public isa8_cga_device
{
public:
// construction/destruction
- isa8_cga_4enlinea_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ isa8_cga_4enlinea_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ8_MEMBER( _4enlinea_io_read );
DECLARE_WRITE8_MEMBER( _4enlinea_mode_control_w );
@@ -259,7 +259,7 @@ const rom_entry *isa8_cga_4enlinea_device::device_rom_region() const
const device_type ISA8_CGA_4ENLINEA = &device_creator<isa8_cga_4enlinea_device>;
-isa8_cga_4enlinea_device::isa8_cga_4enlinea_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+isa8_cga_4enlinea_device::isa8_cga_4enlinea_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
isa8_cga_device( mconfig, ISA8_CGA_4ENLINEA, "ISA8_CGA_4ENLINEA", tag, owner, clock, "4enlinea_cga", __FILE__)
{
}
diff --git a/src/mame/drivers/4roses.cpp b/src/mame/drivers/4roses.cpp
index acfa158233b..38ed2e6ed29 100644
--- a/src/mame/drivers/4roses.cpp
+++ b/src/mame/drivers/4roses.cpp
@@ -185,7 +185,7 @@
class _4roses_state : public funworld_state
{
public:
- _4roses_state(const machine_config &mconfig, device_type type, const char *tag)
+ _4roses_state(const machine_config &mconfig, device_type type, std::string tag)
: funworld_state(mconfig, type, tag) { }
DECLARE_DRIVER_INIT(4roses);
diff --git a/src/mame/drivers/5clown.cpp b/src/mame/drivers/5clown.cpp
index c0d07547e2d..a333f813e3d 100644
--- a/src/mame/drivers/5clown.cpp
+++ b/src/mame/drivers/5clown.cpp
@@ -456,7 +456,7 @@
class _5clown_state : public driver_device
{
public:
- _5clown_state(const machine_config &mconfig, device_type type, const char *tag)
+ _5clown_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/68ksbc.cpp b/src/mame/drivers/68ksbc.cpp
index 2ff1bc85cac..348d9611f9f 100644
--- a/src/mame/drivers/68ksbc.cpp
+++ b/src/mame/drivers/68ksbc.cpp
@@ -35,7 +35,7 @@
class c68ksbc_state : public driver_device
{
public:
- c68ksbc_state(const machine_config &mconfig, device_type type, const char *tag) :
+ c68ksbc_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_acia(*this, "acia")
diff --git a/src/mame/drivers/a1supply.cpp b/src/mame/drivers/a1supply.cpp
index 12f9a7447d1..76fe19bd74d 100644
--- a/src/mame/drivers/a1supply.cpp
+++ b/src/mame/drivers/a1supply.cpp
@@ -38,7 +38,7 @@
class a1supply_state : public driver_device
{
public:
- a1supply_state(const machine_config &mconfig, device_type type, const char *tag)
+ a1supply_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_video(*this, "fixfreq")
diff --git a/src/mame/drivers/a2600.cpp b/src/mame/drivers/a2600.cpp
index fc0f9bc5cdf..077f2b28404 100644
--- a/src/mame/drivers/a2600.cpp
+++ b/src/mame/drivers/a2600.cpp
@@ -45,7 +45,7 @@ TODO:
class a2600_state : public driver_device
{
public:
- a2600_state(const machine_config &mconfig, device_type type, const char *tag)
+ a2600_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_riot_ram(*this, "riot_ram"),
m_joy1(*this, CONTROL1_TAG),
diff --git a/src/mame/drivers/a310.cpp b/src/mame/drivers/a310.cpp
index 7acb2a355c9..01a6004f2a0 100644
--- a/src/mame/drivers/a310.cpp
+++ b/src/mame/drivers/a310.cpp
@@ -73,7 +73,7 @@
class a310_state : public archimedes_state
{
public:
- a310_state(const machine_config &mconfig, device_type type, const char *tag)
+ a310_state(const machine_config &mconfig, device_type type, std::string tag)
: archimedes_state(mconfig, type, tag)
, m_physram(*this, "physicalram")
, m_ram(*this, RAM_TAG)
diff --git a/src/mame/drivers/a5105.cpp b/src/mame/drivers/a5105.cpp
index 44222bdb920..f0463d08d11 100644
--- a/src/mame/drivers/a5105.cpp
+++ b/src/mame/drivers/a5105.cpp
@@ -37,7 +37,7 @@ ToDo:
class a5105_state : public driver_device
{
public:
- a5105_state(const machine_config &mconfig, device_type type, const char *tag)
+ a5105_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_hgdc(*this, "upd7220"),
diff --git a/src/mame/drivers/a51xx.cpp b/src/mame/drivers/a51xx.cpp
index 2284450bde4..9732b027e34 100644
--- a/src/mame/drivers/a51xx.cpp
+++ b/src/mame/drivers/a51xx.cpp
@@ -18,7 +18,7 @@
class a51xx_state : public driver_device
{
public:
- a51xx_state(const machine_config &mconfig, device_type type, const char *tag)
+ a51xx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/a6809.cpp b/src/mame/drivers/a6809.cpp
index 98b57f5af99..4016146f578 100644
--- a/src/mame/drivers/a6809.cpp
+++ b/src/mame/drivers/a6809.cpp
@@ -62,7 +62,7 @@ enter show next address
class a6809_state : public driver_device
{
public:
- a6809_state(const machine_config &mconfig, device_type type, const char *tag)
+ a6809_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_p_videoram(*this, "videoram")
, m_via(*this, "via")
diff --git a/src/mame/drivers/a7150.cpp b/src/mame/drivers/a7150.cpp
index 3559e6548b2..675411ffd51 100644
--- a/src/mame/drivers/a7150.cpp
+++ b/src/mame/drivers/a7150.cpp
@@ -17,7 +17,7 @@
class a7150_state : public driver_device
{
public:
- a7150_state(const machine_config &mconfig, device_type type, const char *tag)
+ a7150_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/a7800.cpp b/src/mame/drivers/a7800.cpp
index eda5f74ac07..10d18b3b3a8 100644
--- a/src/mame/drivers/a7800.cpp
+++ b/src/mame/drivers/a7800.cpp
@@ -112,7 +112,7 @@
class a7800_state : public driver_device
{
public:
- a7800_state(const machine_config &mconfig, device_type type, const char *tag)
+ a7800_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_tia(*this, "tia"),
diff --git a/src/mame/drivers/ace.cpp b/src/mame/drivers/ace.cpp
index 57d96585296..32d96656abe 100644
--- a/src/mame/drivers/ace.cpp
+++ b/src/mame/drivers/ace.cpp
@@ -50,7 +50,7 @@ A1 2101 2101
class aceal_state : public driver_device
{
public:
- aceal_state(const machine_config &mconfig, device_type type, const char *tag)
+ aceal_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_scoreram(*this, "scoreram"),
diff --git a/src/mame/drivers/acefruit.cpp b/src/mame/drivers/acefruit.cpp
index b869458ace4..9e4f3bcaa48 100644
--- a/src/mame/drivers/acefruit.cpp
+++ b/src/mame/drivers/acefruit.cpp
@@ -20,7 +20,7 @@ Inputs and Dip Switches by Stephh
class acefruit_state : public driver_device
{
public:
- acefruit_state(const machine_config &mconfig, device_type type, const char *tag)
+ acefruit_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/drivers/aces1.cpp b/src/mame/drivers/aces1.cpp
index 4bc18a85aa9..13a55d69216 100644
--- a/src/mame/drivers/aces1.cpp
+++ b/src/mame/drivers/aces1.cpp
@@ -37,7 +37,7 @@ JPM style Reel MCU? Certainly reel data seems to be muxed together in aweird way
class aces1_state : public driver_device
{
public:
- aces1_state(const machine_config &mconfig, device_type type, const char *tag)
+ aces1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_reel0(*this, "reel0"),
diff --git a/src/mame/drivers/acesp.cpp b/src/mame/drivers/acesp.cpp
index 1a83aa85aa4..e0011488774 100644
--- a/src/mame/drivers/acesp.cpp
+++ b/src/mame/drivers/acesp.cpp
@@ -23,7 +23,7 @@
class ace_sp_state : public driver_device
{
public:
- ace_sp_state(const machine_config &mconfig, device_type type, const char *tag)
+ ace_sp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/acommand.cpp b/src/mame/drivers/acommand.cpp
index 5da92a119ce..3765aa69713 100644
--- a/src/mame/drivers/acommand.cpp
+++ b/src/mame/drivers/acommand.cpp
@@ -65,7 +65,7 @@ JALCF1 BIN 1,048,576 02-07-99 1:11a JALCF1.BIN
class acommand_state : public driver_device
{
public:
- acommand_state(const machine_config &mconfig, device_type type, const char *tag)
+ acommand_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ac_bgvram(*this, "ac_bgvram"),
m_ac_txvram(*this, "ac_txvram"),
diff --git a/src/mame/drivers/acrnsys1.cpp b/src/mame/drivers/acrnsys1.cpp
index 41efa342a61..5622bf0865a 100644
--- a/src/mame/drivers/acrnsys1.cpp
+++ b/src/mame/drivers/acrnsys1.cpp
@@ -58,7 +58,7 @@ Note that left-most digit is not wired up, and therefore will always be blank.
class acrnsys1_state : public driver_device
{
public:
- acrnsys1_state(const machine_config &mconfig, device_type type, const char *tag)
+ acrnsys1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ttl74145(*this, "ic8_7445"),
diff --git a/src/mame/drivers/adp.cpp b/src/mame/drivers/adp.cpp
index d8271bdba30..954030206a5 100644
--- a/src/mame/drivers/adp.cpp
+++ b/src/mame/drivers/adp.cpp
@@ -168,7 +168,7 @@ Quick Jack administration/service mode:
class adp_state : public driver_device
{
public:
- adp_state(const machine_config &mconfig, device_type type, const char *tag)
+ adp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_microtouch(*this, "microtouch"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/age_candy.cpp b/src/mame/drivers/age_candy.cpp
index 986b9d3771c..8945e0be88a 100644
--- a/src/mame/drivers/age_candy.cpp
+++ b/src/mame/drivers/age_candy.cpp
@@ -18,7 +18,7 @@ Device is a 27c256 location U3
class age_candy_state : public driver_device
{
public:
- age_candy_state(const machine_config &mconfig, device_type type, const char *tag)
+ age_candy_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
// ,m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/aim65_40.cpp b/src/mame/drivers/aim65_40.cpp
index df749db8493..e93f88b630c 100644
--- a/src/mame/drivers/aim65_40.cpp
+++ b/src/mame/drivers/aim65_40.cpp
@@ -71,7 +71,7 @@ The source code there implies that *maybe* ff7e and ff7f are also open bus.
class aim65_40_state : public driver_device
{
public:
- aim65_40_state(const machine_config &mconfig, device_type type, const char *tag)
+ aim65_40_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) { }
// devices
diff --git a/src/mame/drivers/albazc.cpp b/src/mame/drivers/albazc.cpp
index febf07ebf82..522d7fca889 100644
--- a/src/mame/drivers/albazc.cpp
+++ b/src/mame/drivers/albazc.cpp
@@ -19,7 +19,7 @@ TODO:
class albazc_state : public driver_device
{
public:
- albazc_state(const machine_config &mconfig, device_type type, const char *tag)
+ albazc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram1(*this, "spriteram1"),
m_spriteram2(*this, "spriteram2"),
diff --git a/src/mame/drivers/albazg.cpp b/src/mame/drivers/albazg.cpp
index 9666975f2f3..39f478e5d13 100644
--- a/src/mame/drivers/albazg.cpp
+++ b/src/mame/drivers/albazg.cpp
@@ -46,7 +46,7 @@ PCB:
class albazg_state : public driver_device
{
public:
- albazg_state(const machine_config &mconfig, device_type type, const char *tag)
+ albazg_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cus_ram(*this, "cus_ram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/drivers/aleck64.cpp b/src/mame/drivers/aleck64.cpp
index 26499c7b9b2..b48ed8e0a35 100644
--- a/src/mame/drivers/aleck64.cpp
+++ b/src/mame/drivers/aleck64.cpp
@@ -178,7 +178,7 @@ Notes:
class aleck64_state : public n64_state
{
public:
- aleck64_state(const machine_config &mconfig, device_type type, const char *tag)
+ aleck64_state(const machine_config &mconfig, device_type type, std::string tag)
: n64_state(mconfig, type, tag),
m_e90_vram(*this,"e90vram"),
m_e90_pal(*this,"e90pal"),
diff --git a/src/mame/drivers/aleisttl.cpp b/src/mame/drivers/aleisttl.cpp
index 75021c37dda..1b8504350a9 100644
--- a/src/mame/drivers/aleisttl.cpp
+++ b/src/mame/drivers/aleisttl.cpp
@@ -49,7 +49,7 @@
class sburners_state : public driver_device
{
public:
- sburners_state(const machine_config &mconfig, device_type type, const char *tag)
+ sburners_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_video(*this, "fixfreq")
diff --git a/src/mame/drivers/alg.cpp b/src/mame/drivers/alg.cpp
index 6cc10cfd788..3f0709eb6a4 100644
--- a/src/mame/drivers/alg.cpp
+++ b/src/mame/drivers/alg.cpp
@@ -34,7 +34,7 @@
class alg_state : public amiga_state
{
public:
- alg_state(const machine_config &mconfig, device_type type, const char *tag)
+ alg_state(const machine_config &mconfig, device_type type, std::string tag)
: amiga_state(mconfig, type, tag),
m_laserdisc(*this, "laserdisc"),
m_gun1x(*this, "GUN1X"),
diff --git a/src/mame/drivers/alien.cpp b/src/mame/drivers/alien.cpp
index 46daf7e6499..a401a333bfa 100644
--- a/src/mame/drivers/alien.cpp
+++ b/src/mame/drivers/alien.cpp
@@ -24,7 +24,7 @@
class alien_state : public driver_device
{
public:
- alien_state(const machine_config &mconfig, device_type type, const char *tag)
+ alien_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/alinvade.cpp b/src/mame/drivers/alinvade.cpp
index 25f378ed388..1f4ea073ce7 100644
--- a/src/mame/drivers/alinvade.cpp
+++ b/src/mame/drivers/alinvade.cpp
@@ -27,7 +27,7 @@
class alinvade_state : public driver_device
{
public:
- alinvade_state(const machine_config &mconfig, device_type type, const char *tag)
+ alinvade_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_videoram(*this, "videoram")
diff --git a/src/mame/drivers/allied.cpp b/src/mame/drivers/allied.cpp
index 9b96c72ab22..6e7631653b3 100644
--- a/src/mame/drivers/allied.cpp
+++ b/src/mame/drivers/allied.cpp
@@ -51,7 +51,7 @@ ToDo:
class allied_state : public genpin_class
{
public:
- allied_state(const machine_config &mconfig, device_type type, const char *tag)
+ allied_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_ic1(*this, "ic1")
diff --git a/src/mame/drivers/alphasma.cpp b/src/mame/drivers/alphasma.cpp
index f7f0d58d3a5..6a6a94feff7 100644
--- a/src/mame/drivers/alphasma.cpp
+++ b/src/mame/drivers/alphasma.cpp
@@ -22,7 +22,7 @@
class alphasmart_state : public driver_device
{
public:
- alphasmart_state(const machine_config &mconfig, device_type type, const char *tag)
+ alphasmart_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_lcdc0(*this, "ks0066_0"),
@@ -68,7 +68,7 @@ protected:
class asma2k_state : public alphasmart_state
{
public:
- asma2k_state(const machine_config &mconfig, device_type type, const char *tag)
+ asma2k_state(const machine_config &mconfig, device_type type, std::string tag)
: alphasmart_state(mconfig, type, tag),
m_intram(*this, "internal_ram")
{ }
diff --git a/src/mame/drivers/alphatro.cpp b/src/mame/drivers/alphatro.cpp
index a5a3968d8aa..9a0aee95ed2 100644
--- a/src/mame/drivers/alphatro.cpp
+++ b/src/mame/drivers/alphatro.cpp
@@ -58,7 +58,7 @@ public:
TIMER_SYSTEM
};
- alphatro_state(const machine_config &mconfig, device_type type, const char *tag)
+ alphatro_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_p_videoram(*this, "videoram")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/altair.cpp b/src/mame/drivers/altair.cpp
index 18a9589cd03..e2b8d9edd97 100644
--- a/src/mame/drivers/altair.cpp
+++ b/src/mame/drivers/altair.cpp
@@ -28,7 +28,7 @@
class altair_state : public driver_device
{
public:
- altair_state(const machine_config &mconfig, device_type type, const char *tag) :
+ altair_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mc6850(*this, "mc6850"),
diff --git a/src/mame/drivers/alto2.cpp b/src/mame/drivers/alto2.cpp
index c2142b0c304..bcb61750b67 100644
--- a/src/mame/drivers/alto2.cpp
+++ b/src/mame/drivers/alto2.cpp
@@ -13,7 +13,7 @@
class alto2_state : public driver_device
{
public:
- alto2_state(const machine_config &mconfig, device_type type, const char *tag) :
+ alto2_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_io_row0(*this, "ROW0"),
diff --git a/src/mame/drivers/altos5.cpp b/src/mame/drivers/altos5.cpp
index 96fd75ae2e4..6ea298ec2fb 100644
--- a/src/mame/drivers/altos5.cpp
+++ b/src/mame/drivers/altos5.cpp
@@ -27,7 +27,7 @@
class altos5_state : public driver_device
{
public:
- altos5_state(const machine_config &mconfig, device_type type, const char *tag)
+ altos5_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pio0(*this, "z80pio_0"),
diff --git a/src/mame/drivers/alvg.cpp b/src/mame/drivers/alvg.cpp
index 700561e437c..9ed9bbc978e 100644
--- a/src/mame/drivers/alvg.cpp
+++ b/src/mame/drivers/alvg.cpp
@@ -7,7 +7,7 @@
class alvg_state : public driver_device
{
public:
- alvg_state(const machine_config &mconfig, device_type type, const char *tag)
+ alvg_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/amaticmg.cpp b/src/mame/drivers/amaticmg.cpp
index 3640330b2f3..c3c2cf78196 100644
--- a/src/mame/drivers/amaticmg.cpp
+++ b/src/mame/drivers/amaticmg.cpp
@@ -429,7 +429,7 @@
class amaticmg_state : public driver_device
{
public:
- amaticmg_state(const machine_config &mconfig, device_type type, const char *tag)
+ amaticmg_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_attr(*this, "attr"),
m_vram(*this, "vram"),
diff --git a/src/mame/drivers/amerihok.cpp b/src/mame/drivers/amerihok.cpp
index aa8a19ae9e2..94c97b27273 100644
--- a/src/mame/drivers/amerihok.cpp
+++ b/src/mame/drivers/amerihok.cpp
@@ -22,7 +22,7 @@ Processor is unknown
class amerihok_state : public driver_device
{
public:
- amerihok_state(const machine_config &mconfig, device_type type, const char *tag)
+ amerihok_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
// ,m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/amico2k.cpp b/src/mame/drivers/amico2k.cpp
index 0bb1952d8a3..9f2e88ed7bf 100644
--- a/src/mame/drivers/amico2k.cpp
+++ b/src/mame/drivers/amico2k.cpp
@@ -39,7 +39,7 @@
class amico2k_state : public driver_device
{
public:
- amico2k_state(const machine_config &mconfig, device_type type, const char *tag)
+ amico2k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/amiga.cpp b/src/mame/drivers/amiga.cpp
index 847bc0e9c0d..10227eea8d4 100644
--- a/src/mame/drivers/amiga.cpp
+++ b/src/mame/drivers/amiga.cpp
@@ -32,7 +32,7 @@
class a1000_state : public amiga_state
{
public:
- a1000_state(const machine_config &mconfig, device_type type, const char *tag) :
+ a1000_state(const machine_config &mconfig, device_type type, std::string tag) :
amiga_state(mconfig, type, tag),
m_bootrom(*this, "bootrom"),
m_wom(*this, "wom")
@@ -56,7 +56,7 @@ private:
class a2000_state : public amiga_state
{
public:
- a2000_state(const machine_config &mconfig, device_type type, const char *tag) :
+ a2000_state(const machine_config &mconfig, device_type type, std::string tag) :
amiga_state(mconfig, type, tag),
m_rtc(*this, "u65"),
m_zorro(*this, ZORROBUS_TAG),
@@ -93,7 +93,7 @@ private:
class a500_state : public amiga_state
{
public:
- a500_state(const machine_config &mconfig, device_type type, const char *tag) :
+ a500_state(const machine_config &mconfig, device_type type, std::string tag) :
amiga_state(mconfig, type, tag),
m_side(*this, EXP_SLOT_TAG),
m_side_int2(0),
@@ -122,7 +122,7 @@ private:
class cdtv_state : public amiga_state
{
public:
- cdtv_state(const machine_config &mconfig, device_type type, const char *tag) :
+ cdtv_state(const machine_config &mconfig, device_type type, std::string tag) :
amiga_state(mconfig, type, tag),
m_rtc(*this, "u61"),
m_dmac(*this, "u36"),
@@ -170,7 +170,7 @@ private:
class a3000_state : public amiga_state
{
public:
- a3000_state(const machine_config &mconfig, device_type type, const char *tag) :
+ a3000_state(const machine_config &mconfig, device_type type, std::string tag) :
amiga_state(mconfig, type, tag)
{ }
@@ -190,7 +190,7 @@ private:
class a500p_state : public amiga_state
{
public:
- a500p_state(const machine_config &mconfig, device_type type, const char *tag) :
+ a500p_state(const machine_config &mconfig, device_type type, std::string tag) :
amiga_state(mconfig, type, tag),
m_rtc(*this, "u9"),
m_side(*this, EXP_SLOT_TAG),
@@ -224,7 +224,7 @@ private:
class a600_state : public amiga_state
{
public:
- a600_state(const machine_config &mconfig, device_type type, const char *tag) :
+ a600_state(const machine_config &mconfig, device_type type, std::string tag) :
amiga_state(mconfig, type, tag),
m_gayle_int2(0)
{ }
@@ -246,7 +246,7 @@ private:
class a1200_state : public amiga_state
{
public:
- a1200_state(const machine_config &mconfig, device_type type, const char *tag) :
+ a1200_state(const machine_config &mconfig, device_type type, std::string tag) :
amiga_state(mconfig, type, tag),
m_gayle_int2(0)
{ }
@@ -268,7 +268,7 @@ private:
class a4000_state : public amiga_state
{
public:
- a4000_state(const machine_config &mconfig, device_type type, const char *tag) :
+ a4000_state(const machine_config &mconfig, device_type type, std::string tag) :
amiga_state(mconfig, type, tag),
m_ata(*this, "ata"),
m_ramsey_config(0),
@@ -304,7 +304,7 @@ private:
class cd32_state : public amiga_state
{
public:
- cd32_state(const machine_config &mconfig, device_type type, const char *tag) :
+ cd32_state(const machine_config &mconfig, device_type type, std::string tag) :
amiga_state(mconfig, type, tag),
m_p1_port(*this, "p1_cd32_buttons"),
m_p2_port(*this, "p2_cd32_buttons"),
diff --git a/src/mame/drivers/ampro.cpp b/src/mame/drivers/ampro.cpp
index 6aef2a6f984..089a209a1ca 100644
--- a/src/mame/drivers/ampro.cpp
+++ b/src/mame/drivers/ampro.cpp
@@ -32,7 +32,7 @@ ToDo:
class ampro_state : public driver_device
{
public:
- ampro_state(const machine_config &mconfig, device_type type, const char *tag)
+ ampro_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_dart(*this, "z80dart")
diff --git a/src/mame/drivers/amstr_pc.cpp b/src/mame/drivers/amstr_pc.cpp
index d33fa47a6b3..803a8236b9e 100644
--- a/src/mame/drivers/amstr_pc.cpp
+++ b/src/mame/drivers/amstr_pc.cpp
@@ -41,7 +41,7 @@ More information can be found at http://www.seasip.info/AmstradXT/1640tech/index
class amstrad_pc_state : public driver_device
{
public:
- amstrad_pc_state(const machine_config &mconfig, device_type type, const char *tag)
+ amstrad_pc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mb(*this, "mb"),
diff --git a/src/mame/drivers/amusco.cpp b/src/mame/drivers/amusco.cpp
index 9ed26923a71..e1a19014d27 100644
--- a/src/mame/drivers/amusco.cpp
+++ b/src/mame/drivers/amusco.cpp
@@ -83,7 +83,7 @@
class amusco_state : public driver_device
{
public:
- amusco_state(const machine_config &mconfig, device_type type, const char *tag)
+ amusco_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/amust.cpp b/src/mame/drivers/amust.cpp
index 4c1848fc548..a2bcdaf9536 100644
--- a/src/mame/drivers/amust.cpp
+++ b/src/mame/drivers/amust.cpp
@@ -99,7 +99,7 @@ public:
TIMER_BEEP_OFF
};
- amust_state(const machine_config &mconfig, device_type type, const char *tag)
+ amust_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_palette(*this, "palette")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/apc.cpp b/src/mame/drivers/apc.cpp
index 12f978f2584..876a2602fad 100644
--- a/src/mame/drivers/apc.cpp
+++ b/src/mame/drivers/apc.cpp
@@ -70,7 +70,7 @@
class apc_state : public driver_device
{
public:
- apc_state(const machine_config &mconfig, device_type type, const char *tag)
+ apc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_hgdc1(*this, "upd7220_chr"),
diff --git a/src/mame/drivers/apexc.cpp b/src/mame/drivers/apexc.cpp
index dd992f1a209..1c804da871d 100644
--- a/src/mame/drivers/apexc.cpp
+++ b/src/mame/drivers/apexc.cpp
@@ -15,7 +15,7 @@
class apexc_state : public driver_device
{
public:
- apexc_state(const machine_config &mconfig, device_type type, const char *tag)
+ apexc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
@@ -74,7 +74,7 @@ class apexc_cylinder_image_device : public device_t, public device_image_interfa
{
public:
// construction/destruction
- apexc_cylinder_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ apexc_cylinder_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// image-level overrides
virtual iodevice_t image_type() const override { return IO_CYLINDER; }
@@ -100,7 +100,7 @@ private:
const device_type APEXC_CYLINDER = &device_creator<apexc_cylinder_image_device>;
-apexc_cylinder_image_device::apexc_cylinder_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+apexc_cylinder_image_device::apexc_cylinder_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, APEXC_CYLINDER, "APEXC Cylinder", tag, owner, clock, "apexc_cylinder_image", __FILE__),
device_image_interface(mconfig, *this)
{
@@ -203,7 +203,7 @@ class apexc_tape_puncher_image_device : public device_t, public device_image_int
{
public:
// construction/destruction
- apexc_tape_puncher_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ apexc_tape_puncher_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// image-level overrides
virtual iodevice_t image_type() const override { return IO_PUNCHTAPE; }
@@ -224,7 +224,7 @@ protected:
const device_type APEXC_TAPE_PUNCHER = &device_creator<apexc_tape_puncher_image_device>;
-apexc_tape_puncher_image_device::apexc_tape_puncher_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+apexc_tape_puncher_image_device::apexc_tape_puncher_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, APEXC_TAPE_PUNCHER, "APEXC Tape Puncher", tag, owner, clock, "apexc_tape_puncher_image", __FILE__),
device_image_interface(mconfig, *this)
{
@@ -237,7 +237,7 @@ class apexc_tape_reader_image_device : public device_t, public device_image_int
{
public:
// construction/destruction
- apexc_tape_reader_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ apexc_tape_reader_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// image-level overrides
virtual iodevice_t image_type() const override { return IO_PUNCHTAPE; }
@@ -258,7 +258,7 @@ protected:
const device_type APEXC_TAPE_READER = &device_creator<apexc_tape_reader_image_device>;
-apexc_tape_reader_image_device::apexc_tape_reader_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+apexc_tape_reader_image_device::apexc_tape_reader_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, APEXC_TAPE_READER, "APEXC Tape Reader", tag, owner, clock, "apexc_tape_reader_image", __FILE__),
device_image_interface(mconfig, *this)
{
diff --git a/src/mame/drivers/apf.cpp b/src/mame/drivers/apf.cpp
index d82f3107ace..3ecda64162e 100644
--- a/src/mame/drivers/apf.cpp
+++ b/src/mame/drivers/apf.cpp
@@ -87,7 +87,7 @@ ToDo:
class apf_state : public driver_device
{
public:
- apf_state(const machine_config &mconfig, device_type type, const char *tag)
+ apf_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_has_cart_ram(false)
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/apogee.cpp b/src/mame/drivers/apogee.cpp
index fec2d5608fe..7e73221b6df 100644
--- a/src/mame/drivers/apogee.cpp
+++ b/src/mame/drivers/apogee.cpp
@@ -23,7 +23,7 @@
class apogee_state : public radio86_state
{
public:
- apogee_state(const machine_config &mconfig, device_type type, const char *tag)
+ apogee_state(const machine_config &mconfig, device_type type, std::string tag)
: radio86_state(mconfig, type, tag),
m_speaker(*this, "speaker") { }
diff --git a/src/mame/drivers/apollo.cpp b/src/mame/drivers/apollo.cpp
index ed229a55cc1..1bdc2ab10ea 100644
--- a/src/mame/drivers/apollo.cpp
+++ b/src/mame/drivers/apollo.cpp
@@ -132,7 +132,7 @@ const char *apollo_cpu_context(device_t *cpu) {
int s = t / osd_ticks_per_second();
int ms = (t % osd_ticks_per_second()) / 1000;
- sprintf(statebuf, "%d.%03d %s pc=%08x", s, ms, cpu->tag(), cpu->safe_pcbase());
+ sprintf(statebuf, "%d.%03d %s pc=%08x", s, ms, cpu->tag().c_str(), cpu->safe_pcbase());
} else {
strcpy(statebuf, "(no context)");
}
diff --git a/src/mame/drivers/apple2.cpp b/src/mame/drivers/apple2.cpp
index efbd8b157ca..4021d4e201e 100644
--- a/src/mame/drivers/apple2.cpp
+++ b/src/mame/drivers/apple2.cpp
@@ -94,7 +94,7 @@ II Plus: RAM options reduced to 16/32/48 KB.
class napple2_state : public driver_device
{
public:
- napple2_state(const machine_config &mconfig, device_type type, const char *tag)
+ napple2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, A2_CPU_TAG),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/drivers/apple2e.cpp b/src/mame/drivers/apple2e.cpp
index 99bc10dc341..57bffb6b852 100644
--- a/src/mame/drivers/apple2e.cpp
+++ b/src/mame/drivers/apple2e.cpp
@@ -192,7 +192,7 @@ Address bus A0-A11 is Y0-Y11
class apple2e_state : public driver_device
{
public:
- apple2e_state(const machine_config &mconfig, device_type type, const char *tag)
+ apple2e_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, A2_CPU_TAG),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/drivers/applix.cpp b/src/mame/drivers/applix.cpp
index f2cd3a9650a..b28bdd15df9 100644
--- a/src/mame/drivers/applix.cpp
+++ b/src/mame/drivers/applix.cpp
@@ -52,7 +52,7 @@
class applix_state : public driver_device
{
public:
- applix_state(const machine_config &mconfig, device_type type, const char *tag)
+ applix_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_base(*this, "base"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/apricot.cpp b/src/mame/drivers/apricot.cpp
index 126cd1d6452..edaf6719988 100644
--- a/src/mame/drivers/apricot.cpp
+++ b/src/mame/drivers/apricot.cpp
@@ -34,7 +34,7 @@
class apricot_state : public driver_device
{
public:
- apricot_state(const machine_config &mconfig, device_type type, const char *tag) :
+ apricot_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_cpu(*this, "ic91"),
m_iop(*this, "ic71"),
diff --git a/src/mame/drivers/apricotf.cpp b/src/mame/drivers/apricotf.cpp
index 8c990e46c48..2cca8965ff2 100644
--- a/src/mame/drivers/apricotf.cpp
+++ b/src/mame/drivers/apricotf.cpp
@@ -58,7 +58,7 @@
class f1_state : public driver_device
{
public:
- f1_state(const machine_config &mconfig, device_type type, const char *tag)
+ f1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, I8086_TAG),
m_ctc(*this, Z80CTC_TAG),
diff --git a/src/mame/drivers/apricotp.cpp b/src/mame/drivers/apricotp.cpp
index 52107c217fb..9e25071da73 100644
--- a/src/mame/drivers/apricotp.cpp
+++ b/src/mame/drivers/apricotp.cpp
@@ -83,7 +83,7 @@ enum
class fp_state : public driver_device
{
public:
- fp_state(const machine_config &mconfig, device_type type, const char *tag)
+ fp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, I8086_TAG),
m_soundcpu(*this, HD63B01V1_TAG),
diff --git a/src/mame/drivers/arachnid.cpp b/src/mame/drivers/arachnid.cpp
index 302db21b4e4..86fb9d7ef8b 100644
--- a/src/mame/drivers/arachnid.cpp
+++ b/src/mame/drivers/arachnid.cpp
@@ -77,7 +77,7 @@
class arachnid_state : public driver_device
{
public:
- arachnid_state(const machine_config &mconfig, device_type type, const char *tag)
+ arachnid_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, M6809_TAG),
m_pia_u4(*this, PIA6821_U4_TAG),
diff --git a/src/mame/drivers/argo.cpp b/src/mame/drivers/argo.cpp
index a9925128402..5886e808188 100644
--- a/src/mame/drivers/argo.cpp
+++ b/src/mame/drivers/argo.cpp
@@ -35,7 +35,7 @@ public:
TIMER_BOOT
};
- argo_state(const machine_config &mconfig, device_type type, const char *tag)
+ argo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_p_videoram(*this, "p_videoram"){ }
diff --git a/src/mame/drivers/aristmk4.cpp b/src/mame/drivers/aristmk4.cpp
index 6d6a2b4b7e2..dbe04a1ec53 100644
--- a/src/mame/drivers/aristmk4.cpp
+++ b/src/mame/drivers/aristmk4.cpp
@@ -344,7 +344,7 @@ UINT8 crtc_reg = 0;
class aristmk4_state : public driver_device
{
public:
- aristmk4_state(const machine_config &mconfig, device_type type, const char *tag)
+ aristmk4_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_rtc(*this, "rtc"),
diff --git a/src/mame/drivers/aristmk5.cpp b/src/mame/drivers/aristmk5.cpp
index 882fd175d2a..217ccee0684 100644
--- a/src/mame/drivers/aristmk5.cpp
+++ b/src/mame/drivers/aristmk5.cpp
@@ -178,7 +178,7 @@
class aristmk5_state : public archimedes_state
{
public:
- aristmk5_state(const machine_config &mconfig, device_type type, const char *tag)
+ aristmk5_state(const machine_config &mconfig, device_type type, std::string tag)
: archimedes_state(mconfig, type, tag) { }
emu_timer *m_mk5_2KHz_timer;
diff --git a/src/mame/drivers/aristmk6.cpp b/src/mame/drivers/aristmk6.cpp
index 89b03477cb7..0669242caaf 100644
--- a/src/mame/drivers/aristmk6.cpp
+++ b/src/mame/drivers/aristmk6.cpp
@@ -31,7 +31,7 @@ notes:
class aristmk6_state : public driver_device
{
public:
- aristmk6_state(const machine_config &mconfig, device_type type, const char *tag)
+ aristmk6_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_uart0(*this, "uart0"),
diff --git a/src/mame/drivers/arsystems.cpp b/src/mame/drivers/arsystems.cpp
index 3f179e9af70..baae3b413de 100644
--- a/src/mame/drivers/arsystems.cpp
+++ b/src/mame/drivers/arsystems.cpp
@@ -61,7 +61,7 @@
class arcadia_amiga_state : public amiga_state
{
public:
- arcadia_amiga_state(const machine_config &mconfig, device_type type, const char *tag)
+ arcadia_amiga_state(const machine_config &mconfig, device_type type, std::string tag)
: amiga_state(mconfig, type, tag) { }
UINT8 m_coin_counter[2];
@@ -87,7 +87,7 @@ public:
DECLARE_DRIVER_INIT(dlta);
DECLARE_DRIVER_INIT(argh);
- inline void generic_decode(const char *tag, int bit7, int bit6, int bit5, int bit4, int bit3, int bit2, int bit1, int bit0);
+ inline void generic_decode(std::string tag, int bit7, int bit6, int bit5, int bit4, int bit3, int bit2, int bit1, int bit0);
protected:
virtual void machine_reset() override;
@@ -880,7 +880,7 @@ ROM_END
*
*************************************/
-void arcadia_amiga_state::generic_decode(const char *tag, int bit7, int bit6, int bit5, int bit4, int bit3, int bit2, int bit1, int bit0)
+void arcadia_amiga_state::generic_decode(std::string tag, int bit7, int bit6, int bit5, int bit4, int bit3, int bit2, int bit1, int bit0)
{
UINT16 *rom = (UINT16 *)memregion(tag)->base();
int i;
diff --git a/src/mame/drivers/asst128.cpp b/src/mame/drivers/asst128.cpp
index 7ee9e464a66..8c13ca858be 100644
--- a/src/mame/drivers/asst128.cpp
+++ b/src/mame/drivers/asst128.cpp
@@ -13,7 +13,7 @@ class asst128_mb_device : public ibm5150_mb_device
{
public:
// construction/destruction
- asst128_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ asst128_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: ibm5150_mb_device(mconfig, tag, owner, clock) { }
protected:
@@ -39,7 +39,7 @@ class asst128_state : public driver_device
{
public:
// construction/destruction
- asst128_state(const machine_config &mconfig, device_type type, const char *tag)
+ asst128_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_mb(*this, "mb")
diff --git a/src/mame/drivers/astinvad.cpp b/src/mame/drivers/astinvad.cpp
index f98cccb3500..9481fdbad76 100644
--- a/src/mame/drivers/astinvad.cpp
+++ b/src/mame/drivers/astinvad.cpp
@@ -52,7 +52,7 @@ public:
TIMER_INT_GEN
};
- astinvad_state(const machine_config &mconfig, device_type type, const char *tag)
+ astinvad_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ppi8255_0(*this, "ppi8255_0"),
diff --git a/src/mame/drivers/astrafr.cpp b/src/mame/drivers/astrafr.cpp
index 578ac656b8a..a8aba6faff4 100644
--- a/src/mame/drivers/astrafr.cpp
+++ b/src/mame/drivers/astrafr.cpp
@@ -20,7 +20,7 @@ Platform also used by Lowen? (at least some of their sets use the same address l
class astrafr_state : public driver_device
{
public:
- astrafr_state(const machine_config &mconfig, device_type type, const char *tag)
+ astrafr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_slavecpu(*this, "slavecpu")
diff --git a/src/mame/drivers/astrcorp.cpp b/src/mame/drivers/astrcorp.cpp
index a82199c5d06..ed53b0ff400 100644
--- a/src/mame/drivers/astrcorp.cpp
+++ b/src/mame/drivers/astrcorp.cpp
@@ -46,7 +46,7 @@ To do:
class astrocorp_state : public driver_device
{
public:
- astrocorp_state(const machine_config &mconfig, device_type type, const char *tag)
+ astrocorp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_oki(*this, "oki"),
diff --git a/src/mame/drivers/astrohome.cpp b/src/mame/drivers/astrohome.cpp
index 7b08a693956..59f9c29d0c5 100644
--- a/src/mame/drivers/astrohome.cpp
+++ b/src/mame/drivers/astrohome.cpp
@@ -20,7 +20,7 @@
class astrocde_mess_state : public astrocde_state
{
public:
- astrocde_mess_state(const machine_config &mconfig, device_type type, const char *tag)
+ astrocde_mess_state(const machine_config &mconfig, device_type type, std::string tag)
: astrocde_state(mconfig, type, tag),
m_cart(*this, "cartslot"),
m_exp(*this, "exp")
diff --git a/src/mame/drivers/astropc.cpp b/src/mame/drivers/astropc.cpp
index a58eb2335eb..e598d3b8731 100644
--- a/src/mame/drivers/astropc.cpp
+++ b/src/mame/drivers/astropc.cpp
@@ -18,7 +18,7 @@ We need to figure this out and convert them to CHDs (I think.. unless they're fl
class astropc_state : public driver_device
{
public:
- astropc_state(const machine_config &mconfig, device_type type, const char *tag)
+ astropc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/atari400.cpp b/src/mame/drivers/atari400.cpp
index 17573b3bac9..9af9098b76b 100644
--- a/src/mame/drivers/atari400.cpp
+++ b/src/mame/drivers/atari400.cpp
@@ -245,7 +245,7 @@
class a400_state : public atari_common_state
{
public:
- a400_state(const machine_config &mconfig, device_type type, const char *tag)
+ a400_state(const machine_config &mconfig, device_type type, std::string tag)
: atari_common_state(mconfig, type, tag),
m_ram(*this, RAM_TAG),
m_pia(*this, "pia"),
diff --git a/src/mame/drivers/atari_s1.cpp b/src/mame/drivers/atari_s1.cpp
index 48bc91e6816..a66ef0f7bc8 100644
--- a/src/mame/drivers/atari_s1.cpp
+++ b/src/mame/drivers/atari_s1.cpp
@@ -59,7 +59,7 @@ ToDo:
class atari_s1_state : public genpin_class
{
public:
- atari_s1_state(const machine_config &mconfig, device_type type, const char *tag)
+ atari_s1_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_p_ram(*this, "ram")
diff --git a/src/mame/drivers/atari_s2.cpp b/src/mame/drivers/atari_s2.cpp
index 1399a296577..fde76dbbfab 100644
--- a/src/mame/drivers/atari_s2.cpp
+++ b/src/mame/drivers/atari_s2.cpp
@@ -30,7 +30,7 @@ ToDo:
class atari_s2_state : public genpin_class
{
public:
- atari_s2_state(const machine_config &mconfig, device_type type, const char *tag)
+ atari_s2_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_dac(*this, "dac")
diff --git a/src/mame/drivers/atarisy4.cpp b/src/mame/drivers/atarisy4.cpp
index 78af3c1417c..075a08f267d 100644
--- a/src/mame/drivers/atarisy4.cpp
+++ b/src/mame/drivers/atarisy4.cpp
@@ -45,7 +45,7 @@ public:
class atarisy4_state : public driver_device
{
public:
- atarisy4_state(const machine_config &mconfig, device_type type, const char *tag)
+ atarisy4_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dsp0(*this, "dsp0"),
diff --git a/src/mame/drivers/atarittl.cpp b/src/mame/drivers/atarittl.cpp
index 39662b15b60..10cb2af51e6 100644
--- a/src/mame/drivers/atarittl.cpp
+++ b/src/mame/drivers/atarittl.cpp
@@ -83,7 +83,7 @@
class atarikee_state : public driver_device
{
public:
- atarikee_state(const machine_config &mconfig, device_type type, const char *tag)
+ atarikee_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_video(*this, "fixfreq")
diff --git a/src/mame/drivers/atlantis.cpp b/src/mame/drivers/atlantis.cpp
index 253cb8300f6..c17428e763f 100644
--- a/src/mame/drivers/atlantis.cpp
+++ b/src/mame/drivers/atlantis.cpp
@@ -45,7 +45,7 @@
class atlantis_state : public driver_device
{
public:
- atlantis_state(const machine_config &mconfig, device_type type, const char *tag)
+ atlantis_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dcs(*this, "dcs") { }
diff --git a/src/mame/drivers/atm.cpp b/src/mame/drivers/atm.cpp
index 300f503d90e..2f23a1274fa 100644
--- a/src/mame/drivers/atm.cpp
+++ b/src/mame/drivers/atm.cpp
@@ -24,7 +24,7 @@ computer to boot up (with keyboard problems).
class atm_state : public spectrum_state
{
public:
- atm_state(const machine_config &mconfig, device_type type, const char *tag)
+ atm_state(const machine_config &mconfig, device_type type, std::string tag)
: spectrum_state(mconfig, type, tag)
, m_bank1(*this, "bank1")
, m_bank2(*this, "bank2")
diff --git a/src/mame/drivers/atronic.cpp b/src/mame/drivers/atronic.cpp
index f366fab1187..f55a5a6d50d 100644
--- a/src/mame/drivers/atronic.cpp
+++ b/src/mame/drivers/atronic.cpp
@@ -21,7 +21,7 @@
class atronic_state : public driver_device
{
public:
- atronic_state(const machine_config &mconfig, device_type type, const char *tag)
+ atronic_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/attache.cpp b/src/mame/drivers/attache.cpp
index 0c6a1c9d3b5..e87b38eafdd 100644
--- a/src/mame/drivers/attache.cpp
+++ b/src/mame/drivers/attache.cpp
@@ -69,7 +69,7 @@
class attache_state : public driver_device
{
public:
- attache_state(const machine_config &mconfig, device_type type, const char *tag)
+ attache_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_rom(*this,"boot"),
diff --git a/src/mame/drivers/attckufo.cpp b/src/mame/drivers/attckufo.cpp
index 3a099bf917f..27aa5698d91 100644
--- a/src/mame/drivers/attckufo.cpp
+++ b/src/mame/drivers/attckufo.cpp
@@ -51,7 +51,7 @@ LOIPOIO-B
class attckufo_state : public driver_device
{
public:
- attckufo_state(const machine_config &mconfig, device_type type, const char *tag)
+ attckufo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mos6560(*this, "mos6560") ,
diff --git a/src/mame/drivers/atvtrack.cpp b/src/mame/drivers/atvtrack.cpp
index 698afe889cb..7b9d082e4c4 100644
--- a/src/mame/drivers/atvtrack.cpp
+++ b/src/mame/drivers/atvtrack.cpp
@@ -98,7 +98,7 @@ but unlike to DC/AW/Naomi SH4 'peripheral clock' (at which works TMU timers and
class atvtrack_state : public driver_device
{
public:
- atvtrack_state(const machine_config &mconfig, device_type type, const char *tag)
+ atvtrack_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "subcpu") { }
@@ -134,7 +134,7 @@ protected:
class smashdrv_state : public atvtrack_state
{
public:
- smashdrv_state(const machine_config &mconfig, device_type type, const char *tag)
+ smashdrv_state(const machine_config &mconfig, device_type type, std::string tag)
: atvtrack_state(mconfig, type, tag) { }
virtual void machine_start() override;
@@ -327,7 +327,7 @@ READ64_MEMBER(atvtrack_state::ioport_r)
{
if (offset == SH4_IOPORT_16/8) {
// much simplified way
- if (strcmp(space.device().tag(), ":maincpu") == 0)
+ if (space.device().tag() == ":maincpu")
#ifndef SPECIALMODE
return -1; // normal
#else
diff --git a/src/mame/drivers/avt.cpp b/src/mame/drivers/avt.cpp
index 5a752526f81..1818a6668c1 100644
--- a/src/mame/drivers/avt.cpp
+++ b/src/mame/drivers/avt.cpp
@@ -421,7 +421,7 @@
class avt_state : public driver_device
{
public:
- avt_state(const machine_config &mconfig, device_type type, const char *tag)
+ avt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_crtc(*this, "crtc"),
diff --git a/src/mame/drivers/ax20.cpp b/src/mame/drivers/ax20.cpp
index f51f0dc925c..b1619ce25e4 100644
--- a/src/mame/drivers/ax20.cpp
+++ b/src/mame/drivers/ax20.cpp
@@ -23,7 +23,7 @@
class ax20_state : public driver_device
{
public:
- ax20_state(const machine_config &mconfig, device_type type, const char *tag)
+ ax20_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_p_vram(*this, "p_vram"),
diff --git a/src/mame/drivers/b16.cpp b/src/mame/drivers/b16.cpp
index 289aea6f228..e21e5db728f 100644
--- a/src/mame/drivers/b16.cpp
+++ b/src/mame/drivers/b16.cpp
@@ -23,7 +23,7 @@
class b16_state : public driver_device
{
public:
- b16_state(const machine_config &mconfig, device_type type, const char *tag)
+ b16_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vram(*this, "vram"),
m_dma8237(*this, "8237dma"),
diff --git a/src/mame/drivers/babbage.cpp b/src/mame/drivers/babbage.cpp
index f3d9c187fc8..ec72737593a 100644
--- a/src/mame/drivers/babbage.cpp
+++ b/src/mame/drivers/babbage.cpp
@@ -34,7 +34,7 @@
class babbage_state : public driver_device
{
public:
- babbage_state(const machine_config &mconfig, device_type type, const char *tag)
+ babbage_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pio_1(*this, "z80pio_1"),
diff --git a/src/mame/drivers/backfire.cpp b/src/mame/drivers/backfire.cpp
index 9ca90c212e8..24b4de6db54 100644
--- a/src/mame/drivers/backfire.cpp
+++ b/src/mame/drivers/backfire.cpp
@@ -27,7 +27,7 @@
class backfire_state : public driver_device
{
public:
- backfire_state(const machine_config &mconfig, device_type type, const char *tag)
+ backfire_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mainram(*this, "mainram"),
m_left_priority(*this, "left_priority"),
diff --git a/src/mame/drivers/bailey.cpp b/src/mame/drivers/bailey.cpp
index 15232f62605..680022fc6aa 100644
--- a/src/mame/drivers/bailey.cpp
+++ b/src/mame/drivers/bailey.cpp
@@ -36,7 +36,7 @@
class bailey_state : public driver_device
{
public:
- bailey_state(const machine_config &mconfig, device_type type, const char *tag)
+ bailey_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_video(*this, "fixfreq")
diff --git a/src/mame/drivers/barata.cpp b/src/mame/drivers/barata.cpp
index 071928676f0..f12d9664a57 100644
--- a/src/mame/drivers/barata.cpp
+++ b/src/mame/drivers/barata.cpp
@@ -45,7 +45,7 @@
class barata_state : public driver_device
{
public:
- barata_state(const machine_config &mconfig, device_type type, const char *tag)
+ barata_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac(*this, "dac") { }
diff --git a/src/mame/drivers/bartop52.cpp b/src/mame/drivers/bartop52.cpp
index af9142250a5..5d485c9eb98 100644
--- a/src/mame/drivers/bartop52.cpp
+++ b/src/mame/drivers/bartop52.cpp
@@ -28,7 +28,7 @@
class bartop52_state : public atari_common_state
{
public:
- bartop52_state(const machine_config &mconfig, device_type type, const char *tag)
+ bartop52_state(const machine_config &mconfig, device_type type, std::string tag)
: atari_common_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/basic52.cpp b/src/mame/drivers/basic52.cpp
index f641beaef04..57776c6585d 100644
--- a/src/mame/drivers/basic52.cpp
+++ b/src/mame/drivers/basic52.cpp
@@ -42,7 +42,7 @@ to discover the special features of this Basic.
class basic52_state : public driver_device
{
public:
- basic52_state(const machine_config &mconfig, device_type type, const char *tag)
+ basic52_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/bbcbc.cpp b/src/mame/drivers/bbcbc.cpp
index 3c50df82697..338f53f3571 100644
--- a/src/mame/drivers/bbcbc.cpp
+++ b/src/mame/drivers/bbcbc.cpp
@@ -23,7 +23,7 @@
class bbcbc_state : public driver_device
{
public:
- bbcbc_state(const machine_config &mconfig, device_type type, const char *tag)
+ bbcbc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cart(*this, "cartslot")
diff --git a/src/mame/drivers/bcs3.cpp b/src/mame/drivers/bcs3.cpp
index cd885352dba..753c31b95b0 100644
--- a/src/mame/drivers/bcs3.cpp
+++ b/src/mame/drivers/bcs3.cpp
@@ -58,7 +58,7 @@
class bcs3_state : public driver_device
{
public:
- bcs3_state(const machine_config &mconfig, device_type type, const char *tag)
+ bcs3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_ctc(*this, "ctc")
diff --git a/src/mame/drivers/beaminv.cpp b/src/mame/drivers/beaminv.cpp
index 4c78e8da6da..5402dd1659d 100644
--- a/src/mame/drivers/beaminv.cpp
+++ b/src/mame/drivers/beaminv.cpp
@@ -61,7 +61,7 @@ Stephh's notes (based on the games Z80 code and some tests) :
class beaminv_state : public driver_device
{
public:
- beaminv_state(const machine_config &mconfig, device_type type, const char *tag)
+ beaminv_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/beehive.cpp b/src/mame/drivers/beehive.cpp
index e152a41cc54..3a56b10b132 100644
--- a/src/mame/drivers/beehive.cpp
+++ b/src/mame/drivers/beehive.cpp
@@ -27,7 +27,7 @@
class beehive_state : public driver_device
{
public:
- beehive_state(const machine_config &mconfig, device_type type, const char *tag)
+ beehive_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_p_videoram(*this, "videoram"){ }
diff --git a/src/mame/drivers/belatra.cpp b/src/mame/drivers/belatra.cpp
index cb996f09781..cfa9c2b00b5 100644
--- a/src/mame/drivers/belatra.cpp
+++ b/src/mame/drivers/belatra.cpp
@@ -48,7 +48,7 @@ Viking?s Fun Mill
class belatra_state : public driver_device
{
public:
- belatra_state(const machine_config &mconfig, device_type type, const char *tag)
+ belatra_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/berzerk.cpp b/src/mame/drivers/berzerk.cpp
index 93b55f7c5c0..f5e905b305d 100644
--- a/src/mame/drivers/berzerk.cpp
+++ b/src/mame/drivers/berzerk.cpp
@@ -22,7 +22,7 @@
class berzerk_state : public driver_device
{
public:
- berzerk_state(const machine_config &mconfig, device_type type, const char *tag)
+ berzerk_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_s14001a(*this, "speech"),
diff --git a/src/mame/drivers/besta.cpp b/src/mame/drivers/besta.cpp
index 86f81074a68..12ed33d39dc 100644
--- a/src/mame/drivers/besta.cpp
+++ b/src/mame/drivers/besta.cpp
@@ -30,7 +30,7 @@
class besta_state : public driver_device
{
public:
- besta_state(const machine_config &mconfig, device_type type, const char *tag)
+ besta_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pit1 (*this, "pit1"),
diff --git a/src/mame/drivers/bestleag.cpp b/src/mame/drivers/bestleag.cpp
index 24310dbc504..1aea9436c1e 100644
--- a/src/mame/drivers/bestleag.cpp
+++ b/src/mame/drivers/bestleag.cpp
@@ -28,7 +28,7 @@ Dip Locations added according to Service Mode
class bestleag_state : public driver_device
{
public:
- bestleag_state(const machine_config &mconfig, device_type type, const char *tag)
+ bestleag_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_oki(*this, "oki"),
diff --git a/src/mame/drivers/beta.cpp b/src/mame/drivers/beta.cpp
index 024a42d5c69..f414d788c6b 100644
--- a/src/mame/drivers/beta.cpp
+++ b/src/mame/drivers/beta.cpp
@@ -50,7 +50,7 @@
class beta_state : public driver_device
{
public:
- beta_state(const machine_config &mconfig, device_type type, const char *tag)
+ beta_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, M6502_TAG),
m_speaker(*this, "speaker"),
diff --git a/src/mame/drivers/bfcobra.cpp b/src/mame/drivers/bfcobra.cpp
index d26eff4d673..68cabc04a2e 100644
--- a/src/mame/drivers/bfcobra.cpp
+++ b/src/mame/drivers/bfcobra.cpp
@@ -237,7 +237,7 @@ struct fdc_t
class bfcobra_state : public driver_device
{
public:
- bfcobra_state(const machine_config &mconfig, device_type type, const char *tag) :
+ bfcobra_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/bfm_sc1.cpp b/src/mame/drivers/bfm_sc1.cpp
index ec06c83bc6c..4a2d709566f 100644
--- a/src/mame/drivers/bfm_sc1.cpp
+++ b/src/mame/drivers/bfm_sc1.cpp
@@ -106,7 +106,7 @@ Optional (on expansion card) (Viper)
class bfm_sc1_state : public driver_device
{
public:
- bfm_sc1_state(const machine_config &mconfig, device_type type, const char *tag)
+ bfm_sc1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_reel0(*this, "reel0"),
diff --git a/src/mame/drivers/bfm_sc2.cpp b/src/mame/drivers/bfm_sc2.cpp
index eb423c68e54..2c5f1de1595 100644
--- a/src/mame/drivers/bfm_sc2.cpp
+++ b/src/mame/drivers/bfm_sc2.cpp
@@ -179,7 +179,7 @@ Adder hardware:
class bfm_sc2_state : public driver_device
{
public:
- bfm_sc2_state(const machine_config &mconfig, device_type type, const char *tag)
+ bfm_sc2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_reel0(*this, "reel0"),
diff --git a/src/mame/drivers/bfm_swp.cpp b/src/mame/drivers/bfm_swp.cpp
index 5198984a975..9254a7b5878 100644
--- a/src/mame/drivers/bfm_swp.cpp
+++ b/src/mame/drivers/bfm_swp.cpp
@@ -108,7 +108,7 @@ TEST.TXT - suggests the content of a prototype version, which was expanded to ma
class bfm_swp_state : public driver_device
{
public:
- bfm_swp_state(const machine_config &mconfig, device_type type, const char *tag)
+ bfm_swp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/bfmsys83.cpp b/src/mame/drivers/bfmsys83.cpp
index 1fbed4b72c5..46e39d24b49 100644
--- a/src/mame/drivers/bfmsys83.cpp
+++ b/src/mame/drivers/bfmsys83.cpp
@@ -11,7 +11,7 @@
class bfmsys83_state : public driver_device
{
public:
- bfmsys83_state(const machine_config &mconfig, device_type type, const char *tag)
+ bfmsys83_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/bfmsys85.cpp b/src/mame/drivers/bfmsys85.cpp
index c41647ab58a..4d4e8952876 100644
--- a/src/mame/drivers/bfmsys85.cpp
+++ b/src/mame/drivers/bfmsys85.cpp
@@ -73,7 +73,7 @@ ___________________________________________________________________________
class bfmsys85_state : public driver_device
{
public:
- bfmsys85_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag),
+ bfmsys85_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag),
m_vfd(*this, "vfd"),
m_maincpu(*this, "maincpu"),
m_reel0(*this, "reel0"),
diff --git a/src/mame/drivers/bgt.cpp b/src/mame/drivers/bgt.cpp
index 740c4a48621..2d7291e3fbb 100644
--- a/src/mame/drivers/bgt.cpp
+++ b/src/mame/drivers/bgt.cpp
@@ -16,7 +16,7 @@
class bgt_state : public driver_device
{
public:
- bgt_state(const machine_config &mconfig, device_type type, const char *tag)
+ bgt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/big10.cpp b/src/mame/drivers/big10.cpp
index 26b7c4c05e7..a838199fd0c 100644
--- a/src/mame/drivers/big10.cpp
+++ b/src/mame/drivers/big10.cpp
@@ -68,7 +68,7 @@
class big10_state : public driver_device
{
public:
- big10_state(const machine_config &mconfig, device_type type, const char *tag)
+ big10_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_v9938(*this, "v9938")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/bigbord2.cpp b/src/mame/drivers/bigbord2.cpp
index 8bc7191eb28..622c3136b7d 100644
--- a/src/mame/drivers/bigbord2.cpp
+++ b/src/mame/drivers/bigbord2.cpp
@@ -102,7 +102,7 @@ X - change banks
class bigbord2_state : public driver_device
{
public:
- bigbord2_state(const machine_config &mconfig, device_type type, const char *tag)
+ bigbord2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_6845(*this, "crtc"),
diff --git a/src/mame/drivers/binbug.cpp b/src/mame/drivers/binbug.cpp
index ba135c2b0ed..374036bb02a 100644
--- a/src/mame/drivers/binbug.cpp
+++ b/src/mame/drivers/binbug.cpp
@@ -61,7 +61,7 @@
class binbug_state : public driver_device
{
public:
- binbug_state(const machine_config &mconfig, device_type type, const char *tag)
+ binbug_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_rs232(*this, KEYBOARD_TAG),
m_cass(*this, "cassette"),
@@ -408,7 +408,7 @@ ToDo:
class dg680_state : public binbug_state
{
public:
- dg680_state(const machine_config &mconfig, device_type type, const char *tag)
+ dg680_state(const machine_config &mconfig, device_type type, std::string tag)
: binbug_state(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ctc(*this, "z80ctc"),
diff --git a/src/mame/drivers/bingo.cpp b/src/mame/drivers/bingo.cpp
index a07858a1045..9f7f4929bdc 100644
--- a/src/mame/drivers/bingo.cpp
+++ b/src/mame/drivers/bingo.cpp
@@ -9,7 +9,7 @@
class bingo_state : public driver_device
{
public:
- bingo_state(const machine_config &mconfig, device_type type, const char *tag)
+ bingo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
@@ -52,7 +52,7 @@ MACHINE_CONFIG_END
class seeben_state : public driver_device
{
public:
- seeben_state(const machine_config &mconfig, device_type type, const char *tag)
+ seeben_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
@@ -92,7 +92,7 @@ MACHINE_CONFIG_END
class splin_state : public driver_device
{
public:
- splin_state(const machine_config &mconfig, device_type type, const char *tag)
+ splin_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/bingoc.cpp b/src/mame/drivers/bingoc.cpp
index 868fd3c3563..fbe6950f2df 100644
--- a/src/mame/drivers/bingoc.cpp
+++ b/src/mame/drivers/bingoc.cpp
@@ -39,7 +39,7 @@ SOUND : YM2151 uPD7759C
class bingoc_state : public driver_device
{
public:
- bingoc_state(const machine_config &mconfig, device_type type, const char *tag)
+ bingoc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/drivers/bingoman.cpp b/src/mame/drivers/bingoman.cpp
index f9551bcfd67..acc22932547 100644
--- a/src/mame/drivers/bingoman.cpp
+++ b/src/mame/drivers/bingoman.cpp
@@ -246,7 +246,7 @@
class bingoman_state : public driver_device
{
public:
- bingoman_state(const machine_config &mconfig, device_type type, const char *tag)
+ bingoman_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/bingor.cpp b/src/mame/drivers/bingor.cpp
index a02e65854cb..16fd508d8c2 100644
--- a/src/mame/drivers/bingor.cpp
+++ b/src/mame/drivers/bingor.cpp
@@ -448,7 +448,7 @@
class bingor_state : public driver_device
{
public:
- bingor_state(const machine_config &mconfig, device_type type, const char *tag)
+ bingor_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_blit_ram(*this, "blit_ram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/bitgraph.cpp b/src/mame/drivers/bitgraph.cpp
index 511f4fb2a1b..7b7b24f0281 100644
--- a/src/mame/drivers/bitgraph.cpp
+++ b/src/mame/drivers/bitgraph.cpp
@@ -91,7 +91,7 @@
class bitgraph_state : public driver_device
{
public:
- bitgraph_state(const machine_config &mconfig, device_type type, const char *tag)
+ bitgraph_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, M68K_TAG)
, m_ram(*this, RAM_TAG)
diff --git a/src/mame/drivers/blackt96.cpp b/src/mame/drivers/blackt96.cpp
index ac63060d5aa..bd9002d508c 100644
--- a/src/mame/drivers/blackt96.cpp
+++ b/src/mame/drivers/blackt96.cpp
@@ -93,7 +93,7 @@ There are some unmapped writes past the end of text ram too
class blackt96_state : public driver_device
{
public:
- blackt96_state(const machine_config &mconfig, device_type type, const char *tag)
+ blackt96_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_tilemapram(*this, "tilemapram"),
m_spriteram0(*this, "spriteram0"),
diff --git a/src/mame/drivers/blitz.cpp b/src/mame/drivers/blitz.cpp
index b4a5eb325f0..1e3f4eba593 100644
--- a/src/mame/drivers/blitz.cpp
+++ b/src/mame/drivers/blitz.cpp
@@ -268,7 +268,7 @@
class blitz_state : public driver_device
{
public:
- blitz_state(const machine_config &mconfig, device_type type, const char *tag)
+ blitz_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/blitz68k.cpp b/src/mame/drivers/blitz68k.cpp
index ffa7d6215c8..2b77e418c7d 100644
--- a/src/mame/drivers/blitz68k.cpp
+++ b/src/mame/drivers/blitz68k.cpp
@@ -55,7 +55,7 @@ To Do:
class blitz68k_state : public driver_device
{
public:
- blitz68k_state(const machine_config &mconfig, device_type type, const char *tag)
+ blitz68k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_nvram(*this, "nvram"),
m_frame_buffer(*this, "frame_buffer"),
diff --git a/src/mame/drivers/blockhl.cpp b/src/mame/drivers/blockhl.cpp
index 8cca358e26a..ef8fecd3c5d 100644
--- a/src/mame/drivers/blockhl.cpp
+++ b/src/mame/drivers/blockhl.cpp
@@ -34,7 +34,7 @@
class blockhl_state : public driver_device
{
public:
- blockhl_state(const machine_config &mconfig, device_type type, const char *tag)
+ blockhl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_bank5800(*this, "bank5800"),
diff --git a/src/mame/drivers/bmcbowl.cpp b/src/mame/drivers/bmcbowl.cpp
index 13a12271374..f41f470f429 100644
--- a/src/mame/drivers/bmcbowl.cpp
+++ b/src/mame/drivers/bmcbowl.cpp
@@ -116,7 +116,7 @@ Main board:
class bmcbowl_state : public driver_device
{
public:
- bmcbowl_state(const machine_config &mconfig, device_type type, const char *tag)
+ bmcbowl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_stats_ram(*this, "nvram", 16),
diff --git a/src/mame/drivers/bmcpokr.cpp b/src/mame/drivers/bmcpokr.cpp
index 6bd9d2c6ce8..33625269585 100644
--- a/src/mame/drivers/bmcpokr.cpp
+++ b/src/mame/drivers/bmcpokr.cpp
@@ -26,7 +26,7 @@ Other: BMC B816140 (CPLD)
class bmcpokr_state : public driver_device
{
public:
- bmcpokr_state(const machine_config &mconfig, device_type type, const char *tag)
+ bmcpokr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_hopper(*this,"hopper"),
diff --git a/src/mame/drivers/bmjr.cpp b/src/mame/drivers/bmjr.cpp
index 9778a751434..b45699cb8b7 100644
--- a/src/mame/drivers/bmjr.cpp
+++ b/src/mame/drivers/bmjr.cpp
@@ -24,7 +24,7 @@
class bmjr_state : public driver_device
{
public:
- bmjr_state(const machine_config &mconfig, device_type type, const char *tag)
+ bmjr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cass(*this, "cassette"),
diff --git a/src/mame/drivers/bml3.cpp b/src/mame/drivers/bml3.cpp
index a2e405950c6..c76f24a05e2 100644
--- a/src/mame/drivers/bml3.cpp
+++ b/src/mame/drivers/bml3.cpp
@@ -66,7 +66,7 @@
class bml3_state : public driver_device
{
public:
- bml3_state(const machine_config &mconfig, device_type type, const char *tag) :
+ bml3_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_bml3bus(*this, "bml3bus"),
diff --git a/src/mame/drivers/bnstars.cpp b/src/mame/drivers/bnstars.cpp
index 7172817b195..eb0e9ce824a 100644
--- a/src/mame/drivers/bnstars.cpp
+++ b/src/mame/drivers/bnstars.cpp
@@ -100,7 +100,7 @@ ROMs : MR96004-10.1 [125661cd] (IC5 - Samples)
class bnstars_state : public ms32_state
{
public:
- bnstars_state(const machine_config &mconfig, device_type type, const char *tag)
+ bnstars_state(const machine_config &mconfig, device_type type, std::string tag)
: ms32_state(mconfig, type, tag),
m_ms32_tx0_ram(*this, "tx0_ram"),
m_ms32_tx1_ram(*this, "tx1_ram"),
diff --git a/src/mame/drivers/bntyhunt.cpp b/src/mame/drivers/bntyhunt.cpp
index 3d66dcb77c5..6a573f1f066 100644
--- a/src/mame/drivers/bntyhunt.cpp
+++ b/src/mame/drivers/bntyhunt.cpp
@@ -14,7 +14,7 @@
class bntyhunt_state : public driver_device
{
public:
- bntyhunt_state(const machine_config &mconfig, device_type type, const char *tag)
+ bntyhunt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/bob85.cpp b/src/mame/drivers/bob85.cpp
index d0c1eb88965..8ab90ec2210 100644
--- a/src/mame/drivers/bob85.cpp
+++ b/src/mame/drivers/bob85.cpp
@@ -30,7 +30,7 @@ Test Paste:
class bob85_state : public driver_device
{
public:
- bob85_state(const machine_config &mconfig, device_type type, const char *tag)
+ bob85_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cass(*this, "cassette"),
diff --git a/src/mame/drivers/bowltry.cpp b/src/mame/drivers/bowltry.cpp
index 73e4b83a055..6e0f090e6ae 100644
--- a/src/mame/drivers/bowltry.cpp
+++ b/src/mame/drivers/bowltry.cpp
@@ -36,7 +36,7 @@
class bowltry_state : public driver_device
{
public:
- bowltry_state(const machine_config &mconfig, device_type type, const char *tag)
+ bowltry_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/boxer.cpp b/src/mame/drivers/boxer.cpp
index eb31c5dc174..0874a013ab2 100644
--- a/src/mame/drivers/boxer.cpp
+++ b/src/mame/drivers/boxer.cpp
@@ -31,7 +31,7 @@ public:
TIMER_PERIODIC
};
- boxer_state(const machine_config &mconfig, device_type type, const char *tag)
+ boxer_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_tile_ram(*this, "tile_ram"),
m_sprite_ram(*this, "sprite_ram"),
diff --git a/src/mame/drivers/br8641.cpp b/src/mame/drivers/br8641.cpp
index df76c9ee91b..018e02cae06 100644
--- a/src/mame/drivers/br8641.cpp
+++ b/src/mame/drivers/br8641.cpp
@@ -32,7 +32,7 @@ ToDo:
class brandt8641_state : public driver_device
{
public:
- brandt8641_state(const machine_config &mconfig, device_type type, const char *tag)
+ brandt8641_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_pio1(*this, "pio1")
diff --git a/src/mame/drivers/buster.cpp b/src/mame/drivers/buster.cpp
index f08a32eeb0a..b1a6eec73f9 100644
--- a/src/mame/drivers/buster.cpp
+++ b/src/mame/drivers/buster.cpp
@@ -17,7 +17,7 @@ Video Fruit Machine
class buster_state : public driver_device
{
public:
- buster_state(const machine_config &mconfig, device_type type, const char *tag)
+ buster_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vram(*this, "vram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/by17.cpp b/src/mame/drivers/by17.cpp
index 690409b5c13..45d1a6b3e98 100644
--- a/src/mame/drivers/by17.cpp
+++ b/src/mame/drivers/by17.cpp
@@ -29,7 +29,7 @@ ToDo:
class by17_state : public genpin_class
{
public:
- by17_state(const machine_config &mconfig, device_type type, const char *tag)
+ by17_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_nvram(*this, "nvram")
diff --git a/src/mame/drivers/by35.cpp b/src/mame/drivers/by35.cpp
index 476804d398b..f89e94f64de 100644
--- a/src/mame/drivers/by35.cpp
+++ b/src/mame/drivers/by35.cpp
@@ -77,7 +77,7 @@ ToDo:
class by35_state : public genpin_class
{
public:
- by35_state(const machine_config &mconfig, device_type type, const char *tag)
+ by35_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_nvram(*this, "nvram")
diff --git a/src/mame/drivers/by6803.cpp b/src/mame/drivers/by6803.cpp
index bc7ce7e9f14..08681622411 100644
--- a/src/mame/drivers/by6803.cpp
+++ b/src/mame/drivers/by6803.cpp
@@ -31,7 +31,7 @@ ToDo:
class by6803_state : public genpin_class
{
public:
- by6803_state(const machine_config &mconfig, device_type type, const char *tag)
+ by6803_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_pia0(*this, "pia0")
diff --git a/src/mame/drivers/by68701.cpp b/src/mame/drivers/by68701.cpp
index 4dbcec6d9b6..d17e26ed2fd 100644
--- a/src/mame/drivers/by68701.cpp
+++ b/src/mame/drivers/by68701.cpp
@@ -7,7 +7,7 @@
class by68701_state : public driver_device
{
public:
- by68701_state(const machine_config &mconfig, device_type type, const char *tag)
+ by68701_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/byvid.cpp b/src/mame/drivers/byvid.cpp
index bd1b267a62d..9a59640547a 100644
--- a/src/mame/drivers/byvid.cpp
+++ b/src/mame/drivers/byvid.cpp
@@ -49,7 +49,7 @@ ToDo (granny):
class by133_state : public driver_device
{
public:
- by133_state(const machine_config &mconfig, device_type type, const char *tag)
+ by133_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_videocpu(*this, "videocpu")
diff --git a/src/mame/drivers/c10.cpp b/src/mame/drivers/c10.cpp
index a2333d810b7..097e94fd4fd 100644
--- a/src/mame/drivers/c10.cpp
+++ b/src/mame/drivers/c10.cpp
@@ -24,7 +24,7 @@ public:
TIMER_RESET
};
- c10_state(const machine_config &mconfig, device_type type, const char *tag)
+ c10_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_p_videoram(*this, "p_videoram"){ }
diff --git a/src/mame/drivers/c64dtv.cpp b/src/mame/drivers/c64dtv.cpp
index 4b707dfa585..f36cefb100f 100644
--- a/src/mame/drivers/c64dtv.cpp
+++ b/src/mame/drivers/c64dtv.cpp
@@ -11,7 +11,7 @@ class c64dtv_state : public driver_device
{
public:
// constructor
- c64dtv_state(const machine_config &mconfig, device_type type, const char *tag)
+ c64dtv_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) { }
UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
diff --git a/src/mame/drivers/c65.cpp b/src/mame/drivers/c65.cpp
index fb9f882ead7..5a6e9a37714 100644
--- a/src/mame/drivers/c65.cpp
+++ b/src/mame/drivers/c65.cpp
@@ -28,7 +28,7 @@ Note:
class c65_state : public driver_device
{
public:
- c65_state(const machine_config &mconfig, device_type type, const char *tag)
+ c65_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cia0(*this, "cia_0"),
diff --git a/src/mame/drivers/c900.cpp b/src/mame/drivers/c900.cpp
index 18e5238c3eb..e3a7defd0df 100644
--- a/src/mame/drivers/c900.cpp
+++ b/src/mame/drivers/c900.cpp
@@ -29,7 +29,7 @@
class c900_state : public driver_device
{
public:
- c900_state(const machine_config &mconfig, device_type type, const char *tag)
+ c900_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/cabaret.cpp b/src/mame/drivers/cabaret.cpp
index bdaf1aef465..82be78a6dc0 100644
--- a/src/mame/drivers/cabaret.cpp
+++ b/src/mame/drivers/cabaret.cpp
@@ -31,7 +31,7 @@ are the same of IGS. AMT may be previous IGS name.
class cabaret_state : public driver_device
{
public:
- cabaret_state(const machine_config &mconfig, device_type type, const char *tag)
+ cabaret_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fg_tile_ram(*this, "fg_tile_ram"),
m_fg_color_ram(*this, "fg_color_ram"),
diff --git a/src/mame/drivers/calchase.cpp b/src/mame/drivers/calchase.cpp
index 18354d8e5dc..ed89e2a015a 100644
--- a/src/mame/drivers/calchase.cpp
+++ b/src/mame/drivers/calchase.cpp
@@ -142,7 +142,7 @@ something wrong in the disk geometry reported by calchase.chd (20,255,63) since
class calchase_state : public pcat_base_state
{
public:
- calchase_state(const machine_config &mconfig, device_type type, const char *tag)
+ calchase_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag),
m_dac_l(*this, "dac_l"),
m_dac_r(*this, "dac_r")
diff --git a/src/mame/drivers/calorie.cpp b/src/mame/drivers/calorie.cpp
index a4602d37189..87da9cd5fa8 100644
--- a/src/mame/drivers/calorie.cpp
+++ b/src/mame/drivers/calorie.cpp
@@ -88,7 +88,7 @@ Notes:
class calorie_state : public driver_device
{
public:
- calorie_state(const machine_config &mconfig, device_type type, const char *tag)
+ calorie_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fg_ram(*this, "fg_ram"),
m_sprites(*this, "sprites"),
diff --git a/src/mame/drivers/camplynx.cpp b/src/mame/drivers/camplynx.cpp
index 96cc919dfb9..884bc419f0a 100644
--- a/src/mame/drivers/camplynx.cpp
+++ b/src/mame/drivers/camplynx.cpp
@@ -129,7 +129,7 @@
class camplynx_state : public driver_device
{
public:
- camplynx_state(const machine_config &mconfig, device_type type, const char *tag)
+ camplynx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_palette(*this, "palette")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/canon_s80.cpp b/src/mame/drivers/canon_s80.cpp
index 2ee2325ce0e..c545f87dbf5 100644
--- a/src/mame/drivers/canon_s80.cpp
+++ b/src/mame/drivers/canon_s80.cpp
@@ -23,7 +23,7 @@
class canons80_state : public driver_device
{
public:
- canons80_state(const machine_config &mconfig, device_type type, const char *tag)
+ canons80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/capcom.cpp b/src/mame/drivers/capcom.cpp
index 04c06f3f3f1..54f07bd6d37 100644
--- a/src/mame/drivers/capcom.cpp
+++ b/src/mame/drivers/capcom.cpp
@@ -11,7 +11,7 @@
class capcom_state : public driver_device
{
public:
- capcom_state(const machine_config &mconfig, device_type type, const char *tag)
+ capcom_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/capr1.cpp b/src/mame/drivers/capr1.cpp
index 4203174914c..962f3e4ce3f 100644
--- a/src/mame/drivers/capr1.cpp
+++ b/src/mame/drivers/capr1.cpp
@@ -36,7 +36,7 @@ TODO:
class capr1_state : public driver_device
{
public:
- capr1_state(const machine_config &mconfig, device_type type, const char *tag)
+ capr1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/caprcyc.cpp b/src/mame/drivers/caprcyc.cpp
index 9ac04280b94..252f67a88ec 100644
--- a/src/mame/drivers/caprcyc.cpp
+++ b/src/mame/drivers/caprcyc.cpp
@@ -22,7 +22,7 @@ TODO:
class caprcyc_state : public driver_device
{
public:
- caprcyc_state(const machine_config &mconfig, device_type type, const char *tag)
+ caprcyc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/cardline.cpp b/src/mame/drivers/cardline.cpp
index 740fb7e28f4..da62e39556e 100644
--- a/src/mame/drivers/cardline.cpp
+++ b/src/mame/drivers/cardline.cpp
@@ -33,7 +33,7 @@
class cardline_state : public driver_device
{
public:
- cardline_state(const machine_config &mconfig, device_type type, const char *tag)
+ cardline_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/carrera.cpp b/src/mame/drivers/carrera.cpp
index d567ecc67da..d2b073ea1d8 100644
--- a/src/mame/drivers/carrera.cpp
+++ b/src/mame/drivers/carrera.cpp
@@ -57,7 +57,7 @@ TODO:
class carrera_state : public driver_device
{
public:
- carrera_state(const machine_config &mconfig, device_type type, const char *tag)
+ carrera_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_tileram(*this, "tileram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/casloopy.cpp b/src/mame/drivers/casloopy.cpp
index c3639d185d5..69c0934bb9e 100644
--- a/src/mame/drivers/casloopy.cpp
+++ b/src/mame/drivers/casloopy.cpp
@@ -159,7 +159,7 @@ PCB 'Z545-1 A240570-1'
class casloopy_state : public driver_device
{
public:
- casloopy_state(const machine_config &mconfig, device_type type, const char *tag)
+ casloopy_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bios_rom(*this, "bios_rom"),
m_vregs(*this, "vregs"),
diff --git a/src/mame/drivers/castle.cpp b/src/mame/drivers/castle.cpp
index 056273db2b1..39a1862379d 100644
--- a/src/mame/drivers/castle.cpp
+++ b/src/mame/drivers/castle.cpp
@@ -50,7 +50,7 @@
class castle_state : public driver_device
{
public:
- castle_state(const machine_config &mconfig, device_type type, const char *tag)
+ castle_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/caswin.cpp b/src/mame/drivers/caswin.cpp
index f774057fd73..6c61a82e882 100644
--- a/src/mame/drivers/caswin.cpp
+++ b/src/mame/drivers/caswin.cpp
@@ -76,7 +76,7 @@ TODO:
class caswin_state : public driver_device
{
public:
- caswin_state(const machine_config &mconfig, device_type type, const char *tag)
+ caswin_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_sc0_vram(*this, "sc0_vram"),
m_sc0_attr(*this, "sc0_attr"),
diff --git a/src/mame/drivers/cat.cpp b/src/mame/drivers/cat.cpp
index fd892b3b877..e60e7fab12a 100644
--- a/src/mame/drivers/cat.cpp
+++ b/src/mame/drivers/cat.cpp
@@ -239,7 +239,7 @@ public:
TIMER_COUNTER_6MS
};
- cat_state(const machine_config &mconfig, device_type type, const char *tag)
+ cat_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
//m_nvram(*this, "nvram"), // merge with svram?
diff --git a/src/mame/drivers/cavepc.cpp b/src/mame/drivers/cavepc.cpp
index 7bd1c83b794..29b0a7f2673 100644
--- a/src/mame/drivers/cavepc.cpp
+++ b/src/mame/drivers/cavepc.cpp
@@ -58,7 +58,7 @@
class cavepc_state : public driver_device
{
public:
- cavepc_state(const machine_config &mconfig, device_type type, const char *tag)
+ cavepc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/cb2001.cpp b/src/mame/drivers/cb2001.cpp
index 10fc8bb527a..57b1793b269 100644
--- a/src/mame/drivers/cb2001.cpp
+++ b/src/mame/drivers/cb2001.cpp
@@ -51,7 +51,7 @@ this seems more like 8-bit hardware, maybe it should be v25, not v35...
class cb2001_state : public driver_device
{
public:
- cb2001_state(const machine_config &mconfig, device_type type, const char *tag)
+ cb2001_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vram_fg(*this, "vrafg"),
m_vram_bg(*this, "vrabg"),
diff --git a/src/mame/drivers/cball.cpp b/src/mame/drivers/cball.cpp
index ecb12c186d3..7f39ca6ac60 100644
--- a/src/mame/drivers/cball.cpp
+++ b/src/mame/drivers/cball.cpp
@@ -18,7 +18,7 @@ public:
TIMER_INTERRUPT
};
- cball_state(const machine_config &mconfig, device_type type, const char *tag)
+ cball_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/cc40.cpp b/src/mame/drivers/cc40.cpp
index bd65fc2fc78..6cbca332b59 100644
--- a/src/mame/drivers/cc40.cpp
+++ b/src/mame/drivers/cc40.cpp
@@ -87,7 +87,7 @@
class cc40_state : public driver_device
{
public:
- cc40_state(const machine_config &mconfig, device_type type, const char *tag)
+ cc40_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac(*this, "dac"),
diff --git a/src/mame/drivers/cchance.cpp b/src/mame/drivers/cchance.cpp
index 0283cf99df9..0e21b411823 100644
--- a/src/mame/drivers/cchance.cpp
+++ b/src/mame/drivers/cchance.cpp
@@ -42,7 +42,7 @@ cha3 $10d8
class cchance_state : public tnzs_state
{
public:
- cchance_state(const machine_config &mconfig, device_type type, const char *tag)
+ cchance_state(const machine_config &mconfig, device_type type, std::string tag)
: tnzs_state(mconfig, type, tag) { }
UINT8 m_hop_io;
diff --git a/src/mame/drivers/ccs2810.cpp b/src/mame/drivers/ccs2810.cpp
index ab38592295a..f6a02d05b87 100644
--- a/src/mame/drivers/ccs2810.cpp
+++ b/src/mame/drivers/ccs2810.cpp
@@ -71,7 +71,7 @@ ToDo:
class ccs_state : public driver_device
{
public:
- ccs_state(const machine_config &mconfig, device_type type, const char *tag)
+ ccs_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG),
diff --git a/src/mame/drivers/ccs300.cpp b/src/mame/drivers/ccs300.cpp
index a0842350bd2..c3daaaf5aed 100644
--- a/src/mame/drivers/ccs300.cpp
+++ b/src/mame/drivers/ccs300.cpp
@@ -28,7 +28,7 @@ There's unknown usage of ports 11 thru 1B, 34, and F0 thru F2.
class ccs300_state : public driver_device
{
public:
- ccs300_state(const machine_config &mconfig, device_type type, const char *tag)
+ ccs300_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/cd2650.cpp b/src/mame/drivers/cd2650.cpp
index ae40d4deaa3..35da04fe9e8 100644
--- a/src/mame/drivers/cd2650.cpp
+++ b/src/mame/drivers/cd2650.cpp
@@ -41,7 +41,7 @@ TODO
class cd2650_state : public driver_device
{
public:
- cd2650_state(const machine_config &mconfig, device_type type, const char *tag)
+ cd2650_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_p_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/cdc721.cpp b/src/mame/drivers/cdc721.cpp
index 497ba6d5a68..1e33d15d78c 100644
--- a/src/mame/drivers/cdc721.cpp
+++ b/src/mame/drivers/cdc721.cpp
@@ -16,7 +16,7 @@ Control Data Corporation CDC 721 Terminal (Viking)
class cdc721_state : public driver_device
{
public:
- cdc721_state(const machine_config &mconfig, device_type type, const char *tag)
+ cdc721_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_p_videoram(*this, "videoram")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/cesclass.cpp b/src/mame/drivers/cesclass.cpp
index 28f85f089e3..320ffefb2b9 100644
--- a/src/mame/drivers/cesclass.cpp
+++ b/src/mame/drivers/cesclass.cpp
@@ -31,7 +31,7 @@
class cesclassic_state : public driver_device
{
public:
- cesclassic_state(const machine_config &mconfig, device_type type, const char *tag)
+ cesclassic_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_oki(*this, "oki"),
diff --git a/src/mame/drivers/cfx9850.cpp b/src/mame/drivers/cfx9850.cpp
index 30ec1e78b4b..1782a100e40 100644
--- a/src/mame/drivers/cfx9850.cpp
+++ b/src/mame/drivers/cfx9850.cpp
@@ -26,7 +26,7 @@ Debugging information:
class cfx9850_state : public driver_device
{
public:
- cfx9850_state(const machine_config &mconfig, device_type type, const char *tag)
+ cfx9850_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_video_ram(*this, "video_ram"),
m_display_ram(*this, "display_ram"),
diff --git a/src/mame/drivers/cgenie.cpp b/src/mame/drivers/cgenie.cpp
index a306f55c440..5afce95112a 100644
--- a/src/mame/drivers/cgenie.cpp
+++ b/src/mame/drivers/cgenie.cpp
@@ -31,7 +31,7 @@
class cgenie_state : public driver_device
{
public:
- cgenie_state(const machine_config &mconfig, device_type type, const char *tag)
+ cgenie_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cassette(*this, "cassette"),
diff --git a/src/mame/drivers/cham24.cpp b/src/mame/drivers/cham24.cpp
index 0fc42e73776..f2d9001e04b 100644
--- a/src/mame/drivers/cham24.cpp
+++ b/src/mame/drivers/cham24.cpp
@@ -64,7 +64,7 @@ Notes:
class cham24_state : public driver_device
{
public:
- cham24_state(const machine_config &mconfig, device_type type, const char *tag)
+ cham24_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ppu(*this, "ppu") { }
diff --git a/src/mame/drivers/champbwl.cpp b/src/mame/drivers/champbwl.cpp
index 745870f02bc..1ee6c9585d3 100644
--- a/src/mame/drivers/champbwl.cpp
+++ b/src/mame/drivers/champbwl.cpp
@@ -162,7 +162,7 @@ Notes:
class champbwl_state : public driver_device
{
public:
- champbwl_state(const machine_config &mconfig, device_type type, const char *tag)
+ champbwl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_seta001(*this, "spritegen"),
diff --git a/src/mame/drivers/chanbara.cpp b/src/mame/drivers/chanbara.cpp
index 379730cdf1a..73464cc79b5 100644
--- a/src/mame/drivers/chanbara.cpp
+++ b/src/mame/drivers/chanbara.cpp
@@ -58,7 +58,7 @@ ToDo:
class chanbara_state : public driver_device
{
public:
- chanbara_state(const machine_config &mconfig, device_type type, const char *tag)
+ chanbara_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/chance32.cpp b/src/mame/drivers/chance32.cpp
index b7831f8f159..84bab3bf84a 100644
--- a/src/mame/drivers/chance32.cpp
+++ b/src/mame/drivers/chance32.cpp
@@ -29,7 +29,7 @@
class chance32_state : public driver_device
{
public:
- chance32_state(const machine_config &mconfig, device_type type, const char *tag)
+ chance32_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fgram(*this, "fgram"),
m_bgram(*this, "bgram"),
diff --git a/src/mame/drivers/chaos.cpp b/src/mame/drivers/chaos.cpp
index b03531bc362..26f696b2890 100644
--- a/src/mame/drivers/chaos.cpp
+++ b/src/mame/drivers/chaos.cpp
@@ -38,7 +38,7 @@
class chaos_state : public driver_device
{
public:
- chaos_state(const machine_config &mconfig, device_type type, const char *tag)
+ chaos_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_terminal(*this, TERMINAL_TAG),
m_p_ram(*this, "p_ram") ,
diff --git a/src/mame/drivers/chessmst.cpp b/src/mame/drivers/chessmst.cpp
index e92d94056dc..fc0b057b28f 100644
--- a/src/mame/drivers/chessmst.cpp
+++ b/src/mame/drivers/chessmst.cpp
@@ -21,7 +21,7 @@
class chessmst_state : public driver_device
{
public:
- chessmst_state(const machine_config &mconfig, device_type type, const char *tag)
+ chessmst_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker")
diff --git a/src/mame/drivers/chesstrv.cpp b/src/mame/drivers/chesstrv.cpp
index e34954a6af0..616feb724f3 100644
--- a/src/mame/drivers/chesstrv.cpp
+++ b/src/mame/drivers/chesstrv.cpp
@@ -18,7 +18,7 @@
class chesstrv_state : public driver_device
{
public:
- chesstrv_state(const machine_config &mconfig, device_type type, const char *tag)
+ chesstrv_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/chexx.cpp b/src/mame/drivers/chexx.cpp
index f32da626237..393e79f12d1 100644
--- a/src/mame/drivers/chexx.cpp
+++ b/src/mame/drivers/chexx.cpp
@@ -27,7 +27,7 @@ Electro-mechanical bubble hockey games:
class chexx_state : public driver_device
{
public:
- chexx_state(const machine_config &mconfig, device_type type, const char *tag)
+ chexx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_via(*this, "via6522"),
diff --git a/src/mame/drivers/chicago.cpp b/src/mame/drivers/chicago.cpp
index d426f8ab8f7..b0c3b8a95e7 100644
--- a/src/mame/drivers/chicago.cpp
+++ b/src/mame/drivers/chicago.cpp
@@ -42,7 +42,7 @@
class chicago_state : public driver_device
{
public:
- chicago_state(const machine_config &mconfig, device_type type, const char *tag)
+ chicago_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_video(*this, "fixfreq")
diff --git a/src/mame/drivers/chihiro.cpp b/src/mame/drivers/chihiro.cpp
index 7e7a6e96a23..c516a0c75ff 100644
--- a/src/mame/drivers/chihiro.cpp
+++ b/src/mame/drivers/chihiro.cpp
@@ -381,7 +381,7 @@ Thanks to Alex, Mr Mudkips, and Philip Burke for this info.
class chihiro_state : public xbox_base_state
{
public:
- chihiro_state(const machine_config &mconfig, device_type type, const char *tag) :
+ chihiro_state(const machine_config &mconfig, device_type type, std::string tag) :
xbox_base_state(mconfig, type, tag),
usbhack_index(-1),
usbhack_counter(0),
@@ -597,7 +597,7 @@ class ide_baseboard_device : public ata_mass_storage_device
{
public:
// construction/destruction
- ide_baseboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ide_baseboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual int read_sector(UINT32 lba, void *buffer) override;
virtual int write_sector(UINT32 lba, const void *buffer) override;
@@ -621,7 +621,7 @@ const device_type IDE_BASEBOARD = &device_creator<ide_baseboard_device>;
// ide_baseboard_device - constructor
//-------------------------------------------------
-ide_baseboard_device::ide_baseboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ide_baseboard_device::ide_baseboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: ata_mass_storage_device(mconfig, IDE_BASEBOARD, "IDE Baseboard", tag, owner, clock, "ide_baseboard", __FILE__)
{
}
diff --git a/src/mame/drivers/chinagat.cpp b/src/mame/drivers/chinagat.cpp
index 946d5020f38..d8fa10c368d 100644
--- a/src/mame/drivers/chinagat.cpp
+++ b/src/mame/drivers/chinagat.cpp
@@ -88,7 +88,7 @@ Dip locations and factory settings verified with China Gate US manual.
class chinagat_state : public ddragon_state
{
public:
- chinagat_state(const machine_config &mconfig, device_type type, const char *tag)
+ chinagat_state(const machine_config &mconfig, device_type type, std::string tag)
: ddragon_state(mconfig, type, tag),
m_adpcm(*this, "adpcm") { };
diff --git a/src/mame/drivers/chinsan.cpp b/src/mame/drivers/chinsan.cpp
index 49d8e3e4adf..7b24b1c0651 100644
--- a/src/mame/drivers/chinsan.cpp
+++ b/src/mame/drivers/chinsan.cpp
@@ -52,7 +52,7 @@ MM63.10N
class chinsan_state : public driver_device
{
public:
- chinsan_state(const machine_config &mconfig, device_type type, const char *tag)
+ chinsan_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_video(*this, "video"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/chsuper.cpp b/src/mame/drivers/chsuper.cpp
index 226cf66514d..9939e4fc6bc 100644
--- a/src/mame/drivers/chsuper.cpp
+++ b/src/mame/drivers/chsuper.cpp
@@ -29,7 +29,7 @@
class chsuper_state : public driver_device
{
public:
- chsuper_state(const machine_config &mconfig, device_type type, const char *tag)
+ chsuper_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/clayshoo.cpp b/src/mame/drivers/clayshoo.cpp
index 1db6d72efe3..862f79e636e 100644
--- a/src/mame/drivers/clayshoo.cpp
+++ b/src/mame/drivers/clayshoo.cpp
@@ -24,7 +24,7 @@
class clayshoo_state : public driver_device
{
public:
- clayshoo_state(const machine_config &mconfig, device_type type, const char *tag)
+ clayshoo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/clcd.cpp b/src/mame/drivers/clcd.cpp
index 52ac6a7534a..11b67f29cbe 100644
--- a/src/mame/drivers/clcd.cpp
+++ b/src/mame/drivers/clcd.cpp
@@ -27,7 +27,7 @@
class clcd_state : public driver_device
{
public:
- clcd_state(const machine_config &mconfig, device_type type, const char *tag)
+ clcd_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_acia(*this, "acia"),
diff --git a/src/mame/drivers/cliffhgr.cpp b/src/mame/drivers/cliffhgr.cpp
index c9cfe5f40b1..17ca329861d 100644
--- a/src/mame/drivers/cliffhgr.cpp
+++ b/src/mame/drivers/cliffhgr.cpp
@@ -89,7 +89,7 @@ Side 2 = 0x8F7DDD (or 0x880000 | ( 0x77 << 12 ) | 0x0DDD)
class cliffhgr_state : public driver_device
{
public:
- cliffhgr_state(const machine_config &mconfig, device_type type, const char *tag)
+ cliffhgr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_laserdisc(*this, "laserdisc"),
m_port_bank(0),
diff --git a/src/mame/drivers/clowndwn.cpp b/src/mame/drivers/clowndwn.cpp
index 2eacdadfc44..5f9cbd0a282 100644
--- a/src/mame/drivers/clowndwn.cpp
+++ b/src/mame/drivers/clowndwn.cpp
@@ -15,7 +15,7 @@ can't find any info on this?
class clowndwn_state : public driver_device
{
public:
- clowndwn_state(const machine_config &mconfig, device_type type, const char *tag)
+ clowndwn_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
// ,m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/cm1800.cpp b/src/mame/drivers/cm1800.cpp
index 7659e8ec41d..7ae7547b722 100644
--- a/src/mame/drivers/cm1800.cpp
+++ b/src/mame/drivers/cm1800.cpp
@@ -42,7 +42,7 @@ to be a save command.
class cm1800_state : public driver_device
{
public:
- cm1800_state(const machine_config &mconfig, device_type type, const char *tag)
+ cm1800_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_terminal(*this, TERMINAL_TAG) ,
m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/cmmb.cpp b/src/mame/drivers/cmmb.cpp
index 5e5da1d762a..1d27efee601 100644
--- a/src/mame/drivers/cmmb.cpp
+++ b/src/mame/drivers/cmmb.cpp
@@ -53,7 +53,7 @@ OSC @ 72.576MHz
class cmmb_state : public driver_device
{
public:
- cmmb_state(const machine_config &mconfig, device_type type, const char *tag)
+ cmmb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/drivers/cntsteer.cpp b/src/mame/drivers/cntsteer.cpp
index 99f7dd9a200..ca90eb20489 100644
--- a/src/mame/drivers/cntsteer.cpp
+++ b/src/mame/drivers/cntsteer.cpp
@@ -39,7 +39,7 @@
class cntsteer_state : public driver_device
{
public:
- cntsteer_state(const machine_config &mconfig, device_type type, const char *tag)
+ cntsteer_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/drivers/cobra.cpp b/src/mame/drivers/cobra.cpp
index 840feea61df..fe19d74afa3 100644
--- a/src/mame/drivers/cobra.cpp
+++ b/src/mame/drivers/cobra.cpp
@@ -491,7 +491,7 @@ private:
class cobra_jvs : public jvs_device
{
public:
- cobra_jvs(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ cobra_jvs(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual bool switches(UINT8 *&buf, UINT8 count_players, UINT8 bytes_per_switch) override;
@@ -500,7 +500,7 @@ protected:
const device_type COBRA_JVS = &device_creator<cobra_jvs>;
-cobra_jvs::cobra_jvs(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+cobra_jvs::cobra_jvs(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: jvs_device(mconfig, COBRA_JVS, "JVS (COBRA)", tag, owner, clock, "cobra_jvs", __FILE__)
{
}
@@ -548,7 +548,7 @@ bool cobra_jvs::coin_counters(UINT8 *&buf, UINT8 count)
class cobra_jvs_host : public jvs_host
{
public:
- cobra_jvs_host(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ cobra_jvs_host(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void write(UINT8, const UINT8 *&rec_data, UINT32 &rec_size);
private:
@@ -558,7 +558,7 @@ private:
const device_type COBRA_JVS_HOST = &device_creator<cobra_jvs_host>;
-cobra_jvs_host::cobra_jvs_host(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+cobra_jvs_host::cobra_jvs_host(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: jvs_host(mconfig, COBRA_JVS_HOST, "JVS-HOST (COBRA)", tag, owner, clock, "cobra_jvs_host", __FILE__)
{
m_send_ptr = 0;
@@ -605,7 +605,7 @@ void cobra_jvs_host::write(UINT8 data, const UINT8 *&rec_data, UINT32 &rec_size)
class cobra_state : public driver_device
{
public:
- cobra_state(const machine_config &mconfig, device_type type, const char *tag)
+ cobra_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "subcpu"),
@@ -1072,7 +1072,7 @@ void cobra_fifo::push(const device_t *cpu, UINT64 data)
if (cpu != nullptr)
{
// cpu has a name and a PC
- sprintf(accessor_location, "(%s) %08X", cpu->tag(), const_cast<device_t *>(cpu)->safe_pc());
+ sprintf(accessor_location, "(%s) %08X", cpu->tag().c_str(), const_cast<device_t *>(cpu)->safe_pc());
}
else
{
@@ -1092,7 +1092,7 @@ void cobra_fifo::push(const device_t *cpu, UINT64 data)
if (cpu != nullptr)
{
// cpu has a name and a PC
- sprintf(accessor_location, "(%s) %08X", cpu->tag(), const_cast<device_t *>(cpu)->safe_pc());
+ sprintf(accessor_location, "(%s) %08X", cpu->tag().c_str(), const_cast<device_t *>(cpu)->safe_pc());
}
else
{
@@ -1149,7 +1149,7 @@ bool cobra_fifo::pop(const device_t *cpu, UINT64 *result)
if (cpu != nullptr)
{
// cpu has a name and a PC
- sprintf(accessor_location, "(%s) %08X", cpu->tag(), const_cast<device_t *>(cpu)->safe_pc());
+ sprintf(accessor_location, "(%s) %08X", cpu->tag().c_str(), const_cast<device_t *>(cpu)->safe_pc());
}
else
{
@@ -1170,7 +1170,7 @@ bool cobra_fifo::pop(const device_t *cpu, UINT64 *result)
if (cpu != nullptr)
{
// cpu has a name and a PC
- sprintf(accessor_location, "(%s) %08X", cpu->tag(), const_cast<device_t *>(cpu)->safe_pc());
+ sprintf(accessor_location, "(%s) %08X", cpu->tag().c_str(), const_cast<device_t *>(cpu)->safe_pc());
}
else
{
diff --git a/src/mame/drivers/cocoloco.cpp b/src/mame/drivers/cocoloco.cpp
index 3111a461866..fba66c57ebe 100644
--- a/src/mame/drivers/cocoloco.cpp
+++ b/src/mame/drivers/cocoloco.cpp
@@ -187,7 +187,7 @@
class cocoloco_state : public driver_device
{
public:
- cocoloco_state(const machine_config &mconfig, device_type type, const char *tag)
+ cocoloco_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette") { }
diff --git a/src/mame/drivers/codata.cpp b/src/mame/drivers/codata.cpp
index 9499ab38560..ae49ae39d1b 100644
--- a/src/mame/drivers/codata.cpp
+++ b/src/mame/drivers/codata.cpp
@@ -20,7 +20,7 @@
class codata_state : public driver_device
{
public:
- codata_state(const machine_config &mconfig, device_type type, const char *tag)
+ codata_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_p_base(*this, "rambase"),
m_terminal(*this, TERMINAL_TAG),
diff --git a/src/mame/drivers/coinmstr.cpp b/src/mame/drivers/coinmstr.cpp
index ea5b3edf2aa..2ebcc4b1944 100644
--- a/src/mame/drivers/coinmstr.cpp
+++ b/src/mame/drivers/coinmstr.cpp
@@ -142,7 +142,7 @@
class coinmstr_state : public driver_device
{
public:
- coinmstr_state(const machine_config &mconfig, device_type type, const char *tag)
+ coinmstr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_attr_ram1(*this, "attr_ram1"),
diff --git a/src/mame/drivers/coinmvga.cpp b/src/mame/drivers/coinmvga.cpp
index 9b0993bca4b..6b66da5f6ca 100644
--- a/src/mame/drivers/coinmvga.cpp
+++ b/src/mame/drivers/coinmvga.cpp
@@ -232,7 +232,7 @@
class coinmvga_state : public driver_device
{
public:
- coinmvga_state(const machine_config &mconfig, device_type type, const char *tag)
+ coinmvga_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vram(*this, "vram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/comebaby.cpp b/src/mame/drivers/comebaby.cpp
index 77d1beb119e..f3504116061 100644
--- a/src/mame/drivers/comebaby.cpp
+++ b/src/mame/drivers/comebaby.cpp
@@ -187,7 +187,7 @@ Nearly everything.
class comebaby_state : public driver_device
{
public:
- comebaby_state(const machine_config &mconfig, device_type type, const char *tag)
+ comebaby_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/compucolor.cpp b/src/mame/drivers/compucolor.cpp
index 30f4b594ef3..d77f6bc9d33 100644
--- a/src/mame/drivers/compucolor.cpp
+++ b/src/mame/drivers/compucolor.cpp
@@ -36,7 +36,7 @@
class compucolor2_state : public driver_device
{
public:
- compucolor2_state(const machine_config &mconfig, device_type type, const char *tag)
+ compucolor2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, I8080_TAG),
m_mioc(*this, TMS5501_TAG),
diff --git a/src/mame/drivers/coolridr.cpp b/src/mame/drivers/coolridr.cpp
index b6d0b5a83fd..294fd5384d8 100644
--- a/src/mame/drivers/coolridr.cpp
+++ b/src/mame/drivers/coolridr.cpp
@@ -298,7 +298,7 @@ to the same bank as defined through A20.
class coolridr_state : public driver_device
{
public:
- coolridr_state(const machine_config &mconfig, device_type type, const char *tag)
+ coolridr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_textBytesToWrite(0x00),
m_blitterSerialCount(0x00),
diff --git a/src/mame/drivers/cops.cpp b/src/mame/drivers/cops.cpp
index 44529d40ae3..bd5d904f40e 100644
--- a/src/mame/drivers/cops.cpp
+++ b/src/mame/drivers/cops.cpp
@@ -42,7 +42,7 @@
class cops_state : public driver_device
{
public:
- cops_state(const machine_config &mconfig, device_type type, const char *tag)
+ cops_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_sn(*this, "snsnd"),
diff --git a/src/mame/drivers/corona.cpp b/src/mame/drivers/corona.cpp
index b4037863bf3..0a08468a3ec 100644
--- a/src/mame/drivers/corona.cpp
+++ b/src/mame/drivers/corona.cpp
@@ -320,7 +320,7 @@
class corona_state : public driver_device
{
public:
- corona_state(const machine_config &mconfig, device_type type, const char *tag)
+ corona_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/drivers/cortex.cpp b/src/mame/drivers/cortex.cpp
index 7e9d3c9a351..fbbab872536 100644
--- a/src/mame/drivers/cortex.cpp
+++ b/src/mame/drivers/cortex.cpp
@@ -30,7 +30,7 @@
class cortex_state : public driver_device
{
public:
- cortex_state(const machine_config &mconfig, device_type type, const char *tag)
+ cortex_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_p_ram(*this, "ram")
diff --git a/src/mame/drivers/cp1.cpp b/src/mame/drivers/cp1.cpp
index bf7e382819e..8aceeca2a8e 100644
--- a/src/mame/drivers/cp1.cpp
+++ b/src/mame/drivers/cp1.cpp
@@ -22,7 +22,7 @@
class cp1_state : public driver_device
{
public:
- cp1_state(const machine_config &mconfig, device_type type, const char *tag)
+ cp1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_i8155(*this, "i8155"),
diff --git a/src/mame/drivers/cps3.cpp b/src/mame/drivers/cps3.cpp
index af0104474a6..43c7bd7a0f6 100644
--- a/src/mame/drivers/cps3.cpp
+++ b/src/mame/drivers/cps3.cpp
@@ -1404,22 +1404,22 @@ READ32_MEMBER(cps3_state::cps3_gfxflash_r)
if (ACCESSING_BITS_24_31) // GFX Flash 1
{
- logerror("read GFX flash chip %s addr %02x\n", chip0->tag(), (offset<<1));
+ logerror("read GFX flash chip %s addr %02x\n", chip0->tag().c_str(), (offset<<1));
result |= chip0->read( (offset<<1) ) << 24;
}
if (ACCESSING_BITS_16_23) // GFX Flash 2
{
- logerror("read GFX flash chip %s addr %02x\n", chip1->tag(), (offset<<1));
+ logerror("read GFX flash chip %s addr %02x\n", chip1->tag().c_str(), (offset<<1));
result |= chip1->read( (offset<<1) ) << 16;
}
if (ACCESSING_BITS_8_15) // GFX Flash 1
{
- logerror("read GFX flash chip %s addr %02x\n", chip0->tag(), (offset<<1)+1);
+ logerror("read GFX flash chip %s addr %02x\n", chip0->tag().c_str(), (offset<<1)+1);
result |= chip0->read( (offset<<1)+0x1 ) << 8;
}
if (ACCESSING_BITS_0_7) // GFX Flash 2
{
- logerror("read GFX flash chip %s addr %02x\n", chip1->tag(), (offset<<1)+1);
+ logerror("read GFX flash chip %s addr %02x\n", chip1->tag().c_str(), (offset<<1)+1);
result |= chip1->read( (offset<<1)+0x1 ) << 0;
}
@@ -1444,19 +1444,19 @@ WRITE32_MEMBER(cps3_state::cps3_gfxflash_w)
if (ACCESSING_BITS_24_31) // GFX Flash 1
{
command = (data >> 24) & 0xff;
- logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip0->tag(), (offset<<1), command);
+ logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip0->tag().c_str(), (offset<<1), command);
chip0->write( (offset<<1), command);
}
if (ACCESSING_BITS_16_23) // GFX Flash 2
{
command = (data >> 16) & 0xff;
- logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip1->tag(), (offset<<1), command);
+ logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip1->tag().c_str(), (offset<<1), command);
chip1->write( (offset<<1), command);
}
if (ACCESSING_BITS_8_15) // GFX Flash 1
{
command = (data >> 8) & 0xff;
- logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip0->tag(), (offset<<1)+1, command);
+ logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip0->tag().c_str(), (offset<<1)+1, command);
chip0->write( (offset<<1)+0x1, command);
}
if (ACCESSING_BITS_0_7) // GFX Flash 2
@@ -1551,25 +1551,25 @@ void cps3_state::cps3_flashmain_w(int which, UINT32 offset, UINT32 data, UINT32
if (ACCESSING_BITS_24_31) // Flash 1
{
command = (data >> 24) & 0xff;
- logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][0]->tag(), offset, command);
+ logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][0]->tag().c_str(), offset, command);
m_simm[which][0]->write(offset, command);
}
if (ACCESSING_BITS_16_23) // Flash 2
{
command = (data >> 16) & 0xff;
- logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][1]->tag(), offset, command);
+ logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][1]->tag().c_str(), offset, command);
m_simm[which][1]->write(offset, command);
}
if (ACCESSING_BITS_8_15) // Flash 2
{
command = (data >> 8) & 0xff;
- logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][2]->tag(), offset, command);
+ logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][2]->tag().c_str(), offset, command);
m_simm[which][2]->write(offset, command);
}
if (ACCESSING_BITS_0_7) // Flash 2
{
command = (data >> 0) & 0xff;
- logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][3]->tag(), offset, command);
+ logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][3]->tag().c_str(), offset, command);
m_simm[which][3]->write(offset, command);
}
diff --git a/src/mame/drivers/craft.cpp b/src/mame/drivers/craft.cpp
index 0601bf3659c..e245a34365b 100644
--- a/src/mame/drivers/craft.cpp
+++ b/src/mame/drivers/craft.cpp
@@ -34,7 +34,7 @@
class craft_state : public driver_device
{
public:
- craft_state(const machine_config &mconfig, device_type type, const char *tag)
+ craft_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac(*this, "dac")
diff --git a/src/mame/drivers/crystal.cpp b/src/mame/drivers/crystal.cpp
index ebe604fbe48..911462452fe 100644
--- a/src/mame/drivers/crystal.cpp
+++ b/src/mame/drivers/crystal.cpp
@@ -195,7 +195,7 @@ GUN_xP are 6 pin gun connectors (pins 1-4 match the UNICO sytle guns):
class crystal_state : public driver_device
{
public:
- crystal_state(const machine_config &mconfig, device_type type, const char *tag)
+ crystal_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_sysregs(*this, "sysregs"),
m_workram(*this, "workram"),
diff --git a/src/mame/drivers/csc.cpp b/src/mame/drivers/csc.cpp
index 11dcf7763b6..e86e83faf88 100644
--- a/src/mame/drivers/csc.cpp
+++ b/src/mame/drivers/csc.cpp
@@ -28,7 +28,7 @@ WIP: plan to move to main fidelity chess driver
class csc_state : public driver_device
{
public:
- csc_state(const machine_config &mconfig, device_type type, const char *tag)
+ csc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speech(*this, "speech")
diff --git a/src/mame/drivers/cshooter.cpp b/src/mame/drivers/cshooter.cpp
index d667d57e710..60716859bd2 100644
--- a/src/mame/drivers/cshooter.cpp
+++ b/src/mame/drivers/cshooter.cpp
@@ -93,7 +93,7 @@ Stephh's notes (based on the game Z80 code and some tests) :
class cshooter_state : public driver_device
{
public:
- cshooter_state(const machine_config &mconfig, device_type type, const char *tag)
+ cshooter_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_seibu_sound(*this, "seibu_sound"),
diff --git a/src/mame/drivers/csplayh5.cpp b/src/mame/drivers/csplayh5.cpp
index fa87c2f7a02..0f9c3bd9fab 100644
--- a/src/mame/drivers/csplayh5.cpp
+++ b/src/mame/drivers/csplayh5.cpp
@@ -37,7 +37,7 @@
class csplayh5_state : public driver_device
{
public:
- csplayh5_state(const machine_config &mconfig, device_type type, const char *tag)
+ csplayh5_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_tmp68301(*this, "tmp68301"),
diff --git a/src/mame/drivers/cswat.cpp b/src/mame/drivers/cswat.cpp
index 3db9a40c5b9..f5bbd38bd23 100644
--- a/src/mame/drivers/cswat.cpp
+++ b/src/mame/drivers/cswat.cpp
@@ -30,7 +30,7 @@ TODO:
class cswat_state : public driver_device
{
public:
- cswat_state(const machine_config &mconfig, device_type type, const char *tag)
+ cswat_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/ct486.cpp b/src/mame/drivers/ct486.cpp
index 1af48cb802d..9119ec50e54 100644
--- a/src/mame/drivers/ct486.cpp
+++ b/src/mame/drivers/ct486.cpp
@@ -25,7 +25,7 @@
class ct486_state : public driver_device
{
public:
- ct486_state(const machine_config &mconfig, device_type type, const char *tag) :
+ ct486_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cs4031(*this, "cs4031"),
diff --git a/src/mame/drivers/cubeqst.cpp b/src/mame/drivers/cubeqst.cpp
index 2c7ccc972d7..5f4714c59f5 100644
--- a/src/mame/drivers/cubeqst.cpp
+++ b/src/mame/drivers/cubeqst.cpp
@@ -30,7 +30,7 @@
class cubeqst_state : public driver_device
{
public:
- cubeqst_state(const machine_config &mconfig, device_type type, const char *tag)
+ cubeqst_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_laserdisc(*this, "laserdisc"),
m_rotatecpu(*this, "rotate_cpu"),
diff --git a/src/mame/drivers/cubo.cpp b/src/mame/drivers/cubo.cpp
index 7f71189f542..82212710673 100644
--- a/src/mame/drivers/cubo.cpp
+++ b/src/mame/drivers/cubo.cpp
@@ -324,7 +324,7 @@ routines :
class cubo_state : public amiga_state
{
public:
- cubo_state(const machine_config &mconfig, device_type type, const char *tag) :
+ cubo_state(const machine_config &mconfig, device_type type, std::string tag) :
amiga_state(mconfig, type, tag),
m_p1_port(*this, "P1"),
m_p2_port(*this, "P2"),
diff --git a/src/mame/drivers/cultures.cpp b/src/mame/drivers/cultures.cpp
index f9d58e31d57..2e4adfaef02 100644
--- a/src/mame/drivers/cultures.cpp
+++ b/src/mame/drivers/cultures.cpp
@@ -20,7 +20,7 @@
class cultures_state : public driver_device
{
public:
- cultures_state(const machine_config &mconfig, device_type type, const char *tag)
+ cultures_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/cupidon.cpp b/src/mame/drivers/cupidon.cpp
index cf85470c75c..8b31e9f2c4e 100644
--- a/src/mame/drivers/cupidon.cpp
+++ b/src/mame/drivers/cupidon.cpp
@@ -21,7 +21,7 @@
class cupidon_state : public driver_device
{
public:
- cupidon_state(const machine_config &mconfig, device_type type, const char *tag)
+ cupidon_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxram(*this, "gfxram")
diff --git a/src/mame/drivers/cv1k.cpp b/src/mame/drivers/cv1k.cpp
index 02f4cfae416..20bb43d0bc5 100644
--- a/src/mame/drivers/cv1k.cpp
+++ b/src/mame/drivers/cv1k.cpp
@@ -185,7 +185,7 @@ Blitter Timing
class cv1k_state : public driver_device
{
public:
- cv1k_state(const machine_config &mconfig, device_type type, const char *tag)
+ cv1k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_blitter(*this, "blitter"),
diff --git a/src/mame/drivers/cvicny.cpp b/src/mame/drivers/cvicny.cpp
index 8939702099d..7d143e78bd7 100644
--- a/src/mame/drivers/cvicny.cpp
+++ b/src/mame/drivers/cvicny.cpp
@@ -39,7 +39,7 @@
class cvicny_state : public driver_device
{
public:
- cvicny_state(const machine_config &mconfig, device_type type, const char *tag)
+ cvicny_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_digit_last(0)
diff --git a/src/mame/drivers/cybertnk.cpp b/src/mame/drivers/cybertnk.cpp
index f38b11a5096..cba2127c11d 100644
--- a/src/mame/drivers/cybertnk.cpp
+++ b/src/mame/drivers/cybertnk.cpp
@@ -179,7 +179,7 @@ lev 7 : 0x7c : 0000 07e0 - input device clear?
class cybertnk_state : public driver_device
{
public:
- cybertnk_state(const machine_config &mconfig, device_type type, const char *tag)
+ cybertnk_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/cyclemb.cpp b/src/mame/drivers/cyclemb.cpp
index 0de60e76cac..14724984a03 100644
--- a/src/mame/drivers/cyclemb.cpp
+++ b/src/mame/drivers/cyclemb.cpp
@@ -80,7 +80,7 @@ Dumped by Chack'n
class cyclemb_state : public driver_device
{
public:
- cyclemb_state(const machine_config &mconfig, device_type type, const char *tag)
+ cyclemb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/czk80.cpp b/src/mame/drivers/czk80.cpp
index 1b0415d9b4f..d00d166636d 100644
--- a/src/mame/drivers/czk80.cpp
+++ b/src/mame/drivers/czk80.cpp
@@ -54,7 +54,7 @@ I/O ports: These ranges are what is guessed
class czk80_state : public driver_device
{
public:
- czk80_state(const machine_config &mconfig, device_type type, const char *tag)
+ czk80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG),
diff --git a/src/mame/drivers/d6800.cpp b/src/mame/drivers/d6800.cpp
index 79c9ecab945..770f01efd14 100644
--- a/src/mame/drivers/d6800.cpp
+++ b/src/mame/drivers/d6800.cpp
@@ -50,7 +50,7 @@
class d6800_state : public driver_device
{
public:
- d6800_state(const machine_config &mconfig, device_type type, const char *tag)
+ d6800_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cass(*this, "cassette"),
diff --git a/src/mame/drivers/d6809.cpp b/src/mame/drivers/d6809.cpp
index 1d6a17aecbe..cd8b45caeb6 100644
--- a/src/mame/drivers/d6809.cpp
+++ b/src/mame/drivers/d6809.cpp
@@ -91,7 +91,7 @@ devices.
class d6809_state : public driver_device
{
public:
- d6809_state(const machine_config &mconfig, device_type type, const char *tag)
+ d6809_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/d9final.cpp b/src/mame/drivers/d9final.cpp
index 571b365e972..3a95df85a80 100644
--- a/src/mame/drivers/d9final.cpp
+++ b/src/mame/drivers/d9final.cpp
@@ -29,7 +29,7 @@
class d9final_state : public driver_device
{
public:
- d9final_state(const machine_config &mconfig, device_type type, const char *tag)
+ d9final_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/dacholer.cpp b/src/mame/drivers/dacholer.cpp
index 9179640f006..b8663a93a9a 100644
--- a/src/mame/drivers/dacholer.cpp
+++ b/src/mame/drivers/dacholer.cpp
@@ -42,7 +42,7 @@
class dacholer_state : public driver_device
{
public:
- dacholer_state(const machine_config &mconfig, device_type type, const char *tag)
+ dacholer_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_audiocpu(*this,"audiocpu"),
diff --git a/src/mame/drivers/dai3wksi.cpp b/src/mame/drivers/dai3wksi.cpp
index c14016c1e49..f822bbbf15c 100644
--- a/src/mame/drivers/dai3wksi.cpp
+++ b/src/mame/drivers/dai3wksi.cpp
@@ -49,7 +49,7 @@ Driver Notes:
class dai3wksi_state : public driver_device
{
public:
- dai3wksi_state(const machine_config &mconfig, device_type type, const char *tag)
+ dai3wksi_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_samples(*this, "samples"),
diff --git a/src/mame/drivers/dambustr.cpp b/src/mame/drivers/dambustr.cpp
index 13626af687b..cdfb13279e6 100644
--- a/src/mame/drivers/dambustr.cpp
+++ b/src/mame/drivers/dambustr.cpp
@@ -60,7 +60,7 @@ Stephh's notes (based on the games Z80 code and some tests) :
class dambustr_state : public galaxold_state
{
public:
- dambustr_state(const machine_config &mconfig, device_type type, const char *tag)
+ dambustr_state(const machine_config &mconfig, device_type type, std::string tag)
: galaxold_state(mconfig, type, tag),
m_custom(*this, "cust") { }
diff --git a/src/mame/drivers/daruma.cpp b/src/mame/drivers/daruma.cpp
index 33f3226230c..d19c7d302bb 100644
--- a/src/mame/drivers/daruma.cpp
+++ b/src/mame/drivers/daruma.cpp
@@ -23,7 +23,7 @@
class daruma_state : public driver_device
{
public:
- daruma_state(const machine_config &mconfig, device_type type, const char *tag)
+ daruma_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker") { }
diff --git a/src/mame/drivers/dblcrown.cpp b/src/mame/drivers/dblcrown.cpp
index ed23cd2b96b..ba1f07daecb 100644
--- a/src/mame/drivers/dblcrown.cpp
+++ b/src/mame/drivers/dblcrown.cpp
@@ -55,7 +55,7 @@
class dblcrown_state : public driver_device
{
public:
- dblcrown_state(const machine_config &mconfig, device_type type, const char *tag)
+ dblcrown_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/dblewing.cpp b/src/mame/drivers/dblewing.cpp
index 9076254e457..1472e7ded5e 100644
--- a/src/mame/drivers/dblewing.cpp
+++ b/src/mame/drivers/dblewing.cpp
@@ -80,7 +80,7 @@ Notes:
class dblewing_state : public driver_device
{
public:
- dblewing_state(const machine_config &mconfig, device_type type, const char *tag)
+ dblewing_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_deco104(*this, "ioprot104"),
m_pf1_rowscroll(*this, "pf1_rowscroll"),
diff --git a/src/mame/drivers/dct11em.cpp b/src/mame/drivers/dct11em.cpp
index 6140955e06a..92e9ed71317 100644
--- a/src/mame/drivers/dct11em.cpp
+++ b/src/mame/drivers/dct11em.cpp
@@ -14,7 +14,7 @@
class dct11em_state : public driver_device
{
public:
- dct11em_state(const machine_config &mconfig, device_type type, const char *tag)
+ dct11em_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
virtual void machine_reset() override;
diff --git a/src/mame/drivers/ddayjlc.cpp b/src/mame/drivers/ddayjlc.cpp
index 39a0ad6718b..a9af7ae1da4 100644
--- a/src/mame/drivers/ddayjlc.cpp
+++ b/src/mame/drivers/ddayjlc.cpp
@@ -61,7 +61,7 @@ $842f = lives
class ddayjlc_state : public driver_device
{
public:
- ddayjlc_state(const machine_config &mconfig, device_type type, const char *tag)
+ ddayjlc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mainram(*this, "mainram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/drivers/ddealer.cpp b/src/mame/drivers/ddealer.cpp
index 3d475618c26..4d6a848c66d 100644
--- a/src/mame/drivers/ddealer.cpp
+++ b/src/mame/drivers/ddealer.cpp
@@ -120,7 +120,7 @@
class ddealer_state : public driver_device
{
public:
- ddealer_state(const machine_config &mconfig, device_type type, const char *tag)
+ ddealer_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vregs(*this, "vregs"),
m_left_fg_vram_top(*this, "left_fg_vratop"),
diff --git a/src/mame/drivers/ddenlovr.cpp b/src/mame/drivers/ddenlovr.cpp
index af2113dc8a4..27670651372 100644
--- a/src/mame/drivers/ddenlovr.cpp
+++ b/src/mame/drivers/ddenlovr.cpp
@@ -156,7 +156,7 @@ static const int mjflove_commands[8] = { BLIT_STOP, BLIT_CHANGE_PEN, BLIT_CHA
class ddenlovr_state : public dynax_state
{
public:
- ddenlovr_state(const machine_config &mconfig, device_type type, const char *tag)
+ ddenlovr_state(const machine_config &mconfig, device_type type, std::string tag)
: dynax_state(mconfig, type, tag),
m_dsw_sel16(*this, "dsw_sel16"),
m_protection1(*this, "protection1"),
diff --git a/src/mame/drivers/ddragon3.cpp b/src/mame/drivers/ddragon3.cpp
index 6a29b3b9e62..423fbc6f924 100644
--- a/src/mame/drivers/ddragon3.cpp
+++ b/src/mame/drivers/ddragon3.cpp
@@ -290,13 +290,13 @@ WRITE8_MEMBER(wwfwfest_state::wwfwfest_priority_w)
/* DIPs are spread across the other input ports */
CUSTOM_INPUT_MEMBER(wwfwfest_state::dsw_3f_r)
{
- const char *tag = (const char *)param;
+ std::string tag = (const char *)param;
return ioport(tag)->read() & 0x3f;
}
CUSTOM_INPUT_MEMBER(wwfwfest_state::dsw_c0_r)
{
- const char *tag = (const char *)param;
+ std::string tag = (const char *)param;
return (ioport(tag)->read() & 0xc0) >> 6;
}
diff --git a/src/mame/drivers/de_2.cpp b/src/mame/drivers/de_2.cpp
index d51d3d5f4a3..fd86c59950a 100644
--- a/src/mame/drivers/de_2.cpp
+++ b/src/mame/drivers/de_2.cpp
@@ -41,7 +41,7 @@
class de_2_state : public genpin_class
{
public:
- de_2_state(const machine_config &mconfig, device_type type, const char *tag)
+ de_2_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag),
m_ym2151(*this, "ym2151"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/de_3.cpp b/src/mame/drivers/de_3.cpp
index 24793a2058b..6058077618c 100644
--- a/src/mame/drivers/de_3.cpp
+++ b/src/mame/drivers/de_3.cpp
@@ -33,7 +33,7 @@ extern const char layout_pinball[];
class de_3_state : public genpin_class
{
public:
- de_3_state(const machine_config &mconfig, device_type type, const char *tag)
+ de_3_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag),
m_dmdtype1(*this, "decodmd1"),
m_dmdtype2(*this, "decodmd2"),
diff --git a/src/mame/drivers/de_3b.cpp b/src/mame/drivers/de_3b.cpp
index f914a4ad3a4..764d23f2b0f 100644
--- a/src/mame/drivers/de_3b.cpp
+++ b/src/mame/drivers/de_3b.cpp
@@ -16,7 +16,7 @@ extern const char layout_pinball[];
class de_3b_state : public driver_device
{
public:
- de_3b_state(const machine_config &mconfig, device_type type, const char *tag)
+ de_3b_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_decobsmt(*this, "decobsmt"),
m_dmdtype3(*this, "decodmd")
diff --git a/src/mame/drivers/deco156.cpp b/src/mame/drivers/deco156.cpp
index faa0f3bb6a5..03b2b627176 100644
--- a/src/mame/drivers/deco156.cpp
+++ b/src/mame/drivers/deco156.cpp
@@ -28,7 +28,7 @@
class deco156_state : public driver_device
{
public:
- deco156_state(const machine_config &mconfig, device_type type, const char *tag)
+ deco156_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_deco_tilegen1(*this, "tilegen1"),
@@ -67,7 +67,7 @@ public:
virtual void video_start() override;
UINT32 screen_update_wcvol95(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
INTERRUPT_GEN_MEMBER(deco32_vbl_interrupt);
- void descramble_sound( const char *tag );
+ void descramble_sound( std::string tag );
DECO16IC_BANK_CB_MEMBER(bank_callback);
DECOSPR_PRIORITY_CB_MEMBER(pri_callback);
};
@@ -632,7 +632,7 @@ ROM_END
/**********************************************************************************/
-void deco156_state::descramble_sound( const char *tag )
+void deco156_state::descramble_sound( std::string tag )
{
UINT8 *rom = memregion(tag)->base();
int length = memregion(tag)->bytes();
diff --git a/src/mame/drivers/deco_ld.cpp b/src/mame/drivers/deco_ld.cpp
index 13beeaf905c..a64b7213068 100644
--- a/src/mame/drivers/deco_ld.cpp
+++ b/src/mame/drivers/deco_ld.cpp
@@ -117,7 +117,7 @@ Sound processor - 6502
class deco_ld_state : public driver_device
{
public:
- deco_ld_state(const machine_config &mconfig, device_type type, const char *tag)
+ deco_ld_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/dectalk.cpp b/src/mame/drivers/dectalk.cpp
index 5f6a9b8cba2..3dd454f80fe 100644
--- a/src/mame/drivers/dectalk.cpp
+++ b/src/mame/drivers/dectalk.cpp
@@ -275,7 +275,7 @@ public:
TIMER_OUTFIFO_READ
};
- dectalk_state(const machine_config &mconfig, device_type type, const char *tag)
+ dectalk_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dsp(*this, "dsp"),
diff --git a/src/mame/drivers/decwritr.cpp b/src/mame/drivers/decwritr.cpp
index 105a113d703..c839117bae8 100644
--- a/src/mame/drivers/decwritr.cpp
+++ b/src/mame/drivers/decwritr.cpp
@@ -25,7 +25,7 @@ class decwriter_state : public driver_device
{
public:
// constructor
- decwriter_state(const machine_config &mconfig, device_type type, const char *tag)
+ decwriter_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "beeper"),
diff --git a/src/mame/drivers/deshoros.cpp b/src/mame/drivers/deshoros.cpp
index c7fa5025d59..4ce6f3c389b 100644
--- a/src/mame/drivers/deshoros.cpp
+++ b/src/mame/drivers/deshoros.cpp
@@ -36,7 +36,7 @@ TODO:
class destiny_state : public driver_device
{
public:
- destiny_state(const machine_config &mconfig, device_type type, const char *tag)
+ destiny_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_beeper(*this, "beeper")
diff --git a/src/mame/drivers/destroyr.cpp b/src/mame/drivers/destroyr.cpp
index 026e057f14b..d149d6f725f 100644
--- a/src/mame/drivers/destroyr.cpp
+++ b/src/mame/drivers/destroyr.cpp
@@ -27,7 +27,7 @@ public:
TIMER_DESTROYR_FRAME
};
- destroyr_state(const machine_config &mconfig, device_type type, const char *tag)
+ destroyr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/dfruit.cpp b/src/mame/drivers/dfruit.cpp
index 20e459a2b3d..95cf86ec28a 100644
--- a/src/mame/drivers/dfruit.cpp
+++ b/src/mame/drivers/dfruit.cpp
@@ -26,7 +26,7 @@
class dfruit_state : public driver_device
{
public:
- dfruit_state(const machine_config &mconfig, device_type type, const char *tag)
+ dfruit_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_vdp(*this, "tc0091lvc")
diff --git a/src/mame/drivers/dgpix.cpp b/src/mame/drivers/dgpix.cpp
index d3a3f8d270e..891e5434368 100644
--- a/src/mame/drivers/dgpix.cpp
+++ b/src/mame/drivers/dgpix.cpp
@@ -159,7 +159,7 @@ Notes:
class dgpix_state : public driver_device
{
public:
- dgpix_state(const machine_config &mconfig, device_type type, const char *tag)
+ dgpix_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_vblank(*this, "VBLANK") { }
diff --git a/src/mame/drivers/didact.cpp b/src/mame/drivers/didact.cpp
index 615b3c199c1..7a7a1b13e16 100644
--- a/src/mame/drivers/didact.cpp
+++ b/src/mame/drivers/didact.cpp
@@ -140,7 +140,7 @@
class e100_state : public driver_device
{
public:
- e100_state(const machine_config &mconfig, device_type type, const char *tag)
+ e100_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pia1(*this, "pia1"),
@@ -157,7 +157,7 @@ protected:
class md6802_state : public driver_device
{
public:
- md6802_state(const machine_config &mconfig, device_type type, const char *tag)
+ md6802_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pia1(*this, "pia1"),
@@ -179,7 +179,7 @@ protected:
class mp68a_state : public driver_device
{
public:
- mp68a_state(const machine_config &mconfig, device_type type, const char *tag)
+ mp68a_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
,m_maincpu(*this, "maincpu")
,m_io_line0(*this, "LINE0")
diff --git a/src/mame/drivers/digel804.cpp b/src/mame/drivers/digel804.cpp
index 8e56c443a0f..1ed5a866db2 100644
--- a/src/mame/drivers/digel804.cpp
+++ b/src/mame/drivers/digel804.cpp
@@ -68,7 +68,7 @@
class digel804_state : public driver_device
{
public:
- digel804_state(const machine_config &mconfig, device_type type, const char *tag)
+ digel804_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker"),
diff --git a/src/mame/drivers/dim68k.cpp b/src/mame/drivers/dim68k.cpp
index ccbfe695144..797b4ec67d7 100644
--- a/src/mame/drivers/dim68k.cpp
+++ b/src/mame/drivers/dim68k.cpp
@@ -44,7 +44,7 @@
class dim68k_state : public driver_device
{
public:
- dim68k_state(const machine_config &mconfig, device_type type, const char *tag)
+ dim68k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_crtc(*this, "crtc"),
diff --git a/src/mame/drivers/discoboy.cpp b/src/mame/drivers/discoboy.cpp
index f127c4554e2..c2968e9bdc1 100644
--- a/src/mame/drivers/discoboy.cpp
+++ b/src/mame/drivers/discoboy.cpp
@@ -51,7 +51,7 @@ Notes:
class discoboy_state : public driver_device
{
public:
- discoboy_state(const machine_config &mconfig, device_type type, const char *tag)
+ discoboy_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_audiocpu(*this, "audiocpu") ,
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/diverboy.cpp b/src/mame/drivers/diverboy.cpp
index b4146901107..c83c94dd26b 100644
--- a/src/mame/drivers/diverboy.cpp
+++ b/src/mame/drivers/diverboy.cpp
@@ -58,7 +58,7 @@
class diverboy_state : public driver_device
{
public:
- diverboy_state(const machine_config &mconfig, device_type type, const char *tag)
+ diverboy_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/dlair.cpp b/src/mame/drivers/dlair.cpp
index 016e71a5358..54bea119a1b 100644
--- a/src/mame/drivers/dlair.cpp
+++ b/src/mame/drivers/dlair.cpp
@@ -50,7 +50,7 @@
class dlair_state : public driver_device
{
public:
- dlair_state(const machine_config &mconfig, device_type type, const char *tag) :
+ dlair_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker"),
diff --git a/src/mame/drivers/dlair2.cpp b/src/mame/drivers/dlair2.cpp
index 0b246616fe0..3446c8b6d13 100644
--- a/src/mame/drivers/dlair2.cpp
+++ b/src/mame/drivers/dlair2.cpp
@@ -38,7 +38,7 @@ http://www.dragons-lair-project.com/tech/pages/dl2.asp
class dlair2_state : public driver_device
{
public:
- dlair2_state(const machine_config &mconfig, device_type type, const char *tag)
+ dlair2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"){ }
diff --git a/src/mame/drivers/dmndrby.cpp b/src/mame/drivers/dmndrby.cpp
index 209ac140802..7aecf6fd278 100644
--- a/src/mame/drivers/dmndrby.cpp
+++ b/src/mame/drivers/dmndrby.cpp
@@ -61,7 +61,7 @@ DD10 DD14 DD18 H5 DD21
class dmndrby_state : public driver_device
{
public:
- dmndrby_state(const machine_config &mconfig, device_type type, const char *tag)
+ dmndrby_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_scroll_ram(*this, "scroll_ram"),
m_sprite_ram(*this, "sprite_ram"),
diff --git a/src/mame/drivers/dms5000.cpp b/src/mame/drivers/dms5000.cpp
index 953f9aebe74..d5ed20a25a9 100644
--- a/src/mame/drivers/dms5000.cpp
+++ b/src/mame/drivers/dms5000.cpp
@@ -15,7 +15,7 @@
class dms5000_state : public driver_device
{
public:
- dms5000_state(const machine_config &mconfig, device_type type, const char *tag)
+ dms5000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/dms86.cpp b/src/mame/drivers/dms86.cpp
index 5ce16471276..288b13c74cb 100644
--- a/src/mame/drivers/dms86.cpp
+++ b/src/mame/drivers/dms86.cpp
@@ -33,7 +33,7 @@ the monitor and goes straight to "Joining HiNet".
class dms86_state : public driver_device
{
public:
- dms86_state(const machine_config &mconfig, device_type type, const char *tag)
+ dms86_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/dmv.cpp b/src/mame/drivers/dmv.cpp
index 8940c1263fa..ed014a8b17c 100644
--- a/src/mame/drivers/dmv.cpp
+++ b/src/mame/drivers/dmv.cpp
@@ -38,7 +38,7 @@
class dmv_state : public driver_device
{
public:
- dmv_state(const machine_config &mconfig, device_type type, const char *tag)
+ dmv_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_hgdc(*this, "upd7220"),
diff --git a/src/mame/drivers/dolphunk.cpp b/src/mame/drivers/dolphunk.cpp
index 329c14b446f..a66f67645de 100644
--- a/src/mame/drivers/dolphunk.cpp
+++ b/src/mame/drivers/dolphunk.cpp
@@ -91,7 +91,7 @@
class dauphin_state : public driver_device
{
public:
- dauphin_state(const machine_config &mconfig, device_type type, const char *tag)
+ dauphin_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_speaker(*this, "speaker")
diff --git a/src/mame/drivers/dominob.cpp b/src/mame/drivers/dominob.cpp
index 1e64e010e4e..c1d6fa52b96 100644
--- a/src/mame/drivers/dominob.cpp
+++ b/src/mame/drivers/dominob.cpp
@@ -69,7 +69,7 @@ Notes:
class dominob_state : public driver_device
{
public:
- dominob_state(const machine_config &mconfig, device_type type, const char *tag)
+ dominob_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/drivers/dorachan.cpp b/src/mame/drivers/dorachan.cpp
index daf69583d1a..39209358672 100644
--- a/src/mame/drivers/dorachan.cpp
+++ b/src/mame/drivers/dorachan.cpp
@@ -17,7 +17,7 @@ Todo:
class dorachan_state : public driver_device
{
public:
- dorachan_state(const machine_config &mconfig, device_type type, const char *tag)
+ dorachan_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_screen(*this, "screen"),
diff --git a/src/mame/drivers/dotrikun.cpp b/src/mame/drivers/dotrikun.cpp
index 4d4424fd4a8..b90ae380823 100644
--- a/src/mame/drivers/dotrikun.cpp
+++ b/src/mame/drivers/dotrikun.cpp
@@ -29,7 +29,7 @@ SOUND : (none)
class dotrikun_state : public driver_device
{
public:
- dotrikun_state(const machine_config &mconfig, device_type type, const char *tag)
+ dotrikun_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_dotrikun_bitmap(*this, "dotrikun_bitmap"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/dps1.cpp b/src/mame/drivers/dps1.cpp
index 1250d4881c5..b2b9e8ea468 100644
--- a/src/mame/drivers/dps1.cpp
+++ b/src/mame/drivers/dps1.cpp
@@ -8,7 +8,7 @@
class dps1_state : public driver_device
{
public:
- dps1_state(const machine_config &mconfig, device_type type, const char *tag)
+ dps1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
{ }
};
diff --git a/src/mame/drivers/dreambal.cpp b/src/mame/drivers/dreambal.cpp
index 19516ea4123..707fc78c869 100644
--- a/src/mame/drivers/dreambal.cpp
+++ b/src/mame/drivers/dreambal.cpp
@@ -33,7 +33,7 @@ lamps?
class dreambal_state : public driver_device
{
public:
- dreambal_state(const machine_config &mconfig, device_type type, const char *tag)
+ dreambal_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_deco104(*this, "ioprot104"),
diff --git a/src/mame/drivers/dreamwld.cpp b/src/mame/drivers/dreamwld.cpp
index 85725dd36ab..403bc881d64 100644
--- a/src/mame/drivers/dreamwld.cpp
+++ b/src/mame/drivers/dreamwld.cpp
@@ -104,7 +104,7 @@ Stephh's notes (based on the game M68EC020 code and some tests) :
class dreamwld_state : public driver_device
{
public:
- dreamwld_state(const machine_config &mconfig, device_type type, const char *tag)
+ dreamwld_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_bg_videoram(*this, "bg_videoram"),
diff --git a/src/mame/drivers/drtomy.cpp b/src/mame/drivers/drtomy.cpp
index bfa7a311597..1536bd9ecee 100644
--- a/src/mame/drivers/drtomy.cpp
+++ b/src/mame/drivers/drtomy.cpp
@@ -16,7 +16,7 @@ similar hardware.
class drtomy_state : public driver_device
{
public:
- drtomy_state(const machine_config &mconfig, device_type type, const char *tag)
+ drtomy_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram_fg(*this, "videorafg"),
m_videoram_bg(*this, "videorabg"),
diff --git a/src/mame/drivers/drw80pkr.cpp b/src/mame/drivers/drw80pkr.cpp
index c006afbb449..5a4a054d3c7 100644
--- a/src/mame/drivers/drw80pkr.cpp
+++ b/src/mame/drivers/drw80pkr.cpp
@@ -36,7 +36,7 @@
class drw80pkr_state : public driver_device
{
public:
- drw80pkr_state(const machine_config &mconfig, device_type type, const char *tag)
+ drw80pkr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode") { }
diff --git a/src/mame/drivers/dsb46.cpp b/src/mame/drivers/dsb46.cpp
index a0066e94d80..2897d13b8ce 100644
--- a/src/mame/drivers/dsb46.cpp
+++ b/src/mame/drivers/dsb46.cpp
@@ -27,7 +27,7 @@ Both roms contain Z80 code.
class dsb46_state : public driver_device
{
public:
- dsb46_state(const machine_config &mconfig, device_type type, const char *tag)
+ dsb46_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/dual68.cpp b/src/mame/drivers/dual68.cpp
index 122f00090bf..438a58e41d7 100644
--- a/src/mame/drivers/dual68.cpp
+++ b/src/mame/drivers/dual68.cpp
@@ -18,7 +18,7 @@
class dual68_state : public driver_device
{
public:
- dual68_state(const machine_config &mconfig, device_type type, const char *tag)
+ dual68_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG),
diff --git a/src/mame/drivers/dunhuang.cpp b/src/mame/drivers/dunhuang.cpp
index 44c44c38510..a04485f33e0 100644
--- a/src/mame/drivers/dunhuang.cpp
+++ b/src/mame/drivers/dunhuang.cpp
@@ -63,7 +63,7 @@ Notes:
class dunhuang_state : public driver_device
{
public:
- dunhuang_state(const machine_config &mconfig, device_type type, const char *tag)
+ dunhuang_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/dvk_kcgd.cpp b/src/mame/drivers/dvk_kcgd.cpp
index eb2236cee5d..4234b1b68b0 100644
--- a/src/mame/drivers/dvk_kcgd.cpp
+++ b/src/mame/drivers/dvk_kcgd.cpp
@@ -54,7 +54,7 @@
class kcgd_state : public driver_device
{
public:
- kcgd_state(const machine_config &mconfig, device_type type, const char *tag) :
+ kcgd_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
// m_ms7004(*this, "ms7004"),
diff --git a/src/mame/drivers/dvk_ksm.cpp b/src/mame/drivers/dvk_ksm.cpp
index a136035ca0f..e05af2c96a4 100644
--- a/src/mame/drivers/dvk_ksm.cpp
+++ b/src/mame/drivers/dvk_ksm.cpp
@@ -92,7 +92,7 @@ ksm|DVK KSM,
class ksm_state : public driver_device
{
public:
- ksm_state(const machine_config &mconfig, device_type type, const char *tag) :
+ ksm_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_p_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/dwarfd.cpp b/src/mame/drivers/dwarfd.cpp
index bea0ff9d342..05b49a77fee 100644
--- a/src/mame/drivers/dwarfd.cpp
+++ b/src/mame/drivers/dwarfd.cpp
@@ -306,7 +306,7 @@ uPC1352C @ N3
class dwarfd_state : public driver_device
{
public:
- dwarfd_state(const machine_config &mconfig, device_type type, const char *tag)
+ dwarfd_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_palette(*this, "palette"),
diff --git a/src/mame/drivers/dynadice.cpp b/src/mame/drivers/dynadice.cpp
index c2604827b94..b867ec9cc88 100644
--- a/src/mame/drivers/dynadice.cpp
+++ b/src/mame/drivers/dynadice.cpp
@@ -43,7 +43,7 @@ dy_6.bin (near Z80)
class dynadice_state : public driver_device
{
public:
- dynadice_state(const machine_config &mconfig, device_type type, const char *tag)
+ dynadice_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/eacc.cpp b/src/mame/drivers/eacc.cpp
index 38e7d29c3f3..36c5449f56e 100644
--- a/src/mame/drivers/eacc.cpp
+++ b/src/mame/drivers/eacc.cpp
@@ -57,7 +57,7 @@
class eacc_state : public driver_device
{
public:
- eacc_state(const machine_config &mconfig, device_type type, const char *tag)
+ eacc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pia(*this, "pia"),
diff --git a/src/mame/drivers/ec184x.cpp b/src/mame/drivers/ec184x.cpp
index e0a1ed23348..163822be1b3 100644
--- a/src/mame/drivers/ec184x.cpp
+++ b/src/mame/drivers/ec184x.cpp
@@ -38,7 +38,7 @@
class ec184x_state : public driver_device
{
public:
- ec184x_state(const machine_config &mconfig, device_type type, const char *tag)
+ ec184x_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/ec65.cpp b/src/mame/drivers/ec65.cpp
index 8d458b174b7..da546879db1 100644
--- a/src/mame/drivers/ec65.cpp
+++ b/src/mame/drivers/ec65.cpp
@@ -29,7 +29,7 @@
class ec65_state : public driver_device
{
public:
- ec65_state(const machine_config &mconfig, device_type type, const char *tag)
+ ec65_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_via_0(*this, VIA6522_0_TAG),
m_via_1(*this, VIA6522_1_TAG),
@@ -54,7 +54,7 @@ public:
class ec65k_state : public driver_device
{
public:
- ec65k_state(const machine_config &mconfig, device_type type, const char *tag)
+ ec65k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
{
}
diff --git a/src/mame/drivers/ecoinf1.cpp b/src/mame/drivers/ecoinf1.cpp
index a4ba2c64e56..b7457795589 100644
--- a/src/mame/drivers/ecoinf1.cpp
+++ b/src/mame/drivers/ecoinf1.cpp
@@ -18,7 +18,7 @@
class ecoinf1_state : public driver_device
{
public:
- ecoinf1_state(const machine_config &mconfig, device_type type, const char *tag)
+ ecoinf1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
DECLARE_DRIVER_INIT(ecoinf1);
diff --git a/src/mame/drivers/ecoinf2.cpp b/src/mame/drivers/ecoinf2.cpp
index 88509f164dc..b6f00522678 100644
--- a/src/mame/drivers/ecoinf2.cpp
+++ b/src/mame/drivers/ecoinf2.cpp
@@ -21,7 +21,7 @@
class ecoinf2_state : public driver_device
{
public:
- ecoinf2_state(const machine_config &mconfig, device_type type, const char *tag)
+ ecoinf2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_reel0(*this, "reel0"),
diff --git a/src/mame/drivers/ecoinf3.cpp b/src/mame/drivers/ecoinf3.cpp
index a9d72e6fbc8..2f25850c88b 100644
--- a/src/mame/drivers/ecoinf3.cpp
+++ b/src/mame/drivers/ecoinf3.cpp
@@ -23,7 +23,7 @@
class ecoinf3_state : public driver_device
{
public:
- ecoinf3_state(const machine_config &mconfig, device_type type, const char *tag)
+ ecoinf3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_reel0(*this, "reel0"),
diff --git a/src/mame/drivers/ecoinfr.cpp b/src/mame/drivers/ecoinfr.cpp
index 030c23c0cde..9085f6d7814 100644
--- a/src/mame/drivers/ecoinfr.cpp
+++ b/src/mame/drivers/ecoinfr.cpp
@@ -53,7 +53,7 @@
class ecoinfr_state : public driver_device
{
public:
- ecoinfr_state(const machine_config &mconfig, device_type type, const char *tag)
+ ecoinfr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_reel0(*this, "reel0"),
diff --git a/src/mame/drivers/egghunt.cpp b/src/mame/drivers/egghunt.cpp
index 863d39e1a01..4b924a5eb7d 100644
--- a/src/mame/drivers/egghunt.cpp
+++ b/src/mame/drivers/egghunt.cpp
@@ -50,7 +50,7 @@ I dumped it with this configuration. In case I'll redump it desoldering pin 16 f
class egghunt_state : public driver_device
{
public:
- egghunt_state(const machine_config &mconfig, device_type type, const char *tag)
+ egghunt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_audiocpu(*this, "audiocpu"),
m_atram(*this, "atram"),
diff --git a/src/mame/drivers/einstein.cpp b/src/mame/drivers/einstein.cpp
index c2fd45e06b8..354e365305d 100644
--- a/src/mame/drivers/einstein.cpp
+++ b/src/mame/drivers/einstein.cpp
@@ -459,7 +459,7 @@ UINT32 einstein_state::screen_update_einstein2(screen_device &screen, bitmap_rgb
else if (&screen == m_crtc_screen)
m_mc6845->screen_update( screen, bitmap, cliprect);
else
- fatalerror("Unknown screen '%s'\n", screen.tag());
+ fatalerror("Unknown screen '%s'\n", screen.tag().c_str());
return 0;
}
diff --git a/src/mame/drivers/elecbowl.cpp b/src/mame/drivers/elecbowl.cpp
index 65a2070bc5c..5110ced34b9 100644
--- a/src/mame/drivers/elecbowl.cpp
+++ b/src/mame/drivers/elecbowl.cpp
@@ -36,7 +36,7 @@
class elecbowl_state : public hh_tms1k_state
{
public:
- elecbowl_state(const machine_config &mconfig, device_type type, const char *tag)
+ elecbowl_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/electra.cpp b/src/mame/drivers/electra.cpp
index 7ef23853bec..eeeb9f79318 100644
--- a/src/mame/drivers/electra.cpp
+++ b/src/mame/drivers/electra.cpp
@@ -43,7 +43,7 @@
class electra_state : public driver_device
{
public:
- electra_state(const machine_config &mconfig, device_type type, const char *tag)
+ electra_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_video(*this, "fixfreq")
diff --git a/src/mame/drivers/elekscmp.cpp b/src/mame/drivers/elekscmp.cpp
index 0eecbf9df4e..15adab5932c 100644
--- a/src/mame/drivers/elekscmp.cpp
+++ b/src/mame/drivers/elekscmp.cpp
@@ -32,7 +32,7 @@ ToDo:
class elekscmp_state : public driver_device
{
public:
- elekscmp_state(const machine_config &mconfig, device_type type, const char *tag)
+ elekscmp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_x0(*this, "X0"),
diff --git a/src/mame/drivers/elwro800.cpp b/src/mame/drivers/elwro800.cpp
index fa377badef9..89efec42d52 100644
--- a/src/mame/drivers/elwro800.cpp
+++ b/src/mame/drivers/elwro800.cpp
@@ -35,7 +35,7 @@
class elwro800_state : public spectrum_state
{
public:
- elwro800_state(const machine_config &mconfig, device_type type, const char *tag)
+ elwro800_state(const machine_config &mconfig, device_type type, std::string tag)
: spectrum_state(mconfig, type, tag),
m_i8251(*this, "i8251"),
m_i8255(*this, "ppi8255"),
diff --git a/src/mame/drivers/embargo.cpp b/src/mame/drivers/embargo.cpp
index 586b96e16af..f7471a23501 100644
--- a/src/mame/drivers/embargo.cpp
+++ b/src/mame/drivers/embargo.cpp
@@ -13,7 +13,7 @@
class embargo_state : public driver_device
{
public:
- embargo_state(const machine_config &mconfig, device_type type, const char *tag)
+ embargo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/enigma2.cpp b/src/mame/drivers/enigma2.cpp
index 081b3f8ce96..e88402b8a00 100644
--- a/src/mame/drivers/enigma2.cpp
+++ b/src/mame/drivers/enigma2.cpp
@@ -58,7 +58,7 @@ TODO:
class enigma2_state : public driver_device
{
public:
- enigma2_state(const machine_config &mconfig, device_type type, const char *tag)
+ enigma2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/enmirage.cpp b/src/mame/drivers/enmirage.cpp
index cdea1be9d8a..2de4a9e40aa 100644
--- a/src/mame/drivers/enmirage.cpp
+++ b/src/mame/drivers/enmirage.cpp
@@ -56,7 +56,7 @@
class mirage_state : public driver_device
{
public:
- mirage_state(const machine_config &mconfig, device_type type, const char *tag)
+ mirage_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_fdc(*this, "wd1772"),
diff --git a/src/mame/drivers/eolith16.cpp b/src/mame/drivers/eolith16.cpp
index 6fe073c131c..df2b161a0aa 100644
--- a/src/mame/drivers/eolith16.cpp
+++ b/src/mame/drivers/eolith16.cpp
@@ -22,7 +22,7 @@
class eolith16_state : public eolith_state
{
public:
- eolith16_state(const machine_config &mconfig, device_type type, const char *tag)
+ eolith16_state(const machine_config &mconfig, device_type type, std::string tag)
: eolith_state(mconfig, type, tag) { }
std::unique_ptr<UINT16[]> m_vram;
diff --git a/src/mame/drivers/ertictac.cpp b/src/mame/drivers/ertictac.cpp
index e3723ee91cd..55bf32e6b20 100644
--- a/src/mame/drivers/ertictac.cpp
+++ b/src/mame/drivers/ertictac.cpp
@@ -34,7 +34,7 @@ PCB has a single OSC at 24MHz
class ertictac_state : public archimedes_state
{
public:
- ertictac_state(const machine_config &mconfig, device_type type, const char *tag)
+ ertictac_state(const machine_config &mconfig, device_type type, std::string tag)
: archimedes_state(mconfig, type, tag) { }
DECLARE_READ32_MEMBER(ertictac_podule_r);
diff --git a/src/mame/drivers/esh.cpp b/src/mame/drivers/esh.cpp
index 72dcb78dfcb..597eeed6cad 100644
--- a/src/mame/drivers/esh.cpp
+++ b/src/mame/drivers/esh.cpp
@@ -38,7 +38,7 @@ public:
TIMER_IRQ_STOP
};
- esh_state(const machine_config &mconfig, device_type type, const char *tag)
+ esh_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_laserdisc(*this, "laserdisc") ,
m_tile_ram(*this, "tile_ram"),
diff --git a/src/mame/drivers/esq1.cpp b/src/mame/drivers/esq1.cpp
index daa63b3904d..a30a463116c 100644
--- a/src/mame/drivers/esq1.cpp
+++ b/src/mame/drivers/esq1.cpp
@@ -194,7 +194,7 @@ class esq1_filters : public device_t,
{
public:
// construction/destruction
- esq1_filters(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ esq1_filters(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void set_vca(int channel, UINT8 value);
void set_vpan(int channel, UINT8 value);
@@ -225,7 +225,7 @@ private:
static const device_type ESQ1_FILTERS = &device_creator<esq1_filters>;
-esq1_filters::esq1_filters(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+esq1_filters::esq1_filters(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ESQ1_FILTERS, "ESQ1 Filters stage", tag, owner, clock, "esq1-filters", __FILE__),
device_sound_interface(mconfig, *this)
{
@@ -382,7 +382,7 @@ void esq1_filters::sound_stream_update(sound_stream &stream, stream_sample_t **i
class esq1_state : public driver_device
{
public:
- esq1_state(const machine_config &mconfig, device_type type, const char *tag)
+ esq1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_duart(*this, "duart"),
diff --git a/src/mame/drivers/esq5505.cpp b/src/mame/drivers/esq5505.cpp
index 9b3e2493894..14229a2a11a 100644
--- a/src/mame/drivers/esq5505.cpp
+++ b/src/mame/drivers/esq5505.cpp
@@ -163,7 +163,7 @@ static void ATTR_PRINTF(1,2) print_to_stderr(const char *format, ...)
class esq5505_state : public driver_device
{
public:
- esq5505_state(const machine_config &mconfig, device_type type, const char *tag)
+ esq5505_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_duart(*this, "duart"),
diff --git a/src/mame/drivers/esqasr.cpp b/src/mame/drivers/esqasr.cpp
index 7bdcc11d521..7ab4f543409 100644
--- a/src/mame/drivers/esqasr.cpp
+++ b/src/mame/drivers/esqasr.cpp
@@ -48,7 +48,7 @@
class esqasr_state : public driver_device
{
public:
- esqasr_state(const machine_config &mconfig, device_type type, const char *tag)
+ esqasr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_esp(*this, "esp"),
diff --git a/src/mame/drivers/esqkt.cpp b/src/mame/drivers/esqkt.cpp
index b1a40fbb732..1936171d8cd 100644
--- a/src/mame/drivers/esqkt.cpp
+++ b/src/mame/drivers/esqkt.cpp
@@ -98,7 +98,7 @@
class esqkt_state : public driver_device
{
public:
- esqkt_state(const machine_config &mconfig, device_type type, const char *tag)
+ esqkt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_esp(*this, "esp"),
diff --git a/src/mame/drivers/esqmr.cpp b/src/mame/drivers/esqmr.cpp
index 1de6b16b3a4..2467863c702 100644
--- a/src/mame/drivers/esqmr.cpp
+++ b/src/mame/drivers/esqmr.cpp
@@ -208,7 +208,7 @@
class esqmr_state : public driver_device
{
public:
- esqmr_state(const machine_config &mconfig, device_type type, const char *tag)
+ esqmr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_sq1vfd(*this, "sq1vfd")
diff --git a/src/mame/drivers/et3400.cpp b/src/mame/drivers/et3400.cpp
index aa02cf5e016..316a1d83890 100644
--- a/src/mame/drivers/et3400.cpp
+++ b/src/mame/drivers/et3400.cpp
@@ -20,7 +20,7 @@
class et3400_state : public driver_device
{
public:
- et3400_state(const machine_config &mconfig, device_type type, const char *tag)
+ et3400_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/ettrivia.cpp b/src/mame/drivers/ettrivia.cpp
index 76b8c8b4d12..0c911750685 100644
--- a/src/mame/drivers/ettrivia.cpp
+++ b/src/mame/drivers/ettrivia.cpp
@@ -36,7 +36,7 @@ Notes:
class ettrivia_state : public driver_device
{
public:
- ettrivia_state(const machine_config &mconfig, device_type type, const char *tag)
+ ettrivia_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fg_videoram(*this, "fg_videoram"),
m_bg_videoram(*this, "bg_videoram"),
diff --git a/src/mame/drivers/europc.cpp b/src/mame/drivers/europc.cpp
index 8a1f92ecfb0..e053665368b 100644
--- a/src/mame/drivers/europc.cpp
+++ b/src/mame/drivers/europc.cpp
@@ -11,7 +11,7 @@
class europc_pc_state : public driver_device
{
public:
- europc_pc_state(const machine_config &mconfig, device_type type, const char *tag) :
+ europc_pc_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mb(*this, "mb"),
diff --git a/src/mame/drivers/evmbug.cpp b/src/mame/drivers/evmbug.cpp
index 584544ed43d..40669218ced 100644
--- a/src/mame/drivers/evmbug.cpp
+++ b/src/mame/drivers/evmbug.cpp
@@ -20,7 +20,7 @@
class evmbug_state : public driver_device
{
public:
- evmbug_state(const machine_config &mconfig, device_type type, const char *tag)
+ evmbug_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/excali64.cpp b/src/mame/drivers/excali64.cpp
index 8565eb550ba..c519983c67d 100644
--- a/src/mame/drivers/excali64.cpp
+++ b/src/mame/drivers/excali64.cpp
@@ -50,7 +50,7 @@ ToDo:
class excali64_state : public driver_device
{
public:
- excali64_state(const machine_config &mconfig, device_type type, const char *tag)
+ excali64_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_palette(*this, "palette")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/exelv.cpp b/src/mame/drivers/exelv.cpp
index b32bad27f73..eb982cc56bb 100644
--- a/src/mame/drivers/exelv.cpp
+++ b/src/mame/drivers/exelv.cpp
@@ -65,7 +65,7 @@ TODO:
class exelv_state : public driver_device
{
public:
- exelv_state(const machine_config &mconfig, device_type type, const char *tag)
+ exelv_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_tms3556(*this, "tms3556"),
diff --git a/src/mame/drivers/exidyttl.cpp b/src/mame/drivers/exidyttl.cpp
index cbaef90b02a..b5cc32385b4 100644
--- a/src/mame/drivers/exidyttl.cpp
+++ b/src/mame/drivers/exidyttl.cpp
@@ -44,7 +44,7 @@ Exidy discrete hardware games
class exidyttl_state : public driver_device
{
public:
- exidyttl_state(const machine_config &mconfig, device_type type, const char *tag)
+ exidyttl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_video(*this, "fixfreq")
diff --git a/src/mame/drivers/expro02.cpp b/src/mame/drivers/expro02.cpp
index 79549bfa123..f747e9314d5 100644
--- a/src/mame/drivers/expro02.cpp
+++ b/src/mame/drivers/expro02.cpp
@@ -215,7 +215,7 @@ TODO:
class expro02_state : public driver_device
{
public:
- expro02_state(const machine_config &mconfig, device_type type, const char *tag)
+ expro02_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_expro02_fg_ind8_pixram(*this, "fg_ind8ram"),
m_expro02_bg_rgb555_pixram(*this, "bg_rgb555ram"),
diff --git a/src/mame/drivers/extrema.cpp b/src/mame/drivers/extrema.cpp
index 4412839f895..69ff1f4dd68 100644
--- a/src/mame/drivers/extrema.cpp
+++ b/src/mame/drivers/extrema.cpp
@@ -19,7 +19,7 @@
class extrema_state : public driver_device
{
public:
- extrema_state(const machine_config &mconfig, device_type type, const char *tag)
+ extrema_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/f-32.cpp b/src/mame/drivers/f-32.cpp
index a3fa89710d5..40b69d31222 100644
--- a/src/mame/drivers/f-32.cpp
+++ b/src/mame/drivers/f-32.cpp
@@ -36,7 +36,7 @@ f5
class mosaicf2_state : public driver_device
{
public:
- mosaicf2_state(const machine_config &mconfig, device_type type, const char *tag)
+ mosaicf2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") ,
m_videoram(*this, "videoram"){ }
diff --git a/src/mame/drivers/famibox.cpp b/src/mame/drivers/famibox.cpp
index ee39a617359..6032785d78c 100644
--- a/src/mame/drivers/famibox.cpp
+++ b/src/mame/drivers/famibox.cpp
@@ -69,7 +69,7 @@ Notes/ToDo:
class famibox_state : public driver_device
{
public:
- famibox_state(const machine_config &mconfig, device_type type, const char *tag)
+ famibox_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ppu(*this, "ppu") { }
diff --git a/src/mame/drivers/fanucs15.cpp b/src/mame/drivers/fanucs15.cpp
index c9cb662a2f4..b192756c80c 100644
--- a/src/mame/drivers/fanucs15.cpp
+++ b/src/mame/drivers/fanucs15.cpp
@@ -311,7 +311,7 @@
class fanucs15_state : public driver_device
{
public:
- fanucs15_state(const machine_config &mconfig, device_type type, const char *tag)
+ fanucs15_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu") // main 68020
, m_pmccpu(*this, "pmccpu") // sub 68000-12
diff --git a/src/mame/drivers/fanucspmg.cpp b/src/mame/drivers/fanucspmg.cpp
index 88eb5836d87..d5dfb3a8d2d 100644
--- a/src/mame/drivers/fanucspmg.cpp
+++ b/src/mame/drivers/fanucspmg.cpp
@@ -560,7 +560,7 @@ the keypad symbols seem to use a different matrix pattern from the rest?
class fanucspmg_state : public driver_device
{
public:
- fanucspmg_state(const machine_config &mconfig, device_type type, const char *tag)
+ fanucspmg_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, MAINCPU_TAG)
, m_subcpu(*this, SUBCPU_TAG)
diff --git a/src/mame/drivers/fastinvaders.cpp b/src/mame/drivers/fastinvaders.cpp
index 875736b1aee..c77d4f43c17 100644
--- a/src/mame/drivers/fastinvaders.cpp
+++ b/src/mame/drivers/fastinvaders.cpp
@@ -22,7 +22,7 @@ http://www.citylan.it/wiki/index.php/Fast_Invaders_%288275_version%29
class fastinvaders_state : public driver_device
{
public:
- fastinvaders_state(const machine_config &mconfig, device_type type, const char *tag)
+ fastinvaders_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
@@ -248,7 +248,7 @@ WRITE8_MEMBER(fastinvaders_state::io_40_w)
WRITE8_MEMBER(fastinvaders_state::io_90_w)
{
-logerror("Audio write &02X\n",data);
+ logerror("Audio write %02X\n",data);
}
diff --git a/src/mame/drivers/fb01.cpp b/src/mame/drivers/fb01.cpp
index b45fbe6f036..8feb3510e71 100644
--- a/src/mame/drivers/fb01.cpp
+++ b/src/mame/drivers/fb01.cpp
@@ -21,7 +21,7 @@
class fb01_state : public driver_device
{
public:
- fb01_state(const machine_config &mconfig, device_type type, const char *tag)
+ fb01_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_upd71051(*this, "upd71051")
diff --git a/src/mame/drivers/fc100.cpp b/src/mame/drivers/fc100.cpp
index 7b32ffc4a18..79e62a1308b 100644
--- a/src/mame/drivers/fc100.cpp
+++ b/src/mame/drivers/fc100.cpp
@@ -49,7 +49,7 @@ TODO:
class fc100_state : public driver_device
{
public:
- fc100_state(const machine_config &mconfig, device_type type, const char *tag)
+ fc100_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_vdg(*this, "vdg")
diff --git a/src/mame/drivers/feversoc.cpp b/src/mame/drivers/feversoc.cpp
index eb810a83fc4..cfa668a377d 100644
--- a/src/mame/drivers/feversoc.cpp
+++ b/src/mame/drivers/feversoc.cpp
@@ -69,7 +69,7 @@ U0564 LH28F800SU OBJ4-1
class feversoc_state : public driver_device
{
public:
- feversoc_state(const machine_config &mconfig, device_type type, const char *tag)
+ feversoc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mainram(*this, "workram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/drivers/fidelz80.cpp b/src/mame/drivers/fidelz80.cpp
index cc0e4aea3aa..ebfbf1455e6 100644
--- a/src/mame/drivers/fidelz80.cpp
+++ b/src/mame/drivers/fidelz80.cpp
@@ -602,7 +602,7 @@ expect that the software reads these once on startup only.
class fidelz80_state : public driver_device
{
public:
- fidelz80_state(const machine_config &mconfig, device_type type, const char *tag)
+ fidelz80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mcu(*this, "mcu"),
diff --git a/src/mame/drivers/fireball.cpp b/src/mame/drivers/fireball.cpp
index eb73ab3ad37..c0dfc8ef058 100644
--- a/src/mame/drivers/fireball.cpp
+++ b/src/mame/drivers/fireball.cpp
@@ -43,7 +43,7 @@
class fireball_state : public driver_device
{
public:
- fireball_state(const machine_config &mconfig, device_type type, const char *tag)
+ fireball_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ay(*this, "aysnd"),
diff --git a/src/mame/drivers/firebeat.cpp b/src/mame/drivers/firebeat.cpp
index bdfaac9e1a6..39bdf5ab101 100644
--- a/src/mame/drivers/firebeat.cpp
+++ b/src/mame/drivers/firebeat.cpp
@@ -169,7 +169,7 @@ struct IBUTTON
class firebeat_state : public driver_device
{
public:
- firebeat_state(const machine_config &mconfig, device_type type, const char *tag)
+ firebeat_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/firefox.cpp b/src/mame/drivers/firefox.cpp
index 6d52a64e925..ad6caeb26ec 100644
--- a/src/mame/drivers/firefox.cpp
+++ b/src/mame/drivers/firefox.cpp
@@ -41,7 +41,7 @@ but requires a special level III player for proper control. Video: CAV. Audio: A
class firefox_state : public driver_device
{
public:
- firefox_state(const machine_config &mconfig, device_type type, const char *tag)
+ firefox_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_laserdisc(*this, "laserdisc") ,
m_tileram(*this, "tileram"),
diff --git a/src/mame/drivers/fk1.cpp b/src/mame/drivers/fk1.cpp
index e250aada256..a05814054c4 100644
--- a/src/mame/drivers/fk1.cpp
+++ b/src/mame/drivers/fk1.cpp
@@ -19,7 +19,7 @@
class fk1_state : public driver_device
{
public:
- fk1_state(const machine_config &mconfig, device_type type, const char *tag)
+ fk1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG)
diff --git a/src/mame/drivers/flicker.cpp b/src/mame/drivers/flicker.cpp
index 09947a0f2e6..8e8878ea969 100644
--- a/src/mame/drivers/flicker.cpp
+++ b/src/mame/drivers/flicker.cpp
@@ -26,7 +26,7 @@
class flicker_state : public genpin_class
{
public:
- flicker_state(const machine_config &mconfig, device_type type, const char *tag)
+ flicker_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_testport(*this, "TEST")
diff --git a/src/mame/drivers/flipjack.cpp b/src/mame/drivers/flipjack.cpp
index 777686e7b7b..60ead4b5feb 100644
--- a/src/mame/drivers/flipjack.cpp
+++ b/src/mame/drivers/flipjack.cpp
@@ -89,7 +89,7 @@ ________________________|___________________________
class flipjack_state : public driver_device
{
public:
- flipjack_state(const machine_config &mconfig, device_type type, const char *tag)
+ flipjack_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/flyball.cpp b/src/mame/drivers/flyball.cpp
index f2772125a32..3f26f6ab147 100644
--- a/src/mame/drivers/flyball.cpp
+++ b/src/mame/drivers/flyball.cpp
@@ -35,7 +35,7 @@ public:
TIMER_QUARTER
};
- flyball_state(const machine_config &mconfig, device_type type, const char *tag)
+ flyball_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/force68k.cpp b/src/mame/drivers/force68k.cpp
index a4ba796836e..b27e05d75ed 100644
--- a/src/mame/drivers/force68k.cpp
+++ b/src/mame/drivers/force68k.cpp
@@ -125,7 +125,7 @@
class force68k_state : public driver_device
{
public:
-force68k_state(const machine_config &mconfig, device_type type, const char *tag) :
+force68k_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device (mconfig, type, tag),
m_maincpu (*this, "maincpu"),
m_rtc (*this, "rtc"),
diff --git a/src/mame/drivers/forte2.cpp b/src/mame/drivers/forte2.cpp
index 6f0334ef9d0..a877dd42689 100644
--- a/src/mame/drivers/forte2.cpp
+++ b/src/mame/drivers/forte2.cpp
@@ -31,7 +31,7 @@ found/dumped yet. */
class forte2_state : public driver_device
{
public:
- forte2_state(const machine_config &mconfig, device_type type, const char *tag)
+ forte2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/fortecar.cpp b/src/mame/drivers/fortecar.cpp
index 59043194bfe..229f9a5ae4e 100644
--- a/src/mame/drivers/fortecar.cpp
+++ b/src/mame/drivers/fortecar.cpp
@@ -330,7 +330,7 @@
class fortecar_state : public driver_device
{
public:
- fortecar_state(const machine_config &mconfig, device_type type, const char *tag)
+ fortecar_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_vram(*this, "vram"),
diff --git a/src/mame/drivers/fp1100.cpp b/src/mame/drivers/fp1100.cpp
index 6352049278c..dcc64db9ab5 100644
--- a/src/mame/drivers/fp1100.cpp
+++ b/src/mame/drivers/fp1100.cpp
@@ -66,7 +66,7 @@
class fp1100_state : public driver_device
{
public:
- fp1100_state(const machine_config &mconfig, device_type type, const char *tag)
+ fp1100_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_palette(*this, "palette")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/fp200.cpp b/src/mame/drivers/fp200.cpp
index 0bf5c3a0239..2fd185bc7c5 100644
--- a/src/mame/drivers/fp200.cpp
+++ b/src/mame/drivers/fp200.cpp
@@ -28,7 +28,7 @@
class fp200_state : public driver_device
{
public:
- fp200_state(const machine_config &mconfig, device_type type, const char *tag)
+ fp200_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/fp6000.cpp b/src/mame/drivers/fp6000.cpp
index fba366c95d9..82700e9337a 100644
--- a/src/mame/drivers/fp6000.cpp
+++ b/src/mame/drivers/fp6000.cpp
@@ -26,7 +26,7 @@
class fp6000_state : public driver_device
{
public:
- fp6000_state(const machine_config &mconfig, device_type type, const char *tag)
+ fp6000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_gvram(*this, "gvram"),
m_vram(*this, "vram"),
diff --git a/src/mame/drivers/fresh.cpp b/src/mame/drivers/fresh.cpp
index b6bb3cc636f..176c77adf75 100644
--- a/src/mame/drivers/fresh.cpp
+++ b/src/mame/drivers/fresh.cpp
@@ -31,7 +31,7 @@ rom 5 and 6 are prg roms
class fresh_state : public driver_device
{
public:
- fresh_state(const machine_config &mconfig, device_type type, const char *tag)
+ fresh_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bg_videoram(*this, "bg_videoram"),
m_bg_2_videoram(*this, "bg_videoram_2"),
diff --git a/src/mame/drivers/fruitpc.cpp b/src/mame/drivers/fruitpc.cpp
index ce459586a45..79ff60ba47a 100644
--- a/src/mame/drivers/fruitpc.cpp
+++ b/src/mame/drivers/fruitpc.cpp
@@ -25,7 +25,7 @@
class fruitpc_state : public pcat_base_state
{
public:
- fruitpc_state(const machine_config &mconfig, device_type type, const char *tag)
+ fruitpc_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag),
m_inp1(*this, "INP1"),
m_inp2(*this, "INP2"),
diff --git a/src/mame/drivers/ft68m.cpp b/src/mame/drivers/ft68m.cpp
index e8077b58b89..9079be64afb 100644
--- a/src/mame/drivers/ft68m.cpp
+++ b/src/mame/drivers/ft68m.cpp
@@ -22,7 +22,7 @@ Interrupts: INT6 is output of Timer 2, INT7 is output of Timer 3 (refresh),
class ft68m_state : public driver_device
{
public:
- ft68m_state(const machine_config &mconfig, device_type type, const char *tag)
+ ft68m_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_p_base(*this, "rambase"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/fungames.cpp b/src/mame/drivers/fungames.cpp
index ac526d7153c..1e4a7e21ea3 100644
--- a/src/mame/drivers/fungames.cpp
+++ b/src/mame/drivers/fungames.cpp
@@ -39,7 +39,7 @@
class fungames_state : public driver_device
{
public:
- fungames_state(const machine_config &mconfig, device_type type, const char *tag)
+ fungames_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_video(*this, "fixfreq")
diff --git a/src/mame/drivers/funkball.cpp b/src/mame/drivers/funkball.cpp
index caa650705fe..4f1e54c94db 100644
--- a/src/mame/drivers/funkball.cpp
+++ b/src/mame/drivers/funkball.cpp
@@ -83,7 +83,7 @@ Notes:
class funkball_state : public pcat_base_state
{
public:
- funkball_state(const machine_config &mconfig, device_type type, const char *tag)
+ funkball_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag),
m_voodoo(*this, "voodoo_0"),
m_unk_ram(*this, "unk_ram"),
diff --git a/src/mame/drivers/g627.cpp b/src/mame/drivers/g627.cpp
index e96509a1703..45338341b24 100644
--- a/src/mame/drivers/g627.cpp
+++ b/src/mame/drivers/g627.cpp
@@ -49,7 +49,7 @@ ToDo:
class g627_state : public genpin_class
{
public:
- g627_state(const machine_config &mconfig, device_type type, const char *tag)
+ g627_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_switch(*this, "SWITCH")
diff --git a/src/mame/drivers/gal3.cpp b/src/mame/drivers/gal3.cpp
index b405d644b66..4d100831b25 100644
--- a/src/mame/drivers/gal3.cpp
+++ b/src/mame/drivers/gal3.cpp
@@ -139,7 +139,7 @@ better notes (complete chip lists) for each board still needed
class gal3_state : public namcos2_shared_state
{
public:
- gal3_state(const machine_config &mconfig, device_type type, const char *tag)
+ gal3_state(const machine_config &mconfig, device_type type, std::string tag)
: namcos2_shared_state(mconfig, type, tag) ,
m_rso_shared_ram(*this, "rso_shared_ram"),
m_generic_paletteram_16(*this, "paletteram") { }
diff --git a/src/mame/drivers/galaxi.cpp b/src/mame/drivers/galaxi.cpp
index 617ce8a3956..765f08f084e 100644
--- a/src/mame/drivers/galaxi.cpp
+++ b/src/mame/drivers/galaxi.cpp
@@ -50,7 +50,7 @@ Notes:
class galaxi_state : public driver_device
{
public:
- galaxi_state(const machine_config &mconfig, device_type type, const char *tag)
+ galaxi_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bg1_ram(*this, "bg1_ram"),
m_bg2_ram(*this, "bg2_ram"),
diff --git a/src/mame/drivers/galgame.cpp b/src/mame/drivers/galgame.cpp
index 0855699da39..3867dbe9672 100644
--- a/src/mame/drivers/galgame.cpp
+++ b/src/mame/drivers/galgame.cpp
@@ -19,7 +19,7 @@
class galaxygame_state : public driver_device
{
public:
- galaxygame_state(const machine_config &mconfig, device_type type, const char *tag)
+ galaxygame_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette") { }
diff --git a/src/mame/drivers/galpani2.cpp b/src/mame/drivers/galpani2.cpp
index a658e02409b..38c94e02085 100644
--- a/src/mame/drivers/galpani2.cpp
+++ b/src/mame/drivers/galpani2.cpp
@@ -332,14 +332,14 @@ WRITE8_MEMBER(galpani2_state::galpani2_coin_lockout_w)
WRITE8_MEMBER(galpani2_state::galpani2_oki1_bank_w)
{
UINT8 *ROM = memregion("oki1")->base();
- logerror("%s : %s bank %08X\n",machine().describe_context(),tag(),data);
+ logerror("%s : %s bank %08X\n",machine().describe_context(),tag().c_str(),data);
memcpy(ROM + 0x30000, ROM + 0x40000 + 0x10000 * (~data & 0xf), 0x10000);
}
WRITE8_MEMBER(galpani2_state::galpani2_oki2_bank_w)
{
m_oki2->set_bank_base(0x40000 * (data & 0xf) );
- logerror("%s : %s bank %08X\n",machine().describe_context(),tag(),data);
+ logerror("%s : %s bank %08X\n",machine().describe_context(),tag().c_str(),data);
}
diff --git a/src/mame/drivers/galpani3.cpp b/src/mame/drivers/galpani3.cpp
index c54af2de04d..00432bba273 100644
--- a/src/mame/drivers/galpani3.cpp
+++ b/src/mame/drivers/galpani3.cpp
@@ -74,7 +74,7 @@ Dumped by Uki
class galpani3_state : public driver_device
{
public:
- galpani3_state(const machine_config &mconfig, device_type type, const char *tag)
+ galpani3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_grap2_0(*this,"grap2_0"),
diff --git a/src/mame/drivers/gamate.cpp b/src/mame/drivers/gamate.cpp
index 66959b13008..a4e05da6306 100644
--- a/src/mame/drivers/gamate.cpp
+++ b/src/mame/drivers/gamate.cpp
@@ -19,7 +19,7 @@
class gamate_state : public driver_device
{
public:
- gamate_state(const machine_config &mconfig, device_type type, const char *tag)
+ gamate_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_sound(*this, "custom")
diff --git a/src/mame/drivers/gambl186.cpp b/src/mame/drivers/gambl186.cpp
index 89e009743c5..7d2336472a3 100644
--- a/src/mame/drivers/gambl186.cpp
+++ b/src/mame/drivers/gambl186.cpp
@@ -58,7 +58,7 @@ TODO:
class gambl186_state : public driver_device
{
public:
- gambl186_state(const machine_config &mconfig, device_type type, const char *tag)
+ gambl186_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_upd7759(*this, "7759") { }
diff --git a/src/mame/drivers/gamecstl.cpp b/src/mame/drivers/gamecstl.cpp
index 97e2e248323..7c5ddda7a22 100644
--- a/src/mame/drivers/gamecstl.cpp
+++ b/src/mame/drivers/gamecstl.cpp
@@ -75,7 +75,7 @@
class gamecstl_state : public pcat_base_state
{
public:
- gamecstl_state(const machine_config &mconfig, device_type type, const char *tag)
+ gamecstl_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag),
m_cga_ram(*this, "cga_ram"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/gameking.cpp b/src/mame/drivers/gameking.cpp
index 66ce023b10b..596936984e9 100644
--- a/src/mame/drivers/gameking.cpp
+++ b/src/mame/drivers/gameking.cpp
@@ -35,7 +35,7 @@
class gameking_state : public driver_device
{
public:
- gameking_state(const machine_config &mconfig, device_type type, const char *tag)
+ gameking_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cart(*this, "cartslot"),
diff --git a/src/mame/drivers/gammagic.cpp b/src/mame/drivers/gammagic.cpp
index 6fb03850748..8b9714bc96e 100644
--- a/src/mame/drivers/gammagic.cpp
+++ b/src/mame/drivers/gammagic.cpp
@@ -42,7 +42,7 @@ Additional CD-ROM games: "99 Bottles of Beer"
class gammagic_state : public pcat_base_state
{
public:
- gammagic_state(const machine_config &mconfig, device_type type, const char *tag)
+ gammagic_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag) { }
virtual void machine_start() override;
diff --git a/src/mame/drivers/gamtor.cpp b/src/mame/drivers/gamtor.cpp
index adb337a720a..d64b10af4e5 100644
--- a/src/mame/drivers/gamtor.cpp
+++ b/src/mame/drivers/gamtor.cpp
@@ -34,7 +34,7 @@
class gaminator_state : public driver_device
{
public:
- gaminator_state(const machine_config &mconfig, device_type type, const char *tag)
+ gaminator_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/gei.cpp b/src/mame/drivers/gei.cpp
index 351ff521f69..db310d6ef83 100644
--- a/src/mame/drivers/gei.cpp
+++ b/src/mame/drivers/gei.cpp
@@ -82,7 +82,7 @@ NOTE: Trivia Question rom names are the internal names used. IE: read from the f
class gei_state : public driver_device
{
public:
- gei_state(const machine_config &mconfig, device_type type, const char *tag)
+ gei_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac(*this, "dac"),
diff --git a/src/mame/drivers/geneve.cpp b/src/mame/drivers/geneve.cpp
index 59775a8f130..9538ea8a34f 100644
--- a/src/mame/drivers/geneve.cpp
+++ b/src/mame/drivers/geneve.cpp
@@ -225,7 +225,7 @@
class geneve_state : public driver_device
{
public:
- geneve_state(const machine_config &mconfig, device_type type, const char *tag)
+ geneve_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cpu(*this, "maincpu"),
m_tms9901(*this, TMS9901_TAG),
diff --git a/src/mame/drivers/geniusiq.cpp b/src/mame/drivers/geniusiq.cpp
index dbfd894b9e5..e9d964cd5a1 100644
--- a/src/mame/drivers/geniusiq.cpp
+++ b/src/mame/drivers/geniusiq.cpp
@@ -254,7 +254,7 @@ public:
IQ128_NO_CART = 0x03
};
- geniusiq_state(const machine_config &mconfig, device_type type, const char *tag)
+ geniusiq_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cart(*this, "cartslot"),
@@ -312,7 +312,7 @@ private:
class gl8008cx_state : public driver_device
{
public:
- gl8008cx_state(const machine_config &mconfig, device_type type, const char *tag)
+ gl8008cx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/genpc.cpp b/src/mame/drivers/genpc.cpp
index 72d267b69af..23584037770 100644
--- a/src/mame/drivers/genpc.cpp
+++ b/src/mame/drivers/genpc.cpp
@@ -22,7 +22,7 @@
class genpc_state : public driver_device
{
public:
- genpc_state(const machine_config &mconfig, device_type type, const char *tag)
+ genpc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/ggconnie.cpp b/src/mame/drivers/ggconnie.cpp
index 236a5c1c21d..12eed01a657 100644
--- a/src/mame/drivers/ggconnie.cpp
+++ b/src/mame/drivers/ggconnie.cpp
@@ -32,7 +32,7 @@
class ggconnie_state : public pce_common_state
{
public:
- ggconnie_state(const machine_config &mconfig, device_type type, const char *tag)
+ ggconnie_state(const machine_config &mconfig, device_type type, std::string tag)
: pce_common_state(mconfig, type, tag),
m_rtc(*this, "rtc"),
m_oki(*this, "oki")
diff --git a/src/mame/drivers/ghosteo.cpp b/src/mame/drivers/ghosteo.cpp
index 6a57e0ccba5..d729fe2ecb8 100644
--- a/src/mame/drivers/ghosteo.cpp
+++ b/src/mame/drivers/ghosteo.cpp
@@ -84,7 +84,7 @@ struct nand_t
class ghosteo_state : public driver_device
{
public:
- ghosteo_state(const machine_config &mconfig, device_type type, const char *tag)
+ ghosteo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") ,
m_i2cmem(*this, "i2cmem"),
diff --git a/src/mame/drivers/gimix.cpp b/src/mame/drivers/gimix.cpp
index c951b6309cb..b13af7ae728 100644
--- a/src/mame/drivers/gimix.cpp
+++ b/src/mame/drivers/gimix.cpp
@@ -63,7 +63,7 @@
class gimix_state : public driver_device
{
public:
- gimix_state(const machine_config &mconfig, device_type type, const char *tag)
+ gimix_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_fdc(*this, "fdc")
diff --git a/src/mame/drivers/gizmondo.cpp b/src/mame/drivers/gizmondo.cpp
index 4f14b5ab349..0ac24396992 100644
--- a/src/mame/drivers/gizmondo.cpp
+++ b/src/mame/drivers/gizmondo.cpp
@@ -45,7 +45,7 @@ SYSINTR_GPS = INT_EINT3, INT_EINT8_23 (EINT18)
class gizmondo_state : public driver_device
{
public:
- gizmondo_state(const machine_config &mconfig, device_type type, const char *tag)
+ gizmondo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_s3c2440(*this, "s3c2440"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/gkigt.cpp b/src/mame/drivers/gkigt.cpp
index b751be8a2fb..eba151c6e1c 100644
--- a/src/mame/drivers/gkigt.cpp
+++ b/src/mame/drivers/gkigt.cpp
@@ -89,7 +89,7 @@ PCB board that connects to 044 boards via J6 & J7
class igt_gameking_state : public driver_device
{
public:
- igt_gameking_state(const machine_config &mconfig, device_type type, const char *tag)
+ igt_gameking_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/glasgow.cpp b/src/mame/drivers/glasgow.cpp
index c46ef03ae1c..a0ee00c428b 100644
--- a/src/mame/drivers/glasgow.cpp
+++ b/src/mame/drivers/glasgow.cpp
@@ -58,7 +58,7 @@ R.Schaefer Oct 2010
class glasgow_state : public mboard_state
{
public:
- glasgow_state(const machine_config &mconfig, device_type type, const char *tag)
+ glasgow_state(const machine_config &mconfig, device_type type, std::string tag)
: mboard_state(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_beep(*this, "beeper"),
diff --git a/src/mame/drivers/globalfr.cpp b/src/mame/drivers/globalfr.cpp
index b64b666aba7..6347c4549d7 100644
--- a/src/mame/drivers/globalfr.cpp
+++ b/src/mame/drivers/globalfr.cpp
@@ -24,7 +24,7 @@
class globalfr_state : public driver_device
{
public:
- globalfr_state(const machine_config &mconfig, device_type type, const char *tag)
+ globalfr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_vfd(*this, "vfd")
diff --git a/src/mame/drivers/globalvr.cpp b/src/mame/drivers/globalvr.cpp
index 04b957b9c90..f5329a531e2 100644
--- a/src/mame/drivers/globalvr.cpp
+++ b/src/mame/drivers/globalvr.cpp
@@ -62,7 +62,7 @@ UltraPin 2006
class globalvr_state : public driver_device
{
public:
- globalvr_state(const machine_config &mconfig, device_type type, const char *tag)
+ globalvr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/gluck2.cpp b/src/mame/drivers/gluck2.cpp
index 5802238eddc..fc63a987ac3 100644
--- a/src/mame/drivers/gluck2.cpp
+++ b/src/mame/drivers/gluck2.cpp
@@ -204,7 +204,7 @@
class gluck2_state : public driver_device
{
public:
- gluck2_state(const machine_config &mconfig, device_type type, const char *tag)
+ gluck2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/gmaster.cpp b/src/mame/drivers/gmaster.cpp
index dc586efab82..71d293c771a 100644
--- a/src/mame/drivers/gmaster.cpp
+++ b/src/mame/drivers/gmaster.cpp
@@ -15,7 +15,7 @@
class gmaster_state : public driver_device
{
public:
- gmaster_state(const machine_config &mconfig, device_type type, const char *tag)
+ gmaster_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_speaker(*this, "speaker")
diff --git a/src/mame/drivers/go2000.cpp b/src/mame/drivers/go2000.cpp
index 5bb7a58f0a3..798044ccd99 100644
--- a/src/mame/drivers/go2000.cpp
+++ b/src/mame/drivers/go2000.cpp
@@ -39,7 +39,7 @@ Notes:
class go2000_state : public driver_device
{
public:
- go2000_state(const machine_config &mconfig, device_type type, const char *tag)
+ go2000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_videoram2(*this, "videoram2"),
diff --git a/src/mame/drivers/goldngam.cpp b/src/mame/drivers/goldngam.cpp
index 18ad31bd62d..37b0c8dea40 100644
--- a/src/mame/drivers/goldngam.cpp
+++ b/src/mame/drivers/goldngam.cpp
@@ -242,7 +242,7 @@
class goldngam_state : public driver_device
{
public:
- goldngam_state(const machine_config &mconfig, device_type type, const char *tag)
+ goldngam_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/goldnpkr.cpp b/src/mame/drivers/goldnpkr.cpp
index 5c691c5922b..f8e973c0b5b 100644
--- a/src/mame/drivers/goldnpkr.cpp
+++ b/src/mame/drivers/goldnpkr.cpp
@@ -1090,7 +1090,7 @@
class goldnpkr_state : public driver_device
{
public:
- goldnpkr_state(const machine_config &mconfig, device_type type, const char *tag)
+ goldnpkr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/good.cpp b/src/mame/drivers/good.cpp
index 17f9c13e191..bc64b5c52cc 100644
--- a/src/mame/drivers/good.cpp
+++ b/src/mame/drivers/good.cpp
@@ -40,7 +40,7 @@ voice.rom - VOICE ROM
class good_state : public driver_device
{
public:
- good_state(const machine_config &mconfig, device_type type, const char *tag)
+ good_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fg_tilemapram(*this, "fg_tilemapram"),
m_bg_tilemapram(*this, "bg_tilemapram"),
diff --git a/src/mame/drivers/goodejan.cpp b/src/mame/drivers/goodejan.cpp
index 77a7aff5e94..7262009a93c 100644
--- a/src/mame/drivers/goodejan.cpp
+++ b/src/mame/drivers/goodejan.cpp
@@ -78,7 +78,7 @@ Secret menu hack [totmejan only] (I couldn't find official way to enter, so it's
class goodejan_state : public driver_device
{
public:
- goodejan_state(const machine_config &mconfig, device_type type, const char *tag)
+ goodejan_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/gp2x.cpp b/src/mame/drivers/gp2x.cpp
index 0865638044e..340aead7a7a 100644
--- a/src/mame/drivers/gp2x.cpp
+++ b/src/mame/drivers/gp2x.cpp
@@ -26,7 +26,7 @@
class gp2x_state : public driver_device
{
public:
- gp2x_state(const machine_config &mconfig, device_type type, const char *tag)
+ gp2x_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_maincpu_region(*this, "maincpu"),
diff --git a/src/mame/drivers/gp_1.cpp b/src/mame/drivers/gp_1.cpp
index 96d4e94cb78..f3919fa5421 100644
--- a/src/mame/drivers/gp_1.cpp
+++ b/src/mame/drivers/gp_1.cpp
@@ -30,7 +30,7 @@ ToDo:
class gp_1_state : public genpin_class
{
public:
- gp_1_state(const machine_config &mconfig, device_type type, const char *tag)
+ gp_1_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_ctc(*this, "ctc")
diff --git a/src/mame/drivers/gp_2.cpp b/src/mame/drivers/gp_2.cpp
index b829912b939..d9420122252 100644
--- a/src/mame/drivers/gp_2.cpp
+++ b/src/mame/drivers/gp_2.cpp
@@ -43,7 +43,7 @@ ToDo:
class gp_2_state : public genpin_class
{
public:
- gp_2_state(const machine_config &mconfig, device_type type, const char *tag)
+ gp_2_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_ctc(*this, "ctc")
diff --git a/src/mame/drivers/gpworld.cpp b/src/mame/drivers/gpworld.cpp
index 9140db8af75..a2401258d0e 100644
--- a/src/mame/drivers/gpworld.cpp
+++ b/src/mame/drivers/gpworld.cpp
@@ -54,7 +54,7 @@ public:
TIMER_IRQ_STOP
};
- gpworld_state(const machine_config &mconfig, device_type type, const char *tag)
+ gpworld_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_laserdisc(*this, "laserdisc") ,
m_sprite_ram(*this, "sprite_ram"),
diff --git a/src/mame/drivers/grfd2301.cpp b/src/mame/drivers/grfd2301.cpp
index cc9c16a74b2..0d18239188e 100644
--- a/src/mame/drivers/grfd2301.cpp
+++ b/src/mame/drivers/grfd2301.cpp
@@ -37,7 +37,7 @@ A sticker on the back panel says: GenRad, Culver City CA, Model 2301-9001
class grfd2301_state : public driver_device
{
public:
- grfd2301_state(const machine_config &mconfig, device_type type, const char *tag)
+ grfd2301_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_p_videoram(*this, "videoram")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/gstream.cpp b/src/mame/drivers/gstream.cpp
index bef7f573d07..b08e1363cc8 100644
--- a/src/mame/drivers/gstream.cpp
+++ b/src/mame/drivers/gstream.cpp
@@ -140,7 +140,7 @@ RAM4 is HMC HM6264LP-70
class gstream_state : public driver_device
{
public:
- gstream_state(const machine_config &mconfig, device_type type, const char *tag)
+ gstream_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_oki_1(*this, "oki1"),
diff --git a/src/mame/drivers/gticlub.cpp b/src/mame/drivers/gticlub.cpp
index b751e7fc029..89bc42be2b8 100644
--- a/src/mame/drivers/gticlub.cpp
+++ b/src/mame/drivers/gticlub.cpp
@@ -242,7 +242,7 @@ Hang Pilot (uses an unknown but similar video board) 12W
class gticlub_state : public driver_device
{
public:
- gticlub_state(const machine_config &mconfig, device_type type, const char *tag)
+ gticlub_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
@@ -908,7 +908,7 @@ UINT32 gticlub_state::screen_update_hangplt(screen_device &screen, bitmap_rgb32
{
bitmap.fill(m_palette->pen(0), cliprect);
- if (strcmp(screen.tag(), ":lscreen") == 0)
+ if (screen.tag()==":lscreen")
{
device_t *voodoo = machine().device("voodoo0");
@@ -918,7 +918,7 @@ UINT32 gticlub_state::screen_update_hangplt(screen_device &screen, bitmap_rgb32
m_k001604_1->draw_front_layer(screen, bitmap, cliprect);
}
- else if (strcmp(screen.tag(), ":rscreen") == 0)
+ else if (screen.tag()==":rscreen")
{
device_t *voodoo = machine().device("voodoo1");
diff --git a/src/mame/drivers/gts1.cpp b/src/mame/drivers/gts1.cpp
index ffed197ba3c..17e5b781012 100644
--- a/src/mame/drivers/gts1.cpp
+++ b/src/mame/drivers/gts1.cpp
@@ -84,7 +84,7 @@ ToDo:
class gts1_state : public genpin_class
{
public:
- gts1_state(const machine_config &mconfig, device_type type, const char *tag)
+ gts1_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_switches(*this, "X")
diff --git a/src/mame/drivers/gts3.cpp b/src/mame/drivers/gts3.cpp
index 151a286c212..ff618eee830 100644
--- a/src/mame/drivers/gts3.cpp
+++ b/src/mame/drivers/gts3.cpp
@@ -38,7 +38,7 @@ ToDo:
class gts3_state : public driver_device
{
public:
- gts3_state(const machine_config &mconfig, device_type type, const char *tag)
+ gts3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_u4(*this, "u4")
diff --git a/src/mame/drivers/gts3a.cpp b/src/mame/drivers/gts3a.cpp
index a437c38300e..690ec7577fb 100644
--- a/src/mame/drivers/gts3a.cpp
+++ b/src/mame/drivers/gts3a.cpp
@@ -26,7 +26,7 @@ ToDo:
class gts3a_state : public driver_device
{
public:
- gts3a_state(const machine_config &mconfig, device_type type, const char *tag)
+ gts3a_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_palette(*this, "palette")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/gts80.cpp b/src/mame/drivers/gts80.cpp
index f6ae1241425..c9fa11f900b 100644
--- a/src/mame/drivers/gts80.cpp
+++ b/src/mame/drivers/gts80.cpp
@@ -31,7 +31,7 @@ ToDO:
class gts80_state : public genpin_class
{
public:
- gts80_state(const machine_config &mconfig, device_type type, const char *tag)
+ gts80_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_r0_sound(*this, "r0sound")
diff --git a/src/mame/drivers/gts80a.cpp b/src/mame/drivers/gts80a.cpp
index 4a399daf3e2..ff0feee8879 100644
--- a/src/mame/drivers/gts80a.cpp
+++ b/src/mame/drivers/gts80a.cpp
@@ -20,7 +20,7 @@
class gts80a_state : public genpin_class
{
public:
- gts80a_state(const machine_config &mconfig, device_type type, const char *tag)
+ gts80a_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_r0_sound(*this, "r0sound")
@@ -382,7 +382,7 @@ MACHINE_CONFIG_END
class caveman_state : public gts80a_state
{
public:
- caveman_state(const machine_config &mconfig, device_type type, const char *tag)
+ caveman_state(const machine_config &mconfig, device_type type, std::string tag)
: gts80a_state(mconfig, type, tag)
, m_videocpu(*this, "video_cpu")
, m_vram(*this, "vram")
diff --git a/src/mame/drivers/gts80b.cpp b/src/mame/drivers/gts80b.cpp
index 28914a300c4..422291339a9 100644
--- a/src/mame/drivers/gts80b.cpp
+++ b/src/mame/drivers/gts80b.cpp
@@ -21,7 +21,7 @@
class gts80b_state : public genpin_class
{
public:
- gts80b_state(const machine_config &mconfig, device_type type, const char *tag)
+ gts80b_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_r0_sound(*this, "r0sound")
diff --git a/src/mame/drivers/guab.cpp b/src/mame/drivers/guab.cpp
index e67cfdd7d02..0f6e9da82e1 100644
--- a/src/mame/drivers/guab.cpp
+++ b/src/mame/drivers/guab.cpp
@@ -64,7 +64,7 @@ struct ef9369
class guab_state : public driver_device
{
public:
- guab_state(const machine_config &mconfig, device_type type, const char *tag)
+ guab_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_tms34061(*this, "tms34061"),
diff --git a/src/mame/drivers/gunpey.cpp b/src/mame/drivers/gunpey.cpp
index 80285fe5c1f..f07b7aed43d 100644
--- a/src/mame/drivers/gunpey.cpp
+++ b/src/mame/drivers/gunpey.cpp
@@ -197,7 +197,7 @@ Release: November 1999
class gunpey_state : public driver_device
{
public:
- gunpey_state(const machine_config &mconfig, device_type type, const char *tag)
+ gunpey_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_oki(*this, "oki"),
diff --git a/src/mame/drivers/h19.cpp b/src/mame/drivers/h19.cpp
index d9e7e4c3e8b..10ee8978983 100644
--- a/src/mame/drivers/h19.cpp
+++ b/src/mame/drivers/h19.cpp
@@ -55,7 +55,7 @@ public:
TIMER_BEEP_OFF
};
- h19_state(const machine_config &mconfig, device_type type, const char *tag)
+ h19_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_crtc(*this, "crtc"),
diff --git a/src/mame/drivers/h8.cpp b/src/mame/drivers/h8.cpp
index 5c4eb0d305b..5c05a385891 100644
--- a/src/mame/drivers/h8.cpp
+++ b/src/mame/drivers/h8.cpp
@@ -59,7 +59,7 @@ TODO:
class h8_state : public driver_device
{
public:
- h8_state(const machine_config &mconfig, device_type type, const char *tag)
+ h8_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_uart(*this, "uart"),
diff --git a/src/mame/drivers/h89.cpp b/src/mame/drivers/h89.cpp
index 4e50ebdae18..decfe522856 100644
--- a/src/mame/drivers/h89.cpp
+++ b/src/mame/drivers/h89.cpp
@@ -28,7 +28,7 @@
class h89_state : public driver_device
{
public:
- h89_state(const machine_config &mconfig, device_type type, const char *tag)
+ h89_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{
diff --git a/src/mame/drivers/halleys.cpp b/src/mame/drivers/halleys.cpp
index 8a8737dc516..a92d0bb569c 100644
--- a/src/mame/drivers/halleys.cpp
+++ b/src/mame/drivers/halleys.cpp
@@ -211,7 +211,7 @@ Video sync 6 F Video sync Post 6 F Post
class halleys_state : public driver_device
{
public:
- halleys_state(const machine_config &mconfig, device_type type, const char *tag)
+ halleys_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_blitter_ram(*this, "blitter_ram"),
m_io_ram(*this, "io_ram"),
diff --git a/src/mame/drivers/hankin.cpp b/src/mame/drivers/hankin.cpp
index 10cd8f17c14..b2d4c82685d 100644
--- a/src/mame/drivers/hankin.cpp
+++ b/src/mame/drivers/hankin.cpp
@@ -24,7 +24,7 @@ ToDo:
class hankin_state : public genpin_class
{
public:
- hankin_state(const machine_config &mconfig, device_type type, const char *tag)
+ hankin_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_audiocpu(*this, "audiocpu")
diff --git a/src/mame/drivers/harddriv.cpp b/src/mame/drivers/harddriv.cpp
index 5f9dd079869..3b5439639d1 100644
--- a/src/mame/drivers/harddriv.cpp
+++ b/src/mame/drivers/harddriv.cpp
@@ -340,7 +340,7 @@ Notes:
const device_type HARDDRIV_DEVICE = &device_creator<harddriv_state>;
-harddriv_state::harddriv_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+harddriv_state::harddriv_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, HARDDRIV_DEVICE, "Hard Drivin' PCB Family", tag, owner, clock, "harddriv_pcb", __FILE__),
/* device_video_interface(mconfig, *this, false), */
m_maincpu(*this, "maincpu"),
@@ -504,7 +504,7 @@ harddriv_state::harddriv_state(const machine_config &mconfig, const char *tag, d
class harddriv_new_state : public driver_device
{
public:
- harddriv_new_state(const machine_config &mconfig, device_type type, const char *tag)
+ harddriv_new_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_mainpcb(*this, "mainpcb")
, m_leftpcb(*this, "leftpcb")
@@ -1740,7 +1740,7 @@ MACHINE_CONFIG_END
const device_type HARDDRIV_BOARD_DEVICE = &device_creator<harddriv_board_device_state>;
-harddriv_board_device_state::harddriv_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+harddriv_board_device_state::harddriv_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: harddriv_state(mconfig, tag, owner, clock)
{
}
@@ -1766,7 +1766,7 @@ void harddrivc_board_device_state::device_start()
const device_type HARDDRIVC_BOARD_DEVICE = &device_creator<harddrivc_board_device_state>;
-harddrivc_board_device_state::harddrivc_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+harddrivc_board_device_state::harddrivc_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: harddriv_state(mconfig, tag, owner, clock)
{
}
@@ -1794,7 +1794,7 @@ void racedrivb1_board_device_state::device_start()
const device_type RACEDRIV_BOARD_DEVICE = &device_creator<racedriv_board_device_state>;
const device_type RACEDRIVB1_BOARD_DEVICE = &device_creator<racedrivb1_board_device_state>;
-racedriv_board_device_state::racedriv_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+racedriv_board_device_state::racedriv_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: harddriv_state(mconfig, tag, owner, clock)
{
}
@@ -1831,7 +1831,7 @@ const device_type RACEDRIVC_BOARD_DEVICE = &device_creator<racedrivc_board_devic
const device_type RACEDRIVC1_BOARD_DEVICE = &device_creator<racedrivc1_board_device_state>;
const device_type RACEDRIVC_PANORAMA_SIDE_BOARD_DEVICE = &device_creator<racedrivc_panorama_side_board_device_state>;
-racedrivc_board_device_state::racedrivc_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+racedrivc_board_device_state::racedrivc_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: harddriv_state(mconfig, tag, owner, clock)
{
}
@@ -1857,7 +1857,7 @@ void stunrun_board_device_state::device_start()
const device_type STUNRUN_BOARD_DEVICE = &device_creator<stunrun_board_device_state>;
-stunrun_board_device_state::stunrun_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+stunrun_board_device_state::stunrun_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: harddriv_state(mconfig, tag, owner, clock)
{
}
@@ -1891,7 +1891,7 @@ const device_type STEELTAL_BOARD_DEVICE = &device_creator<steeltal_board_device_
const device_type STEELTAL1_BOARD_DEVICE = &device_creator<steeltal1_board_device_state>;
const device_type STEELTALP_BOARD_DEVICE = &device_creator<steeltalp_board_device_state>;
-steeltal_board_device_state::steeltal_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+steeltal_board_device_state::steeltal_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: harddriv_state(mconfig, tag, owner, clock)
{
}
@@ -1911,7 +1911,7 @@ void strtdriv_board_device_state::device_start()
const device_type STRTDRIV_BOARD_DEVICE = &device_creator<strtdriv_board_device_state>;
-strtdriv_board_device_state::strtdriv_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+strtdriv_board_device_state::strtdriv_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: harddriv_state(mconfig, tag, owner, clock)
{
}
@@ -1938,7 +1938,7 @@ void hdrivairp_board_device_state::device_start()
const device_type HDRIVAIR_BOARD_DEVICE = &device_creator<hdrivair_board_device_state>;
const device_type HDRIVAIRP_BOARD_DEVICE = &device_creator<hdrivairp_board_device_state>;
-hdrivair_board_device_state::hdrivair_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+hdrivair_board_device_state::hdrivair_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: harddriv_state(mconfig, tag, owner, clock)
{
}
diff --git a/src/mame/drivers/harriet.cpp b/src/mame/drivers/harriet.cpp
index a589f2d51af..9f36a4abf31 100644
--- a/src/mame/drivers/harriet.cpp
+++ b/src/mame/drivers/harriet.cpp
@@ -21,7 +21,7 @@
class harriet_state : public driver_device
{
public:
- harriet_state(const machine_config &mconfig, device_type type, const char *tag)
+ harriet_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/hazelgr.cpp b/src/mame/drivers/hazelgr.cpp
index b22c62381f9..8cc64d0df47 100644
--- a/src/mame/drivers/hazelgr.cpp
+++ b/src/mame/drivers/hazelgr.cpp
@@ -12,7 +12,7 @@
class haze_state : public driver_device
{
public:
- haze_state(const machine_config &mconfig, device_type type, const char *tag)
+ haze_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/headonb.cpp b/src/mame/drivers/headonb.cpp
index 5eddfa20c66..529f1470339 100644
--- a/src/mame/drivers/headonb.cpp
+++ b/src/mame/drivers/headonb.cpp
@@ -35,7 +35,7 @@ Other outs:
class headonb_state : public driver_device
{
public:
- headonb_state(const machine_config &mconfig, device_type type, const char *tag)
+ headonb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/hh_cop400.cpp b/src/mame/drivers/hh_cop400.cpp
index 486f6882b28..9fa045f51c5 100644
--- a/src/mame/drivers/hh_cop400.cpp
+++ b/src/mame/drivers/hh_cop400.cpp
@@ -28,7 +28,7 @@
class hh_cop400_state : public driver_device
{
public:
- hh_cop400_state(const machine_config &mconfig, device_type type, const char *tag)
+ hh_cop400_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_inp_matrix(*this, "IN"),
@@ -239,7 +239,7 @@ UINT8 hh_cop400_state::read_inputs(int columns)
class ctstein_state : public hh_cop400_state
{
public:
- ctstein_state(const machine_config &mconfig, device_type type, const char *tag)
+ ctstein_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_cop400_state(mconfig, type, tag)
{ }
};
@@ -289,7 +289,7 @@ MACHINE_CONFIG_END
class einvaderc_state : public hh_cop400_state
{
public:
- einvaderc_state(const machine_config &mconfig, device_type type, const char *tag)
+ einvaderc_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_cop400_state(mconfig, type, tag)
{ }
@@ -400,7 +400,7 @@ MACHINE_CONFIG_END
class funjacks_state : public hh_cop400_state
{
public:
- funjacks_state(const machine_config &mconfig, device_type type, const char *tag)
+ funjacks_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_cop400_state(mconfig, type, tag)
{ }
@@ -511,7 +511,7 @@ MACHINE_CONFIG_END
class funrlgl_state : public hh_cop400_state
{
public:
- funrlgl_state(const machine_config &mconfig, device_type type, const char *tag)
+ funrlgl_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_cop400_state(mconfig, type, tag)
{ }
@@ -602,7 +602,7 @@ MACHINE_CONFIG_END
class plus1_state : public hh_cop400_state
{
public:
- plus1_state(const machine_config &mconfig, device_type type, const char *tag)
+ plus1_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_cop400_state(mconfig, type, tag)
{ }
};
@@ -658,7 +658,7 @@ MACHINE_CONFIG_END
class lightfgt_state : public hh_cop400_state
{
public:
- lightfgt_state(const machine_config &mconfig, device_type type, const char *tag)
+ lightfgt_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_cop400_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/hh_hmcs40.cpp b/src/mame/drivers/hh_hmcs40.cpp
index 8ded810c534..28708d86516 100644
--- a/src/mame/drivers/hh_hmcs40.cpp
+++ b/src/mame/drivers/hh_hmcs40.cpp
@@ -94,7 +94,7 @@
class hh_hmcs40_state : public driver_device
{
public:
- hh_hmcs40_state(const machine_config &mconfig, device_type type, const char *tag)
+ hh_hmcs40_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
@@ -341,7 +341,7 @@ INPUT_CHANGED_MEMBER(hh_hmcs40_state::single_interrupt_line)
class bambball_state : public hh_hmcs40_state
{
public:
- bambball_state(const machine_config &mconfig, device_type type, const char *tag)
+ bambball_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -451,7 +451,7 @@ MACHINE_CONFIG_END
class bmboxing_state : public hh_hmcs40_state
{
public:
- bmboxing_state(const machine_config &mconfig, device_type type, const char *tag)
+ bmboxing_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -585,7 +585,7 @@ MACHINE_CONFIG_END
class bfriskyt_state : public hh_hmcs40_state
{
public:
- bfriskyt_state(const machine_config &mconfig, device_type type, const char *tag)
+ bfriskyt_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -713,7 +713,7 @@ MACHINE_CONFIG_END
class packmon_state : public hh_hmcs40_state
{
public:
- packmon_state(const machine_config &mconfig, device_type type, const char *tag)
+ packmon_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -822,7 +822,7 @@ MACHINE_CONFIG_END
class msthawk_state : public hh_hmcs40_state
{
public:
- msthawk_state(const machine_config &mconfig, device_type type, const char *tag)
+ msthawk_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -948,7 +948,7 @@ MACHINE_CONFIG_END
class bzaxxon_state : public hh_hmcs40_state
{
public:
- bzaxxon_state(const machine_config &mconfig, device_type type, const char *tag)
+ bzaxxon_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -1066,7 +1066,7 @@ MACHINE_CONFIG_END
class zackman_state : public hh_hmcs40_state
{
public:
- zackman_state(const machine_config &mconfig, device_type type, const char *tag)
+ zackman_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -1183,7 +1183,7 @@ MACHINE_CONFIG_END
class bpengo_state : public hh_hmcs40_state
{
public:
- bpengo_state(const machine_config &mconfig, device_type type, const char *tag)
+ bpengo_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -1309,7 +1309,7 @@ MACHINE_CONFIG_END
class bbtime_state : public hh_hmcs40_state
{
public:
- bbtime_state(const machine_config &mconfig, device_type type, const char *tag)
+ bbtime_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -1431,7 +1431,7 @@ MACHINE_CONFIG_END
class bdoramon_state : public hh_hmcs40_state
{
public:
- bdoramon_state(const machine_config &mconfig, device_type type, const char *tag)
+ bdoramon_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -1527,7 +1527,7 @@ MACHINE_CONFIG_END
class bultrman_state : public hh_hmcs40_state
{
public:
- bultrman_state(const machine_config &mconfig, device_type type, const char *tag)
+ bultrman_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -1615,7 +1615,7 @@ MACHINE_CONFIG_END
class machiman_state : public hh_hmcs40_state
{
public:
- machiman_state(const machine_config &mconfig, device_type type, const char *tag)
+ machiman_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -1707,7 +1707,7 @@ MACHINE_CONFIG_END
class pairmtch_state : public hh_hmcs40_state
{
public:
- pairmtch_state(const machine_config &mconfig, device_type type, const char *tag)
+ pairmtch_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -1857,7 +1857,7 @@ MACHINE_CONFIG_END
class alnattck_state : public hh_hmcs40_state
{
public:
- alnattck_state(const machine_config &mconfig, device_type type, const char *tag)
+ alnattck_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -1966,7 +1966,7 @@ MACHINE_CONFIG_END
class cdkong_state : public hh_hmcs40_state
{
public:
- cdkong_state(const machine_config &mconfig, device_type type, const char *tag)
+ cdkong_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -2098,7 +2098,7 @@ MACHINE_CONFIG_END
class cgalaxn_state : public hh_hmcs40_state
{
public:
- cgalaxn_state(const machine_config &mconfig, device_type type, const char *tag)
+ cgalaxn_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -2229,7 +2229,7 @@ MACHINE_CONFIG_END
class cpacman_state : public hh_hmcs40_state
{
public:
- cpacman_state(const machine_config &mconfig, device_type type, const char *tag)
+ cpacman_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -2343,7 +2343,7 @@ MACHINE_CONFIG_END
class cmspacmn_state : public hh_hmcs40_state
{
public:
- cmspacmn_state(const machine_config &mconfig, device_type type, const char *tag)
+ cmspacmn_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -2450,7 +2450,7 @@ MACHINE_CONFIG_END
class egalaxn2_state : public hh_hmcs40_state
{
public:
- egalaxn2_state(const machine_config &mconfig, device_type type, const char *tag)
+ egalaxn2_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -2572,7 +2572,7 @@ MACHINE_CONFIG_END
class epacman2_state : public egalaxn2_state
{
public:
- epacman2_state(const machine_config &mconfig, device_type type, const char *tag)
+ epacman2_state(const machine_config &mconfig, device_type type, std::string tag)
: egalaxn2_state(mconfig, type, tag)
{ }
};
@@ -2630,7 +2630,7 @@ INPUT_PORTS_END
class eturtles_state : public hh_hmcs40_state
{
public:
- eturtles_state(const machine_config &mconfig, device_type type, const char *tag)
+ eturtles_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag),
m_cop_irq(0)
{ }
@@ -2821,7 +2821,7 @@ MACHINE_CONFIG_END
class estargte_state : public eturtles_state
{
public:
- estargte_state(const machine_config &mconfig, device_type type, const char *tag)
+ estargte_state(const machine_config &mconfig, device_type type, std::string tag)
: eturtles_state(mconfig, type, tag)
{ }
@@ -2929,7 +2929,7 @@ MACHINE_CONFIG_END
class ghalien_state : public hh_hmcs40_state
{
public:
- ghalien_state(const machine_config &mconfig, device_type type, const char *tag)
+ ghalien_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -3043,7 +3043,7 @@ MACHINE_CONFIG_END
class gckong_state : public hh_hmcs40_state
{
public:
- gckong_state(const machine_config &mconfig, device_type type, const char *tag)
+ gckong_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -3164,7 +3164,7 @@ MACHINE_CONFIG_END
class gdigdug_state : public hh_hmcs40_state
{
public:
- gdigdug_state(const machine_config &mconfig, device_type type, const char *tag)
+ gdigdug_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -3287,7 +3287,7 @@ MACHINE_CONFIG_END
class mwcbaseb_state : public hh_hmcs40_state
{
public:
- mwcbaseb_state(const machine_config &mconfig, device_type type, const char *tag)
+ mwcbaseb_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -3443,7 +3443,7 @@ MACHINE_CONFIG_END
class pbqbert_state : public hh_hmcs40_state
{
public:
- pbqbert_state(const machine_config &mconfig, device_type type, const char *tag)
+ pbqbert_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -3529,7 +3529,7 @@ MACHINE_CONFIG_END
class kingman_state : public hh_hmcs40_state
{
public:
- kingman_state(const machine_config &mconfig, device_type type, const char *tag)
+ kingman_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -3648,7 +3648,7 @@ MACHINE_CONFIG_END
class tmtron_state : public hh_hmcs40_state
{
public:
- tmtron_state(const machine_config &mconfig, device_type type, const char *tag)
+ tmtron_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
@@ -3771,7 +3771,7 @@ MACHINE_CONFIG_END
class vinvader_state : public hh_hmcs40_state
{
public:
- vinvader_state(const machine_config &mconfig, device_type type, const char *tag)
+ vinvader_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/hh_melps4.cpp b/src/mame/drivers/hh_melps4.cpp
index 541352078d7..ddc2e50d70a 100644
--- a/src/mame/drivers/hh_melps4.cpp
+++ b/src/mame/drivers/hh_melps4.cpp
@@ -17,7 +17,7 @@
class hh_melps4_state : public driver_device
{
public:
- hh_melps4_state(const machine_config &mconfig, device_type type, const char *tag)
+ hh_melps4_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_inp_matrix(*this, "IN"),
@@ -231,7 +231,7 @@ INPUT_CHANGED_MEMBER(hh_melps4_state::reset_button)
class cfrogger_state : public hh_melps4_state
{
public:
- cfrogger_state(const machine_config &mconfig, device_type type, const char *tag)
+ cfrogger_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_melps4_state(mconfig, type, tag)
{ }
@@ -344,7 +344,7 @@ MACHINE_CONFIG_END
class gjungler_state : public hh_melps4_state
{
public:
- gjungler_state(const machine_config &mconfig, device_type type, const char *tag)
+ gjungler_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_melps4_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/hh_pic16.cpp b/src/mame/drivers/hh_pic16.cpp
index bb65a69265e..7c4855944fd 100644
--- a/src/mame/drivers/hh_pic16.cpp
+++ b/src/mame/drivers/hh_pic16.cpp
@@ -34,7 +34,7 @@
class hh_pic16_state : public driver_device
{
public:
- hh_pic16_state(const machine_config &mconfig, device_type type, const char *tag)
+ hh_pic16_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_inp_matrix(*this, "IN"),
@@ -217,7 +217,7 @@ void hh_pic16_state::display_matrix(int maxx, int maxy, UINT32 setx, UINT32 sety
class maniac_state : public hh_pic16_state
{
public:
- maniac_state(const machine_config &mconfig, device_type type, const char *tag)
+ maniac_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_pic16_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/hh_sm510.cpp b/src/mame/drivers/hh_sm510.cpp
index 13c8b835fc4..814fddb4e2e 100644
--- a/src/mame/drivers/hh_sm510.cpp
+++ b/src/mame/drivers/hh_sm510.cpp
@@ -19,7 +19,7 @@
class hh_sm510_state : public driver_device
{
public:
- hh_sm510_state(const machine_config &mconfig, device_type type, const char *tag)
+ hh_sm510_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_inp_matrix(*this, "IN"),
@@ -159,7 +159,7 @@ READ8_MEMBER(hh_sm510_state::input_r)
class ktopgun_state : public hh_sm510_state
{
public:
- ktopgun_state(const machine_config &mconfig, device_type type, const char *tag)
+ ktopgun_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_sm510_state(mconfig, type, tag)
{
m_inp_lines = 3;
@@ -232,7 +232,7 @@ MACHINE_CONFIG_END
class ktmnt_state : public hh_sm510_state
{
public:
- ktmnt_state(const machine_config &mconfig, device_type type, const char *tag)
+ ktmnt_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_sm510_state(mconfig, type, tag)
{
m_inp_lines = 3;
@@ -305,7 +305,7 @@ MACHINE_CONFIG_END
class gnwmndon_state : public hh_sm510_state
{
public:
- gnwmndon_state(const machine_config &mconfig, device_type type, const char *tag)
+ gnwmndon_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_sm510_state(mconfig, type, tag)
{
m_inp_lines = 2;
diff --git a/src/mame/drivers/hh_tms1k.cpp b/src/mame/drivers/hh_tms1k.cpp
index 481aae7a1ca..6ea70d81b77 100644
--- a/src/mame/drivers/hh_tms1k.cpp
+++ b/src/mame/drivers/hh_tms1k.cpp
@@ -349,7 +349,7 @@ INPUT_CHANGED_MEMBER(hh_tms1k_state::power_button)
class mathmagi_state : public hh_tms1k_state
{
public:
- mathmagi_state(const machine_config &mconfig, device_type type, const char *tag)
+ mathmagi_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -527,7 +527,7 @@ MACHINE_CONFIG_END
class amaztron_state : public hh_tms1k_state
{
public:
- amaztron_state(const machine_config &mconfig, device_type type, const char *tag)
+ amaztron_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -668,7 +668,7 @@ MACHINE_CONFIG_END
class h2hbaseb_state : public hh_tms1k_state
{
public:
- h2hbaseb_state(const machine_config &mconfig, device_type type, const char *tag)
+ h2hbaseb_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -806,7 +806,7 @@ MACHINE_CONFIG_END
class h2hfootb_state : public hh_tms1k_state
{
public:
- h2hfootb_state(const machine_config &mconfig, device_type type, const char *tag)
+ h2hfootb_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -944,7 +944,7 @@ MACHINE_CONFIG_END
class tc4_state : public hh_tms1k_state
{
public:
- tc4_state(const machine_config &mconfig, device_type type, const char *tag)
+ tc4_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -1099,7 +1099,7 @@ MACHINE_CONFIG_END
class ebball_state : public hh_tms1k_state
{
public:
- ebball_state(const machine_config &mconfig, device_type type, const char *tag)
+ ebball_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -1230,7 +1230,7 @@ MACHINE_CONFIG_END
class ebball2_state : public hh_tms1k_state
{
public:
- ebball2_state(const machine_config &mconfig, device_type type, const char *tag)
+ ebball2_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -1360,7 +1360,7 @@ MACHINE_CONFIG_END
class ebball3_state : public hh_tms1k_state
{
public:
- ebball3_state(const machine_config &mconfig, device_type type, const char *tag)
+ ebball3_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -1523,7 +1523,7 @@ MACHINE_CONFIG_END
class einvader_state : public hh_tms1k_state
{
public:
- einvader_state(const machine_config &mconfig, device_type type, const char *tag)
+ einvader_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -1631,7 +1631,7 @@ MACHINE_CONFIG_END
class efootb4_state : public hh_tms1k_state
{
public:
- efootb4_state(const machine_config &mconfig, device_type type, const char *tag)
+ efootb4_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -1760,7 +1760,7 @@ MACHINE_CONFIG_END
class ebaskb2_state : public hh_tms1k_state
{
public:
- ebaskb2_state(const machine_config &mconfig, device_type type, const char *tag)
+ ebaskb2_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -1886,7 +1886,7 @@ MACHINE_CONFIG_END
class raisedvl_state : public hh_tms1k_state
{
public:
- raisedvl_state(const machine_config &mconfig, device_type type, const char *tag)
+ raisedvl_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -2018,7 +2018,7 @@ MACHINE_CONFIG_END
class gpoker_state : public hh_tms1k_state
{
public:
- gpoker_state(const machine_config &mconfig, device_type type, const char *tag)
+ gpoker_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag),
m_beeper(*this, "beeper")
{ }
@@ -2163,7 +2163,7 @@ MACHINE_CONFIG_END
class gjackpot_state : public gpoker_state
{
public:
- gjackpot_state(const machine_config &mconfig, device_type type, const char *tag)
+ gjackpot_state(const machine_config &mconfig, device_type type, std::string tag)
: gpoker_state(mconfig, type, tag)
{ }
@@ -2278,7 +2278,7 @@ MACHINE_CONFIG_END
class elecdet_state : public hh_tms1k_state
{
public:
- elecdet_state(const machine_config &mconfig, device_type type, const char *tag)
+ elecdet_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -2402,7 +2402,7 @@ MACHINE_CONFIG_END
class starwbc_state : public hh_tms1k_state
{
public:
- starwbc_state(const machine_config &mconfig, device_type type, const char *tag)
+ starwbc_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -2527,7 +2527,7 @@ MACHINE_CONFIG_END
class astro_state : public hh_tms1k_state
{
public:
- astro_state(const machine_config &mconfig, device_type type, const char *tag)
+ astro_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -2651,7 +2651,7 @@ MACHINE_CONFIG_END
class mdndclab_state : public hh_tms1k_state
{
public:
- mdndclab_state(const machine_config &mconfig, device_type type, const char *tag)
+ mdndclab_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -2848,7 +2848,7 @@ MACHINE_CONFIG_END
class comp4_state : public hh_tms1k_state
{
public:
- comp4_state(const machine_config &mconfig, device_type type, const char *tag)
+ comp4_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -2947,7 +2947,7 @@ MACHINE_CONFIG_END
class simon_state : public hh_tms1k_state
{
public:
- simon_state(const machine_config &mconfig, device_type type, const char *tag)
+ simon_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -3046,7 +3046,7 @@ MACHINE_CONFIG_END
class ssimon_state : public hh_tms1k_state
{
public:
- ssimon_state(const machine_config &mconfig, device_type type, const char *tag)
+ ssimon_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -3194,7 +3194,7 @@ MACHINE_CONFIG_END
class bigtrak_state : public hh_tms1k_state
{
public:
- bigtrak_state(const machine_config &mconfig, device_type type, const char *tag)
+ bigtrak_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -3373,7 +3373,7 @@ MACHINE_CONFIG_END
class cnsector_state : public hh_tms1k_state
{
public:
- cnsector_state(const machine_config &mconfig, device_type type, const char *tag)
+ cnsector_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -3506,7 +3506,7 @@ MACHINE_CONFIG_END
class merlin_state : public hh_tms1k_state
{
public:
- merlin_state(const machine_config &mconfig, device_type type, const char *tag)
+ merlin_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -3625,7 +3625,7 @@ MACHINE_CONFIG_END
class mmerlin_state : public merlin_state
{
public:
- mmerlin_state(const machine_config &mconfig, device_type type, const char *tag)
+ mmerlin_state(const machine_config &mconfig, device_type type, std::string tag)
: merlin_state(mconfig, type, tag)
{ }
};
@@ -3679,7 +3679,7 @@ MACHINE_CONFIG_END
class stopthief_state : public hh_tms1k_state
{
public:
- stopthief_state(const machine_config &mconfig, device_type type, const char *tag)
+ stopthief_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -3800,7 +3800,7 @@ MACHINE_CONFIG_END
class bankshot_state : public hh_tms1k_state
{
public:
- bankshot_state(const machine_config &mconfig, device_type type, const char *tag)
+ bankshot_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -3923,7 +3923,7 @@ MACHINE_CONFIG_END
class splitsec_state : public hh_tms1k_state
{
public:
- splitsec_state(const machine_config &mconfig, device_type type, const char *tag)
+ splitsec_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -4024,7 +4024,7 @@ MACHINE_CONFIG_END
class tandy12_state : public hh_tms1k_state
{
public:
- tandy12_state(const machine_config &mconfig, device_type type, const char *tag)
+ tandy12_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -4196,7 +4196,7 @@ MACHINE_CONFIG_END
class tbreakup_state : public hh_tms1k_state
{
public:
- tbreakup_state(const machine_config &mconfig, device_type type, const char *tag)
+ tbreakup_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag),
m_expander(*this, "expander")
{ }
@@ -4392,7 +4392,7 @@ MACHINE_CONFIG_END
class phpball_state : public hh_tms1k_state
{
public:
- phpball_state(const machine_config &mconfig, device_type type, const char *tag)
+ phpball_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/hh_ucom4.cpp b/src/mame/drivers/hh_ucom4.cpp
index 1b7c020bba3..f4132559f01 100644
--- a/src/mame/drivers/hh_ucom4.cpp
+++ b/src/mame/drivers/hh_ucom4.cpp
@@ -244,7 +244,7 @@ UINT8 hh_ucom4_state::read_inputs(int columns)
class ufombs_state : public hh_ucom4_state
{
public:
- ufombs_state(const machine_config &mconfig, device_type type, const char *tag)
+ ufombs_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -354,7 +354,7 @@ MACHINE_CONFIG_END
class ssfball_state : public hh_ucom4_state
{
public:
- ssfball_state(const machine_config &mconfig, device_type type, const char *tag)
+ ssfball_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -492,7 +492,7 @@ MACHINE_CONFIG_END
class bmsoccer_state : public hh_ucom4_state
{
public:
- bmsoccer_state(const machine_config &mconfig, device_type type, const char *tag)
+ bmsoccer_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -612,7 +612,7 @@ MACHINE_CONFIG_END
class bmsafari_state : public hh_ucom4_state
{
public:
- bmsafari_state(const machine_config &mconfig, device_type type, const char *tag)
+ bmsafari_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -719,7 +719,7 @@ MACHINE_CONFIG_END
class splasfgt_state : public hh_ucom4_state
{
public:
- splasfgt_state(const machine_config &mconfig, device_type type, const char *tag)
+ splasfgt_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -870,7 +870,7 @@ MACHINE_CONFIG_END
class bcclimbr_state : public hh_ucom4_state
{
public:
- bcclimbr_state(const machine_config &mconfig, device_type type, const char *tag)
+ bcclimbr_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -972,7 +972,7 @@ MACHINE_CONFIG_END
class tactix_state : public hh_ucom4_state
{
public:
- tactix_state(const machine_config &mconfig, device_type type, const char *tag)
+ tactix_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -1087,7 +1087,7 @@ MACHINE_CONFIG_END
class invspace_state : public hh_ucom4_state
{
public:
- invspace_state(const machine_config &mconfig, device_type type, const char *tag)
+ invspace_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -1186,7 +1186,7 @@ MACHINE_CONFIG_END
class efball_state : public hh_ucom4_state
{
public:
- efball_state(const machine_config &mconfig, device_type type, const char *tag)
+ efball_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -1297,7 +1297,7 @@ MACHINE_CONFIG_END
class galaxy2_state : public hh_ucom4_state
{
public:
- galaxy2_state(const machine_config &mconfig, device_type type, const char *tag)
+ galaxy2_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -1397,7 +1397,7 @@ MACHINE_CONFIG_END
class astrocmd_state : public hh_ucom4_state
{
public:
- astrocmd_state(const machine_config &mconfig, device_type type, const char *tag)
+ astrocmd_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -1504,7 +1504,7 @@ MACHINE_CONFIG_END
class edracula_state : public hh_ucom4_state
{
public:
- edracula_state(const machine_config &mconfig, device_type type, const char *tag)
+ edracula_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -1592,7 +1592,7 @@ MACHINE_CONFIG_END
class mvbfree_state : public hh_ucom4_state
{
public:
- mvbfree_state(const machine_config &mconfig, device_type type, const char *tag)
+ mvbfree_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -1701,7 +1701,7 @@ MACHINE_CONFIG_END
class tccombat_state : public hh_ucom4_state
{
public:
- tccombat_state(const machine_config &mconfig, device_type type, const char *tag)
+ tccombat_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -1798,7 +1798,7 @@ MACHINE_CONFIG_END
class tmtennis_state : public hh_ucom4_state
{
public:
- tmtennis_state(const machine_config &mconfig, device_type type, const char *tag)
+ tmtennis_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -1958,7 +1958,7 @@ MACHINE_CONFIG_END
class tmpacman_state : public hh_ucom4_state
{
public:
- tmpacman_state(const machine_config &mconfig, device_type type, const char *tag)
+ tmpacman_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -2060,7 +2060,7 @@ MACHINE_CONFIG_END
class tmscramb_state : public hh_ucom4_state
{
public:
- tmscramb_state(const machine_config &mconfig, device_type type, const char *tag)
+ tmscramb_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -2159,7 +2159,7 @@ MACHINE_CONFIG_END
class tcaveman_state : public hh_ucom4_state
{
public:
- tcaveman_state(const machine_config &mconfig, device_type type, const char *tag)
+ tcaveman_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
@@ -2256,7 +2256,7 @@ MACHINE_CONFIG_END
class alnchase_state : public hh_ucom4_state
{
public:
- alnchase_state(const machine_config &mconfig, device_type type, const char *tag)
+ alnchase_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/hideseek.cpp b/src/mame/drivers/hideseek.cpp
index 59ae4bd5d51..1f9021ec75e 100644
--- a/src/mame/drivers/hideseek.cpp
+++ b/src/mame/drivers/hideseek.cpp
@@ -33,7 +33,7 @@ Other stuff: NEC D4992 (RTC?) and xtal possibly 32.768kHz, 3V coin battery, 93L4
class hideseek_state : public driver_device
{
public:
- hideseek_state(const machine_config &mconfig, device_type type, const char *tag)
+ hideseek_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/highvdeo.cpp b/src/mame/drivers/highvdeo.cpp
index 72be90d47f7..85c0bac9d42 100644
--- a/src/mame/drivers/highvdeo.cpp
+++ b/src/mame/drivers/highvdeo.cpp
@@ -108,7 +108,7 @@ Game is V30 based, with rom banking (2Mb)
class highvdeo_state : public driver_device
{
public:
- highvdeo_state(const machine_config &mconfig, device_type type, const char *tag)
+ highvdeo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_blit_ram(*this, "blit_ram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/hikaru.cpp b/src/mame/drivers/hikaru.cpp
index b5939d4e09e..0755e84d04f 100644
--- a/src/mame/drivers/hikaru.cpp
+++ b/src/mame/drivers/hikaru.cpp
@@ -391,7 +391,7 @@ Notes:
class hikaru_state : public driver_device
{
public:
- hikaru_state(const machine_config &mconfig, device_type type, const char *tag)
+ hikaru_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
virtual void video_start() override;
diff --git a/src/mame/drivers/hitpoker.cpp b/src/mame/drivers/hitpoker.cpp
index 5991792fb5a..4679e485f23 100644
--- a/src/mame/drivers/hitpoker.cpp
+++ b/src/mame/drivers/hitpoker.cpp
@@ -54,7 +54,7 @@ Some debug tricks (let's test this CPU as more as possible):
class hitpoker_state : public driver_device
{
public:
- hitpoker_state(const machine_config &mconfig, device_type type, const char *tag)
+ hitpoker_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_sys_regs(*this, "sys_regs"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/hk68v10.cpp b/src/mame/drivers/hk68v10.cpp
index a6b5a357595..2b869cd7797 100644
--- a/src/mame/drivers/hk68v10.cpp
+++ b/src/mame/drivers/hk68v10.cpp
@@ -191,7 +191,7 @@
class hk68v10_state : public driver_device
{
public:
-hk68v10_state(const machine_config &mconfig, device_type type, const char *tag) :
+hk68v10_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device (mconfig, type, tag),
m_maincpu (*this, "maincpu")
,m_sccterm(*this, "scc")
diff --git a/src/mame/drivers/homelab.cpp b/src/mame/drivers/homelab.cpp
index 0d6fc6735f1..6f3a5bd4a7d 100644
--- a/src/mame/drivers/homelab.cpp
+++ b/src/mame/drivers/homelab.cpp
@@ -46,7 +46,7 @@ MB7051 - fuse programmed prom.
class homelab_state : public driver_device
{
public:
- homelab_state(const machine_config &mconfig, device_type type, const char *tag)
+ homelab_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker"),
diff --git a/src/mame/drivers/homez80.cpp b/src/mame/drivers/homez80.cpp
index ccddfcddccd..0f4976cae76 100644
--- a/src/mame/drivers/homez80.cpp
+++ b/src/mame/drivers/homez80.cpp
@@ -27,7 +27,7 @@
class homez80_state : public driver_device
{
public:
- homez80_state(const machine_config &mconfig, device_type type, const char *tag)
+ homez80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
,
diff --git a/src/mame/drivers/horizon.cpp b/src/mame/drivers/horizon.cpp
index 11076e517f2..05c9c89a7dd 100644
--- a/src/mame/drivers/horizon.cpp
+++ b/src/mame/drivers/horizon.cpp
@@ -47,7 +47,7 @@
class horizon_state : public driver_device
{
public:
- horizon_state(const machine_config &mconfig, device_type type, const char *tag)
+ horizon_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_usart_l(*this, I8251_L_TAG),
diff --git a/src/mame/drivers/hornet.cpp b/src/mame/drivers/hornet.cpp
index 71f94ad4929..28d358bb450 100644
--- a/src/mame/drivers/hornet.cpp
+++ b/src/mame/drivers/hornet.cpp
@@ -329,7 +329,7 @@
class hornet_state : public driver_device
{
public:
- hornet_state(const machine_config &mconfig, device_type type, const char *tag)
+ hornet_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_workram(*this, "workram"),
m_sharc_dataram0(*this, "sharc_dataram0"),
@@ -487,7 +487,7 @@ UINT32 hornet_state::screen_update_hornet(screen_device &screen, bitmap_rgb32 &b
UINT32 hornet_state::screen_update_hornet_2board(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
- if (strcmp(screen.tag(), ":lscreen") == 0)
+ if (screen.tag()==":lscreen")
{
device_t *voodoo = machine().device("voodoo0");
voodoo_update(voodoo, bitmap, cliprect);
@@ -495,7 +495,7 @@ UINT32 hornet_state::screen_update_hornet_2board(screen_device &screen, bitmap_r
/* TODO: tilemaps per screen */
m_k037122_1->tile_draw(screen, bitmap, cliprect);
}
- else if (strcmp(screen.tag(), ":rscreen") == 0)
+ else if (screen.tag()==":rscreen")
{
device_t *voodoo = machine().device("voodoo1");
voodoo_update(voodoo, bitmap, cliprect);
diff --git a/src/mame/drivers/hotblock.cpp b/src/mame/drivers/hotblock.cpp
index e6fd43c2d78..3da421f75c0 100644
--- a/src/mame/drivers/hotblock.cpp
+++ b/src/mame/drivers/hotblock.cpp
@@ -45,7 +45,7 @@ so it could be by them instead
class hotblock_state : public driver_device
{
public:
- hotblock_state(const machine_config &mconfig, device_type type, const char *tag)
+ hotblock_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette"),
diff --git a/src/mame/drivers/hotstuff.cpp b/src/mame/drivers/hotstuff.cpp
index ac5d14e0366..b891eadf90a 100644
--- a/src/mame/drivers/hotstuff.cpp
+++ b/src/mame/drivers/hotstuff.cpp
@@ -9,7 +9,7 @@
class hotstuff_state : public driver_device
{
public:
- hotstuff_state(const machine_config &mconfig, device_type type, const char *tag)
+ hotstuff_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bitmapram(*this, "bitmapram"),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/hp16500.cpp b/src/mame/drivers/hp16500.cpp
index d1783557ad7..10ec05cc9d8 100644
--- a/src/mame/drivers/hp16500.cpp
+++ b/src/mame/drivers/hp16500.cpp
@@ -60,7 +60,7 @@
class hp16500_state : public driver_device
{
public:
- hp16500_state(const machine_config &mconfig, device_type type, const char *tag)
+ hp16500_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, MAINCPU_TAG)
{ }
diff --git a/src/mame/drivers/hp49gp.cpp b/src/mame/drivers/hp49gp.cpp
index 4dbfe0bdb56..f79c01ec9d4 100644
--- a/src/mame/drivers/hp49gp.cpp
+++ b/src/mame/drivers/hp49gp.cpp
@@ -24,7 +24,7 @@ struct lcd_spi_t
class hp49gp_state : public driver_device
{
public:
- hp49gp_state(const machine_config &mconfig, device_type type, const char *tag)
+ hp49gp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_s3c2410(*this, "s3c2410"),
m_steppingstone(*this, "steppingstone"),
diff --git a/src/mame/drivers/hp64k.cpp b/src/mame/drivers/hp64k.cpp
index 02f6fd696a1..9bd8440b9de 100644
--- a/src/mame/drivers/hp64k.cpp
+++ b/src/mame/drivers/hp64k.cpp
@@ -169,7 +169,7 @@
class hp64k_state : public driver_device
{
public:
- hp64k_state(const machine_config &mconfig, device_type type, const char *tag);
+ hp64k_state(const machine_config &mconfig, device_type type, std::string tag);
virtual void driver_start() override;
//virtual void machine_start();
@@ -347,7 +347,7 @@ static ADDRESS_MAP_START(cpu_io_map , AS_IO , 16 , hp64k_state)
AM_RANGE(HP_MAKE_IOADDR(12 , 0) , HP_MAKE_IOADDR(12 , 3)) AM_WRITE(hp64k_irl_mask_w)
ADDRESS_MAP_END
-hp64k_state::hp64k_state(const machine_config &mconfig, device_type type, const char *tag)
+hp64k_state::hp64k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig , type , tag),
m_cpu(*this , "cpu"),
m_crtc(*this , "crtc"),
diff --git a/src/mame/drivers/hp9845.cpp b/src/mame/drivers/hp9845.cpp
index c303d1066d3..c308e890cbb 100644
--- a/src/mame/drivers/hp9845.cpp
+++ b/src/mame/drivers/hp9845.cpp
@@ -56,7 +56,7 @@
class hp9845_state : public driver_device
{
public:
- hp9845_state(const machine_config &mconfig, device_type type, const char *tag) :
+ hp9845_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag)
{ }
@@ -69,7 +69,7 @@ INPUT_PORTS_END
class hp9845b_state : public driver_device
{
public:
- hp9845b_state(const machine_config &mconfig, device_type type, const char *tag) :
+ hp9845b_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_lpu(*this , "lpu"),
m_ppu(*this , "ppu"),
diff --git a/src/mame/drivers/hp9k.cpp b/src/mame/drivers/hp9k.cpp
index 9fa6ae09513..1d9b947926a 100644
--- a/src/mame/drivers/hp9k.cpp
+++ b/src/mame/drivers/hp9k.cpp
@@ -120,7 +120,7 @@ private:
void putChar(UINT8 thec,int x,int y,bitmap_ind16 &bitmap);
public:
- hp9k_state(const machine_config &mconfig, device_type type, const char *tag)
+ hp9k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
//m_terminal(*this, TERMINAL_TAG),
diff --git a/src/mame/drivers/hp9k_3xx.cpp b/src/mame/drivers/hp9k_3xx.cpp
index 8bc7b1ec410..f3117d8afcc 100644
--- a/src/mame/drivers/hp9k_3xx.cpp
+++ b/src/mame/drivers/hp9k_3xx.cpp
@@ -57,7 +57,7 @@
class hp9k3xx_state : public driver_device
{
public:
- hp9k3xx_state(const machine_config &mconfig, device_type type, const char *tag)
+ hp9k3xx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, MAINCPU_TAG),
m_vram16(*this, "vram16"),
diff --git a/src/mame/drivers/hp_ipc.cpp b/src/mame/drivers/hp_ipc.cpp
index 1eddffdf46f..845a23f1958 100644
--- a/src/mame/drivers/hp_ipc.cpp
+++ b/src/mame/drivers/hp_ipc.cpp
@@ -268,7 +268,7 @@ Note external interrupt lines NBIR0 to NBIR3 can be asserted by an interface con
class hp_ipc_state : public driver_device
{
public:
- hp_ipc_state(const machine_config &mconfig, device_type type, const char *tag)
+ hp_ipc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/hprot1.cpp b/src/mame/drivers/hprot1.cpp
index dabd2b3d0f4..e7a3c7fe7d6 100644
--- a/src/mame/drivers/hprot1.cpp
+++ b/src/mame/drivers/hprot1.cpp
@@ -64,7 +64,7 @@ Infinite loop is reached at address 0x7699
class hprot1_state : public driver_device
{
public:
- hprot1_state(const machine_config &mconfig, device_type type, const char *tag)
+ hprot1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_lcdc(*this, "hd44780")
diff --git a/src/mame/drivers/hpz80unk.cpp b/src/mame/drivers/hpz80unk.cpp
index db39fbcc6d6..6c82c7f0b21 100644
--- a/src/mame/drivers/hpz80unk.cpp
+++ b/src/mame/drivers/hpz80unk.cpp
@@ -41,7 +41,7 @@ Z nothing
class hpz80unk_state : public driver_device
{
public:
- hpz80unk_state(const machine_config &mconfig, device_type type, const char *tag)
+ hpz80unk_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG),
diff --git a/src/mame/drivers/ht68k.cpp b/src/mame/drivers/ht68k.cpp
index b09ae69ce60..563229b5094 100644
--- a/src/mame/drivers/ht68k.cpp
+++ b/src/mame/drivers/ht68k.cpp
@@ -37,7 +37,7 @@ Lot of infos available at: http://www.classiccmp.org/cini/ht68k.htm
class ht68k_state : public driver_device
{
public:
- ht68k_state(const machine_config &mconfig, device_type type, const char *tag)
+ ht68k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_duart(*this, "duart68681"),
diff --git a/src/mame/drivers/hunter2.cpp b/src/mame/drivers/hunter2.cpp
index 246d8fcf641..c94724f44a0 100644
--- a/src/mame/drivers/hunter2.cpp
+++ b/src/mame/drivers/hunter2.cpp
@@ -34,7 +34,7 @@
class hunter2_state : public driver_device
{
public:
- hunter2_state(const machine_config &mconfig, device_type type, const char *tag)
+ hunter2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_speaker(*this, "speaker")
diff --git a/src/mame/drivers/hvyunit.cpp b/src/mame/drivers/hvyunit.cpp
index 21ec09dfe4b..8e150b0aca5 100644
--- a/src/mame/drivers/hvyunit.cpp
+++ b/src/mame/drivers/hvyunit.cpp
@@ -76,7 +76,7 @@ To Do:
class hvyunit_state : public driver_device
{
public:
- hvyunit_state(const machine_config &mconfig, device_type type, const char *tag)
+ hvyunit_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mastercpu(*this, "master"),
m_slavecpu(*this, "slave"),
diff --git a/src/mame/drivers/hyperscan.cpp b/src/mame/drivers/hyperscan.cpp
index 6813997dc33..598af762fa7 100644
--- a/src/mame/drivers/hyperscan.cpp
+++ b/src/mame/drivers/hyperscan.cpp
@@ -63,7 +63,7 @@
class hyperscan_state : public driver_device
{
public:
- hyperscan_state(const machine_config &mconfig, device_type type, const char *tag)
+ hyperscan_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/i7000.cpp b/src/mame/drivers/i7000.cpp
index 378c585cf64..87fa0f712f3 100644
--- a/src/mame/drivers/i7000.cpp
+++ b/src/mame/drivers/i7000.cpp
@@ -54,7 +54,7 @@
class i7000_state : public driver_device
{
public:
- i7000_state(const machine_config &mconfig, device_type type, const char *tag)
+ i7000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_card(*this, "cardslot"),
diff --git a/src/mame/drivers/ibm6580.cpp b/src/mame/drivers/ibm6580.cpp
index 93162d7a3a9..2caa74d04f1 100644
--- a/src/mame/drivers/ibm6580.cpp
+++ b/src/mame/drivers/ibm6580.cpp
@@ -22,7 +22,7 @@ ToDo:
class ibm6580_state : public driver_device
{
public:
- ibm6580_state(const machine_config &mconfig, device_type type, const char *tag)
+ ibm6580_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/ibmpc.cpp b/src/mame/drivers/ibmpc.cpp
index f49d500e829..a4349857dd2 100644
--- a/src/mame/drivers/ibmpc.cpp
+++ b/src/mame/drivers/ibmpc.cpp
@@ -268,7 +268,7 @@ XT U44 IBM.bin: IBM 5160 PC/XT Bank-selection decoding ROM (256x4 bit). Not mapp
class ibmpc_state : public driver_device
{
public:
- ibmpc_state(const machine_config &mconfig, device_type type, const char *tag)
+ ibmpc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/ibmpcjr.cpp b/src/mame/drivers/ibmpcjr.cpp
index f67bc071494..37bbf9d40a7 100644
--- a/src/mame/drivers/ibmpcjr.cpp
+++ b/src/mame/drivers/ibmpcjr.cpp
@@ -27,7 +27,7 @@
class pcjr_state : public driver_device
{
public:
- pcjr_state(const machine_config &mconfig, device_type type, const char *tag)
+ pcjr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pic8259(*this, "pic8259"),
diff --git a/src/mame/drivers/icatel.cpp b/src/mame/drivers/icatel.cpp
index 34e88e683fa..10124c3727b 100644
--- a/src/mame/drivers/icatel.cpp
+++ b/src/mame/drivers/icatel.cpp
@@ -27,7 +27,7 @@
class icatel_state : public driver_device
{
public:
- icatel_state(const machine_config &mconfig, device_type type, const char *tag)
+ icatel_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_lcdc(*this, "hd44780")
diff --git a/src/mame/drivers/ice_bozopail.cpp b/src/mame/drivers/ice_bozopail.cpp
index 0fb674c3e0e..4bff01178c0 100644
--- a/src/mame/drivers/ice_bozopail.cpp
+++ b/src/mame/drivers/ice_bozopail.cpp
@@ -22,7 +22,7 @@ http://www.highwaygames.com/arcade-machines/bozo-s-grand-prize-game-6751/
class ice_bozopail : public driver_device
{
public:
- ice_bozopail(const machine_config &mconfig, device_type type, const char *tag)
+ ice_bozopail(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
// ,m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/ice_tbd.cpp b/src/mame/drivers/ice_tbd.cpp
index 1d5fada7d9d..04f92cd74f1 100644
--- a/src/mame/drivers/ice_tbd.cpp
+++ b/src/mame/drivers/ice_tbd.cpp
@@ -23,7 +23,7 @@ not sure what the actual inputs / outputs would be on this, maybe just track pos
class ice_tbd_state : public driver_device
{
public:
- ice_tbd_state(const machine_config &mconfig, device_type type, const char *tag)
+ ice_tbd_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
,m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/icecold.cpp b/src/mame/drivers/icecold.cpp
index a21cb19976b..55a92b5f8d6 100644
--- a/src/mame/drivers/icecold.cpp
+++ b/src/mame/drivers/icecold.cpp
@@ -16,7 +16,7 @@
class icecold_state : public driver_device
{
public:
- icecold_state(const machine_config &mconfig, device_type type, const char *tag)
+ icecold_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ay8910_0(*this, "ay0"),
diff --git a/src/mame/drivers/ichiban.cpp b/src/mame/drivers/ichiban.cpp
index 6ac2c0c0404..23db14b22c5 100644
--- a/src/mame/drivers/ichiban.cpp
+++ b/src/mame/drivers/ichiban.cpp
@@ -47,7 +47,7 @@ HSync - 15.510kHz
class ichibanjyan_state : public driver_device
{
public:
- ichibanjyan_state(const machine_config &mconfig, device_type type, const char *tag)
+ ichibanjyan_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/ie15.cpp b/src/mame/drivers/ie15.cpp
index 558f6402d7f..edadf371478 100644
--- a/src/mame/drivers/ie15.cpp
+++ b/src/mame/drivers/ie15.cpp
@@ -52,7 +52,7 @@ class ie15_state : public driver_device,
public device_serial_interface
{
public:
- ie15_state(const machine_config &mconfig, device_type type, const char *tag) :
+ ie15_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
device_serial_interface(mconfig, *this),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/if800.cpp b/src/mame/drivers/if800.cpp
index 70e04f531d1..d840a7fbc5a 100644
--- a/src/mame/drivers/if800.cpp
+++ b/src/mame/drivers/if800.cpp
@@ -16,7 +16,7 @@
class if800_state : public driver_device
{
public:
- if800_state(const machine_config &mconfig, device_type type, const char *tag)
+ if800_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_hgdc(*this, "upd7220"),
m_video_ram(*this, "video_ram"),
diff --git a/src/mame/drivers/igs009.cpp b/src/mame/drivers/igs009.cpp
index effc725129c..8ae172df9e3 100644
--- a/src/mame/drivers/igs009.cpp
+++ b/src/mame/drivers/igs009.cpp
@@ -35,7 +35,7 @@ Year Game Manufacturer Notes
class igs009_state : public driver_device
{
public:
- igs009_state(const machine_config &mconfig, device_type type, const char *tag)
+ igs009_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/igs011.cpp b/src/mame/drivers/igs011.cpp
index 5375a46d499..1f5629ff019 100644
--- a/src/mame/drivers/igs011.cpp
+++ b/src/mame/drivers/igs011.cpp
@@ -83,7 +83,7 @@ struct blitter_t
class igs011_state : public driver_device
{
public:
- igs011_state(const machine_config &mconfig, device_type type, const char *tag)
+ igs011_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_oki(*this, "oki"),
diff --git a/src/mame/drivers/igs017.cpp b/src/mame/drivers/igs017.cpp
index 1d1d439b3fc..64e6a2da50d 100644
--- a/src/mame/drivers/igs017.cpp
+++ b/src/mame/drivers/igs017.cpp
@@ -58,7 +58,7 @@ Notes:
class igs017_state : public driver_device
{
public:
- igs017_state(const machine_config &mconfig, device_type type, const char *tag)
+ igs017_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_input_addr(-1),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/igs_fear.cpp b/src/mame/drivers/igs_fear.cpp
index 19a3976954c..fb74a19e951 100644
--- a/src/mame/drivers/igs_fear.cpp
+++ b/src/mame/drivers/igs_fear.cpp
@@ -12,7 +12,7 @@
class igs_fear_state : public driver_device
{
public:
- igs_fear_state(const machine_config &mconfig, device_type type, const char *tag)
+ igs_fear_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/igs_m027.cpp b/src/mame/drivers/igs_m027.cpp
index 48d85476b15..8939d49865a 100644
--- a/src/mame/drivers/igs_m027.cpp
+++ b/src/mame/drivers/igs_m027.cpp
@@ -31,7 +31,7 @@
class igs_m027_state : public driver_device
{
public:
- igs_m027_state(const machine_config &mconfig, device_type type, const char *tag)
+ igs_m027_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_igs_mainram(*this, "igs_mainram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/igs_m036.cpp b/src/mame/drivers/igs_m036.cpp
index a101a74b3b9..2dffab6d176 100644
--- a/src/mame/drivers/igs_m036.cpp
+++ b/src/mame/drivers/igs_m036.cpp
@@ -66,7 +66,7 @@ check more info and photo from cjdh2.zip!!!
class igs_m036_state : public driver_device
{
public:
- igs_m036_state(const machine_config &mconfig, device_type type, const char *tag)
+ igs_m036_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/igspc.cpp b/src/mame/drivers/igspc.cpp
index 2acd3fc9b2f..c6afd16a2ca 100644
--- a/src/mame/drivers/igspc.cpp
+++ b/src/mame/drivers/igspc.cpp
@@ -49,7 +49,7 @@ can't be emulated without proper mb bios
class speeddrv_state : public driver_device
{
public:
- speeddrv_state(const machine_config &mconfig, device_type type, const char *tag)
+ speeddrv_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/igspoker.cpp b/src/mame/drivers/igspoker.cpp
index 18d32b1d5e1..9bd844b6e27 100644
--- a/src/mame/drivers/igspoker.cpp
+++ b/src/mame/drivers/igspoker.cpp
@@ -76,7 +76,7 @@ FIX: PK Tetris have an input named AMUSE which I couldn't map. Maybe it is
class igspoker_state : public driver_device
{
public:
- igspoker_state(const machine_config &mconfig, device_type type, const char *tag)
+ igspoker_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_bg_tile_ram(*this, "bg_tile_ram"),
diff --git a/src/mame/drivers/imds.cpp b/src/mame/drivers/imds.cpp
index 0748c6d700f..6de967bb957 100644
--- a/src/mame/drivers/imds.cpp
+++ b/src/mame/drivers/imds.cpp
@@ -26,7 +26,7 @@ real hardware.
class imds_state : public driver_device
{
public:
- imds_state(const machine_config &mconfig, device_type type, const char *tag)
+ imds_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/imds2.cpp b/src/mame/drivers/imds2.cpp
index 7a579f7a89b..64694decc76 100644
--- a/src/mame/drivers/imds2.cpp
+++ b/src/mame/drivers/imds2.cpp
@@ -164,7 +164,7 @@ static ADDRESS_MAP_START(kb_io_map , AS_IO , 8 , imds2_state)
AM_RANGE(MCS48_PORT_T1 , MCS48_PORT_T1) AM_READ(imds2_kb_port_t1_r)
ADDRESS_MAP_END
-imds2_state::imds2_state(const machine_config &mconfig, device_type type, const char *tag)
+imds2_state::imds2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig , type , tag),
m_ipccpu(*this , "ipccpu"),
m_ipcsyspic(*this , "ipcsyspic"),
diff --git a/src/mame/drivers/imolagp.cpp b/src/mame/drivers/imolagp.cpp
index 5de4ed28812..2749dc48f8f 100644
--- a/src/mame/drivers/imolagp.cpp
+++ b/src/mame/drivers/imolagp.cpp
@@ -90,7 +90,7 @@ www.andys-arcade.com
class imolagp_state : public driver_device
{
public:
- imolagp_state(const machine_config &mconfig, device_type type, const char *tag)
+ imolagp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_slavecpu(*this, "slave"),
diff --git a/src/mame/drivers/imsai.cpp b/src/mame/drivers/imsai.cpp
index c41ada8d586..e477ba7c71b 100644
--- a/src/mame/drivers/imsai.cpp
+++ b/src/mame/drivers/imsai.cpp
@@ -27,7 +27,7 @@
class imsai_state : public driver_device
{
public:
- imsai_state(const machine_config &mconfig, device_type type, const char *tag)
+ imsai_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG),
diff --git a/src/mame/drivers/inder.cpp b/src/mame/drivers/inder.cpp
index f0dea109f11..259ac816d19 100644
--- a/src/mame/drivers/inder.cpp
+++ b/src/mame/drivers/inder.cpp
@@ -40,7 +40,7 @@
class inder_state : public genpin_class
{
public:
- inder_state(const machine_config &mconfig, device_type type, const char *tag)
+ inder_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_audiocpu(*this, "audiocpu")
diff --git a/src/mame/drivers/indiana.cpp b/src/mame/drivers/indiana.cpp
index 7852506df7a..f293d0e949f 100644
--- a/src/mame/drivers/indiana.cpp
+++ b/src/mame/drivers/indiana.cpp
@@ -27,7 +27,7 @@
class indiana_state : public driver_device
{
public:
- indiana_state(const machine_config &mconfig, device_type type, const char *tag)
+ indiana_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, M68K_TAG) { }
DECLARE_DRIVER_INIT(indiana);
diff --git a/src/mame/drivers/indigo.cpp b/src/mame/drivers/indigo.cpp
index 64a3a1c1c01..c10f7fa8c11 100644
--- a/src/mame/drivers/indigo.cpp
+++ b/src/mame/drivers/indigo.cpp
@@ -36,7 +36,7 @@ public:
TIMER_RTC
};
- indigo_state(const machine_config &mconfig, device_type type, const char *tag)
+ indigo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_wd33c93(*this, "wd33c93")
diff --git a/src/mame/drivers/indy_indigo2.cpp b/src/mame/drivers/indy_indigo2.cpp
index 9d76f45c753..ed894f3e1b0 100644
--- a/src/mame/drivers/indy_indigo2.cpp
+++ b/src/mame/drivers/indy_indigo2.cpp
@@ -99,7 +99,7 @@ public:
TIMER_IP22_MSEC
};
- ip22_state(const machine_config &mconfig, device_type type, const char *tag) :
+ ip22_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_wd33c93(*this, "wd33c93"),
diff --git a/src/mame/drivers/instruct.cpp b/src/mame/drivers/instruct.cpp
index 469203c59cc..c4eaca9a4fd 100644
--- a/src/mame/drivers/instruct.cpp
+++ b/src/mame/drivers/instruct.cpp
@@ -52,7 +52,7 @@
class instruct_state : public driver_device
{
public:
- instruct_state(const machine_config &mconfig, device_type type, const char *tag)
+ instruct_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_p_ram(*this, "mainram")
diff --git a/src/mame/drivers/interact.cpp b/src/mame/drivers/interact.cpp
index 35ecbbf2276..e0281ecf65f 100644
--- a/src/mame/drivers/interact.cpp
+++ b/src/mame/drivers/interact.cpp
@@ -66,7 +66,7 @@
class interact_state : public hec2hrp_state
{
public:
- interact_state(const machine_config &mconfig, device_type type, const char *tag)
+ interact_state(const machine_config &mconfig, device_type type, std::string tag)
: hec2hrp_state(mconfig, type, tag),
m_videoram(*this, "videoram") { }
diff --git a/src/mame/drivers/intrscti.cpp b/src/mame/drivers/intrscti.cpp
index 9c27cd17f45..e30bc8223fc 100644
--- a/src/mame/drivers/intrscti.cpp
+++ b/src/mame/drivers/intrscti.cpp
@@ -20,7 +20,7 @@ I've not had a chance to wire up the board yet, but it might be possible to writ
class intrscti_state : public driver_device
{
public:
- intrscti_state(const machine_config &mconfig, device_type type, const char *tag)
+ intrscti_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_subcpu(*this,"subcpu"),
diff --git a/src/mame/drivers/invqix.cpp b/src/mame/drivers/invqix.cpp
index b0daddc94f2..05c8b7b79a8 100644
--- a/src/mame/drivers/invqix.cpp
+++ b/src/mame/drivers/invqix.cpp
@@ -126,7 +126,7 @@ as well as Up Right, Cocktail or Flip Screen from the service menu.
class invqix_state : public driver_device
{
public:
- invqix_state(const machine_config &mconfig, device_type type, const char *tag)
+ invqix_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_eeprom(*this, "eeprom"),
diff --git a/src/mame/drivers/ipc.cpp b/src/mame/drivers/ipc.cpp
index 04798d223a9..94d103fa259 100644
--- a/src/mame/drivers/ipc.cpp
+++ b/src/mame/drivers/ipc.cpp
@@ -48,7 +48,7 @@
class ipc_state : public driver_device
{
public:
- ipc_state(const machine_config &mconfig, device_type type, const char *tag)
+ ipc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/ipds.cpp b/src/mame/drivers/ipds.cpp
index 00df139e72e..7462cf98c0c 100644
--- a/src/mame/drivers/ipds.cpp
+++ b/src/mame/drivers/ipds.cpp
@@ -18,7 +18,7 @@
class ipds_state : public driver_device
{
public:
- ipds_state(const machine_config &mconfig, device_type type, const char *tag)
+ ipds_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_crtc(*this, "i8275"),
diff --git a/src/mame/drivers/iq151.cpp b/src/mame/drivers/iq151.cpp
index 76986eae7f9..1214ce8e6b2 100644
--- a/src/mame/drivers/iq151.cpp
+++ b/src/mame/drivers/iq151.cpp
@@ -66,7 +66,7 @@ ToDo:
class iq151_state : public driver_device
{
public:
- iq151_state(const machine_config &mconfig, device_type type, const char *tag)
+ iq151_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pic(*this, "pic8259"),
diff --git a/src/mame/drivers/iris3130.cpp b/src/mame/drivers/iris3130.cpp
index 47d8c0fb9b1..9a4eb17bc5e 100644
--- a/src/mame/drivers/iris3130.cpp
+++ b/src/mame/drivers/iris3130.cpp
@@ -51,7 +51,7 @@
class sgi_ip2_state : public driver_device
{
public:
- sgi_ip2_state(const machine_config &mconfig, device_type type, const char *tag)
+ sgi_ip2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mainram(*this, "mainram"),
diff --git a/src/mame/drivers/irisha.cpp b/src/mame/drivers/irisha.cpp
index bdb0a39dd36..62e624899c2 100644
--- a/src/mame/drivers/irisha.cpp
+++ b/src/mame/drivers/irisha.cpp
@@ -27,7 +27,7 @@
class irisha_state : public driver_device
{
public:
- irisha_state(const machine_config &mconfig, device_type type, const char *tag) :
+ irisha_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_p_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/isbc.cpp b/src/mame/drivers/isbc.cpp
index 600b0886b74..304bf1184cd 100644
--- a/src/mame/drivers/isbc.cpp
+++ b/src/mame/drivers/isbc.cpp
@@ -28,7 +28,7 @@ isbc86 commands: BYTE WORD REAL EREAL ROMTEST. ROMTEST works, the others hang.
class isbc_state : public driver_device
{
public:
- isbc_state(const machine_config &mconfig, device_type type, const char *tag)
+ isbc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_uart8251(*this, "uart8251"),
diff --git a/src/mame/drivers/iskr103x.cpp b/src/mame/drivers/iskr103x.cpp
index 945415f676b..45106f3743a 100644
--- a/src/mame/drivers/iskr103x.cpp
+++ b/src/mame/drivers/iskr103x.cpp
@@ -32,7 +32,7 @@
class iskr103x_state : public driver_device
{
public:
- iskr103x_state(const machine_config &mconfig, device_type type, const char *tag)
+ iskr103x_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/istellar.cpp b/src/mame/drivers/istellar.cpp
index 272eb7b1e9a..8913b15a2df 100644
--- a/src/mame/drivers/istellar.cpp
+++ b/src/mame/drivers/istellar.cpp
@@ -30,7 +30,7 @@ Todo:
class istellar_state : public driver_device
{
public:
- istellar_state(const machine_config &mconfig, device_type type, const char *tag)
+ istellar_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_laserdisc(*this, "laserdisc") ,
m_tile_ram(*this, "tile_ram"),
diff --git a/src/mame/drivers/iteagle.cpp b/src/mame/drivers/iteagle.cpp
index 7346b6db62d..106cf700641 100644
--- a/src/mame/drivers/iteagle.cpp
+++ b/src/mame/drivers/iteagle.cpp
@@ -117,7 +117,7 @@ www.multitech.com
class iteagle_state : public driver_device
{
public:
- iteagle_state(const machine_config &mconfig, device_type type, const char *tag)
+ iteagle_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{}
diff --git a/src/mame/drivers/itech8.cpp b/src/mame/drivers/itech8.cpp
index 13b33bdaf1d..834057e8bae 100644
--- a/src/mame/drivers/itech8.cpp
+++ b/src/mame/drivers/itech8.cpp
@@ -1093,8 +1093,8 @@ INPUT_PORTS_END
CUSTOM_INPUT_MEMBER(itech8_state::gtg_mux)
{
- const char *tag1 = (const char *)param;
- const char *tag2 = tag1 + strlen(tag1) + 1;
+ const char * tag1 = (const char *)param;
+ const char * tag2 = tag1 + strlen(tag1) + 1;
return ioport(tag1)->read() & ioport(tag2)->read();
}
diff --git a/src/mame/drivers/itgambl2.cpp b/src/mame/drivers/itgambl2.cpp
index 1852545ccc3..67812206cd3 100644
--- a/src/mame/drivers/itgambl2.cpp
+++ b/src/mame/drivers/itgambl2.cpp
@@ -62,7 +62,7 @@
class itgambl2_state : public driver_device
{
public:
- itgambl2_state(const machine_config &mconfig, device_type type, const char *tag)
+ itgambl2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette") { }
diff --git a/src/mame/drivers/itgambl3.cpp b/src/mame/drivers/itgambl3.cpp
index 96ac6efe2b8..d1ed0b20cac 100644
--- a/src/mame/drivers/itgambl3.cpp
+++ b/src/mame/drivers/itgambl3.cpp
@@ -50,7 +50,7 @@
class itgambl3_state : public driver_device
{
public:
- itgambl3_state(const machine_config &mconfig, device_type type, const char *tag)
+ itgambl3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette") { }
diff --git a/src/mame/drivers/itgamble.cpp b/src/mame/drivers/itgamble.cpp
index 8c9cf972924..d61efae2663 100644
--- a/src/mame/drivers/itgamble.cpp
+++ b/src/mame/drivers/itgamble.cpp
@@ -64,7 +64,7 @@
class itgamble_state : public driver_device
{
public:
- itgamble_state(const machine_config &mconfig, device_type type, const char *tag)
+ itgamble_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette")
diff --git a/src/mame/drivers/itt3030.cpp b/src/mame/drivers/itt3030.cpp
index 98a2f64c7cc..b3f02baa35f 100644
--- a/src/mame/drivers/itt3030.cpp
+++ b/src/mame/drivers/itt3030.cpp
@@ -205,7 +205,7 @@ Beeper Circuit, all ICs shown:
class itt3030_state : public driver_device
{
public:
- itt3030_state(const machine_config &mconfig, device_type type, const char *tag)
+ itt3030_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_kbdmcu(*this, "kbdmcu")
diff --git a/src/mame/drivers/jackie.cpp b/src/mame/drivers/jackie.cpp
index 26fb86afcbf..3e0667632d7 100644
--- a/src/mame/drivers/jackie.cpp
+++ b/src/mame/drivers/jackie.cpp
@@ -53,7 +53,7 @@ Note
class jackie_state : public driver_device
{
public:
- jackie_state(const machine_config &mconfig, device_type type, const char *tag)
+ jackie_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/jackpool.cpp b/src/mame/drivers/jackpool.cpp
index b5528b4fc8b..2d2ed3c47b0 100644
--- a/src/mame/drivers/jackpool.cpp
+++ b/src/mame/drivers/jackpool.cpp
@@ -26,7 +26,7 @@ TODO:
class jackpool_state : public driver_device
{
public:
- jackpool_state(const machine_config &mconfig, device_type type, const char *tag)
+ jackpool_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vram(*this, "vram"),
m_io(*this, "io"),
diff --git a/src/mame/drivers/jade.cpp b/src/mame/drivers/jade.cpp
index 38710c20bd8..659075458c8 100644
--- a/src/mame/drivers/jade.cpp
+++ b/src/mame/drivers/jade.cpp
@@ -23,7 +23,7 @@
class jade_state : public driver_device
{
public:
- jade_state(const machine_config &mconfig, device_type type, const char *tag)
+ jade_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG),
diff --git a/src/mame/drivers/jaguar.cpp b/src/mame/drivers/jaguar.cpp
index 17fa609b29c..aba346f274e 100644
--- a/src/mame/drivers/jaguar.cpp
+++ b/src/mame/drivers/jaguar.cpp
@@ -377,7 +377,7 @@ extern const device_type COJAG_HARDDISK;
class cojag_hdd : public ide_hdd_device
{
public:
- cojag_hdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ cojag_hdd(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: ide_hdd_device(mconfig, COJAG_HARDDISK, "HDD CoJag", tag, owner, clock, "cojag_hdd", __FILE__)
{
}
diff --git a/src/mame/drivers/jalmah.cpp b/src/mame/drivers/jalmah.cpp
index 426aab1e010..32b541b4357 100644
--- a/src/mame/drivers/jalmah.cpp
+++ b/src/mame/drivers/jalmah.cpp
@@ -121,7 +121,7 @@ OSC: 12.000MHz
class jalmah_state : public driver_device
{
public:
- jalmah_state(const machine_config &mconfig, device_type type, const char *tag)
+ jalmah_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_sc0_vram(*this, "sc0_vram"),
m_sc1_vram(*this, "sc1_vram"),
diff --git a/src/mame/drivers/jangou.cpp b/src/mame/drivers/jangou.cpp
index a72c7c1a9b6..75ecbb1622d 100644
--- a/src/mame/drivers/jangou.cpp
+++ b/src/mame/drivers/jangou.cpp
@@ -40,7 +40,7 @@ $c088-$c095 player tiles
class jangou_state : public driver_device
{
public:
- jangou_state(const machine_config &mconfig, device_type type, const char *tag)
+ jangou_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cpu_0(*this, "cpu0"),
m_cpu_1(*this, "cpu1"),
diff --git a/src/mame/drivers/jankenmn.cpp b/src/mame/drivers/jankenmn.cpp
index f6182842d14..104724ff750 100644
--- a/src/mame/drivers/jankenmn.cpp
+++ b/src/mame/drivers/jankenmn.cpp
@@ -160,7 +160,7 @@
class jankenmn_state : public driver_device
{
public:
- jankenmn_state(const machine_config &mconfig, device_type type, const char *tag)
+ jankenmn_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/jantotsu.cpp b/src/mame/drivers/jantotsu.cpp
index 94a3cbd8710..b42950e2db6 100644
--- a/src/mame/drivers/jantotsu.cpp
+++ b/src/mame/drivers/jantotsu.cpp
@@ -104,7 +104,7 @@ dumped by sayu
class jantotsu_state : public driver_device
{
public:
- jantotsu_state(const machine_config &mconfig, device_type type, const char *tag)
+ jantotsu_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_adpcm(*this, "adpcm") ,
diff --git a/src/mame/drivers/jchan.cpp b/src/mame/drivers/jchan.cpp
index a5eb0ba0699..d98c66aad21 100644
--- a/src/mame/drivers/jchan.cpp
+++ b/src/mame/drivers/jchan.cpp
@@ -165,7 +165,7 @@ JC-301-00 W11 9510K7059 23C16000 U85
class jchan_state : public driver_device
{
public:
- jchan_state(const machine_config &mconfig, device_type type, const char *tag)
+ jchan_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_subcpu(*this,"sub"),
diff --git a/src/mame/drivers/jclub2.cpp b/src/mame/drivers/jclub2.cpp
index e3135dcbc6e..777d9f82d79 100644
--- a/src/mame/drivers/jclub2.cpp
+++ b/src/mame/drivers/jclub2.cpp
@@ -105,7 +105,7 @@ To do:
class darkhors_state : public driver_device
{
public:
- darkhors_state(const machine_config &mconfig, device_type type, const char *tag)
+ darkhors_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_tmapram(*this, "tmapram"),
m_tmapscroll(*this, "tmapscroll"),
diff --git a/src/mame/drivers/jeutel.cpp b/src/mame/drivers/jeutel.cpp
index c86dc4821e5..0cd387c68d8 100644
--- a/src/mame/drivers/jeutel.cpp
+++ b/src/mame/drivers/jeutel.cpp
@@ -25,7 +25,7 @@ ToDo:
class jeutel_state : public genpin_class
{
public:
- jeutel_state(const machine_config &mconfig, device_type type, const char *tag)
+ jeutel_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_cpu2(*this, "cpu2")
diff --git a/src/mame/drivers/jokrwild.cpp b/src/mame/drivers/jokrwild.cpp
index 67c76df6eb8..0599f23a050 100644
--- a/src/mame/drivers/jokrwild.cpp
+++ b/src/mame/drivers/jokrwild.cpp
@@ -83,7 +83,7 @@
class jokrwild_state : public driver_device
{
public:
- jokrwild_state(const machine_config &mconfig, device_type type, const char *tag)
+ jokrwild_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/jollyjgr.cpp b/src/mame/drivers/jollyjgr.cpp
index 8026d553914..78862f77700 100644
--- a/src/mame/drivers/jollyjgr.cpp
+++ b/src/mame/drivers/jollyjgr.cpp
@@ -107,7 +107,7 @@ Notes:
class jollyjgr_state : public driver_device
{
public:
- jollyjgr_state(const machine_config &mconfig, device_type type, const char *tag)
+ jollyjgr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/jongkyo.cpp b/src/mame/drivers/jongkyo.cpp
index 46e762a799f..c8dffe3c1ac 100644
--- a/src/mame/drivers/jongkyo.cpp
+++ b/src/mame/drivers/jongkyo.cpp
@@ -37,7 +37,7 @@
class jongkyo_state : public driver_device
{
public:
- jongkyo_state(const machine_config &mconfig, device_type type, const char *tag)
+ jongkyo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/jonos.cpp b/src/mame/drivers/jonos.cpp
index 657d2dca18b..96c4b133336 100644
--- a/src/mame/drivers/jonos.cpp
+++ b/src/mame/drivers/jonos.cpp
@@ -19,7 +19,7 @@
class jonos_state : public driver_device
{
public:
- jonos_state(const machine_config &mconfig, device_type type, const char *tag)
+ jonos_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_p_videoram(*this, "videoram")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/joystand.cpp b/src/mame/drivers/joystand.cpp
index a17aacc787a..f31cc2e1e83 100644
--- a/src/mame/drivers/joystand.cpp
+++ b/src/mame/drivers/joystand.cpp
@@ -100,7 +100,7 @@ Notes:
class joystand_state : public driver_device
{
public:
- joystand_state(const machine_config &mconfig, device_type type, const char *tag)
+ joystand_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_tmp68301(*this, "tmp68301"),
diff --git a/src/mame/drivers/jp.cpp b/src/mame/drivers/jp.cpp
index 4e25800686a..0df22f3677a 100644
--- a/src/mame/drivers/jp.cpp
+++ b/src/mame/drivers/jp.cpp
@@ -26,7 +26,7 @@ ToDo:
class jp_state : public genpin_class
{
public:
- jp_state(const machine_config &mconfig, device_type type, const char *tag)
+ jp_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/jpmmps.cpp b/src/mame/drivers/jpmmps.cpp
index c80b2c8fa64..6071aaa5d6a 100644
--- a/src/mame/drivers/jpmmps.cpp
+++ b/src/mame/drivers/jpmmps.cpp
@@ -40,7 +40,7 @@
class jpmmps_state : public driver_device
{
public:
- jpmmps_state(const machine_config &mconfig, device_type type, const char *tag)
+ jpmmps_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_psg(*this, "sn"),
diff --git a/src/mame/drivers/jpms80.cpp b/src/mame/drivers/jpms80.cpp
index ff3edef631a..9decebb1123 100644
--- a/src/mame/drivers/jpms80.cpp
+++ b/src/mame/drivers/jpms80.cpp
@@ -32,7 +32,7 @@ System80 is based on the SRU platform, but with more outputs and finally a separ
class jpms80_state : public driver_device
{
public:
- jpms80_state(const machine_config &mconfig, device_type type, const char *tag)
+ jpms80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/jpmsru.cpp b/src/mame/drivers/jpmsru.cpp
index 98a3a895991..2b51e6b84e1 100644
--- a/src/mame/drivers/jpmsru.cpp
+++ b/src/mame/drivers/jpmsru.cpp
@@ -25,7 +25,7 @@
class jpmsru_state : public driver_device
{
public:
- jpmsru_state(const machine_config &mconfig, device_type type, const char *tag)
+ jpmsru_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/jpmsys7.cpp b/src/mame/drivers/jpmsys7.cpp
index 44b8134d67e..60e4c3062c7 100644
--- a/src/mame/drivers/jpmsys7.cpp
+++ b/src/mame/drivers/jpmsys7.cpp
@@ -28,7 +28,7 @@ Pluto 8: ColdFire 5475
class jpmsys7_state : public driver_device
{
public:
- jpmsys7_state(const machine_config &mconfig, device_type type, const char *tag)
+ jpmsys7_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/jr100.cpp b/src/mame/drivers/jr100.cpp
index 8ec6d10dfc1..e9cd0ed0872 100644
--- a/src/mame/drivers/jr100.cpp
+++ b/src/mame/drivers/jr100.cpp
@@ -26,7 +26,7 @@
class jr100_state : public driver_device
{
public:
- jr100_state(const machine_config &mconfig, device_type type, const char *tag)
+ jr100_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ram(*this, "ram"),
m_pcg(*this, "pcg"),
diff --git a/src/mame/drivers/jr200.cpp b/src/mame/drivers/jr200.cpp
index f04d8bb1c07..961688c0bff 100644
--- a/src/mame/drivers/jr200.cpp
+++ b/src/mame/drivers/jr200.cpp
@@ -25,7 +25,7 @@
class jr200_state : public driver_device
{
public:
- jr200_state(const machine_config &mconfig, device_type type, const char *tag)
+ jr200_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vram(*this, "vram"),
m_cram(*this, "cram"),
diff --git a/src/mame/drivers/jrpacman.cpp b/src/mame/drivers/jrpacman.cpp
index 773a6788d4a..02a8fa6aacb 100644
--- a/src/mame/drivers/jrpacman.cpp
+++ b/src/mame/drivers/jrpacman.cpp
@@ -108,7 +108,7 @@
class jrpacman_state : public pacman_state
{
public:
- jrpacman_state(const machine_config &mconfig, device_type type, const char *tag)
+ jrpacman_state(const machine_config &mconfig, device_type type, std::string tag)
: pacman_state(mconfig, type, tag) { }
DECLARE_WRITE8_MEMBER(jrpacman_interrupt_vector_w);
DECLARE_WRITE8_MEMBER(irq_mask_w);
diff --git a/src/mame/drivers/jtc.cpp b/src/mame/drivers/jtc.cpp
index 07114be0ac1..9b1c4c9544d 100644
--- a/src/mame/drivers/jtc.cpp
+++ b/src/mame/drivers/jtc.cpp
@@ -25,7 +25,7 @@
class jtc_state : public driver_device
{
public:
- jtc_state(const machine_config &mconfig, device_type type, const char *tag)
+ jtc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, UB8830D_TAG),
m_cassette(*this, "cassette"),
@@ -57,7 +57,7 @@ public:
class jtces88_state : public jtc_state
{
public:
- jtces88_state(const machine_config &mconfig, device_type type, const char *tag)
+ jtces88_state(const machine_config &mconfig, device_type type, std::string tag)
: jtc_state(mconfig, type, tag)
{ }
};
@@ -66,7 +66,7 @@ public:
class jtces23_state : public jtc_state
{
public:
- jtces23_state(const machine_config &mconfig, device_type type, const char *tag)
+ jtces23_state(const machine_config &mconfig, device_type type, std::string tag)
: jtc_state(mconfig, type, tag)
{ }
@@ -78,7 +78,7 @@ public:
class jtces40_state : public jtc_state
{
public:
- jtces40_state(const machine_config &mconfig, device_type type, const char *tag)
+ jtces40_state(const machine_config &mconfig, device_type type, std::string tag)
: jtc_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/jubilee.cpp b/src/mame/drivers/jubilee.cpp
index cee308786cd..95ab37d9d18 100644
--- a/src/mame/drivers/jubilee.cpp
+++ b/src/mame/drivers/jubilee.cpp
@@ -206,7 +206,7 @@
class jubilee_state : public driver_device
{
public:
- jubilee_state(const machine_config &mconfig, device_type type, const char *tag)
+ jubilee_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoworkram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/juicebox.cpp b/src/mame/drivers/juicebox.cpp
index 3b6a24e568c..0b1f2fb62e1 100644
--- a/src/mame/drivers/juicebox.cpp
+++ b/src/mame/drivers/juicebox.cpp
@@ -31,7 +31,7 @@ struct jb_smc_t
class juicebox_state : public driver_device
{
public:
- juicebox_state(const machine_config &mconfig, device_type type, const char *tag)
+ juicebox_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac(*this, "dac"),
diff --git a/src/mame/drivers/junior.cpp b/src/mame/drivers/junior.cpp
index 6a3f4c3928c..f88c2abf3ad 100644
--- a/src/mame/drivers/junior.cpp
+++ b/src/mame/drivers/junior.cpp
@@ -34,7 +34,7 @@ Test Paste:
class junior_state : public driver_device
{
public:
- junior_state(const machine_config &mconfig, device_type type, const char *tag)
+ junior_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_riot(*this, "riot")
,
diff --git a/src/mame/drivers/junofrst.cpp b/src/mame/drivers/junofrst.cpp
index f8a5b55b9d8..159f94bddb8 100644
--- a/src/mame/drivers/junofrst.cpp
+++ b/src/mame/drivers/junofrst.cpp
@@ -94,7 +94,7 @@ Blitter source graphics
class junofrst_state : public tutankhm_state
{
public:
- junofrst_state(const machine_config &mconfig, device_type type, const char *tag)
+ junofrst_state(const machine_config &mconfig, device_type type, std::string tag)
: tutankhm_state(mconfig, type, tag),
m_audiocpu(*this, "audiocpu"),
m_i8039(*this, "mcu"),
diff --git a/src/mame/drivers/jupace.cpp b/src/mame/drivers/jupace.cpp
index 86ba95a41c6..85a053608e8 100644
--- a/src/mame/drivers/jupace.cpp
+++ b/src/mame/drivers/jupace.cpp
@@ -68,7 +68,7 @@ Ports:
class ace_state : public driver_device
{
public:
- ace_state(const machine_config &mconfig, device_type type, const char *tag)
+ ace_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_ppi(*this, I8255_TAG),
diff --git a/src/mame/drivers/jvh.cpp b/src/mame/drivers/jvh.cpp
index 68c5c44b120..eec499e8518 100644
--- a/src/mame/drivers/jvh.cpp
+++ b/src/mame/drivers/jvh.cpp
@@ -13,7 +13,7 @@
class jvh_state : public driver_device
{
public:
- jvh_state(const machine_config &mconfig, device_type type, const char *tag)
+ jvh_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/k1003.cpp b/src/mame/drivers/k1003.cpp
index fd95cf461d3..c24017f1cca 100644
--- a/src/mame/drivers/k1003.cpp
+++ b/src/mame/drivers/k1003.cpp
@@ -49,7 +49,7 @@ The writes to ports 0A, 11 & 13 are continuous.
class k1003_state : public driver_device
{
public:
- k1003_state(const machine_config &mconfig, device_type type, const char *tag)
+ k1003_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/k8915.cpp b/src/mame/drivers/k8915.cpp
index 568851f15e0..b95f0dc81ce 100644
--- a/src/mame/drivers/k8915.cpp
+++ b/src/mame/drivers/k8915.cpp
@@ -19,7 +19,7 @@
class k8915_state : public driver_device
{
public:
- k8915_state(const machine_config &mconfig, device_type type, const char *tag)
+ k8915_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_p_videoram(*this, "p_videoram")
diff --git a/src/mame/drivers/kaneko16.cpp b/src/mame/drivers/kaneko16.cpp
index 96b3987b6de..54440c69c7e 100644
--- a/src/mame/drivers/kaneko16.cpp
+++ b/src/mame/drivers/kaneko16.cpp
@@ -688,7 +688,7 @@ ADDRESS_MAP_END
Shogun Warriors
***************************************************************************/
-void kaneko16_state::kaneko16_common_oki_bank_w( const char *bankname, const char* tag, int bank, size_t fixedsize, size_t bankedsize )
+void kaneko16_state::kaneko16_common_oki_bank_w( const char *bankname, std::string tag, int bank, size_t fixedsize, size_t bankedsize )
{
UINT32 bankaddr;
UINT8* samples = memregion(tag)->base();
diff --git a/src/mame/drivers/kas89.cpp b/src/mame/drivers/kas89.cpp
index cf7cd47487f..767ade46e8a 100644
--- a/src/mame/drivers/kas89.cpp
+++ b/src/mame/drivers/kas89.cpp
@@ -204,7 +204,7 @@
class kas89_state : public driver_device
{
public:
- kas89_state(const machine_config &mconfig, device_type type, const char *tag)
+ kas89_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/kenseim.cpp b/src/mame/drivers/kenseim.cpp
index e5ec6e2cd78..9835db8afac 100644
--- a/src/mame/drivers/kenseim.cpp
+++ b/src/mame/drivers/kenseim.cpp
@@ -149,7 +149,7 @@ GND | 20
class kenseim_state : public cps_state
{
public:
- kenseim_state(const machine_config &mconfig, device_type type, const char *tag)
+ kenseim_state(const machine_config &mconfig, device_type type, std::string tag)
: cps_state(mconfig, type, tag),
m_to_68k_cmd_low(0),
m_to_68k_cmd_d9(0),
diff --git a/src/mame/drivers/kim1.cpp b/src/mame/drivers/kim1.cpp
index 828b8357805..ca0bc4073d0 100644
--- a/src/mame/drivers/kim1.cpp
+++ b/src/mame/drivers/kim1.cpp
@@ -107,7 +107,7 @@ Test Paste:
class kim1_state : public driver_device
{
public:
- kim1_state(const machine_config &mconfig, device_type type, const char *tag)
+ kim1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_riot2(*this, "miot_u2"),
diff --git a/src/mame/drivers/kingdrby.cpp b/src/mame/drivers/kingdrby.cpp
index ac0f42de2bd..2040c9281bd 100644
--- a/src/mame/drivers/kingdrby.cpp
+++ b/src/mame/drivers/kingdrby.cpp
@@ -85,7 +85,7 @@ sg1_b.e1 4096 0x92ef3c13 D2732D
class kingdrby_state : public driver_device
{
public:
- kingdrby_state(const machine_config &mconfig, device_type type, const char *tag)
+ kingdrby_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vram(*this, "vram"),
m_attr(*this, "attr"),
diff --git a/src/mame/drivers/kingpin.cpp b/src/mame/drivers/kingpin.cpp
index 6f72cd2ee2c..2dc917dfc43 100644
--- a/src/mame/drivers/kingpin.cpp
+++ b/src/mame/drivers/kingpin.cpp
@@ -42,7 +42,7 @@ Todo:
class kingpin_state : public driver_device
{
public:
- kingpin_state(const machine_config &mconfig, device_type type, const char *tag)
+ kingpin_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu")
diff --git a/src/mame/drivers/kinst.cpp b/src/mame/drivers/kinst.cpp
index 46775f6378b..56768ff65a1 100644
--- a/src/mame/drivers/kinst.cpp
+++ b/src/mame/drivers/kinst.cpp
@@ -146,7 +146,7 @@ public:
TIMER_IRQ0_STOP
};
- kinst_state(const machine_config &mconfig, device_type type, const char *tag)
+ kinst_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_rambase(*this, "rambase"),
m_rambase2(*this, "rambase2"),
diff --git a/src/mame/drivers/kissproto.cpp b/src/mame/drivers/kissproto.cpp
index 4ba8f744db8..1d2e7a674fb 100644
--- a/src/mame/drivers/kissproto.cpp
+++ b/src/mame/drivers/kissproto.cpp
@@ -14,7 +14,7 @@
class kissp_state : public driver_device
{
public:
- kissp_state(const machine_config &mconfig, device_type type, const char *tag)
+ kissp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/koftball.cpp b/src/mame/drivers/koftball.cpp
index 9156ec999d6..48c77745419 100644
--- a/src/mame/drivers/koftball.cpp
+++ b/src/mame/drivers/koftball.cpp
@@ -40,7 +40,7 @@ ft5_v6_c4.u58 /
class koftball_state : public driver_device
{
public:
- koftball_state(const machine_config &mconfig, device_type type, const char *tag)
+ koftball_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_main_ram(*this, "main_ram"),
diff --git a/src/mame/drivers/koikoi.cpp b/src/mame/drivers/koikoi.cpp
index 2e374415c5c..7dc046acee7 100644
--- a/src/mame/drivers/koikoi.cpp
+++ b/src/mame/drivers/koikoi.cpp
@@ -50,7 +50,7 @@ static const int input_tab[]= { 0x22, 0x64, 0x44, 0x68, 0x30, 0x50, 0x70, 0x48,
class koikoi_state : public driver_device
{
public:
- koikoi_state(const machine_config &mconfig, device_type type, const char *tag)
+ koikoi_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/konamigq.cpp b/src/mame/drivers/konamigq.cpp
index 458737b8556..21051c57664 100644
--- a/src/mame/drivers/konamigq.cpp
+++ b/src/mame/drivers/konamigq.cpp
@@ -84,7 +84,7 @@
class konamigq_state : public driver_device
{
public:
- konamigq_state(const machine_config &mconfig, device_type type, const char *tag)
+ konamigq_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/drivers/konamigv.cpp b/src/mame/drivers/konamigv.cpp
index 24a2a64cbde..cc426022594 100644
--- a/src/mame/drivers/konamigv.cpp
+++ b/src/mame/drivers/konamigv.cpp
@@ -137,7 +137,7 @@ Notes:
class konamigv_state : public driver_device
{
public:
- konamigv_state(const machine_config &mconfig, device_type type, const char *tag)
+ konamigv_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_am53cf96(*this, "am53cf96"),
m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/konamim2.cpp b/src/mame/drivers/konamim2.cpp
index 426556d0e95..db61f5d8077 100644
--- a/src/mame/drivers/konamim2.cpp
+++ b/src/mame/drivers/konamim2.cpp
@@ -206,7 +206,7 @@ struct CDE_DMA
class konamim2_state : public driver_device
{
public:
- konamim2_state(const machine_config &mconfig, device_type type, const char *tag)
+ konamim2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_main_ram(*this, "main_ram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/konendev.cpp b/src/mame/drivers/konendev.cpp
index 9e8f542eb65..3535ddb3867 100644
--- a/src/mame/drivers/konendev.cpp
+++ b/src/mame/drivers/konendev.cpp
@@ -44,7 +44,7 @@
class konendev_state : public driver_device
{
public:
- konendev_state(const machine_config &mconfig, device_type type, const char *tag)
+ konendev_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gcu(*this, "gcu"),
diff --git a/src/mame/drivers/konin.cpp b/src/mame/drivers/konin.cpp
index ac7c8a0d69c..e78bb1743b1 100644
--- a/src/mame/drivers/konin.cpp
+++ b/src/mame/drivers/konin.cpp
@@ -36,7 +36,7 @@
class konin_state : public driver_device
{
public:
- konin_state(const machine_config &mconfig, device_type type, const char *tag)
+ konin_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/kontest.cpp b/src/mame/drivers/kontest.cpp
index f14f545f840..90266c31f87 100644
--- a/src/mame/drivers/kontest.cpp
+++ b/src/mame/drivers/kontest.cpp
@@ -29,7 +29,7 @@
class kontest_state : public driver_device
{
public:
- kontest_state(const machine_config &mconfig, device_type type, const char *tag)
+ kontest_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, "ram"),
diff --git a/src/mame/drivers/korgm1.cpp b/src/mame/drivers/korgm1.cpp
index 6714aaab7dc..f3fa5769c29 100644
--- a/src/mame/drivers/korgm1.cpp
+++ b/src/mame/drivers/korgm1.cpp
@@ -21,7 +21,7 @@
class korgm1_state : public driver_device
{
public:
- korgm1_state(const machine_config &mconfig, device_type type, const char *tag)
+ korgm1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/ksys573.cpp b/src/mame/drivers/ksys573.cpp
index 18de66cf40d..89c464476d9 100644
--- a/src/mame/drivers/ksys573.cpp
+++ b/src/mame/drivers/ksys573.cpp
@@ -371,7 +371,7 @@ G: gun mania only, drives air soft gun (this game uses real BB bullet)
class ksys573_state : public driver_device
{
public:
- ksys573_state( const machine_config &mconfig, device_type type, const char *tag ) :
+ ksys573_state( const machine_config &mconfig, device_type type, std::string tag ) :
driver_device( mconfig, type, tag ),
m_analog0(*this, "analog0" ),
m_analog1(*this, "analog1" ),
diff --git a/src/mame/drivers/kungfur.cpp b/src/mame/drivers/kungfur.cpp
index 0a4d2b5c86c..827d11b0f3d 100644
--- a/src/mame/drivers/kungfur.cpp
+++ b/src/mame/drivers/kungfur.cpp
@@ -67,7 +67,7 @@ mae(forward), migi(right), ushiro(back), hidari(left)
class kungfur_state : public driver_device
{
public:
- kungfur_state(const machine_config &mconfig, device_type type, const char *tag)
+ kungfur_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_adpcm1(*this, "adpcm1"),
diff --git a/src/mame/drivers/kurukuru.cpp b/src/mame/drivers/kurukuru.cpp
index ef8248de862..f6da4092398 100644
--- a/src/mame/drivers/kurukuru.cpp
+++ b/src/mame/drivers/kurukuru.cpp
@@ -204,7 +204,7 @@
class kurukuru_state : public driver_device
{
public:
- kurukuru_state(const machine_config &mconfig, device_type type, const char *tag)
+ kurukuru_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_audiocpu(*this, "audiocpu"),
m_v9938(*this, "v9938"),
diff --git a/src/mame/drivers/laser3k.cpp b/src/mame/drivers/laser3k.cpp
index c8732ac239d..c39112dffa8 100644
--- a/src/mame/drivers/laser3k.cpp
+++ b/src/mame/drivers/laser3k.cpp
@@ -66,7 +66,7 @@ enum
class laser3k_state : public driver_device
{
public:
- laser3k_state(const machine_config &mconfig, device_type type, const char *tag)
+ laser3k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_ram(*this, "mainram")
diff --git a/src/mame/drivers/laserbas.cpp b/src/mame/drivers/laserbas.cpp
index 77684ccfc78..9522234496c 100644
--- a/src/mame/drivers/laserbas.cpp
+++ b/src/mame/drivers/laserbas.cpp
@@ -57,7 +57,7 @@ expected: 43 FB CC 9A D4 23 6C 01 3E <- From ROM 4
class laserbas_state : public driver_device
{
public:
- laserbas_state(const machine_config &mconfig, device_type type, const char *tag)
+ laserbas_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_protram(*this, "protram"),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/lastbank.cpp b/src/mame/drivers/lastbank.cpp
index 75bafbb6d6c..77a0d5e2746 100644
--- a/src/mame/drivers/lastbank.cpp
+++ b/src/mame/drivers/lastbank.cpp
@@ -23,7 +23,7 @@
class lastbank_state : public driver_device
{
public:
- lastbank_state(const machine_config &mconfig, device_type type, const char *tag)
+ lastbank_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_vdp(*this, "tc0091lvc")
diff --git a/src/mame/drivers/lastfght.cpp b/src/mame/drivers/lastfght.cpp
index b4d34c73d1c..1c4e59edc8b 100644
--- a/src/mame/drivers/lastfght.cpp
+++ b/src/mame/drivers/lastfght.cpp
@@ -71,7 +71,7 @@ Notes:
class lastfght_state : public driver_device
{
public:
- lastfght_state(const machine_config &mconfig, device_type type, const char *tag)
+ lastfght_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_screen(*this, "screen"),
diff --git a/src/mame/drivers/laz_aftrshok.cpp b/src/mame/drivers/laz_aftrshok.cpp
index d9611e29dd6..f92210e0416 100644
--- a/src/mame/drivers/laz_aftrshok.cpp
+++ b/src/mame/drivers/laz_aftrshok.cpp
@@ -36,7 +36,7 @@ https://www.youtube.com/watch?v=9DIhuOEVwf4
class aftrshok_state : public driver_device
{
public:
- aftrshok_state(const machine_config &mconfig, device_type type, const char *tag)
+ aftrshok_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
// ,m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/laz_awetoss.cpp b/src/mame/drivers/laz_awetoss.cpp
index e0ae4697f64..cc5cf7fc40c 100644
--- a/src/mame/drivers/laz_awetoss.cpp
+++ b/src/mame/drivers/laz_awetoss.cpp
@@ -16,7 +16,7 @@ Awesome tossem u21 = 27c512
class awetoss_state : public driver_device
{
public:
- awetoss_state(const machine_config &mconfig, device_type type, const char *tag)
+ awetoss_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
// ,m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/laz_ribrac.cpp b/src/mame/drivers/laz_ribrac.cpp
index fde9067a7b0..15cc298f44a 100644
--- a/src/mame/drivers/laz_ribrac.cpp
+++ b/src/mame/drivers/laz_ribrac.cpp
@@ -20,7 +20,7 @@ http://ohwow-arcade.com/Assets/Game_Manuals/RIBBIT%20RACIN.PDF
class laz_ribrac_state : public driver_device
{
public:
- laz_ribrac_state(const machine_config &mconfig, device_type type, const char *tag)
+ laz_ribrac_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
// ,m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/lbeach.cpp b/src/mame/drivers/lbeach.cpp
index 22000e3069a..05acb63d805 100644
--- a/src/mame/drivers/lbeach.cpp
+++ b/src/mame/drivers/lbeach.cpp
@@ -33,7 +33,7 @@ TODO:
class lbeach_state : public driver_device
{
public:
- lbeach_state(const machine_config &mconfig, device_type type, const char *tag)
+ lbeach_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_bg_vram(*this, "bg_vram"),
diff --git a/src/mame/drivers/lcmate2.cpp b/src/mame/drivers/lcmate2.cpp
index 01daa3ce6d4..a633813b5c8 100644
--- a/src/mame/drivers/lcmate2.cpp
+++ b/src/mame/drivers/lcmate2.cpp
@@ -41,7 +41,7 @@
class lcmate2_state : public driver_device
{
public:
- lcmate2_state(const machine_config &mconfig, device_type type, const char *tag)
+ lcmate2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_lcdc(*this, "hd44780"),
diff --git a/src/mame/drivers/leapster.cpp b/src/mame/drivers/leapster.cpp
index 7f53fea59d4..45709316727 100644
--- a/src/mame/drivers/leapster.cpp
+++ b/src/mame/drivers/leapster.cpp
@@ -215,7 +215,7 @@ PCB - LEAPSTER-TV:
class leapster_state : public driver_device
{
public:
- leapster_state(const machine_config &mconfig, device_type type, const char *tag)
+ leapster_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cart(*this, "cartslot")
diff --git a/src/mame/drivers/lft.cpp b/src/mame/drivers/lft.cpp
index 63479765180..e2ee2169d4a 100644
--- a/src/mame/drivers/lft.cpp
+++ b/src/mame/drivers/lft.cpp
@@ -15,7 +15,7 @@
class lft_state : public driver_device
{
public:
- lft_state(const machine_config &mconfig, device_type type, const char *tag)
+ lft_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_terminal(*this, "terminal")
diff --git a/src/mame/drivers/lg-dvd.cpp b/src/mame/drivers/lg-dvd.cpp
index 0ea3c2ad14a..4ea7b54c03b 100644
--- a/src/mame/drivers/lg-dvd.cpp
+++ b/src/mame/drivers/lg-dvd.cpp
@@ -10,7 +10,7 @@
class lg_dvd_state : public driver_device {
public:
- lg_dvd_state(const machine_config &mconfig, device_type type, const char *tag)
+ lg_dvd_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/lgp.cpp b/src/mame/drivers/lgp.cpp
index aa1f18ff8b6..58f5360f721 100644
--- a/src/mame/drivers/lgp.cpp
+++ b/src/mame/drivers/lgp.cpp
@@ -74,7 +74,7 @@ Dumping Notes:
class lgp_state : public driver_device
{
public:
- lgp_state(const machine_config &mconfig, device_type type, const char *tag)
+ lgp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_laserdisc(*this, "laserdisc") ,
m_tile_ram(*this, "tile_ram"),
diff --git a/src/mame/drivers/limenko.cpp b/src/mame/drivers/limenko.cpp
index 57c7f1df3b4..d89650c3155 100644
--- a/src/mame/drivers/limenko.cpp
+++ b/src/mame/drivers/limenko.cpp
@@ -34,7 +34,7 @@
class limenko_state : public driver_device
{
public:
- limenko_state(const machine_config &mconfig, device_type type, const char *tag)
+ limenko_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_oki(*this, "oki"),
diff --git a/src/mame/drivers/lindbergh.cpp b/src/mame/drivers/lindbergh.cpp
index e83f0a37d39..2bdcba66559 100644
--- a/src/mame/drivers/lindbergh.cpp
+++ b/src/mame/drivers/lindbergh.cpp
@@ -343,13 +343,13 @@ Sega 2005
class lindbergh_state : public driver_device
{
public:
- lindbergh_state(const machine_config &mconfig, device_type type, const char *tag);
+ lindbergh_state(const machine_config &mconfig, device_type type, std::string tag);
virtual void machine_start() override;
virtual void machine_reset() override;
};
-lindbergh_state::lindbergh_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag)
+lindbergh_state::lindbergh_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag)
{
}
diff --git a/src/mame/drivers/littlerb.cpp b/src/mame/drivers/littlerb.cpp
index 6ec40e52ff2..bbb9b862877 100644
--- a/src/mame/drivers/littlerb.cpp
+++ b/src/mame/drivers/littlerb.cpp
@@ -74,7 +74,7 @@ Dip sw.2
class littlerb_state : public driver_device
{
public:
- littlerb_state(const machine_config &mconfig, device_type type, const char *tag)
+ littlerb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_indervid(*this, "inder_vid"),
diff --git a/src/mame/drivers/lola8a.cpp b/src/mame/drivers/lola8a.cpp
index ae8b90b6a8e..095463e2478 100644
--- a/src/mame/drivers/lola8a.cpp
+++ b/src/mame/drivers/lola8a.cpp
@@ -33,7 +33,7 @@
class lola8a_state : public driver_device
{
public:
- lola8a_state(const machine_config &mconfig, device_type type, const char *tag)
+ lola8a_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_cass(*this, "cassette"),
diff --git a/src/mame/drivers/looping.cpp b/src/mame/drivers/looping.cpp
index 09ba6ffeda2..897312e90a7 100644
--- a/src/mame/drivers/looping.cpp
+++ b/src/mame/drivers/looping.cpp
@@ -100,7 +100,7 @@ L056-6 9A " " VLI-8-4 7A "
class looping_state : public driver_device
{
public:
- looping_state(const machine_config &mconfig, device_type type, const char *tag)
+ looping_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/ltcasino.cpp b/src/mame/drivers/ltcasino.cpp
index 49bc8da5301..7fe1453feb8 100644
--- a/src/mame/drivers/ltcasino.cpp
+++ b/src/mame/drivers/ltcasino.cpp
@@ -23,7 +23,7 @@ etc.
class ltcasino_state : public driver_device
{
public:
- ltcasino_state(const machine_config &mconfig, device_type type, const char *tag)
+ ltcasino_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_tile_num_ram(*this, "tile_nuram"),
m_tile_atr_ram(*this, "tile_atr_ram"),
diff --git a/src/mame/drivers/ltd.cpp b/src/mame/drivers/ltd.cpp
index 23749cd2313..36f12f993e3 100644
--- a/src/mame/drivers/ltd.cpp
+++ b/src/mame/drivers/ltd.cpp
@@ -48,7 +48,7 @@ ToDo:
class ltd_state : public genpin_class
{
public:
- ltd_state(const machine_config &mconfig, device_type type, const char *tag)
+ ltd_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_p_ram(*this, "nvram")
diff --git a/src/mame/drivers/luckgrln.cpp b/src/mame/drivers/luckgrln.cpp
index 56d5747a5e7..0f193fe2701 100644
--- a/src/mame/drivers/luckgrln.cpp
+++ b/src/mame/drivers/luckgrln.cpp
@@ -88,7 +88,7 @@
class luckgrln_state : public driver_device
{
public:
- luckgrln_state(const machine_config &mconfig, device_type type, const char *tag)
+ luckgrln_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_reel1_ram(*this, "reel1_ram"),
m_reel1_attr(*this, "reel1_attr"),
diff --git a/src/mame/drivers/m14.cpp b/src/mame/drivers/m14.cpp
index 7a81d5fab73..1858d42f501 100644
--- a/src/mame/drivers/m14.cpp
+++ b/src/mame/drivers/m14.cpp
@@ -59,7 +59,7 @@ Dumped by Chackn
class m14_state : public driver_device
{
public:
- m14_state(const machine_config &mconfig, device_type type, const char *tag)
+ m14_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_video_ram(*this, "video_ram"),
m_color_ram(*this, "color_ram"),
diff --git a/src/mame/drivers/m20.cpp b/src/mame/drivers/m20.cpp
index 89e792e83ad..4c16424cbbe 100644
--- a/src/mame/drivers/m20.cpp
+++ b/src/mame/drivers/m20.cpp
@@ -56,7 +56,7 @@ E I1 Vectored interrupt error
class m20_state : public driver_device
{
public:
- m20_state(const machine_config &mconfig, device_type type, const char *tag)
+ m20_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/drivers/m24.cpp b/src/mame/drivers/m24.cpp
index a055e1df881..810b5e1d1cd 100644
--- a/src/mame/drivers/m24.cpp
+++ b/src/mame/drivers/m24.cpp
@@ -18,7 +18,7 @@
class m24_state : public driver_device
{
public:
- m24_state(const machine_config &mconfig, device_type type, const char *tag) :
+ m24_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mb(*this, "mb"),
diff --git a/src/mame/drivers/m63.cpp b/src/mame/drivers/m63.cpp
index 1a0f04752eb..fb84e8be149 100644
--- a/src/mame/drivers/m63.cpp
+++ b/src/mame/drivers/m63.cpp
@@ -126,7 +126,7 @@ Dip locations verified for:
class m63_state : public driver_device
{
public:
- m63_state(const machine_config &mconfig, device_type type, const char *tag)
+ m63_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_scrollram(*this, "scrollram"),
diff --git a/src/mame/drivers/m6805evs.cpp b/src/mame/drivers/m6805evs.cpp
index ce7ee0a89fa..9563eee16b1 100644
--- a/src/mame/drivers/m6805evs.cpp
+++ b/src/mame/drivers/m6805evs.cpp
@@ -33,7 +33,7 @@ ToDo:
class m6805evs_state : public driver_device
{
public:
- m6805evs_state(const machine_config &mconfig, device_type type, const char *tag)
+ m6805evs_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/m79152pc.cpp b/src/mame/drivers/m79152pc.cpp
index 9cd9cb9acb8..99d8631b703 100644
--- a/src/mame/drivers/m79152pc.cpp
+++ b/src/mame/drivers/m79152pc.cpp
@@ -16,7 +16,7 @@
class m79152pc_state : public driver_device
{
public:
- m79152pc_state(const machine_config &mconfig, device_type type, const char *tag)
+ m79152pc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_p_videoram(*this, "p_videoram"),
m_p_attributes(*this, "p_attributes"),
diff --git a/src/mame/drivers/macs.cpp b/src/mame/drivers/macs.cpp
index 0bcdb63d3ce..c98675f0f73 100644
--- a/src/mame/drivers/macs.cpp
+++ b/src/mame/drivers/macs.cpp
@@ -64,7 +64,7 @@ KISEKAE -- info
class macs_state : public driver_device
{
public:
- macs_state(const machine_config &mconfig, device_type type, const char *tag)
+ macs_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ram2(*this, "ram2"),
m_maincpu(*this,"maincpu")
diff --git a/src/mame/drivers/magic10.cpp b/src/mame/drivers/magic10.cpp
index 6005f807aac..4457c7cc3bb 100644
--- a/src/mame/drivers/magic10.cpp
+++ b/src/mame/drivers/magic10.cpp
@@ -91,7 +91,7 @@
class magic10_state : public driver_device
{
public:
- magic10_state(const machine_config &mconfig, device_type type, const char *tag)
+ magic10_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_layer0_videoram(*this, "layer0_videoram"),
m_layer1_videoram(*this, "layer1_videoram"),
diff --git a/src/mame/drivers/magicard.cpp b/src/mame/drivers/magicard.cpp
index 3662ae30d99..4ae38fbeb0e 100644
--- a/src/mame/drivers/magicard.cpp
+++ b/src/mame/drivers/magicard.cpp
@@ -174,7 +174,7 @@
class magicard_state : public driver_device
{
public:
- magicard_state(const machine_config &mconfig, device_type type, const char *tag)
+ magicard_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_magicram(*this, "magicram"),
m_magicramb(*this, "magicramb"),
diff --git a/src/mame/drivers/magicfly.cpp b/src/mame/drivers/magicfly.cpp
index bb82206dda1..99168421c71 100644
--- a/src/mame/drivers/magicfly.cpp
+++ b/src/mame/drivers/magicfly.cpp
@@ -448,7 +448,7 @@
class magicfly_state : public driver_device
{
public:
- magicfly_state(const machine_config &mconfig, device_type type, const char *tag)
+ magicfly_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/magictg.cpp b/src/mame/drivers/magictg.cpp
index 63b0df20394..979101b9429 100644
--- a/src/mame/drivers/magictg.cpp
+++ b/src/mame/drivers/magictg.cpp
@@ -145,7 +145,7 @@ Medium size chip with heat sink on it
class magictg_state : public driver_device
{
public:
- magictg_state(const machine_config &mconfig, device_type type, const char *tag)
+ magictg_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mips(*this, "mips"),
m_adsp(*this, "adsp"),
diff --git a/src/mame/drivers/magtouch.cpp b/src/mame/drivers/magtouch.cpp
index 1e5c06922b0..2c5bb94981e 100644
--- a/src/mame/drivers/magtouch.cpp
+++ b/src/mame/drivers/magtouch.cpp
@@ -86,7 +86,7 @@ video card
class magtouch_state : public pcat_base_state
{
public:
- magtouch_state(const machine_config &mconfig, device_type type, const char *tag)
+ magtouch_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag),
m_uart(*this, "ns16450_0"),
m_microtouch(*this, "microtouch"){ }
diff --git a/src/mame/drivers/majorpkr.cpp b/src/mame/drivers/majorpkr.cpp
index aed787f9459..f10d32d5222 100644
--- a/src/mame/drivers/majorpkr.cpp
+++ b/src/mame/drivers/majorpkr.cpp
@@ -462,7 +462,7 @@
class majorpkr_state : public driver_device
{
public:
- majorpkr_state(const machine_config &mconfig, device_type type, const char *tag)
+ majorpkr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_gfxdecode(*this, "gfxdecode"),
m_palette_bank(*this, "palette_bank"),
diff --git a/src/mame/drivers/manohman.cpp b/src/mame/drivers/manohman.cpp
index 430413996a9..cad7e2678ff 100644
--- a/src/mame/drivers/manohman.cpp
+++ b/src/mame/drivers/manohman.cpp
@@ -142,7 +142,7 @@
class _manohman_state : public driver_device
{
public:
- _manohman_state(const machine_config &mconfig, device_type type, const char *tag)
+ _manohman_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/marinedt.cpp b/src/mame/drivers/marinedt.cpp
index 0f8e24b6199..194180cfbcc 100644
--- a/src/mame/drivers/marinedt.cpp
+++ b/src/mame/drivers/marinedt.cpp
@@ -157,7 +157,7 @@ p2 ink doesn't always light up in test mode
class marinedt_state : public driver_device
{
public:
- marinedt_state(const machine_config &mconfig, device_type type, const char *tag)
+ marinedt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_tx_tileram(*this, "tx_tileram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/marywu.cpp b/src/mame/drivers/marywu.cpp
index d3082af2233..a15a3e7421a 100644
--- a/src/mame/drivers/marywu.cpp
+++ b/src/mame/drivers/marywu.cpp
@@ -23,7 +23,7 @@
class marywu_state : public driver_device
{
public:
- marywu_state(const machine_config &mconfig, device_type type, const char *tag)
+ marywu_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
{ }
};
diff --git a/src/mame/drivers/mastboy.cpp b/src/mame/drivers/mastboy.cpp
index 5687defd7b2..da377bf7ff9 100644
--- a/src/mame/drivers/mastboy.cpp
+++ b/src/mame/drivers/mastboy.cpp
@@ -445,7 +445,7 @@
class mastboy_state : public driver_device
{
public:
- mastboy_state(const machine_config &mconfig, device_type type, const char *tag)
+ mastboy_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_msm(*this, "msm"),
diff --git a/src/mame/drivers/maxaflex.cpp b/src/mame/drivers/maxaflex.cpp
index fce86aec694..03092cbfce6 100644
--- a/src/mame/drivers/maxaflex.cpp
+++ b/src/mame/drivers/maxaflex.cpp
@@ -27,7 +27,7 @@
class maxaflex_state : public atari_common_state
{
public:
- maxaflex_state(const machine_config &mconfig, device_type type, const char *tag)
+ maxaflex_state(const machine_config &mconfig, device_type type, std::string tag)
: atari_common_state(mconfig, type, tag),
m_mcu(*this, "mcu"),
m_speaker(*this, "speaker"),
diff --git a/src/mame/drivers/maygayep.cpp b/src/mame/drivers/maygayep.cpp
index fa9c5568a3d..700745f9feb 100644
--- a/src/mame/drivers/maygayep.cpp
+++ b/src/mame/drivers/maygayep.cpp
@@ -40,7 +40,7 @@
class maygayep_state : public driver_device
{
public:
- maygayep_state(const machine_config &mconfig, device_type type, const char *tag)
+ maygayep_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/maygaysw.cpp b/src/mame/drivers/maygaysw.cpp
index e095ac2b885..4fa6a437017 100644
--- a/src/mame/drivers/maygaysw.cpp
+++ b/src/mame/drivers/maygaysw.cpp
@@ -105,7 +105,7 @@
class maygayew_state : public driver_device
{
public:
- maygayew_state(const machine_config &mconfig, device_type type, const char *tag)
+ maygayew_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
required_device<cpu_device> m_maincpu;
diff --git a/src/mame/drivers/maygayv1.cpp b/src/mame/drivers/maygayv1.cpp
index 256af7bbbee..82977c59f45 100644
--- a/src/mame/drivers/maygayv1.cpp
+++ b/src/mame/drivers/maygayv1.cpp
@@ -208,7 +208,7 @@ struct i82716_t
class maygayv1_state : public driver_device
{
public:
- maygayv1_state(const machine_config &mconfig, device_type type, const char *tag)
+ maygayv1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/drivers/mayumi.cpp b/src/mame/drivers/mayumi.cpp
index 06250380cf7..e30a9926d06 100644
--- a/src/mame/drivers/mayumi.cpp
+++ b/src/mame/drivers/mayumi.cpp
@@ -20,7 +20,7 @@
class mayumi_state : public driver_device
{
public:
- mayumi_state(const machine_config &mconfig, device_type type, const char *tag)
+ mayumi_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_i8255(*this, "i8255"),
diff --git a/src/mame/drivers/mazerbla.cpp b/src/mame/drivers/mazerbla.cpp
index 21b1e6951ed..9cb895e06bd 100644
--- a/src/mame/drivers/mazerbla.cpp
+++ b/src/mame/drivers/mazerbla.cpp
@@ -134,7 +134,7 @@ video z80
class mazerbla_state : public driver_device
{
public:
- mazerbla_state(const machine_config &mconfig, device_type type, const char *tag)
+ mazerbla_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/drivers/mbc200.cpp b/src/mame/drivers/mbc200.cpp
index edd010e9a07..73453410c77 100644
--- a/src/mame/drivers/mbc200.cpp
+++ b/src/mame/drivers/mbc200.cpp
@@ -47,7 +47,7 @@
class mbc200_state : public driver_device
{
public:
- mbc200_state(const machine_config &mconfig, device_type type, const char *tag)
+ mbc200_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_palette(*this, "palette")
, m_crtc(*this, "crtc")
diff --git a/src/mame/drivers/mbdtower.cpp b/src/mame/drivers/mbdtower.cpp
index f20f805fb5f..332ec6c05e7 100644
--- a/src/mame/drivers/mbdtower.cpp
+++ b/src/mame/drivers/mbdtower.cpp
@@ -28,7 +28,7 @@
class mbdtower_state : public hh_tms1k_state
{
public:
- mbdtower_state(const machine_config &mconfig, device_type type, const char *tag)
+ mbdtower_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/mc10.cpp b/src/mame/drivers/mc10.cpp
index 5451c6ea12e..b77ea738e4b 100644
--- a/src/mame/drivers/mc10.cpp
+++ b/src/mame/drivers/mc10.cpp
@@ -34,7 +34,7 @@ enum
class mc10_state : public driver_device
{
public:
- mc10_state(const machine_config &mconfig, device_type type, const char *tag)
+ mc10_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mc6847(*this, "mc6847"),
diff --git a/src/mame/drivers/mcb216.cpp b/src/mame/drivers/mcb216.cpp
index 05aaf8960f8..32a1a7870e3 100644
--- a/src/mame/drivers/mcb216.cpp
+++ b/src/mame/drivers/mcb216.cpp
@@ -41,7 +41,7 @@
class mcb216_state : public driver_device
{
public:
- mcb216_state(const machine_config &mconfig, device_type type, const char *tag)
+ mcb216_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/mccpm.cpp b/src/mame/drivers/mccpm.cpp
index c52f9d234cd..af1737a8a8a 100644
--- a/src/mame/drivers/mccpm.cpp
+++ b/src/mame/drivers/mccpm.cpp
@@ -62,7 +62,7 @@ PIO A-Data 0F4h, A-Command 0F5h, B-Data 0F6h, B-Command 0F7h
class mccpm_state : public driver_device
{
public:
- mccpm_state(const machine_config &mconfig, device_type type, const char *tag)
+ mccpm_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG),
diff --git a/src/mame/drivers/meadwttl.cpp b/src/mame/drivers/meadwttl.cpp
index 0dffab0d0e7..02b3bcf4aaa 100644
--- a/src/mame/drivers/meadwttl.cpp
+++ b/src/mame/drivers/meadwttl.cpp
@@ -41,7 +41,7 @@
class meadwttl_state : public driver_device
{
public:
- meadwttl_state(const machine_config &mconfig, device_type type, const char *tag)
+ meadwttl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_video(*this, "fixfreq")
diff --git a/src/mame/drivers/mediagx.cpp b/src/mame/drivers/mediagx.cpp
index 1ad02146050..7fdf4609fd3 100644
--- a/src/mame/drivers/mediagx.cpp
+++ b/src/mame/drivers/mediagx.cpp
@@ -86,7 +86,7 @@ struct speedup_entry
class mediagx_state : public pcat_base_state
{
public:
- mediagx_state(const machine_config &mconfig, device_type type, const char *tag)
+ mediagx_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag),
m_ide(*this, "ide"),
m_main_ram(*this, "main_ram"),
diff --git a/src/mame/drivers/megaphx.cpp b/src/mame/drivers/megaphx.cpp
index ce22404a4b6..3554d672a0f 100644
--- a/src/mame/drivers/megaphx.cpp
+++ b/src/mame/drivers/megaphx.cpp
@@ -72,7 +72,7 @@
class megaphx_state : public driver_device
{
public:
- megaphx_state(const machine_config &mconfig, device_type type, const char *tag)
+ megaphx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mainram(*this, "mainram"),
diff --git a/src/mame/drivers/megaplay.cpp b/src/mame/drivers/megaplay.cpp
index f7533ce8fd1..a18c3d198cb 100644
--- a/src/mame/drivers/megaplay.cpp
+++ b/src/mame/drivers/megaplay.cpp
@@ -66,7 +66,7 @@ Bugs:
class mplay_state : public md_base_state
{
public:
- mplay_state(const machine_config &mconfig, device_type type, const char *tag)
+ mplay_state(const machine_config &mconfig, device_type type, std::string tag)
: md_base_state(mconfig, type, tag),
m_ic3_ram(*this, "ic3_ram"),
m_vdp1(*this, "vdp1"),
diff --git a/src/mame/drivers/megatech.cpp b/src/mame/drivers/megatech.cpp
index 52cc1bbb3dc..b2a9b782b61 100644
--- a/src/mame/drivers/megatech.cpp
+++ b/src/mame/drivers/megatech.cpp
@@ -88,7 +88,7 @@ Sonic Hedgehog 2 171-6215A 837-6963-62 610-0239-62 MPR
class mtech_state : public md_base_state
{
public:
- mtech_state(const machine_config &mconfig, device_type type, const char *tag)
+ mtech_state(const machine_config &mconfig, device_type type, std::string tag)
: md_base_state(mconfig, type, tag),
m_vdp1(*this, "vdp1"),
m_cart1(*this, "mt_slot1"),
diff --git a/src/mame/drivers/meijinsn.cpp b/src/mame/drivers/meijinsn.cpp
index 3d7d386b9b5..11f968ded8a 100644
--- a/src/mame/drivers/meijinsn.cpp
+++ b/src/mame/drivers/meijinsn.cpp
@@ -69,7 +69,7 @@ SOFT PSG & VOICE BY M.C & S.H
class meijinsn_state : public driver_device
{
public:
- meijinsn_state(const machine_config &mconfig, device_type type, const char *tag)
+ meijinsn_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/drivers/mekd2.cpp b/src/mame/drivers/mekd2.cpp
index 3e79057964e..50263d9e5fb 100644
--- a/src/mame/drivers/mekd2.cpp
+++ b/src/mame/drivers/mekd2.cpp
@@ -92,7 +92,7 @@ public:
TIMER_TRACE
};
- mekd2_state(const machine_config &mconfig, device_type type, const char *tag)
+ mekd2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pia_s(*this, "pia_s"),
diff --git a/src/mame/drivers/mephisto.cpp b/src/mame/drivers/mephisto.cpp
index 8fedccf4cd6..3b8b60f1b7a 100644
--- a/src/mame/drivers/mephisto.cpp
+++ b/src/mame/drivers/mephisto.cpp
@@ -73,7 +73,7 @@ Mephisto 4 Turbo Kit 18mhz - (mm4tk)
class mephisto_state : public mboard_state
{
public:
- mephisto_state(const machine_config &mconfig, device_type type, const char *tag)
+ mephisto_state(const machine_config &mconfig, device_type type, std::string tag)
: mboard_state(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_beep(*this, "beeper")
diff --git a/src/mame/drivers/mephistp.cpp b/src/mame/drivers/mephistp.cpp
index d5e44dfc3b5..3802734c25c 100644
--- a/src/mame/drivers/mephistp.cpp
+++ b/src/mame/drivers/mephistp.cpp
@@ -15,7 +15,7 @@
class mephisto_pinball_state : public driver_device
{
public:
- mephisto_pinball_state(const machine_config &mconfig, device_type type, const char *tag)
+ mephisto_pinball_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/merit.cpp b/src/mame/drivers/merit.cpp
index 9f5ac8f6190..f013bb01839 100644
--- a/src/mame/drivers/merit.cpp
+++ b/src/mame/drivers/merit.cpp
@@ -87,7 +87,7 @@ Merit Riviera Notes - There are several known versions:
class merit_state : public driver_device
{
public:
- merit_state(const machine_config &mconfig, device_type type, const char *tag)
+ merit_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ram_attr(*this, "raattr"),
m_ram_video(*this, "ravideo"),
diff --git a/src/mame/drivers/meritm.cpp b/src/mame/drivers/meritm.cpp
index fad7bfa2f7f..105de38a065 100644
--- a/src/mame/drivers/meritm.cpp
+++ b/src/mame/drivers/meritm.cpp
@@ -187,7 +187,7 @@ Not all regional versions are available for each Megatouch series
class meritm_state : public driver_device
{
public:
- meritm_state(const machine_config &mconfig, device_type type, const char *tag)
+ meritm_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_z80pio_0(*this, "z80pio_0"),
m_z80pio_1(*this, "z80pio_1"),
diff --git a/src/mame/drivers/mes.cpp b/src/mame/drivers/mes.cpp
index 00091ddf3a4..dfb74571e23 100644
--- a/src/mame/drivers/mes.cpp
+++ b/src/mame/drivers/mes.cpp
@@ -15,7 +15,7 @@
class mes_state : public driver_device
{
public:
- mes_state(const machine_config &mconfig, device_type type, const char *tag)
+ mes_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_p_videoram(*this, "p_videoram"){ }
diff --git a/src/mame/drivers/metro.cpp b/src/mame/drivers/metro.cpp
index f7006122d15..fd07f2bc55f 100644
--- a/src/mame/drivers/metro.cpp
+++ b/src/mame/drivers/metro.cpp
@@ -1714,7 +1714,7 @@ ADDRESS_MAP_END
class puzzlet_io_device : public device_t {
public:
- puzzlet_io_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ puzzlet_io_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_WRITE_LINE_MEMBER( ce_w );
DECLARE_WRITE_LINE_MEMBER( clk_w );
@@ -1736,7 +1736,7 @@ private:
const device_type PUZZLET_IO = &device_creator<puzzlet_io_device>;
-puzzlet_io_device::puzzlet_io_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+puzzlet_io_device::puzzlet_io_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PUZZLET_IO, "Puzzlet Coin/Start I/O", tag, owner, clock, "puzzlet_io", __FILE__),
data_cb(*this),
port(*this, ":IN0")
diff --git a/src/mame/drivers/meyc8080.cpp b/src/mame/drivers/meyc8080.cpp
index abd0cb8f070..bb8aa5fe49d 100644
--- a/src/mame/drivers/meyc8080.cpp
+++ b/src/mame/drivers/meyc8080.cpp
@@ -68,7 +68,7 @@
class meyc8080_state : public driver_device
{
public:
- meyc8080_state(const machine_config &mconfig, device_type type, const char *tag)
+ meyc8080_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram_0(*this, "vram0"),
m_videoram_1(*this, "vram1"),
diff --git a/src/mame/drivers/meyc8088.cpp b/src/mame/drivers/meyc8088.cpp
index 7e8edcf4169..5511c6591f8 100644
--- a/src/mame/drivers/meyc8088.cpp
+++ b/src/mame/drivers/meyc8088.cpp
@@ -38,7 +38,7 @@
class meyc8088_state : public driver_device
{
public:
- meyc8088_state(const machine_config &mconfig, device_type type, const char *tag)
+ meyc8088_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_vram(*this, "vram"),
diff --git a/src/mame/drivers/mgames.cpp b/src/mame/drivers/mgames.cpp
index 88e0656cdf2..6e32014a937 100644
--- a/src/mame/drivers/mgames.cpp
+++ b/src/mame/drivers/mgames.cpp
@@ -239,7 +239,7 @@
class mgames_state : public driver_device
{
public:
- mgames_state(const machine_config &mconfig, device_type type, const char *tag)
+ mgames_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_video(*this, "video"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/mgavegas.cpp b/src/mame/drivers/mgavegas.cpp
index 27033c0d759..7d9cc277815 100644
--- a/src/mame/drivers/mgavegas.cpp
+++ b/src/mame/drivers/mgavegas.cpp
@@ -48,7 +48,7 @@ Ver. 2.2 should exist
class mgavegas_state : public driver_device
{
public:
- mgavegas_state(const machine_config &mconfig, device_type type, const char *tag)
+ mgavegas_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ay(*this, "aysnd"),
diff --git a/src/mame/drivers/mgolf.cpp b/src/mame/drivers/mgolf.cpp
index af8917139df..ab052eaae37 100644
--- a/src/mame/drivers/mgolf.cpp
+++ b/src/mame/drivers/mgolf.cpp
@@ -17,7 +17,7 @@ public:
TIMER_INTERRUPT
};
- mgolf_state(const machine_config &mconfig, device_type type, const char *tag)
+ mgolf_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/mice.cpp b/src/mame/drivers/mice.cpp
index 35b9d870589..ab2ded26c47 100644
--- a/src/mame/drivers/mice.cpp
+++ b/src/mame/drivers/mice.cpp
@@ -25,7 +25,7 @@ The connection to the outside world is via RS232 to a terminal.
class mice_state : public driver_device
{
public:
- mice_state(const machine_config &mconfig, device_type type, const char *tag)
+ mice_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/micral.cpp b/src/mame/drivers/micral.cpp
index 0dbbbe51938..43b99e10fe0 100644
--- a/src/mame/drivers/micral.cpp
+++ b/src/mame/drivers/micral.cpp
@@ -30,7 +30,7 @@
class micral_state : public driver_device
{
public:
- micral_state(const machine_config &mconfig, device_type type, const char *tag)
+ micral_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_beep(*this, "beeper")
diff --git a/src/mame/drivers/microdec.cpp b/src/mame/drivers/microdec.cpp
index c52885336e0..f73bc34a6e9 100644
--- a/src/mame/drivers/microdec.cpp
+++ b/src/mame/drivers/microdec.cpp
@@ -18,7 +18,7 @@
class microdec_state : public driver_device
{
public:
- microdec_state(const machine_config &mconfig, device_type type, const char *tag)
+ microdec_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_terminal(*this, TERMINAL_TAG),
m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/microkit.cpp b/src/mame/drivers/microkit.cpp
index caf2207a9d2..d48cca354ad 100644
--- a/src/mame/drivers/microkit.cpp
+++ b/src/mame/drivers/microkit.cpp
@@ -42,7 +42,7 @@
class microkit_state : public driver_device
{
public:
- microkit_state(const machine_config &mconfig, device_type type, const char *tag)
+ microkit_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_rs232(*this, "rs232")
diff --git a/src/mame/drivers/micropin.cpp b/src/mame/drivers/micropin.cpp
index 7b05d407b3e..bdf802b28e2 100644
--- a/src/mame/drivers/micropin.cpp
+++ b/src/mame/drivers/micropin.cpp
@@ -31,7 +31,7 @@ ToDo:
class micropin_state : public genpin_class
{
public:
- micropin_state(const machine_config &mconfig, device_type type, const char *tag)
+ micropin_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_v1cpu(*this, "v1cpu")
, m_v2cpu(*this, "v2cpu")
diff --git a/src/mame/drivers/microvsn.cpp b/src/mame/drivers/microvsn.cpp
index b7ff8fba4c8..6042f0cbcce 100644
--- a/src/mame/drivers/microvsn.cpp
+++ b/src/mame/drivers/microvsn.cpp
@@ -31,7 +31,7 @@ of the games were clocked at around 500KHz, 550KHz, or 300KHz.
class microvision_state : public driver_device
{
public:
- microvision_state(const machine_config &mconfig, device_type type, const char *tag)
+ microvision_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_dac( *this, "dac" ),
m_i8021( *this, "maincpu1" ),
diff --git a/src/mame/drivers/midas.cpp b/src/mame/drivers/midas.cpp
index 8fbe0890bef..ed633373bd7 100644
--- a/src/mame/drivers/midas.cpp
+++ b/src/mame/drivers/midas.cpp
@@ -61,7 +61,7 @@
class midas_state : public driver_device
{
public:
- midas_state(const machine_config &mconfig, device_type type, const char *tag)
+ midas_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_eeprom(*this, "eeprom"),
diff --git a/src/mame/drivers/midqslvr.cpp b/src/mame/drivers/midqslvr.cpp
index 35dc9607862..1c61557ac14 100644
--- a/src/mame/drivers/midqslvr.cpp
+++ b/src/mame/drivers/midqslvr.cpp
@@ -35,7 +35,7 @@
class midqslvr_state : public pcat_base_state
{
public:
- midqslvr_state(const machine_config &mconfig, device_type type, const char *tag)
+ midqslvr_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag)
{
}
diff --git a/src/mame/drivers/mikrosha.cpp b/src/mame/drivers/mikrosha.cpp
index fa92fd38d6c..bfcc190a369 100644
--- a/src/mame/drivers/mikrosha.cpp
+++ b/src/mame/drivers/mikrosha.cpp
@@ -22,7 +22,7 @@
class mikrosha_state : public radio86_state
{
public:
- mikrosha_state(const machine_config &mconfig, device_type type, const char *tag)
+ mikrosha_state(const machine_config &mconfig, device_type type, std::string tag)
: radio86_state(mconfig, type, tag),
m_cart(*this, "cartslot")
{ }
diff --git a/src/mame/drivers/mil4000.cpp b/src/mame/drivers/mil4000.cpp
index 04aa16514a6..89dac135155 100644
--- a/src/mame/drivers/mil4000.cpp
+++ b/src/mame/drivers/mil4000.cpp
@@ -123,7 +123,7 @@
class mil4000_state : public driver_device
{
public:
- mil4000_state(const machine_config &mconfig, device_type type, const char *tag)
+ mil4000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_sc0_vram(*this, "sc0_vram"),
m_sc1_vram(*this, "sc1_vram"),
diff --git a/src/mame/drivers/mini2440.cpp b/src/mame/drivers/mini2440.cpp
index 9a42f2951ec..ae57ff6866a 100644
--- a/src/mame/drivers/mini2440.cpp
+++ b/src/mame/drivers/mini2440.cpp
@@ -18,7 +18,7 @@
class mini2440_state : public driver_device
{
public:
- mini2440_state(const machine_config &mconfig, device_type type, const char *tag)
+ mini2440_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_s3c2440(*this, "s3c2440"),
diff --git a/src/mame/drivers/miniboy7.cpp b/src/mame/drivers/miniboy7.cpp
index 461af99cb77..99029804300 100644
--- a/src/mame/drivers/miniboy7.cpp
+++ b/src/mame/drivers/miniboy7.cpp
@@ -147,7 +147,7 @@
class miniboy7_state : public driver_device
{
public:
- miniboy7_state(const machine_config &mconfig, device_type type, const char *tag)
+ miniboy7_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram_a(*this, "videoram_a"),
m_colorram_a(*this, "colorram_a"),
diff --git a/src/mame/drivers/minicom.cpp b/src/mame/drivers/minicom.cpp
index 56a1ca2d0c9..7f2f599a651 100644
--- a/src/mame/drivers/minicom.cpp
+++ b/src/mame/drivers/minicom.cpp
@@ -47,7 +47,7 @@ Segment data is sent to each 14seg digit by first writing half of the data to po
class minicom_state : public driver_device
{
public:
- minicom_state(const machine_config &mconfig, device_type type, const char *tag)
+ minicom_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/minivadr.cpp b/src/mame/drivers/minivadr.cpp
index 6d847f5468f..0ab4dbf5d45 100644
--- a/src/mame/drivers/minivadr.cpp
+++ b/src/mame/drivers/minivadr.cpp
@@ -41,7 +41,7 @@ Notes: (all ICs shown)
class minivadr_state : public driver_device
{
public:
- minivadr_state(const machine_config &mconfig, device_type type, const char *tag)
+ minivadr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/mirage.cpp b/src/mame/drivers/mirage.cpp
index 29b275a7965..bcec2f64464 100644
--- a/src/mame/drivers/mirage.cpp
+++ b/src/mame/drivers/mirage.cpp
@@ -46,7 +46,7 @@ MR_01-.3A [a0b758aa]
class miragemi_state : public driver_device
{
public:
- miragemi_state(const machine_config &mconfig, device_type type, const char *tag)
+ miragemi_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_deco_tilegen1(*this, "tilegen1"),
diff --git a/src/mame/drivers/mirax.cpp b/src/mame/drivers/mirax.cpp
index ec3bdaf751c..7536a133ae3 100644
--- a/src/mame/drivers/mirax.cpp
+++ b/src/mame/drivers/mirax.cpp
@@ -108,7 +108,7 @@ Stephh's notes (based on the games Z80 code and some tests) :
class mirax_state : public driver_device
{
public:
- mirax_state(const machine_config &mconfig, device_type type, const char *tag)
+ mirax_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/missb2.cpp b/src/mame/drivers/missb2.cpp
index 85475271f05..2d39b638dbf 100644
--- a/src/mame/drivers/missb2.cpp
+++ b/src/mame/drivers/missb2.cpp
@@ -27,7 +27,7 @@ OKI M6295 sound ROM dump is bad.
class missb2_state : public bublbobl_state
{
public:
- missb2_state(const machine_config &mconfig, device_type type, const char *tag)
+ missb2_state(const machine_config &mconfig, device_type type, std::string tag)
: bublbobl_state(mconfig, type, tag),
m_bgvram(*this, "bgvram"),
m_bgpalette(*this, "bgpalette")
diff --git a/src/mame/drivers/missile.cpp b/src/mame/drivers/missile.cpp
index bedc5cecea2..c4723204bfe 100644
--- a/src/mame/drivers/missile.cpp
+++ b/src/mame/drivers/missile.cpp
@@ -357,7 +357,7 @@ Super Missile Attack Board Layout
class missile_state : public driver_device
{
public:
- missile_state(const machine_config &mconfig, device_type type, const char *tag)
+ missile_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/drivers/mits680b.cpp b/src/mame/drivers/mits680b.cpp
index d42017d240e..1367f7992d4 100644
--- a/src/mame/drivers/mits680b.cpp
+++ b/src/mame/drivers/mits680b.cpp
@@ -32,7 +32,7 @@ ToDo:
class mits680b_state : public driver_device
{
public:
- mits680b_state(const machine_config &mconfig, device_type type, const char *tag)
+ mits680b_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/mjsister.cpp b/src/mame/drivers/mjsister.cpp
index eb171d95a35..4c532fd9146 100644
--- a/src/mame/drivers/mjsister.cpp
+++ b/src/mame/drivers/mjsister.cpp
@@ -24,7 +24,7 @@ public:
TIMER_DAC
};
- mjsister_state(const machine_config &mconfig, device_type type, const char *tag)
+ mjsister_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette"),
diff --git a/src/mame/drivers/mk1.cpp b/src/mame/drivers/mk1.cpp
index ef66e66594c..a5a78326be5 100644
--- a/src/mame/drivers/mk1.cpp
+++ b/src/mame/drivers/mk1.cpp
@@ -50,7 +50,7 @@ TODO:
class mk1_state : public driver_device
{
public:
- mk1_state(const machine_config &mconfig, device_type type, const char *tag)
+ mk1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/mk14.cpp b/src/mame/drivers/mk14.cpp
index 6342689adc6..4d61f3aca3d 100644
--- a/src/mame/drivers/mk14.cpp
+++ b/src/mame/drivers/mk14.cpp
@@ -17,7 +17,7 @@
class mk14_state : public driver_device
{
public:
- mk14_state(const machine_config &mconfig, device_type type, const char *tag)
+ mk14_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/mk2.cpp b/src/mame/drivers/mk2.cpp
index 34c504a4d3e..2e3439c7555 100644
--- a/src/mame/drivers/mk2.cpp
+++ b/src/mame/drivers/mk2.cpp
@@ -59,7 +59,7 @@ Usage:
class mk2_state : public driver_device
{
public:
- mk2_state(const machine_config &mconfig, device_type type, const char *tag)
+ mk2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker"),
diff --git a/src/mame/drivers/mk85.cpp b/src/mame/drivers/mk85.cpp
index 5ab8197a55a..e8193717cc4 100644
--- a/src/mame/drivers/mk85.cpp
+++ b/src/mame/drivers/mk85.cpp
@@ -26,7 +26,7 @@ Models:
class mk85_state : public driver_device
{
public:
- mk85_state(const machine_config &mconfig, device_type type, const char *tag)
+ mk85_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/mk90.cpp b/src/mame/drivers/mk90.cpp
index ce3ffa2abd2..146f8b7209c 100644
--- a/src/mame/drivers/mk90.cpp
+++ b/src/mame/drivers/mk90.cpp
@@ -23,7 +23,7 @@ months for an average citizen.
class mk90_state : public driver_device
{
public:
- mk90_state(const machine_config &mconfig, device_type type, const char *tag)
+ mk90_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/mkit09.cpp b/src/mame/drivers/mkit09.cpp
index b3ebef1b5cd..b7d0e0a1a93 100644
--- a/src/mame/drivers/mkit09.cpp
+++ b/src/mame/drivers/mkit09.cpp
@@ -42,7 +42,7 @@ Test Paste:
class mkit09_state : public driver_device
{
public:
- mkit09_state(const machine_config &mconfig, device_type type, const char *tag)
+ mkit09_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_pia(*this, "pia")
, m_cass(*this, "cassette")
diff --git a/src/mame/drivers/mlanding.cpp b/src/mame/drivers/mlanding.cpp
index a4cb4078ec7..ae000606d95 100644
--- a/src/mame/drivers/mlanding.cpp
+++ b/src/mame/drivers/mlanding.cpp
@@ -71,7 +71,7 @@ public:
static const UINT32 c_dma_bank_words = 0x2000;
- mlanding_state(const machine_config &mconfig, device_type type, const char *tag)
+ mlanding_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "subcpu"),
diff --git a/src/mame/drivers/mmagic.cpp b/src/mame/drivers/mmagic.cpp
index 4c21963b0f4..be49b99c8f0 100644
--- a/src/mame/drivers/mmagic.cpp
+++ b/src/mame/drivers/mmagic.cpp
@@ -65,7 +65,7 @@
class mmagic_state : public driver_device
{
public:
- mmagic_state(const machine_config &mconfig, device_type type, const char *tag)
+ mmagic_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_screen(*this, "screen"),
diff --git a/src/mame/drivers/mmd1.cpp b/src/mame/drivers/mmd1.cpp
index 690a58e2568..86789a9f7ff 100644
--- a/src/mame/drivers/mmd1.cpp
+++ b/src/mame/drivers/mmd1.cpp
@@ -154,7 +154,7 @@ ToDo
class mmd1_state : public driver_device
{
public:
- mmd1_state(const machine_config &mconfig, device_type type, const char *tag)
+ mmd1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/mmm.cpp b/src/mame/drivers/mmm.cpp
index 1f567dced93..9a038e17503 100644
--- a/src/mame/drivers/mmm.cpp
+++ b/src/mame/drivers/mmm.cpp
@@ -13,7 +13,7 @@
class mmm_state : public driver_device
{
public:
- mmm_state(const machine_config &mconfig, device_type type, const char *tag)
+ mmm_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/mmodular.cpp b/src/mame/drivers/mmodular.cpp
index c9042234b6b..7a8651f5cc7 100644
--- a/src/mame/drivers/mmodular.cpp
+++ b/src/mame/drivers/mmodular.cpp
@@ -129,7 +129,7 @@ UINT8 lcd32_char;
class polgar_state : public mboard_state
{
public:
- polgar_state(const machine_config &mconfig, device_type type, const char *tag)
+ polgar_state(const machine_config &mconfig, device_type type, std::string tag)
: mboard_state(mconfig, type, tag),
m_lcdc(*this, "hd44780"),
m_beeper(*this, "beeper")
diff --git a/src/mame/drivers/mod8.cpp b/src/mame/drivers/mod8.cpp
index f3f55d7549e..797d524512c 100644
--- a/src/mame/drivers/mod8.cpp
+++ b/src/mame/drivers/mod8.cpp
@@ -61,7 +61,7 @@ While in 'space' mode, press a letter to increment CLP, or shift-delete
class mod8_state : public driver_device
{
public:
- mod8_state(const machine_config &mconfig, device_type type, const char *tag)
+ mod8_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_teleprinter(*this, TELEPRINTER_TAG)
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/modellot.cpp b/src/mame/drivers/modellot.cpp
index 23eabd69770..14348c194f5 100644
--- a/src/mame/drivers/modellot.cpp
+++ b/src/mame/drivers/modellot.cpp
@@ -25,7 +25,7 @@
class modellot_state : public driver_device
{
public:
- modellot_state(const machine_config &mconfig, device_type type, const char *tag)
+ modellot_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_p_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/mogura.cpp b/src/mame/drivers/mogura.cpp
index 9310a5aee94..ba4fd973acf 100644
--- a/src/mame/drivers/mogura.cpp
+++ b/src/mame/drivers/mogura.cpp
@@ -10,7 +10,7 @@
class mogura_state : public driver_device
{
public:
- mogura_state(const machine_config &mconfig, device_type type, const char *tag)
+ mogura_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac1(*this, "dac1"),
diff --git a/src/mame/drivers/mole.cpp b/src/mame/drivers/mole.cpp
index f106a68142e..beb92a05f53 100644
--- a/src/mame/drivers/mole.cpp
+++ b/src/mame/drivers/mole.cpp
@@ -57,7 +57,7 @@
class mole_state : public driver_device
{
public:
- mole_state(const machine_config &mconfig, device_type type, const char *tag)
+ mole_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode")
diff --git a/src/mame/drivers/molecular.cpp b/src/mame/drivers/molecular.cpp
index 8915163ea43..1c063b40a86 100644
--- a/src/mame/drivers/molecular.cpp
+++ b/src/mame/drivers/molecular.cpp
@@ -59,7 +59,7 @@ TODO:
class molecula_state : public driver_device
{
public:
- molecula_state(const machine_config &mconfig, device_type type, const char *tag)
+ molecula_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_filecpu(*this, "filecpu")
{ }
diff --git a/src/mame/drivers/monacogp.cpp b/src/mame/drivers/monacogp.cpp
index d1f920be4b7..1b42e71b7b6 100644
--- a/src/mame/drivers/monacogp.cpp
+++ b/src/mame/drivers/monacogp.cpp
@@ -130,7 +130,7 @@
class monacogp_state : public driver_device
{
public:
- monacogp_state(const machine_config &mconfig, device_type type, const char *tag)
+ monacogp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_video(*this, "fixfreq")
diff --git a/src/mame/drivers/monty.cpp b/src/mame/drivers/monty.cpp
index 0167938503b..132b249801d 100644
--- a/src/mame/drivers/monty.cpp
+++ b/src/mame/drivers/monty.cpp
@@ -37,7 +37,7 @@
class monty_state : public driver_device
{
public:
- monty_state(const machine_config &mconfig, device_type type, const char *tag)
+ monty_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_speaker(*this, "speaker")
diff --git a/src/mame/drivers/monzagp.cpp b/src/mame/drivers/monzagp.cpp
index 6f08b216b86..9f41960f8e5 100644
--- a/src/mame/drivers/monzagp.cpp
+++ b/src/mame/drivers/monzagp.cpp
@@ -39,7 +39,7 @@ Lower board (MGP_01):
class monzagp_state : public driver_device
{
public:
- monzagp_state(const machine_config &mconfig, device_type type, const char *tag)
+ monzagp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/mps1230.cpp b/src/mame/drivers/mps1230.cpp
index d12a09470cf..192445e7cde 100644
--- a/src/mame/drivers/mps1230.cpp
+++ b/src/mame/drivers/mps1230.cpp
@@ -86,7 +86,7 @@ Notes: (all IC's shown)
class mps1230_state : public driver_device
{
public:
- mps1230_state(const machine_config &mconfig, device_type type, const char *tag)
+ mps1230_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, CPU_TAG)
{ }
diff --git a/src/mame/drivers/mpu12wbk.cpp b/src/mame/drivers/mpu12wbk.cpp
index 685aa88e1e1..d5195e0699c 100644
--- a/src/mame/drivers/mpu12wbk.cpp
+++ b/src/mame/drivers/mpu12wbk.cpp
@@ -218,7 +218,7 @@
class mpu12wbk_state : public driver_device
{
public:
- mpu12wbk_state(const machine_config &mconfig, device_type type, const char *tag)
+ mpu12wbk_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/mpu2.cpp b/src/mame/drivers/mpu2.cpp
index 1ded190b0b2..5e753fdef1a 100644
--- a/src/mame/drivers/mpu2.cpp
+++ b/src/mame/drivers/mpu2.cpp
@@ -44,7 +44,7 @@
class mpu2_state : public driver_device
{
public:
- mpu2_state(const machine_config &mconfig, device_type type, const char *tag)
+ mpu2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/mpu3.cpp b/src/mame/drivers/mpu3.cpp
index 0ebb1827f59..48da55a6848 100644
--- a/src/mame/drivers/mpu3.cpp
+++ b/src/mame/drivers/mpu3.cpp
@@ -131,7 +131,7 @@ struct mpu3_chr_table
class mpu3_state : public driver_device
{
public:
- mpu3_state(const machine_config &mconfig, device_type type, const char *tag)
+ mpu3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_reel0(*this, "reel0"),
diff --git a/src/mame/drivers/mpu4dealem.cpp b/src/mame/drivers/mpu4dealem.cpp
index c9d3dfcdb15..1076221f43c 100644
--- a/src/mame/drivers/mpu4dealem.cpp
+++ b/src/mame/drivers/mpu4dealem.cpp
@@ -22,7 +22,7 @@ the Deal 'Em board design, rather than the one they ultimately used, suggesting
class mpu4dealem_state : public mpu4_state
{
public:
- mpu4dealem_state(const machine_config &mconfig, device_type type, const char *tag)
+ mpu4dealem_state(const machine_config &mconfig, device_type type, std::string tag)
: mpu4_state(mconfig, type, tag),
m_dealem_videoram(*this, "dealem_videoram"),
m_gfxdecode(*this, "gfxdecode")
diff --git a/src/mame/drivers/mpu4plasma.cpp b/src/mame/drivers/mpu4plasma.cpp
index d0a87ae6c4a..5a136c65b3b 100644
--- a/src/mame/drivers/mpu4plasma.cpp
+++ b/src/mame/drivers/mpu4plasma.cpp
@@ -14,7 +14,7 @@
class mpu4plasma_state : public mpu4_state
{
public:
- mpu4plasma_state(const machine_config &mconfig, device_type type, const char *tag)
+ mpu4plasma_state(const machine_config &mconfig, device_type type, std::string tag)
: mpu4_state(mconfig, type, tag),
m_plasmaram(*this, "plasmaram")
{
diff --git a/src/mame/drivers/mpu4vid.cpp b/src/mame/drivers/mpu4vid.cpp
index 46cd8bb571c..2e3fd2c0151 100644
--- a/src/mame/drivers/mpu4vid.cpp
+++ b/src/mame/drivers/mpu4vid.cpp
@@ -219,7 +219,7 @@ struct bt471_t
class mpu4vid_state : public mpu4_state
{
public:
- mpu4vid_state(const machine_config &mconfig, device_type type, const char *tag)
+ mpu4vid_state(const machine_config &mconfig, device_type type, std::string tag)
: mpu4_state(mconfig, type, tag),
m_videocpu(*this, "video"),
m_scn2674(*this, "scn2674_vid"),
diff --git a/src/mame/drivers/mpu5hw.cpp b/src/mame/drivers/mpu5hw.cpp
index 9062fc43c81..7e1ffec4c63 100644
--- a/src/mame/drivers/mpu5hw.cpp
+++ b/src/mame/drivers/mpu5hw.cpp
@@ -52,7 +52,7 @@
class mpu5_state : public driver_device
{
public:
- mpu5_state(const machine_config &mconfig, device_type type, const char *tag)
+ mpu5_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/mquake.cpp b/src/mame/drivers/mquake.cpp
index 77c38c9db88..6c0bde2b788 100644
--- a/src/mame/drivers/mquake.cpp
+++ b/src/mame/drivers/mquake.cpp
@@ -45,7 +45,7 @@
class mquake_state : public amiga_state
{
public:
- mquake_state(const machine_config &mconfig, device_type type, const char *tag)
+ mquake_state(const machine_config &mconfig, device_type type, std::string tag)
: amiga_state(mconfig, type, tag),
m_es5503(*this, "es5503"),
m_es5503_rom(*this, "es5503")
diff --git a/src/mame/drivers/mrgame.cpp b/src/mame/drivers/mrgame.cpp
index beb0a9e0bca..7ab79b43dfb 100644
--- a/src/mame/drivers/mrgame.cpp
+++ b/src/mame/drivers/mrgame.cpp
@@ -44,7 +44,7 @@ ToDo:
class mrgame_state : public driver_device
{
public:
- mrgame_state(const machine_config &mconfig, device_type type, const char *tag)
+ mrgame_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_palette(*this, "palette")
, m_p_videoram(*this, "videoram")
diff --git a/src/mame/drivers/ms0515.cpp b/src/mame/drivers/ms0515.cpp
index 89e38f4b16f..ef3eff6ed0c 100644
--- a/src/mame/drivers/ms0515.cpp
+++ b/src/mame/drivers/ms0515.cpp
@@ -17,7 +17,7 @@
class ms0515_state : public driver_device
{
public:
- ms0515_state(const machine_config &mconfig, device_type type, const char *tag)
+ ms0515_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/drivers/ms9540.cpp b/src/mame/drivers/ms9540.cpp
index 2be054eeb5f..f530d6a94dd 100644
--- a/src/mame/drivers/ms9540.cpp
+++ b/src/mame/drivers/ms9540.cpp
@@ -32,7 +32,7 @@ Chips:
class ms9540_state : public driver_device
{
public:
- ms9540_state(const machine_config &mconfig, device_type type, const char *tag)
+ ms9540_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_p_base(*this, "rambase"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/mstation.cpp b/src/mame/drivers/mstation.cpp
index f1aa281aeb2..59c605d53fe 100644
--- a/src/mame/drivers/mstation.cpp
+++ b/src/mame/drivers/mstation.cpp
@@ -36,7 +36,7 @@
class mstation_state : public driver_device
{
public:
- mstation_state(const machine_config &mconfig, device_type type, const char *tag)
+ mstation_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG)
diff --git a/src/mame/drivers/mt735.cpp b/src/mame/drivers/mt735.cpp
index 4e642a4fa31..45fb5798920 100644
--- a/src/mame/drivers/mt735.cpp
+++ b/src/mame/drivers/mt735.cpp
@@ -9,7 +9,7 @@
class mt735_state : public driver_device
{
public:
- mt735_state(const machine_config &mconfig, device_type type, const char *tag);
+ mt735_state(const machine_config &mconfig, device_type type, std::string tag);
required_device<m68000_device> m_cpu;
@@ -20,7 +20,7 @@ public:
virtual void machine_reset() override;
};
-mt735_state::mt735_state(const machine_config &mconfig, device_type type, const char *tag) :
+mt735_state::mt735_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_cpu(*this, "maincpu")
{
diff --git a/src/mame/drivers/multi16.cpp b/src/mame/drivers/multi16.cpp
index 0852c166970..7e6f7da3ba0 100644
--- a/src/mame/drivers/multi16.cpp
+++ b/src/mame/drivers/multi16.cpp
@@ -15,7 +15,7 @@
class multi16_state : public driver_device
{
public:
- multi16_state(const machine_config &mconfig, device_type type, const char *tag)
+ multi16_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pic(*this, "pic8259"),
diff --git a/src/mame/drivers/multi8.cpp b/src/mame/drivers/multi8.cpp
index c9509f66e8a..d9a46826565 100644
--- a/src/mame/drivers/multi8.cpp
+++ b/src/mame/drivers/multi8.cpp
@@ -25,7 +25,7 @@
class multi8_state : public driver_device
{
public:
- multi8_state(const machine_config &mconfig, device_type type, const char *tag)
+ multi8_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ppi(*this, "ppi8255_0"),
diff --git a/src/mame/drivers/multigam.cpp b/src/mame/drivers/multigam.cpp
index 2a1c7772b6c..c2920515c4c 100644
--- a/src/mame/drivers/multigam.cpp
+++ b/src/mame/drivers/multigam.cpp
@@ -115,7 +115,7 @@ Eproms are 27512,27010,274001
class multigam_state : public driver_device
{
public:
- multigam_state(const machine_config &mconfig, device_type type, const char *tag)
+ multigam_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ppu(*this, "ppu") { }
diff --git a/src/mame/drivers/murogem.cpp b/src/mame/drivers/murogem.cpp
index 3df8476b7d4..a52618a8ace 100644
--- a/src/mame/drivers/murogem.cpp
+++ b/src/mame/drivers/murogem.cpp
@@ -115,7 +115,7 @@ val (hex): 27 20 22 04 26 00 20 20 00 07 00 00 80 00 00 00 ns
class murogem_state : public driver_device
{
public:
- murogem_state(const machine_config &mconfig, device_type type, const char *tag)
+ murogem_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac(*this, "dac"),
diff --git a/src/mame/drivers/murogmbl.cpp b/src/mame/drivers/murogmbl.cpp
index 245f6c3953b..2862e276962 100644
--- a/src/mame/drivers/murogmbl.cpp
+++ b/src/mame/drivers/murogmbl.cpp
@@ -43,7 +43,7 @@ Dumped: 06/04/2009 f205v
class murogmbl_state : public driver_device
{
public:
- murogmbl_state(const machine_config &mconfig, device_type type, const char *tag)
+ murogmbl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/mvme350.cpp b/src/mame/drivers/mvme350.cpp
index 64f66ee8418..a154b5b22db 100644
--- a/src/mame/drivers/mvme350.cpp
+++ b/src/mame/drivers/mvme350.cpp
@@ -148,7 +148,7 @@
class mvme350_state : public driver_device
{
public:
-mvme350_state(const machine_config &mconfig, device_type type, const char *tag) :
+mvme350_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device (mconfig, type, tag),
m_maincpu (*this, "maincpu"),
m_pit(*this, "pit")
diff --git a/src/mame/drivers/mw18w.cpp b/src/mame/drivers/mw18w.cpp
index 1b49a28f3f6..8e258cac5a2 100644
--- a/src/mame/drivers/mw18w.cpp
+++ b/src/mame/drivers/mw18w.cpp
@@ -25,7 +25,7 @@ To diagnose game, turn on service mode and:
class mw18w_state : public driver_device
{
public:
- mw18w_state(const machine_config &mconfig, device_type type, const char *tag)
+ mw18w_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/mwarr.cpp b/src/mame/drivers/mwarr.cpp
index 2cfd7ca858c..726a1963338 100644
--- a/src/mame/drivers/mwarr.cpp
+++ b/src/mame/drivers/mwarr.cpp
@@ -51,7 +51,7 @@ Notes:
class mwarr_state : public driver_device
{
public:
- mwarr_state(const machine_config &mconfig, device_type type, const char *tag)
+ mwarr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bg_videoram(*this, "bg_videoram"),
m_mlow_videoram(*this, "mlow_videoram"),
diff --git a/src/mame/drivers/mwsub.cpp b/src/mame/drivers/mwsub.cpp
index 348572cda82..8505e2e9b6d 100644
--- a/src/mame/drivers/mwsub.cpp
+++ b/src/mame/drivers/mwsub.cpp
@@ -20,7 +20,7 @@ TODO:
class submar_state : public driver_device
{
public:
- submar_state(const machine_config &mconfig, device_type type, const char *tag)
+ submar_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/mx2178.cpp b/src/mame/drivers/mx2178.cpp
index add947cbcdd..e51199b4ba2 100644
--- a/src/mame/drivers/mx2178.cpp
+++ b/src/mame/drivers/mx2178.cpp
@@ -31,7 +31,7 @@
class mx2178_state : public driver_device
{
public:
- mx2178_state(const machine_config &mconfig, device_type type, const char *tag) :
+ mx2178_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_p_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/myb3k.cpp b/src/mame/drivers/myb3k.cpp
index 2eb5cba1dc7..0f6a262f488 100644
--- a/src/mame/drivers/myb3k.cpp
+++ b/src/mame/drivers/myb3k.cpp
@@ -20,7 +20,7 @@
class myb3k_state : public driver_device
{
public:
- myb3k_state(const machine_config &mconfig, device_type type, const char *tag)
+ myb3k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_fdc(*this, "fdc"),
diff --git a/src/mame/drivers/mycom.cpp b/src/mame/drivers/mycom.cpp
index efea8bc5bed..3f097e39d9b 100644
--- a/src/mame/drivers/mycom.cpp
+++ b/src/mame/drivers/mycom.cpp
@@ -62,7 +62,7 @@
class mycom_state : public driver_device
{
public:
- mycom_state(const machine_config &mconfig, device_type type, const char *tag)
+ mycom_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_ppi0(*this, "ppi8255_0")
diff --git a/src/mame/drivers/myvision.cpp b/src/mame/drivers/myvision.cpp
index e5c32a4c158..9ae3d75773e 100644
--- a/src/mame/drivers/myvision.cpp
+++ b/src/mame/drivers/myvision.cpp
@@ -34,7 +34,7 @@
class myvision_state : public driver_device
{
public:
- myvision_state(const machine_config &mconfig, device_type type, const char *tag)
+ myvision_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_cart(*this, "cartslot")
diff --git a/src/mame/drivers/mz2000.cpp b/src/mame/drivers/mz2000.cpp
index a1fb10dc59f..76cb0c1ec3e 100644
--- a/src/mame/drivers/mz2000.cpp
+++ b/src/mame/drivers/mz2000.cpp
@@ -38,7 +38,7 @@
class mz2000_state : public driver_device
{
public:
- mz2000_state(const machine_config &mconfig, device_type type, const char *tag)
+ mz2000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cass(*this, "cassette"),
m_floppy(nullptr),
diff --git a/src/mame/drivers/mz2500.cpp b/src/mame/drivers/mz2500.cpp
index 2f1461c2197..f0bba0394fa 100644
--- a/src/mame/drivers/mz2500.cpp
+++ b/src/mame/drivers/mz2500.cpp
@@ -64,7 +64,7 @@
class mz2500_state : public driver_device
{
public:
- mz2500_state(const machine_config &mconfig, device_type type, const char *tag)
+ mz2500_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_rtc(*this, RP5C15_TAG),
diff --git a/src/mame/drivers/mz3500.cpp b/src/mame/drivers/mz3500.cpp
index 3ee4f6a785f..777193a5aa9 100644
--- a/src/mame/drivers/mz3500.cpp
+++ b/src/mame/drivers/mz3500.cpp
@@ -41,7 +41,7 @@
class mz3500_state : public driver_device
{
public:
- mz3500_state(const machine_config &mconfig, device_type type, const char *tag)
+ mz3500_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_master(*this, "master"),
m_slave(*this, "slave"),
diff --git a/src/mame/drivers/mz6500.cpp b/src/mame/drivers/mz6500.cpp
index d513f30a33e..13198693213 100644
--- a/src/mame/drivers/mz6500.cpp
+++ b/src/mame/drivers/mz6500.cpp
@@ -16,7 +16,7 @@
class mz6500_state : public driver_device
{
public:
- mz6500_state(const machine_config &mconfig, device_type type, const char *tag)
+ mz6500_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_hgdc(*this, "upd7220"),
m_fdc(*this, "upd765"),
diff --git a/src/mame/drivers/mzr8105.cpp b/src/mame/drivers/mzr8105.cpp
index ea2049ed8cf..b9aefcf580c 100644
--- a/src/mame/drivers/mzr8105.cpp
+++ b/src/mame/drivers/mzr8105.cpp
@@ -183,7 +183,7 @@
class mzr8105_state : public driver_device
{
public:
-mzr8105_state(const machine_config &mconfig, device_type type, const char *tag) :
+mzr8105_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device (mconfig, type, tag),
m_maincpu (*this, "maincpu")
,m_updterm(*this, "upd")
diff --git a/src/mame/drivers/n64.cpp b/src/mame/drivers/n64.cpp
index 1d4e47a4273..74d23c96b71 100644
--- a/src/mame/drivers/n64.cpp
+++ b/src/mame/drivers/n64.cpp
@@ -22,7 +22,7 @@
class n64_mess_state : public n64_state
{
public:
- n64_mess_state(const machine_config &mconfig, device_type type, const char *tag)
+ n64_mess_state(const machine_config &mconfig, device_type type, std::string tag)
: n64_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/nakajies.cpp b/src/mame/drivers/nakajies.cpp
index aeb758e17ee..56e6a8940a6 100644
--- a/src/mame/drivers/nakajies.cpp
+++ b/src/mame/drivers/nakajies.cpp
@@ -284,7 +284,7 @@ disabled). Perhaps power on/off related??
class nakajies_state : public driver_device
{
public:
- nakajies_state(const machine_config &mconfig, device_type type, const char *tag)
+ nakajies_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "v20hl")
{}
diff --git a/src/mame/drivers/namcops2.cpp b/src/mame/drivers/namcops2.cpp
index a0eec46f766..ab345faa2fc 100644
--- a/src/mame/drivers/namcops2.cpp
+++ b/src/mame/drivers/namcops2.cpp
@@ -878,7 +878,7 @@ Notes:
class namcops2_state : public driver_device
{
public:
- namcops2_state(const machine_config &mconfig, device_type type, const char *tag)
+ namcops2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/namcos10.cpp b/src/mame/drivers/namcos10.cpp
index 8c39ab42bd8..7f78bb9aec3 100644
--- a/src/mame/drivers/namcos10.cpp
+++ b/src/mame/drivers/namcos10.cpp
@@ -274,7 +274,7 @@ Kono Tako 10021 Ver.A KC034A 8E, 8D
class namcos10_state : public driver_device
{
public:
- namcos10_state(const machine_config &mconfig, device_type type, const char *tag)
+ namcos10_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/namcos11.cpp b/src/mame/drivers/namcos11.cpp
index 4942c555e69..1bd81dc27a5 100644
--- a/src/mame/drivers/namcos11.cpp
+++ b/src/mame/drivers/namcos11.cpp
@@ -307,7 +307,7 @@ Pin 22 Solder Side - Gun 2 Trigger
class namcos11_state : public driver_device
{
public:
- namcos11_state(const machine_config &mconfig, device_type type, const char *tag)
+ namcos11_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_sharedram(*this,"sharedram"),
m_maincpu(*this,"maincpu"),
diff --git a/src/mame/drivers/namcos12.cpp b/src/mame/drivers/namcos12.cpp
index 67f164a8835..d26414cab8c 100644
--- a/src/mame/drivers/namcos12.cpp
+++ b/src/mame/drivers/namcos12.cpp
@@ -1094,7 +1094,7 @@ The lever must be wired to analog port 0 (pin B22 parts side) of the Namco 48-wa
class namcos12_state : public driver_device
{
public:
- namcos12_state(const machine_config &mconfig, device_type type, const char *tag)
+ namcos12_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, "maincpu:ram"),
diff --git a/src/mame/drivers/namcos23.cpp b/src/mame/drivers/namcos23.cpp
index 1494bcd520f..4b79b0e29e5 100644
--- a/src/mame/drivers/namcos23.cpp
+++ b/src/mame/drivers/namcos23.cpp
@@ -1396,7 +1396,7 @@ struct render_t
class namcos23_state : public driver_device
{
public:
- namcos23_state(const machine_config &mconfig, device_type type, const char *tag)
+ namcos23_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "subcpu"),
@@ -1704,7 +1704,7 @@ void namcos23_state::c435_state_set_projection_matrix_line(const UINT16 *param)
for(int i=0; i<8; i++)
p += sprintf(p, " %f", f24_to_f32((param[2*i+1] << 16) | param[2*i+2]));
p += sprintf(p, "\n");
- logerror(buf);
+ logerror("%s\n",buf);
}
void namcos23_state::c435_state_set(UINT16 type, const UINT16 *param)
@@ -1719,7 +1719,7 @@ void namcos23_state::c435_state_set(UINT16 type, const UINT16 *param)
for(int i=0; i<c435_get_state_entry_size(type); i++)
p += sprintf(p, " %04x", param[i]);
p += sprintf(p, "\n");
- logerror(buf);
+ logerror("%s",buf);
break;
}
}
@@ -1966,7 +1966,7 @@ void namcos23_state::c435_pio_w(UINT16 data)
for(int i=0; i<m_c435_buffer_pos; i++)
p += sprintf(p, " %04x", m_c435_buffer[i]);
p += sprintf(p, "\n");
- logerror(buf);
+ logerror("%s",buf);
}
m_c435_buffer_pos = 0;
diff --git a/src/mame/drivers/nanos.cpp b/src/mame/drivers/nanos.cpp
index a40db7653a9..b90f76745a5 100644
--- a/src/mame/drivers/nanos.cpp
+++ b/src/mame/drivers/nanos.cpp
@@ -22,7 +22,7 @@
class nanos_state : public driver_device
{
public:
- nanos_state(const machine_config &mconfig, device_type type, const char *tag)
+ nanos_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pio(*this, "z80pio"),
diff --git a/src/mame/drivers/nascom1.cpp b/src/mame/drivers/nascom1.cpp
index fc3497f3e70..225433d0a9c 100644
--- a/src/mame/drivers/nascom1.cpp
+++ b/src/mame/drivers/nascom1.cpp
@@ -41,7 +41,7 @@ struct nascom1_portstat_t
class nascom_state : public driver_device
{
public:
- nascom_state(const machine_config &mconfig, device_type type, const char *tag)
+ nascom_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_hd6402(*this, "hd6402"),
@@ -90,7 +90,7 @@ private:
class nascom1_state : public nascom_state
{
public:
- nascom1_state(const machine_config &mconfig, device_type type, const char *tag) :
+ nascom1_state(const machine_config &mconfig, device_type type, std::string tag) :
nascom_state(mconfig, type, tag)
{}
@@ -102,7 +102,7 @@ private:
class nascom2_state : public nascom_state
{
public:
- nascom2_state(const machine_config &mconfig, device_type type, const char *tag) :
+ nascom2_state(const machine_config &mconfig, device_type type, std::string tag) :
nascom_state(mconfig, type, tag),
m_nasbus(*this, "nasbus"),
m_socket1(*this, "socket1"),
diff --git a/src/mame/drivers/neoprint.cpp b/src/mame/drivers/neoprint.cpp
index 34a6d772df7..5886973fc5e 100644
--- a/src/mame/drivers/neoprint.cpp
+++ b/src/mame/drivers/neoprint.cpp
@@ -31,7 +31,7 @@
class neoprint_state : public driver_device
{
public:
- neoprint_state(const machine_config &mconfig, device_type type, const char *tag)
+ neoprint_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_npvidram(*this, "npvidram"),
m_npvidregs(*this, "npvidregs"),
diff --git a/src/mame/drivers/neptunp2.cpp b/src/mame/drivers/neptunp2.cpp
index f5b3b4c05f0..b3ddb90becf 100644
--- a/src/mame/drivers/neptunp2.cpp
+++ b/src/mame/drivers/neptunp2.cpp
@@ -16,7 +16,7 @@
class neptunp2_state : public driver_device
{
public:
- neptunp2_state(const machine_config &mconfig, device_type type, const char *tag)
+ neptunp2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/nexus3d.cpp b/src/mame/drivers/nexus3d.cpp
index 60a0446704d..8556892eda7 100644
--- a/src/mame/drivers/nexus3d.cpp
+++ b/src/mame/drivers/nexus3d.cpp
@@ -25,7 +25,7 @@
class nexus3d_state : public driver_device
{
public:
- nexus3d_state(const machine_config &mconfig, device_type type, const char *tag)
+ nexus3d_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mainram(*this, "mainram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/ng_aes.cpp b/src/mame/drivers/ng_aes.cpp
index 994dfbef4e5..2d0cdd529c0 100644
--- a/src/mame/drivers/ng_aes.cpp
+++ b/src/mame/drivers/ng_aes.cpp
@@ -94,7 +94,7 @@ UINT8 NeoSystem = NEOCD_REGION_JAPAN;
class ng_aes_state : public neogeo_state
{
public:
- ng_aes_state(const machine_config &mconfig, device_type type, const char *tag)
+ ng_aes_state(const machine_config &mconfig, device_type type, std::string tag)
: neogeo_state(mconfig, type, tag)
, m_tempcdc(*this,"tempcdc")
, m_io_in2(*this, "IN2")
diff --git a/src/mame/drivers/ngen.cpp b/src/mame/drivers/ngen.cpp
index fc02d654308..52addeb125f 100644
--- a/src/mame/drivers/ngen.cpp
+++ b/src/mame/drivers/ngen.cpp
@@ -80,7 +80,7 @@
class ngen_state : public driver_device
{
public:
- ngen_state(const machine_config &mconfig, device_type type, const char *tag)
+ ngen_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_i386cpu(*this,"i386cpu"),
@@ -186,7 +186,7 @@ private:
class ngen386_state : public ngen_state
{
public:
- ngen386_state(const machine_config &mconfig, device_type type, const char *tag)
+ ngen386_state(const machine_config &mconfig, device_type type, std::string tag)
: ngen_state(mconfig, type, tag)
{}
private:
diff --git a/src/mame/drivers/ngp.cpp b/src/mame/drivers/ngp.cpp
index ce57a2ca4db..179ad9114f9 100644
--- a/src/mame/drivers/ngp.cpp
+++ b/src/mame/drivers/ngp.cpp
@@ -126,7 +126,7 @@ enum flash_state
class ngp_state : public driver_device, public device_nvram_interface
{
public:
- ngp_state(const machine_config &mconfig, device_type type, const char *tag)
+ ngp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
device_nvram_interface(mconfig, *this),
m_tlcs900(*this, "maincpu"),
diff --git a/src/mame/drivers/nightgal.cpp b/src/mame/drivers/nightgal.cpp
index 2720f071051..3a0c2d8cd05 100644
--- a/src/mame/drivers/nightgal.cpp
+++ b/src/mame/drivers/nightgal.cpp
@@ -32,7 +32,7 @@ TODO:
class nightgal_state : public driver_device
{
public:
- nightgal_state(const machine_config &mconfig, device_type type, const char *tag)
+ nightgal_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_comms_ram(*this, "comms_ram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/ninjaw.cpp b/src/mame/drivers/ninjaw.cpp
index d513604fa96..ea45ec49513 100644
--- a/src/mame/drivers/ninjaw.cpp
+++ b/src/mame/drivers/ninjaw.cpp
@@ -632,7 +632,7 @@ class subwoofer_device : public device_t,
public device_sound_interface
{
public:
- subwoofer_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ subwoofer_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~subwoofer_device() {}
protected:
@@ -651,7 +651,7 @@ extern const device_type SUBWOOFER;
const device_type SUBWOOFER = &device_creator<subwoofer_device>;
-subwoofer_device::subwoofer_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+subwoofer_device::subwoofer_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SUBWOOFER, "Subwoofer", tag, owner, clock),
device_sound_interface(mconfig, *this)
{
diff --git a/src/mame/drivers/nmg5.cpp b/src/mame/drivers/nmg5.cpp
index 53b65663cf0..e1574de518d 100644
--- a/src/mame/drivers/nmg5.cpp
+++ b/src/mame/drivers/nmg5.cpp
@@ -231,7 +231,7 @@ Stephh's notes (based on the games M68000 code and some tests) :
class nmg5_state : public driver_device
{
public:
- nmg5_state(const machine_config &mconfig, device_type type, const char *tag)
+ nmg5_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_scroll_ram(*this, "scroll_ram"),
diff --git a/src/mame/drivers/nokia_3310.cpp b/src/mame/drivers/nokia_3310.cpp
index 4510b5796c8..e70067afcf1 100644
--- a/src/mame/drivers/nokia_3310.cpp
+++ b/src/mame/drivers/nokia_3310.cpp
@@ -13,7 +13,7 @@
class noki3310_state : public driver_device
{
public:
- noki3310_state(const machine_config &mconfig, device_type type, const char *tag)
+ noki3310_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/nsm.cpp b/src/mame/drivers/nsm.cpp
index 9a20fa20ee4..8379d0f9d97 100644
--- a/src/mame/drivers/nsm.cpp
+++ b/src/mame/drivers/nsm.cpp
@@ -27,7 +27,7 @@ ToDo:
class nsm_state : public driver_device
{
public:
- nsm_state(const machine_config &mconfig, device_type type, const char *tag)
+ nsm_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/nsmpoker.cpp b/src/mame/drivers/nsmpoker.cpp
index 823ee38b70e..d07360058d0 100644
--- a/src/mame/drivers/nsmpoker.cpp
+++ b/src/mame/drivers/nsmpoker.cpp
@@ -69,7 +69,7 @@
class nsmpoker_state : public driver_device
{
public:
- nsmpoker_state(const machine_config &mconfig, device_type type, const char *tag)
+ nsmpoker_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/nss.cpp b/src/mame/drivers/nss.cpp
index 0497f3e01d0..1c08d8a8770 100644
--- a/src/mame/drivers/nss.cpp
+++ b/src/mame/drivers/nss.cpp
@@ -299,7 +299,7 @@ Contra III CONTRA_III_1 TC574000 CONTRA_III_0 TC574000 GAME1_NSSU
class nss_state : public snes_state
{
public:
- nss_state(const machine_config &mconfig, device_type type, const char *tag)
+ nss_state(const machine_config &mconfig, device_type type, std::string tag)
: snes_state(mconfig, type, tag),
m_m50458(*this,"m50458"),
m_s3520cf(*this, "s3520cf"),
diff --git a/src/mame/drivers/nwk-tr.cpp b/src/mame/drivers/nwk-tr.cpp
index 3d4719b95f1..41e6edde615 100644
--- a/src/mame/drivers/nwk-tr.cpp
+++ b/src/mame/drivers/nwk-tr.cpp
@@ -264,7 +264,7 @@ Thrill Drive 713A13 - 713A14 -
class nwktr_state : public driver_device
{
public:
- nwktr_state(const machine_config &mconfig, device_type type, const char *tag)
+ nwktr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_work_ram(*this, "work_ram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/nyny.cpp b/src/mame/drivers/nyny.cpp
index 3bd05899748..818378329c5 100644
--- a/src/mame/drivers/nyny.cpp
+++ b/src/mame/drivers/nyny.cpp
@@ -87,7 +87,7 @@
class nyny_state : public driver_device
{
public:
- nyny_state(const machine_config &mconfig, device_type type, const char *tag)
+ nyny_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram1(*this, "videoram1"),
m_colorram1(*this, "colorram1"),
diff --git a/src/mame/drivers/octopus.cpp b/src/mame/drivers/octopus.cpp
index b219aa52261..43212fe4d1d 100644
--- a/src/mame/drivers/octopus.cpp
+++ b/src/mame/drivers/octopus.cpp
@@ -113,7 +113,7 @@ Its BIOS performs POST and halts as there's no keyboard.
class octopus_state : public driver_device
{
public:
- octopus_state(const machine_config &mconfig, device_type type, const char *tag)
+ octopus_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/odyssey2.cpp b/src/mame/drivers/odyssey2.cpp
index 22b0404efcc..e44e2f1871e 100644
--- a/src/mame/drivers/odyssey2.cpp
+++ b/src/mame/drivers/odyssey2.cpp
@@ -23,7 +23,7 @@
class odyssey2_state : public driver_device
{
public:
- odyssey2_state(const machine_config &mconfig, device_type type, const char *tag)
+ odyssey2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_i8244(*this, "i8244"),
@@ -75,7 +75,7 @@ protected:
class g7400_state : public odyssey2_state
{
public:
- g7400_state(const machine_config &mconfig, device_type type, const char *tag)
+ g7400_state(const machine_config &mconfig, device_type type, std::string tag)
: odyssey2_state(mconfig, type, tag)
, m_i8243(*this, "i8243")
, m_ef9340_1(*this, "ef9340_1")
diff --git a/src/mame/drivers/okean240.cpp b/src/mame/drivers/okean240.cpp
index 8ad181fe10e..0aa392e713f 100644
--- a/src/mame/drivers/okean240.cpp
+++ b/src/mame/drivers/okean240.cpp
@@ -65,7 +65,7 @@ public:
TIMER_OKEAN_BOOT
};
- okean240_state(const machine_config &mconfig, device_type type, const char *tag)
+ okean240_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_term_data(0),
m_j(0),
diff --git a/src/mame/drivers/olibochu.cpp b/src/mame/drivers/olibochu.cpp
index 8e997d897fb..376ee8dbdf2 100644
--- a/src/mame/drivers/olibochu.cpp
+++ b/src/mame/drivers/olibochu.cpp
@@ -60,7 +60,7 @@ $7004 writes, related to $7000 reads
class olibochu_state : public driver_device
{
public:
- olibochu_state(const machine_config &mconfig, device_type type, const char *tag)
+ olibochu_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/omegrace.cpp b/src/mame/drivers/omegrace.cpp
index acf7aae26de..15a013ae10d 100644
--- a/src/mame/drivers/omegrace.cpp
+++ b/src/mame/drivers/omegrace.cpp
@@ -228,7 +228,7 @@
class omegrace_state : public driver_device
{
public:
- omegrace_state(const machine_config &mconfig, device_type type, const char *tag)
+ omegrace_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/onetwo.cpp b/src/mame/drivers/onetwo.cpp
index 35b54cbd5b8..17661043d8e 100644
--- a/src/mame/drivers/onetwo.cpp
+++ b/src/mame/drivers/onetwo.cpp
@@ -51,7 +51,7 @@ Note: this is quite clearly a 'Korean bootleg' of Shisensho - Joshiryo-Hen / Mat
class onetwo_state : public driver_device
{
public:
- onetwo_state(const machine_config &mconfig, device_type type, const char *tag)
+ onetwo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_paletteram(*this, "paletteram"),
m_paletteram2(*this, "paletteram2"),
diff --git a/src/mame/drivers/onyx.cpp b/src/mame/drivers/onyx.cpp
index 85d02013975..01ce90ab486 100644
--- a/src/mame/drivers/onyx.cpp
+++ b/src/mame/drivers/onyx.cpp
@@ -38,7 +38,7 @@ and be connected to a RS422 network.
class onyx_state : public driver_device
{
public:
- onyx_state(const machine_config &mconfig, device_type type, const char *tag)
+ onyx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/oric.cpp b/src/mame/drivers/oric.cpp
index 69dff49397b..2ba373f66e3 100644
--- a/src/mame/drivers/oric.cpp
+++ b/src/mame/drivers/oric.cpp
@@ -46,7 +46,7 @@ public:
LATTR_BLINK = 0x04
};
- oric_state(const machine_config &mconfig, device_type type, const char *tag)
+ oric_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette"),
@@ -114,7 +114,7 @@ protected:
class telestrat_state : public oric_state
{
public:
- telestrat_state(const machine_config &mconfig, device_type type, const char *tag) :
+ telestrat_state(const machine_config &mconfig, device_type type, std::string tag) :
oric_state(mconfig, type, tag),
m_via2(*this, "via6522_2"),
m_fdc(*this, "fdc"),
diff --git a/src/mame/drivers/osbexec.cpp b/src/mame/drivers/osbexec.cpp
index c21143bc676..9f6fe5ea070 100644
--- a/src/mame/drivers/osbexec.cpp
+++ b/src/mame/drivers/osbexec.cpp
@@ -23,7 +23,7 @@
class osbexec_state : public driver_device
{
public:
- osbexec_state(const machine_config &mconfig, device_type type, const char *tag)
+ osbexec_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu( *this, "maincpu" ),
m_mb8877( *this, "mb8877" ),
diff --git a/src/mame/drivers/othello.cpp b/src/mame/drivers/othello.cpp
index 82f8959a507..9d76ae1f8c5 100644
--- a/src/mame/drivers/othello.cpp
+++ b/src/mame/drivers/othello.cpp
@@ -52,7 +52,7 @@ Limit for help/undo (matta):
class othello_state : public driver_device
{
public:
- othello_state(const machine_config &mconfig, device_type type, const char *tag)
+ othello_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/p112.cpp b/src/mame/drivers/p112.cpp
index f67599bcdf7..521aa023455 100644
--- a/src/mame/drivers/p112.cpp
+++ b/src/mame/drivers/p112.cpp
@@ -40,7 +40,7 @@ Some of the parts:
class p112_state : public driver_device
{
public:
- p112_state(const machine_config &mconfig, device_type type, const char *tag)
+ p112_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/p8k.cpp b/src/mame/drivers/p8k.cpp
index 8288f6704e9..8e52fb33895 100644
--- a/src/mame/drivers/p8k.cpp
+++ b/src/mame/drivers/p8k.cpp
@@ -64,7 +64,7 @@
class p8k_state : public driver_device
{
public:
- p8k_state(const machine_config &mconfig, device_type type, const char *tag)
+ p8k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/pachifev.cpp b/src/mame/drivers/pachifev.cpp
index ceaeaba5b4e..fd17924f21f 100644
--- a/src/mame/drivers/pachifev.cpp
+++ b/src/mame/drivers/pachifev.cpp
@@ -91,7 +91,7 @@ Stephh's notes (based on the game TMS9995 code and some tests) :
class pachifev_state : public driver_device
{
public:
- pachifev_state(const machine_config &mconfig, device_type type, const char *tag)
+ pachifev_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/palm.cpp b/src/mame/drivers/palm.cpp
index f875f6eefe7..587e7123c3d 100644
--- a/src/mame/drivers/palm.cpp
+++ b/src/mame/drivers/palm.cpp
@@ -24,7 +24,7 @@
class palm_state : public driver_device
{
public:
- palm_state(const machine_config &mconfig, device_type type, const char *tag)
+ palm_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_lsi(*this, MC68328_TAG),
diff --git a/src/mame/drivers/palmz22.cpp b/src/mame/drivers/palmz22.cpp
index b4efcdd2efc..62ebb15bdc1 100644
--- a/src/mame/drivers/palmz22.cpp
+++ b/src/mame/drivers/palmz22.cpp
@@ -76,7 +76,7 @@ end
class palmz22_state : public driver_device
{
public:
- palmz22_state(const machine_config &mconfig, device_type type, const char *tag)
+ palmz22_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_s3c2410(*this, "s3c2410")
diff --git a/src/mame/drivers/pangofun.cpp b/src/mame/drivers/pangofun.cpp
index 5c676615dca..b4bfe4aaee7 100644
--- a/src/mame/drivers/pangofun.cpp
+++ b/src/mame/drivers/pangofun.cpp
@@ -103,7 +103,7 @@ Arcade Version (Coin-Op) by InfoCube (Pisa, Italy)
class pangofun_state : public pcat_base_state
{
public:
- pangofun_state(const machine_config &mconfig, device_type type, const char *tag)
+ pangofun_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag) { }
DECLARE_DRIVER_INIT(pangofun);
diff --git a/src/mame/drivers/panicr.cpp b/src/mame/drivers/panicr.cpp
index 9229541b9ed..81cb470504e 100644
--- a/src/mame/drivers/panicr.cpp
+++ b/src/mame/drivers/panicr.cpp
@@ -69,7 +69,7 @@ D.9B [f99cac4b] /
class panicr_state : public driver_device
{
public:
- panicr_state(const machine_config &mconfig, device_type type, const char *tag)
+ panicr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_t5182(*this, "t5182"),
diff --git a/src/mame/drivers/paranoia.cpp b/src/mame/drivers/paranoia.cpp
index 3e0fe691587..0b7d2118025 100644
--- a/src/mame/drivers/paranoia.cpp
+++ b/src/mame/drivers/paranoia.cpp
@@ -48,7 +48,7 @@ HuC6280A (Hudson)
class paranoia_state : public pce_common_state
{
public:
- paranoia_state(const machine_config &mconfig, device_type type, const char *tag)
+ paranoia_state(const machine_config &mconfig, device_type type, std::string tag)
: pce_common_state(mconfig, type, tag) { }
DECLARE_WRITE8_MEMBER(i8085_d000_w);
diff --git a/src/mame/drivers/pasha2.cpp b/src/mame/drivers/pasha2.cpp
index a9036920e62..f9951379013 100644
--- a/src/mame/drivers/pasha2.cpp
+++ b/src/mame/drivers/pasha2.cpp
@@ -81,7 +81,7 @@ Notes:
class pasha2_state : public driver_device
{
public:
- pasha2_state(const machine_config &mconfig, device_type type, const char *tag)
+ pasha2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_wram(*this, "wram"),
m_paletteram(*this, "paletteram"),
diff --git a/src/mame/drivers/paso1600.cpp b/src/mame/drivers/paso1600.cpp
index a9f5f025a9a..33bebf42092 100644
--- a/src/mame/drivers/paso1600.cpp
+++ b/src/mame/drivers/paso1600.cpp
@@ -20,7 +20,7 @@
class paso1600_state : public driver_device
{
public:
- paso1600_state(const machine_config &mconfig, device_type type, const char *tag)
+ paso1600_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pic(*this, "pic8259"),
diff --git a/src/mame/drivers/pasogo.cpp b/src/mame/drivers/pasogo.cpp
index d88f121264e..6a1d163e98d 100644
--- a/src/mame/drivers/pasogo.cpp
+++ b/src/mame/drivers/pasogo.cpp
@@ -117,7 +117,7 @@ TODO:
class pasogo_state : public driver_device
{
public:
- pasogo_state(const machine_config &mconfig, device_type type, const char *tag)
+ pasogo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_cart(*this, "cartslot")
diff --git a/src/mame/drivers/pasopia.cpp b/src/mame/drivers/pasopia.cpp
index aa65d9979b9..24f0b2f6e07 100644
--- a/src/mame/drivers/pasopia.cpp
+++ b/src/mame/drivers/pasopia.cpp
@@ -21,7 +21,7 @@
class pasopia_state : public driver_device
{
public:
- pasopia_state(const machine_config &mconfig, device_type type, const char *tag)
+ pasopia_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ppi0(*this, "ppi8255_0"),
diff --git a/src/mame/drivers/pasopia7.cpp b/src/mame/drivers/pasopia7.cpp
index 2a9ec18114d..d049b826200 100644
--- a/src/mame/drivers/pasopia7.cpp
+++ b/src/mame/drivers/pasopia7.cpp
@@ -32,7 +32,7 @@
class pasopia7_state : public driver_device
{
public:
- pasopia7_state(const machine_config &mconfig, device_type type, const char *tag)
+ pasopia7_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ppi0(*this, "ppi8255_0"),
diff --git a/src/mame/drivers/patinho_feio.cpp b/src/mame/drivers/patinho_feio.cpp
index e40274c884a..25e9088e87f 100644
--- a/src/mame/drivers/patinho_feio.cpp
+++ b/src/mame/drivers/patinho_feio.cpp
@@ -10,7 +10,7 @@
class patinho_feio_state : public driver_device
{
public:
- patinho_feio_state(const machine_config &mconfig, device_type type, const char *tag)
+ patinho_feio_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
//,m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/pb1000.cpp b/src/mame/drivers/pb1000.cpp
index 88eafd1d1b2..a0029593807 100644
--- a/src/mame/drivers/pb1000.cpp
+++ b/src/mame/drivers/pb1000.cpp
@@ -33,7 +33,7 @@
class pb1000_state : public driver_device
{
public:
- pb1000_state(const machine_config &mconfig, device_type type, const char *tag)
+ pb1000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_beeper(*this, "beeper"),
diff --git a/src/mame/drivers/pc.cpp b/src/mame/drivers/pc.cpp
index b6836ab5f3a..83c3f0e357c 100644
--- a/src/mame/drivers/pc.cpp
+++ b/src/mame/drivers/pc.cpp
@@ -39,7 +39,7 @@ video HW too.
class pc_state : public driver_device
{
public:
- pc_state(const machine_config &mconfig, device_type type, const char *tag) :
+ pc_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/pc100.cpp b/src/mame/drivers/pc100.cpp
index 1f8cff5ce83..d4413b1eb9f 100644
--- a/src/mame/drivers/pc100.cpp
+++ b/src/mame/drivers/pc100.cpp
@@ -66,7 +66,7 @@
class pc100_state : public driver_device
{
public:
- pc100_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc100_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_beeper(*this, "beeper"),
diff --git a/src/mame/drivers/pc1500.cpp b/src/mame/drivers/pc1500.cpp
index a916c5658b4..6c140312166 100644
--- a/src/mame/drivers/pc1500.cpp
+++ b/src/mame/drivers/pc1500.cpp
@@ -22,7 +22,7 @@
class pc1500_state : public driver_device
{
public:
- pc1500_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc1500_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_rtc(*this, "upd1990a"),
diff --git a/src/mame/drivers/pc2000.cpp b/src/mame/drivers/pc2000.cpp
index 6329a750815..fe9640b114c 100644
--- a/src/mame/drivers/pc2000.cpp
+++ b/src/mame/drivers/pc2000.cpp
@@ -30,7 +30,7 @@
class pc2000_state : public driver_device
{
public:
- pc2000_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc2000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_lcdc(*this, "hd44780"),
@@ -69,7 +69,7 @@ public:
class gl3000s_state : public pc2000_state
{
public:
- gl3000s_state(const machine_config &mconfig, device_type type, const char *tag)
+ gl3000s_state(const machine_config &mconfig, device_type type, std::string tag)
: pc2000_state(mconfig, type, tag),
m_lcdc_r(*this, "sed1520_r"),
m_lcdc_l(*this, "sed1520_l")
@@ -84,7 +84,7 @@ public:
class gl4004_state : public pc2000_state
{
public:
- gl4004_state(const machine_config &mconfig, device_type type, const char *tag)
+ gl4004_state(const machine_config &mconfig, device_type type, std::string tag)
: pc2000_state(mconfig, type, tag)
{ }
@@ -94,7 +94,7 @@ public:
class pc1000_state : public pc2000_state
{
public:
- pc1000_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc1000_state(const machine_config &mconfig, device_type type, std::string tag)
: pc2000_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/pc6001.cpp b/src/mame/drivers/pc6001.cpp
index 0372eec0460..56d867cc521 100644
--- a/src/mame/drivers/pc6001.cpp
+++ b/src/mame/drivers/pc6001.cpp
@@ -142,7 +142,7 @@ irq vector 0x26:
class pc6001_state : public driver_device
{
public:
- pc6001_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc6001_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ppi(*this, "ppi8255"),
m_ram(*this, "ram"),
diff --git a/src/mame/drivers/pc8801.cpp b/src/mame/drivers/pc8801.cpp
index d9debc10f5d..3260660a0b4 100644
--- a/src/mame/drivers/pc8801.cpp
+++ b/src/mame/drivers/pc8801.cpp
@@ -301,7 +301,7 @@ struct mouse_t
class pc8801_state : public driver_device
{
public:
- pc8801_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc8801_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_fdccpu(*this, "fdccpu"),
diff --git a/src/mame/drivers/pc88va.cpp b/src/mame/drivers/pc88va.cpp
index a7f2590a698..10dcb31acf0 100644
--- a/src/mame/drivers/pc88va.cpp
+++ b/src/mame/drivers/pc88va.cpp
@@ -70,7 +70,7 @@ public:
TIMER_PC88VA_FDC_MOTOR_START_1
};
- pc88va_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc88va_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_fdc(*this, "upd765"),
diff --git a/src/mame/drivers/pc9801.cpp b/src/mame/drivers/pc9801.cpp
index 420c1cc8fbf..9fba2b45abe 100644
--- a/src/mame/drivers/pc9801.cpp
+++ b/src/mame/drivers/pc9801.cpp
@@ -439,7 +439,7 @@ Keyboard TX commands:
class pc9801_state : public driver_device
{
public:
- pc9801_state(const machine_config &mconfig, device_type type, const char *tag) :
+ pc9801_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dmac(*this, "i8237"),
diff --git a/src/mame/drivers/pcat_dyn.cpp b/src/mame/drivers/pcat_dyn.cpp
index 25fdff8943e..e9ebad9e931 100644
--- a/src/mame/drivers/pcat_dyn.cpp
+++ b/src/mame/drivers/pcat_dyn.cpp
@@ -38,7 +38,7 @@ keyboard trick;
class pcat_dyn_state : public pcat_base_state
{
public:
- pcat_dyn_state(const machine_config &mconfig, device_type type, const char *tag)
+ pcat_dyn_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag) { }
DECLARE_DRIVER_INIT(pcat_dyn);
diff --git a/src/mame/drivers/pcat_nit.cpp b/src/mame/drivers/pcat_nit.cpp
index 25b02276175..78c208b54ba 100644
--- a/src/mame/drivers/pcat_nit.cpp
+++ b/src/mame/drivers/pcat_nit.cpp
@@ -94,7 +94,7 @@ Smitdogg
class pcat_nit_state : public pcat_base_state
{
public:
- pcat_nit_state(const machine_config &mconfig, device_type type, const char *tag)
+ pcat_nit_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag),
m_uart(*this, "ns16450_0"),
m_microtouch(*this, "microtouch") { }
diff --git a/src/mame/drivers/pcd.cpp b/src/mame/drivers/pcd.cpp
index cda14e61f76..a63a153457c 100644
--- a/src/mame/drivers/pcd.cpp
+++ b/src/mame/drivers/pcd.cpp
@@ -30,7 +30,7 @@
class pcd_state : public driver_device
{
public:
- pcd_state(const machine_config &mconfig, device_type type, const char *tag) :
+ pcd_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pic1(*this, "pic1"),
diff --git a/src/mame/drivers/pce220.cpp b/src/mame/drivers/pce220.cpp
index ba9c8ab650d..f8a3e3146b9 100644
--- a/src/mame/drivers/pce220.cpp
+++ b/src/mame/drivers/pce220.cpp
@@ -40,7 +40,7 @@
class pce220_state : public driver_device
{
public:
- pce220_state(const machine_config &mconfig, device_type type, const char *tag)
+ pce220_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
@@ -102,7 +102,7 @@ public:
class pcg850v_state : public pce220_state
{
public:
- pcg850v_state(const machine_config &mconfig, device_type type, const char *tag)
+ pcg850v_state(const machine_config &mconfig, device_type type, std::string tag)
: pce220_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/pcfx.cpp b/src/mame/drivers/pcfx.cpp
index a4ecee9b880..feff094f0cd 100644
--- a/src/mame/drivers/pcfx.cpp
+++ b/src/mame/drivers/pcfx.cpp
@@ -30,7 +30,7 @@ public:
TIMER_PAD_FUNC
};
- pcfx_state(const machine_config &mconfig, device_type type, const char *tag)
+ pcfx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_huc6261(*this, "huc6261") { }
diff --git a/src/mame/drivers/pcm.cpp b/src/mame/drivers/pcm.cpp
index 912256491f9..65fc6dedc83 100644
--- a/src/mame/drivers/pcm.cpp
+++ b/src/mame/drivers/pcm.cpp
@@ -67,7 +67,7 @@
class pcm_state : public driver_device
{
public:
- pcm_state(const machine_config &mconfig, device_type type, const char *tag)
+ pcm_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pio_s(*this, "z80pio_s"),
diff --git a/src/mame/drivers/pcxt.cpp b/src/mame/drivers/pcxt.cpp
index f4497d6c603..468e0d06bc7 100644
--- a/src/mame/drivers/pcxt.cpp
+++ b/src/mame/drivers/pcxt.cpp
@@ -71,7 +71,7 @@ the main program is 9th October 1990.
class pcxt_state : public driver_device
{
public:
- pcxt_state(const machine_config &mconfig, device_type type, const char *tag)
+ pcxt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_pit8253(*this, "pit8253"),
m_pic8259_1(*this, "pic8259_1"),
@@ -133,7 +133,7 @@ class isa8_cga_filetto_device : public isa8_cga_device
{
public:
// construction/destruction
- isa8_cga_filetto_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ isa8_cga_filetto_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual const rom_entry *device_rom_region() const override;
};
@@ -144,7 +144,7 @@ const device_type ISA8_CGA_FILETTO = &device_creator<isa8_cga_filetto_device>;
// isa8_cga_filetto_device - constructor
//-------------------------------------------------
-isa8_cga_filetto_device::isa8_cga_filetto_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+isa8_cga_filetto_device::isa8_cga_filetto_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
isa8_cga_device( mconfig, ISA8_CGA_FILETTO, "ISA8_CGA_FILETTO", tag, owner, clock, "filetto_cga", __FILE__)
{
}
@@ -165,7 +165,7 @@ class isa8_cga_tetriskr_device : public isa8_cga_superimpose_device
{
public:
// construction/destruction
- isa8_cga_tetriskr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ isa8_cga_tetriskr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) override;
virtual void device_start() override;
@@ -185,7 +185,7 @@ const device_type ISA8_CGA_TETRISKR = &device_creator<isa8_cga_tetriskr_device>;
// isa8_cga_tetriskr_device - constructor
//-------------------------------------------------
-isa8_cga_tetriskr_device::isa8_cga_tetriskr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+isa8_cga_tetriskr_device::isa8_cga_tetriskr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
isa8_cga_superimpose_device( mconfig, ISA8_CGA_TETRISKR, "ISA8_CGA_TETRISKR", tag, owner, clock, "tetriskr_cga", __FILE__)
{
}
diff --git a/src/mame/drivers/pda600.cpp b/src/mame/drivers/pda600.cpp
index c4dd15ab4cd..b1075227743 100644
--- a/src/mame/drivers/pda600.cpp
+++ b/src/mame/drivers/pda600.cpp
@@ -65,7 +65,7 @@
class pda600_state : public driver_device
{
public:
- pda600_state(const machine_config &mconfig, device_type type, const char *tag)
+ pda600_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{}
diff --git a/src/mame/drivers/pdp1.cpp b/src/mame/drivers/pdp1.cpp
index 0c74eae9f55..28ed3f88e0f 100644
--- a/src/mame/drivers/pdp1.cpp
+++ b/src/mame/drivers/pdp1.cpp
@@ -667,7 +667,7 @@ class pdp1_readtape_image_device : public device_t,
{
public:
// construction/destruction
- pdp1_readtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pdp1_readtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// image-level overrides
virtual iodevice_t image_type() const override { return IO_PUNCHTAPE; }
@@ -691,7 +691,7 @@ protected:
const device_type PDP1_READTAPE = &device_creator<pdp1_readtape_image_device>;
-pdp1_readtape_image_device::pdp1_readtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pdp1_readtape_image_device::pdp1_readtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PDP1_READTAPE, "PDP1 Tape Reader", tag, owner, clock, "pdp1_readtape_image", __FILE__),
device_image_interface(mconfig, *this)
{
@@ -702,7 +702,7 @@ class pdp1_punchtape_image_device : public device_t,
{
public:
// construction/destruction
- pdp1_punchtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pdp1_punchtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// image-level overrides
virtual iodevice_t image_type() const override { return IO_PUNCHTAPE; }
@@ -726,7 +726,7 @@ protected:
const device_type PDP1_PUNCHTAPE = &device_creator<pdp1_punchtape_image_device>;
-pdp1_punchtape_image_device::pdp1_punchtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pdp1_punchtape_image_device::pdp1_punchtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PDP1_PUNCHTAPE, "PDP1 Tape Puncher", tag, owner, clock, "pdp1_punchtape_image", __FILE__),
device_image_interface(mconfig, *this)
{
@@ -738,7 +738,7 @@ class pdp1_printer_image_device : public device_t,
{
public:
// construction/destruction
- pdp1_printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pdp1_printer_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// image-level overrides
virtual iodevice_t image_type() const override { return IO_PRINTER; }
@@ -762,7 +762,7 @@ protected:
const device_type PDP1_PRINTER = &device_creator<pdp1_printer_image_device>;
-pdp1_printer_image_device::pdp1_printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pdp1_printer_image_device::pdp1_printer_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PDP1_PRINTER, "PDP1 Typewriter", tag, owner, clock, "pdp1_printer_image", __FILE__),
device_image_interface(mconfig, *this)
{
@@ -773,7 +773,7 @@ class pdp1_cylinder_image_device : public device_t,
{
public:
// construction/destruction
- pdp1_cylinder_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pdp1_cylinder_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// image-level overrides
virtual iodevice_t image_type() const override { return IO_CYLINDER; }
@@ -797,7 +797,7 @@ protected:
const device_type PDP1_CYLINDER = &device_creator<pdp1_cylinder_image_device>;
-pdp1_cylinder_image_device::pdp1_cylinder_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pdp1_cylinder_image_device::pdp1_cylinder_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PDP1_CYLINDER, "PDP1 Cylinder", tag, owner, clock, "pdp1_cylinder_image", __FILE__),
device_image_interface(mconfig, *this)
{
diff --git a/src/mame/drivers/pdp11.cpp b/src/mame/drivers/pdp11.cpp
index 139386dfe37..892dc817310 100644
--- a/src/mame/drivers/pdp11.cpp
+++ b/src/mame/drivers/pdp11.cpp
@@ -98,7 +98,7 @@
class pdp11_state : public driver_device
{
public:
- pdp11_state(const machine_config &mconfig, device_type type, const char *tag)
+ pdp11_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/pegasus.cpp b/src/mame/drivers/pegasus.cpp
index 858c4b8249f..09b73d16e87 100644
--- a/src/mame/drivers/pegasus.cpp
+++ b/src/mame/drivers/pegasus.cpp
@@ -50,7 +50,7 @@
class pegasus_state : public driver_device
{
public:
- pegasus_state(const machine_config &mconfig, device_type type, const char *tag)
+ pegasus_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_cass(*this, "cassette")
diff --git a/src/mame/drivers/pencil2.cpp b/src/mame/drivers/pencil2.cpp
index 85cb0a884b2..ff08104dabd 100644
--- a/src/mame/drivers/pencil2.cpp
+++ b/src/mame/drivers/pencil2.cpp
@@ -94,7 +94,7 @@ ToDo:
class pencil2_state : public driver_device
{
public:
- pencil2_state(const machine_config &mconfig, device_type type, const char *tag)
+ pencil2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_centronics(*this, "centronics")
diff --git a/src/mame/drivers/pengadvb.cpp b/src/mame/drivers/pengadvb.cpp
index c831c2253ea..6c181ecf11a 100644
--- a/src/mame/drivers/pengadvb.cpp
+++ b/src/mame/drivers/pengadvb.cpp
@@ -35,7 +35,7 @@ NOTE! switches 1, 3 & 5 must be ON or the game will not boot.
class pengadvb_state : public driver_device
{
public:
- pengadvb_state(const machine_config &mconfig, device_type type, const char *tag)
+ pengadvb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/pengo.cpp b/src/mame/drivers/pengo.cpp
index c47fb18f97f..390d4b39f60 100644
--- a/src/mame/drivers/pengo.cpp
+++ b/src/mame/drivers/pengo.cpp
@@ -72,7 +72,7 @@
class pengo_state : public pacman_state
{
public:
- pengo_state(const machine_config &mconfig, device_type type, const char *tag)
+ pengo_state(const machine_config &mconfig, device_type type, std::string tag)
: pacman_state(mconfig, type, tag), m_decrypted_opcodes(*this, "decrypted_opcodes") { }
DECLARE_WRITE8_MEMBER(pengo_coin_counter_w);
DECLARE_WRITE8_MEMBER(irq_mask_w);
diff --git a/src/mame/drivers/pentagon.cpp b/src/mame/drivers/pentagon.cpp
index ea2150c2fed..1b6d0f27869 100644
--- a/src/mame/drivers/pentagon.cpp
+++ b/src/mame/drivers/pentagon.cpp
@@ -19,7 +19,7 @@ public:
TIMER_IRQ_ON,
TIMER_IRQ_OFF
};
- pentagon_state(const machine_config &mconfig, device_type type, const char *tag)
+ pentagon_state(const machine_config &mconfig, device_type type, std::string tag)
: spectrum_state(mconfig, type, tag)
, m_bank1(*this, "bank1")
, m_bank2(*this, "bank2")
diff --git a/src/mame/drivers/peoplepc.cpp b/src/mame/drivers/peoplepc.cpp
index ca391820999..e59716fb2ae 100644
--- a/src/mame/drivers/peoplepc.cpp
+++ b/src/mame/drivers/peoplepc.cpp
@@ -16,7 +16,7 @@
class peoplepc_state : public driver_device
{
public:
- peoplepc_state(const machine_config &mconfig, device_type type, const char *tag) :
+ peoplepc_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette"),
diff --git a/src/mame/drivers/peplus.cpp b/src/mame/drivers/peplus.cpp
index 28304a19c49..47ccf2b3900 100644
--- a/src/mame/drivers/peplus.cpp
+++ b/src/mame/drivers/peplus.cpp
@@ -219,7 +219,7 @@ public:
TIMER_ASSERT_LP
};
- peplus_state(const machine_config &mconfig, device_type type, const char *tag)
+ peplus_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_crtc(*this, "crtc"),
diff --git a/src/mame/drivers/peyper.cpp b/src/mame/drivers/peyper.cpp
index 742112a6816..729d8d4e66f 100644
--- a/src/mame/drivers/peyper.cpp
+++ b/src/mame/drivers/peyper.cpp
@@ -41,7 +41,7 @@ ToDo:
class peyper_state : public genpin_class
{
public:
- peyper_state(const machine_config &mconfig, device_type type, const char *tag)
+ peyper_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_switch(*this, "SWITCH")
diff --git a/src/mame/drivers/pgm2.cpp b/src/mame/drivers/pgm2.cpp
index eef0fd51995..a494e8685c3 100644
--- a/src/mame/drivers/pgm2.cpp
+++ b/src/mame/drivers/pgm2.cpp
@@ -64,7 +64,7 @@
class pgm2_state : public driver_device
{
public:
- pgm2_state(const machine_config &mconfig, device_type type, const char *tag)
+ pgm2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/photon.cpp b/src/mame/drivers/photon.cpp
index 339986851b4..315dfeff6b9 100644
--- a/src/mame/drivers/photon.cpp
+++ b/src/mame/drivers/photon.cpp
@@ -27,7 +27,7 @@
class photon_state : public pk8000_base_state
{
public:
- photon_state(const machine_config &mconfig, device_type type, const char *tag)
+ photon_state(const machine_config &mconfig, device_type type, std::string tag)
: pk8000_base_state(mconfig, type, tag),
m_speaker(*this, "speaker") { }
diff --git a/src/mame/drivers/photon2.cpp b/src/mame/drivers/photon2.cpp
index f0683c72413..194a6d29554 100644
--- a/src/mame/drivers/photon2.cpp
+++ b/src/mame/drivers/photon2.cpp
@@ -18,7 +18,7 @@
class photon2_state : public driver_device
{
public:
- photon2_state(const machine_config &mconfig, device_type type, const char *tag)
+ photon2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_speaker(*this, "speaker"),
diff --git a/src/mame/drivers/photoply.cpp b/src/mame/drivers/photoply.cpp
index bd4c1ff5e1f..f0731dd0e6a 100644
--- a/src/mame/drivers/photoply.cpp
+++ b/src/mame/drivers/photoply.cpp
@@ -22,7 +22,7 @@ TODO:
class photoply_state : public pcat_base_state
{
public:
- photoply_state(const machine_config &mconfig, device_type type, const char *tag)
+ photoply_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag)
{
}
diff --git a/src/mame/drivers/phunsy.cpp b/src/mame/drivers/phunsy.cpp
index b701d7d468e..e4392a99fea 100644
--- a/src/mame/drivers/phunsy.cpp
+++ b/src/mame/drivers/phunsy.cpp
@@ -42,7 +42,7 @@
class phunsy_state : public driver_device
{
public:
- phunsy_state(const machine_config &mconfig, device_type type, const char *tag)
+ phunsy_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker"),
diff --git a/src/mame/drivers/piggypas.cpp b/src/mame/drivers/piggypas.cpp
index 413f84c0bd4..2d0b8dc6881 100644
--- a/src/mame/drivers/piggypas.cpp
+++ b/src/mame/drivers/piggypas.cpp
@@ -20,7 +20,7 @@ game details unknown
class piggypas_state : public driver_device
{
public:
- piggypas_state(const machine_config &mconfig, device_type type, const char *tag)
+ piggypas_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ticket(*this, "ticket")
diff --git a/src/mame/drivers/pimps.cpp b/src/mame/drivers/pimps.cpp
index 331880384aa..7a37691cbf9 100644
--- a/src/mame/drivers/pimps.cpp
+++ b/src/mame/drivers/pimps.cpp
@@ -31,7 +31,7 @@ V Virtual Memory
class pimps_state : public driver_device
{
public:
- pimps_state(const machine_config &mconfig, device_type type, const char *tag)
+ pimps_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_terminal(*this, TERMINAL_TAG),
m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/pinball2k.cpp b/src/mame/drivers/pinball2k.cpp
index 9dd759a082d..acbf580c159 100644
--- a/src/mame/drivers/pinball2k.cpp
+++ b/src/mame/drivers/pinball2k.cpp
@@ -29,7 +29,7 @@
class pinball2k_state : public pcat_base_state
{
public:
- pinball2k_state(const machine_config &mconfig, device_type type, const char *tag)
+ pinball2k_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag),
m_main_ram(*this, "main_ram"),
m_cga_ram(*this, "cga_ram"),
diff --git a/src/mame/drivers/pinkiri8.cpp b/src/mame/drivers/pinkiri8.cpp
index 2045c1fd6d8..89de5dadbe1 100644
--- a/src/mame/drivers/pinkiri8.cpp
+++ b/src/mame/drivers/pinkiri8.cpp
@@ -46,7 +46,7 @@ Dumped by Chackn
class pinkiri8_state : public driver_device
{
public:
- pinkiri8_state(const machine_config &mconfig, device_type type, const char *tag)
+ pinkiri8_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_janshi_back_vram(*this, "janshivdp:back_vram"),
m_janshi_vram1(*this, "janshivdp:vram1"),
@@ -103,7 +103,7 @@ class janshi_vdp_device : public device_t,
public device_memory_interface
{
public:
- janshi_vdp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ janshi_vdp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_ADDRESS_MAP(map, 8);
protected:
virtual void device_config_complete() override;
@@ -133,7 +133,7 @@ ADDRESS_MAP_END
const device_type JANSHIVDP = &device_creator<janshi_vdp_device>;
-janshi_vdp_device::janshi_vdp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+janshi_vdp_device::janshi_vdp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, JANSHIVDP, "Janshi VDP", tag, owner, clock, "janshi_vdp", __FILE__),
device_memory_interface(mconfig, *this),
m_space_config("janshi_vdp", ENDIANNESS_LITTLE, 8,24, 0, address_map_delegate(FUNC(janshi_vdp_device::map), this))
diff --git a/src/mame/drivers/pipbug.cpp b/src/mame/drivers/pipbug.cpp
index c6050fb81cf..d265c4fdd38 100644
--- a/src/mame/drivers/pipbug.cpp
+++ b/src/mame/drivers/pipbug.cpp
@@ -46,7 +46,7 @@
class pipbug_state : public driver_device
{
public:
- pipbug_state(const machine_config &mconfig, device_type type, const char *tag)
+ pipbug_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_rs232(*this, "rs232"),
m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/pipedrm.cpp b/src/mame/drivers/pipedrm.cpp
index 0151f62c79c..25111b72f65 100644
--- a/src/mame/drivers/pipedrm.cpp
+++ b/src/mame/drivers/pipedrm.cpp
@@ -172,7 +172,7 @@ Added Multiple Coin Feature:
class pipedrm_state : public fromance_state
{
public:
- pipedrm_state(const machine_config &mconfig, device_type type, const char *tag)
+ pipedrm_state(const machine_config &mconfig, device_type type, std::string tag)
: fromance_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/pipeline.cpp b/src/mame/drivers/pipeline.cpp
index 0757fd1ae32..d29cf0d42d4 100644
--- a/src/mame/drivers/pipeline.cpp
+++ b/src/mame/drivers/pipeline.cpp
@@ -77,7 +77,7 @@ Stephh's notes (based on the games Z80 code and some tests) :
class pipeline_state : public driver_device
{
public:
- pipeline_state(const machine_config &mconfig, device_type type, const char *tag)
+ pipeline_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/pitagjr.cpp b/src/mame/drivers/pitagjr.cpp
index 4049583fe15..70364c109fa 100644
--- a/src/mame/drivers/pitagjr.cpp
+++ b/src/mame/drivers/pitagjr.cpp
@@ -157,7 +157,7 @@
class pitagjr_state : public driver_device
{
public:
- pitagjr_state(const machine_config &mconfig, device_type type, const char *tag)
+ pitagjr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_rombank(*this, "rombank")
diff --git a/src/mame/drivers/pk8000.cpp b/src/mame/drivers/pk8000.cpp
index 5afeecdfe21..8c71346700c 100644
--- a/src/mame/drivers/pk8000.cpp
+++ b/src/mame/drivers/pk8000.cpp
@@ -23,7 +23,7 @@
class pk8000_state : public pk8000_base_state
{
public:
- pk8000_state(const machine_config &mconfig, device_type type, const char *tag)
+ pk8000_state(const machine_config &mconfig, device_type type, std::string tag)
: pk8000_base_state(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_cassette(*this, "cassette")
diff --git a/src/mame/drivers/pkscram.cpp b/src/mame/drivers/pkscram.cpp
index f7a32364b5e..2d4bee21737 100644
--- a/src/mame/drivers/pkscram.cpp
+++ b/src/mame/drivers/pkscram.cpp
@@ -22,7 +22,7 @@ driver by David Haywood and few bits by Pierpaolo Prazzoli
class pkscram_state : public driver_device
{
public:
- pkscram_state(const machine_config &mconfig, device_type type, const char *tag)
+ pkscram_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_pkscramble_fgtilemap_ram(*this, "fgtilemap_ram"),
m_pkscramble_mdtilemap_ram(*this, "mdtilemap_ram"),
diff --git a/src/mame/drivers/plan80.cpp b/src/mame/drivers/plan80.cpp
index f621c73d92b..c197e9bd177 100644
--- a/src/mame/drivers/plan80.cpp
+++ b/src/mame/drivers/plan80.cpp
@@ -35,7 +35,7 @@ public:
TIMER_BOOT
};
- plan80_state(const machine_config &mconfig, device_type type, const char *tag)
+ plan80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_p_videoram(*this, "p_videoram")
diff --git a/src/mame/drivers/play_1.cpp b/src/mame/drivers/play_1.cpp
index 1f4b934c249..c2bc1b9e4c8 100644
--- a/src/mame/drivers/play_1.cpp
+++ b/src/mame/drivers/play_1.cpp
@@ -14,7 +14,7 @@
class play_1_state : public driver_device
{
public:
- play_1_state(const machine_config &mconfig, device_type type, const char *tag)
+ play_1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/play_2.cpp b/src/mame/drivers/play_2.cpp
index d9130b783ac..f846b176890 100644
--- a/src/mame/drivers/play_2.cpp
+++ b/src/mame/drivers/play_2.cpp
@@ -11,7 +11,7 @@
class play_2_state : public driver_device
{
public:
- play_2_state(const machine_config &mconfig, device_type type, const char *tag)
+ play_2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/play_3.cpp b/src/mame/drivers/play_3.cpp
index ac95103507e..c4338453c2a 100644
--- a/src/mame/drivers/play_3.cpp
+++ b/src/mame/drivers/play_3.cpp
@@ -14,7 +14,7 @@
class play_3_state : public driver_device
{
public:
- play_3_state(const machine_config &mconfig, device_type type, const char *tag)
+ play_3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/play_5.cpp b/src/mame/drivers/play_5.cpp
index 09edd089fe3..c836212a3dc 100644
--- a/src/mame/drivers/play_5.cpp
+++ b/src/mame/drivers/play_5.cpp
@@ -11,7 +11,7 @@
class play_5_state : public driver_device
{
public:
- play_5_state(const machine_config &mconfig, device_type type, const char *tag)
+ play_5_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/pluto5.cpp b/src/mame/drivers/pluto5.cpp
index f231c634f8e..7641e88bfcb 100644
--- a/src/mame/drivers/pluto5.cpp
+++ b/src/mame/drivers/pluto5.cpp
@@ -183,7 +183,7 @@
class pluto5_state : public driver_device
{
public:
- pluto5_state(const machine_config &mconfig, device_type type, const char *tag)
+ pluto5_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/pm68k.cpp b/src/mame/drivers/pm68k.cpp
index d35fa742d8d..17113c2f037 100644
--- a/src/mame/drivers/pm68k.cpp
+++ b/src/mame/drivers/pm68k.cpp
@@ -19,7 +19,7 @@ Status: Boots into monitor, some commands work, some freeze.
class pm68k_state : public driver_device
{
public:
- pm68k_state(const machine_config &mconfig, device_type type, const char *tag)
+ pm68k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_p_base(*this, "rambase"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/pmi80.cpp b/src/mame/drivers/pmi80.cpp
index d58f538892a..dbdcbcd9dbc 100644
--- a/src/mame/drivers/pmi80.cpp
+++ b/src/mame/drivers/pmi80.cpp
@@ -40,7 +40,7 @@ Notes:
class pmi80_state : public driver_device
{
public:
- pmi80_state(const machine_config &mconfig, device_type type, const char *tag)
+ pmi80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_ledready(0)
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/pntnpuzl.cpp b/src/mame/drivers/pntnpuzl.cpp
index 32f1f571fe2..654e3ec9914 100644
--- a/src/mame/drivers/pntnpuzl.cpp
+++ b/src/mame/drivers/pntnpuzl.cpp
@@ -131,7 +131,7 @@ CN1 standard DB15 VGA connector (15KHz)
class pntnpuzl_state : public driver_device
{
public:
- pntnpuzl_state(const machine_config &mconfig, device_type type, const char *tag)
+ pntnpuzl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_eeprom(*this, "eeprom")
diff --git a/src/mame/drivers/pockstat.cpp b/src/mame/drivers/pockstat.cpp
index 0662ab59f5b..19a8d53df2f 100644
--- a/src/mame/drivers/pockstat.cpp
+++ b/src/mame/drivers/pockstat.cpp
@@ -104,7 +104,7 @@ struct ps_rtc_regs_t
class pockstat_state : public driver_device
{
public:
- pockstat_state(const machine_config &mconfig, device_type type, const char *tag)
+ pockstat_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_lcd_buffer(*this, "lcd_buffer"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/pokemini.cpp b/src/mame/drivers/pokemini.cpp
index 09299dc79d5..690e8ca0b41 100644
--- a/src/mame/drivers/pokemini.cpp
+++ b/src/mame/drivers/pokemini.cpp
@@ -51,7 +51,7 @@ struct TIMERS
class pokemini_state : public driver_device
{
public:
- pokemini_state(const machine_config &mconfig, device_type type, const char *tag)
+ pokemini_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_p_ram(*this, "p_ram"),
diff --git a/src/mame/drivers/poker72.cpp b/src/mame/drivers/poker72.cpp
index 4867465e902..8fcb16f2dae 100644
--- a/src/mame/drivers/poker72.cpp
+++ b/src/mame/drivers/poker72.cpp
@@ -20,7 +20,7 @@
class poker72_state : public driver_device
{
public:
- poker72_state(const machine_config &mconfig, device_type type, const char *tag)
+ poker72_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vram(*this, "vram"),
m_pal(*this, "pal"),
diff --git a/src/mame/drivers/poly.cpp b/src/mame/drivers/poly.cpp
index 4dbf5502166..ffcb90b2ccc 100644
--- a/src/mame/drivers/poly.cpp
+++ b/src/mame/drivers/poly.cpp
@@ -46,7 +46,7 @@
class poly_state : public driver_device
{
public:
- poly_state(const machine_config &mconfig, device_type type, const char *tag)
+ poly_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pia0(*this, "pia0"),
diff --git a/src/mame/drivers/pong.cpp b/src/mame/drivers/pong.cpp
index 358b7cb35ea..7aade29ed15 100644
--- a/src/mame/drivers/pong.cpp
+++ b/src/mame/drivers/pong.cpp
@@ -125,7 +125,7 @@ NETLIST_EXTERNAL(breakout)
class ttl_mono_state : public driver_device
{
public:
- ttl_mono_state(const machine_config &mconfig, device_type type, const char *tag)
+ ttl_mono_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_video(*this, "fixfreq"),
@@ -158,7 +158,7 @@ private:
class pong_state : public ttl_mono_state
{
public:
- pong_state(const machine_config &mconfig, device_type type, const char *tag)
+ pong_state(const machine_config &mconfig, device_type type, std::string tag)
: ttl_mono_state(mconfig, type, tag),
m_sw1a(*this, "maincpu:sw1a"),
m_sw1b(*this, "maincpu:sw1b")
@@ -185,7 +185,7 @@ private:
class breakout_state : public ttl_mono_state
{
public:
- breakout_state(const machine_config &mconfig, device_type type, const char *tag)
+ breakout_state(const machine_config &mconfig, device_type type, std::string tag)
: ttl_mono_state(mconfig, type, tag),
m_led_serve(*this, "maincpu:led_serve"),
m_lamp_credit1(*this, "maincpu:lamp_credit1"),
diff --git a/src/mame/drivers/popobear.cpp b/src/mame/drivers/popobear.cpp
index c6d1f2fed6c..3f6e31aae70 100644
--- a/src/mame/drivers/popobear.cpp
+++ b/src/mame/drivers/popobear.cpp
@@ -85,7 +85,7 @@ Component Side A B Solder Side
class popobear_state : public driver_device
{
public:
- popobear_state(const machine_config &mconfig, device_type type, const char *tag)
+ popobear_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/potgoldu.cpp b/src/mame/drivers/potgoldu.cpp
index 3e5c5a6613a..cdf94342bb1 100644
--- a/src/mame/drivers/potgoldu.cpp
+++ b/src/mame/drivers/potgoldu.cpp
@@ -26,7 +26,7 @@
class potgold_state : public driver_device
{
public:
- potgold_state(const machine_config &mconfig, device_type type, const char *tag)
+ potgold_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/powerbal.cpp b/src/mame/drivers/powerbal.cpp
index 8c92483c44c..60d504db0ae 100644
--- a/src/mame/drivers/powerbal.cpp
+++ b/src/mame/drivers/powerbal.cpp
@@ -24,7 +24,7 @@ Magic Sticks:
class powerbal_state : public playmark_state
{
public:
- powerbal_state(const machine_config &mconfig, device_type type, const char *tag)
+ powerbal_state(const machine_config &mconfig, device_type type, std::string tag)
: playmark_state(mconfig, type, tag),
m_eeprom(*this, "eeprom") { }
diff --git a/src/mame/drivers/ppmast93.cpp b/src/mame/drivers/ppmast93.cpp
index b3d2bc556fb..f4f9d2bd3f1 100644
--- a/src/mame/drivers/ppmast93.cpp
+++ b/src/mame/drivers/ppmast93.cpp
@@ -140,7 +140,7 @@ Dip locations added based on the notes above.
class ppmast93_state : public driver_device
{
public:
- ppmast93_state(const machine_config &mconfig, device_type type, const char *tag)
+ ppmast93_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac(*this, "dac"),
diff --git a/src/mame/drivers/prestige.cpp b/src/mame/drivers/prestige.cpp
index 5259abb3ca5..bf9243e0af6 100644
--- a/src/mame/drivers/prestige.cpp
+++ b/src/mame/drivers/prestige.cpp
@@ -89,7 +89,7 @@ Notes:
class prestige_state : public driver_device
{
public:
- prestige_state(const machine_config &mconfig, device_type type, const char *tag)
+ prestige_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/drivers/pro80.cpp b/src/mame/drivers/pro80.cpp
index 54b519cfb0f..e1c951f3cd9 100644
--- a/src/mame/drivers/pro80.cpp
+++ b/src/mame/drivers/pro80.cpp
@@ -28,7 +28,7 @@ The cassette used 2 bits for input, plus a D flipflop and a 74LS221 oneshot.
class pro80_state : public driver_device
{
public:
- pro80_state(const machine_config &mconfig, device_type type, const char *tag)
+ pro80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cass(*this, "cassette")
diff --git a/src/mame/drivers/proconn.cpp b/src/mame/drivers/proconn.cpp
index 4f74c8bdf20..aeb01e61881 100644
--- a/src/mame/drivers/proconn.cpp
+++ b/src/mame/drivers/proconn.cpp
@@ -39,7 +39,7 @@
class proconn_state : public driver_device
{
public:
- proconn_state(const machine_config &mconfig, device_type type, const char *tag)
+ proconn_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vfd(*this, "vfd"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/progolf.cpp b/src/mame/drivers/progolf.cpp
index 213be37d7aa..abae6a65766 100644
--- a/src/mame/drivers/progolf.cpp
+++ b/src/mame/drivers/progolf.cpp
@@ -62,7 +62,7 @@ Twenty four 8116 rams.
class progolf_state : public driver_device
{
public:
- progolf_state(const machine_config &mconfig, device_type type, const char *tag)
+ progolf_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/prophet600.cpp b/src/mame/drivers/prophet600.cpp
index c191d31d846..dcaa1d7b698 100644
--- a/src/mame/drivers/prophet600.cpp
+++ b/src/mame/drivers/prophet600.cpp
@@ -75,7 +75,7 @@ enum
class prophet600_state : public driver_device
{
public:
- prophet600_state(const machine_config &mconfig, device_type type, const char *tag)
+ prophet600_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, MAINCPU_TAG),
m_acia(*this, UART_TAG),
diff --git a/src/mame/drivers/proteus3.cpp b/src/mame/drivers/proteus3.cpp
index 573b8772d52..7c2f18a5406 100644
--- a/src/mame/drivers/proteus3.cpp
+++ b/src/mame/drivers/proteus3.cpp
@@ -58,7 +58,7 @@
class proteus3_state : public driver_device
{
public:
- proteus3_state(const machine_config &mconfig, device_type type, const char *tag)
+ proteus3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_pia(*this, "pia")
diff --git a/src/mame/drivers/pse.cpp b/src/mame/drivers/pse.cpp
index 298da05319a..793cb680e43 100644
--- a/src/mame/drivers/pse.cpp
+++ b/src/mame/drivers/pse.cpp
@@ -47,7 +47,7 @@
class pse_state : public driver_device
{
public:
- pse_state(const machine_config &mconfig, device_type type, const char *tag)
+ pse_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_video(*this, "fixfreq")
diff --git a/src/mame/drivers/psx.cpp b/src/mame/drivers/psx.cpp
index ab768f2c431..edd41974963 100644
--- a/src/mame/drivers/psx.cpp
+++ b/src/mame/drivers/psx.cpp
@@ -26,7 +26,7 @@
class psx1_state : public driver_device
{
public:
- psx1_state(const machine_config &mconfig, device_type type, const char *tag)
+ psx1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_ram(*this, "maincpu:ram")
diff --git a/src/mame/drivers/pt68k4.cpp b/src/mame/drivers/pt68k4.cpp
index d76d8af7766..6632625ff9b 100644
--- a/src/mame/drivers/pt68k4.cpp
+++ b/src/mame/drivers/pt68k4.cpp
@@ -79,7 +79,7 @@ TODO: 68230 device
class pt68k4_state : public driver_device
{
public:
- pt68k4_state(const machine_config &mconfig, device_type type, const char *tag)
+ pt68k4_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_p_base(*this, "rambase")
, m_maincpu(*this, M68K_TAG)
diff --git a/src/mame/drivers/ptcsol.cpp b/src/mame/drivers/ptcsol.cpp
index 72384632812..846e361f8d6 100644
--- a/src/mame/drivers/ptcsol.cpp
+++ b/src/mame/drivers/ptcsol.cpp
@@ -133,7 +133,7 @@ public:
TIMER_SOL20_BOOT
};
- sol20_state(const machine_config &mconfig, device_type type, const char *tag)
+ sol20_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_cass1(*this, "cassette")
diff --git a/src/mame/drivers/pturn.cpp b/src/mame/drivers/pturn.cpp
index 82d6fd2d033..f2d6849df2c 100644
--- a/src/mame/drivers/pturn.cpp
+++ b/src/mame/drivers/pturn.cpp
@@ -84,7 +84,7 @@ ROMS: All ROM labels say only "PROM" and a number.
class pturn_state : public driver_device
{
public:
- pturn_state(const machine_config &mconfig, device_type type, const char *tag)
+ pturn_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/pulsar.cpp b/src/mame/drivers/pulsar.cpp
index 48030adce83..103bbc4ab51 100644
--- a/src/mame/drivers/pulsar.cpp
+++ b/src/mame/drivers/pulsar.cpp
@@ -48,7 +48,7 @@ X - Test off-board memory banks
class pulsar_state : public driver_device
{
public:
- pulsar_state(const machine_config &mconfig, device_type type, const char *tag) :
+ pulsar_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dart(*this, "z80dart"),
diff --git a/src/mame/drivers/pv1000.cpp b/src/mame/drivers/pv1000.cpp
index ca6f85d7c50..ed05f66d153 100644
--- a/src/mame/drivers/pv1000.cpp
+++ b/src/mame/drivers/pv1000.cpp
@@ -17,7 +17,7 @@ class pv1000_sound_device : public device_t,
public device_sound_interface
{
public:
- pv1000_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pv1000_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_WRITE8_MEMBER(voice_w);
@@ -46,7 +46,7 @@ extern const device_type PV1000;
const device_type PV1000 = &device_creator<pv1000_sound_device>;
-pv1000_sound_device::pv1000_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pv1000_sound_device::pv1000_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PV1000, "NEC D65010G031", tag, owner, clock, "pv1000_sound", __FILE__),
device_sound_interface(mconfig, *this)
{
@@ -142,7 +142,7 @@ void pv1000_sound_device::sound_stream_update(sound_stream &stream, stream_sampl
class pv1000_state : public driver_device
{
public:
- pv1000_state(const machine_config &mconfig, device_type type, const char *tag)
+ pv1000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_sound(*this, "pv1000_sound"),
diff --git a/src/mame/drivers/pv2000.cpp b/src/mame/drivers/pv2000.cpp
index 080e6f707e8..4fb4dbd0324 100644
--- a/src/mame/drivers/pv2000.cpp
+++ b/src/mame/drivers/pv2000.cpp
@@ -42,7 +42,7 @@ For BIOS CRC confirmation
class pv2000_state : public driver_device
{
public:
- pv2000_state(const machine_config &mconfig, device_type type, const char *tag)
+ pv2000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cass(*this, "cassette"),
diff --git a/src/mame/drivers/pv9234.cpp b/src/mame/drivers/pv9234.cpp
index 101dd0151cc..cbcdca78f3a 100644
--- a/src/mame/drivers/pv9234.cpp
+++ b/src/mame/drivers/pv9234.cpp
@@ -27,7 +27,7 @@ be found!
class pv9234_state : public driver_device
{
public:
- pv9234_state(const machine_config &mconfig, device_type type, const char *tag)
+ pv9234_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_p_ram(*this, "p_ram"),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/pve500.cpp b/src/mame/drivers/pve500.cpp
index 2f1274dbb1f..2288ad32381 100644
--- a/src/mame/drivers/pve500.cpp
+++ b/src/mame/drivers/pve500.cpp
@@ -62,7 +62,7 @@
class pve500_state : public driver_device
{
public:
- pve500_state(const machine_config &mconfig, device_type type, const char *tag)
+ pve500_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_subcpu(*this, "subcpu")
diff --git a/src/mame/drivers/px4.cpp b/src/mame/drivers/px4.cpp
index 36925ab03b5..684581423a1 100644
--- a/src/mame/drivers/px4.cpp
+++ b/src/mame/drivers/px4.cpp
@@ -48,7 +48,7 @@
class px4_state : public driver_device, public device_serial_interface
{
public:
- px4_state(const machine_config &mconfig, device_type type, const char *tag) :
+ px4_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
device_serial_interface(mconfig, *this),
m_z80(*this, "maincpu"),
@@ -244,7 +244,7 @@ private:
class px4p_state : public px4_state
{
public:
- px4p_state(const machine_config &mconfig, device_type type, const char *tag) :
+ px4p_state(const machine_config &mconfig, device_type type, std::string tag) :
px4_state(mconfig, type, tag),
m_rdnvram(*this, "rdnvram"),
m_rdsocket(*this, "ramdisk_socket"),
@@ -959,7 +959,7 @@ WRITE8_MEMBER( px4_state::artmr_w )
stop_bits_t stop_bits = BIT(data, 7) ? STOP_BITS_2 : STOP_BITS_1;
if (VERBOSE)
- logerror("%s: serial frame setup: %d-%s-%d\n", tag(), data_bit_count, device_serial_interface::parity_tostring(parity), stop_bits);
+ logerror("%s: serial frame setup: %d-%s-%d\n", tag().c_str(), data_bit_count, device_serial_interface::parity_tostring(parity), stop_bits);
set_data_frame(1, data_bit_count, parity, stop_bits);
}
diff --git a/src/mame/drivers/pyl601.cpp b/src/mame/drivers/pyl601.cpp
index 8da7b17d6ed..157ad2f5164 100644
--- a/src/mame/drivers/pyl601.cpp
+++ b/src/mame/drivers/pyl601.cpp
@@ -46,7 +46,7 @@
class pyl601_state : public driver_device
{
public:
- pyl601_state(const machine_config &mconfig, device_type type, const char *tag)
+ pyl601_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_speaker(*this, "speaker"),
m_fdc(*this, "upd765"),
diff --git a/src/mame/drivers/pyson.cpp b/src/mame/drivers/pyson.cpp
index 97dddf6b07b..8b365c5e52d 100644
--- a/src/mame/drivers/pyson.cpp
+++ b/src/mame/drivers/pyson.cpp
@@ -158,7 +158,7 @@ Notes:
class pyson_state : public driver_device
{
public:
- pyson_state(const machine_config &mconfig, device_type type, const char *tag)
+ pyson_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/pzletime.cpp b/src/mame/drivers/pzletime.cpp
index c56a225e141..a1af4ff67e0 100644
--- a/src/mame/drivers/pzletime.cpp
+++ b/src/mame/drivers/pzletime.cpp
@@ -24,7 +24,7 @@
class pzletime_state : public driver_device
{
public:
- pzletime_state(const machine_config &mconfig, device_type type, const char *tag)
+ pzletime_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_video_regs(*this, "video_regs"),
m_tilemap_regs(*this, "tilemap_regs"),
diff --git a/src/mame/drivers/qtsbc.cpp b/src/mame/drivers/qtsbc.cpp
index aa14373aad9..321b5cca8fa 100644
--- a/src/mame/drivers/qtsbc.cpp
+++ b/src/mame/drivers/qtsbc.cpp
@@ -19,7 +19,7 @@
class qtsbc_state : public driver_device
{
public:
- qtsbc_state(const machine_config &mconfig, device_type type, const char *tag)
+ qtsbc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG),
diff --git a/src/mame/drivers/quakeat.cpp b/src/mame/drivers/quakeat.cpp
index 49c8ea6ab42..4cd2532aa8b 100644
--- a/src/mame/drivers/quakeat.cpp
+++ b/src/mame/drivers/quakeat.cpp
@@ -68,7 +68,7 @@ TODO:
class quakeat_state : public pcat_base_state
{
public:
- quakeat_state(const machine_config &mconfig, device_type type, const char *tag)
+ quakeat_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/quantum.cpp b/src/mame/drivers/quantum.cpp
index 256607a3ddc..86d227cb7fe 100644
--- a/src/mame/drivers/quantum.cpp
+++ b/src/mame/drivers/quantum.cpp
@@ -60,7 +60,7 @@ NOTE: The Atari 136002-125 PROM in the sets below wasn't dumped from an actual
class quantum_state : public driver_device
{
public:
- quantum_state(const machine_config &mconfig, device_type type, const char *tag)
+ quantum_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_avg(*this, "avg") { }
diff --git a/src/mame/drivers/queen.cpp b/src/mame/drivers/queen.cpp
index 21b69043b7a..d9b24ddbf4c 100644
--- a/src/mame/drivers/queen.cpp
+++ b/src/mame/drivers/queen.cpp
@@ -38,7 +38,7 @@ processor speed is 533MHz <- likely to be a Celeron or a Pentium III class CPU -
class queen_state : public pcat_base_state
{
public:
- queen_state(const machine_config &mconfig, device_type type, const char *tag)
+ queen_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag)
{
}
diff --git a/src/mame/drivers/quizo.cpp b/src/mame/drivers/quizo.cpp
index 6279c372cc2..7ffdc9df8c6 100644
--- a/src/mame/drivers/quizo.cpp
+++ b/src/mame/drivers/quizo.cpp
@@ -33,7 +33,7 @@ Xtals 8MHz, 21.47727MHz
class quizo_state : public driver_device
{
public:
- quizo_state(const machine_config &mconfig, device_type type, const char *tag)
+ quizo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/quizpun2.cpp b/src/mame/drivers/quizpun2.cpp
index 91743602a1d..93cbe2c7e0a 100644
--- a/src/mame/drivers/quizpun2.cpp
+++ b/src/mame/drivers/quizpun2.cpp
@@ -93,7 +93,7 @@ struct prot_t {
class quizpun2_state : public driver_device
{
public:
- quizpun2_state(const machine_config &mconfig, device_type type, const char *tag)
+ quizpun2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fg_ram(*this, "fg_ram"),
m_bg_ram(*this, "bg_ram"),
diff --git a/src/mame/drivers/quizshow.cpp b/src/mame/drivers/quizshow.cpp
index deda44515e0..b865d4f03cc 100644
--- a/src/mame/drivers/quizshow.cpp
+++ b/src/mame/drivers/quizshow.cpp
@@ -36,7 +36,7 @@ TODO:
class quizshow_state : public driver_device
{
public:
- quizshow_state(const machine_config &mconfig, device_type type, const char *tag)
+ quizshow_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac(*this, "dac"),
diff --git a/src/mame/drivers/qx10.cpp b/src/mame/drivers/qx10.cpp
index 467e7fb2527..c445fd444d5 100644
--- a/src/mame/drivers/qx10.cpp
+++ b/src/mame/drivers/qx10.cpp
@@ -56,7 +56,7 @@
class qx10_state : public driver_device
{
public:
- qx10_state(const machine_config &mconfig, device_type type, const char *tag)
+ qx10_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_pit_1(*this, "pit8253_1"),
m_pit_2(*this, "pit8253_2"),
diff --git a/src/mame/drivers/r2dtank.cpp b/src/mame/drivers/r2dtank.cpp
index e40fdcbe377..16cb34b7376 100644
--- a/src/mame/drivers/r2dtank.cpp
+++ b/src/mame/drivers/r2dtank.cpp
@@ -52,7 +52,7 @@ RAM = 4116 (x11)
class r2dtank_state : public driver_device
{
public:
- r2dtank_state(const machine_config &mconfig, device_type type, const char *tag)
+ r2dtank_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/r2dx_v33.cpp b/src/mame/drivers/r2dx_v33.cpp
index 1b6ae4510ec..f7478dbbe3f 100644
--- a/src/mame/drivers/r2dx_v33.cpp
+++ b/src/mame/drivers/r2dx_v33.cpp
@@ -72,7 +72,7 @@ Then it puts settings at 0x9e08 and 0x9e0a (bp 91acb)
class r2dx_v33_state : public raiden2_state
{
public:
- r2dx_v33_state(const machine_config &mconfig, device_type type, const char *tag)
+ r2dx_v33_state(const machine_config &mconfig, device_type type, std::string tag)
: raiden2_state(mconfig, type, tag),
m_eeprom(*this, "eeprom"),
m_math(*this, "math"),
diff --git a/src/mame/drivers/r9751.cpp b/src/mame/drivers/r9751.cpp
index 5ca1d8d153a..d5243ff8e60 100644
--- a/src/mame/drivers/r9751.cpp
+++ b/src/mame/drivers/r9751.cpp
@@ -55,7 +55,7 @@
class r9751_state : public driver_device
{
public:
- r9751_state(const machine_config &mconfig, device_type type, const char *tag)
+ r9751_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pdc(*this, "pdc"),
diff --git a/src/mame/drivers/rabbit.cpp b/src/mame/drivers/rabbit.cpp
index 82e8889a079..14b51986eac 100644
--- a/src/mame/drivers/rabbit.cpp
+++ b/src/mame/drivers/rabbit.cpp
@@ -95,7 +95,7 @@ public:
TIMER_BLIT_DONE
};
- rabbit_state(const machine_config &mconfig, device_type type, const char *tag)
+ rabbit_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_eeprom(*this, "eeprom"),
diff --git a/src/mame/drivers/rainbow.cpp b/src/mame/drivers/rainbow.cpp
index d6f58b231ee..644b8e6073b 100644
--- a/src/mame/drivers/rainbow.cpp
+++ b/src/mame/drivers/rainbow.cpp
@@ -258,7 +258,7 @@ W17 pulls J1 serial port pin 1 to GND when set (chassis to logical GND).
class rainbow_state : public driver_device
{
public:
- rainbow_state(const machine_config &mconfig, device_type type, const char *tag) :
+ rainbow_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
#ifdef KEYBOARD_WORKAROUND
diff --git a/src/mame/drivers/rambo.cpp b/src/mame/drivers/rambo.cpp
index afe528c6b49..580d2404a03 100644
--- a/src/mame/drivers/rambo.cpp
+++ b/src/mame/drivers/rambo.cpp
@@ -31,7 +31,7 @@
class rambo_state : public driver_device
{
public:
- rambo_state(const machine_config &mconfig, device_type type, const char *tag)
+ rambo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{
diff --git a/src/mame/drivers/ramtek.cpp b/src/mame/drivers/ramtek.cpp
index 7fc1c8fc736..1d3ccdd0b2c 100644
--- a/src/mame/drivers/ramtek.cpp
+++ b/src/mame/drivers/ramtek.cpp
@@ -61,7 +61,7 @@
class ramtek_state : public driver_device
{
public:
- ramtek_state(const machine_config &mconfig, device_type type, const char *tag)
+ ramtek_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_video(*this, "fixfreq")
diff --git a/src/mame/drivers/rastersp.cpp b/src/mame/drivers/rastersp.cpp
index 8176fb3f749..30dc040704e 100644
--- a/src/mame/drivers/rastersp.cpp
+++ b/src/mame/drivers/rastersp.cpp
@@ -47,7 +47,7 @@
class rastersp_state : public driver_device
{
public:
- rastersp_state(const machine_config &mconfig, device_type type, const char *tag)
+ rastersp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dsp(*this, "dsp"),
diff --git a/src/mame/drivers/ravens.cpp b/src/mame/drivers/ravens.cpp
index f9957ca5bc2..8b7bc08f7a3 100644
--- a/src/mame/drivers/ravens.cpp
+++ b/src/mame/drivers/ravens.cpp
@@ -82,7 +82,7 @@ ToDo:
class ravens_state : public driver_device
{
public:
- ravens_state(const machine_config &mconfig, device_type type, const char *tag)
+ ravens_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG),
diff --git a/src/mame/drivers/rbmk.cpp b/src/mame/drivers/rbmk.cpp
index de71f98e760..8354607133c 100644
--- a/src/mame/drivers/rbmk.cpp
+++ b/src/mame/drivers/rbmk.cpp
@@ -62,7 +62,7 @@ Notes:
class rbmk_state : public driver_device
{
public:
- rbmk_state(const machine_config &mconfig, device_type type, const char *tag)
+ rbmk_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_gms_vidram2(*this, "gms_vidram2"),
m_gms_vidram(*this, "gms_vidram"),
diff --git a/src/mame/drivers/rc759.cpp b/src/mame/drivers/rc759.cpp
index ca5d4b09745..216bfb4156f 100644
--- a/src/mame/drivers/rc759.cpp
+++ b/src/mame/drivers/rc759.cpp
@@ -32,7 +32,7 @@
class rc759_state : public driver_device
{
public:
- rc759_state(const machine_config &mconfig, device_type type, const char *tag) :
+ rc759_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pic(*this, "pic"),
diff --git a/src/mame/drivers/rcorsair.cpp b/src/mame/drivers/rcorsair.cpp
index e015ce6ce3a..7911f8d04b7 100644
--- a/src/mame/drivers/rcorsair.cpp
+++ b/src/mame/drivers/rcorsair.cpp
@@ -62,7 +62,7 @@ Notes added 2014-09-10:
class rcorsair_state : public driver_device
{
public:
- rcorsair_state(const machine_config &mconfig, device_type type, const char *tag)
+ rcorsair_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/rd100.cpp b/src/mame/drivers/rd100.cpp
index 46c20ff62ce..616be636456 100644
--- a/src/mame/drivers/rd100.cpp
+++ b/src/mame/drivers/rd100.cpp
@@ -19,7 +19,7 @@
class rd100_state : public driver_device
{
public:
- rd100_state(const machine_config &mconfig, device_type type, const char *tag)
+ rd100_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/rd110.cpp b/src/mame/drivers/rd110.cpp
index 02da5ac1f4f..cd24b0183ce 100644
--- a/src/mame/drivers/rd110.cpp
+++ b/src/mame/drivers/rd110.cpp
@@ -56,7 +56,7 @@ public:
required_device<msm6222b_device> lcd;
required_device<timer_device> midi_timer;
- d110_state(const machine_config &mconfig, device_type type, const char *tag);
+ d110_state(const machine_config &mconfig, device_type type, std::string tag);
virtual void machine_start() override;
virtual void machine_reset() override;
@@ -85,7 +85,7 @@ private:
required_device<cpu_device> m_maincpu;
};
-d110_state::d110_state(const machine_config &mconfig, device_type type, const char *tag) :
+d110_state::d110_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
cpu(*this, "maincpu"),
ram(*this, "ram"),
diff --git a/src/mame/drivers/re900.cpp b/src/mame/drivers/re900.cpp
index 5adaa88084f..9d8c191c9ad 100644
--- a/src/mame/drivers/re900.cpp
+++ b/src/mame/drivers/re900.cpp
@@ -87,7 +87,7 @@
class re900_state : public driver_device
{
public:
- re900_state(const machine_config &mconfig, device_type type, const char *tag)
+ re900_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_rom(*this, "rom") { }
diff --git a/src/mame/drivers/replicator.cpp b/src/mame/drivers/replicator.cpp
index b219db5fde8..fc969de2ba3 100644
--- a/src/mame/drivers/replicator.cpp
+++ b/src/mame/drivers/replicator.cpp
@@ -151,7 +151,7 @@
class replicator_state : public driver_device
{
public:
- replicator_state(const machine_config &mconfig, device_type type, const char *tag)
+ replicator_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_lcdc(*this, "hd44780"),
diff --git a/src/mame/drivers/rex6000.cpp b/src/mame/drivers/rex6000.cpp
index 6407eddba62..3522ab82e8c 100644
--- a/src/mame/drivers/rex6000.cpp
+++ b/src/mame/drivers/rex6000.cpp
@@ -59,7 +59,7 @@
class rex6000_state : public driver_device
{
public:
- rex6000_state(const machine_config &mconfig, device_type type, const char *tag)
+ rex6000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/drivers/rgum.cpp b/src/mame/drivers/rgum.cpp
index 2f6ef0e5894..f0aacbbe575 100644
--- a/src/mame/drivers/rgum.cpp
+++ b/src/mame/drivers/rgum.cpp
@@ -24,7 +24,7 @@ The ppi at 3000-3003 seems to be a dual port communication thing with the z80.
class rgum_state : public driver_device
{
public:
- rgum_state(const machine_config &mconfig, device_type type, const char *tag)
+ rgum_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vram(*this, "vram"),
m_cram(*this, "cram"),
diff --git a/src/mame/drivers/riscpc.cpp b/src/mame/drivers/riscpc.cpp
index faa14e36e0f..99b497a2829 100644
--- a/src/mame/drivers/riscpc.cpp
+++ b/src/mame/drivers/riscpc.cpp
@@ -24,7 +24,7 @@
class riscpc_state : public driver_device
{
public:
- riscpc_state(const machine_config &mconfig, device_type type, const char *tag)
+ riscpc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette")
diff --git a/src/mame/drivers/rmhaihai.cpp b/src/mame/drivers/rmhaihai.cpp
index e5ce3256085..7ae7ea4397b 100644
--- a/src/mame/drivers/rmhaihai.cpp
+++ b/src/mame/drivers/rmhaihai.cpp
@@ -39,7 +39,7 @@ TODO:
class rmhaihai_state : public driver_device
{
public:
- rmhaihai_state(const machine_config &mconfig, device_type type, const char *tag)
+ rmhaihai_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_msm(*this, "msm"),
diff --git a/src/mame/drivers/rmt32.cpp b/src/mame/drivers/rmt32.cpp
index 60116d4324e..5d3a5a482b8 100644
--- a/src/mame/drivers/rmt32.cpp
+++ b/src/mame/drivers/rmt32.cpp
@@ -194,7 +194,7 @@ public:
optional_device<sed1200d0a_device> lcd;
required_device<timer_device> midi_timer;
- mt32_state(const machine_config &mconfig, device_type type, const char *tag);
+ mt32_state(const machine_config &mconfig, device_type type, std::string tag);
virtual void machine_start() override;
virtual void machine_reset() override;
@@ -223,7 +223,7 @@ private:
required_device<cpu_device> m_maincpu;
};
-mt32_state::mt32_state(const machine_config &mconfig, device_type type, const char *tag) :
+mt32_state::mt32_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
cpu(*this, "maincpu"),
ram(*this, "ram"),
diff --git a/src/mame/drivers/rollext.cpp b/src/mame/drivers/rollext.cpp
index 0a01fc4e26e..4404da0c196 100644
--- a/src/mame/drivers/rollext.cpp
+++ b/src/mame/drivers/rollext.cpp
@@ -279,7 +279,7 @@ void rollext_renderer::display(bitmap_rgb32 *bitmap, const rectangle &cliprect)
class rollext_state : public driver_device
{
public:
- rollext_state(const machine_config &mconfig, device_type type, const char *tag)
+ rollext_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette_ram(*this, "palette_ram"),
diff --git a/src/mame/drivers/rotaryf.cpp b/src/mame/drivers/rotaryf.cpp
index 98dcdd7810f..e903b59e4ad 100644
--- a/src/mame/drivers/rotaryf.cpp
+++ b/src/mame/drivers/rotaryf.cpp
@@ -22,7 +22,7 @@ driver by Barry Rodewald
class rotaryf_state : public driver_device
{
public:
- rotaryf_state(const machine_config &mconfig, device_type type, const char *tag)
+ rotaryf_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_samples(*this, "samples"),
diff --git a/src/mame/drivers/roul.cpp b/src/mame/drivers/roul.cpp
index e6634a6aa41..7f6c37668ee 100644
--- a/src/mame/drivers/roul.cpp
+++ b/src/mame/drivers/roul.cpp
@@ -72,7 +72,7 @@ Stephh's notes (based on the game Z80 code and some tests) :
class roul_state : public driver_device
{
public:
- roul_state(const machine_config &mconfig, device_type type, const char *tag)
+ roul_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu") { }
diff --git a/src/mame/drivers/route16.cpp b/src/mame/drivers/route16.cpp
index b2510b66d56..69c1e17e9c9 100644
--- a/src/mame/drivers/route16.cpp
+++ b/src/mame/drivers/route16.cpp
@@ -946,7 +946,7 @@ READ8_MEMBER(route16_state::routex_prot_read)
{
if (space.device().safe_pc() == 0x2f) return 0xfb;
- logerror ("cpu '%s' (PC=%08X): unmapped prot read\n", space.device().tag(), space.device().safe_pc());
+ logerror ("cpu '%s' (PC=%08X): unmapped prot read\n", space.device().tag().c_str(), space.device().safe_pc());
return 0x00;
}
diff --git a/src/mame/drivers/rowamet.cpp b/src/mame/drivers/rowamet.cpp
index 5a724c75623..de27f010f07 100644
--- a/src/mame/drivers/rowamet.cpp
+++ b/src/mame/drivers/rowamet.cpp
@@ -30,7 +30,7 @@ ToDO:
class rowamet_state : public driver_device
{
public:
- rowamet_state(const machine_config &mconfig, device_type type, const char *tag)
+ rowamet_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_cpu2(*this, "cpu2")
diff --git a/src/mame/drivers/royalmah.cpp b/src/mame/drivers/royalmah.cpp
index 5a37bae7207..b9b23403de0 100644
--- a/src/mame/drivers/royalmah.cpp
+++ b/src/mame/drivers/royalmah.cpp
@@ -104,7 +104,7 @@ Stephh's notes (based on the games Z80 code and some tests) :
class royalmah_state : public driver_device
{
public:
- royalmah_state(const machine_config &mconfig, device_type type, const char *tag)
+ royalmah_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/drivers/rsc55.cpp b/src/mame/drivers/rsc55.cpp
index 90779f52be5..14e2f7c4765 100644
--- a/src/mame/drivers/rsc55.cpp
+++ b/src/mame/drivers/rsc55.cpp
@@ -48,10 +48,10 @@ class sc55_state : public driver_device
public:
required_device<i8x9x_device> m_maincpu;
- sc55_state(const machine_config &mconfig, device_type type, const char *tag);
+ sc55_state(const machine_config &mconfig, device_type type, std::string tag);
};
-sc55_state::sc55_state(const machine_config &mconfig, device_type type, const char *tag) :
+sc55_state::sc55_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{
diff --git a/src/mame/drivers/rt1715.cpp b/src/mame/drivers/rt1715.cpp
index 4e8e259192a..46063c8267c 100644
--- a/src/mame/drivers/rt1715.cpp
+++ b/src/mame/drivers/rt1715.cpp
@@ -27,7 +27,7 @@
class rt1715_state : public driver_device
{
public:
- rt1715_state(const machine_config &mconfig, device_type type, const char *tag)
+ rt1715_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG) { }
diff --git a/src/mame/drivers/rvoice.cpp b/src/mame/drivers/rvoice.cpp
index 5fc455da10e..3115e508bbb 100644
--- a/src/mame/drivers/rvoice.cpp
+++ b/src/mame/drivers/rvoice.cpp
@@ -76,7 +76,7 @@ struct rvoicepc_t
class rvoice_state : public driver_device
{
public:
- rvoice_state(const machine_config &mconfig, device_type type, const char *tag)
+ rvoice_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/rx78.cpp b/src/mame/drivers/rx78.cpp
index 3f7818c3e30..b09177a3181 100644
--- a/src/mame/drivers/rx78.cpp
+++ b/src/mame/drivers/rx78.cpp
@@ -53,7 +53,7 @@
class rx78_state : public driver_device
{
public:
- rx78_state(const machine_config &mconfig, device_type type, const char *tag)
+ rx78_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cass(*this, "cassette"),
diff --git a/src/mame/drivers/s3.cpp b/src/mame/drivers/s3.cpp
index 9d6167b9eae..87ab22f4391 100644
--- a/src/mame/drivers/s3.cpp
+++ b/src/mame/drivers/s3.cpp
@@ -48,7 +48,7 @@ ToDo:
class s3_state : public genpin_class
{
public:
- s3_state(const machine_config &mconfig, device_type type, const char *tag)
+ s3_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_audiocpu(*this, "audiocpu")
diff --git a/src/mame/drivers/s4.cpp b/src/mame/drivers/s4.cpp
index 52aca8c0ce1..0fb44e80667 100644
--- a/src/mame/drivers/s4.cpp
+++ b/src/mame/drivers/s4.cpp
@@ -41,7 +41,7 @@ ToDo:
class s4_state : public genpin_class
{
public:
- s4_state(const machine_config &mconfig, device_type type, const char *tag)
+ s4_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_audiocpu(*this, "audiocpu")
diff --git a/src/mame/drivers/s6.cpp b/src/mame/drivers/s6.cpp
index 876c855ef8e..84513f70e67 100644
--- a/src/mame/drivers/s6.cpp
+++ b/src/mame/drivers/s6.cpp
@@ -58,7 +58,7 @@ ToDo:
class s6_state : public genpin_class
{
public:
- s6_state(const machine_config &mconfig, device_type type, const char *tag)
+ s6_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_audiocpu(*this, "audiocpu")
diff --git a/src/mame/drivers/s6a.cpp b/src/mame/drivers/s6a.cpp
index e1c5567b1e4..6376d7d257d 100644
--- a/src/mame/drivers/s6a.cpp
+++ b/src/mame/drivers/s6a.cpp
@@ -51,7 +51,7 @@ ToDo:
class s6a_state : public genpin_class
{
public:
- s6a_state(const machine_config &mconfig, device_type type, const char *tag)
+ s6a_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_audiocpu(*this, "audiocpu")
diff --git a/src/mame/drivers/s7.cpp b/src/mame/drivers/s7.cpp
index af8704e7320..5f0f357bd6a 100644
--- a/src/mame/drivers/s7.cpp
+++ b/src/mame/drivers/s7.cpp
@@ -68,7 +68,7 @@ ToDo:
class s7_state : public genpin_class
{
public:
- s7_state(const machine_config &mconfig, device_type type, const char *tag)
+ s7_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_audiocpu(*this, "audiocpu")
diff --git a/src/mame/drivers/s8.cpp b/src/mame/drivers/s8.cpp
index 5c2f2c83284..b38ac43b9b9 100644
--- a/src/mame/drivers/s8.cpp
+++ b/src/mame/drivers/s8.cpp
@@ -55,7 +55,7 @@ ToDo:
class s8_state : public genpin_class
{
public:
- s8_state(const machine_config &mconfig, device_type type, const char *tag)
+ s8_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_audiocpu(*this, "audiocpu")
diff --git a/src/mame/drivers/s8a.cpp b/src/mame/drivers/s8a.cpp
index 444505d8538..490b62a12e5 100644
--- a/src/mame/drivers/s8a.cpp
+++ b/src/mame/drivers/s8a.cpp
@@ -31,7 +31,7 @@ ToDo:
class s8a_state : public genpin_class
{
public:
- s8a_state(const machine_config &mconfig, device_type type, const char *tag)
+ s8a_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_audiocpu(*this, "audiocpu")
diff --git a/src/mame/drivers/s9.cpp b/src/mame/drivers/s9.cpp
index f72606db6f5..54e7bcc3735 100644
--- a/src/mame/drivers/s9.cpp
+++ b/src/mame/drivers/s9.cpp
@@ -43,7 +43,7 @@ ToDo:
class s9_state : public genpin_class
{
public:
- s9_state(const machine_config &mconfig, device_type type, const char *tag)
+ s9_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_audiocpu(*this, "audiocpu")
diff --git a/src/mame/drivers/sacstate.cpp b/src/mame/drivers/sacstate.cpp
index d7891cfe4e3..45e2d11fb65 100644
--- a/src/mame/drivers/sacstate.cpp
+++ b/src/mame/drivers/sacstate.cpp
@@ -43,7 +43,7 @@ Other input will either result in '!' message, or halt.
class sacstate_state : public driver_device
{
public:
- sacstate_state(const machine_config &mconfig, device_type type, const char *tag)
+ sacstate_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/safarir.cpp b/src/mame/drivers/safarir.cpp
index 44e064e5188..2890c2dc41b 100644
--- a/src/mame/drivers/safarir.cpp
+++ b/src/mame/drivers/safarir.cpp
@@ -56,7 +56,7 @@ modified by Hau
class safarir_state : public driver_device
{
public:
- safarir_state(const machine_config &mconfig, device_type type, const char *tag)
+ safarir_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_samples(*this, "samples"),
diff --git a/src/mame/drivers/sam.cpp b/src/mame/drivers/sam.cpp
index 7053c7b955a..8dc59b81da8 100644
--- a/src/mame/drivers/sam.cpp
+++ b/src/mame/drivers/sam.cpp
@@ -7,7 +7,7 @@
class sam_state : public driver_device
{
public:
- sam_state(const machine_config &mconfig, device_type type, const char *tag)
+ sam_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) { }
};
diff --git a/src/mame/drivers/sandscrp.cpp b/src/mame/drivers/sandscrp.cpp
index 50937085c9b..824d0ddf96b 100644
--- a/src/mame/drivers/sandscrp.cpp
+++ b/src/mame/drivers/sandscrp.cpp
@@ -86,7 +86,7 @@ Is there another alt program rom set labeled 9 & 10?
class sandscrp_state : public driver_device
{
public:
- sandscrp_state(const machine_config &mconfig, device_type type, const char *tag)
+ sandscrp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/sangho.cpp b/src/mame/drivers/sangho.cpp
index 4f401081ef3..ad78a406c5a 100644
--- a/src/mame/drivers/sangho.cpp
+++ b/src/mame/drivers/sangho.cpp
@@ -54,7 +54,7 @@ TODO:
class sangho_state : public driver_device
{
public:
- sangho_state(const machine_config &mconfig, device_type type, const char *tag)
+ sangho_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_v9958(*this, "v9958")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/sanremmg.cpp b/src/mame/drivers/sanremmg.cpp
index baa88cbd757..0124113c06a 100644
--- a/src/mame/drivers/sanremmg.cpp
+++ b/src/mame/drivers/sanremmg.cpp
@@ -15,7 +15,7 @@
class sanremmg_state : public driver_device
{
public:
- sanremmg_state(const machine_config &mconfig, device_type type, const char *tag)
+ sanremmg_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/sanremo.cpp b/src/mame/drivers/sanremo.cpp
index 64ade62d1c0..7ec876c68c0 100644
--- a/src/mame/drivers/sanremo.cpp
+++ b/src/mame/drivers/sanremo.cpp
@@ -108,7 +108,7 @@
class sanremo_state : public driver_device
{
public:
- sanremo_state(const machine_config &mconfig, device_type type, const char *tag)
+ sanremo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/sansa_fuze.cpp b/src/mame/drivers/sansa_fuze.cpp
index 2ee426af50c..13430bcd486 100644
--- a/src/mame/drivers/sansa_fuze.cpp
+++ b/src/mame/drivers/sansa_fuze.cpp
@@ -13,7 +13,7 @@
class sansa_fuze_state : public driver_device
{
public:
- sansa_fuze_state(const machine_config &mconfig, device_type type, const char *tag)
+ sansa_fuze_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/sapi1.cpp b/src/mame/drivers/sapi1.cpp
index 732baca6c3e..bdb59484ef7 100644
--- a/src/mame/drivers/sapi1.cpp
+++ b/src/mame/drivers/sapi1.cpp
@@ -44,7 +44,7 @@ Unable to proceed due to no info available (& in English).
class sapi1_state : public driver_device
{
public:
- sapi1_state(const machine_config &mconfig, device_type type, const char *tag)
+ sapi1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_p_videoram(*this, "videoram"),
m_bank1(*this, "bank1"),
diff --git a/src/mame/drivers/saturn.cpp b/src/mame/drivers/saturn.cpp
index 13dec46c418..6504828a467 100644
--- a/src/mame/drivers/saturn.cpp
+++ b/src/mame/drivers/saturn.cpp
@@ -444,7 +444,7 @@ test1f diagnostic hacks:
class sat_console_state : public saturn_state
{
public:
- sat_console_state(const machine_config &mconfig, device_type type, const char *tag)
+ sat_console_state(const machine_config &mconfig, device_type type, std::string tag)
: saturn_state(mconfig, type, tag)
, m_exp(*this, "exp")
, m_nvram(*this, "nvram")
diff --git a/src/mame/drivers/savia84.cpp b/src/mame/drivers/savia84.cpp
index b094410cd95..25199eaded2 100644
--- a/src/mame/drivers/savia84.cpp
+++ b/src/mame/drivers/savia84.cpp
@@ -37,7 +37,7 @@
class savia84_state : public driver_device
{
public:
- savia84_state(const machine_config &mconfig, device_type type, const char *tag)
+ savia84_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ppi8255(*this, "ppi8255")
diff --git a/src/mame/drivers/savquest.cpp b/src/mame/drivers/savquest.cpp
index 784278096fa..7ebcd382dbb 100644
--- a/src/mame/drivers/savquest.cpp
+++ b/src/mame/drivers/savquest.cpp
@@ -57,7 +57,7 @@
class savquest_state : public pcat_base_state
{
public:
- savquest_state(const machine_config &mconfig, device_type type, const char *tag)
+ savquest_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag),
m_vga(*this, "vga"),
m_voodoo(*this, "voodoo")
diff --git a/src/mame/drivers/sbc6510.cpp b/src/mame/drivers/sbc6510.cpp
index 9d78fe0ed0d..0a1899443a4 100644
--- a/src/mame/drivers/sbc6510.cpp
+++ b/src/mame/drivers/sbc6510.cpp
@@ -62,7 +62,7 @@ ToDo:
class sbc6510_state : public driver_device
{
public:
- sbc6510_state(const machine_config &mconfig, device_type type, const char *tag)
+ sbc6510_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_videocpu(*this, "videocpu"),
diff --git a/src/mame/drivers/sbowling.cpp b/src/mame/drivers/sbowling.cpp
index b4869187e49..3026eafe625 100644
--- a/src/mame/drivers/sbowling.cpp
+++ b/src/mame/drivers/sbowling.cpp
@@ -49,7 +49,7 @@ PROMs : NEC B406 (1kx4) x2
class sbowling_state : public driver_device
{
public:
- sbowling_state(const machine_config &mconfig, device_type type, const char *tag)
+ sbowling_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/drivers/sbrain.cpp b/src/mame/drivers/sbrain.cpp
index 84439358b81..b0feb4c9dd4 100644
--- a/src/mame/drivers/sbrain.cpp
+++ b/src/mame/drivers/sbrain.cpp
@@ -47,7 +47,7 @@ To Do:
class sbrain_state : public driver_device
{
public:
- sbrain_state(const machine_config &mconfig, device_type type, const char *tag) :
+ sbrain_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_p_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/sbrkout.cpp b/src/mame/drivers/sbrkout.cpp
index 54bbf6c4e6e..2359c45a738 100644
--- a/src/mame/drivers/sbrkout.cpp
+++ b/src/mame/drivers/sbrkout.cpp
@@ -44,7 +44,7 @@
class sbrkout_state : public driver_device
{
public:
- sbrkout_state(const machine_config &mconfig, device_type type, const char *tag)
+ sbrkout_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/sc1.cpp b/src/mame/drivers/sc1.cpp
index 5c8107ea77b..da6b5519c15 100644
--- a/src/mame/drivers/sc1.cpp
+++ b/src/mame/drivers/sc1.cpp
@@ -46,7 +46,7 @@ Port 82 in - upper byte = 0 thru 7
class sc1_state : public driver_device
{
public:
- sc1_state(const machine_config &mconfig, device_type type, const char *tag)
+ sc1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker")
diff --git a/src/mame/drivers/sc2.cpp b/src/mame/drivers/sc2.cpp
index 5be373bb484..6effde1d993 100644
--- a/src/mame/drivers/sc2.cpp
+++ b/src/mame/drivers/sc2.cpp
@@ -20,7 +20,7 @@
class sc2_state : public driver_device
{
public:
- sc2_state(const machine_config &mconfig, device_type type, const char *tag)
+ sc2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_beep(*this, "beeper")
,
diff --git a/src/mame/drivers/scm_500.cpp b/src/mame/drivers/scm_500.cpp
index 1e5eac486ae..e8d4f2423d5 100644
--- a/src/mame/drivers/scm_500.cpp
+++ b/src/mame/drivers/scm_500.cpp
@@ -15,7 +15,7 @@ http://www.standardchange.com/frequently-asked-questions
class scm_500_state : public driver_device
{
public:
- scm_500_state(const machine_config &mconfig, device_type type, const char *tag)
+ scm_500_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
// ,m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/scobra.cpp b/src/mame/drivers/scobra.cpp
index 08c51b55cef..b67ecc07250 100644
--- a/src/mame/drivers/scobra.cpp
+++ b/src/mame/drivers/scobra.cpp
@@ -45,7 +45,7 @@ Notes/Tidbits:
class scobra_state : public scramble_state
{
public:
- scobra_state(const machine_config &mconfig, device_type type, const char *tag)
+ scobra_state(const machine_config &mconfig, device_type type, std::string tag)
: scramble_state(mconfig, type, tag),
m_soundram(*this, "soundram") { }
diff --git a/src/mame/drivers/scorpion.cpp b/src/mame/drivers/scorpion.cpp
index 8f8dc435c68..9a59168ac84 100644
--- a/src/mame/drivers/scorpion.cpp
+++ b/src/mame/drivers/scorpion.cpp
@@ -14,7 +14,7 @@
class scorpion_state : public spectrum_state
{
public:
- scorpion_state(const machine_config &mconfig, device_type type, const char *tag)
+ scorpion_state(const machine_config &mconfig, device_type type, std::string tag)
: spectrum_state(mconfig, type, tag)
, m_bank1(*this, "bank1")
, m_bank2(*this, "bank2")
diff --git a/src/mame/drivers/scregg.cpp b/src/mame/drivers/scregg.cpp
index 652ebcbfacc..3687309b118 100644
--- a/src/mame/drivers/scregg.cpp
+++ b/src/mame/drivers/scregg.cpp
@@ -59,7 +59,7 @@ it as ASCII text.
class scregg_state : public btime_state
{
public:
- scregg_state(const machine_config &mconfig, device_type type, const char *tag)
+ scregg_state(const machine_config &mconfig, device_type type, std::string tag)
: btime_state(mconfig, type, tag) { }
DECLARE_WRITE8_MEMBER(scregg_irqack_w);
diff --git a/src/mame/drivers/scv.cpp b/src/mame/drivers/scv.cpp
index e1852162caf..d903c201086 100644
--- a/src/mame/drivers/scv.cpp
+++ b/src/mame/drivers/scv.cpp
@@ -17,7 +17,7 @@
class scv_state : public driver_device
{
public:
- scv_state(const machine_config &mconfig, device_type type, const char *tag)
+ scv_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this,"videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/sdk80.cpp b/src/mame/drivers/sdk80.cpp
index 954bf30afeb..2a64a1876a1 100644
--- a/src/mame/drivers/sdk80.cpp
+++ b/src/mame/drivers/sdk80.cpp
@@ -41,7 +41,7 @@ No known manual or schematic of the video board.
class sdk80_state : public driver_device
{
public:
- sdk80_state(const machine_config &mconfig, device_type type, const char *tag)
+ sdk80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_usart(*this, I8251A_TAG)
diff --git a/src/mame/drivers/sdk85.cpp b/src/mame/drivers/sdk85.cpp
index 424a921a1ae..e6f24bcb536 100644
--- a/src/mame/drivers/sdk85.cpp
+++ b/src/mame/drivers/sdk85.cpp
@@ -31,7 +31,7 @@ ToDo:
class sdk85_state : public driver_device
{
public:
- sdk85_state(const machine_config &mconfig, device_type type, const char *tag)
+ sdk85_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/sdk86.cpp b/src/mame/drivers/sdk86.cpp
index dd341654595..162a208784b 100644
--- a/src/mame/drivers/sdk86.cpp
+++ b/src/mame/drivers/sdk86.cpp
@@ -40,7 +40,7 @@ ToDo:
class sdk86_state : public driver_device
{
public:
- sdk86_state(const machine_config &mconfig, device_type type, const char *tag) :
+ sdk86_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_usart(*this, I8251_TAG)
diff --git a/src/mame/drivers/seabattl.cpp b/src/mame/drivers/seabattl.cpp
index b3f35e41ad8..5cc956e4af1 100644
--- a/src/mame/drivers/seabattl.cpp
+++ b/src/mame/drivers/seabattl.cpp
@@ -41,7 +41,7 @@ the sound board should be fully discrete.
class seabattl_state : public driver_device
{
public:
- seabattl_state(const machine_config &mconfig, device_type type, const char *tag)
+ seabattl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/drivers/sealy.cpp b/src/mame/drivers/sealy.cpp
index 0dedecb8feb..045dd891428 100644
--- a/src/mame/drivers/sealy.cpp
+++ b/src/mame/drivers/sealy.cpp
@@ -37,7 +37,7 @@ Notes:
class sealy_state : public driver_device
{
public:
- sealy_state(const machine_config &mconfig, device_type type, const char *tag)
+ sealy_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette")
diff --git a/src/mame/drivers/seattle.cpp b/src/mame/drivers/seattle.cpp
index 8cb68506d8c..ac973567438 100644
--- a/src/mame/drivers/seattle.cpp
+++ b/src/mame/drivers/seattle.cpp
@@ -423,7 +423,7 @@ struct widget_data
class seattle_state : public driver_device
{
public:
- seattle_state(const machine_config &mconfig, device_type type, const char *tag)
+ seattle_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_nvram(*this, "nvram") ,
m_rambase(*this, "rambase"),
diff --git a/src/mame/drivers/seattlecmp.cpp b/src/mame/drivers/seattlecmp.cpp
index b6b06914492..90dd3fadfb2 100644
--- a/src/mame/drivers/seattlecmp.cpp
+++ b/src/mame/drivers/seattlecmp.cpp
@@ -38,7 +38,7 @@ There is a 4MHz crystal connected to the 9513.
class seattle_comp_state : public driver_device
{
public:
- seattle_comp_state(const machine_config &mconfig, device_type type, const char *tag)
+ seattle_comp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/sega_sawatte.cpp b/src/mame/drivers/sega_sawatte.cpp
index 9ef349c81e4..b6ad4a8adac 100644
--- a/src/mame/drivers/sega_sawatte.cpp
+++ b/src/mame/drivers/sega_sawatte.cpp
@@ -31,7 +31,7 @@ http://mamedev.emulab.it/haze/reference/sawatte/cartridge_example.jpg
class sawatte_state : public driver_device
{
public:
- sawatte_state(const machine_config &mconfig, device_type type, const char *tag)
+ sawatte_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/segac2.cpp b/src/mame/drivers/segac2.cpp
index 1ab671ae694..17dcd8ffdd7 100644
--- a/src/mame/drivers/segac2.cpp
+++ b/src/mame/drivers/segac2.cpp
@@ -97,7 +97,7 @@ typedef device_delegate<int (int in)> segac2_prot_delegate;
class segac2_state : public md_base_state
{
public:
- segac2_state(const machine_config &mconfig, device_type type, const char *tag)
+ segac2_state(const machine_config &mconfig, device_type type, std::string tag)
: md_base_state(mconfig, type, tag),
m_paletteram(*this, "paletteram"),
m_upd7759(*this, "upd"),
diff --git a/src/mame/drivers/segacoin.cpp b/src/mame/drivers/segacoin.cpp
index aac1d5a2969..5f0bc6830ab 100644
--- a/src/mame/drivers/segacoin.cpp
+++ b/src/mame/drivers/segacoin.cpp
@@ -25,7 +25,7 @@ TODO:
class segacoin_state : public driver_device
{
public:
- segacoin_state(const machine_config &mconfig, device_type type, const char *tag)
+ segacoin_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu")
diff --git a/src/mame/drivers/segae.cpp b/src/mame/drivers/segae.cpp
index 77874a36fe5..3b159a1561c 100644
--- a/src/mame/drivers/segae.cpp
+++ b/src/mame/drivers/segae.cpp
@@ -307,7 +307,7 @@ protected:
virtual void machine_start() override;
public:
- systeme_state(const machine_config &mconfig, device_type type, const char *tag)
+ systeme_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_vdp1(*this, "vdp1"),
diff --git a/src/mame/drivers/segajw.cpp b/src/mame/drivers/segajw.cpp
index 1bd6490ebe4..a72f5b74306 100644
--- a/src/mame/drivers/segajw.cpp
+++ b/src/mame/drivers/segajw.cpp
@@ -40,7 +40,7 @@ Also seem to be running on the same/similar hardware:
class segajw_state : public driver_device
{
public:
- segajw_state(const machine_config &mconfig, device_type type, const char *tag)
+ segajw_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu")
diff --git a/src/mame/drivers/segald.cpp b/src/mame/drivers/segald.cpp
index 08ab3f8ae9d..0cf39492735 100644
--- a/src/mame/drivers/segald.cpp
+++ b/src/mame/drivers/segald.cpp
@@ -28,7 +28,7 @@ Todo:
class segald_state : public driver_device
{
public:
- segald_state(const machine_config &mconfig, device_type type, const char *tag)
+ segald_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_laserdisc(*this, "laserdisc") ,
m_obj_ram(*this, "obj_ram"),
diff --git a/src/mame/drivers/segam1.cpp b/src/mame/drivers/segam1.cpp
index b31dbbf56fb..a6284a586be 100644
--- a/src/mame/drivers/segam1.cpp
+++ b/src/mame/drivers/segam1.cpp
@@ -40,7 +40,7 @@ uses s24 style tilemaps (ram based?)
class segam1_state : public driver_device
{
public:
- segam1_state(const machine_config &mconfig, device_type type, const char *tag)
+ segam1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/segapico.cpp b/src/mame/drivers/segapico.cpp
index 5efbeb7ceef..601c62e41b4 100644
--- a/src/mame/drivers/segapico.cpp
+++ b/src/mame/drivers/segapico.cpp
@@ -129,7 +129,7 @@ C = MB3514 / 9325 M36
class pico_base_state : public md_cons_state
{
public:
- pico_base_state(const machine_config &mconfig, device_type type, const char *tag)
+ pico_base_state(const machine_config &mconfig, device_type type, std::string tag)
: md_cons_state(mconfig, type, tag),
m_sega_315_5641_pcm(*this, "315_5641"),
m_io_page(*this, "PAGE"),
@@ -160,7 +160,7 @@ public:
class pico_state : public pico_base_state
{
public:
- pico_state(const machine_config &mconfig, device_type type, const char *tag)
+ pico_state(const machine_config &mconfig, device_type type, std::string tag)
: pico_base_state(mconfig, type, tag),
m_picocart(*this, "picoslot") { }
@@ -554,7 +554,7 @@ S-AUDIO <-| | +-----------+ +-------+
class copera_state : public pico_base_state
{
public:
- copera_state(const machine_config &mconfig, device_type type, const char *tag)
+ copera_state(const machine_config &mconfig, device_type type, std::string tag)
: pico_base_state(mconfig, type, tag),
m_picocart(*this, "coperaslot") { }
diff --git a/src/mame/drivers/segapm.cpp b/src/mame/drivers/segapm.cpp
index 9ebc711ca4e..5c4511ef90a 100644
--- a/src/mame/drivers/segapm.cpp
+++ b/src/mame/drivers/segapm.cpp
@@ -12,7 +12,7 @@
class segapm_state : public driver_device
{
public:
- segapm_state(const machine_config &mconfig, device_type type, const char *tag)
+ segapm_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/segas24.cpp b/src/mame/drivers/segas24.cpp
index 729fee2197e..a5677013c68 100644
--- a/src/mame/drivers/segas24.cpp
+++ b/src/mame/drivers/segas24.cpp
@@ -785,7 +785,7 @@ WRITE16_MEMBER( segas24_state::mlatch_w )
int i;
UINT8 mxor = 0;
if(!mlatch_table) {
- logerror("Protection: magic latch accessed but no table loaded (%s:%x)\n", space.device().tag(), space.device().safe_pc());
+ logerror("Protection: magic latch accessed but no table loaded (%s:%x)\n", space.device().tag().c_str(), space.device().safe_pc());
return;
}
@@ -796,9 +796,9 @@ WRITE16_MEMBER( segas24_state::mlatch_w )
if(mlatch & (1<<i))
mxor |= 1 << mlatch_table[i];
mlatch = data ^ mxor;
- logerror("Magic latching %02x ^ %02x as %02x (%s:%x)\n", data & 0xff, mxor, mlatch, space.device().tag(), space.device().safe_pc());
+ logerror("Magic latching %02x ^ %02x as %02x (%s:%x)\n", data & 0xff, mxor, mlatch, space.device().tag().c_str(), space.device().safe_pc());
} else {
- logerror("Magic latch reset (%s:%x)\n", space.device().tag(), space.device().safe_pc());
+ logerror("Magic latch reset (%s:%x)\n", space.device().tag().c_str(), space.device().safe_pc());
mlatch = 0x00;
}
}
@@ -1047,7 +1047,7 @@ READ16_MEMBER ( segas24_state::sys16_io_r )
case 0xf:
return io_dir;
default:
- logerror("IO control read %02x (%s:%x)\n", offset, space.device().tag(), space.device().safe_pc());
+ logerror("IO control read %02x (%s:%x)\n", offset, space.device().tag().c_str(), space.device().safe_pc());
return 0xff;
}
} else
@@ -1059,7 +1059,7 @@ WRITE16_MEMBER( segas24_state::sys16_io_w )
if(ACCESSING_BITS_0_7) {
if(offset < 8) {
if(!(io_dir & (1 << offset))) {
- logerror("IO port write on input-only port (%d, [%02x], %02x, %s:%x)\n", offset, io_dir, data & 0xff, space.device().tag(), space.device().safe_pc());
+ logerror("IO port write on input-only port (%d, [%02x], %02x, %s:%x)\n", offset, io_dir, data & 0xff, space.device().tag().c_str(), space.device().safe_pc());
return;
}
(this->*io_w)(offset, data);
@@ -1073,7 +1073,7 @@ WRITE16_MEMBER( segas24_state::sys16_io_w )
io_dir = data;
break;
default:
- logerror("IO control write %02x, %02x (%s:%x)\n", offset, data & 0xff, space.device().tag(), space.device().safe_pc());
+ logerror("IO control write %02x, %02x (%s:%x)\n", offset, data & 0xff, space.device().tag().c_str(), space.device().safe_pc());
}
}
}
diff --git a/src/mame/drivers/segas32.cpp b/src/mame/drivers/segas32.cpp
index db1fb7a3d24..0a9d4a13484 100644
--- a/src/mame/drivers/segas32.cpp
+++ b/src/mame/drivers/segas32.cpp
@@ -537,7 +537,7 @@ orunners: Interleaved with the dj and << >> buttons is the data the drives the
const device_type SEGA_S32_PCB = &device_creator<segas32_state>;
-segas32_state::segas32_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+segas32_state::segas32_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEGA_S32_PCB, "Sega System 32 PCB", tag, owner, clock, "segas32_pcb", __FILE__),
m_z80_shared_ram(*this,"z80_shared_ram"),
m_ga2_dpram(*this,"ga2_dpram"),
@@ -2521,7 +2521,7 @@ MACHINE_CONFIG_END
const device_type SEGA_S32_REGULAR_DEVICE = &device_creator<segas32_regular_state>;
-segas32_regular_state::segas32_regular_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+segas32_regular_state::segas32_regular_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: segas32_state(mconfig, tag, owner, clock)
{
}
@@ -2545,7 +2545,7 @@ MACHINE_CONFIG_END
const device_type SEGA_S32_V25_DEVICE = &device_creator<segas32_v25_state>;
-segas32_v25_state::segas32_v25_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+segas32_v25_state::segas32_v25_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: segas32_state(mconfig, tag, owner, clock)
{
}
@@ -2608,7 +2608,7 @@ MACHINE_CONFIG_END
const device_type SEGA_MULTI32_DEVICE = &device_creator<sega_multi32_state>;
-sega_multi32_state::sega_multi32_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_multi32_state::sega_multi32_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: segas32_state(mconfig, tag, owner, clock)
{
}
@@ -2622,7 +2622,7 @@ machine_config_constructor sega_multi32_state::device_mconfig_additions() const
class segas32_new_state : public driver_device
{
public:
- segas32_new_state(const machine_config &mconfig, device_type type, const char *tag)
+ segas32_new_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mainpcb(*this, "mainpcb"),
m_slavepcb(*this, "slavepcb")
diff --git a/src/mame/drivers/segaufo.cpp b/src/mame/drivers/segaufo.cpp
index 1263d6daafb..ee74ee9aabd 100644
--- a/src/mame/drivers/segaufo.cpp
+++ b/src/mame/drivers/segaufo.cpp
@@ -73,7 +73,7 @@
class ufo_state : public driver_device
{
public:
- ufo_state(const machine_config &mconfig, device_type type, const char *tag)
+ ufo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_io1(*this, "io1"),
diff --git a/src/mame/drivers/segaxbd.cpp b/src/mame/drivers/segaxbd.cpp
index 8366d3b10b2..924366868ed 100644
--- a/src/mame/drivers/segaxbd.cpp
+++ b/src/mame/drivers/segaxbd.cpp
@@ -272,7 +272,7 @@ ROMs:
const device_type SEGA_XBD_PCB = &device_creator<segaxbd_state>;
-segaxbd_state::segaxbd_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+segaxbd_state::segaxbd_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEGA_XBD_PCB, "Sega X-Board PCB", tag, owner, clock, "segaxbd_pcb", __FILE__),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "subcpu"),
@@ -343,7 +343,7 @@ void segaxbd_state::device_reset()
class segaxbd_new_state : public driver_device
{
public:
- segaxbd_new_state(const machine_config &mconfig, device_type type, const char *tag)
+ segaxbd_new_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mainpcb(*this, "mainpcb")
{
@@ -365,7 +365,7 @@ public:
class segaxbd_new_state_double : public segaxbd_new_state
{
public:
- segaxbd_new_state_double(const machine_config &mconfig, device_type type, const char *tag)
+ segaxbd_new_state_double(const machine_config &mconfig, device_type type, std::string tag)
: segaxbd_new_state(mconfig, type, tag),
m_subpcb(*this, "subpcb")
{
@@ -1867,7 +1867,7 @@ MACHINE_CONFIG_END
const device_type SEGA_XBD_REGULAR_DEVICE = &device_creator<segaxbd_regular_state>;
-segaxbd_regular_state::segaxbd_regular_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+segaxbd_regular_state::segaxbd_regular_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: segaxbd_state(mconfig, tag, owner, clock)
{
}
@@ -1893,7 +1893,7 @@ MACHINE_CONFIG_END
const device_type SEGA_XBD_FD1094_DEVICE = &device_creator<segaxbd_fd1094_state>;
-segaxbd_fd1094_state::segaxbd_fd1094_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+segaxbd_fd1094_state::segaxbd_fd1094_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: segaxbd_state(mconfig, tag, owner, clock)
{
}
@@ -1935,7 +1935,7 @@ MACHINE_CONFIG_END
const device_type SEGA_XBD_LASTSURV_FD1094_DEVICE = &device_creator<segaxbd_lastsurv_fd1094_state>;
-segaxbd_lastsurv_fd1094_state::segaxbd_lastsurv_fd1094_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+segaxbd_lastsurv_fd1094_state::segaxbd_lastsurv_fd1094_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: segaxbd_state(mconfig, tag, owner, clock)
{
}
@@ -1965,7 +1965,7 @@ MACHINE_CONFIG_END
const device_type SEGA_XBD_LASTSURV_DEVICE = &device_creator<segaxbd_lastsurv_state>;
-segaxbd_lastsurv_state::segaxbd_lastsurv_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+segaxbd_lastsurv_state::segaxbd_lastsurv_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: segaxbd_state(mconfig, tag, owner, clock)
{
}
@@ -2008,7 +2008,7 @@ MACHINE_CONFIG_END
const device_type SEGA_XBD_SMGP_FD1094_DEVICE = &device_creator<segaxbd_smgp_fd1094_state>;
-segaxbd_smgp_fd1094_state::segaxbd_smgp_fd1094_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+segaxbd_smgp_fd1094_state::segaxbd_smgp_fd1094_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: segaxbd_state(mconfig, tag, owner, clock)
{
}
@@ -2051,7 +2051,7 @@ MACHINE_CONFIG_END
const device_type SEGA_XBD_SMGP_DEVICE = &device_creator<segaxbd_smgp_state>;
-segaxbd_smgp_state::segaxbd_smgp_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+segaxbd_smgp_state::segaxbd_smgp_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: segaxbd_state(mconfig, tag, owner, clock)
{
}
@@ -2077,7 +2077,7 @@ MACHINE_CONFIG_END
const device_type SEGA_XBD_RASCOT_DEVICE = &device_creator<segaxbd_rascot_state>;
-segaxbd_rascot_state::segaxbd_rascot_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+segaxbd_rascot_state::segaxbd_rascot_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: segaxbd_state(mconfig, tag, owner, clock)
{
}
diff --git a/src/mame/drivers/selz80.cpp b/src/mame/drivers/selz80.cpp
index 2666bf7d59c..c4e6d21b1a0 100644
--- a/src/mame/drivers/selz80.cpp
+++ b/src/mame/drivers/selz80.cpp
@@ -37,7 +37,7 @@ ToDo:
class selz80_state : public driver_device
{
public:
- selz80_state(const machine_config &mconfig, device_type type, const char *tag)
+ selz80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_p_ram(*this, "ram")
diff --git a/src/mame/drivers/sengokmj.cpp b/src/mame/drivers/sengokmj.cpp
index 3a95d926d9e..523cd4bf5a9 100644
--- a/src/mame/drivers/sengokmj.cpp
+++ b/src/mame/drivers/sengokmj.cpp
@@ -64,7 +64,7 @@ RSSENGO2.72 chr.
class sengokmj_state : public driver_device
{
public:
- sengokmj_state(const machine_config &mconfig, device_type type, const char *tag)
+ sengokmj_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/seta2.cpp b/src/mame/drivers/seta2.cpp
index 15ddc8f6622..866207b49a7 100644
--- a/src/mame/drivers/seta2.cpp
+++ b/src/mame/drivers/seta2.cpp
@@ -527,7 +527,7 @@ class funcube_touchscreen_device : public device_t,
public device_serial_interface
{
public:
- funcube_touchscreen_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ funcube_touchscreen_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ioport_constructor device_input_ports() const override;
template<class _Object> static devcb_base &set_tx_cb(device_t &device, _Object object) { return downcast<funcube_touchscreen_device &>(device).m_tx_cb.set_callback(object); }
@@ -564,7 +564,7 @@ static INPUT_PORTS_START( funcube_touchscreen )
PORT_BIT( 0xff, 0x00, IPT_LIGHTGUN_Y ) PORT_MINMAX(0,0x46+1) PORT_CROSSHAIR(Y, -(0xf0-8.0)/0xf0*0x047/0x46, -1.0/0x46, 0) PORT_SENSITIVITY(45) PORT_KEYDELTA(5) PORT_REVERSE
INPUT_PORTS_END
-funcube_touchscreen_device::funcube_touchscreen_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+funcube_touchscreen_device::funcube_touchscreen_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, FUNCUBE_TOUCHSCREEN, "Funcube Touchscreen", tag, owner, clock, "funcube_touchscrene", __FILE__),
device_serial_interface(mconfig, *this),
m_tx_cb(*this),
diff --git a/src/mame/drivers/sfbonus.cpp b/src/mame/drivers/sfbonus.cpp
index 46843e34271..23ec46a9780 100644
--- a/src/mame/drivers/sfbonus.cpp
+++ b/src/mame/drivers/sfbonus.cpp
@@ -283,7 +283,7 @@ MH86171 Color Palette RAMDAC
class sfbonus_state : public driver_device
{
public:
- sfbonus_state(const machine_config &mconfig, device_type type, const char *tag)
+ sfbonus_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/sfcbox.cpp b/src/mame/drivers/sfcbox.cpp
index d8c8534e5ae..944c74b706a 100644
--- a/src/mame/drivers/sfcbox.cpp
+++ b/src/mame/drivers/sfcbox.cpp
@@ -127,7 +127,7 @@ How does the Super Famicom Box operates
class sfcbox_state : public snes_state
{
public:
- sfcbox_state(const machine_config &mconfig, device_type type, const char *tag)
+ sfcbox_state(const machine_config &mconfig, device_type type, std::string tag)
: snes_state(mconfig, type, tag),
m_bios(*this, "bios"),
m_mb90082(*this,"mb90082"),
diff --git a/src/mame/drivers/sfkick.cpp b/src/mame/drivers/sfkick.cpp
index e94210e21fb..9c00afe6e5a 100644
--- a/src/mame/drivers/sfkick.cpp
+++ b/src/mame/drivers/sfkick.cpp
@@ -162,7 +162,7 @@ DIPSW-2
class sfkick_state : public driver_device
{
public:
- sfkick_state(const machine_config &mconfig, device_type type, const char *tag)
+ sfkick_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_v9938(*this, "v9938"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/sg1000a.cpp b/src/mame/drivers/sg1000a.cpp
index 509146b18b9..0fe2f55055f 100644
--- a/src/mame/drivers/sg1000a.cpp
+++ b/src/mame/drivers/sg1000a.cpp
@@ -124,7 +124,7 @@ CN4 CN5
class sg1000a_state : public driver_device
{
public:
- sg1000a_state(const machine_config &mconfig, device_type type, const char *tag)
+ sg1000a_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_decrypted_opcodes(*this, "decrypted_opcodes") { }
diff --git a/src/mame/drivers/sh4robot.cpp b/src/mame/drivers/sh4robot.cpp
index 5ebe20f7530..ff829c87105 100644
--- a/src/mame/drivers/sh4robot.cpp
+++ b/src/mame/drivers/sh4robot.cpp
@@ -33,7 +33,7 @@
class sh4robot_state : public driver_device
{
public:
- sh4robot_state(const machine_config &mconfig, device_type type, const char *tag)
+ sh4robot_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/shanghai.cpp b/src/mame/drivers/shanghai.cpp
index 1aeb26c541f..68f37121809 100644
--- a/src/mame/drivers/shanghai.cpp
+++ b/src/mame/drivers/shanghai.cpp
@@ -30,7 +30,7 @@ displayed.
class shanghai_state : public driver_device
{
public:
- shanghai_state(const machine_config &mconfig, device_type type, const char *tag)
+ shanghai_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_hd63484(*this, "hd63484") { }
diff --git a/src/mame/drivers/shougi.cpp b/src/mame/drivers/shougi.cpp
index 3d8a4a56374..c2d04c30d64 100644
--- a/src/mame/drivers/shougi.cpp
+++ b/src/mame/drivers/shougi.cpp
@@ -87,7 +87,7 @@ PROM : Type MB7051
class shougi_state : public driver_device
{
public:
- shougi_state(const machine_config &mconfig, device_type type, const char *tag)
+ shougi_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/drivers/shtzone.cpp b/src/mame/drivers/shtzone.cpp
index 59307b24c42..32e51a0e847 100644
--- a/src/mame/drivers/shtzone.cpp
+++ b/src/mame/drivers/shtzone.cpp
@@ -55,7 +55,7 @@ Notes:
class shtzone_state : public driver_device
{
public:
- shtzone_state(const machine_config &mconfig, device_type type, const char *tag)
+ shtzone_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) { }
virtual void machine_start() override;
virtual void machine_reset() override;
diff --git a/src/mame/drivers/sigmab52.cpp b/src/mame/drivers/sigmab52.cpp
index 75299bfd274..c43e1498578 100644
--- a/src/mame/drivers/sigmab52.cpp
+++ b/src/mame/drivers/sigmab52.cpp
@@ -139,7 +139,7 @@
class sigmab52_state : public driver_device
{
public:
- sigmab52_state(const machine_config &mconfig, device_type type, const char *tag)
+ sigmab52_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/sigmab98.cpp b/src/mame/drivers/sigmab98.cpp
index e0cdabeedaf..bcf3b037f80 100644
--- a/src/mame/drivers/sigmab98.cpp
+++ b/src/mame/drivers/sigmab98.cpp
@@ -121,7 +121,7 @@ Notes:
class sigmab98_state : public driver_device
{
public:
- sigmab98_state(const machine_config &mconfig, device_type type, const char *tag)
+ sigmab98_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_buffered_spriteram(*this, "spriteram"),
diff --git a/src/mame/drivers/silvmil.cpp b/src/mame/drivers/silvmil.cpp
index bff90fc7b16..2d796c98ac3 100644
--- a/src/mame/drivers/silvmil.cpp
+++ b/src/mame/drivers/silvmil.cpp
@@ -34,7 +34,7 @@ Very likely to be 'whatever crystals we had on hand which were close enough for
class silvmil_state : public driver_device
{
public:
- silvmil_state(const machine_config &mconfig, device_type type, const char *tag)
+ silvmil_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/sitcom.cpp b/src/mame/drivers/sitcom.cpp
index d257bd69076..4c7bcff671c 100644
--- a/src/mame/drivers/sitcom.cpp
+++ b/src/mame/drivers/sitcom.cpp
@@ -40,7 +40,7 @@
class sitcom_state : public driver_device
{
public:
- sitcom_state(const machine_config &mconfig, device_type type, const char *tag)
+ sitcom_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ds0(*this, "ds0"),
diff --git a/src/mame/drivers/skeetsht.cpp b/src/mame/drivers/skeetsht.cpp
index cb1b7a054c5..59d935c0f05 100644
--- a/src/mame/drivers/skeetsht.cpp
+++ b/src/mame/drivers/skeetsht.cpp
@@ -28,7 +28,7 @@
class skeetsht_state : public driver_device
{
public:
- skeetsht_state(const machine_config &mconfig, device_type type, const char *tag)
+ skeetsht_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_tlc34076(*this, "tlc34076"),
m_tms_vram(*this, "tms_vram"),
diff --git a/src/mame/drivers/skimaxx.cpp b/src/mame/drivers/skimaxx.cpp
index 439f0cc874a..7a1bb30c449 100644
--- a/src/mame/drivers/skimaxx.cpp
+++ b/src/mame/drivers/skimaxx.cpp
@@ -45,7 +45,7 @@
class skimaxx_state : public driver_device
{
public:
- skimaxx_state(const machine_config &mconfig, device_type type, const char *tag)
+ skimaxx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "subcpu"),
diff --git a/src/mame/drivers/skyarmy.cpp b/src/mame/drivers/skyarmy.cpp
index 525b33ff8cb..2cb6292cdf0 100644
--- a/src/mame/drivers/skyarmy.cpp
+++ b/src/mame/drivers/skyarmy.cpp
@@ -34,7 +34,7 @@
class skyarmy_state : public driver_device
{
public:
- skyarmy_state(const machine_config &mconfig, device_type type, const char *tag)
+ skyarmy_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/skylncr.cpp b/src/mame/drivers/skylncr.cpp
index 514df8d8100..76ec91b18a7 100644
--- a/src/mame/drivers/skylncr.cpp
+++ b/src/mame/drivers/skylncr.cpp
@@ -99,7 +99,7 @@
class skylncr_state : public driver_device
{
public:
- skylncr_state(const machine_config &mconfig, device_type type, const char *tag)
+ skylncr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/slc1.cpp b/src/mame/drivers/slc1.cpp
index f367e3b1705..f92bea1cda0 100644
--- a/src/mame/drivers/slc1.cpp
+++ b/src/mame/drivers/slc1.cpp
@@ -57,7 +57,7 @@ Pasting doesn't work, but if it did...
class slc1_state : public driver_device
{
public:
- slc1_state(const machine_config &mconfig, device_type type, const char *tag)
+ slc1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker")
diff --git a/src/mame/drivers/sleic.cpp b/src/mame/drivers/sleic.cpp
index a78e6b1e604..bb5db385349 100644
--- a/src/mame/drivers/sleic.cpp
+++ b/src/mame/drivers/sleic.cpp
@@ -32,7 +32,7 @@
class sleic_state : public driver_device
{
public:
- sleic_state(const machine_config &mconfig, device_type type, const char *tag)
+ sleic_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/slicer.cpp b/src/mame/drivers/slicer.cpp
index ce294cfcea4..e4720c8fe55 100644
--- a/src/mame/drivers/slicer.cpp
+++ b/src/mame/drivers/slicer.cpp
@@ -16,7 +16,7 @@
class slicer_state : public driver_device
{
public:
- slicer_state(const machine_config &mconfig, device_type type, const char *tag) :
+ slicer_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_fdc(*this, "fdc"),
m_sasi(*this, "sasi")
diff --git a/src/mame/drivers/sliver.cpp b/src/mame/drivers/sliver.cpp
index db675b6ab99..8a94a2074f3 100644
--- a/src/mame/drivers/sliver.cpp
+++ b/src/mame/drivers/sliver.cpp
@@ -81,7 +81,7 @@ Notes:
class sliver_state : public driver_device
{
public:
- sliver_state(const machine_config &mconfig, device_type type, const char *tag)
+ sliver_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/slotcarn.cpp b/src/mame/drivers/slotcarn.cpp
index 643f696b7fe..a736bedfb83 100644
--- a/src/mame/drivers/slotcarn.cpp
+++ b/src/mame/drivers/slotcarn.cpp
@@ -35,7 +35,7 @@
class slotcarn_state : public driver_device
{
public:
- slotcarn_state(const machine_config &mconfig, device_type type, const char *tag)
+ slotcarn_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_backup_ram(*this, "backup_ram"),
m_ram_attr(*this, "raattr"),
diff --git a/src/mame/drivers/sm1800.cpp b/src/mame/drivers/sm1800.cpp
index f4baab35368..63d80ce4664 100644
--- a/src/mame/drivers/sm1800.cpp
+++ b/src/mame/drivers/sm1800.cpp
@@ -25,7 +25,7 @@
class sm1800_state : public driver_device
{
public:
- sm1800_state(const machine_config &mconfig, device_type type, const char *tag)
+ sm1800_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_uart(*this, "i8251"),
diff --git a/src/mame/drivers/smc777.cpp b/src/mame/drivers/smc777.cpp
index c4d6902b299..aea71a4b232 100644
--- a/src/mame/drivers/smc777.cpp
+++ b/src/mame/drivers/smc777.cpp
@@ -50,7 +50,7 @@
class smc777_state : public driver_device
{
public:
- smc777_state(const machine_config &mconfig, device_type type, const char *tag)
+ smc777_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_crtc(*this, "crtc"),
diff --git a/src/mame/drivers/smsmcorp.cpp b/src/mame/drivers/smsmcorp.cpp
index 50f15e55cc1..8c3d428ea17 100644
--- a/src/mame/drivers/smsmcorp.cpp
+++ b/src/mame/drivers/smsmcorp.cpp
@@ -225,7 +225,7 @@ U145 1Brown PAL14H4CN
class smsmfg_state : public driver_device
{
public:
- smsmfg_state(const machine_config &mconfig, device_type type, const char *tag)
+ smsmfg_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_screen(*this, "screen") { }
diff --git a/src/mame/drivers/snes.cpp b/src/mame/drivers/snes.cpp
index 55f81e89d75..0fb9bb97b59 100644
--- a/src/mame/drivers/snes.cpp
+++ b/src/mame/drivers/snes.cpp
@@ -40,7 +40,7 @@
class snes_console_state : public snes_state
{
public:
- snes_console_state(const machine_config &mconfig, device_type type, const char *tag)
+ snes_console_state(const machine_config &mconfig, device_type type, std::string tag)
: snes_state(mconfig, type, tag)
, m_ctrl1(*this, "ctrl1")
, m_ctrl2(*this, "ctrl2")
diff --git a/src/mame/drivers/snesb.cpp b/src/mame/drivers/snesb.cpp
index e5980a70314..4ba27b621b9 100644
--- a/src/mame/drivers/snesb.cpp
+++ b/src/mame/drivers/snesb.cpp
@@ -152,7 +152,7 @@ Iron PCB (same as Final Fight 2?)
class snesb_state : public snes_state
{
public:
- snesb_state(const machine_config &mconfig, device_type type, const char *tag)
+ snesb_state(const machine_config &mconfig, device_type type, std::string tag)
: snes_state(mconfig, type, tag) { }
std::unique_ptr<INT8[]> m_shared_ram;
diff --git a/src/mame/drivers/socrates.cpp b/src/mame/drivers/socrates.cpp
index ca422bc5d8b..966f7e5a999 100644
--- a/src/mame/drivers/socrates.cpp
+++ b/src/mame/drivers/socrates.cpp
@@ -98,7 +98,7 @@ public:
TIMER_CLEAR_IRQ
};
- socrates_state(const machine_config &mconfig, device_type type, const char *tag)
+ socrates_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_sound(*this, "soc_snd"),
@@ -171,7 +171,7 @@ protected:
class iqunlim_state : public socrates_state
{
public:
- iqunlim_state(const machine_config &mconfig, device_type type, const char *tag)
+ iqunlim_state(const machine_config &mconfig, device_type type, std::string tag)
: socrates_state(mconfig, type, tag),
m_bank1(*this, "bank1"),
m_bank2(*this, "bank2"),
diff --git a/src/mame/drivers/sothello.cpp b/src/mame/drivers/sothello.cpp
index c72767f767b..6016c86a669 100644
--- a/src/mame/drivers/sothello.cpp
+++ b/src/mame/drivers/sothello.cpp
@@ -47,7 +47,7 @@ OSC : 8.0000MHz(X1) 21.477 MHz(X2) 384kHz(X3)
class sothello_state : public driver_device
{
public:
- sothello_state(const machine_config &mconfig, device_type type, const char *tag)
+ sothello_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_v9938(*this, "v9938") ,
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/spaceg.cpp b/src/mame/drivers/spaceg.cpp
index e7b81a0ac7b..80678652642 100644
--- a/src/mame/drivers/spaceg.cpp
+++ b/src/mame/drivers/spaceg.cpp
@@ -178,7 +178,7 @@ Notes:
class spaceg_state : public driver_device
{
public:
- spaceg_state(const machine_config &mconfig, device_type type, const char *tag)
+ spaceg_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_colorram(*this, "colorram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/drivers/spc1000.cpp b/src/mame/drivers/spc1000.cpp
index c64a9effff6..447ffe44af5 100644
--- a/src/mame/drivers/spc1000.cpp
+++ b/src/mame/drivers/spc1000.cpp
@@ -147,7 +147,7 @@ NOTE: 2014-09-13: added code from someone's modified MESS driver for floppy
class spc1000_state : public driver_device
{
public:
- spc1000_state(const machine_config &mconfig, device_type type, const char *tag)
+ spc1000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_vdg(*this, "mc6847")
diff --git a/src/mame/drivers/spc1500.cpp b/src/mame/drivers/spc1500.cpp
index 2017c27f3e7..c56b41661d9 100644
--- a/src/mame/drivers/spc1500.cpp
+++ b/src/mame/drivers/spc1500.cpp
@@ -237,7 +237,7 @@ TODO:
class spc1500_state : public driver_device
{
public:
- spc1500_state(const machine_config &mconfig, device_type type, const char *tag)
+ spc1500_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_vdg(*this, "mc6845")
diff --git a/src/mame/drivers/spectra.cpp b/src/mame/drivers/spectra.cpp
index 3bcc3054252..f09e607ead9 100644
--- a/src/mame/drivers/spectra.cpp
+++ b/src/mame/drivers/spectra.cpp
@@ -46,7 +46,7 @@ ToDo:
class spectra_state : public genpin_class
{
public:
- spectra_state(const machine_config &mconfig, device_type type, const char *tag)
+ spectra_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_snsnd(*this, "snsnd")
diff --git a/src/mame/drivers/speglsht.cpp b/src/mame/drivers/speglsht.cpp
index 74aee52aee1..3a326b79473 100644
--- a/src/mame/drivers/speglsht.cpp
+++ b/src/mame/drivers/speglsht.cpp
@@ -113,7 +113,7 @@ Notes:
class speglsht_state : public driver_device
{
public:
- speglsht_state(const machine_config &mconfig, device_type type, const char *tag)
+ speglsht_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_shared(*this, "shared"),
m_framebuffer(*this, "framebuffer"),
diff --git a/src/mame/drivers/spinb.cpp b/src/mame/drivers/spinb.cpp
index 77c995501b3..ff63a3f702f 100644
--- a/src/mame/drivers/spinb.cpp
+++ b/src/mame/drivers/spinb.cpp
@@ -40,7 +40,7 @@ ToDo:
class spinb_state : public genpin_class
{
public:
- spinb_state(const machine_config &mconfig, device_type type, const char *tag)
+ spinb_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_audiocpu(*this, "audiocpu")
diff --git a/src/mame/drivers/splus.cpp b/src/mame/drivers/splus.cpp
index 195303ac413..e16eed9b257 100644
--- a/src/mame/drivers/splus.cpp
+++ b/src/mame/drivers/splus.cpp
@@ -33,7 +33,7 @@
class splus_state : public driver_device
{
public:
- splus_state(const machine_config &mconfig, device_type type, const char *tag)
+ splus_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cmosl_ram(*this, "cmosl"),
m_cmosh_ram(*this, "cmosh"),
diff --git a/src/mame/drivers/spoker.cpp b/src/mame/drivers/spoker.cpp
index 6c7b74529e9..a2a01911c7d 100644
--- a/src/mame/drivers/spoker.cpp
+++ b/src/mame/drivers/spoker.cpp
@@ -27,7 +27,7 @@ TODO:
class spoker_state : public driver_device
{
public:
- spoker_state(const machine_config &mconfig, device_type type, const char *tag)
+ spoker_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/spool99.cpp b/src/mame/drivers/spool99.cpp
index 7b331e14ccd..26f449aaa55 100644
--- a/src/mame/drivers/spool99.cpp
+++ b/src/mame/drivers/spool99.cpp
@@ -99,7 +99,7 @@ Note
class spool99_state : public driver_device
{
public:
- spool99_state(const machine_config &mconfig, device_type type, const char *tag)
+ spool99_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_eeprom(*this, "eeprom"),
diff --git a/src/mame/drivers/squale.cpp b/src/mame/drivers/squale.cpp
index 81f215526b4..39b85285bd2 100644
--- a/src/mame/drivers/squale.cpp
+++ b/src/mame/drivers/squale.cpp
@@ -73,7 +73,7 @@
class squale_state : public driver_device
{
public:
- squale_state(const machine_config &mconfig, device_type type, const char *tag)
+ squale_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_acia(*this, "ef6850")
, m_ay8910(*this, "ay8910")
diff --git a/src/mame/drivers/srmp5.cpp b/src/mame/drivers/srmp5.cpp
index 1ecfd8a1f0a..ef6b4c23cc0 100644
--- a/src/mame/drivers/srmp5.cpp
+++ b/src/mame/drivers/srmp5.cpp
@@ -66,7 +66,7 @@ This is not a bug (real machine behaves the same).
class srmp5_state : public driver_device
{
public:
- srmp5_state(const machine_config &mconfig, device_type type, const char *tag)
+ srmp5_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_gfxdecode(*this, "gfxdecode"),
m_palette(*this, "palette"),
diff --git a/src/mame/drivers/srmp6.cpp b/src/mame/drivers/srmp6.cpp
index d6a1eb8af64..91a1dac4a96 100644
--- a/src/mame/drivers/srmp6.cpp
+++ b/src/mame/drivers/srmp6.cpp
@@ -75,7 +75,7 @@ Dumped 06/15/2000
class srmp6_state : public driver_device
{
public:
- srmp6_state(const machine_config &mconfig, device_type type, const char *tag)
+ srmp6_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_sprram(*this, "sprram"),
m_chrram(*this, "chrram"),
diff --git a/src/mame/drivers/ssem.cpp b/src/mame/drivers/ssem.cpp
index 56090713130..6d726f8ce3b 100644
--- a/src/mame/drivers/ssem.cpp
+++ b/src/mame/drivers/ssem.cpp
@@ -14,7 +14,7 @@
class ssem_state : public driver_device
{
public:
- ssem_state(const machine_config &mconfig, device_type type, const char *tag)
+ ssem_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_store(*this, "store"),
diff --git a/src/mame/drivers/ssfindo.cpp b/src/mame/drivers/ssfindo.cpp
index ae392906118..8137f6c5f14 100644
--- a/src/mame/drivers/ssfindo.cpp
+++ b/src/mame/drivers/ssfindo.cpp
@@ -217,7 +217,7 @@ enum
class ssfindo_state : public driver_device
{
public:
- ssfindo_state(const machine_config &mconfig, device_type type, const char *tag)
+ ssfindo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette"),
diff --git a/src/mame/drivers/sshot.cpp b/src/mame/drivers/sshot.cpp
index 97075424ff0..174722abdfc 100644
--- a/src/mame/drivers/sshot.cpp
+++ b/src/mame/drivers/sshot.cpp
@@ -171,7 +171,7 @@ Given CS numbers this is released after the other GunChamp
class supershot_state : public driver_device
{
public:
- supershot_state(const machine_config &mconfig, device_type type, const char *tag)
+ supershot_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/ssingles.cpp b/src/mame/drivers/ssingles.cpp
index fddf894e050..5da182aa15e 100644
--- a/src/mame/drivers/ssingles.cpp
+++ b/src/mame/drivers/ssingles.cpp
@@ -157,7 +157,7 @@ Dumped by Chack'n
class ssingles_state : public driver_device
{
public:
- ssingles_state(const machine_config &mconfig, device_type type, const char *tag)
+ ssingles_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/sstrangr.cpp b/src/mame/drivers/sstrangr.cpp
index c0d114c0abf..fdd53ae7b3c 100644
--- a/src/mame/drivers/sstrangr.cpp
+++ b/src/mame/drivers/sstrangr.cpp
@@ -16,7 +16,7 @@
class sstrangr_state : public driver_device
{
public:
- sstrangr_state(const machine_config &mconfig, device_type type, const char *tag)
+ sstrangr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette"),
diff --git a/src/mame/drivers/st17xx.cpp b/src/mame/drivers/st17xx.cpp
index f3ba9428aea..c2dba467366 100644
--- a/src/mame/drivers/st17xx.cpp
+++ b/src/mame/drivers/st17xx.cpp
@@ -45,7 +45,7 @@
class st17xx_state : public driver_device
{
public:
- st17xx_state(const machine_config &mconfig, device_type type, const char *tag)
+ st17xx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) { }
virtual void machine_start() override;
diff --git a/src/mame/drivers/st_mp100.cpp b/src/mame/drivers/st_mp100.cpp
index 7319daffee8..2927e008b81 100644
--- a/src/mame/drivers/st_mp100.cpp
+++ b/src/mame/drivers/st_mp100.cpp
@@ -24,7 +24,7 @@ ToDo:
class st_mp100_state : public genpin_class
{
public:
- st_mp100_state(const machine_config &mconfig, device_type type, const char *tag)
+ st_mp100_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_pia_u10(*this, "pia_u10")
diff --git a/src/mame/drivers/st_mp200.cpp b/src/mame/drivers/st_mp200.cpp
index 59c9d41d77f..e95abd5ee29 100644
--- a/src/mame/drivers/st_mp200.cpp
+++ b/src/mame/drivers/st_mp200.cpp
@@ -27,7 +27,7 @@ ToDo:
class st_mp200_state : public genpin_class
{
public:
- st_mp200_state(const machine_config &mconfig, device_type type, const char *tag)
+ st_mp200_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_s14001a(*this, "speech")
diff --git a/src/mame/drivers/statriv2.cpp b/src/mame/drivers/statriv2.cpp
index 6546425f10c..2d57cece8e8 100644
--- a/src/mame/drivers/statriv2.cpp
+++ b/src/mame/drivers/statriv2.cpp
@@ -81,7 +81,7 @@ quaquiz2 - no inputs, needs NVRAM
class statriv2_state : public driver_device
{
public:
- statriv2_state(const machine_config &mconfig, device_type type, const char *tag)
+ statriv2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_tms(*this, "tms"),
diff --git a/src/mame/drivers/stellafr.cpp b/src/mame/drivers/stellafr.cpp
index af12d541c47..fcecf713e22 100644
--- a/src/mame/drivers/stellafr.cpp
+++ b/src/mame/drivers/stellafr.cpp
@@ -17,7 +17,7 @@ Possibly related to ADP hardware?
class stellafr_state : public driver_device
{
public:
- stellafr_state(const machine_config &mconfig, device_type type, const char *tag)
+ stellafr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/stratos.cpp b/src/mame/drivers/stratos.cpp
index 62de51b640c..a27df35718f 100644
--- a/src/mame/drivers/stratos.cpp
+++ b/src/mame/drivers/stratos.cpp
@@ -13,7 +13,7 @@
class stratos_state : public driver_device
{
public:
- stratos_state(const machine_config &mconfig, device_type type, const char *tag)
+ stratos_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
maincpu(*this, "maincpu"),
nvram(*this, "nvram"),
diff --git a/src/mame/drivers/studio2.cpp b/src/mame/drivers/studio2.cpp
index 99b8cf5738b..590ca454ccb 100644
--- a/src/mame/drivers/studio2.cpp
+++ b/src/mame/drivers/studio2.cpp
@@ -203,7 +203,7 @@ class studio2_state : public driver_device
{
public:
- studio2_state(const machine_config &mconfig, device_type type, const char *tag)
+ studio2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, CDP1802_TAG),
m_beeper(*this, "beeper"),
@@ -248,7 +248,7 @@ public:
class visicom_state : public studio2_state
{
public:
- visicom_state(const machine_config &mconfig, device_type type, const char *tag)
+ visicom_state(const machine_config &mconfig, device_type type, std::string tag)
: studio2_state(mconfig, type, tag),
m_color0_ram(*this, "color0_ram"),
m_color1_ram(*this, "color1_ram")
@@ -265,7 +265,7 @@ public:
class mpt02_state : public studio2_state
{
public:
- mpt02_state(const machine_config &mconfig, device_type type, const char *tag)
+ mpt02_state(const machine_config &mconfig, device_type type, std::string tag)
: studio2_state(mconfig, type, tag),
m_cti(*this, CDP1864_TAG),
m_color_ram(*this, "color_ram")
diff --git a/src/mame/drivers/stuntair.cpp b/src/mame/drivers/stuntair.cpp
index 749416a13c5..f5019cdfc3b 100644
--- a/src/mame/drivers/stuntair.cpp
+++ b/src/mame/drivers/stuntair.cpp
@@ -86,7 +86,7 @@ Bprom dump by f205v
class stuntair_state : public driver_device
{
public:
- stuntair_state(const machine_config &mconfig, device_type type, const char *tag)
+ stuntair_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/su2000.cpp b/src/mame/drivers/su2000.cpp
index 2beaf6623ca..273a88a0f7e 100644
--- a/src/mame/drivers/su2000.cpp
+++ b/src/mame/drivers/su2000.cpp
@@ -63,7 +63,7 @@
class su2000_state : public pcat_base_state
{
public:
- su2000_state(const machine_config &mconfig, device_type type, const char *tag)
+ su2000_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag){ }
std::unique_ptr<UINT32[]> m_pc_ram;
diff --git a/src/mame/drivers/sub.cpp b/src/mame/drivers/sub.cpp
index 9b2487ce495..0c5658b684d 100644
--- a/src/mame/drivers/sub.cpp
+++ b/src/mame/drivers/sub.cpp
@@ -117,7 +117,7 @@ PCB2 (Top board, CPU board)
class sub_state : public driver_device
{
public:
- sub_state(const machine_config &mconfig, device_type type, const char *tag)
+ sub_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/drivers/subhuntr.cpp b/src/mame/drivers/subhuntr.cpp
index aaa95c647d5..5335497355d 100644
--- a/src/mame/drivers/subhuntr.cpp
+++ b/src/mame/drivers/subhuntr.cpp
@@ -26,7 +26,7 @@ QTY Type position
class subhuntr_state : public driver_device
{
public:
- subhuntr_state(const machine_config &mconfig, device_type type, const char *tag)
+ subhuntr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{
diff --git a/src/mame/drivers/subsino.cpp b/src/mame/drivers/subsino.cpp
index 716d1955f2c..5b884f68e6d 100644
--- a/src/mame/drivers/subsino.cpp
+++ b/src/mame/drivers/subsino.cpp
@@ -237,7 +237,7 @@ To Do:
class subsino_state : public driver_device
{
public:
- subsino_state(const machine_config &mconfig, device_type type, const char *tag)
+ subsino_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_colorram(*this, "colorram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/drivers/subsino2.cpp b/src/mame/drivers/subsino2.cpp
index 62a727e4b8f..ec0aed454b7 100644
--- a/src/mame/drivers/subsino2.cpp
+++ b/src/mame/drivers/subsino2.cpp
@@ -78,7 +78,7 @@ struct layer_t
class subsino2_state : public driver_device
{
public:
- subsino2_state(const machine_config &mconfig, device_type type, const char *tag)
+ subsino2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_outputs16(*this, "outputs16"),
m_outputs(*this, "outputs"),
diff --git a/src/mame/drivers/summit.cpp b/src/mame/drivers/summit.cpp
index 9058af8401e..9622d4652d1 100644
--- a/src/mame/drivers/summit.cpp
+++ b/src/mame/drivers/summit.cpp
@@ -24,7 +24,7 @@ needs inputs, prom decode, sound, artwork (lamps), probably some irq masking and
class summit_state : public driver_device
{
public:
- summit_state(const machine_config &mconfig, device_type type, const char *tag)
+ summit_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_attr(*this, "attr"),
m_vram(*this, "vram"),
diff --git a/src/mame/drivers/sumt8035.cpp b/src/mame/drivers/sumt8035.cpp
index 9de2d25a847..4aac950f85e 100644
--- a/src/mame/drivers/sumt8035.cpp
+++ b/src/mame/drivers/sumt8035.cpp
@@ -19,7 +19,7 @@ hardware. We don't have the ROMs for that though.
class sumt8035_state : public driver_device
{
public:
- sumt8035_state(const machine_config &mconfig, device_type type, const char *tag)
+ sumt8035_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/sun1.cpp b/src/mame/drivers/sun1.cpp
index 7f8b109f207..8a9f492eb06 100644
--- a/src/mame/drivers/sun1.cpp
+++ b/src/mame/drivers/sun1.cpp
@@ -59,7 +59,7 @@
class sun1_state : public driver_device
{
public:
- sun1_state(const machine_config &mconfig, device_type type, const char *tag)
+ sun1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG),
diff --git a/src/mame/drivers/sun2.cpp b/src/mame/drivers/sun2.cpp
index 80862bcf5ec..7b7ca221219 100644
--- a/src/mame/drivers/sun2.cpp
+++ b/src/mame/drivers/sun2.cpp
@@ -78,7 +78,7 @@
class sun2_state : public driver_device
{
public:
- sun2_state(const machine_config &mconfig, device_type type, const char *tag)
+ sun2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
,
diff --git a/src/mame/drivers/sun3.cpp b/src/mame/drivers/sun3.cpp
index 00126ba93a9..7e41e2954d4 100644
--- a/src/mame/drivers/sun3.cpp
+++ b/src/mame/drivers/sun3.cpp
@@ -304,7 +304,7 @@
class sun3_state : public driver_device
{
public:
- sun3_state(const machine_config &mconfig, device_type type, const char *tag)
+ sun3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_scc1(*this, SCC1_TAG),
diff --git a/src/mame/drivers/sun4.cpp b/src/mame/drivers/sun4.cpp
index 91c0edf530f..5e117a73a84 100644
--- a/src/mame/drivers/sun4.cpp
+++ b/src/mame/drivers/sun4.cpp
@@ -392,7 +392,7 @@
class sun4_state : public driver_device
{
public:
- sun4_state(const machine_config &mconfig, device_type type, const char *tag)
+ sun4_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/supdrapo.cpp b/src/mame/drivers/supdrapo.cpp
index 447e0736208..9fcf5d579aa 100644
--- a/src/mame/drivers/supdrapo.cpp
+++ b/src/mame/drivers/supdrapo.cpp
@@ -70,7 +70,7 @@
class supdrapo_state : public driver_device
{
public:
- supdrapo_state(const machine_config &mconfig, device_type type, const char *tag)
+ supdrapo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/supduck.cpp b/src/mame/drivers/supduck.cpp
index 1c297de8966..a0f0f7c9bd7 100644
--- a/src/mame/drivers/supduck.cpp
+++ b/src/mame/drivers/supduck.cpp
@@ -31,7 +31,7 @@ All clock timing comes from crystal 1
class supduck_state : public driver_device
{
public:
- supduck_state(const machine_config &mconfig, device_type type, const char *tag)
+ supduck_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/supercon.cpp b/src/mame/drivers/supercon.cpp
index be2198189f1..97e8ef20821 100644
--- a/src/mame/drivers/supercon.cpp
+++ b/src/mame/drivers/supercon.cpp
@@ -27,7 +27,7 @@
class supercon_state : public driver_device
{
public:
- supercon_state(const machine_config &mconfig, device_type type, const char *tag)
+ supercon_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_beep(*this, "beeper"),
diff --git a/src/mame/drivers/supercrd.cpp b/src/mame/drivers/supercrd.cpp
index d76082e7266..1aa7b9cc67a 100644
--- a/src/mame/drivers/supercrd.cpp
+++ b/src/mame/drivers/supercrd.cpp
@@ -174,7 +174,7 @@
class supercrd_state : public driver_device
{
public:
- supercrd_state(const machine_config &mconfig, device_type type, const char *tag)
+ supercrd_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/superdq.cpp b/src/mame/drivers/superdq.cpp
index 800684765ee..c5dd0bb2801 100644
--- a/src/mame/drivers/superdq.cpp
+++ b/src/mame/drivers/superdq.cpp
@@ -31,7 +31,7 @@
class superdq_state : public driver_device
{
public:
- superdq_state(const machine_config &mconfig, device_type type, const char *tag)
+ superdq_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_laserdisc(*this, "laserdisc") ,
m_videoram(*this, "videoram"),
diff --git a/src/mame/drivers/supertnk.cpp b/src/mame/drivers/supertnk.cpp
index 938ab46a2fc..633d00f5085 100644
--- a/src/mame/drivers/supertnk.cpp
+++ b/src/mame/drivers/supertnk.cpp
@@ -110,7 +110,7 @@ CRU lines:
class supertnk_state : public driver_device
{
public:
- supertnk_state(const machine_config &mconfig, device_type type, const char *tag)
+ supertnk_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/superwng.cpp b/src/mame/drivers/superwng.cpp
index cf599bd80dd..f4bd6b7c623 100644
--- a/src/mame/drivers/superwng.cpp
+++ b/src/mame/drivers/superwng.cpp
@@ -41,7 +41,7 @@ TODO:
class superwng_state : public driver_device
{
public:
- superwng_state(const machine_config &mconfig, device_type type, const char *tag)
+ superwng_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/supracan.cpp b/src/mame/drivers/supracan.cpp
index b342c846295..872ef866cc3 100644
--- a/src/mame/drivers/supracan.cpp
+++ b/src/mame/drivers/supracan.cpp
@@ -116,7 +116,7 @@ struct acan_sprdma_regs_t
class supracan_state : public driver_device
{
public:
- supracan_state(const machine_config &mconfig, device_type type, const char *tag)
+ supracan_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
@@ -222,7 +222,7 @@ public:
TIMER_CALLBACK_MEMBER(supracan_line_off_callback);
TIMER_CALLBACK_MEMBER(supracan_video_callback);
DECLARE_DEVICE_IMAGE_LOAD_MEMBER(supracan_cart);
- inline void verboselog(const char *tag, int n_level, const char *s_fmt, ...) ATTR_PRINTF(4,5);
+ inline void verboselog(std::string tag, int n_level, const char *s_fmt, ...) ATTR_PRINTF(4,5);
int supracan_tilemap_get_region(int layer);
void supracan_tilemap_get_info_common(int layer, tile_data &tileinfo, int count);
void supracan_tilemap_get_info_roz(int layer, tile_data &tileinfo, int count);
@@ -236,7 +236,7 @@ public:
-inline void supracan_state::verboselog(const char *tag, int n_level, const char *s_fmt, ...)
+inline void supracan_state::verboselog(std::string tag, int n_level, const char *s_fmt, ...)
{
#if ENABLE_VERBOSE_LOG
if( VERBOSE_LEVEL >= n_level )
@@ -246,7 +246,7 @@ inline void supracan_state::verboselog(const char *tag, int n_level, const char
va_start( v, s_fmt );
vsprintf( buf, s_fmt, v );
va_end( v );
- logerror( "%06x: %s: %s", machine().device(tag)->safe_pc(), tag, buf );
+ logerror( "%06x: %s: %s", machine().device(tag)->safe_pc(), tag.c_str(), buf );
}
#endif
}
diff --git a/src/mame/drivers/suprgolf.cpp b/src/mame/drivers/suprgolf.cpp
index c83dbb32a0c..4e6b3770e8c 100644
--- a/src/mame/drivers/suprgolf.cpp
+++ b/src/mame/drivers/suprgolf.cpp
@@ -31,7 +31,7 @@
class suprgolf_state : public driver_device
{
public:
- suprgolf_state(const machine_config &mconfig, device_type type, const char *tag)
+ suprgolf_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_msm(*this, "msm"),
diff --git a/src/mame/drivers/suprnova.cpp b/src/mame/drivers/suprnova.cpp
index 95d08b082c5..e89caa7259c 100644
--- a/src/mame/drivers/suprnova.cpp
+++ b/src/mame/drivers/suprnova.cpp
@@ -456,7 +456,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(skns_state::skns_irq)
CUSTOM_INPUT_MEMBER(skns_state::paddle_r)
{
- const char *tag = (const char *)param;
+ std::string tag = (const char *)param;
return ioport(tag)->read();
}
diff --git a/src/mame/drivers/sv8000.cpp b/src/mame/drivers/sv8000.cpp
index dcb9db8cec5..8c61fc1d78e 100644
--- a/src/mame/drivers/sv8000.cpp
+++ b/src/mame/drivers/sv8000.cpp
@@ -37,7 +37,7 @@ Looking at the code of the cartridges it seems there is:
class sv8000_state : public driver_device
{
public:
- sv8000_state(const machine_config &mconfig, device_type type, const char *tag)
+ sv8000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_s68047p(*this, "s68047p")
diff --git a/src/mame/drivers/svmu.cpp b/src/mame/drivers/svmu.cpp
index da2ff7e3765..74000caa19f 100644
--- a/src/mame/drivers/svmu.cpp
+++ b/src/mame/drivers/svmu.cpp
@@ -26,7 +26,7 @@
class svmu_state : public driver_device
{
public:
- svmu_state(const machine_config &mconfig, device_type type, const char *tag)
+ svmu_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_flash(*this, "flash"),
diff --git a/src/mame/drivers/swtpc.cpp b/src/mame/drivers/swtpc.cpp
index f36476d6a62..382bd7af65c 100644
--- a/src/mame/drivers/swtpc.cpp
+++ b/src/mame/drivers/swtpc.cpp
@@ -49,7 +49,7 @@ Z Goto Prom (0xC000)
class swtpc_state : public driver_device
{
public:
- swtpc_state(const machine_config &mconfig, device_type type, const char *tag)
+ swtpc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/swyft.cpp b/src/mame/drivers/swyft.cpp
index 27827228b3b..2383362d21e 100644
--- a/src/mame/drivers/swyft.cpp
+++ b/src/mame/drivers/swyft.cpp
@@ -296,7 +296,7 @@ ToDo:
class swyft_state : public driver_device
{
public:
- swyft_state(const machine_config &mconfig, device_type type, const char *tag)
+ swyft_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ctx(*this, "ctx"),
diff --git a/src/mame/drivers/sym1.cpp b/src/mame/drivers/sym1.cpp
index 231703d1df1..3587635b4aa 100644
--- a/src/mame/drivers/sym1.cpp
+++ b/src/mame/drivers/sym1.cpp
@@ -33,7 +33,7 @@
class sym1_state : public driver_device
{
public:
- sym1_state(const machine_config &mconfig, device_type type, const char *tag)
+ sym1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ram_1k(*this, "ram_1k"),
m_ram_2k(*this, "ram_2k"),
diff --git a/src/mame/drivers/sys2900.cpp b/src/mame/drivers/sys2900.cpp
index 848ec90ff58..9934419f601 100644
--- a/src/mame/drivers/sys2900.cpp
+++ b/src/mame/drivers/sys2900.cpp
@@ -47,7 +47,7 @@ public:
TIMER_BOOT
};
- sys2900_state(const machine_config &mconfig, device_type type, const char *tag)
+ sys2900_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/systec.cpp b/src/mame/drivers/systec.cpp
index de504cfa90e..d87257355cd 100644
--- a/src/mame/drivers/systec.cpp
+++ b/src/mame/drivers/systec.cpp
@@ -42,7 +42,7 @@
class systec_state : public driver_device
{
public:
- systec_state(const machine_config &mconfig, device_type type, const char *tag)
+ systec_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/taito.cpp b/src/mame/drivers/taito.cpp
index 74ed96d8703..774498c3e02 100644
--- a/src/mame/drivers/taito.cpp
+++ b/src/mame/drivers/taito.cpp
@@ -53,7 +53,7 @@ ToDO:
class taito_state : public genpin_class
{
public:
- taito_state(const machine_config &mconfig, device_type type, const char *tag)
+ taito_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_cpu2(*this, "audiocpu")
diff --git a/src/mame/drivers/taito_z.cpp b/src/mame/drivers/taito_z.cpp
index 16fbc1beb8c..084b752f707 100644
--- a/src/mame/drivers/taito_z.cpp
+++ b/src/mame/drivers/taito_z.cpp
@@ -1104,7 +1104,7 @@ WRITE16_MEMBER(taitoz_state::spacegun_output_bypass_w)
CUSTOM_INPUT_MEMBER(taitoz_state::taitoz_pedal_r)
{
static const UINT8 retval[8] = { 0,1,3,2,6,7,5,4 };
- const char *tag = (const char *)param;
+ std::string tag = (const char *)param;
return retval[read_safe(ioport(tag), 0) & 7];
}
diff --git a/src/mame/drivers/taitogn.cpp b/src/mame/drivers/taitogn.cpp
index 1077996e020..e7701789710 100644
--- a/src/mame/drivers/taitogn.cpp
+++ b/src/mame/drivers/taitogn.cpp
@@ -346,7 +346,7 @@ Type 3 (PCMCIA Compact Flash Adaptor + Compact Flash card, sealed together with
class taitogn_state : public driver_device
{
public:
- taitogn_state(const machine_config &mconfig, device_type type, const char *tag) :
+ taitogn_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_sio0(*this, "maincpu:sio0"),
m_cat702_1(*this, "cat702_1"),
diff --git a/src/mame/drivers/taitopjc.cpp b/src/mame/drivers/taitopjc.cpp
index c9e6807add9..dcb6434add3 100644
--- a/src/mame/drivers/taitopjc.cpp
+++ b/src/mame/drivers/taitopjc.cpp
@@ -98,7 +98,7 @@
class taitopjc_state : public driver_device
{
public:
- taitopjc_state(const machine_config &mconfig, device_type type, const char *tag)
+ taitopjc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_iocpu(*this, "iocpu"),
diff --git a/src/mame/drivers/taitottl.cpp b/src/mame/drivers/taitottl.cpp
index c8dda24ca9f..8d66b5ece4f 100644
--- a/src/mame/drivers/taitottl.cpp
+++ b/src/mame/drivers/taitottl.cpp
@@ -88,7 +88,7 @@
class taitottl_state : public driver_device
{
public:
- taitottl_state(const machine_config &mconfig, device_type type, const char *tag)
+ taitottl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_video(*this, "fixfreq")
diff --git a/src/mame/drivers/taitotx.cpp b/src/mame/drivers/taitotx.cpp
index 1e45b8e9422..d56aa687645 100644
--- a/src/mame/drivers/taitotx.cpp
+++ b/src/mame/drivers/taitotx.cpp
@@ -122,7 +122,7 @@
class taito_type_x_state : public driver_device
{
public:
- taito_type_x_state(const machine_config &mconfig, device_type type, const char *tag)
+ taito_type_x_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/taitotz.cpp b/src/mame/drivers/taitotz.cpp
index 8f52dab25ed..5f662ab4ab7 100644
--- a/src/mame/drivers/taitotz.cpp
+++ b/src/mame/drivers/taitotz.cpp
@@ -538,7 +538,7 @@ class taitotz_renderer;
class taitotz_state : public driver_device
{
public:
- taitotz_state(const machine_config &mconfig, device_type type, const char *tag)
+ taitotz_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_iocpu(*this, "iocpu"),
diff --git a/src/mame/drivers/taitowlf.cpp b/src/mame/drivers/taitowlf.cpp
index eba6d93fed2..ff7c842fbf8 100644
--- a/src/mame/drivers/taitowlf.cpp
+++ b/src/mame/drivers/taitowlf.cpp
@@ -39,7 +39,7 @@ clocks 50MHz (near 3DFX) and 14.31818MHz (near RAMDAC)
class taitowlf_state : public pcat_base_state
{
public:
- taitowlf_state(const machine_config &mconfig, device_type type, const char *tag)
+ taitowlf_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag),
m_bootscreen_rom(*this, "bootscreen"),
m_bank1(*this, "bank1"),
diff --git a/src/mame/drivers/tamag1.cpp b/src/mame/drivers/tamag1.cpp
index 1275d33f0c7..d260ba91f34 100644
--- a/src/mame/drivers/tamag1.cpp
+++ b/src/mame/drivers/tamag1.cpp
@@ -18,7 +18,7 @@
class tamag1_state : public driver_device
{
public:
- tamag1_state(const machine_config &mconfig, device_type type, const char *tag)
+ tamag1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker")
diff --git a/src/mame/drivers/tandy1t.cpp b/src/mame/drivers/tandy1t.cpp
index 3ba893c7610..4da19fbfc2e 100644
--- a/src/mame/drivers/tandy1t.cpp
+++ b/src/mame/drivers/tandy1t.cpp
@@ -47,7 +47,7 @@ Tandy 1000 (80386) variations:
class tandy1000_state : public driver_device
{
public:
- tandy1000_state(const machine_config &mconfig, device_type type, const char *tag)
+ tandy1000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_romcs0(*this, "romcs0")
diff --git a/src/mame/drivers/tapatune.cpp b/src/mame/drivers/tapatune.cpp
index e02844b555f..8d4da5a660d 100644
--- a/src/mame/drivers/tapatune.cpp
+++ b/src/mame/drivers/tapatune.cpp
@@ -52,7 +52,7 @@
class tapatune_state : public driver_device
{
public:
- tapatune_state(const machine_config &mconfig, device_type type, const char *tag)
+ tapatune_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_videocpu(*this, "videocpu"),
diff --git a/src/mame/drivers/tasman.cpp b/src/mame/drivers/tasman.cpp
index a9c65694c9b..ccec37f5450 100644
--- a/src/mame/drivers/tasman.cpp
+++ b/src/mame/drivers/tasman.cpp
@@ -31,7 +31,7 @@
class kongambl_state : public konamigx_state // with everything devicified there's probably not much point in inheriting the GX state.
{
public:
- kongambl_state(const machine_config &mconfig, device_type type, const char *tag)
+ kongambl_state(const machine_config &mconfig, device_type type, std::string tag)
: konamigx_state(mconfig, type, tag),
m_vram(*this, "vram")
{ }
diff --git a/src/mame/drivers/tattack.cpp b/src/mame/drivers/tattack.cpp
index 71c2b5fba29..d652c617423 100644
--- a/src/mame/drivers/tattack.cpp
+++ b/src/mame/drivers/tattack.cpp
@@ -27,7 +27,7 @@
class tattack_state : public driver_device
{
public:
- tattack_state(const machine_config &mconfig, device_type type, const char *tag)
+ tattack_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/drivers/tavernie.cpp b/src/mame/drivers/tavernie.cpp
index 4733eacb843..7414675058e 100644
--- a/src/mame/drivers/tavernie.cpp
+++ b/src/mame/drivers/tavernie.cpp
@@ -67,7 +67,7 @@ Z - more scan lines per row (cursor is bigger)
class tavernie_state : public driver_device
{
public:
- tavernie_state(const machine_config &mconfig, device_type type, const char *tag) :
+ tavernie_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_p_videoram(*this, "videoram"),
m_cass(*this, "cassette"),
diff --git a/src/mame/drivers/tb303.cpp b/src/mame/drivers/tb303.cpp
index 6788bb1257d..82431a736a7 100644
--- a/src/mame/drivers/tb303.cpp
+++ b/src/mame/drivers/tb303.cpp
@@ -22,7 +22,7 @@
class tb303_state : public hh_ucom4_state
{
public:
- tb303_state(const machine_config &mconfig, device_type type, const char *tag)
+ tb303_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_ucom4_state(mconfig, type, tag),
m_t3_off_timer(*this, "t3_off")
{ }
diff --git a/src/mame/drivers/tcl.cpp b/src/mame/drivers/tcl.cpp
index cf5fe80f93a..b92747ae63f 100644
--- a/src/mame/drivers/tcl.cpp
+++ b/src/mame/drivers/tcl.cpp
@@ -51,7 +51,7 @@ Notes:
class tcl_state : public driver_device
{
public:
- tcl_state(const machine_config &mconfig, device_type type, const char *tag)
+ tcl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/tec1.cpp b/src/mame/drivers/tec1.cpp
index 99714f7e97a..9dbcaaf376e 100644
--- a/src/mame/drivers/tec1.cpp
+++ b/src/mame/drivers/tec1.cpp
@@ -82,7 +82,7 @@ JMON ToDo:
class tec1_state : public driver_device
{
public:
- tec1_state(const machine_config &mconfig, device_type type, const char *tag)
+ tec1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker"),
diff --git a/src/mame/drivers/techno.cpp b/src/mame/drivers/techno.cpp
index 7448583160b..e7926eeb245 100644
--- a/src/mame/drivers/techno.cpp
+++ b/src/mame/drivers/techno.cpp
@@ -22,7 +22,7 @@ ToDo:
class techno_state : public driver_device
{
public:
- techno_state(const machine_config &mconfig, device_type type, const char *tag)
+ techno_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_switch(*this, "SWITCH")
diff --git a/src/mame/drivers/tecnbras.cpp b/src/mame/drivers/tecnbras.cpp
index 0d566901141..12cb87e492d 100644
--- a/src/mame/drivers/tecnbras.cpp
+++ b/src/mame/drivers/tecnbras.cpp
@@ -26,7 +26,7 @@
class tecnbras_state : public driver_device
{
public:
- tecnbras_state(const machine_config &mconfig, device_type type, const char *tag)
+ tecnbras_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/tek410x.cpp b/src/mame/drivers/tek410x.cpp
index b4677554dff..0bee49b90ef 100644
--- a/src/mame/drivers/tek410x.cpp
+++ b/src/mame/drivers/tek410x.cpp
@@ -26,7 +26,7 @@
class tek4107a_state : public driver_device
{
public:
- tek4107a_state(const machine_config &mconfig, device_type type, const char *tag)
+ tek4107a_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) { }
virtual void machine_start() override;
diff --git a/src/mame/drivers/tekxp33x.cpp b/src/mame/drivers/tekxp33x.cpp
index 5e90c391c22..24f61d03b37 100644
--- a/src/mame/drivers/tekxp33x.cpp
+++ b/src/mame/drivers/tekxp33x.cpp
@@ -44,7 +44,7 @@
class tekxp330_state : public driver_device
{
public:
- tekxp330_state(const machine_config &mconfig, device_type type, const char *tag)
+ tekxp330_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) { }
virtual void machine_start() override;
diff --git a/src/mame/drivers/tempest.cpp b/src/mame/drivers/tempest.cpp
index 514f705cdbf..994d27b5865 100644
--- a/src/mame/drivers/tempest.cpp
+++ b/src/mame/drivers/tempest.cpp
@@ -295,7 +295,7 @@ Note: Roms for Tempest Analog Vector-Generator PCB Assembly A037383-03 or A03738
class tempest_state : public driver_device
{
public:
- tempest_state(const machine_config &mconfig, device_type type, const char *tag)
+ tempest_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mathbox(*this, "mathbox"),
diff --git a/src/mame/drivers/terak.cpp b/src/mame/drivers/terak.cpp
index 714a2d3fcfb..f192ed613cc 100644
--- a/src/mame/drivers/terak.cpp
+++ b/src/mame/drivers/terak.cpp
@@ -14,7 +14,7 @@
class terak_state : public driver_device
{
public:
- terak_state(const machine_config &mconfig, device_type type, const char *tag)
+ terak_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/test_t400.cpp b/src/mame/drivers/test_t400.cpp
index b577d3c77a4..c3e5afdfdd7 100644
--- a/src/mame/drivers/test_t400.cpp
+++ b/src/mame/drivers/test_t400.cpp
@@ -14,7 +14,7 @@
class t400_test_suite_state : public driver_device
{
public:
- t400_test_suite_state(const machine_config &mconfig, device_type type, const char *tag)
+ t400_test_suite_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/tgtpanic.cpp b/src/mame/drivers/tgtpanic.cpp
index da033c37e05..f67d4834df4 100644
--- a/src/mame/drivers/tgtpanic.cpp
+++ b/src/mame/drivers/tgtpanic.cpp
@@ -18,7 +18,7 @@
class tgtpanic_state : public driver_device
{
public:
- tgtpanic_state(const machine_config &mconfig, device_type type, const char *tag)
+ tgtpanic_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_screen(*this, "screen"),
diff --git a/src/mame/drivers/thayers.cpp b/src/mame/drivers/thayers.cpp
index 88db79b9569..b8d864601d5 100644
--- a/src/mame/drivers/thayers.cpp
+++ b/src/mame/drivers/thayers.cpp
@@ -42,7 +42,7 @@ public:
TIMER_SSI263_PHONEME_TICK
};
- thayers_state(const machine_config &mconfig, device_type type, const char *tag)
+ thayers_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_pr7820(*this, "laserdisc"),
m_ldv1000(*this, "ldv1000"),
diff --git a/src/mame/drivers/thedealr.cpp b/src/mame/drivers/thedealr.cpp
index d6e9698474a..2c86fadfed1 100644
--- a/src/mame/drivers/thedealr.cpp
+++ b/src/mame/drivers/thedealr.cpp
@@ -37,7 +37,7 @@
class thedealr_state : public driver_device
{
public:
- thedealr_state(const machine_config &mconfig, device_type type, const char *tag)
+ thedealr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "subcpu"),
diff --git a/src/mame/drivers/ti630.cpp b/src/mame/drivers/ti630.cpp
index 910fecc3aae..4b09e2e6ded 100644
--- a/src/mame/drivers/ti630.cpp
+++ b/src/mame/drivers/ti630.cpp
@@ -42,7 +42,7 @@ It means we probably would have to emulate a modem device for it to treat commun
class ti630_state : public driver_device
{
public:
- ti630_state(const machine_config &mconfig, device_type type, const char *tag)
+ ti630_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_lcdc(*this, "hd44780")
diff --git a/src/mame/drivers/ti74.cpp b/src/mame/drivers/ti74.cpp
index 9c01b6ceea2..96502dfc9e0 100644
--- a/src/mame/drivers/ti74.cpp
+++ b/src/mame/drivers/ti74.cpp
@@ -84,7 +84,7 @@
class ti74_state : public driver_device
{
public:
- ti74_state(const machine_config &mconfig, device_type type, const char *tag)
+ ti74_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cart(*this, "cartslot"),
diff --git a/src/mame/drivers/ti990_10.cpp b/src/mame/drivers/ti990_10.cpp
index 58264bae51f..0ec7684f6a8 100644
--- a/src/mame/drivers/ti990_10.cpp
+++ b/src/mame/drivers/ti990_10.cpp
@@ -81,7 +81,7 @@ TODO :
class ti990_10_state : public driver_device
{
public:
- ti990_10_state(const machine_config &mconfig, device_type type, const char *tag)
+ ti990_10_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_intlines(0),
diff --git a/src/mame/drivers/ti990_4.cpp b/src/mame/drivers/ti990_4.cpp
index c922b662394..5fbde711493 100644
--- a/src/mame/drivers/ti990_4.cpp
+++ b/src/mame/drivers/ti990_4.cpp
@@ -50,7 +50,7 @@ TODO:
class ti990_4_state : public driver_device
{
public:
- ti990_4_state(const machine_config &mconfig, device_type type, const char *tag)
+ ti990_4_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_fd800(*this, "fd800") { }
diff --git a/src/mame/drivers/ti99_2.cpp b/src/mame/drivers/ti99_2.cpp
index 2eaf0250d68..3ee254090f3 100644
--- a/src/mame/drivers/ti99_2.cpp
+++ b/src/mame/drivers/ti99_2.cpp
@@ -86,7 +86,7 @@ would just have taken three extra tracks on the main board and a OR gate in an A
class ti99_2_state : public driver_device
{
public:
- ti99_2_state(const machine_config &mconfig, device_type type, const char *tag)
+ ti99_2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/ti99_4p.cpp b/src/mame/drivers/ti99_4p.cpp
index f934677565e..2459d674177 100644
--- a/src/mame/drivers/ti99_4p.cpp
+++ b/src/mame/drivers/ti99_4p.cpp
@@ -59,7 +59,7 @@
class ti99_4p_state : public driver_device
{
public:
- ti99_4p_state(const machine_config &mconfig, device_type type, const char *tag)
+ ti99_4p_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cpu(*this, "maincpu"),
m_tms9901(*this, TMS9901_TAG),
diff --git a/src/mame/drivers/ti99_4x.cpp b/src/mame/drivers/ti99_4x.cpp
index 2d9e11f4dc2..98c45d1fdda 100644
--- a/src/mame/drivers/ti99_4x.cpp
+++ b/src/mame/drivers/ti99_4x.cpp
@@ -66,7 +66,7 @@
class ti99_4x_state : public driver_device
{
public:
- ti99_4x_state(const machine_config &mconfig, device_type type, const char *tag)
+ ti99_4x_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cpu(*this, "maincpu"),
m_tms9901(*this, TMS9901_TAG),
diff --git a/src/mame/drivers/ti99_8.cpp b/src/mame/drivers/ti99_8.cpp
index 02d94b6614a..755f8e3c798 100644
--- a/src/mame/drivers/ti99_8.cpp
+++ b/src/mame/drivers/ti99_8.cpp
@@ -234,7 +234,7 @@ enum
class ti99_8_state : public driver_device
{
public:
- ti99_8_state(const machine_config &mconfig, device_type type, const char *tag)
+ ti99_8_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cpu(*this, "maincpu"),
m_tms9901(*this, TMS9901_TAG),
diff --git a/src/mame/drivers/ticalc1x.cpp b/src/mame/drivers/ticalc1x.cpp
index cbc16d3d7b2..714aa09b967 100644
--- a/src/mame/drivers/ticalc1x.cpp
+++ b/src/mame/drivers/ticalc1x.cpp
@@ -32,7 +32,7 @@
class ticalc1x_state : public hh_tms1k_state
{
public:
- ticalc1x_state(const machine_config &mconfig, device_type type, const char *tag)
+ ticalc1x_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -70,7 +70,7 @@ void ticalc1x_state::machine_start()
class tisr16_state : public ticalc1x_state
{
public:
- tisr16_state(const machine_config &mconfig, device_type type, const char *tag)
+ tisr16_state(const machine_config &mconfig, device_type type, std::string tag)
: ticalc1x_state(mconfig, type, tag)
{ }
@@ -302,7 +302,7 @@ MACHINE_CONFIG_END
class ti1250_state : public ticalc1x_state
{
public:
- ti1250_state(const machine_config &mconfig, device_type type, const char *tag)
+ ti1250_state(const machine_config &mconfig, device_type type, std::string tag)
: ticalc1x_state(mconfig, type, tag)
{ }
@@ -438,7 +438,7 @@ MACHINE_CONFIG_END
class ti1000_state : public ticalc1x_state
{
public:
- ti1000_state(const machine_config &mconfig, device_type type, const char *tag)
+ ti1000_state(const machine_config &mconfig, device_type type, std::string tag)
: ticalc1x_state(mconfig, type, tag)
{ }
@@ -535,7 +535,7 @@ MACHINE_CONFIG_END
class wizatron_state : public ticalc1x_state
{
public:
- wizatron_state(const machine_config &mconfig, device_type type, const char *tag)
+ wizatron_state(const machine_config &mconfig, device_type type, std::string tag)
: ticalc1x_state(mconfig, type, tag)
{ }
@@ -637,7 +637,7 @@ MACHINE_CONFIG_END
class lilprof_state : public wizatron_state
{
public:
- lilprof_state(const machine_config &mconfig, device_type type, const char *tag)
+ lilprof_state(const machine_config &mconfig, device_type type, std::string tag)
: wizatron_state(mconfig, type, tag)
{ }
@@ -711,7 +711,7 @@ MACHINE_CONFIG_END
class lilprof78_state : public ticalc1x_state
{
public:
- lilprof78_state(const machine_config &mconfig, device_type type, const char *tag)
+ lilprof78_state(const machine_config &mconfig, device_type type, std::string tag)
: ticalc1x_state(mconfig, type, tag)
{ }
@@ -821,7 +821,7 @@ MACHINE_CONFIG_END
class dataman_state : public ticalc1x_state
{
public:
- dataman_state(const machine_config &mconfig, device_type type, const char *tag)
+ dataman_state(const machine_config &mconfig, device_type type, std::string tag)
: ticalc1x_state(mconfig, type, tag)
{ }
@@ -946,7 +946,7 @@ MACHINE_CONFIG_END
class ti30_state : public ticalc1x_state
{
public:
- ti30_state(const machine_config &mconfig, device_type type, const char *tag)
+ ti30_state(const machine_config &mconfig, device_type type, std::string tag)
: ticalc1x_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/tickee.cpp b/src/mame/drivers/tickee.cpp
index 3d1f78faa9d..ad49e9050c4 100644
--- a/src/mame/drivers/tickee.cpp
+++ b/src/mame/drivers/tickee.cpp
@@ -40,7 +40,7 @@ public:
TIMER_SETUP_GUN_INTERRUPTS
};
- tickee_state(const machine_config &mconfig, device_type type, const char *tag)
+ tickee_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_oki(*this, "oki"),
diff --git a/src/mame/drivers/tim011.cpp b/src/mame/drivers/tim011.cpp
index 42e644bba84..42f0a887f6a 100644
--- a/src/mame/drivers/tim011.cpp
+++ b/src/mame/drivers/tim011.cpp
@@ -17,7 +17,7 @@
class tim011_state : public driver_device
{
public:
- tim011_state(const machine_config &mconfig, device_type type, const char *tag)
+ tim011_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_fdc(*this, FDC9266_TAG),
diff --git a/src/mame/drivers/tim100.cpp b/src/mame/drivers/tim100.cpp
index d21b88dabb4..0de2be552b2 100644
--- a/src/mame/drivers/tim100.cpp
+++ b/src/mame/drivers/tim100.cpp
@@ -17,7 +17,7 @@
class tim100_state : public driver_device
{
public:
- tim100_state(const machine_config &mconfig, device_type type, const char *tag)
+ tim100_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette")
diff --git a/src/mame/drivers/timetrv.cpp b/src/mame/drivers/timetrv.cpp
index c3677eb3b2d..47d477454de 100644
--- a/src/mame/drivers/timetrv.cpp
+++ b/src/mame/drivers/timetrv.cpp
@@ -32,7 +32,7 @@ CPU is an Intel 80188
class timetrv_state : public driver_device
{
public:
- timetrv_state(const machine_config &mconfig, device_type type, const char *tag)
+ timetrv_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_led_vram_lo(*this, "led_vralo"),
m_led_vram_hi(*this, "led_vrahi"),
diff --git a/src/mame/drivers/tispeak.cpp b/src/mame/drivers/tispeak.cpp
index 6726b44f29e..f4828822d2f 100644
--- a/src/mame/drivers/tispeak.cpp
+++ b/src/mame/drivers/tispeak.cpp
@@ -384,7 +384,7 @@ Language Tutor modules:
class tispeak_state : public hh_tms1k_state
{
public:
- tispeak_state(const machine_config &mconfig, device_type type, const char *tag)
+ tispeak_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag),
m_tms5100(*this, "tms5100"),
m_tms6100(*this, "tms6100"),
diff --git a/src/mame/drivers/tispellb.cpp b/src/mame/drivers/tispellb.cpp
index 0afe81d0a49..bc8f7e1b196 100644
--- a/src/mame/drivers/tispellb.cpp
+++ b/src/mame/drivers/tispellb.cpp
@@ -65,7 +65,7 @@
class tispellb_state : public hh_tms1k_state
{
public:
- tispellb_state(const machine_config &mconfig, device_type type, const char *tag)
+ tispellb_state(const machine_config &mconfig, device_type type, std::string tag)
: hh_tms1k_state(mconfig, type, tag),
m_subcpu(*this, "subcpu"),
m_tms6100(*this, "tms6100")
diff --git a/src/mame/drivers/tk2000.cpp b/src/mame/drivers/tk2000.cpp
index 8af716b28a9..54d2e4aa2b6 100644
--- a/src/mame/drivers/tk2000.cpp
+++ b/src/mame/drivers/tk2000.cpp
@@ -34,7 +34,7 @@
class tk2000_state : public driver_device
{
public:
- tk2000_state(const machine_config &mconfig, device_type type, const char *tag)
+ tk2000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, A2_CPU_TAG),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/drivers/tk80.cpp b/src/mame/drivers/tk80.cpp
index b7872fc2d8f..64cdf623da5 100644
--- a/src/mame/drivers/tk80.cpp
+++ b/src/mame/drivers/tk80.cpp
@@ -56,7 +56,7 @@ ICS8080
class tk80_state : public driver_device
{
public:
- tk80_state(const machine_config &mconfig, device_type type, const char *tag)
+ tk80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/tk80bs.cpp b/src/mame/drivers/tk80bs.cpp
index 99d6f1f1db5..51f4d556ce5 100644
--- a/src/mame/drivers/tk80bs.cpp
+++ b/src/mame/drivers/tk80bs.cpp
@@ -32,7 +32,7 @@ TODO:
class tk80bs_state : public driver_device
{
public:
- tk80bs_state(const machine_config &mconfig, device_type type, const char *tag)
+ tk80bs_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_p_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/tm990189.cpp b/src/mame/drivers/tm990189.cpp
index 033e9f8fa1a..2b359f513fe 100644
--- a/src/mame/drivers/tm990189.cpp
+++ b/src/mame/drivers/tm990189.cpp
@@ -76,7 +76,7 @@
class tm990189_state : public driver_device
{
public:
- tm990189_state(const machine_config &mconfig, device_type type, const char *tag)
+ tm990189_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_tms9980a(*this, "maincpu"),
m_speaker(*this, "speaker"),
@@ -429,7 +429,7 @@ class tm990_189_rs232_image_device : public device_t,
{
public:
// construction/destruction
- tm990_189_rs232_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tm990_189_rs232_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// image-level overrides
virtual iodevice_t image_type() const override { return IO_SERIAL; }
@@ -455,7 +455,7 @@ protected:
const device_type TM990_189_RS232 = &device_creator<tm990_189_rs232_image_device>;
-tm990_189_rs232_image_device::tm990_189_rs232_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tm990_189_rs232_image_device::tm990_189_rs232_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TM990_189_RS232, "TM990/189 RS232 port", tag, owner, clock, "tm990_189_rs232_image", __FILE__),
device_image_interface(mconfig, *this)
{
diff --git a/src/mame/drivers/tmaster.cpp b/src/mame/drivers/tmaster.cpp
index 40858fa6df1..5a339b4fd29 100644
--- a/src/mame/drivers/tmaster.cpp
+++ b/src/mame/drivers/tmaster.cpp
@@ -121,7 +121,7 @@ To Do:
class tmaster_state : public driver_device
{
public:
- tmaster_state(const machine_config &mconfig, device_type type, const char *tag)
+ tmaster_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_microtouch(*this,"microtouch"),
diff --git a/src/mame/drivers/tmmjprd.cpp b/src/mame/drivers/tmmjprd.cpp
index 358867c6e82..c51c0b82e82 100644
--- a/src/mame/drivers/tmmjprd.cpp
+++ b/src/mame/drivers/tmmjprd.cpp
@@ -39,7 +39,7 @@
class tmmjprd_state : public driver_device
{
public:
- tmmjprd_state(const machine_config &mconfig, device_type type, const char *tag)
+ tmmjprd_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_eeprom(*this, "eeprom"),
diff --git a/src/mame/drivers/tmspoker.cpp b/src/mame/drivers/tmspoker.cpp
index 70351f63c69..74a921d4f0b 100644
--- a/src/mame/drivers/tmspoker.cpp
+++ b/src/mame/drivers/tmspoker.cpp
@@ -219,7 +219,7 @@
class tmspoker_state : public driver_device
{
public:
- tmspoker_state(const machine_config &mconfig, device_type type, const char *tag)
+ tmspoker_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/tokyocop.cpp b/src/mame/drivers/tokyocop.cpp
index 4f28338400d..62889ca6a7b 100644
--- a/src/mame/drivers/tokyocop.cpp
+++ b/src/mame/drivers/tokyocop.cpp
@@ -29,7 +29,7 @@ I/O Board with Altera Flex EPF15K50EQC240-3
class tokyocop_state : public driver_device
{
public:
- tokyocop_state(const machine_config &mconfig, device_type type, const char *tag)
+ tokyocop_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/tomcat.cpp b/src/mame/drivers/tomcat.cpp
index 4b3919afdc1..a40b3db2e14 100644
--- a/src/mame/drivers/tomcat.cpp
+++ b/src/mame/drivers/tomcat.cpp
@@ -42,7 +42,7 @@
class tomcat_state : public driver_device
{
public:
- tomcat_state(const machine_config &mconfig, device_type type, const char *tag)
+ tomcat_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_tms(*this, "tms"),
m_shared_ram(*this, "shared_ram"),
diff --git a/src/mame/drivers/tonton.cpp b/src/mame/drivers/tonton.cpp
index 36770d448a8..27966982f13 100644
--- a/src/mame/drivers/tonton.cpp
+++ b/src/mame/drivers/tonton.cpp
@@ -33,7 +33,7 @@
class tonton_state : public driver_device
{
public:
- tonton_state(const machine_config &mconfig, device_type type, const char *tag)
+ tonton_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_v9938(*this, "v9938"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/topspeed.cpp b/src/mame/drivers/topspeed.cpp
index e265b3130f4..826912e3986 100644
--- a/src/mame/drivers/topspeed.cpp
+++ b/src/mame/drivers/topspeed.cpp
@@ -207,7 +207,7 @@ READ8_MEMBER(topspeed_state::input_bypass_r)
CUSTOM_INPUT_MEMBER(topspeed_state::pedal_r)
{
static const UINT8 retval[8] = { 0,1,3,2,6,7,5,4 };
- const char *tag = (const char *)param;
+ std::string tag = (const char *)param;
return retval[read_safe(ioport(tag), 0) & 7];
}
diff --git a/src/mame/drivers/toratora.cpp b/src/mame/drivers/toratora.cpp
index b422680e6f9..ff7cda5b6c9 100644
--- a/src/mame/drivers/toratora.cpp
+++ b/src/mame/drivers/toratora.cpp
@@ -28,7 +28,7 @@ TODO:
class toratora_state : public driver_device
{
public:
- toratora_state(const machine_config &mconfig, device_type type, const char *tag)
+ toratora_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/tourtabl.cpp b/src/mame/drivers/tourtabl.cpp
index c2b2fa57696..5aad75b35b5 100644
--- a/src/mame/drivers/tourtabl.cpp
+++ b/src/mame/drivers/tourtabl.cpp
@@ -18,7 +18,7 @@
class tourtabl_state : public driver_device
{
public:
- tourtabl_state(const machine_config &mconfig, device_type type, const char *tag)
+ tourtabl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/tourvis.cpp b/src/mame/drivers/tourvis.cpp
index ca1a7f1fc9f..4f79ef62292 100644
--- a/src/mame/drivers/tourvis.cpp
+++ b/src/mame/drivers/tourvis.cpp
@@ -258,7 +258,7 @@ I can't tell ATM if units are seconds (even if values in tables seem very relate
class tourvision_state : public pce_common_state
{
public:
- tourvision_state(const machine_config &mconfig, device_type type, const char *tag)
+ tourvision_state(const machine_config &mconfig, device_type type, std::string tag)
: pce_common_state(mconfig, type, tag),
m_subcpu(*this, "subcpu") { }
diff --git a/src/mame/drivers/tricep.cpp b/src/mame/drivers/tricep.cpp
index ecadeb6667d..8e04cfb485f 100644
--- a/src/mame/drivers/tricep.cpp
+++ b/src/mame/drivers/tricep.cpp
@@ -17,7 +17,7 @@
class tricep_state : public driver_device
{
public:
- tricep_state(const machine_config &mconfig, device_type type, const char *tag)
+ tricep_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/triforce.cpp b/src/mame/drivers/triforce.cpp
index a433cce2c09..68b99351089 100644
--- a/src/mame/drivers/triforce.cpp
+++ b/src/mame/drivers/triforce.cpp
@@ -443,7 +443,7 @@ Notes:
class triforce_state : public driver_device
{
public:
- triforce_state(const machine_config &mconfig, device_type type, const char *tag)
+ triforce_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/trvmadns.cpp b/src/mame/drivers/trvmadns.cpp
index aabba09848a..89723355948 100644
--- a/src/mame/drivers/trvmadns.cpp
+++ b/src/mame/drivers/trvmadns.cpp
@@ -95,7 +95,7 @@ Technology = NMOS
class trvmadns_state : public driver_device
{
public:
- trvmadns_state(const machine_config &mconfig, device_type type, const char *tag)
+ trvmadns_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_gfxram(*this, "gfxram"),
m_tileram(*this, "tileram"),
diff --git a/src/mame/drivers/ts802.cpp b/src/mame/drivers/ts802.cpp
index 19680c956cb..d8c20c27769 100644
--- a/src/mame/drivers/ts802.cpp
+++ b/src/mame/drivers/ts802.cpp
@@ -35,7 +35,7 @@
class ts802_state : public driver_device
{
public:
- ts802_state(const machine_config &mconfig, device_type type, const char *tag)
+ ts802_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/ts803.cpp b/src/mame/drivers/ts803.cpp
index 7c8eec2f7ae..e2395816abc 100644
--- a/src/mame/drivers/ts803.cpp
+++ b/src/mame/drivers/ts803.cpp
@@ -61,7 +61,7 @@ PAGE SEL bit in PORT0 set to 1:
class ts803_state : public driver_device
{
public:
- ts803_state(const machine_config &mconfig, device_type type, const char *tag)
+ ts803_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_palette(*this, "palette")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/ts816.cpp b/src/mame/drivers/ts816.cpp
index 6bf818a2163..88f17d88332 100644
--- a/src/mame/drivers/ts816.cpp
+++ b/src/mame/drivers/ts816.cpp
@@ -19,7 +19,7 @@
class ts816_state : public driver_device
{
public:
- ts816_state(const machine_config &mconfig, device_type type, const char *tag)
+ ts816_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/ttchamp.cpp b/src/mame/drivers/ttchamp.cpp
index 8021db87042..d8919696780 100644
--- a/src/mame/drivers/ttchamp.cpp
+++ b/src/mame/drivers/ttchamp.cpp
@@ -75,7 +75,7 @@ we currently simulate this as the PIC is read protected.
class ttchamp_state : public driver_device
{
public:
- ttchamp_state(const machine_config &mconfig, device_type type, const char *tag)
+ ttchamp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette") { }
diff --git a/src/mame/drivers/tugboat.cpp b/src/mame/drivers/tugboat.cpp
index 0fd80a9e45d..71c89ed81b1 100644
--- a/src/mame/drivers/tugboat.cpp
+++ b/src/mame/drivers/tugboat.cpp
@@ -39,7 +39,7 @@ public:
TIMER_INTERRUPT
};
- tugboat_state(const machine_config &mconfig, device_type type, const char *tag)
+ tugboat_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/turrett.cpp b/src/mame/drivers/turrett.cpp
index a37bf36cfe2..807a4129f0b 100644
--- a/src/mame/drivers/turrett.cpp
+++ b/src/mame/drivers/turrett.cpp
@@ -322,7 +322,7 @@ extern const device_type TURRETT_HARDDISK;
class turrett_hdd : public ide_hdd_device
{
public:
- turrett_hdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ turrett_hdd(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: ide_hdd_device(mconfig, TURRETT_HARDDISK, "HDD Turrett Tower", tag, owner, clock, "turrett_hdd", __FILE__)
{
}
diff --git a/src/mame/drivers/tutor.cpp b/src/mame/drivers/tutor.cpp
index 7d651eaacef..8ced99cb997 100644
--- a/src/mame/drivers/tutor.cpp
+++ b/src/mame/drivers/tutor.cpp
@@ -182,7 +182,7 @@ A=AMA, P=PRO, these keys don't exist, and so the games cannot be played.
class tutor_state : public driver_device
{
public:
- tutor_state(const machine_config &mconfig, device_type type, const char *tag)
+ tutor_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cart(*this, "cartslot"),
diff --git a/src/mame/drivers/tv950.cpp b/src/mame/drivers/tv950.cpp
index 7fe87623194..009be46e463 100644
--- a/src/mame/drivers/tv950.cpp
+++ b/src/mame/drivers/tv950.cpp
@@ -19,7 +19,7 @@
class tv950_state : public driver_device
{
public:
- tv950_state(const machine_config &mconfig, device_type type, const char *tag)
+ tv950_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/tvc.cpp b/src/mame/drivers/tvc.cpp
index 20ffc65710f..435ce22dde3 100644
--- a/src/mame/drivers/tvc.cpp
+++ b/src/mame/drivers/tvc.cpp
@@ -38,7 +38,7 @@
class tvc_state : public driver_device
{
public:
- tvc_state(const machine_config &mconfig, device_type type, const char *tag)
+ tvc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/drivers/tvcapcom.cpp b/src/mame/drivers/tvcapcom.cpp
index 29e5508ce32..1f490782416 100644
--- a/src/mame/drivers/tvcapcom.cpp
+++ b/src/mame/drivers/tvcapcom.cpp
@@ -16,7 +16,7 @@
class tvcapcom_state : public driver_device
{
public:
- tvcapcom_state(const machine_config &mconfig, device_type type, const char *tag)
+ tvcapcom_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/tvgame.cpp b/src/mame/drivers/tvgame.cpp
index 44ede341caf..59aebdec53e 100644
--- a/src/mame/drivers/tvgame.cpp
+++ b/src/mame/drivers/tvgame.cpp
@@ -19,7 +19,7 @@
class tvgame_state : public driver_device
{
public:
- tvgame_state(const machine_config &mconfig, device_type type, const char *tag)
+ tvgame_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_speaker(*this, "speaker")
diff --git a/src/mame/drivers/twinkle.cpp b/src/mame/drivers/twinkle.cpp
index 5b38a3dd019..afd0e0b16ad 100644
--- a/src/mame/drivers/twinkle.cpp
+++ b/src/mame/drivers/twinkle.cpp
@@ -247,7 +247,7 @@ Notes:
class twinkle_state : public driver_device
{
public:
- twinkle_state(const machine_config &mconfig, device_type type, const char *tag)
+ twinkle_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_am53cf96(*this, "am53cf96"),
m_ata(*this, "ata"),
diff --git a/src/mame/drivers/twins.cpp b/src/mame/drivers/twins.cpp
index bf4468e5dd4..d369f2e2fdd 100644
--- a/src/mame/drivers/twins.cpp
+++ b/src/mame/drivers/twins.cpp
@@ -69,7 +69,7 @@ this requires the -joystick_contradictory switch on the commandline.
class twins_state : public driver_device
{
public:
- twins_state(const machine_config &mconfig, device_type type, const char *tag)
+ twins_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_paletteram(*this, "paletteram"),
diff --git a/src/mame/drivers/tx0.cpp b/src/mame/drivers/tx0.cpp
index d95ef46b796..d57ac7300fd 100644
--- a/src/mame/drivers/tx0.cpp
+++ b/src/mame/drivers/tx0.cpp
@@ -357,7 +357,7 @@ class tx0_readtape_image_device : public device_t,
{
public:
// construction/destruction
- tx0_readtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tx0_readtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// image-level overrides
virtual iodevice_t image_type() const override { return IO_PUNCHTAPE; }
@@ -381,7 +381,7 @@ protected:
const device_type TX0_READTAPE = &device_creator<tx0_readtape_image_device>;
-tx0_readtape_image_device::tx0_readtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tx0_readtape_image_device::tx0_readtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TX0_READTAPE, "TX0 Tape Reader", tag, owner, clock, "tx0_readtape_image", __FILE__),
device_image_interface(mconfig, *this)
{
@@ -392,7 +392,7 @@ class tx0_punchtape_image_device : public device_t,
{
public:
// construction/destruction
- tx0_punchtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tx0_punchtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// image-level overrides
virtual iodevice_t image_type() const override { return IO_PUNCHTAPE; }
@@ -416,7 +416,7 @@ protected:
const device_type TX0_PUNCHTAPE = &device_creator<tx0_punchtape_image_device>;
-tx0_punchtape_image_device::tx0_punchtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tx0_punchtape_image_device::tx0_punchtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TX0_PUNCHTAPE, "TX0 Tape Puncher", tag, owner, clock, "tx0_punchtape_image", __FILE__),
device_image_interface(mconfig, *this)
{
@@ -428,7 +428,7 @@ class tx0_printer_image_device : public device_t,
{
public:
// construction/destruction
- tx0_printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tx0_printer_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// image-level overrides
virtual iodevice_t image_type() const override { return IO_PRINTER; }
@@ -452,7 +452,7 @@ protected:
const device_type TX0_PRINTER = &device_creator<tx0_printer_image_device>;
-tx0_printer_image_device::tx0_printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tx0_printer_image_device::tx0_printer_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TX0_PRINTER, "TX0 Typewriter", tag, owner, clock, "tx0_printer_image", __FILE__),
device_image_interface(mconfig, *this)
{
@@ -463,7 +463,7 @@ class tx0_magtape_image_device : public device_t,
{
public:
// construction/destruction
- tx0_magtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tx0_magtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// image-level overrides
virtual iodevice_t image_type() const override { return IO_MAGTAPE; }
@@ -487,7 +487,7 @@ protected:
const device_type TX0_MAGTAPE = &device_creator<tx0_magtape_image_device>;
-tx0_magtape_image_device::tx0_magtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tx0_magtape_image_device::tx0_magtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TX0_MAGTAPE, "TX0 Magnetic Tape", tag, owner, clock, "tx0_magtape_image", __FILE__),
device_image_interface(mconfig, *this)
{
diff --git a/src/mame/drivers/uapce.cpp b/src/mame/drivers/uapce.cpp
index 8d95ceb1eb5..1b0906ffc02 100644
--- a/src/mame/drivers/uapce.cpp
+++ b/src/mame/drivers/uapce.cpp
@@ -105,7 +105,7 @@ Alien Crush & Pac_Land: dumps made from PC-Engine dumps of JP versions
class uapce_state : public pce_common_state
{
public:
- uapce_state(const machine_config &mconfig, device_type type, const char *tag)
+ uapce_state(const machine_config &mconfig, device_type type, std::string tag)
: pce_common_state(mconfig, type, tag),
m_discrete(*this, "discrete") { }
diff --git a/src/mame/drivers/uknc.cpp b/src/mame/drivers/uknc.cpp
index af546c28b6e..c0a5b7bd08b 100644
--- a/src/mame/drivers/uknc.cpp
+++ b/src/mame/drivers/uknc.cpp
@@ -15,7 +15,7 @@
class uknc_state : public driver_device
{
public:
- uknc_state(const machine_config &mconfig, device_type type, const char *tag)
+ uknc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/ultrsprt.cpp b/src/mame/drivers/ultrsprt.cpp
index b79c9784b1d..81143ada34e 100644
--- a/src/mame/drivers/ultrsprt.cpp
+++ b/src/mame/drivers/ultrsprt.cpp
@@ -16,7 +16,7 @@
class ultrsprt_state : public driver_device
{
public:
- ultrsprt_state(const machine_config &mconfig, device_type type, const char *tag)
+ ultrsprt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/umipoker.cpp b/src/mame/drivers/umipoker.cpp
index 8d4f49b7db7..9cabc077ba0 100644
--- a/src/mame/drivers/umipoker.cpp
+++ b/src/mame/drivers/umipoker.cpp
@@ -27,7 +27,7 @@
class umipoker_state : public driver_device
{
public:
- umipoker_state(const machine_config &mconfig, device_type type, const char *tag)
+ umipoker_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vram_0(*this, "vra0"),
m_vram_1(*this, "vra1"),
diff --git a/src/mame/drivers/unichamp.cpp b/src/mame/drivers/unichamp.cpp
index 4c566f96619..b398545cbce 100644
--- a/src/mame/drivers/unichamp.cpp
+++ b/src/mame/drivers/unichamp.cpp
@@ -47,7 +47,7 @@
class unichamp_state : public driver_device
{
public:
- unichamp_state(const machine_config &mconfig, device_type type, const char *tag)
+ unichamp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gic(*this, "gic"),
diff --git a/src/mame/drivers/unior.cpp b/src/mame/drivers/unior.cpp
index 64bf30e97d4..b70f82c8122 100644
--- a/src/mame/drivers/unior.cpp
+++ b/src/mame/drivers/unior.cpp
@@ -49,7 +49,7 @@ ToDo:
class unior_state : public driver_device
{
public:
- unior_state(const machine_config &mconfig, device_type type, const char *tag) :
+ unior_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pit(*this, "pit"),
diff --git a/src/mame/drivers/unistar.cpp b/src/mame/drivers/unistar.cpp
index 59537dd11b0..ad45711f00f 100644
--- a/src/mame/drivers/unistar.cpp
+++ b/src/mame/drivers/unistar.cpp
@@ -17,7 +17,7 @@
class unistar_state : public driver_device
{
public:
- unistar_state(const machine_config &mconfig, device_type type, const char *tag)
+ unistar_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/univac.cpp b/src/mame/drivers/univac.cpp
index 588b2a1bc39..9aa2cf09da0 100644
--- a/src/mame/drivers/univac.cpp
+++ b/src/mame/drivers/univac.cpp
@@ -32,7 +32,7 @@
class univac_state : public driver_device
{
public:
- univac_state(const machine_config &mconfig, device_type type, const char *tag)
+ univac_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_p_videoram(*this, "videoram")
diff --git a/src/mame/drivers/unixpc.cpp b/src/mame/drivers/unixpc.cpp
index 1e08d3b6574..3da660ee821 100644
--- a/src/mame/drivers/unixpc.cpp
+++ b/src/mame/drivers/unixpc.cpp
@@ -26,7 +26,7 @@
class unixpc_state : public driver_device
{
public:
- unixpc_state(const machine_config &mconfig, device_type type, const char *tag)
+ unixpc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/drivers/unkfr.cpp b/src/mame/drivers/unkfr.cpp
index 296f58b3cbd..705e9f61030 100644
--- a/src/mame/drivers/unkfr.cpp
+++ b/src/mame/drivers/unkfr.cpp
@@ -21,7 +21,7 @@
class unkfr_state : public driver_device
{
public:
- unkfr_state(const machine_config &mconfig, device_type type, const char *tag)
+ unkfr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
required_device<cpu_device> m_maincpu;
diff --git a/src/mame/drivers/unkhorse.cpp b/src/mame/drivers/unkhorse.cpp
index 5ac829908cc..231e02ffeaf 100644
--- a/src/mame/drivers/unkhorse.cpp
+++ b/src/mame/drivers/unkhorse.cpp
@@ -28,7 +28,7 @@ TODO:
class horse_state : public driver_device
{
public:
- horse_state(const machine_config &mconfig, device_type type, const char *tag)
+ horse_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac(*this, "dac"),
diff --git a/src/mame/drivers/upscope.cpp b/src/mame/drivers/upscope.cpp
index 8454f0c135e..ea227920eac 100644
--- a/src/mame/drivers/upscope.cpp
+++ b/src/mame/drivers/upscope.cpp
@@ -35,7 +35,7 @@
class upscope_state : public amiga_state
{
public:
- upscope_state(const machine_config &mconfig, device_type type, const char *tag)
+ upscope_state(const machine_config &mconfig, device_type type, std::string tag)
: amiga_state(mconfig, type, tag),
m_prev_cia1_porta(0xff),
m_parallel_data(0xff)
diff --git a/src/mame/drivers/uzebox.cpp b/src/mame/drivers/uzebox.cpp
index 424f530e8e4..85e0e02dbc1 100644
--- a/src/mame/drivers/uzebox.cpp
+++ b/src/mame/drivers/uzebox.cpp
@@ -28,7 +28,7 @@
class uzebox_state : public driver_device
{
public:
- uzebox_state(const machine_config &mconfig, device_type type, const char *tag)
+ uzebox_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cart(*this, "cartslot"),
diff --git a/src/mame/drivers/v6809.cpp b/src/mame/drivers/v6809.cpp
index 6acbf18954e..de42b245068 100644
--- a/src/mame/drivers/v6809.cpp
+++ b/src/mame/drivers/v6809.cpp
@@ -65,7 +65,7 @@ ToDo:
class v6809_state : public driver_device
{
public:
- v6809_state(const machine_config &mconfig, device_type type, const char *tag)
+ v6809_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_video_address(0),
m_pia0(*this, "pia0"),
diff --git a/src/mame/drivers/vamphalf.cpp b/src/mame/drivers/vamphalf.cpp
index 97640e10076..8411c003f84 100644
--- a/src/mame/drivers/vamphalf.cpp
+++ b/src/mame/drivers/vamphalf.cpp
@@ -71,7 +71,7 @@ TODO:
class vamphalf_state : public driver_device
{
public:
- vamphalf_state(const machine_config &mconfig, device_type type, const char *tag)
+ vamphalf_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_qs1000(*this, "qs1000"),
diff --git a/src/mame/drivers/vax11.cpp b/src/mame/drivers/vax11.cpp
index acf6e607316..977975e01f2 100644
--- a/src/mame/drivers/vax11.cpp
+++ b/src/mame/drivers/vax11.cpp
@@ -75,7 +75,7 @@
class vax11_state : public driver_device
{
public:
- vax11_state(const machine_config &mconfig, device_type type, const char *tag)
+ vax11_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/vboy.cpp b/src/mame/drivers/vboy.cpp
index 1524849c555..7924e2416a7 100644
--- a/src/mame/drivers/vboy.cpp
+++ b/src/mame/drivers/vboy.cpp
@@ -104,7 +104,7 @@ struct vboy_timer_t;
class vboy_state : public driver_device
{
public:
- vboy_state(const machine_config &mconfig, device_type type, const char *tag)
+ vboy_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cart(*this, "cartslot"),
diff --git a/src/mame/drivers/vcombat.cpp b/src/mame/drivers/vcombat.cpp
index ad72f7770b8..ee56ced6336 100644
--- a/src/mame/drivers/vcombat.cpp
+++ b/src/mame/drivers/vcombat.cpp
@@ -95,7 +95,7 @@ TODO : This is a partially working driver. Most of the memory maps for
class vcombat_state : public driver_device
{
public:
- vcombat_state(const machine_config &mconfig, device_type type, const char *tag)
+ vcombat_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_tlc34076(*this, "tlc34076"),
m_framebuffer_ctrl(*this, "fb_control"),
@@ -237,18 +237,18 @@ static void wiggle_i860_common(i860_cpu_device *device, UINT16 data)
if (bus_hold)
{
- fprintf(stderr, "M0 asserting bus HOLD to i860 %s\n", device->tag());
+ fprintf(stderr, "M0 asserting bus HOLD to i860 %s\n", device->tag().c_str());
device->i860_set_pin(DEC_PIN_BUS_HOLD, 1);
}
else
{
- fprintf(stderr, "M0 clearing bus HOLD to i860 %s\n", device->tag());
+ fprintf(stderr, "M0 clearing bus HOLD to i860 %s\n", device->tag().c_str());
device->i860_set_pin(DEC_PIN_BUS_HOLD, 0);
}
if (reset)
{
- fprintf(stderr, "M0 asserting RESET to i860 %s\n", device->tag());
+ fprintf(stderr, "M0 asserting RESET to i860 %s\n", device->tag().c_str());
device->i860_set_pin(DEC_PIN_RESET, 1);
}
else
diff --git a/src/mame/drivers/vd.cpp b/src/mame/drivers/vd.cpp
index f2d17a2d6fa..4b215191f2c 100644
--- a/src/mame/drivers/vd.cpp
+++ b/src/mame/drivers/vd.cpp
@@ -20,7 +20,7 @@
class vd_state : public driver_device
{
public:
- vd_state(const machine_config &mconfig, device_type type, const char *tag)
+ vd_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/vector4.cpp b/src/mame/drivers/vector4.cpp
index 69275ba90fd..ca61fbf71e6 100644
--- a/src/mame/drivers/vector4.cpp
+++ b/src/mame/drivers/vector4.cpp
@@ -17,7 +17,7 @@
class vector4_state : public driver_device
{
public:
- vector4_state(const machine_config &mconfig, device_type type, const char *tag)
+ vector4_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/drivers/vega.cpp b/src/mame/drivers/vega.cpp
index 12497b386ab..8d0bb044421 100644
--- a/src/mame/drivers/vega.cpp
+++ b/src/mame/drivers/vega.cpp
@@ -101,7 +101,7 @@ class vega_state : public driver_device
{
public:
- vega_state(const machine_config &mconfig, device_type type, const char *tag)
+ vega_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_i8255(*this, "ppi8255"),
diff --git a/src/mame/drivers/vegaeo.cpp b/src/mame/drivers/vegaeo.cpp
index 9d366595ed8..a7ccb3708f3 100644
--- a/src/mame/drivers/vegaeo.cpp
+++ b/src/mame/drivers/vegaeo.cpp
@@ -23,7 +23,7 @@
class vegaeo_state : public eolith_state
{
public:
- vegaeo_state(const machine_config &mconfig, device_type type, const char *tag)
+ vegaeo_state(const machine_config &mconfig, device_type type, std::string tag)
: eolith_state(mconfig, type, tag) { }
std::unique_ptr<UINT32[]> m_vega_vram;
diff --git a/src/mame/drivers/vegas.cpp b/src/mame/drivers/vegas.cpp
index c71cff65f1a..c984065e8d2 100644
--- a/src/mame/drivers/vegas.cpp
+++ b/src/mame/drivers/vegas.cpp
@@ -454,7 +454,7 @@ struct dynamic_address
class vegas_state : public driver_device
{
public:
- vegas_state(const machine_config &mconfig, device_type type, const char *tag)
+ vegas_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_timekeeper(*this, "timekeeper") ,
diff --git a/src/mame/drivers/vg5k.cpp b/src/mame/drivers/vg5k.cpp
index 5cfa9528dd4..4ac34148c9c 100644
--- a/src/mame/drivers/vg5k.cpp
+++ b/src/mame/drivers/vg5k.cpp
@@ -62,7 +62,7 @@
class vg5k_state : public driver_device
{
public:
- vg5k_state(const machine_config &mconfig, device_type type, const char *tag)
+ vg5k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ef9345(*this, "ef9345"),
diff --git a/src/mame/drivers/videopkr.cpp b/src/mame/drivers/videopkr.cpp
index e73ff6d5883..dda469941ed 100644
--- a/src/mame/drivers/videopkr.cpp
+++ b/src/mame/drivers/videopkr.cpp
@@ -296,7 +296,7 @@
class videopkr_state : public driver_device
{
public:
- videopkr_state(const machine_config &mconfig, device_type type, const char *tag)
+ videopkr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/drivers/vii.cpp b/src/mame/drivers/vii.cpp
index bdac38aecc0..ce962427f13 100644
--- a/src/mame/drivers/vii.cpp
+++ b/src/mame/drivers/vii.cpp
@@ -93,7 +93,7 @@ Detailed list of bugs:
class vii_state : public driver_device
{
public:
- vii_state(const machine_config &mconfig, device_type type, const char *tag)
+ vii_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cart(*this, "cartslot"),
diff --git a/src/mame/drivers/viper.cpp b/src/mame/drivers/viper.cpp
index 36325bcb1f2..36dd89d224f 100644
--- a/src/mame/drivers/viper.cpp
+++ b/src/mame/drivers/viper.cpp
@@ -373,7 +373,7 @@ static timer_device *ds2430_bit_timer;
class viper_state : public driver_device
{
public:
- viper_state(const machine_config &mconfig, device_type type, const char *tag)
+ viper_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ata(*this, "ata"),
diff --git a/src/mame/drivers/vk100.cpp b/src/mame/drivers/vk100.cpp
index 7864083b066..c8e334ba15a 100644
--- a/src/mame/drivers/vk100.cpp
+++ b/src/mame/drivers/vk100.cpp
@@ -167,7 +167,7 @@ public:
TIMER_EXECUTE_VG
};
- vk100_state(const machine_config &mconfig, device_type type, const char *tag) :
+ vk100_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_crtc(*this, "crtc"),
diff --git a/src/mame/drivers/vlc.cpp b/src/mame/drivers/vlc.cpp
index 9af970eb247..0d930fd853f 100644
--- a/src/mame/drivers/vlc.cpp
+++ b/src/mame/drivers/vlc.cpp
@@ -151,7 +151,7 @@ nevada TYPE2 : 64 45 51 06 32 02 31 31
class nevada_state : public driver_device
{
public:
- nevada_state(const machine_config &mconfig, device_type type, const char *tag)
+ nevada_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_duart18_68681(*this, "duart18_68681"),
m_duart39_68681(*this, "duart39_68681"),
diff --git a/src/mame/drivers/votrpss.cpp b/src/mame/drivers/votrpss.cpp
index d74006139d3..8f80a246bc5 100644
--- a/src/mame/drivers/votrpss.cpp
+++ b/src/mame/drivers/votrpss.cpp
@@ -88,7 +88,7 @@ Things to be looked at:
class votrpss_state : public driver_device
{
public:
- votrpss_state(const machine_config &mconfig, device_type type, const char *tag)
+ votrpss_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG),
diff --git a/src/mame/drivers/votrtnt.cpp b/src/mame/drivers/votrtnt.cpp
index 7d7c007ee35..ca3d1f0107b 100644
--- a/src/mame/drivers/votrtnt.cpp
+++ b/src/mame/drivers/votrtnt.cpp
@@ -43,7 +43,7 @@
class votrtnt_state : public driver_device
{
public:
- votrtnt_state(const machine_config &mconfig, device_type type, const char *tag) :
+ votrtnt_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_votrax(*this, "votrax"),
diff --git a/src/mame/drivers/voyager.cpp b/src/mame/drivers/voyager.cpp
index 7afe5159636..9ea134b030d 100644
--- a/src/mame/drivers/voyager.cpp
+++ b/src/mame/drivers/voyager.cpp
@@ -26,7 +26,7 @@ TODO: VIA KT133a chipset support, GeForce 2MX video support, lots of things ;-)
class voyager_state : public pcat_base_state
{
public:
- voyager_state(const machine_config &mconfig, device_type type, const char *tag)
+ voyager_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag)
{
}
diff --git a/src/mame/drivers/vp101.cpp b/src/mame/drivers/vp101.cpp
index a1b66a5e1b8..55a4973c254 100644
--- a/src/mame/drivers/vp101.cpp
+++ b/src/mame/drivers/vp101.cpp
@@ -23,7 +23,7 @@
class vp10x_state : public driver_device
{
public:
- vp10x_state(const machine_config &mconfig, device_type type, const char *tag)
+ vp10x_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/vpoker.cpp b/src/mame/drivers/vpoker.cpp
index 1a23190c002..30959a2a085 100644
--- a/src/mame/drivers/vpoker.cpp
+++ b/src/mame/drivers/vpoker.cpp
@@ -106,7 +106,7 @@
class vpoker_state : public driver_device
{
public:
- vpoker_state(const machine_config &mconfig, device_type type, const char *tag)
+ vpoker_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/vroulet.cpp b/src/mame/drivers/vroulet.cpp
index dcbf7a37c29..2f3cbabb21e 100644
--- a/src/mame/drivers/vroulet.cpp
+++ b/src/mame/drivers/vroulet.cpp
@@ -46,7 +46,7 @@ Tomasz Slanina 20050225
class vroulet_state : public driver_device
{
public:
- vroulet_state(const machine_config &mconfig, device_type type, const char *tag)
+ vroulet_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/vt100.cpp b/src/mame/drivers/vt100.cpp
index 1d655600979..bb3a17de81e 100644
--- a/src/mame/drivers/vt100.cpp
+++ b/src/mame/drivers/vt100.cpp
@@ -34,7 +34,7 @@
class vt100_state : public driver_device
{
public:
- vt100_state(const machine_config &mconfig, device_type type, const char *tag) :
+ vt100_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_crtc(*this, "vt100_video"),
diff --git a/src/mame/drivers/vt220.cpp b/src/mame/drivers/vt220.cpp
index 42fcb2ea2c1..edbeb00cc3a 100644
--- a/src/mame/drivers/vt220.cpp
+++ b/src/mame/drivers/vt220.cpp
@@ -19,7 +19,7 @@
class vt220_state : public driver_device
{
public:
- vt220_state(const machine_config &mconfig, device_type type, const char *tag)
+ vt220_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG) { }
diff --git a/src/mame/drivers/vt240.cpp b/src/mame/drivers/vt240.cpp
index 153cc6f249f..665f47bb13b 100644
--- a/src/mame/drivers/vt240.cpp
+++ b/src/mame/drivers/vt240.cpp
@@ -47,7 +47,7 @@
class vt240_state : public driver_device
{
public:
- vt240_state(const machine_config &mconfig, device_type type, const char *tag)
+ vt240_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_i8251(*this, "i8251"),
diff --git a/src/mame/drivers/vt320.cpp b/src/mame/drivers/vt320.cpp
index 5a661b962b6..1da204444cb 100644
--- a/src/mame/drivers/vt320.cpp
+++ b/src/mame/drivers/vt320.cpp
@@ -16,7 +16,7 @@
class vt320_state : public driver_device
{
public:
- vt320_state(const machine_config &mconfig, device_type type, const char *tag)
+ vt320_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG) { }
diff --git a/src/mame/drivers/vt520.cpp b/src/mame/drivers/vt520.cpp
index c65c7ebe5ee..1a04168a161 100644
--- a/src/mame/drivers/vt520.cpp
+++ b/src/mame/drivers/vt520.cpp
@@ -16,7 +16,7 @@
class vt520_state : public driver_device
{
public:
- vt520_state(const machine_config &mconfig, device_type type, const char *tag)
+ vt520_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/vta2000.cpp b/src/mame/drivers/vta2000.cpp
index c301e5bcd18..e99dc5f67bc 100644
--- a/src/mame/drivers/vta2000.cpp
+++ b/src/mame/drivers/vta2000.cpp
@@ -25,7 +25,7 @@ Note: port 0 bit 4 is NOT a speaker bit. See code at 027B.
class vta2000_state : public driver_device
{
public:
- vta2000_state(const machine_config &mconfig, device_type type, const char *tag)
+ vta2000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_p_videoram(*this, "videoram")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/vtech1.cpp b/src/mame/drivers/vtech1.cpp
index 01ea9d775bb..342b55a5262 100644
--- a/src/mame/drivers/vtech1.cpp
+++ b/src/mame/drivers/vtech1.cpp
@@ -60,7 +60,7 @@ Todo:
class vtech1_state : public driver_device
{
public:
- vtech1_state(const machine_config &mconfig, device_type type, const char *tag) :
+ vtech1_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/wacky_gator.cpp b/src/mame/drivers/wacky_gator.cpp
index 77f67d7165e..4125daa610d 100644
--- a/src/mame/drivers/wacky_gator.cpp
+++ b/src/mame/drivers/wacky_gator.cpp
@@ -30,7 +30,7 @@
class wackygtr_state : public driver_device
{
public:
- wackygtr_state(const machine_config &mconfig, device_type type, const char *tag)
+ wackygtr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_msm(*this, "msm"),
diff --git a/src/mame/drivers/wallc.cpp b/src/mame/drivers/wallc.cpp
index 7e6243e6f60..d75c6e092f5 100644
--- a/src/mame/drivers/wallc.cpp
+++ b/src/mame/drivers/wallc.cpp
@@ -58,7 +58,7 @@ Thanks to HIGHWAYMAN for providing info on how to get to these epoxies
class wallc_state : public driver_device
{
public:
- wallc_state(const machine_config &mconfig, device_type type, const char *tag)
+ wallc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/wardner.cpp b/src/mame/drivers/wardner.cpp
index da4e7c078b7..3b3b3648689 100644
--- a/src/mame/drivers/wardner.cpp
+++ b/src/mame/drivers/wardner.cpp
@@ -138,7 +138,7 @@ out:
class wardner_state : public twincobr_state
{
public:
- wardner_state(const machine_config &mconfig, device_type type, const char *tag)
+ wardner_state(const machine_config &mconfig, device_type type, std::string tag)
: twincobr_state(mconfig, type, tag),
m_membank(*this, "membank")
{
diff --git a/src/mame/drivers/warpsped.cpp b/src/mame/drivers/warpsped.cpp
index 8601b04879b..d58fb2a9c23 100644
--- a/src/mame/drivers/warpsped.cpp
+++ b/src/mame/drivers/warpsped.cpp
@@ -91,7 +91,7 @@ L10, L15, L18 and G18 all read the same
class warpspeed_state : public driver_device
{
public:
- warpspeed_state(const machine_config &mconfig, device_type type, const char *tag)
+ warpspeed_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/drivers/wheelfir.cpp b/src/mame/drivers/wheelfir.cpp
index e2f2c10c88c..5693a98bfd5 100644
--- a/src/mame/drivers/wheelfir.cpp
+++ b/src/mame/drivers/wheelfir.cpp
@@ -230,7 +230,7 @@ struct scroll_info
class wheelfir_state : public driver_device
{
public:
- wheelfir_state(const machine_config &mconfig, device_type type, const char *tag)
+ wheelfir_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "subcpu"),
diff --git a/src/mame/drivers/white_mod.cpp b/src/mame/drivers/white_mod.cpp
index b6a606f2412..35f1751b898 100644
--- a/src/mame/drivers/white_mod.cpp
+++ b/src/mame/drivers/white_mod.cpp
@@ -11,7 +11,7 @@
class whitestar_mod_state : public driver_device
{
public:
- whitestar_mod_state(const machine_config &mconfig, device_type type, const char *tag)
+ whitestar_mod_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/whitestar.cpp b/src/mame/drivers/whitestar.cpp
index 2eb20073da7..de9fdc4f51e 100644
--- a/src/mame/drivers/whitestar.cpp
+++ b/src/mame/drivers/whitestar.cpp
@@ -14,7 +14,7 @@
class whitestar_state : public driver_device
{
public:
- whitestar_state(const machine_config &mconfig, device_type type, const char *tag)
+ whitestar_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_decobsmt(*this, "decobsmt"),
diff --git a/src/mame/drivers/wicat.cpp b/src/mame/drivers/wicat.cpp
index 81b17bb1bb2..486b336f94c 100644
--- a/src/mame/drivers/wicat.cpp
+++ b/src/mame/drivers/wicat.cpp
@@ -33,7 +33,7 @@ Wicat - various systems.
class wicat_state : public driver_device
{
public:
- wicat_state(const machine_config &mconfig, device_type type, const char *tag)
+ wicat_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vram(*this, "vram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/wico.cpp b/src/mame/drivers/wico.cpp
index d5c3e13a649..cb9f742d9d1 100644
--- a/src/mame/drivers/wico.cpp
+++ b/src/mame/drivers/wico.cpp
@@ -45,7 +45,7 @@ ToDo:
class wico_state : public genpin_class
{
public:
- wico_state(const machine_config &mconfig, device_type type, const char *tag)
+ wico_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_ccpu(*this, "ccpu")
, m_hcpu(*this, "hcpu")
diff --git a/src/mame/drivers/wildfire.cpp b/src/mame/drivers/wildfire.cpp
index d9e7a036bfe..7ff8b168076 100644
--- a/src/mame/drivers/wildfire.cpp
+++ b/src/mame/drivers/wildfire.cpp
@@ -35,7 +35,7 @@
class wildfire_state : public driver_device
{
public:
- wildfire_state(const machine_config &mconfig, device_type type, const char *tag)
+ wildfire_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker"),
diff --git a/src/mame/drivers/wildpkr.cpp b/src/mame/drivers/wildpkr.cpp
index c3f35668fdc..356af480052 100644
--- a/src/mame/drivers/wildpkr.cpp
+++ b/src/mame/drivers/wildpkr.cpp
@@ -171,7 +171,7 @@
class wildpkr_state : public driver_device
{
public:
- wildpkr_state(const machine_config &mconfig, device_type type, const char *tag)
+ wildpkr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/drivers/wink.cpp b/src/mame/drivers/wink.cpp
index df9e42a26f7..1c2237ae0cd 100644
--- a/src/mame/drivers/wink.cpp
+++ b/src/mame/drivers/wink.cpp
@@ -21,7 +21,7 @@
class wink_state : public driver_device
{
public:
- wink_state(const machine_config &mconfig, device_type type, const char *tag)
+ wink_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/witch.cpp b/src/mame/drivers/witch.cpp
index 1eaa13ce0ee..851156984fd 100644
--- a/src/mame/drivers/witch.cpp
+++ b/src/mame/drivers/witch.cpp
@@ -236,7 +236,7 @@ TODO :
class witch_state : public driver_device
{
public:
- witch_state(const machine_config &mconfig, device_type type, const char *tag)
+ witch_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/drivers/wmg.cpp b/src/mame/drivers/wmg.cpp
index 53084fc46f8..bbc1729e94b 100644
--- a/src/mame/drivers/wmg.cpp
+++ b/src/mame/drivers/wmg.cpp
@@ -78,7 +78,7 @@ of save-state is also needed.
class wmg_state : public williams_state
{
public:
- wmg_state(const machine_config &mconfig, device_type type, const char *tag)
+ wmg_state(const machine_config &mconfig, device_type type, std::string tag)
: williams_state(mconfig, type, tag)
, m_p_ram(*this, "nvram")
{ }
@@ -245,7 +245,7 @@ WRITE_LINE_MEMBER( wmg_state::wmg_port_select_w )
CUSTOM_INPUT_MEMBER(wmg_state::wmg_mux_r)
{
- const char *tag = (const char *)param;
+ const char* tag = (const char *)param;
if (m_wmg_port_select)
for (int i = 0; i < m_wmg_port_select; i++)
diff --git a/src/mame/drivers/wms.cpp b/src/mame/drivers/wms.cpp
index 21f56ca3a3d..8a1a6b65a8e 100644
--- a/src/mame/drivers/wms.cpp
+++ b/src/mame/drivers/wms.cpp
@@ -88,7 +88,7 @@
class wms_state : public driver_device
{
public:
- wms_state(const machine_config &mconfig, device_type type, const char *tag)
+ wms_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/wpc_95.cpp b/src/mame/drivers/wpc_95.cpp
index eb305804a4c..4473fcc56dd 100644
--- a/src/mame/drivers/wpc_95.cpp
+++ b/src/mame/drivers/wpc_95.cpp
@@ -16,7 +16,7 @@
class wpc_95_state : public driver_device
{
public:
- wpc_95_state(const machine_config &mconfig, device_type type, const char *tag)
+ wpc_95_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
maincpu(*this, "maincpu"),
dcs(*this, "dcs"),
diff --git a/src/mame/drivers/wpc_an.cpp b/src/mame/drivers/wpc_an.cpp
index 893b2331747..4670b8ea007 100644
--- a/src/mame/drivers/wpc_an.cpp
+++ b/src/mame/drivers/wpc_an.cpp
@@ -17,7 +17,7 @@
class wpc_an_state : public driver_device
{
public:
- wpc_an_state(const machine_config &mconfig, device_type type, const char *tag)
+ wpc_an_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_bg(*this,"bg"),
diff --git a/src/mame/drivers/wpc_dcs.cpp b/src/mame/drivers/wpc_dcs.cpp
index daff3ed55d0..3ed2ca03e65 100644
--- a/src/mame/drivers/wpc_dcs.cpp
+++ b/src/mame/drivers/wpc_dcs.cpp
@@ -16,7 +16,7 @@
class wpc_dcs_state : public driver_device
{
public:
- wpc_dcs_state(const machine_config &mconfig, device_type type, const char *tag)
+ wpc_dcs_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
maincpu(*this, "maincpu"),
dcs(*this, "dcs"),
diff --git a/src/mame/drivers/wpc_s.cpp b/src/mame/drivers/wpc_s.cpp
index ce4126b6db1..4b29462a0c4 100644
--- a/src/mame/drivers/wpc_s.cpp
+++ b/src/mame/drivers/wpc_s.cpp
@@ -14,7 +14,7 @@
class wpc_s_state : public driver_device
{
public:
- wpc_s_state(const machine_config &mconfig, device_type type, const char *tag)
+ wpc_s_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
maincpu(*this, "maincpu"),
dcs(*this, "dcs"),
diff --git a/src/mame/drivers/wyvernf0.cpp b/src/mame/drivers/wyvernf0.cpp
index 01c7bbd83ae..4a28b0f01b3 100644
--- a/src/mame/drivers/wyvernf0.cpp
+++ b/src/mame/drivers/wyvernf0.cpp
@@ -37,7 +37,7 @@ Actual game video: http://www.nicozon.net/watch/sm10823430
class wyvernf0_state : public driver_device
{
public:
- wyvernf0_state(const machine_config &mconfig, device_type type, const char *tag)
+ wyvernf0_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bgram(*this,"bgram"),
m_fgram(*this,"fgram"),
diff --git a/src/mame/drivers/x1twin.cpp b/src/mame/drivers/x1twin.cpp
index 41783de4e28..075a24c0e2a 100644
--- a/src/mame/drivers/x1twin.cpp
+++ b/src/mame/drivers/x1twin.cpp
@@ -25,7 +25,7 @@
class x1twin_state : public x1_state
{
public:
- x1twin_state(const machine_config &mconfig, device_type type, const char *tag)
+ x1twin_state(const machine_config &mconfig, device_type type, std::string tag)
: x1_state(mconfig, type, tag)
{ }
UINT32 screen_update_x1pce(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
diff --git a/src/mame/drivers/xavix.cpp b/src/mame/drivers/xavix.cpp
index faa669cd547..688f8b89d92 100644
--- a/src/mame/drivers/xavix.cpp
+++ b/src/mame/drivers/xavix.cpp
@@ -23,7 +23,7 @@
class xavix_state : public driver_device
{
public:
- xavix_state(const machine_config &mconfig, device_type type, const char *tag)
+ xavix_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/xbox.cpp b/src/mame/drivers/xbox.cpp
index 04cfb3b9a56..d664e2fe5dd 100644
--- a/src/mame/drivers/xbox.cpp
+++ b/src/mame/drivers/xbox.cpp
@@ -30,7 +30,7 @@
class xbox_state : public xbox_base_state
{
public:
- xbox_state(const machine_config &mconfig, device_type type, const char *tag) :
+ xbox_state(const machine_config &mconfig, device_type type, std::string tag) :
xbox_base_state(mconfig, type, tag),
usbhack_index(-1),
usbhack_counter(0)
diff --git a/src/mame/drivers/xtheball.cpp b/src/mame/drivers/xtheball.cpp
index f08785b3726..59b8c9968da 100644
--- a/src/mame/drivers/xtheball.cpp
+++ b/src/mame/drivers/xtheball.cpp
@@ -19,7 +19,7 @@
class xtheball_state : public driver_device
{
public:
- xtheball_state(const machine_config &mconfig, device_type type, const char *tag)
+ xtheball_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_tlc34076(*this, "tlc34076"),
diff --git a/src/mame/drivers/xtom3d.cpp b/src/mame/drivers/xtom3d.cpp
index c017d160442..ff513cf08a9 100644
--- a/src/mame/drivers/xtom3d.cpp
+++ b/src/mame/drivers/xtom3d.cpp
@@ -52,7 +52,7 @@ MX29F1610MC 16M FlashROM (x7)
class xtom3d_state : public pcat_base_state
{
public:
- xtom3d_state(const machine_config &mconfig, device_type type, const char *tag)
+ xtom3d_state(const machine_config &mconfig, device_type type, std::string tag)
: pcat_base_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/ymmu100.cpp b/src/mame/drivers/ymmu100.cpp
index a109418b62e..105dbc1ca60 100644
--- a/src/mame/drivers/ymmu100.cpp
+++ b/src/mame/drivers/ymmu100.cpp
@@ -153,7 +153,7 @@ public:
P2_LCD_ENABLE = 0x04
};
- mu100_state(const machine_config &mconfig, device_type type, const char *tag)
+ mu100_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_lcd(*this, "lcd"),
@@ -198,7 +198,7 @@ public:
class mu100r_state : public mu100_state {
public:
- mu100r_state(const machine_config &mconfig, device_type type, const char *tag)
+ mu100r_state(const machine_config &mconfig, device_type type, std::string tag)
: mu100_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/z100.cpp b/src/mame/drivers/z100.cpp
index 7addd6407cd..0ec67548ddc 100644
--- a/src/mame/drivers/z100.cpp
+++ b/src/mame/drivers/z100.cpp
@@ -154,7 +154,7 @@ ZDIPSW EQU 0FFH ; Configuration dip switches
class z100_state : public driver_device
{
public:
- z100_state(const machine_config &mconfig, device_type type, const char *tag)
+ z100_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pia0(*this, "pia0"),
diff --git a/src/mame/drivers/z1013.cpp b/src/mame/drivers/z1013.cpp
index ca1d5c3a3bf..aff7677cddd 100644
--- a/src/mame/drivers/z1013.cpp
+++ b/src/mame/drivers/z1013.cpp
@@ -60,7 +60,7 @@ Due to no input checking, misuse of commands can crash the system.
class z1013_state : public driver_device
{
public:
- z1013_state(const machine_config &mconfig, device_type type, const char *tag)
+ z1013_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cass(*this, "cassette"),
diff --git a/src/mame/drivers/z80dev.cpp b/src/mame/drivers/z80dev.cpp
index b18d93529a8..9b57ea427c9 100644
--- a/src/mame/drivers/z80dev.cpp
+++ b/src/mame/drivers/z80dev.cpp
@@ -28,7 +28,7 @@ Press the up-arrow key to confirm data has been entered.
class z80dev_state : public driver_device
{
public:
- z80dev_state(const machine_config &mconfig, device_type type, const char *tag)
+ z80dev_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/z9001.cpp b/src/mame/drivers/z9001.cpp
index 8c824b53f87..85dc16e8148 100644
--- a/src/mame/drivers/z9001.cpp
+++ b/src/mame/drivers/z9001.cpp
@@ -44,7 +44,7 @@ ToDo:
class z9001_state : public driver_device
{
public:
- z9001_state(const machine_config &mconfig, device_type type, const char *tag)
+ z9001_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_framecnt(0),
diff --git a/src/mame/drivers/zac_1.cpp b/src/mame/drivers/zac_1.cpp
index ae94d5a5b96..f033114f6c6 100644
--- a/src/mame/drivers/zac_1.cpp
+++ b/src/mame/drivers/zac_1.cpp
@@ -37,7 +37,7 @@ ToDo:
class zac_1_state : public genpin_class
{
public:
- zac_1_state(const machine_config &mconfig, device_type type, const char *tag)
+ zac_1_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_p_ram(*this, "ram")
diff --git a/src/mame/drivers/zac_2.cpp b/src/mame/drivers/zac_2.cpp
index 659e38ae6aa..1bb7e8e62e7 100644
--- a/src/mame/drivers/zac_2.cpp
+++ b/src/mame/drivers/zac_2.cpp
@@ -15,7 +15,7 @@
class zac_2_state : public driver_device
{
public:
- zac_2_state(const machine_config &mconfig, device_type type, const char *tag)
+ zac_2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_p_ram(*this, "ram"),
diff --git a/src/mame/drivers/zac_proto.cpp b/src/mame/drivers/zac_proto.cpp
index af6b1f604e5..c68c4609344 100644
--- a/src/mame/drivers/zac_proto.cpp
+++ b/src/mame/drivers/zac_proto.cpp
@@ -27,7 +27,7 @@ ToDo:
class zac_proto_state : public genpin_class
{
public:
- zac_proto_state(const machine_config &mconfig, device_type type, const char *tag)
+ zac_proto_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/zapcomputer.cpp b/src/mame/drivers/zapcomputer.cpp
index f6dab84cc73..57207743114 100644
--- a/src/mame/drivers/zapcomputer.cpp
+++ b/src/mame/drivers/zapcomputer.cpp
@@ -34,7 +34,7 @@
class zapcomp_state : public driver_device
{
public:
- zapcomp_state(const machine_config &mconfig, device_type type, const char *tag)
+ zapcomp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/zaurus.cpp b/src/mame/drivers/zaurus.cpp
index cf19f15c8ff..95ef7eac4c3 100644
--- a/src/mame/drivers/zaurus.cpp
+++ b/src/mame/drivers/zaurus.cpp
@@ -1414,7 +1414,7 @@ Note:
class zaurus_state : public driver_device
{
public:
- zaurus_state(const machine_config &mconfig, device_type type, const char *tag)
+ zaurus_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, "ram")
diff --git a/src/mame/drivers/zexall.cpp b/src/mame/drivers/zexall.cpp
index 4ca777e18dd..4d1fe464b4e 100644
--- a/src/mame/drivers/zexall.cpp
+++ b/src/mame/drivers/zexall.cpp
@@ -29,7 +29,7 @@ One i/o port is used:
class zexall_state : public driver_device
{
public:
- zexall_state(const machine_config &mconfig, device_type type, const char *tag)
+ zexall_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG),
diff --git a/src/mame/drivers/zn.cpp b/src/mame/drivers/zn.cpp
index 79d6ea77855..d6447089a64 100644
--- a/src/mame/drivers/zn.cpp
+++ b/src/mame/drivers/zn.cpp
@@ -36,7 +36,7 @@
class zn_state : public driver_device
{
public:
- zn_state(const machine_config &mconfig, device_type type, const char *tag) :
+ zn_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_gpu(*this, "gpu"),
m_gpu_screen(*this, "gpu:screen"),
diff --git a/src/mame/drivers/zorba.cpp b/src/mame/drivers/zorba.cpp
index 647ef396c0f..278547ce547 100644
--- a/src/mame/drivers/zorba.cpp
+++ b/src/mame/drivers/zorba.cpp
@@ -49,7 +49,7 @@ ToDo:
class zorba_state : public driver_device
{
public:
- zorba_state(const machine_config &mconfig, device_type type, const char *tag)
+ zorba_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_palette(*this, "palette")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/drivers/zr107.cpp b/src/mame/drivers/zr107.cpp
index f838f3e21e2..8db49ba17a3 100644
--- a/src/mame/drivers/zr107.cpp
+++ b/src/mame/drivers/zr107.cpp
@@ -185,7 +185,7 @@ Check gticlub.c for details on the bottom board.
class zr107_state : public driver_device
{
public:
- zr107_state(const machine_config &mconfig, device_type type, const char *tag)
+ zr107_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/drivers/zrt80.cpp b/src/mame/drivers/zrt80.cpp
index 940a0ce6acc..25586391175 100644
--- a/src/mame/drivers/zrt80.cpp
+++ b/src/mame/drivers/zrt80.cpp
@@ -33,7 +33,7 @@ public:
TIMER_BEEP_OFF
};
- zrt80_state(const machine_config &mconfig, device_type type, const char *tag)
+ zrt80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_p_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/drivers/zsbc3.cpp b/src/mame/drivers/zsbc3.cpp
index 9d4588785c7..4e28ad55038 100644
--- a/src/mame/drivers/zsbc3.cpp
+++ b/src/mame/drivers/zsbc3.cpp
@@ -43,7 +43,7 @@
class zsbc3_state : public driver_device
{
public:
- zsbc3_state(const machine_config &mconfig, device_type type, const char *tag)
+ zsbc3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/etc/template_cpu.cpp b/src/mame/etc/template_cpu.cpp
index 3f85ad1dddc..f5161a71380 100644
--- a/src/mame/etc/template_cpu.cpp
+++ b/src/mame/etc/template_cpu.cpp
@@ -99,7 +99,7 @@ void xxx_cpu_device::execute_set_input(int irqline, int state)
}
#endif
-xxx_cpu_device::xxx_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+xxx_cpu_device::xxx_cpu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: cpu_device(mconfig, XXX, "XXX", tag, owner, clock, "xxx", __FILE__)
, m_program_config("program", ENDIANNESS_BIG, 8, 32, -1)
, m_data_config("data", ENDIANNESS_BIG, 8, 32, 0)
diff --git a/src/mame/etc/template_device.cpp b/src/mame/etc/template_device.cpp
index 8bc48c8e5de..503929bb90b 100644
--- a/src/mame/etc/template_device.cpp
+++ b/src/mame/etc/template_device.cpp
@@ -27,7 +27,7 @@ const device_type XXX = &device_creator<xxx_device>;
// xxx_device - constructor
//-------------------------------------------------
-xxx_device::xxx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+xxx_device::xxx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, XXX, "xxx_longname", tag, owner, clock, "xxx", __FILE__)
{
}
diff --git a/src/mame/etc/template_device.h b/src/mame/etc/template_device.h
index 409c9cb3ad3..7359d5ead4b 100644
--- a/src/mame/etc/template_device.h
+++ b/src/mame/etc/template_device.h
@@ -30,7 +30,7 @@ class xxx_device : public device_t
{
public:
// construction/destruction
- xxx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ xxx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// I/O operations
DECLARE_WRITE8_MEMBER( write );
diff --git a/src/mame/etc/template_driver.cpp b/src/mame/etc/template_driver.cpp
index c233db1b6ba..0055b554c7f 100644
--- a/src/mame/etc/template_driver.cpp
+++ b/src/mame/etc/template_driver.cpp
@@ -16,7 +16,7 @@ Template for skeleton drivers
class xxx_state : public driver_device
{
public:
- xxx_state(const machine_config &mconfig, device_type type, const char *tag)
+ xxx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/includes/1942.h b/src/mame/includes/1942.h
index 2a35641950f..0a3bf182c5d 100644
--- a/src/mame/includes/1942.h
+++ b/src/mame/includes/1942.h
@@ -9,7 +9,7 @@
class _1942_state : public driver_device
{
public:
- _1942_state(const machine_config &mconfig, device_type type, const char *tag)
+ _1942_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_fg_videoram(*this, "fg_videoram"),
diff --git a/src/mame/includes/1943.h b/src/mame/includes/1943.h
index 9e926cbf8b6..2deeb9b269a 100644
--- a/src/mame/includes/1943.h
+++ b/src/mame/includes/1943.h
@@ -9,7 +9,7 @@
class _1943_state : public driver_device
{
public:
- _1943_state(const machine_config &mconfig, device_type type, const char *tag)
+ _1943_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/20pacgal.h b/src/mame/includes/20pacgal.h
index b9043dd26d2..a29a26ab46e 100644
--- a/src/mame/includes/20pacgal.h
+++ b/src/mame/includes/20pacgal.h
@@ -14,7 +14,7 @@
class _20pacgal_state : public driver_device
{
public:
- _20pacgal_state(const machine_config &mconfig, device_type type, const char *tag)
+ _20pacgal_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_video_ram(*this, "video_ram"),
m_char_gfx_ram(*this, "char_gfx_ram"),
@@ -77,7 +77,7 @@ public:
class _25pacman_state : public _20pacgal_state
{
public:
- _25pacman_state(const machine_config &mconfig, device_type type, const char *tag)
+ _25pacman_state(const machine_config &mconfig, device_type type, std::string tag)
: _20pacgal_state(mconfig, type, tag)
{ }
diff --git a/src/mame/includes/3do.h b/src/mame/includes/3do.h
index c826052faa4..a3be5eb1302 100644
--- a/src/mame/includes/3do.h
+++ b/src/mame/includes/3do.h
@@ -139,7 +139,7 @@ struct DSPP {
class _3do_state : public driver_device
{
public:
- _3do_state(const machine_config &mconfig, device_type type, const char *tag)
+ _3do_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dram(*this, "dram"),
diff --git a/src/mame/includes/40love.h b/src/mame/includes/40love.h
index f40e4b338f3..78dc572c6a2 100644
--- a/src/mame/includes/40love.h
+++ b/src/mame/includes/40love.h
@@ -6,7 +6,7 @@
class fortyl_state : public driver_device
{
public:
- fortyl_state(const machine_config &mconfig, device_type type, const char *tag)
+ fortyl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_video_ctrl(*this, "video_ctrl"),
diff --git a/src/mame/includes/4enraya.h b/src/mame/includes/4enraya.h
index fbc92212515..ad01080c9c9 100644
--- a/src/mame/includes/4enraya.h
+++ b/src/mame/includes/4enraya.h
@@ -11,7 +11,7 @@
class _4enraya_state : public driver_device
{
public:
- _4enraya_state(const machine_config &mconfig, device_type type, const char *tag)
+ _4enraya_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ay(*this, "aysnd"),
diff --git a/src/mame/includes/8080bw.h b/src/mame/includes/8080bw.h
index da298c9174d..04d37a12018 100644
--- a/src/mame/includes/8080bw.h
+++ b/src/mame/includes/8080bw.h
@@ -18,7 +18,7 @@
class _8080bw_state : public mw8080bw_state
{
public:
- _8080bw_state(const machine_config &mconfig, device_type type, const char *tag)
+ _8080bw_state(const machine_config &mconfig, device_type type, std::string tag)
: mw8080bw_state(mconfig, type, tag),
m_schaser_effect_555_timer(*this, "schaser_sh_555"),
m_claybust_gun_on(*this, "claybust_gun"),
diff --git a/src/mame/includes/88games.h b/src/mame/includes/88games.h
index 892b05883df..ef8565451e8 100644
--- a/src/mame/includes/88games.h
+++ b/src/mame/includes/88games.h
@@ -14,7 +14,7 @@
class _88games_state : public driver_device
{
public:
- _88games_state(const machine_config &mconfig, device_type type, const char *tag)
+ _88games_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/abc1600.h b/src/mame/includes/abc1600.h
index 5269a352c47..6c76362197c 100644
--- a/src/mame/includes/abc1600.h
+++ b/src/mame/includes/abc1600.h
@@ -57,7 +57,7 @@
class abc1600_state : public driver_device
{
public:
- abc1600_state(const machine_config &mconfig, device_type type, const char *tag)
+ abc1600_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, MC68008P8_TAG),
m_dma0(*this, Z8410AB1_0_TAG),
diff --git a/src/mame/includes/abc80.h b/src/mame/includes/abc80.h
index 794ce95d141..ee9c032486f 100644
--- a/src/mame/includes/abc80.h
+++ b/src/mame/includes/abc80.h
@@ -65,7 +65,7 @@
class abc80_state : public driver_device
{
public:
- abc80_state(const machine_config &mconfig, device_type type, const char *tag) :
+ abc80_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_pio(*this, Z80PIO_TAG),
diff --git a/src/mame/includes/abc80x.h b/src/mame/includes/abc80x.h
index ff688fd9702..c56f698438c 100644
--- a/src/mame/includes/abc80x.h
+++ b/src/mame/includes/abc80x.h
@@ -70,7 +70,7 @@
class abc800_state : public driver_device
{
public:
- abc800_state(const machine_config &mconfig, device_type type, const char *tag) :
+ abc800_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_ctc(*this, Z80CTC_TAG),
@@ -160,7 +160,7 @@ public:
class abc800m_state : public abc800_state
{
public:
- abc800m_state(const machine_config &mconfig, device_type type, const char *tag) :
+ abc800m_state(const machine_config &mconfig, device_type type, std::string tag) :
abc800_state(mconfig, type, tag),
m_crtc(*this, MC6845_TAG),
m_palette(*this, "palette"),
@@ -189,7 +189,7 @@ public:
class abc800c_state : public abc800_state
{
public:
- abc800c_state(const machine_config &mconfig, device_type type, const char *tag) :
+ abc800c_state(const machine_config &mconfig, device_type type, std::string tag) :
abc800_state(mconfig, type, tag),
m_trom(*this, SAA5052_TAG),
m_palette(*this, "palette"),
@@ -218,7 +218,7 @@ public:
class abc802_state : public abc800_state
{
public:
- abc802_state(const machine_config &mconfig, device_type type, const char *tag) :
+ abc802_state(const machine_config &mconfig, device_type type, std::string tag) :
abc800_state(mconfig, type, tag),
m_crtc(*this, MC6845_TAG),
m_palette(*this, "palette"),
@@ -262,7 +262,7 @@ public:
class abc806_state : public abc800_state
{
public:
- abc806_state(const machine_config &mconfig, device_type type, const char *tag) :
+ abc806_state(const machine_config &mconfig, device_type type, std::string tag) :
abc800_state(mconfig, type, tag),
m_crtc(*this, MC6845_TAG),
m_palette(*this, "palette"),
diff --git a/src/mame/includes/ac1.h b/src/mame/includes/ac1.h
index b127b882a2b..c29e2d960fd 100644
--- a/src/mame/includes/ac1.h
+++ b/src/mame/includes/ac1.h
@@ -15,7 +15,7 @@
class ac1_state : public driver_device
{
public:
- ac1_state(const machine_config &mconfig, device_type type, const char *tag)
+ ac1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cassette(*this, "cassette"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/actfancr.h b/src/mame/includes/actfancr.h
index f26d9843b3f..00c10c48986 100644
--- a/src/mame/includes/actfancr.h
+++ b/src/mame/includes/actfancr.h
@@ -12,7 +12,7 @@
class actfancr_state : public driver_device
{
public:
- actfancr_state(const machine_config &mconfig, device_type type, const char *tag)
+ actfancr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_main_ram(*this, "main_ram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/adam.h b/src/mame/includes/adam.h
index 604b14782d6..4596c0be499 100644
--- a/src/mame/includes/adam.h
+++ b/src/mame/includes/adam.h
@@ -28,7 +28,7 @@
class adam_state : public driver_device
{
public:
- adam_state(const machine_config &mconfig, device_type type, const char *tag) :
+ adam_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_netcpu(*this, M6801_TAG),
diff --git a/src/mame/includes/advision.h b/src/mame/includes/advision.h
index 67182a92163..d4db761cf54 100644
--- a/src/mame/includes/advision.h
+++ b/src/mame/includes/advision.h
@@ -20,7 +20,7 @@
class advision_state : public driver_device
{
public:
- advision_state(const machine_config &mconfig, device_type type, const char *tag)
+ advision_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, I8048_TAG),
m_soundcpu(*this, COP411_TAG),
diff --git a/src/mame/includes/aeroboto.h b/src/mame/includes/aeroboto.h
index 81510561b29..fe895521236 100644
--- a/src/mame/includes/aeroboto.h
+++ b/src/mame/includes/aeroboto.h
@@ -9,7 +9,7 @@
class aeroboto_state : public driver_device
{
public:
- aeroboto_state(const machine_config &mconfig, device_type type, const char *tag)
+ aeroboto_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mainram(*this, "mainram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/aerofgt.h b/src/mame/includes/aerofgt.h
index 194640f805c..bc721632e6f 100644
--- a/src/mame/includes/aerofgt.h
+++ b/src/mame/includes/aerofgt.h
@@ -7,7 +7,7 @@
class aerofgt_state : public driver_device
{
public:
- aerofgt_state(const machine_config &mconfig, device_type type, const char *tag)
+ aerofgt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bg1videoram(*this, "bg1videoram"),
m_bg2videoram(*this, "bg2videoram"),
diff --git a/src/mame/includes/aim65.h b/src/mame/includes/aim65.h
index 8ef3a8e98c2..e4893f92885 100644
--- a/src/mame/includes/aim65.h
+++ b/src/mame/includes/aim65.h
@@ -36,7 +36,7 @@
class aim65_state : public driver_device
{
public:
- aim65_state(const machine_config &mconfig, device_type type, const char *tag)
+ aim65_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cassette1(*this, "cassette"),
diff --git a/src/mame/includes/airbustr.h b/src/mame/includes/airbustr.h
index ae570085a3e..63e34f4a535 100644
--- a/src/mame/includes/airbustr.h
+++ b/src/mame/includes/airbustr.h
@@ -11,7 +11,7 @@
class airbustr_state : public driver_device
{
public:
- airbustr_state(const machine_config &mconfig, device_type type, const char *tag)
+ airbustr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_devram(*this, "devram"),
m_videoram2(*this, "videoram2"),
diff --git a/src/mame/includes/ajax.h b/src/mame/includes/ajax.h
index 3f633044eae..0cbba802a88 100644
--- a/src/mame/includes/ajax.h
+++ b/src/mame/includes/ajax.h
@@ -9,7 +9,7 @@
class ajax_state : public driver_device
{
public:
- ajax_state(const machine_config &mconfig, device_type type, const char *tag)
+ ajax_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/alesis.h b/src/mame/includes/alesis.h
index c22899efdd3..0424cc09c0e 100644
--- a/src/mame/includes/alesis.h
+++ b/src/mame/includes/alesis.h
@@ -28,7 +28,7 @@ class alesis_dm3ag_device : public device_t
{
public:
// construction/destruction
- alesis_dm3ag_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ alesis_dm3ag_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -61,7 +61,7 @@ private:
class alesis_state : public driver_device
{
public:
- alesis_state(const machine_config &mconfig, device_type type, const char *tag)
+ alesis_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_lcdc(*this, "hd44780"),
m_cassette(*this, "cassette"),
diff --git a/src/mame/includes/aliens.h b/src/mame/includes/aliens.h
index 8d78eb14660..635e4b9b366 100644
--- a/src/mame/includes/aliens.h
+++ b/src/mame/includes/aliens.h
@@ -14,7 +14,7 @@
class aliens_state : public driver_device
{
public:
- aliens_state(const machine_config &mconfig, device_type type, const char *tag)
+ aliens_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/alpha68k.h b/src/mame/includes/alpha68k.h
index 22fb75f2d21..367829de950 100644
--- a/src/mame/includes/alpha68k.h
+++ b/src/mame/includes/alpha68k.h
@@ -9,7 +9,7 @@
class alpha68k_state : public driver_device
{
public:
- alpha68k_state(const machine_config &mconfig, device_type type, const char *tag)
+ alpha68k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_shared_ram(*this, "shared_ram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/ambush.h b/src/mame/includes/ambush.h
index bb67a139dda..b77804f8cef 100644
--- a/src/mame/includes/ambush.h
+++ b/src/mame/includes/ambush.h
@@ -9,7 +9,7 @@
class ambush_state : public driver_device
{
public:
- ambush_state(const machine_config &mconfig, device_type type, const char *tag)
+ ambush_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/amiga.h b/src/mame/includes/amiga.h
index 680dcffdb5e..212f4de451f 100644
--- a/src/mame/includes/amiga.h
+++ b/src/mame/includes/amiga.h
@@ -326,7 +326,7 @@ Ernesto Corvi & Mariusz Wojcieszek
class amiga_state : public driver_device
{
public:
- amiga_state(const machine_config &mconfig, device_type type, const char *tag) :
+ amiga_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_agnus_id(AGNUS_NTSC),
m_denise_id(DENISE),
diff --git a/src/mame/includes/ampoker2.h b/src/mame/includes/ampoker2.h
index 2270da2dc3e..b30db6e1306 100644
--- a/src/mame/includes/ampoker2.h
+++ b/src/mame/includes/ampoker2.h
@@ -3,7 +3,7 @@
class ampoker2_state : public driver_device
{
public:
- ampoker2_state(const machine_config &mconfig, device_type type, const char *tag)
+ ampoker2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/amspdwy.h b/src/mame/includes/amspdwy.h
index 079b811b7f6..14becd93b66 100644
--- a/src/mame/includes/amspdwy.h
+++ b/src/mame/includes/amspdwy.h
@@ -11,7 +11,7 @@
class amspdwy_state : public driver_device
{
public:
- amspdwy_state(const machine_config &mconfig, device_type type, const char *tag)
+ amspdwy_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/amstrad.h b/src/mame/includes/amstrad.h
index ce09d777428..4c3b524e15a 100644
--- a/src/mame/includes/amstrad.h
+++ b/src/mame/includes/amstrad.h
@@ -125,7 +125,7 @@ public:
TIMER_SET_RESOLUTION
};
- amstrad_state(const machine_config &mconfig, device_type type, const char *tag)
+ amstrad_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ay(*this, "ay"),
diff --git a/src/mame/includes/angelkds.h b/src/mame/includes/angelkds.h
index ecd59f1e4e5..ab0c5000cd5 100644
--- a/src/mame/includes/angelkds.h
+++ b/src/mame/includes/angelkds.h
@@ -9,7 +9,7 @@
class angelkds_state : public driver_device
{
public:
- angelkds_state(const machine_config &mconfig, device_type type, const char *tag)
+ angelkds_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bgtopvideoram(*this, "bgtopvideoram"),
m_bgbotvideoram(*this, "bgbotvideoram"),
diff --git a/src/mame/includes/apollo.h b/src/mame/includes/apollo.h
index 978d2ef0257..f300aff3d0d 100644
--- a/src/mame/includes/apollo.h
+++ b/src/mame/includes/apollo.h
@@ -38,10 +38,10 @@
#define LOG(x) { logerror x; logerror ("\n"); apollo_check_log(); }
#define LOG1(x) { if (VERBOSE > 0) LOG(x) }
#define LOG2(x) { if (VERBOSE > 1) LOG(x) }
-#define CLOG(x) { machine().logerror ("%s - %s: ", apollo_cpu_context(machine().device(MAINCPU)), tag()); machine().logerror x; machine().logerror ("\n"); apollo_check_log(); }
+#define CLOG(x) { machine().logerror ("%s - %s: ", apollo_cpu_context(machine().device(MAINCPU)), tag().c_str()); machine().logerror x; machine().logerror ("\n"); apollo_check_log(); }
#define CLOG1(x) { if (VERBOSE > 0) CLOG(x) }
#define CLOG2(x) { if (VERBOSE > 1) CLOG(x) }
-#define DLOG(x) { device->logerror ("%s - %s: ", apollo_cpu_context(device->machine().device(MAINCPU)), device->tag()); device->logerror x; device->logerror ("\n"); apollo_check_log(); }
+#define DLOG(x) { device->logerror ("%s - %s: ", apollo_cpu_context(device->machine().device(MAINCPU)), device->tag().c_str()); device->logerror x; device->logerror ("\n"); apollo_check_log(); }
#define DLOG1(x) { if (VERBOSE > 0) DLOG(x) }
#define DLOG2(x) { if (VERBOSE > 1) DLOG(x) }
#define MLOG(x) { machine().logerror ("%s: ", apollo_cpu_context(machine().device(MAINCPU))); machine().logerror x; machine().logerror ("\n"); apollo_check_log(); }
@@ -112,7 +112,7 @@ class apollo_ni;
class apollo_state : public driver_device
{
public:
- apollo_state(const machine_config &mconfig, device_type type, const char *tag)
+ apollo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, MAINCPU),
m_messram_ptr(*this, "messram"),
@@ -326,7 +326,7 @@ void apollo_csr_set_status_register(UINT16 mask, UINT16 data);
class apollo_sio: public mc68681_device
{
public:
- apollo_sio(const machine_config &mconfig, const char *tag,
+ apollo_sio(const machine_config &mconfig, std::string tag,
device_t *owner, UINT32 clock);
DECLARE_READ8_MEMBER(read);
@@ -353,7 +353,7 @@ class apollo_ni: public device_t, public device_image_interface
{
public:
// construction/destruction
- apollo_ni(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ apollo_ni(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ~apollo_ni();
virtual iodevice_t image_type() const override { return IO_ROM; }
@@ -398,8 +398,8 @@ extern const device_type APOLLO_NI;
class apollo_graphics_15i : public device_t
{
public:
- apollo_graphics_15i(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- apollo_graphics_15i(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, device_type type, const char *name, const char *shortname, const char *source);
+ apollo_graphics_15i(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ apollo_graphics_15i(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, device_type type, const char *name, const char *shortname, const char *source);
~apollo_graphics_15i();
UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
@@ -637,7 +637,7 @@ MACHINE_CONFIG_EXTERN( apollo_graphics );
class apollo_graphics_19i : public apollo_graphics_15i
{
public:
- apollo_graphics_19i(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ apollo_graphics_19i(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// device-level overrides
virtual void device_config_complete() override;
@@ -676,7 +676,7 @@ class apollo_stdio_device: public device_t, public device_serial_interface
{
public:
// construction/destruction
- apollo_stdio_device(const machine_config &mconfig, const char *tag,
+ apollo_stdio_device(const machine_config &mconfig, std::string tag,
device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_tx_cb(device_t &device, _Object object)
diff --git a/src/mame/includes/apple1.h b/src/mame/includes/apple1.h
index 35215b9e9a3..b1010cb6313 100644
--- a/src/mame/includes/apple1.h
+++ b/src/mame/includes/apple1.h
@@ -32,7 +32,7 @@ struct terminal_t
class apple1_state : public driver_device
{
public:
- apple1_state(const machine_config &mconfig, device_type type, const char *tag)
+ apple1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/includes/apple2.h b/src/mame/includes/apple2.h
index 0216a80236e..ff01bd53410 100644
--- a/src/mame/includes/apple2.h
+++ b/src/mame/includes/apple2.h
@@ -125,7 +125,7 @@ struct apple2_memmap_config
class apple2_state : public driver_device
{
public:
- apple2_state(const machine_config &mconfig, device_type type, const char *tag)
+ apple2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/includes/apple2gs.h b/src/mame/includes/apple2gs.h
index 6812cc2b466..e50d9faa041 100644
--- a/src/mame/includes/apple2gs.h
+++ b/src/mame/includes/apple2gs.h
@@ -90,7 +90,7 @@ void apple2gs_remove_irq(running_machine &machine, UINT16 irq_mask);
class apple2gs_state : public apple2_state
{
public:
- apple2gs_state(const machine_config &mconfig, device_type type, const char *tag)
+ apple2gs_state(const machine_config &mconfig, device_type type, std::string tag)
: apple2_state(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_es5503(*this, "es5503"),
diff --git a/src/mame/includes/apple3.h b/src/mame/includes/apple3.h
index 4d53b0bba56..896aaac8671 100644
--- a/src/mame/includes/apple3.h
+++ b/src/mame/includes/apple3.h
@@ -40,7 +40,7 @@
class apple3_state : public driver_device
{
public:
- apple3_state(const machine_config &mconfig, device_type type, const char *tag)
+ apple3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/includes/appoooh.h b/src/mame/includes/appoooh.h
index 34e49e02c8b..5200de8cc94 100644
--- a/src/mame/includes/appoooh.h
+++ b/src/mame/includes/appoooh.h
@@ -5,7 +5,7 @@
class appoooh_state : public driver_device
{
public:
- appoooh_state(const machine_config &mconfig, device_type type, const char *tag)
+ appoooh_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_fg_videoram(*this, "fg_videoram"),
diff --git a/src/mame/includes/aquarium.h b/src/mame/includes/aquarium.h
index 2741a17be17..d0e7da92199 100644
--- a/src/mame/includes/aquarium.h
+++ b/src/mame/includes/aquarium.h
@@ -6,7 +6,7 @@
class aquarium_state : public driver_device
{
public:
- aquarium_state(const machine_config &mconfig, device_type type, const char *tag)
+ aquarium_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mid_videoram(*this, "mid_videoram"),
m_bak_videoram(*this, "bak_videoram"),
diff --git a/src/mame/includes/aquarius.h b/src/mame/includes/aquarius.h
index c9325f074b6..a5ea8517ccc 100644
--- a/src/mame/includes/aquarius.h
+++ b/src/mame/includes/aquarius.h
@@ -22,7 +22,7 @@
class aquarius_state : public driver_device
{
public:
- aquarius_state(const machine_config &mconfig, device_type type, const char *tag)
+ aquarius_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cassette(*this, "cassette"),
diff --git a/src/mame/includes/arabian.h b/src/mame/includes/arabian.h
index 0dc5fc7fde2..96ca38c5e20 100644
--- a/src/mame/includes/arabian.h
+++ b/src/mame/includes/arabian.h
@@ -11,7 +11,7 @@
class arabian_state : public driver_device
{
public:
- arabian_state(const machine_config &mconfig, device_type type, const char *tag)
+ arabian_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_custom_cpu_ram(*this, "custom_cpu_ram"),
m_blitter(*this, "blitter"),
diff --git a/src/mame/includes/arcadecl.h b/src/mame/includes/arcadecl.h
index 7a580d012c1..480c7f20073 100644
--- a/src/mame/includes/arcadecl.h
+++ b/src/mame/includes/arcadecl.h
@@ -12,7 +12,7 @@
class arcadecl_state : public atarigen_state
{
public:
- arcadecl_state(const machine_config &mconfig, device_type type, const char *tag)
+ arcadecl_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_mob(*this, "mob"),
m_bitmap(*this, "bitmap") { }
diff --git a/src/mame/includes/arcadia.h b/src/mame/includes/arcadia.h
index 164c095852c..f9f7931ee66 100644
--- a/src/mame/includes/arcadia.h
+++ b/src/mame/includes/arcadia.h
@@ -29,7 +29,7 @@
class arcadia_state : public driver_device
{
public:
- arcadia_state(const machine_config &mconfig, device_type type, const char *tag)
+ arcadia_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_custom(*this, "custom"),
m_panel(*this, "panel"),
diff --git a/src/mame/includes/archimds.h b/src/mame/includes/archimds.h
index 9156fa255eb..8158adb5418 100644
--- a/src/mame/includes/archimds.h
+++ b/src/mame/includes/archimds.h
@@ -44,7 +44,7 @@
class archimedes_state : public driver_device
{
public:
- archimedes_state(const machine_config &mconfig, device_type type, const char *tag)
+ archimedes_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_kart(*this, "kart"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/argus.h b/src/mame/includes/argus.h
index 1274f9a5d58..1f3f136726a 100644
--- a/src/mame/includes/argus.h
+++ b/src/mame/includes/argus.h
@@ -5,7 +5,7 @@
class argus_state : public driver_device
{
public:
- argus_state(const machine_config &mconfig, device_type type, const char *tag)
+ argus_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/arkanoid.h b/src/mame/includes/arkanoid.h
index 05d3ab53400..7da89d7e72d 100644
--- a/src/mame/includes/arkanoid.h
+++ b/src/mame/includes/arkanoid.h
@@ -20,7 +20,7 @@ public:
TIMER_68705_PRESCALER_EXPIRED,
};
- arkanoid_state(const machine_config &mconfig, device_type type, const char *tag)
+ arkanoid_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this,"videoram"),
m_spriteram(*this,"spriteram"),
diff --git a/src/mame/includes/armedf.h b/src/mame/includes/armedf.h
index b09b256ee45..8c58a01cef3 100644
--- a/src/mame/includes/armedf.h
+++ b/src/mame/includes/armedf.h
@@ -6,7 +6,7 @@
class armedf_state : public driver_device
{
public:
- armedf_state(const machine_config &mconfig, device_type type, const char *tag)
+ armedf_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_extra(*this, "extra"),
@@ -104,7 +104,7 @@ public:
class bigfghtr_state : public armedf_state
{
public:
- bigfghtr_state(const machine_config &mconfig, device_type type, const char *tag)
+ bigfghtr_state(const machine_config &mconfig, device_type type, std::string tag)
: armedf_state(mconfig, type, tag),
m_sharedram(*this, "sharedram") { }
diff --git a/src/mame/includes/artmagic.h b/src/mame/includes/artmagic.h
index 32f56fd2747..d02da1fcd7b 100644
--- a/src/mame/includes/artmagic.h
+++ b/src/mame/includes/artmagic.h
@@ -16,7 +16,7 @@ public:
TIMER_IRQ_OFF
};
- artmagic_state(const machine_config &mconfig, device_type type, const char *tag)
+ artmagic_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_oki(*this, "oki"),
diff --git a/src/mame/includes/ashnojoe.h b/src/mame/includes/ashnojoe.h
index 028ccdd650a..5de4adc05d2 100644
--- a/src/mame/includes/ashnojoe.h
+++ b/src/mame/includes/ashnojoe.h
@@ -10,7 +10,7 @@
class ashnojoe_state : public driver_device
{
public:
- ashnojoe_state(const machine_config &mconfig, device_type type, const char *tag)
+ ashnojoe_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_tileram_3(*this, "tileram_3"),
m_tileram_4(*this, "tileram_4"),
diff --git a/src/mame/includes/asterix.h b/src/mame/includes/asterix.h
index 04a65a6aee3..05acbea623b 100644
--- a/src/mame/includes/asterix.h
+++ b/src/mame/includes/asterix.h
@@ -18,7 +18,7 @@ public:
TIMER_NMI
};
- asterix_state(const machine_config &mconfig, device_type type, const char *tag)
+ asterix_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/asteroid.h b/src/mame/includes/asteroid.h
index 3929311d0c9..6ce78646fe0 100644
--- a/src/mame/includes/asteroid.h
+++ b/src/mame/includes/asteroid.h
@@ -12,7 +12,7 @@
class asteroid_state : public driver_device
{
public:
- asteroid_state(const machine_config &mconfig, device_type type, const char *tag)
+ asteroid_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dvg(*this, "dvg"),
diff --git a/src/mame/includes/astrocde.h b/src/mame/includes/astrocde.h
index 99ec5cc7e39..c6901fcfcf1 100644
--- a/src/mame/includes/astrocde.h
+++ b/src/mame/includes/astrocde.h
@@ -29,7 +29,7 @@ public:
TIMER_SCANLINE
};
- astrocde_state(const machine_config &mconfig, device_type type, const char *tag)
+ astrocde_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/includes/astrof.h b/src/mame/includes/astrof.h
index f45a3681777..11a69a7aed8 100644
--- a/src/mame/includes/astrof.h
+++ b/src/mame/includes/astrof.h
@@ -12,7 +12,7 @@
class astrof_state : public driver_device
{
public:
- astrof_state(const machine_config &mconfig, device_type type, const char *tag)
+ astrof_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_astrof_color(*this, "astrof_color"),
diff --git a/src/mame/includes/asuka.h b/src/mame/includes/asuka.h
index 5e824c3da78..963a0ba5daa 100644
--- a/src/mame/includes/asuka.h
+++ b/src/mame/includes/asuka.h
@@ -20,7 +20,7 @@ public:
TIMER_CADASH_INTERRUPT5
};
- asuka_state(const machine_config &mconfig, device_type type, const char *tag)
+ asuka_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cadash_shared_ram(*this, "sharedram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/at.h b/src/mame/includes/at.h
index 7d1d8e84d4b..34d213537d4 100644
--- a/src/mame/includes/at.h
+++ b/src/mame/includes/at.h
@@ -50,7 +50,7 @@
class at586_state : public driver_device
{
public:
- at586_state(const machine_config &mconfig, device_type type, const char *tag)
+ at586_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
required_device<cpu_device> m_maincpu;
@@ -61,7 +61,7 @@ public:
class at_state : public driver_device
{
public:
- at_state(const machine_config &mconfig, device_type type, const char *tag)
+ at_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pic8259_master(*this, "pic8259_master"),
@@ -170,7 +170,7 @@ public:
class megapc_state : public driver_device
{
public:
- megapc_state(const machine_config &mconfig, device_type type, const char *tag)
+ megapc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_wd7600(*this, "wd7600"),
diff --git a/src/mame/includes/atari.h b/src/mame/includes/atari.h
index ed899fc5386..e7df9e30db6 100644
--- a/src/mame/includes/atari.h
+++ b/src/mame/includes/atari.h
@@ -23,7 +23,7 @@
class atari_common_state : public driver_device
{
public:
- atari_common_state(const machine_config &mconfig, device_type type, const char *tag)
+ atari_common_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gtia(*this, "gtia"),
diff --git a/src/mame/includes/atarifb.h b/src/mame/includes/atarifb.h
index 445ab76f18a..5bfe589dcd2 100644
--- a/src/mame/includes/atarifb.h
+++ b/src/mame/includes/atarifb.h
@@ -20,7 +20,7 @@
class atarifb_state : public driver_device
{
public:
- atarifb_state(const machine_config &mconfig, device_type type, const char *tag)
+ atarifb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_alphap1_videoram(*this, "p1_videoram"),
m_alphap2_videoram(*this, "p2_videoram"),
diff --git a/src/mame/includes/atarig1.h b/src/mame/includes/atarig1.h
index 3cef67afe31..7b17b33b571 100644
--- a/src/mame/includes/atarig1.h
+++ b/src/mame/includes/atarig1.h
@@ -13,7 +13,7 @@
class atarig1_state : public atarigen_state
{
public:
- atarig1_state(const machine_config &mconfig, device_type type, const char *tag)
+ atarig1_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_jsa(*this, "jsa"),
diff --git a/src/mame/includes/atarig42.h b/src/mame/includes/atarig42.h
index 048d0c5384e..05880a6675e 100644
--- a/src/mame/includes/atarig42.h
+++ b/src/mame/includes/atarig42.h
@@ -14,7 +14,7 @@
class atarig42_state : public atarigen_state
{
public:
- atarig42_state(const machine_config &mconfig, device_type type, const char *tag)
+ atarig42_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_jsa(*this, "jsa"),
diff --git a/src/mame/includes/atarigt.h b/src/mame/includes/atarigt.h
index b2bc558eb1f..6f6ee9f5d7a 100644
--- a/src/mame/includes/atarigt.h
+++ b/src/mame/includes/atarigt.h
@@ -18,7 +18,7 @@
class atarigt_state : public atarigen_state
{
public:
- atarigt_state(const machine_config &mconfig, device_type type, const char *tag)
+ atarigt_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_colorram(*this, "colorram", 32),
m_playfield_tilemap(*this, "playfield"),
diff --git a/src/mame/includes/atarigx2.h b/src/mame/includes/atarigx2.h
index e0393e3b22e..4ef3932f41c 100644
--- a/src/mame/includes/atarigx2.h
+++ b/src/mame/includes/atarigx2.h
@@ -14,7 +14,7 @@
class atarigx2_state : public atarigen_state
{
public:
- atarigx2_state(const machine_config &mconfig, device_type type, const char *tag)
+ atarigx2_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_jsa(*this, "jsa"),
m_mo_command(*this, "mo_command"),
diff --git a/src/mame/includes/atarist.h b/src/mame/includes/atarist.h
index 34a6be7972e..c9499ac7895 100644
--- a/src/mame/includes/atarist.h
+++ b/src/mame/includes/atarist.h
@@ -80,7 +80,7 @@ public:
TIMER_BLITTER_TICK
};
- st_state(const machine_config &mconfig, device_type type, const char *tag)
+ st_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, M68000_TAG),
m_fdc(*this, WD1772_TAG),
@@ -341,7 +341,7 @@ protected:
class megast_state : public st_state
{
public:
- megast_state(const machine_config &mconfig, device_type type, const char *tag)
+ megast_state(const machine_config &mconfig, device_type type, std::string tag)
: st_state(mconfig, type, tag)
{ }
@@ -358,7 +358,7 @@ public:
TIMER_MICROWIRE_TICK
};
- ste_state(const machine_config &mconfig, device_type type, const char *tag)
+ ste_state(const machine_config &mconfig, device_type type, std::string tag)
: st_state(mconfig, type, tag),
m_lmc1992(*this, LMC1992_TAG)
{ }
@@ -433,7 +433,7 @@ protected:
class megaste_state : public ste_state
{
public:
- megaste_state(const machine_config &mconfig, device_type type, const char *tag)
+ megaste_state(const machine_config &mconfig, device_type type, std::string tag)
: ste_state(mconfig, type, tag)
{ }
@@ -448,7 +448,7 @@ public:
class stbook_state : public ste_state
{
public:
- stbook_state(const machine_config &mconfig, device_type type, const char *tag)
+ stbook_state(const machine_config &mconfig, device_type type, std::string tag)
: ste_state(mconfig, type, tag),
m_sw400(*this, "SW400")
{ }
diff --git a/src/mame/includes/atarisy1.h b/src/mame/includes/atarisy1.h
index a2e27c24704..71e8da26e6c 100644
--- a/src/mame/includes/atarisy1.h
+++ b/src/mame/includes/atarisy1.h
@@ -13,7 +13,7 @@
class atarisy1_state : public atarigen_state
{
public:
- atarisy1_state(const machine_config &mconfig, device_type type, const char *tag)
+ atarisy1_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_bankselect(*this, "bankselect"),
m_mob(*this, "mob"),
diff --git a/src/mame/includes/atarisy2.h b/src/mame/includes/atarisy2.h
index 21be1d85549..793a4834d59 100644
--- a/src/mame/includes/atarisy2.h
+++ b/src/mame/includes/atarisy2.h
@@ -15,7 +15,7 @@
class atarisy2_state : public atarigen_state
{
public:
- atarisy2_state(const machine_config &mconfig, device_type type, const char *tag)
+ atarisy2_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/atetris.h b/src/mame/includes/atetris.h
index e35b6b9e62c..07e85aa679d 100644
--- a/src/mame/includes/atetris.h
+++ b/src/mame/includes/atetris.h
@@ -11,7 +11,7 @@
class atetris_state : public driver_device
{
public:
- atetris_state(const machine_config &mconfig, device_type type, const char *tag)
+ atetris_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/atom.h b/src/mame/includes/atom.h
index af9ecff57cf..b593f66be3a 100644
--- a/src/mame/includes/atom.h
+++ b/src/mame/includes/atom.h
@@ -41,7 +41,7 @@
class atom_state : public driver_device
{
public:
- atom_state(const machine_config &mconfig, device_type type, const char *tag)
+ atom_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, SY6502_TAG),
m_vdg(*this, MC6847_TAG),
@@ -120,7 +120,7 @@ public:
class atomeb_state : public atom_state
{
public:
- atomeb_state(const machine_config &mconfig, device_type type, const char *tag)
+ atomeb_state(const machine_config &mconfig, device_type type, std::string tag)
: atom_state(mconfig, type, tag),
m_e0(*this, "rom_e0"),
m_e1(*this, "rom_e1")
diff --git a/src/mame/includes/aussiebyte.h b/src/mame/includes/aussiebyte.h
index 0f798e1a99f..6fe92a61538 100644
--- a/src/mame/includes/aussiebyte.h
+++ b/src/mame/includes/aussiebyte.h
@@ -30,7 +30,7 @@
class aussiebyte_state : public driver_device
{
public:
- aussiebyte_state(const machine_config &mconfig, device_type type, const char *tag)
+ aussiebyte_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_palette(*this, "palette")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/includes/avalnche.h b/src/mame/includes/avalnche.h
index e1884176ae1..373327ce4d7 100644
--- a/src/mame/includes/avalnche.h
+++ b/src/mame/includes/avalnche.h
@@ -12,7 +12,7 @@
class avalnche_state : public driver_device
{
public:
- avalnche_state(const machine_config &mconfig, device_type type, const char *tag)
+ avalnche_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_discrete(*this, "discrete"),
diff --git a/src/mame/includes/avigo.h b/src/mame/includes/avigo.h
index 6ef813906b6..ec1d82310c8 100644
--- a/src/mame/includes/avigo.h
+++ b/src/mame/includes/avigo.h
@@ -29,7 +29,7 @@
class avigo_state : public driver_device
{
public:
- avigo_state(const machine_config &mconfig, device_type type, const char *tag)
+ avigo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/includes/aztarac.h b/src/mame/includes/aztarac.h
index 45cb076ec3c..6786c3cba26 100644
--- a/src/mame/includes/aztarac.h
+++ b/src/mame/includes/aztarac.h
@@ -11,7 +11,7 @@
class aztarac_state : public driver_device
{
public:
- aztarac_state(const machine_config &mconfig, device_type type, const char *tag)
+ aztarac_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/b2m.h b/src/mame/includes/b2m.h
index a267a2b7538..fb1d50e6e49 100644
--- a/src/mame/includes/b2m.h
+++ b/src/mame/includes/b2m.h
@@ -20,7 +20,7 @@
class b2m_state : public driver_device
{
public:
- b2m_state(const machine_config &mconfig, device_type type, const char *tag)
+ b2m_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker"),
diff --git a/src/mame/includes/badlands.h b/src/mame/includes/badlands.h
index dca560b4466..1ed276ecf0f 100644
--- a/src/mame/includes/badlands.h
+++ b/src/mame/includes/badlands.h
@@ -12,7 +12,7 @@
class badlands_state : public atarigen_state
{
public:
- badlands_state(const machine_config &mconfig, device_type type, const char *tag)
+ badlands_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_playfield_tilemap(*this, "playfield"),
m_mob(*this, "mob") { }
diff --git a/src/mame/includes/bagman.h b/src/mame/includes/bagman.h
index f38bb7e361d..fca8de986c9 100644
--- a/src/mame/includes/bagman.h
+++ b/src/mame/includes/bagman.h
@@ -5,7 +5,7 @@
class bagman_state : public driver_device
{
public:
- bagman_state(const machine_config &mconfig, device_type type, const char *tag)
+ bagman_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/balsente.h b/src/mame/includes/balsente.h
index c3bd5218959..126ac063087 100644
--- a/src/mame/includes/balsente.h
+++ b/src/mame/includes/balsente.h
@@ -31,7 +31,7 @@
class balsente_state : public driver_device
{
public:
- balsente_state(const machine_config &mconfig, device_type type, const char *tag)
+ balsente_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_scanline_timer(*this, "scan_timer"),
m_counter_0_timer(*this, "8253_0_timer"),
diff --git a/src/mame/includes/banctec.h b/src/mame/includes/banctec.h
index d41e87c777e..ab8744ca894 100644
--- a/src/mame/includes/banctec.h
+++ b/src/mame/includes/banctec.h
@@ -14,7 +14,7 @@
class banctec_state : public driver_device
{
public:
- banctec_state(const machine_config &mconfig, device_type type, const char *tag)
+ banctec_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/bankp.h b/src/mame/includes/bankp.h
index 9eb8b731cd0..ec7aefe74f7 100644
--- a/src/mame/includes/bankp.h
+++ b/src/mame/includes/bankp.h
@@ -9,7 +9,7 @@
class bankp_state : public driver_device
{
public:
- bankp_state(const machine_config &mconfig, device_type type, const char *tag)
+ bankp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/baraduke.h b/src/mame/includes/baraduke.h
index fb468780ea9..f8940e08551 100644
--- a/src/mame/includes/baraduke.h
+++ b/src/mame/includes/baraduke.h
@@ -5,7 +5,7 @@
class baraduke_state : public driver_device
{
public:
- baraduke_state(const machine_config &mconfig, device_type type, const char *tag)
+ baraduke_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/batman.h b/src/mame/includes/batman.h
index f98632ee177..666ce66f2ba 100644
--- a/src/mame/includes/batman.h
+++ b/src/mame/includes/batman.h
@@ -13,7 +13,7 @@
class batman_state : public atarigen_state
{
public:
- batman_state(const machine_config &mconfig, device_type type, const char *tag)
+ batman_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_jsa(*this, "jsa"),
m_vad(*this, "vad") { }
diff --git a/src/mame/includes/battlane.h b/src/mame/includes/battlane.h
index 1a6e6124a12..e676679ce9c 100644
--- a/src/mame/includes/battlane.h
+++ b/src/mame/includes/battlane.h
@@ -9,7 +9,7 @@
class battlane_state : public driver_device
{
public:
- battlane_state(const machine_config &mconfig, device_type type, const char *tag)
+ battlane_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_tileram(*this, "tileram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/battlera.h b/src/mame/includes/battlera.h
index 3c1c72b4806..7bbaf80ee50 100644
--- a/src/mame/includes/battlera.h
+++ b/src/mame/includes/battlera.h
@@ -9,7 +9,7 @@
class battlera_state : public driver_device
{
public:
- battlera_state(const machine_config &mconfig, device_type type, const char *tag)
+ battlera_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/battlex.h b/src/mame/includes/battlex.h
index cf4ac5ead7f..298dfd83cdf 100644
--- a/src/mame/includes/battlex.h
+++ b/src/mame/includes/battlex.h
@@ -9,7 +9,7 @@
class battlex_state : public driver_device
{
public:
- battlex_state(const machine_config &mconfig, device_type type, const char *tag)
+ battlex_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/battlnts.h b/src/mame/includes/battlnts.h
index b6eff358b79..a036fbf34d6 100644
--- a/src/mame/includes/battlnts.h
+++ b/src/mame/includes/battlnts.h
@@ -12,7 +12,7 @@
class battlnts_state : public driver_device
{
public:
- battlnts_state(const machine_config &mconfig, device_type type, const char *tag)
+ battlnts_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/bbc.h b/src/mame/includes/bbc.h
index 8a5851a664f..a8cffc7c5ac 100644
--- a/src/mame/includes/bbc.h
+++ b/src/mame/includes/bbc.h
@@ -46,7 +46,7 @@ enum machine_type_t
class bbc_state : public driver_device
{
public:
- bbc_state(const machine_config &mconfig, device_type type, const char *tag) :
+ bbc_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/includes/bbusters.h b/src/mame/includes/bbusters.h
index c2c4526502f..48cd5206084 100644
--- a/src/mame/includes/bbusters.h
+++ b/src/mame/includes/bbusters.h
@@ -5,7 +5,7 @@
class bbusters_state : public driver_device
{
public:
- bbusters_state(const machine_config &mconfig, device_type type, const char *tag)
+ bbusters_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/beathead.h b/src/mame/includes/beathead.h
index 5913cb4a997..88ae6dc91a4 100644
--- a/src/mame/includes/beathead.h
+++ b/src/mame/includes/beathead.h
@@ -13,7 +13,7 @@
class beathead_state : public atarigen_state
{
public:
- beathead_state(const machine_config &mconfig, device_type type, const char *tag)
+ beathead_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_jsa(*this, "jsa"),
diff --git a/src/mame/includes/bebox.h b/src/mame/includes/bebox.h
index 80ace184a53..27c64903fa7 100644
--- a/src/mame/includes/bebox.h
+++ b/src/mame/includes/bebox.h
@@ -32,7 +32,7 @@ public:
TIMER_GET_DEVICES
};
- bebox_state(const machine_config &mconfig, device_type type, const char *tag)
+ bebox_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ppc1(*this, "ppc1"),
m_ppc2(*this, "ppc2"),
diff --git a/src/mame/includes/beezer.h b/src/mame/includes/beezer.h
index a4afe9f6d30..9fcd8496215 100644
--- a/src/mame/includes/beezer.h
+++ b/src/mame/includes/beezer.h
@@ -8,7 +8,7 @@ class beezer_sound_device;
class beezer_state : public driver_device
{
public:
- beezer_state(const machine_config &mconfig, device_type type, const char *tag)
+ beezer_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
@@ -70,7 +70,7 @@ class beezer_sound_device : public device_t,
public device_sound_interface
{
public:
- beezer_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ beezer_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~beezer_sound_device() {}
DECLARE_READ8_MEMBER( sh6840_r );
diff --git a/src/mame/includes/bfm_ad5.h b/src/mame/includes/bfm_ad5.h
index 39f01c25739..6950d970e3d 100644
--- a/src/mame/includes/bfm_ad5.h
+++ b/src/mame/includes/bfm_ad5.h
@@ -7,7 +7,7 @@
class adder5_state : public driver_device
{
public:
- adder5_state(const machine_config &mconfig, device_type type, const char *tag)
+ adder5_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/includes/bfm_sc45.h b/src/mame/includes/bfm_sc45.h
index 5844cdc9a1b..cd4bf707f74 100644
--- a/src/mame/includes/bfm_sc45.h
+++ b/src/mame/includes/bfm_sc45.h
@@ -63,7 +63,7 @@
class bfm_sc45_state : public driver_device
{
public:
- bfm_sc45_state(const machine_config &mconfig, device_type type, const char *tag)
+ bfm_sc45_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_duart(*this, "duart68681"),
m_vfd0(*this, "vfd0"),
@@ -98,7 +98,7 @@ void bfm_sc45_write_serial_vfd(running_machine &machine, bool cs, bool clock, bo
class sc4_state : public bfm_sc45_state
{
public:
- sc4_state(const machine_config &mconfig, device_type type, const char *tag)
+ sc4_state(const machine_config &mconfig, device_type type, std::string tag)
: bfm_sc45_state(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cpuregion(*this, "maincpu"),
@@ -623,7 +623,7 @@ protected:
class sc4_adder4_state : public sc4_state
{
public:
- sc4_adder4_state(const machine_config &mconfig, device_type type, const char *tag)
+ sc4_adder4_state(const machine_config &mconfig, device_type type, std::string tag)
: sc4_state(mconfig, type, tag),
m_adder4cpu(*this, "adder4")
{ }
diff --git a/src/mame/includes/bfm_sc5.h b/src/mame/includes/bfm_sc5.h
index 004a727ce04..e8d815fea76 100644
--- a/src/mame/includes/bfm_sc5.h
+++ b/src/mame/includes/bfm_sc5.h
@@ -6,7 +6,7 @@
class bfm_sc5_state : public bfm_sc45_state
{
public:
- bfm_sc5_state(const machine_config &mconfig, device_type type, const char *tag)
+ bfm_sc5_state(const machine_config &mconfig, device_type type, std::string tag)
: bfm_sc45_state(mconfig, type, tag),
m_maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/includes/bigevglf.h b/src/mame/includes/bigevglf.h
index d0bd4a3cea5..5907235db8d 100644
--- a/src/mame/includes/bigevglf.h
+++ b/src/mame/includes/bigevglf.h
@@ -5,7 +5,7 @@
class bigevglf_state : public driver_device
{
public:
- bigevglf_state(const machine_config &mconfig, device_type type, const char *tag)
+ bigevglf_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_paletteram(*this, "paletteram"),
m_spriteram1(*this, "spriteram1"),
diff --git a/src/mame/includes/bigstrkb.h b/src/mame/includes/bigstrkb.h
index dd7bf0cb86c..43925568e6f 100644
--- a/src/mame/includes/bigstrkb.h
+++ b/src/mame/includes/bigstrkb.h
@@ -3,7 +3,7 @@
class bigstrkb_state : public driver_device
{
public:
- bigstrkb_state(const machine_config &mconfig, device_type type, const char *tag)
+ bigstrkb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/bionicc.h b/src/mame/includes/bionicc.h
index afe83c076cb..1c138a84cac 100644
--- a/src/mame/includes/bionicc.h
+++ b/src/mame/includes/bionicc.h
@@ -13,7 +13,7 @@
class bionicc_state : public driver_device
{
public:
- bionicc_state(const machine_config &mconfig, device_type type, const char *tag)
+ bionicc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram") ,
m_txvideoram(*this, "txvideoram"),
diff --git a/src/mame/includes/bishi.h b/src/mame/includes/bishi.h
index f2421b3b3b9..a68c0456f3c 100644
--- a/src/mame/includes/bishi.h
+++ b/src/mame/includes/bishi.h
@@ -18,7 +18,7 @@
class bishi_state : public driver_device
{
public:
- bishi_state(const machine_config &mconfig, device_type type, const char *tag)
+ bishi_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/bk.h b/src/mame/includes/bk.h
index cd872bcaa88..f65dd632436 100644
--- a/src/mame/includes/bk.h
+++ b/src/mame/includes/bk.h
@@ -13,7 +13,7 @@
class bk_state : public driver_device
{
public:
- bk_state(const machine_config &mconfig, device_type type, const char *tag)
+ bk_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bk0010_video_ram(*this, "video_ram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/bking.h b/src/mame/includes/bking.h
index ffd455d3421..081a632f244 100644
--- a/src/mame/includes/bking.h
+++ b/src/mame/includes/bking.h
@@ -5,7 +5,7 @@
class bking_state : public driver_device
{
public:
- bking_state(const machine_config &mconfig, device_type type, const char *tag)
+ bking_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_playfield_ram(*this, "playfield_ram"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/bladestl.h b/src/mame/includes/bladestl.h
index e95eac874e8..ac53b37a3a3 100644
--- a/src/mame/includes/bladestl.h
+++ b/src/mame/includes/bladestl.h
@@ -14,7 +14,7 @@
class bladestl_state : public driver_device
{
public:
- bladestl_state(const machine_config &mconfig, device_type type, const char *tag)
+ bladestl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/blktiger.h b/src/mame/includes/blktiger.h
index c464103385e..30eeb0b999d 100644
--- a/src/mame/includes/blktiger.h
+++ b/src/mame/includes/blktiger.h
@@ -11,7 +11,7 @@
class blktiger_state : public driver_device
{
public:
- blktiger_state(const machine_config &mconfig, device_type type, const char *tag)
+ blktiger_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram") ,
m_txvideoram(*this, "txvideoram"),
diff --git a/src/mame/includes/blmbycar.h b/src/mame/includes/blmbycar.h
index 2fbc5390e01..b195e9bcc18 100644
--- a/src/mame/includes/blmbycar.h
+++ b/src/mame/includes/blmbycar.h
@@ -9,7 +9,7 @@
class blmbycar_state : public driver_device
{
public:
- blmbycar_state(const machine_config &mconfig, device_type type, const char *tag)
+ blmbycar_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vram_1(*this, "vram_1"),
m_vram_0(*this, "vram_0"),
diff --git a/src/mame/includes/blockade.h b/src/mame/includes/blockade.h
index d0b40e1f628..5133478053b 100644
--- a/src/mame/includes/blockade.h
+++ b/src/mame/includes/blockade.h
@@ -6,7 +6,7 @@
class blockade_state : public driver_device
{
public:
- blockade_state(const machine_config &mconfig, device_type type, const char *tag)
+ blockade_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_discrete(*this, "discrete"),
diff --git a/src/mame/includes/blockout.h b/src/mame/includes/blockout.h
index 81758b92397..3360004f49f 100644
--- a/src/mame/includes/blockout.h
+++ b/src/mame/includes/blockout.h
@@ -9,7 +9,7 @@
class blockout_state : public driver_device
{
public:
- blockout_state(const machine_config &mconfig, device_type type, const char *tag)
+ blockout_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_frontvideoram(*this, "frontvideoram"),
diff --git a/src/mame/includes/bloodbro.h b/src/mame/includes/bloodbro.h
index a4bfc21a918..6254f731b20 100644
--- a/src/mame/includes/bloodbro.h
+++ b/src/mame/includes/bloodbro.h
@@ -3,7 +3,7 @@
class bloodbro_state : public driver_device
{
public:
- bloodbro_state(const machine_config &mconfig, device_type type, const char *tag)
+ bloodbro_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/blstroid.h b/src/mame/includes/blstroid.h
index d1cedbeead6..f22f40144f1 100644
--- a/src/mame/includes/blstroid.h
+++ b/src/mame/includes/blstroid.h
@@ -19,7 +19,7 @@ public:
TIMER_IRQ_ON
};
- blstroid_state(const machine_config &mconfig, device_type type, const char *tag)
+ blstroid_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_playfield_tilemap(*this, "playfield"),
m_jsa(*this, "jsa"),
diff --git a/src/mame/includes/blueprnt.h b/src/mame/includes/blueprnt.h
index f515e0c6ed1..3e9022da8a4 100644
--- a/src/mame/includes/blueprnt.h
+++ b/src/mame/includes/blueprnt.h
@@ -9,7 +9,7 @@
class blueprnt_state : public driver_device
{
public:
- blueprnt_state(const machine_config &mconfig, device_type type, const char *tag)
+ blueprnt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_audiocpu(*this, "audiocpu"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/bogeyman.h b/src/mame/includes/bogeyman.h
index d5bd855fac3..acc163f58f7 100644
--- a/src/mame/includes/bogeyman.h
+++ b/src/mame/includes/bogeyman.h
@@ -11,7 +11,7 @@
class bogeyman_state : public driver_device
{
public:
- bogeyman_state(const machine_config &mconfig, device_type type, const char *tag)
+ bogeyman_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/bombjack.h b/src/mame/includes/bombjack.h
index db58222ccea..a1f32ad899e 100644
--- a/src/mame/includes/bombjack.h
+++ b/src/mame/includes/bombjack.h
@@ -9,7 +9,7 @@
class bombjack_state : public driver_device
{
public:
- bombjack_state(const machine_config &mconfig, device_type type, const char *tag)
+ bombjack_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/boogwing.h b/src/mame/includes/boogwing.h
index 9b28449b41b..2093f989597 100644
--- a/src/mame/includes/boogwing.h
+++ b/src/mame/includes/boogwing.h
@@ -17,7 +17,7 @@
class boogwing_state : public driver_device
{
public:
- boogwing_state(const machine_config &mconfig, device_type type, const char *tag)
+ boogwing_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/bottom9.h b/src/mame/includes/bottom9.h
index cfaa72de2b0..18ead5f59bb 100644
--- a/src/mame/includes/bottom9.h
+++ b/src/mame/includes/bottom9.h
@@ -14,7 +14,7 @@
class bottom9_state : public driver_device
{
public:
- bottom9_state(const machine_config &mconfig, device_type type, const char *tag)
+ bottom9_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/brkthru.h b/src/mame/includes/brkthru.h
index c3cfd0d6daa..fa100f8d896 100644
--- a/src/mame/includes/brkthru.h
+++ b/src/mame/includes/brkthru.h
@@ -9,7 +9,7 @@
class brkthru_state : public driver_device
{
public:
- brkthru_state(const machine_config &mconfig, device_type type, const char *tag)
+ brkthru_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fg_videoram(*this, "fg_videoram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/bsktball.h b/src/mame/includes/bsktball.h
index 5ef6ba53321..a1bfc588e1b 100644
--- a/src/mame/includes/bsktball.h
+++ b/src/mame/includes/bsktball.h
@@ -18,7 +18,7 @@
class bsktball_state : public driver_device
{
public:
- bsktball_state(const machine_config &mconfig, device_type type, const char *tag)
+ bsktball_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_motion(*this, "motion"),
diff --git a/src/mame/includes/btime.h b/src/mame/includes/btime.h
index fb27d1722cc..4ded4c99674 100644
--- a/src/mame/includes/btime.h
+++ b/src/mame/includes/btime.h
@@ -9,7 +9,7 @@
class btime_state : public driver_device
{
public:
- btime_state(const machine_config &mconfig, device_type type, const char *tag)
+ btime_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_rambase(*this, "rambase"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/btoads.h b/src/mame/includes/btoads.h
index 065137c3262..fcf90b3d214 100644
--- a/src/mame/includes/btoads.h
+++ b/src/mame/includes/btoads.h
@@ -17,7 +17,7 @@
class btoads_state : public driver_device
{
public:
- btoads_state(const machine_config &mconfig, device_type type, const char *tag)
+ btoads_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_audiocpu(*this, "audiocpu"),
m_bsmt(*this, "bsmt"),
diff --git a/src/mame/includes/bublbobl.h b/src/mame/includes/bublbobl.h
index c308ac921b5..d24e31b9d30 100644
--- a/src/mame/includes/bublbobl.h
+++ b/src/mame/includes/bublbobl.h
@@ -10,7 +10,7 @@ public:
TIMER_M68705_IRQ_ACK
};
- bublbobl_state(const machine_config &mconfig, device_type type, const char *tag)
+ bublbobl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_objectram(*this, "objectram"),
diff --git a/src/mame/includes/buggychl.h b/src/mame/includes/buggychl.h
index f55343b1122..4abdde02a2e 100644
--- a/src/mame/includes/buggychl.h
+++ b/src/mame/includes/buggychl.h
@@ -10,7 +10,7 @@
class buggychl_state : public driver_device
{
public:
- buggychl_state(const machine_config &mconfig, device_type type, const char *tag)
+ buggychl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_charram(*this, "charram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/bullet.h b/src/mame/includes/bullet.h
index 206b5dac222..978f810e1b3 100644
--- a/src/mame/includes/bullet.h
+++ b/src/mame/includes/bullet.h
@@ -30,7 +30,7 @@
class bullet_state : public driver_device
{
public:
- bullet_state(const machine_config &mconfig, device_type type, const char *tag)
+ bullet_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_ctc(*this, Z80CTC_TAG),
@@ -131,7 +131,7 @@ public:
class bulletf_state : public bullet_state
{
public:
- bulletf_state(const machine_config &mconfig, device_type type, const char *tag) :
+ bulletf_state(const machine_config &mconfig, device_type type, std::string tag) :
bullet_state(mconfig, type, tag),
m_floppy8(*this, MB8877_TAG":8"),
m_floppy9(*this, MB8877_TAG":9"),
diff --git a/src/mame/includes/busicom.h b/src/mame/includes/busicom.h
index d6a5423808f..3b04f20c5d0 100644
--- a/src/mame/includes/busicom.h
+++ b/src/mame/includes/busicom.h
@@ -14,7 +14,7 @@
class busicom_state : public driver_device
{
public:
- busicom_state(const machine_config &mconfig, device_type type, const char *tag)
+ busicom_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette") { }
diff --git a/src/mame/includes/bw12.h b/src/mame/includes/bw12.h
index 39330c20fcb..0916575a16c 100644
--- a/src/mame/includes/bw12.h
+++ b/src/mame/includes/bw12.h
@@ -38,7 +38,7 @@
class bw12_state : public driver_device
{
public:
- bw12_state(const machine_config &mconfig, device_type type, const char *tag)
+ bw12_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_pia(*this, PIA6821_TAG),
diff --git a/src/mame/includes/bw2.h b/src/mame/includes/bw2.h
index 041e8e4d5e5..42531a11146 100644
--- a/src/mame/includes/bw2.h
+++ b/src/mame/includes/bw2.h
@@ -31,7 +31,7 @@
class bw2_state : public driver_device
{
public:
- bw2_state(const machine_config &mconfig, device_type type, const char *tag)
+ bw2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_uart(*this, I8251_TAG),
diff --git a/src/mame/includes/bwidow.h b/src/mame/includes/bwidow.h
index 48c53e2c87c..dc357b45979 100644
--- a/src/mame/includes/bwidow.h
+++ b/src/mame/includes/bwidow.h
@@ -11,7 +11,7 @@
class bwidow_state : public driver_device
{
public:
- bwidow_state(const machine_config &mconfig, device_type type, const char *tag)
+ bwidow_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/includes/bwing.h b/src/mame/includes/bwing.h
index 215cb663122..ee249399cf9 100644
--- a/src/mame/includes/bwing.h
+++ b/src/mame/includes/bwing.h
@@ -13,7 +13,7 @@
class bwing_state : public driver_device
{
public:
- bwing_state(const machine_config &mconfig, device_type type, const char *tag)
+ bwing_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/includes/bzone.h b/src/mame/includes/bzone.h
index 98894644a3c..b9ab8687de9 100644
--- a/src/mame/includes/bzone.h
+++ b/src/mame/includes/bzone.h
@@ -16,7 +16,7 @@
class bzone_state : public driver_device
{
public:
- bzone_state(const machine_config &mconfig, device_type type, const char *tag)
+ bzone_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mathbox(*this, "mathbox"),
diff --git a/src/mame/includes/c128.h b/src/mame/includes/c128.h
index 03d72b42db5..edb95947442 100644
--- a/src/mame/includes/c128.h
+++ b/src/mame/includes/c128.h
@@ -42,7 +42,7 @@
class c128_state : public driver_device
{
public:
- c128_state(const machine_config &mconfig, device_type type, const char *tag) :
+ c128_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, Z80A_TAG),
m_subcpu(*this, M8502_TAG),
diff --git a/src/mame/includes/c64.h b/src/mame/includes/c64.h
index 2bf654f9080..4394e447213 100644
--- a/src/mame/includes/c64.h
+++ b/src/mame/includes/c64.h
@@ -34,7 +34,7 @@
class c64_state : public driver_device
{
public:
- c64_state(const machine_config &mconfig, device_type type, const char *tag) :
+ c64_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, M6510_TAG),
m_pla(*this, PLA_TAG),
@@ -179,7 +179,7 @@ public:
class sx64_state : public c64_state
{
public:
- sx64_state(const machine_config &mconfig, device_type type, const char *tag)
+ sx64_state(const machine_config &mconfig, device_type type, std::string tag)
: c64_state(mconfig, type, tag)
{ }
@@ -191,7 +191,7 @@ public:
class c64c_state : public c64_state
{
public:
- c64c_state(const machine_config &mconfig, device_type type, const char *tag)
+ c64c_state(const machine_config &mconfig, device_type type, std::string tag)
: c64_state(mconfig, type, tag)
{ }
};
@@ -200,7 +200,7 @@ public:
class c64gs_state : public c64c_state
{
public:
- c64gs_state(const machine_config &mconfig, device_type type, const char *tag)
+ c64gs_state(const machine_config &mconfig, device_type type, std::string tag)
: c64c_state(mconfig, type, tag)
{ }
diff --git a/src/mame/includes/c80.h b/src/mame/includes/c80.h
index 0f96980fc8d..2b6ad92b41d 100644
--- a/src/mame/includes/c80.h
+++ b/src/mame/includes/c80.h
@@ -19,7 +19,7 @@
class c80_state : public driver_device
{
public:
- c80_state(const machine_config &mconfig, device_type type, const char *tag)
+ c80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_pio1(*this, Z80PIO1_TAG),
diff --git a/src/mame/includes/cabal.h b/src/mame/includes/cabal.h
index 6f5a3e71cfb..02314f73e4a 100644
--- a/src/mame/includes/cabal.h
+++ b/src/mame/includes/cabal.h
@@ -6,7 +6,7 @@
class cabal_state : public driver_device
{
public:
- cabal_state(const machine_config &mconfig, device_type type, const char *tag)
+ cabal_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/calomega.h b/src/mame/includes/calomega.h
index 8667ed87797..0d483bde85f 100644
--- a/src/mame/includes/calomega.h
+++ b/src/mame/includes/calomega.h
@@ -6,7 +6,7 @@
class calomega_state : public driver_device
{
public:
- calomega_state(const machine_config &mconfig, device_type type, const char *tag) :
+ calomega_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_acia6850_0(*this, "acia6850_0"),
diff --git a/src/mame/includes/canyon.h b/src/mame/includes/canyon.h
index 316a8dc2d2c..4cff3850a0a 100644
--- a/src/mame/includes/canyon.h
+++ b/src/mame/includes/canyon.h
@@ -22,7 +22,7 @@
class canyon_state : public driver_device
{
public:
- canyon_state(const machine_config &mconfig, device_type type, const char *tag)
+ canyon_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_discrete(*this, "discrete"),
diff --git a/src/mame/includes/capbowl.h b/src/mame/includes/capbowl.h
index cb63080bc17..ace918c14b7 100644
--- a/src/mame/includes/capbowl.h
+++ b/src/mame/includes/capbowl.h
@@ -17,7 +17,7 @@ public:
TIMER_UPDATE
};
- capbowl_state(const machine_config &mconfig, device_type type, const char *tag)
+ capbowl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/carjmbre.h b/src/mame/includes/carjmbre.h
index e19917b9f43..0d01cdda918 100644
--- a/src/mame/includes/carjmbre.h
+++ b/src/mame/includes/carjmbre.h
@@ -9,7 +9,7 @@
class carjmbre_state : public driver_device
{
public:
- carjmbre_state(const machine_config &mconfig, device_type type, const char *tag)
+ carjmbre_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/carpolo.h b/src/mame/includes/carpolo.h
index 62978cef335..c0ba199c24d 100644
--- a/src/mame/includes/carpolo.h
+++ b/src/mame/includes/carpolo.h
@@ -16,7 +16,7 @@
class carpolo_state : public driver_device
{
public:
- carpolo_state(const machine_config &mconfig, device_type type, const char *tag)
+ carpolo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_alpharam(*this, "alpharam"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/cave.h b/src/mame/includes/cave.h
index 938a4757559..dbd41997233 100644
--- a/src/mame/includes/cave.h
+++ b/src/mame/includes/cave.h
@@ -29,7 +29,7 @@ struct sprite_cave
class cave_state : public driver_device
{
public:
- cave_state(const machine_config &mconfig, device_type type, const char *tag)
+ cave_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoregs(*this, "videoregs"),
m_vram(*this, "vram"),
diff --git a/src/mame/includes/cbasebal.h b/src/mame/includes/cbasebal.h
index b64eb70e6f8..823d59e804c 100644
--- a/src/mame/includes/cbasebal.h
+++ b/src/mame/includes/cbasebal.h
@@ -9,7 +9,7 @@
class cbasebal_state : public driver_device
{
public:
- cbasebal_state(const machine_config &mconfig, device_type type, const char *tag)
+ cbasebal_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/cbm2.h b/src/mame/includes/cbm2.h
index 78ddb7824da..78333352213 100644
--- a/src/mame/includes/cbm2.h
+++ b/src/mame/includes/cbm2.h
@@ -54,7 +54,7 @@
class cbm2_state : public driver_device
{
public:
- cbm2_state(const machine_config &mconfig, device_type type, const char *tag)
+ cbm2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, M6509_TAG),
m_pla1(*this, PLA1_TAG),
@@ -247,7 +247,7 @@ public:
class cbm2hp_state : public cbm2_state
{
public:
- cbm2hp_state(const machine_config &mconfig, device_type type, const char *tag)
+ cbm2hp_state(const machine_config &mconfig, device_type type, std::string tag)
: cbm2_state(mconfig, type, tag)
{ }
@@ -261,7 +261,7 @@ public:
class p500_state : public cbm2_state
{
public:
- p500_state(const machine_config &mconfig, device_type type, const char *tag)
+ p500_state(const machine_config &mconfig, device_type type, std::string tag)
: cbm2_state(mconfig, type, tag),
m_pla2(*this, PLA2_TAG),
m_vic(*this, MOS6569_TAG),
diff --git a/src/mame/includes/cbuster.h b/src/mame/includes/cbuster.h
index 51b2f20543b..eea7d7dc425 100644
--- a/src/mame/includes/cbuster.h
+++ b/src/mame/includes/cbuster.h
@@ -12,7 +12,7 @@
class cbuster_state : public driver_device
{
public:
- cbuster_state(const machine_config &mconfig, device_type type, const char *tag)
+ cbuster_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ram(*this, "ram"),
m_pf1_rowscroll(*this, "pf1_rowscroll"),
diff --git a/src/mame/includes/ccastles.h b/src/mame/includes/ccastles.h
index d690dc7f839..d374f9ae2fc 100644
--- a/src/mame/includes/ccastles.h
+++ b/src/mame/includes/ccastles.h
@@ -12,7 +12,7 @@
class ccastles_state : public driver_device
{
public:
- ccastles_state(const machine_config &mconfig, device_type type, const char *tag)
+ ccastles_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_nvram_4b(*this, "nvram_4b"),
diff --git a/src/mame/includes/cchasm.h b/src/mame/includes/cchasm.h
index 444b05c3b5e..f57fde2e70c 100644
--- a/src/mame/includes/cchasm.h
+++ b/src/mame/includes/cchasm.h
@@ -18,7 +18,7 @@ public:
TIMER_REFRESH_END
};
- cchasm_state(const machine_config &mconfig, device_type type, const char *tag)
+ cchasm_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ctc(*this, "ctc"),
diff --git a/src/mame/includes/cclimber.h b/src/mame/includes/cclimber.h
index 2d0b64f566a..2bd38b7f1ee 100644
--- a/src/mame/includes/cclimber.h
+++ b/src/mame/includes/cclimber.h
@@ -3,7 +3,7 @@
class cclimber_state : public driver_device
{
public:
- cclimber_state(const machine_config &mconfig, device_type type, const char *tag)
+ cclimber_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/cdi.h b/src/mame/includes/cdi.h
index 2e7b13ada04..19266b57e77 100644
--- a/src/mame/includes/cdi.h
+++ b/src/mame/includes/cdi.h
@@ -17,7 +17,7 @@
class cdi_state : public driver_device
{
public:
- cdi_state(const machine_config &mconfig, device_type type, const char *tag)
+ cdi_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_planea(*this, "planea")
diff --git a/src/mame/includes/centiped.h b/src/mame/includes/centiped.h
index 74eb06ad0c6..e3f385e9846 100644
--- a/src/mame/includes/centiped.h
+++ b/src/mame/includes/centiped.h
@@ -11,7 +11,7 @@
class centiped_state : public driver_device
{
public:
- centiped_state(const machine_config &mconfig, device_type type, const char *tag)
+ centiped_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_rambase(*this, "rambase"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/cgc7900.h b/src/mame/includes/cgc7900.h
index defea5ddad9..ea5e318a81b 100644
--- a/src/mame/includes/cgc7900.h
+++ b/src/mame/includes/cgc7900.h
@@ -26,7 +26,7 @@
class cgc7900_state : public driver_device
{
public:
- cgc7900_state(const machine_config &mconfig, device_type type, const char *tag)
+ cgc7900_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, M68000_TAG),
m_palette(*this, "palette"),
diff --git a/src/mame/includes/chaknpop.h b/src/mame/includes/chaknpop.h
index dc457388e66..822732d8626 100644
--- a/src/mame/includes/chaknpop.h
+++ b/src/mame/includes/chaknpop.h
@@ -8,7 +8,7 @@
class chaknpop_state : public driver_device
{
public:
- chaknpop_state(const machine_config &mconfig, device_type type, const char *tag)
+ chaknpop_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/champbas.h b/src/mame/includes/champbas.h
index 6c409a7a708..62bd63df748 100644
--- a/src/mame/includes/champbas.h
+++ b/src/mame/includes/champbas.h
@@ -13,7 +13,7 @@
class champbas_state : public driver_device
{
public:
- champbas_state(const machine_config &mconfig, device_type type, const char *tag)
+ champbas_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/changela.h b/src/mame/includes/changela.h
index 2b0d9b24db7..c020b917620 100644
--- a/src/mame/includes/changela.h
+++ b/src/mame/includes/changela.h
@@ -5,7 +5,7 @@
class changela_state : public driver_device
{
public:
- changela_state(const machine_config &mconfig, device_type type, const char *tag)
+ changela_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/channelf.h b/src/mame/includes/channelf.h
index 41c7e70cd7e..c9f41bc38f6 100644
--- a/src/mame/includes/channelf.h
+++ b/src/mame/includes/channelf.h
@@ -20,7 +20,7 @@
class channelf_state : public driver_device
{
public:
- channelf_state(const machine_config &mconfig, device_type type, const char *tag)
+ channelf_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_custom(*this,"custom"),
diff --git a/src/mame/includes/cheekyms.h b/src/mame/includes/cheekyms.h
index 7957a0802f6..cc15368f8a4 100644
--- a/src/mame/includes/cheekyms.h
+++ b/src/mame/includes/cheekyms.h
@@ -10,7 +10,7 @@
class cheekyms_state : public driver_device
{
public:
- cheekyms_state(const machine_config &mconfig, device_type type, const char *tag)
+ cheekyms_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac(*this, "dac"),
diff --git a/src/mame/includes/chqflag.h b/src/mame/includes/chqflag.h
index 269d95edc36..450b072409a 100644
--- a/src/mame/includes/chqflag.h
+++ b/src/mame/includes/chqflag.h
@@ -15,7 +15,7 @@
class chqflag_state : public driver_device
{
public:
- chqflag_state(const machine_config &mconfig, device_type type, const char *tag)
+ chqflag_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/cidelsa.h b/src/mame/includes/cidelsa.h
index a6f77e9eb2d..40e49c063cb 100644
--- a/src/mame/includes/cidelsa.h
+++ b/src/mame/includes/cidelsa.h
@@ -44,7 +44,7 @@ public:
TIMER_SET_CPU_MODE
};
- cidelsa_state(const machine_config &mconfig, device_type type, const char *tag)
+ cidelsa_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, CDP1802_TAG),
m_vis(*this, CDP1869_TAG)
@@ -90,7 +90,7 @@ protected:
class draco_state : public cidelsa_state
{
public:
- draco_state(const machine_config &mconfig, device_type type, const char *tag)
+ draco_state(const machine_config &mconfig, device_type type, std::string tag)
: cidelsa_state(mconfig, type, tag),
m_psg(*this, AY8910_TAG)
{ }
diff --git a/src/mame/includes/cinemat.h b/src/mame/includes/cinemat.h
index 6f860f51b29..268e2c4723d 100644
--- a/src/mame/includes/cinemat.h
+++ b/src/mame/includes/cinemat.h
@@ -13,7 +13,7 @@
class cinemat_state : public driver_device
{
public:
- cinemat_state(const machine_config &mconfig, device_type type, const char *tag)
+ cinemat_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ay1(*this, "ay1"),
diff --git a/src/mame/includes/circus.h b/src/mame/includes/circus.h
index d02896de619..2426ac0ef44 100644
--- a/src/mame/includes/circus.h
+++ b/src/mame/includes/circus.h
@@ -5,7 +5,7 @@
class circus_state : public driver_device
{
public:
- circus_state(const machine_config &mconfig, device_type type, const char *tag)
+ circus_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/circusc.h b/src/mame/includes/circusc.h
index 782a605243d..b95b032acb7 100644
--- a/src/mame/includes/circusc.h
+++ b/src/mame/includes/circusc.h
@@ -12,7 +12,7 @@
class circusc_state : public driver_device
{
public:
- circusc_state(const machine_config &mconfig, device_type type, const char *tag)
+ circusc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spritebank(*this, "spritebank"),
m_scroll(*this, "scroll"),
diff --git a/src/mame/includes/cischeat.h b/src/mame/includes/cischeat.h
index 30b7bb40e27..c042dc1d55c 100644
--- a/src/mame/includes/cischeat.h
+++ b/src/mame/includes/cischeat.h
@@ -7,7 +7,7 @@
class cischeat_state : public driver_device
{
public:
- cischeat_state(const machine_config &mconfig, device_type type, const char *tag)
+ cischeat_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vregs(*this, "vregs"),
m_scrollram(*this, "scrollram"),
diff --git a/src/mame/includes/citycon.h b/src/mame/includes/citycon.h
index bda3dd426cc..eb9b34d8b58 100644
--- a/src/mame/includes/citycon.h
+++ b/src/mame/includes/citycon.h
@@ -9,7 +9,7 @@
class citycon_state : public driver_device
{
public:
- citycon_state(const machine_config &mconfig, device_type type, const char *tag)
+ citycon_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_linecolor(*this, "linecolor"),
diff --git a/src/mame/includes/cloak.h b/src/mame/includes/cloak.h
index c3f3c127b49..7fcc6d76ec0 100644
--- a/src/mame/includes/cloak.h
+++ b/src/mame/includes/cloak.h
@@ -9,7 +9,7 @@
class cloak_state : public driver_device
{
public:
- cloak_state(const machine_config &mconfig, device_type type, const char *tag)
+ cloak_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/cloud9.h b/src/mame/includes/cloud9.h
index b1f4e70f12f..27d8f2c1c7e 100644
--- a/src/mame/includes/cloud9.h
+++ b/src/mame/includes/cloud9.h
@@ -12,7 +12,7 @@
class cloud9_state : public driver_device
{
public:
- cloud9_state(const machine_config &mconfig, device_type type, const char *tag)
+ cloud9_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_nvram(*this, "nvram") ,
diff --git a/src/mame/includes/clshroad.h b/src/mame/includes/clshroad.h
index 4f03741f5af..24d89babb3f 100644
--- a/src/mame/includes/clshroad.h
+++ b/src/mame/includes/clshroad.h
@@ -3,7 +3,7 @@
class clshroad_state : public driver_device
{
public:
- clshroad_state(const machine_config &mconfig, device_type type, const char *tag)
+ clshroad_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/cninja.h b/src/mame/includes/cninja.h
index 8acd4730ddf..5948333cc3a 100644
--- a/src/mame/includes/cninja.h
+++ b/src/mame/includes/cninja.h
@@ -17,7 +17,7 @@
class cninja_state : public driver_device
{
public:
- cninja_state(const machine_config &mconfig, device_type type, const char *tag)
+ cninja_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/coco.h b/src/mame/includes/coco.h
index f083911afbc..7bcf0146f98 100644
--- a/src/mame/includes/coco.h
+++ b/src/mame/includes/coco.h
@@ -88,7 +88,7 @@ MACHINE_CONFIG_EXTERN( coco_sound );
class coco_state : public driver_device
{
public:
- coco_state(const machine_config &mconfig, device_type type, const char *tag);
+ coco_state(const machine_config &mconfig, device_type type, std::string tag);
required_device<cpu_device> m_maincpu;
required_device<pia6821_device> m_pia_0;
diff --git a/src/mame/includes/coco12.h b/src/mame/includes/coco12.h
index bfc2149e4c2..c97cac0e23b 100644
--- a/src/mame/includes/coco12.h
+++ b/src/mame/includes/coco12.h
@@ -36,7 +36,7 @@
class coco12_state : public coco_state
{
public:
- coco12_state(const machine_config &mconfig, device_type type, const char *tag)
+ coco12_state(const machine_config &mconfig, device_type type, std::string tag)
: coco_state(mconfig, type, tag),
m_sam(*this, SAM_TAG),
m_vdg(*this, VDG_TAG)
diff --git a/src/mame/includes/coco3.h b/src/mame/includes/coco3.h
index 9cc9a8d9d35..271ce2c7ca1 100644
--- a/src/mame/includes/coco3.h
+++ b/src/mame/includes/coco3.h
@@ -37,7 +37,7 @@
class coco3_state : public coco_state
{
public:
- coco3_state(const machine_config &mconfig, device_type type, const char *tag)
+ coco3_state(const machine_config &mconfig, device_type type, std::string tag)
: coco_state(mconfig, type, tag),
m_gime(*this, GIME_TAG) { }
diff --git a/src/mame/includes/coleco.h b/src/mame/includes/coleco.h
index 2886f18b9a8..cbd90172800 100644
--- a/src/mame/includes/coleco.h
+++ b/src/mame/includes/coleco.h
@@ -16,7 +16,7 @@
class coleco_state : public driver_device
{
public:
- coleco_state(const machine_config &mconfig, device_type type, const char *tag)
+ coleco_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cart(*this, COLECOVISION_CARTRIDGE_SLOT_TAG),
diff --git a/src/mame/includes/combatsc.h b/src/mame/includes/combatsc.h
index 6d5871da384..784c3f8d4a4 100644
--- a/src/mame/includes/combatsc.h
+++ b/src/mame/includes/combatsc.h
@@ -12,7 +12,7 @@
class combatsc_state : public driver_device
{
public:
- combatsc_state(const machine_config &mconfig, device_type type, const char *tag)
+ combatsc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_audiocpu(*this, "audiocpu"),
m_k007121_1(*this, "k007121_1"),
diff --git a/src/mame/includes/commando.h b/src/mame/includes/commando.h
index 6888a612a0a..23ce611a526 100644
--- a/src/mame/includes/commando.h
+++ b/src/mame/includes/commando.h
@@ -11,7 +11,7 @@
class commando_state : public driver_device
{
public:
- commando_state(const machine_config &mconfig, device_type type, const char *tag)
+ commando_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram") ,
m_videoram2(*this, "videoram2"),
diff --git a/src/mame/includes/compgolf.h b/src/mame/includes/compgolf.h
index d2d8c2e5816..4048ba940ef 100644
--- a/src/mame/includes/compgolf.h
+++ b/src/mame/includes/compgolf.h
@@ -9,7 +9,7 @@
class compgolf_state : public driver_device
{
public:
- compgolf_state(const machine_config &mconfig, device_type type, const char *tag)
+ compgolf_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_bg_ram(*this, "bg_ram"),
diff --git a/src/mame/includes/compis.h b/src/mame/includes/compis.h
index 8a8e48eb53e..3047f5a545f 100644
--- a/src/mame/includes/compis.h
+++ b/src/mame/includes/compis.h
@@ -52,7 +52,7 @@
class compis_state : public driver_device
{
public:
- compis_state(const machine_config &mconfig, device_type type, const char *tag)
+ compis_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, I80186_TAG),
m_osp(*this, I80130_TAG),
diff --git a/src/mame/includes/comquest.h b/src/mame/includes/comquest.h
index 32b6ef2c935..3321b549ca0 100644
--- a/src/mame/includes/comquest.h
+++ b/src/mame/includes/comquest.h
@@ -13,7 +13,7 @@
class comquest_state : public driver_device
{
public:
- comquest_state(const machine_config &mconfig, device_type type, const char *tag)
+ comquest_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/includes/comx35.h b/src/mame/includes/comx35.h
index b1dfa88abbe..66a6f09dd54 100644
--- a/src/mame/includes/comx35.h
+++ b/src/mame/includes/comx35.h
@@ -31,7 +31,7 @@
class comx35_state : public driver_device
{
public:
- comx35_state(const machine_config &mconfig, device_type type, const char *tag)
+ comx35_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, CDP1802_TAG),
m_vis(*this, CDP1869_TAG),
diff --git a/src/mame/includes/concept.h b/src/mame/includes/concept.h
index d6b0c3cab04..8eee3b9858a 100644
--- a/src/mame/includes/concept.h
+++ b/src/mame/includes/concept.h
@@ -29,7 +29,7 @@
class concept_state : public driver_device
{
public:
- concept_state(const machine_config &mconfig, device_type type, const char *tag)
+ concept_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_acia0(*this, ACIA_0_TAG),
diff --git a/src/mame/includes/contra.h b/src/mame/includes/contra.h
index 454a3ca21f9..a230d8d5c99 100644
--- a/src/mame/includes/contra.h
+++ b/src/mame/includes/contra.h
@@ -11,7 +11,7 @@
class contra_state : public driver_device
{
public:
- contra_state(const machine_config &mconfig, device_type type, const char *tag)
+ contra_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fg_cram(*this, "fg_cram"),
m_fg_vram(*this, "fg_vram"),
diff --git a/src/mame/includes/coolpool.h b/src/mame/includes/coolpool.h
index 6730f624cba..8047db24489 100644
--- a/src/mame/includes/coolpool.h
+++ b/src/mame/includes/coolpool.h
@@ -6,7 +6,7 @@
class coolpool_state : public driver_device
{
public:
- coolpool_state(const machine_config &mconfig, device_type type, const char *tag)
+ coolpool_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dsp(*this, "dsp"),
diff --git a/src/mame/includes/cop01.h b/src/mame/includes/cop01.h
index 447775fab34..eb19ca52166 100644
--- a/src/mame/includes/cop01.h
+++ b/src/mame/includes/cop01.h
@@ -9,7 +9,7 @@
class cop01_state : public driver_device
{
public:
- cop01_state(const machine_config &mconfig, device_type type, const char *tag)
+ cop01_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bgvideoram(*this, "bgvideoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/copsnrob.h b/src/mame/includes/copsnrob.h
index 3030a7ed13e..7034d9eef22 100644
--- a/src/mame/includes/copsnrob.h
+++ b/src/mame/includes/copsnrob.h
@@ -12,7 +12,7 @@
class copsnrob_state : public driver_device
{
public:
- copsnrob_state(const machine_config &mconfig, device_type type, const char *tag)
+ copsnrob_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_trucky(*this, "trucky"),
m_truckram(*this, "truckram"),
diff --git a/src/mame/includes/cosmic.h b/src/mame/includes/cosmic.h
index 706b69befea..8dce651e8f2 100644
--- a/src/mame/includes/cosmic.h
+++ b/src/mame/includes/cosmic.h
@@ -16,7 +16,7 @@
class cosmic_state : public driver_device
{
public:
- cosmic_state(const machine_config &mconfig, device_type type, const char *tag)
+ cosmic_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/cosmicos.h b/src/mame/includes/cosmicos.h
index d152bf22b85..b818063dd71 100644
--- a/src/mame/includes/cosmicos.h
+++ b/src/mame/includes/cosmicos.h
@@ -41,7 +41,7 @@ enum
class cosmicos_state : public driver_device
{
public:
- cosmicos_state(const machine_config &mconfig, device_type type, const char *tag)
+ cosmicos_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, CDP1802_TAG),
m_cti(*this, CDP1864_TAG),
diff --git a/src/mame/includes/cps1.h b/src/mame/includes/cps1.h
index 6e3354de437..b7cc1dcc02c 100644
--- a/src/mame/includes/cps1.h
+++ b/src/mame/includes/cps1.h
@@ -97,7 +97,7 @@ struct CPS1config
class cps_state : public driver_device
{
public:
- cps_state(const machine_config &mconfig, device_type type, const char *tag)
+ cps_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mainram(*this, "mainram"),
m_gfxram(*this, "gfxram"),
diff --git a/src/mame/includes/cps3.h b/src/mame/includes/cps3.h
index 4f954dbdb9d..41ad4faa808 100644
--- a/src/mame/includes/cps3.h
+++ b/src/mame/includes/cps3.h
@@ -14,7 +14,7 @@
class cps3_state : public driver_device
{
public:
- cps3_state(const machine_config &mconfig, device_type type, const char *tag)
+ cps3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/crbaloon.h b/src/mame/includes/crbaloon.h
index a1cb75fe79a..689c58c2a41 100644
--- a/src/mame/includes/crbaloon.h
+++ b/src/mame/includes/crbaloon.h
@@ -15,7 +15,7 @@ Crazy Ballooon
class crbaloon_state : public driver_device
{
public:
- crbaloon_state(const machine_config &mconfig, device_type type, const char *tag)
+ crbaloon_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/crgolf.h b/src/mame/includes/crgolf.h
index c337a5f8263..24bae8ec46b 100644
--- a/src/mame/includes/crgolf.h
+++ b/src/mame/includes/crgolf.h
@@ -12,7 +12,7 @@
class crgolf_state : public driver_device
{
public:
- crgolf_state(const machine_config &mconfig, device_type type, const char *tag)
+ crgolf_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_color_select(*this, "color_select"),
m_screen_flip(*this, "screen_flip"),
diff --git a/src/mame/includes/crimfght.h b/src/mame/includes/crimfght.h
index b7d2b3afa00..bf9f949d4ee 100644
--- a/src/mame/includes/crimfght.h
+++ b/src/mame/includes/crimfght.h
@@ -13,7 +13,7 @@
class crimfght_state : public driver_device
{
public:
- crimfght_state(const machine_config &mconfig, device_type type, const char *tag)
+ crimfght_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/crospang.h b/src/mame/includes/crospang.h
index a5aecdada51..95e025c3073 100644
--- a/src/mame/includes/crospang.h
+++ b/src/mame/includes/crospang.h
@@ -11,7 +11,7 @@
class crospang_state : public driver_device
{
public:
- crospang_state(const machine_config &mconfig, device_type type, const char *tag)
+ crospang_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fg_videoram(*this, "fg_videoram"),
m_bg_videoram(*this, "bg_videoram"),
diff --git a/src/mame/includes/crshrace.h b/src/mame/includes/crshrace.h
index eb809fbceba..4b5b928c059 100644
--- a/src/mame/includes/crshrace.h
+++ b/src/mame/includes/crshrace.h
@@ -8,7 +8,7 @@
class crshrace_state : public driver_device
{
public:
- crshrace_state(const machine_config &mconfig, device_type type, const char *tag)
+ crshrace_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram1(*this, "videoram1"),
m_videoram2(*this, "videoram2"),
diff --git a/src/mame/includes/crvision.h b/src/mame/includes/crvision.h
index 53cdc1fc7a4..91cae1f4825 100644
--- a/src/mame/includes/crvision.h
+++ b/src/mame/includes/crvision.h
@@ -31,7 +31,7 @@
class crvision_state : public driver_device
{
public:
- crvision_state(const machine_config &mconfig, device_type type, const char *tag)
+ crvision_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, M6502_TAG),
m_pia(*this, PIA6821_TAG),
@@ -73,7 +73,7 @@ protected:
class crvision_pal_state : public crvision_state
{
public:
- crvision_pal_state(const machine_config &mconfig, device_type type, const char *tag)
+ crvision_pal_state(const machine_config &mconfig, device_type type, std::string tag)
: crvision_state(mconfig, type, tag)
{ }
};
@@ -81,7 +81,7 @@ public:
class laser2001_state : public crvision_state
{
public:
- laser2001_state(const machine_config &mconfig, device_type type, const char *tag)
+ laser2001_state(const machine_config &mconfig, device_type type, std::string tag)
: crvision_state(mconfig, type, tag),
m_centronics(*this, CENTRONICS_TAG),
m_inp_y(*this, "Y"),
diff --git a/src/mame/includes/cvs.h b/src/mame/includes/cvs.h
index de9dee5a059..83a04f69eb5 100644
--- a/src/mame/includes/cvs.h
+++ b/src/mame/includes/cvs.h
@@ -22,7 +22,7 @@ struct cvs_star
class cvs_state : public driver_device
{
public:
- cvs_state(const machine_config &mconfig, device_type type, const char *tag)
+ cvs_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_video_ram(*this, "video_ram"),
m_bullet_ram(*this, "bullet_ram"),
diff --git a/src/mame/includes/cxhumax.h b/src/mame/includes/cxhumax.h
index dfa85b1720f..0aad8fb69ba 100644
--- a/src/mame/includes/cxhumax.h
+++ b/src/mame/includes/cxhumax.h
@@ -31,7 +31,7 @@ struct cx_timer_regs_t
class cxhumax_state : public driver_device
{
public:
- cxhumax_state(const machine_config &mconfig, device_type type, const char *tag)
+ cxhumax_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_flash(*this, "flash"),
diff --git a/src/mame/includes/cyberbal.h b/src/mame/includes/cyberbal.h
index 0bc65bccb57..1e578ee769c 100644
--- a/src/mame/includes/cyberbal.h
+++ b/src/mame/includes/cyberbal.h
@@ -16,7 +16,7 @@
class cyberbal_state : public atarigen_state
{
public:
- cyberbal_state(const machine_config &mconfig, device_type type, const char *tag)
+ cyberbal_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/cybiko.h b/src/mame/includes/cybiko.h
index 0c6ad30b5aa..5dd0cb7d47a 100644
--- a/src/mame/includes/cybiko.h
+++ b/src/mame/includes/cybiko.h
@@ -49,7 +49,7 @@ struct CYBIKO_RS232
class cybiko_state : public driver_device
{
public:
- cybiko_state(const machine_config &mconfig, device_type type, const char *tag)
+ cybiko_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_crtc(*this, "hd66421"),
diff --git a/src/mame/includes/dai.h b/src/mame/includes/dai.h
index dd05267a394..937c7083244 100644
--- a/src/mame/includes/dai.h
+++ b/src/mame/includes/dai.h
@@ -28,7 +28,7 @@ public:
TIMER_TMS5501
};
- dai_state(const machine_config &mconfig, device_type type, const char *tag)
+ dai_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pit(*this, "pit8253"),
diff --git a/src/mame/includes/darius.h b/src/mame/includes/darius.h
index 13f037f0ca0..d2fbbfd2e85 100644
--- a/src/mame/includes/darius.h
+++ b/src/mame/includes/darius.h
@@ -17,7 +17,7 @@
class darius_state : public driver_device
{
public:
- darius_state(const machine_config &mconfig, device_type type, const char *tag)
+ darius_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_fg_ram(*this, "fg_ram"),
diff --git a/src/mame/includes/darkmist.h b/src/mame/includes/darkmist.h
index 224c1fc2ac6..d053615cde7 100644
--- a/src/mame/includes/darkmist.h
+++ b/src/mame/includes/darkmist.h
@@ -5,7 +5,7 @@
class darkmist_state : public driver_device
{
public:
- darkmist_state(const machine_config &mconfig, device_type type, const char *tag)
+ darkmist_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_t5182(*this, "t5182"),
diff --git a/src/mame/includes/darkseal.h b/src/mame/includes/darkseal.h
index c08602d56db..633201ac43a 100644
--- a/src/mame/includes/darkseal.h
+++ b/src/mame/includes/darkseal.h
@@ -7,7 +7,7 @@
class darkseal_state : public driver_device
{
public:
- darkseal_state(const machine_config &mconfig, device_type type, const char *tag)
+ darkseal_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/dassault.h b/src/mame/includes/dassault.h
index 257778ba849..93752e8580c 100644
--- a/src/mame/includes/dassault.h
+++ b/src/mame/includes/dassault.h
@@ -15,7 +15,7 @@
class dassault_state : public driver_device
{
public:
- dassault_state(const machine_config &mconfig, device_type type, const char *tag)
+ dassault_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/dbz.h b/src/mame/includes/dbz.h
index 734a9a0b2d3..c70a6e2e26a 100644
--- a/src/mame/includes/dbz.h
+++ b/src/mame/includes/dbz.h
@@ -16,7 +16,7 @@
class dbz_state : public driver_device
{
public:
- dbz_state(const machine_config &mconfig, device_type type, const char *tag)
+ dbz_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bg1_videoram(*this, "bg1_videoram"),
m_bg2_videoram(*this, "bg2_videoram"),
diff --git a/src/mame/includes/dc.h b/src/mame/includes/dc.h
index a45e2e506d3..d932fdeb0af 100644
--- a/src/mame/includes/dc.h
+++ b/src/mame/includes/dc.h
@@ -17,7 +17,7 @@
class dc_state : public driver_device
{
public:
- dc_state(const machine_config &mconfig, device_type type, const char *tag)
+ dc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
dc_framebuffer_ram(*this, "frameram"),
dc_texture_ram(*this, "dc_texture_ram"),
diff --git a/src/mame/includes/dccons.h b/src/mame/includes/dccons.h
index 47b47d72f6c..7950f9ee0db 100644
--- a/src/mame/includes/dccons.h
+++ b/src/mame/includes/dccons.h
@@ -8,7 +8,7 @@
class dc_cons_state : public dc_state
{
public:
- dc_cons_state(const machine_config &mconfig, device_type type, const char *tag)
+ dc_cons_state(const machine_config &mconfig, device_type type, std::string tag)
: dc_state(mconfig, type, tag),
m_ata(*this, "ata")
// m_dcflash(*this, "dcflash")
diff --git a/src/mame/includes/dcheese.h b/src/mame/includes/dcheese.h
index d8c9455f899..dafec4f1d42 100644
--- a/src/mame/includes/dcheese.h
+++ b/src/mame/includes/dcheese.h
@@ -16,7 +16,7 @@ public:
TIMER_SIGNAL_IRQ
};
- dcheese_state(const machine_config &mconfig, device_type type, const char *tag)
+ dcheese_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/dcon.h b/src/mame/includes/dcon.h
index ffff5c97c3e..e0a0fed9867 100644
--- a/src/mame/includes/dcon.h
+++ b/src/mame/includes/dcon.h
@@ -3,7 +3,7 @@
class dcon_state : public driver_device
{
public:
- dcon_state(const machine_config &mconfig, device_type type, const char *tag)
+ dcon_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/dday.h b/src/mame/includes/dday.h
index a6b1c498f1b..58b105f381f 100644
--- a/src/mame/includes/dday.h
+++ b/src/mame/includes/dday.h
@@ -10,7 +10,7 @@
class dday_state : public driver_device
{
public:
- dday_state(const machine_config &mconfig, device_type type, const char *tag)
+ dday_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_textvideoram(*this, "textvideoram"),
m_fgvideoram(*this, "fgvideoram"),
diff --git a/src/mame/includes/ddragon.h b/src/mame/includes/ddragon.h
index 1c5d203856d..03f7f7a3449 100644
--- a/src/mame/includes/ddragon.h
+++ b/src/mame/includes/ddragon.h
@@ -10,7 +10,7 @@
class ddragon_state : public driver_device
{
public:
- ddragon_state(const machine_config &mconfig, device_type type, const char *tag)
+ ddragon_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_rambase(*this, "rambase"),
m_bgvideoram(*this, "bgvideoram"),
diff --git a/src/mame/includes/ddragon3.h b/src/mame/includes/ddragon3.h
index 5513ca9076f..37d7ada1b4e 100644
--- a/src/mame/includes/ddragon3.h
+++ b/src/mame/includes/ddragon3.h
@@ -12,7 +12,7 @@
class ddragon3_state : public driver_device
{
public:
- ddragon3_state(const machine_config &mconfig, device_type type, const char *tag)
+ ddragon3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bg_videoram(*this, "bg_videoram"),
m_fg_videoram(*this, "fg_videoram"),
@@ -85,7 +85,7 @@ public:
class wwfwfest_state : public ddragon3_state
{
public:
- wwfwfest_state(const machine_config &mconfig, device_type type, const char *tag)
+ wwfwfest_state(const machine_config &mconfig, device_type type, std::string tag)
: ddragon3_state(mconfig, type, tag),
m_fg0_videoram(*this, "fg0_videoram"),
m_paletteram(*this, "palette")
diff --git a/src/mame/includes/ddribble.h b/src/mame/includes/ddribble.h
index bb9a508717d..2a5e1b1b9ff 100644
--- a/src/mame/includes/ddribble.h
+++ b/src/mame/includes/ddribble.h
@@ -12,7 +12,7 @@
class ddribble_state : public driver_device
{
public:
- ddribble_state(const machine_config &mconfig, device_type type, const char *tag)
+ ddribble_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fg_videoram(*this, "fg_videoram"),
m_spriteram_1(*this, "spriteram_1"),
diff --git a/src/mame/includes/deadang.h b/src/mame/includes/deadang.h
index eb82b28ad15..01058c3a43f 100644
--- a/src/mame/includes/deadang.h
+++ b/src/mame/includes/deadang.h
@@ -5,7 +5,7 @@
class deadang_state : public driver_device
{
public:
- deadang_state(const machine_config &mconfig, device_type type, const char *tag)
+ deadang_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/includes/dec0.h b/src/mame/includes/dec0.h
index c48444662a0..e4948131ec4 100644
--- a/src/mame/includes/dec0.h
+++ b/src/mame/includes/dec0.h
@@ -8,7 +8,7 @@
class dec0_state : public driver_device
{
public:
- dec0_state(const machine_config &mconfig, device_type type, const char *tag)
+ dec0_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
@@ -113,7 +113,7 @@ public:
class dec0_automat_state : public dec0_state
{
public:
- dec0_automat_state(const machine_config &mconfig, device_type type, const char *tag)
+ dec0_automat_state(const machine_config &mconfig, device_type type, std::string tag)
: dec0_state(mconfig, type, tag) {
}
diff --git a/src/mame/includes/dec8.h b/src/mame/includes/dec8.h
index 746bfb35f1c..aea1334722b 100644
--- a/src/mame/includes/dec8.h
+++ b/src/mame/includes/dec8.h
@@ -14,7 +14,7 @@ public:
TIMER_DEC8_I8751
};
- dec8_state(const machine_config &mconfig, device_type type, const char *tag)
+ dec8_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/includes/deco32.h b/src/mame/includes/deco32.h
index c1ce644b7d1..597539512fc 100644
--- a/src/mame/includes/deco32.h
+++ b/src/mame/includes/deco32.h
@@ -13,7 +13,7 @@
class deco32_state : public driver_device
{
public:
- deco32_state(const machine_config &mconfig, device_type type, const char *tag)
+ deco32_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
@@ -189,7 +189,7 @@ public:
class dragngun_state : public deco32_state
{
public:
- dragngun_state(const machine_config &mconfig, device_type type, const char *tag)
+ dragngun_state(const machine_config &mconfig, device_type type, std::string tag)
: deco32_state(mconfig, type, tag),
m_sprite_layout_0_ram(*this, "lay0"),
m_sprite_layout_1_ram(*this, "lay1"),
diff --git a/src/mame/includes/deco_mlc.h b/src/mame/includes/deco_mlc.h
index e9bde7e7bb7..a661e166ec6 100644
--- a/src/mame/includes/deco_mlc.h
+++ b/src/mame/includes/deco_mlc.h
@@ -8,7 +8,7 @@
class deco_mlc_state : public driver_device
{
public:
- deco_mlc_state(const machine_config &mconfig, device_type type, const char *tag)
+ deco_mlc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_deco146(*this, "ioprot"),
m_mlc_ram(*this, "mlc_ram"),
diff --git a/src/mame/includes/decocass.h b/src/mame/includes/decocass.h
index 37ff50c3784..16e6a2d6621 100644
--- a/src/mame/includes/decocass.h
+++ b/src/mame/includes/decocass.h
@@ -18,7 +18,7 @@
class decocass_state : public driver_device
{
public:
- decocass_state(const machine_config &mconfig, device_type type, const char *tag)
+ decocass_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/decocrpt.h b/src/mame/includes/decocrpt.h
index 6ea05a3b7a0..41b855bf0e6 100644
--- a/src/mame/includes/decocrpt.h
+++ b/src/mame/includes/decocrpt.h
@@ -2,9 +2,9 @@
// copyright-holders:Nicola Salmoria
/*----------- defined in machine/decocrpt.c -----------*/
-void deco56_decrypt_gfx(running_machine &machine, const char *tag);
-void deco74_decrypt_gfx(running_machine &machine, const char *tag);
-void deco56_remap_gfx(running_machine &machine, const char *tag);
+void deco56_decrypt_gfx(running_machine &machine, std::string tag);
+void deco74_decrypt_gfx(running_machine &machine, std::string tag);
+void deco56_remap_gfx(running_machine &machine, std::string tag);
/*----------- defined in machine/deco102.c -----------*/
diff --git a/src/mame/includes/deniam.h b/src/mame/includes/deniam.h
index 6f3d91de158..fd0afe16581 100644
--- a/src/mame/includes/deniam.h
+++ b/src/mame/includes/deniam.h
@@ -10,7 +10,7 @@
class deniam_state : public driver_device
{
public:
- deniam_state(const machine_config &mconfig, device_type type, const char *tag)
+ deniam_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_textram(*this, "textram"),
diff --git a/src/mame/includes/dgn_beta.h b/src/mame/includes/dgn_beta.h
index a55d157aaa1..e5eb58621e0 100644
--- a/src/mame/includes/dgn_beta.h
+++ b/src/mame/includes/dgn_beta.h
@@ -81,7 +81,7 @@ struct PageReg
class dgn_beta_state : public driver_device
{
public:
- dgn_beta_state(const machine_config &mconfig, device_type type, const char *tag)
+ dgn_beta_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mc6845(*this, "crtc"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/dgnalpha.h b/src/mame/includes/dgnalpha.h
index 220bc334137..08e6c8c0907 100644
--- a/src/mame/includes/dgnalpha.h
+++ b/src/mame/includes/dgnalpha.h
@@ -38,7 +38,7 @@
class dragon_alpha_state : public dragon64_state
{
public:
- dragon_alpha_state(const machine_config &mconfig, device_type type, const char *tag)
+ dragon_alpha_state(const machine_config &mconfig, device_type type, std::string tag)
: dragon64_state(mconfig, type, tag),
m_pia_2(*this, PIA2_TAG),
m_ay8912(*this, AY8912_TAG),
diff --git a/src/mame/includes/dietgo.h b/src/mame/includes/dietgo.h
index 71d9c2341f6..d84111b4366 100644
--- a/src/mame/includes/dietgo.h
+++ b/src/mame/includes/dietgo.h
@@ -14,7 +14,7 @@
class dietgo_state : public driver_device
{
public:
- dietgo_state(const machine_config &mconfig, device_type type, const char *tag)
+ dietgo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_deco104(*this, "ioprot104"),
m_pf1_rowscroll(*this, "pf1_rowscroll"),
diff --git a/src/mame/includes/djboy.h b/src/mame/includes/djboy.h
index 1a32b0a9733..e952d7a9aa6 100644
--- a/src/mame/includes/djboy.h
+++ b/src/mame/includes/djboy.h
@@ -13,7 +13,7 @@
class djboy_state : public driver_device
{
public:
- djboy_state(const machine_config &mconfig, device_type type, const char *tag)
+ djboy_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_paletteram(*this, "paletteram"),
diff --git a/src/mame/includes/djmain.h b/src/mame/includes/djmain.h
index cbc65036a39..50d5dade85e 100644
--- a/src/mame/includes/djmain.h
+++ b/src/mame/includes/djmain.h
@@ -8,7 +8,7 @@
class djmain_state : public driver_device
{
public:
- djmain_state(const machine_config &mconfig, device_type type, const char *tag)
+ djmain_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_obj_ram(*this, "obj_ram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/dkong.h b/src/mame/includes/dkong.h
index 2033bf96bbe..44908d3d90a 100644
--- a/src/mame/includes/dkong.h
+++ b/src/mame/includes/dkong.h
@@ -93,7 +93,7 @@ enum
class dkong_state : public driver_device
{
public:
- dkong_state(const machine_config &mconfig, device_type type, const char *tag)
+ dkong_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/dm7000.h b/src/mame/includes/dm7000.h
index 4306f4619e4..d9a7a3a46b9 100644
--- a/src/mame/includes/dm7000.h
+++ b/src/mame/includes/dm7000.h
@@ -12,7 +12,7 @@
class dm7000_state : public driver_device
{
public:
- dm7000_state(const machine_config &mconfig, device_type type, const char *tag)
+ dm7000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)
diff --git a/src/mame/includes/docastle.h b/src/mame/includes/docastle.h
index 13913392953..e482176a03f 100644
--- a/src/mame/includes/docastle.h
+++ b/src/mame/includes/docastle.h
@@ -12,7 +12,7 @@
class docastle_state : public driver_device
{
public:
- docastle_state(const machine_config &mconfig, device_type type, const char *tag)
+ docastle_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_slave(*this, "slave"),
diff --git a/src/mame/includes/dogfgt.h b/src/mame/includes/dogfgt.h
index c63ff99abc2..debe0184be2 100644
--- a/src/mame/includes/dogfgt.h
+++ b/src/mame/includes/dogfgt.h
@@ -8,7 +8,7 @@
class dogfgt_state : public driver_device
{
public:
- dogfgt_state(const machine_config &mconfig, device_type type, const char *tag)
+ dogfgt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bgvideoram(*this, "bgvideoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/dooyong.h b/src/mame/includes/dooyong.h
index 4c51451c986..e0239c81219 100644
--- a/src/mame/includes/dooyong.h
+++ b/src/mame/includes/dooyong.h
@@ -5,7 +5,7 @@
class dooyong_state : public driver_device
{
public:
- dooyong_state(const machine_config &mconfig, device_type type, const char *tag)
+ dooyong_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
@@ -54,7 +54,7 @@ public:
class dooyong_z80_state : public dooyong_state
{
public:
- dooyong_z80_state(const machine_config &mconfig, device_type type, const char *tag)
+ dooyong_z80_state(const machine_config &mconfig, device_type type, std::string tag)
: dooyong_state(mconfig, type, tag),
m_txvideoram(*this, "txvideoram"),
m_spriteram(*this, "spriteram")
@@ -98,7 +98,7 @@ public:
class dooyong_z80_ym2203_state : public dooyong_z80_state
{
public:
- dooyong_z80_ym2203_state(const machine_config &mconfig, device_type type, const char *tag)
+ dooyong_z80_ym2203_state(const machine_config &mconfig, device_type type, std::string tag)
: dooyong_z80_state(mconfig, type, tag)
{ }
@@ -122,7 +122,7 @@ public:
class dooyong_68k_state : public dooyong_state
{
public:
- dooyong_68k_state(const machine_config &mconfig, device_type type, const char *tag)
+ dooyong_68k_state(const machine_config &mconfig, device_type type, std::string tag)
: dooyong_state(mconfig, type, tag),
m_spriteram(*this, "spriteram")
{ }
diff --git a/src/mame/includes/dragon.h b/src/mame/includes/dragon.h
index 20a6877d6f5..ccad20e38eb 100644
--- a/src/mame/includes/dragon.h
+++ b/src/mame/includes/dragon.h
@@ -36,7 +36,7 @@
class dragon_state : public coco12_state
{
public:
- dragon_state(const machine_config &mconfig, device_type type, const char *tag)
+ dragon_state(const machine_config &mconfig, device_type type, std::string tag)
: coco12_state(mconfig, type, tag),
m_printer(*this, PRINTER_TAG)
{
@@ -53,7 +53,7 @@ protected:
class dragon64_state : public dragon_state
{
public:
- dragon64_state(const machine_config &mconfig, device_type type, const char *tag)
+ dragon64_state(const machine_config &mconfig, device_type type, std::string tag)
: dragon_state(mconfig, type, tag),
m_acia(*this, ACIA_TAG)
{
diff --git a/src/mame/includes/dragrace.h b/src/mame/includes/dragrace.h
index 1fb1f52a4ec..0fa73abcce8 100644
--- a/src/mame/includes/dragrace.h
+++ b/src/mame/includes/dragrace.h
@@ -27,7 +27,7 @@
class dragrace_state : public driver_device
{
public:
- dragrace_state(const machine_config &mconfig, device_type type, const char *tag)
+ dragrace_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_playfield_ram(*this, "playfield_ram"),
m_position_ram(*this, "position_ram"),
diff --git a/src/mame/includes/drgnmst.h b/src/mame/includes/drgnmst.h
index 5bd5f712888..2833c65b1da 100644
--- a/src/mame/includes/drgnmst.h
+++ b/src/mame/includes/drgnmst.h
@@ -7,7 +7,7 @@
class drgnmst_state : public driver_device
{
public:
- drgnmst_state(const machine_config &mconfig, device_type type, const char *tag)
+ drgnmst_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vidregs(*this, "vidregs"),
m_fg_videoram(*this, "fg_videoram"),
diff --git a/src/mame/includes/dribling.h b/src/mame/includes/dribling.h
index 5287cc19519..9f822f92ed9 100644
--- a/src/mame/includes/dribling.h
+++ b/src/mame/includes/dribling.h
@@ -12,7 +12,7 @@
class dribling_state : public driver_device
{
public:
- dribling_state(const machine_config &mconfig, device_type type, const char *tag)
+ dribling_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ppi8255_0(*this, "ppi8255_0"),
diff --git a/src/mame/includes/drmicro.h b/src/mame/includes/drmicro.h
index 2494ef9557a..91f1e2b97de 100644
--- a/src/mame/includes/drmicro.h
+++ b/src/mame/includes/drmicro.h
@@ -10,7 +10,7 @@
class drmicro_state : public driver_device
{
public:
- drmicro_state(const machine_config &mconfig, device_type type, const char *tag)
+ drmicro_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_msm(*this, "msm"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/dynax.h b/src/mame/includes/dynax.h
index 7d84e0cc86e..8c4a9ff7aeb 100644
--- a/src/mame/includes/dynax.h
+++ b/src/mame/includes/dynax.h
@@ -13,7 +13,7 @@
class dynax_state : public driver_device
{
public:
- dynax_state(const machine_config &mconfig, device_type type, const char *tag)
+ dynax_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/dynduke.h b/src/mame/includes/dynduke.h
index 218b0d3ea88..1520b9b2b3c 100644
--- a/src/mame/includes/dynduke.h
+++ b/src/mame/includes/dynduke.h
@@ -6,7 +6,7 @@
class dynduke_state : public driver_device
{
public:
- dynduke_state(const machine_config &mconfig, device_type type, const char *tag)
+ dynduke_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_seibu_sound(*this, "seibu_sound"),
diff --git a/src/mame/includes/ec184x.h b/src/mame/includes/ec184x.h
index 7921bf5b97e..0b57913a32d 100644
--- a/src/mame/includes/ec184x.h
+++ b/src/mame/includes/ec184x.h
@@ -20,7 +20,7 @@ class ec1841_mb_device : public ibm5160_mb_device
{
public:
// construction/destruction
- ec1841_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ec1841_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const;
diff --git a/src/mame/includes/einstein.h b/src/mame/includes/einstein.h
index 027b2370ba3..306b40d5547 100644
--- a/src/mame/includes/einstein.h
+++ b/src/mame/includes/einstein.h
@@ -49,7 +49,7 @@
class einstein_state : public driver_device
{
public:
- einstein_state(const machine_config &mconfig, device_type type, const char *tag)
+ einstein_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fdc(*this, IC_I042),
m_color_screen(*this, "screen"),
@@ -166,7 +166,7 @@ class einstein_keyboard_daisy_device : public device_t,
{
public:
// construction/destruction
- einstein_keyboard_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ einstein_keyboard_daisy_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
private:
virtual void device_start() override;
@@ -186,7 +186,7 @@ class einstein_adc_daisy_device : public device_t,
{
public:
// construction/destruction
- einstein_adc_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ einstein_adc_daisy_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
private:
virtual void device_start() override;
@@ -206,7 +206,7 @@ class einstein_fire_daisy_device : public device_t,
{
public:
// construction/destruction
- einstein_fire_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ einstein_fire_daisy_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
private:
virtual void device_start() override;
diff --git a/src/mame/includes/electron.h b/src/mame/includes/electron.h
index 81d6b9ca171..393a90b555f 100644
--- a/src/mame/includes/electron.h
+++ b/src/mame/includes/electron.h
@@ -68,7 +68,7 @@ public:
TIMER_SCANLINE_INTERRUPT
};
- electron_state(const machine_config &mconfig, device_type type, const char *tag)
+ electron_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cassette(*this, "cassette"),
diff --git a/src/mame/includes/elf.h b/src/mame/includes/elf.h
index 750d63e7367..766487e1058 100644
--- a/src/mame/includes/elf.h
+++ b/src/mame/includes/elf.h
@@ -26,7 +26,7 @@
class elf2_state : public driver_device
{
public:
- elf2_state(const machine_config &mconfig, device_type type, const char *tag)
+ elf2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, CDP1802_TAG),
m_vdc(*this, CDP1861_TAG),
diff --git a/src/mame/includes/eolith.h b/src/mame/includes/eolith.h
index 3269f784949..273947d310f 100644
--- a/src/mame/includes/eolith.h
+++ b/src/mame/includes/eolith.h
@@ -7,7 +7,7 @@
class eolith_state : public driver_device
{
public:
- eolith_state(const machine_config &mconfig, device_type type, const char *tag)
+ eolith_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/ep64.h b/src/mame/includes/ep64.h
index 85c0ae27a97..c81d60b1fd3 100644
--- a/src/mame/includes/ep64.h
+++ b/src/mame/includes/ep64.h
@@ -34,7 +34,7 @@
class ep64_state : public driver_device
{
public:
- ep64_state(const machine_config &mconfig, device_type type, const char *tag)
+ ep64_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_dave(*this, DAVE_TAG),
diff --git a/src/mame/includes/epos.h b/src/mame/includes/epos.h
index da411ad52a1..8c0e3977bae 100644
--- a/src/mame/includes/epos.h
+++ b/src/mame/includes/epos.h
@@ -9,7 +9,7 @@
class epos_state : public driver_device
{
public:
- epos_state(const machine_config &mconfig, device_type type, const char *tag)
+ epos_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/includes/eprom.h b/src/mame/includes/eprom.h
index 4ae11d35d18..6fe28444127 100644
--- a/src/mame/includes/eprom.h
+++ b/src/mame/includes/eprom.h
@@ -13,7 +13,7 @@
class eprom_state : public atarigen_state
{
public:
- eprom_state(const machine_config &mconfig, device_type type, const char *tag)
+ eprom_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_playfield_tilemap(*this, "playfield"),
m_alpha_tilemap(*this, "alpha"),
diff --git a/src/mame/includes/equites.h b/src/mame/includes/equites.h
index a3808e6265a..d1f14f95d9e 100644
--- a/src/mame/includes/equites.h
+++ b/src/mame/includes/equites.h
@@ -15,7 +15,7 @@
class equites_state : public driver_device
{
public:
- equites_state(const machine_config &mconfig, device_type type, const char *tag)
+ equites_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bg_videoram(*this, "bg_videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/esd16.h b/src/mame/includes/esd16.h
index 7a683d5d39b..ee35bd65bfd 100644
--- a/src/mame/includes/esd16.h
+++ b/src/mame/includes/esd16.h
@@ -12,7 +12,7 @@
class esd16_state : public driver_device
{
public:
- esd16_state(const machine_config &mconfig, device_type type, const char *tag)
+ esd16_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vram_0(*this, "vram_0"),
m_vram_1(*this, "vram_1"),
diff --git a/src/mame/includes/espial.h b/src/mame/includes/espial.h
index 5b764363c4d..63bae188852 100644
--- a/src/mame/includes/espial.h
+++ b/src/mame/includes/espial.h
@@ -9,7 +9,7 @@
class espial_state : public driver_device
{
public:
- espial_state(const machine_config &mconfig, device_type type, const char *tag)
+ espial_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_attributeram(*this, "attributeram"),
diff --git a/src/mame/includes/esripsys.h b/src/mame/includes/esripsys.h
index 43994ec4ada..522204d2827 100644
--- a/src/mame/includes/esripsys.h
+++ b/src/mame/includes/esripsys.h
@@ -37,7 +37,7 @@ struct line_buffer_t
class esripsys_state : public driver_device
{
public:
- esripsys_state(const machine_config &mconfig, device_type type, const char *tag)
+ esripsys_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_framecpu(*this, "frame_cpu"),
m_videocpu(*this, "video_cpu"),
diff --git a/src/mame/includes/eti660.h b/src/mame/includes/eti660.h
index 783f46eb414..de731e2638c 100644
--- a/src/mame/includes/eti660.h
+++ b/src/mame/includes/eti660.h
@@ -28,7 +28,7 @@ enum
class eti660_state : public driver_device
{
public:
- eti660_state(const machine_config &mconfig, device_type type, const char *tag)
+ eti660_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_p_videoram(*this, "videoram")
, m_maincpu(*this, CDP1802_TAG)
diff --git a/src/mame/includes/exedexes.h b/src/mame/includes/exedexes.h
index cb7097c66a6..d6a5a3dc1f8 100644
--- a/src/mame/includes/exedexes.h
+++ b/src/mame/includes/exedexes.h
@@ -11,7 +11,7 @@
class exedexes_state : public driver_device
{
public:
- exedexes_state(const machine_config &mconfig, device_type type, const char *tag)
+ exedexes_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram") ,
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/exerion.h b/src/mame/includes/exerion.h
index 7bf606e2180..0dbe5cbc0e1 100644
--- a/src/mame/includes/exerion.h
+++ b/src/mame/includes/exerion.h
@@ -23,7 +23,7 @@
class exerion_state : public driver_device
{
public:
- exerion_state(const machine_config &mconfig, device_type type, const char *tag)
+ exerion_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_main_ram(*this, "main_ram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/exidy.h b/src/mame/includes/exidy.h
index 9c825383c76..6c8620f4a6c 100644
--- a/src/mame/includes/exidy.h
+++ b/src/mame/includes/exidy.h
@@ -32,7 +32,7 @@ public:
TIMER_COLLISION_IRQ
};
- exidy_state(const machine_config &mconfig, device_type type, const char *tag)
+ exidy_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac(*this, "dac"),
diff --git a/src/mame/includes/exidy440.h b/src/mame/includes/exidy440.h
index e6f7048ac8a..a1cf7dbc901 100644
--- a/src/mame/includes/exidy440.h
+++ b/src/mame/includes/exidy440.h
@@ -14,7 +14,7 @@
class exidy440_state : public driver_device
{
public:
- exidy440_state(const machine_config &mconfig, device_type type, const char *tag)
+ exidy440_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_imageram(*this, "imageram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/exp85.h b/src/mame/includes/exp85.h
index 3e53385eb25..e42257f41bb 100644
--- a/src/mame/includes/exp85.h
+++ b/src/mame/includes/exp85.h
@@ -15,7 +15,7 @@
class exp85_state : public driver_device
{
public:
- exp85_state(const machine_config &mconfig, device_type type, const char *tag)
+ exp85_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, I8085A_TAG),
m_rs232(*this, "rs232"),
diff --git a/src/mame/includes/exprraid.h b/src/mame/includes/exprraid.h
index 833c3c351b1..27f70a3b4b2 100644
--- a/src/mame/includes/exprraid.h
+++ b/src/mame/includes/exprraid.h
@@ -10,7 +10,7 @@
class exprraid_state : public driver_device
{
public:
- exprraid_state(const machine_config &mconfig, device_type type, const char *tag)
+ exprraid_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_slave(*this, "slave"),
diff --git a/src/mame/includes/exterm.h b/src/mame/includes/exterm.h
index cf1f601913b..8d6e15f640f 100644
--- a/src/mame/includes/exterm.h
+++ b/src/mame/includes/exterm.h
@@ -11,7 +11,7 @@
class exterm_state : public driver_device
{
public:
- exterm_state(const machine_config &mconfig, device_type type, const char *tag)
+ exterm_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/exzisus.h b/src/mame/includes/exzisus.h
index 65a74141141..3c355145375 100644
--- a/src/mame/includes/exzisus.h
+++ b/src/mame/includes/exzisus.h
@@ -3,7 +3,7 @@
class exzisus_state : public driver_device
{
public:
- exzisus_state(const machine_config &mconfig, device_type type, const char *tag)
+ exzisus_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cpuc(*this, "cpuc"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/f1gp.h b/src/mame/includes/f1gp.h
index ac790335d6f..1f392a5aea2 100644
--- a/src/mame/includes/f1gp.h
+++ b/src/mame/includes/f1gp.h
@@ -7,7 +7,7 @@
class f1gp_state : public driver_device
{
public:
- f1gp_state(const machine_config &mconfig, device_type type, const char *tag)
+ f1gp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_sharedram(*this, "sharedram"),
m_spr1vram(*this, "spr1vram"),
diff --git a/src/mame/includes/fantland.h b/src/mame/includes/fantland.h
index bce1ffa5140..1b8777eadf8 100644
--- a/src/mame/includes/fantland.h
+++ b/src/mame/includes/fantland.h
@@ -5,7 +5,7 @@
class fantland_state : public driver_device
{
public:
- fantland_state(const machine_config &mconfig, device_type type, const char *tag)
+ fantland_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_msm1(*this, "msm1"),
m_msm2(*this, "msm2"),
diff --git a/src/mame/includes/fastfred.h b/src/mame/includes/fastfred.h
index 4b7cdb4cbdc..659ffab49a4 100644
--- a/src/mame/includes/fastfred.h
+++ b/src/mame/includes/fastfred.h
@@ -12,7 +12,7 @@
class fastfred_state : public galaxold_state
{
public:
- fastfred_state(const machine_config &mconfig, device_type type, const char *tag)
+ fastfred_state(const machine_config &mconfig, device_type type, std::string tag)
: galaxold_state(mconfig, type, tag),
m_gfxdecode(*this, "gfxdecode"),
m_palette(*this, "palette"),
diff --git a/src/mame/includes/fastlane.h b/src/mame/includes/fastlane.h
index d6c7fe0ac79..97f7656f22b 100644
--- a/src/mame/includes/fastlane.h
+++ b/src/mame/includes/fastlane.h
@@ -12,7 +12,7 @@
class fastlane_state : public driver_device
{
public:
- fastlane_state(const machine_config &mconfig, device_type type, const char *tag)
+ fastlane_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_k007121_regs(*this, "k007121_regs"),
diff --git a/src/mame/includes/fcombat.h b/src/mame/includes/fcombat.h
index 53f1c49e5be..c3d129905b4 100644
--- a/src/mame/includes/fcombat.h
+++ b/src/mame/includes/fcombat.h
@@ -27,7 +27,7 @@
class fcombat_state : public driver_device
{
public:
- fcombat_state(const machine_config &mconfig, device_type type, const char *tag)
+ fcombat_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/fgoal.h b/src/mame/includes/fgoal.h
index 3271bc56f2d..fe7c3508b4f 100644
--- a/src/mame/includes/fgoal.h
+++ b/src/mame/includes/fgoal.h
@@ -10,7 +10,7 @@ public:
TIMER_INTERRUPT
};
- fgoal_state(const machine_config &mconfig, device_type type, const char *tag)
+ fgoal_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mb14241(*this, "mb14241"),
diff --git a/src/mame/includes/finalizr.h b/src/mame/includes/finalizr.h
index b308af73ad5..27f06c24f47 100644
--- a/src/mame/includes/finalizr.h
+++ b/src/mame/includes/finalizr.h
@@ -9,7 +9,7 @@
class finalizr_state : public driver_device
{
public:
- finalizr_state(const machine_config &mconfig, device_type type, const char *tag)
+ finalizr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/firetrap.h b/src/mame/includes/firetrap.h
index 74fb677fa63..02bbcd72e38 100644
--- a/src/mame/includes/firetrap.h
+++ b/src/mame/includes/firetrap.h
@@ -10,7 +10,7 @@
class firetrap_state : public driver_device
{
public:
- firetrap_state(const machine_config &mconfig, device_type type, const char *tag)
+ firetrap_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bg1videoram(*this, "bg1videoram"),
m_bg2videoram(*this, "bg2videoram"),
diff --git a/src/mame/includes/firetrk.h b/src/mame/includes/firetrk.h
index 953be5d11f0..fcc6d03fe85 100644
--- a/src/mame/includes/firetrk.h
+++ b/src/mame/includes/firetrk.h
@@ -35,7 +35,7 @@ Atari Fire Truck + Super Bug + Monte Carlo driver
class firetrk_state : public driver_device
{
public:
- firetrk_state(const machine_config &mconfig, device_type type, const char *tag)
+ firetrk_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_discrete(*this, "discrete"),
diff --git a/src/mame/includes/fitfight.h b/src/mame/includes/fitfight.h
index ccae2455504..e51a07dfe23 100644
--- a/src/mame/includes/fitfight.h
+++ b/src/mame/includes/fitfight.h
@@ -4,7 +4,7 @@
class fitfight_state : public driver_device
{
public:
- fitfight_state(const machine_config &mconfig, device_type type, const char *tag)
+ fitfight_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fof_100000(*this, "fof_100000"),
m_fof_600000(*this, "fof_600000"),
diff --git a/src/mame/includes/flkatck.h b/src/mame/includes/flkatck.h
index 8cc05b8858f..f77f3b0fc6c 100644
--- a/src/mame/includes/flkatck.h
+++ b/src/mame/includes/flkatck.h
@@ -11,7 +11,7 @@
class flkatck_state : public driver_device
{
public:
- flkatck_state(const machine_config &mconfig, device_type type, const char *tag)
+ flkatck_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_k007121_ram(*this, "k007121_ram"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/flower.h b/src/mame/includes/flower.h
index cc2ff96ced2..7e201d56ebe 100644
--- a/src/mame/includes/flower.h
+++ b/src/mame/includes/flower.h
@@ -3,7 +3,7 @@
class flower_state : public driver_device
{
public:
- flower_state(const machine_config &mconfig, device_type type, const char *tag)
+ flower_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_sn_nmi_enable(*this, "sn_nmi_enable"),
m_spriteram(*this, "spriteram"),
@@ -76,7 +76,7 @@ class flower_sound_device : public device_t,
public device_sound_interface
{
public:
- flower_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ flower_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~flower_sound_device() {}
enum
diff --git a/src/mame/includes/flstory.h b/src/mame/includes/flstory.h
index f8ec570fa43..4f035151e4c 100644
--- a/src/mame/includes/flstory.h
+++ b/src/mame/includes/flstory.h
@@ -5,7 +5,7 @@
class flstory_state : public driver_device
{
public:
- flstory_state(const machine_config &mconfig, device_type type, const char *tag)
+ flstory_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/fm7.h b/src/mame/includes/fm7.h
index cdc22c6e092..746bec5dc80 100644
--- a/src/mame/includes/fm7.h
+++ b/src/mame/includes/fm7.h
@@ -119,7 +119,7 @@ public:
TIMER_FM77AV_VSYNC
};
- fm7_state(const machine_config &mconfig, device_type type, const char *tag)
+ fm7_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_shared_ram(*this, "shared_ram"),
m_boot_ram(*this, "boot_ram"),
diff --git a/src/mame/includes/fmtowns.h b/src/mame/includes/fmtowns.h
index 1989b2ea3a9..f3ad5a0d9d5 100644
--- a/src/mame/includes/fmtowns.h
+++ b/src/mame/includes/fmtowns.h
@@ -78,7 +78,7 @@ struct towns_video_controller
class towns_state : public driver_device
{
public:
- towns_state(const machine_config &mconfig, device_type type, const char *tag)
+ towns_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker"),
@@ -363,7 +363,7 @@ public:
class towns16_state : public towns_state
{
public:
- towns16_state(const machine_config &mconfig, device_type type, const char *tag)
+ towns16_state(const machine_config &mconfig, device_type type, std::string tag)
: towns_state(mconfig, type, tag)
{ }
};
@@ -371,7 +371,7 @@ class towns16_state : public towns_state
class marty_state : public towns_state
{
public:
- marty_state(const machine_config &mconfig, device_type type, const char *tag)
+ marty_state(const machine_config &mconfig, device_type type, std::string tag)
: towns_state(mconfig, type, tag)
{ }
diff --git a/src/mame/includes/foodf.h b/src/mame/includes/foodf.h
index 286427b43c8..98bd7b5f483 100644
--- a/src/mame/includes/foodf.h
+++ b/src/mame/includes/foodf.h
@@ -12,7 +12,7 @@
class foodf_state : public atarigen_state
{
public:
- foodf_state(const machine_config &mconfig, device_type type, const char *tag)
+ foodf_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_nvram(*this, "nvram"),
m_playfield_tilemap(*this, "playfield"),
diff --git a/src/mame/includes/freekick.h b/src/mame/includes/freekick.h
index 40ab4f90f4e..498535e2c8e 100644
--- a/src/mame/includes/freekick.h
+++ b/src/mame/includes/freekick.h
@@ -5,7 +5,7 @@
class freekick_state : public driver_device
{
public:
- freekick_state(const machine_config &mconfig, device_type type, const char *tag)
+ freekick_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/fromanc2.h b/src/mame/includes/fromanc2.h
index 8041c7974f3..11e3d19440d 100644
--- a/src/mame/includes/fromanc2.h
+++ b/src/mame/includes/fromanc2.h
@@ -5,7 +5,7 @@
class fromanc2_state : public driver_device
{
public:
- fromanc2_state(const machine_config &mconfig, device_type type, const char *tag)
+ fromanc2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/fromance.h b/src/mame/includes/fromance.h
index d8562d4deb9..879abfab987 100644
--- a/src/mame/includes/fromance.h
+++ b/src/mame/includes/fromance.h
@@ -14,7 +14,7 @@
class fromance_state : public driver_device
{
public:
- fromance_state(const machine_config &mconfig, device_type type, const char *tag)
+ fromance_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/funkybee.h b/src/mame/includes/funkybee.h
index ae8f2523a19..c4db163553e 100644
--- a/src/mame/includes/funkybee.h
+++ b/src/mame/includes/funkybee.h
@@ -5,7 +5,7 @@
class funkybee_state : public driver_device
{
public:
- funkybee_state(const machine_config &mconfig, device_type type, const char *tag)
+ funkybee_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/funkyjet.h b/src/mame/includes/funkyjet.h
index ce8c0294554..f1b810746fe 100644
--- a/src/mame/includes/funkyjet.h
+++ b/src/mame/includes/funkyjet.h
@@ -14,7 +14,7 @@
class funkyjet_state : public driver_device
{
public:
- funkyjet_state(const machine_config &mconfig, device_type type, const char *tag)
+ funkyjet_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_deco146(*this, "ioprot"),
diff --git a/src/mame/includes/funworld.h b/src/mame/includes/funworld.h
index ebc3c2df912..05fcc29b763 100644
--- a/src/mame/includes/funworld.h
+++ b/src/mame/includes/funworld.h
@@ -3,7 +3,7 @@
class funworld_state : public driver_device
{
public:
- funworld_state(const machine_config &mconfig, device_type type, const char *tag)
+ funworld_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/funybubl.h b/src/mame/includes/funybubl.h
index 1a1818158c7..b574ad9d042 100644
--- a/src/mame/includes/funybubl.h
+++ b/src/mame/includes/funybubl.h
@@ -5,7 +5,7 @@
class funybubl_state : public driver_device
{
public:
- funybubl_state(const machine_config &mconfig, device_type type, const char *tag)
+ funybubl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_paletteram(*this, "paletteram"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/fuukifg2.h b/src/mame/includes/fuukifg2.h
index ba0c6eeaa33..f8183141e2d 100644
--- a/src/mame/includes/fuukifg2.h
+++ b/src/mame/includes/fuukifg2.h
@@ -13,7 +13,7 @@ public:
TIMER_RASTER_INTERRUPT
};
- fuuki16_state(const machine_config &mconfig, device_type type, const char *tag)
+ fuuki16_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/fuukifg3.h b/src/mame/includes/fuukifg3.h
index 90af6ad1893..37d88a1c93f 100644
--- a/src/mame/includes/fuukifg3.h
+++ b/src/mame/includes/fuukifg3.h
@@ -21,7 +21,7 @@ public:
TIMER_RASTER_INTERRUPT
};
- fuuki32_state(const machine_config &mconfig, device_type type, const char *tag)
+ fuuki32_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/gaelco.h b/src/mame/includes/gaelco.h
index ea275b50248..48cc7a24937 100644
--- a/src/mame/includes/gaelco.h
+++ b/src/mame/includes/gaelco.h
@@ -9,7 +9,7 @@
class gaelco_state : public driver_device
{
public:
- gaelco_state(const machine_config &mconfig, device_type type, const char *tag)
+ gaelco_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_vregs(*this, "vregs"),
diff --git a/src/mame/includes/gaelco2.h b/src/mame/includes/gaelco2.h
index ab458342036..9673ea5f195 100644
--- a/src/mame/includes/gaelco2.h
+++ b/src/mame/includes/gaelco2.h
@@ -7,7 +7,7 @@
class gaelco2_state : public driver_device
{
public:
- gaelco2_state(const machine_config &mconfig, device_type type, const char *tag)
+ gaelco2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_spriteram(*this,"spriteram"),
@@ -66,7 +66,7 @@ public:
class bang_state : public gaelco2_state
{
public:
- bang_state(const machine_config &mconfig, device_type type, const char *tag)
+ bang_state(const machine_config &mconfig, device_type type, std::string tag)
: gaelco2_state(mconfig, type, tag)
, m_light0_x(*this, "LIGHT0_X")
, m_light0_y(*this, "LIGHT0_Y")
@@ -94,7 +94,7 @@ public:
class wrally2_state : public gaelco2_state
{
public:
- wrally2_state(const machine_config &mconfig, device_type type, const char *tag)
+ wrally2_state(const machine_config &mconfig, device_type type, std::string tag)
: gaelco2_state(mconfig, type, tag)
, m_analog0(*this, "ANALOG0")
, m_analog1(*this, "ANALOG1")
diff --git a/src/mame/includes/gaelco3d.h b/src/mame/includes/gaelco3d.h
index 8aaf90e1dc9..a0ce45bb7a8 100644
--- a/src/mame/includes/gaelco3d.h
+++ b/src/mame/includes/gaelco3d.h
@@ -55,7 +55,7 @@ private:
class gaelco3d_state : public driver_device
{
public:
- gaelco3d_state(const machine_config &mconfig, device_type type, const char *tag)
+ gaelco3d_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_adsp_ram_base(*this,"adsp_ram_base"),
m_m68k_ram_base(*this,"m68k_ram_base",0),
diff --git a/src/mame/includes/gaiden.h b/src/mame/includes/gaiden.h
index d96d1e27826..cdc15d0f471 100644
--- a/src/mame/includes/gaiden.h
+++ b/src/mame/includes/gaiden.h
@@ -12,7 +12,7 @@
class gaiden_state : public driver_device
{
public:
- gaiden_state(const machine_config &mconfig, device_type type, const char *tag)
+ gaiden_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_videoram2(*this, "videoram2"),
diff --git a/src/mame/includes/galaga.h b/src/mame/includes/galaga.h
index 5a417fe44a7..19db57d0bca 100644
--- a/src/mame/includes/galaga.h
+++ b/src/mame/includes/galaga.h
@@ -7,7 +7,7 @@
class galaga_state : public driver_device
{
public:
- galaga_state(const machine_config &mconfig, device_type type, const char *tag)
+ galaga_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_galaga_ram1(*this, "galaga_ram1"),
@@ -93,7 +93,7 @@ public:
class xevious_state : public galaga_state
{
public:
- xevious_state(const machine_config &mconfig, device_type type, const char *tag)
+ xevious_state(const machine_config &mconfig, device_type type, std::string tag)
: galaga_state(mconfig, type, tag),
m_xevious_sr1(*this, "xevious_sr1"),
m_xevious_sr2(*this, "xevious_sr2"),
@@ -167,7 +167,7 @@ public:
class bosco_state : public galaga_state
{
public:
- bosco_state(const machine_config &mconfig, device_type type, const char *tag)
+ bosco_state(const machine_config &mconfig, device_type type, std::string tag)
: galaga_state(mconfig, type, tag),
m_bosco_radarattr(*this, "bosco_radarattr"),
m_bosco_starcontrol(*this, "starcontrol"),
@@ -206,7 +206,7 @@ public:
class digdug_state : public galaga_state
{
public:
- digdug_state(const machine_config &mconfig, device_type type, const char *tag)
+ digdug_state(const machine_config &mconfig, device_type type, std::string tag)
: galaga_state(mconfig, type, tag),
m_digdug_objram(*this, "digdug_objram"),
m_digdug_posram(*this, "digdug_posram"),
diff --git a/src/mame/includes/galastrm.h b/src/mame/includes/galastrm.h
index c2413a6d11d..ad5d80afe5d 100644
--- a/src/mame/includes/galastrm.h
+++ b/src/mame/includes/galastrm.h
@@ -48,7 +48,7 @@ public:
TIMER_GALASTRM_INTERRUPT6
};
- galastrm_state(const machine_config &mconfig, device_type type, const char *tag)
+ galastrm_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ram(*this,"ram"),
m_spriteram(*this,"spriteram") ,
diff --git a/src/mame/includes/galaxia.h b/src/mame/includes/galaxia.h
index a582157d5df..6333926a87d 100644
--- a/src/mame/includes/galaxia.h
+++ b/src/mame/includes/galaxia.h
@@ -11,7 +11,7 @@
class galaxia_state : public cvs_state
{
public:
- galaxia_state(const machine_config &mconfig, device_type type, const char *tag)
+ galaxia_state(const machine_config &mconfig, device_type type, std::string tag)
: cvs_state(mconfig, type, tag) { }
diff --git a/src/mame/includes/galaxian.h b/src/mame/includes/galaxian.h
index ac1e84a7b33..cc310e39fea 100644
--- a/src/mame/includes/galaxian.h
+++ b/src/mame/includes/galaxian.h
@@ -36,7 +36,7 @@
class galaxian_state : public driver_device
{
public:
- galaxian_state(const machine_config &mconfig, device_type type, const char *tag)
+ galaxian_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/galaxold.h b/src/mame/includes/galaxold.h
index 6159915b451..2592c4bbb00 100644
--- a/src/mame/includes/galaxold.h
+++ b/src/mame/includes/galaxold.h
@@ -27,7 +27,7 @@ struct star_gold
class galaxold_state : public driver_device
{
public:
- galaxold_state(const machine_config &mconfig, device_type type, const char *tag)
+ galaxold_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/galaxy.h b/src/mame/includes/galaxy.h
index 1a0e27a4841..8fdceb366bd 100644
--- a/src/mame/includes/galaxy.h
+++ b/src/mame/includes/galaxy.h
@@ -17,7 +17,7 @@
class galaxy_state : public driver_device
{
public:
- galaxy_state(const machine_config &mconfig, device_type type, const char *tag)
+ galaxy_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cassette(*this, "cassette"),
diff --git a/src/mame/includes/galeb.h b/src/mame/includes/galeb.h
index 0c25b29d759..6a1fc7f2839 100644
--- a/src/mame/includes/galeb.h
+++ b/src/mame/includes/galeb.h
@@ -13,7 +13,7 @@
class galeb_state : public driver_device
{
public:
- galeb_state(const machine_config &mconfig, device_type type, const char *tag)
+ galeb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_video_ram(*this, "video_ram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/galivan.h b/src/mame/includes/galivan.h
index 5f098ff890f..987b15deb69 100644
--- a/src/mame/includes/galivan.h
+++ b/src/mame/includes/galivan.h
@@ -12,7 +12,7 @@
class galivan_state : public driver_device
{
public:
- galivan_state(const machine_config &mconfig, device_type type, const char *tag)
+ galivan_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/galpani2.h b/src/mame/includes/galpani2.h
index a4697d9775e..f9c53d5c804 100644
--- a/src/mame/includes/galpani2.h
+++ b/src/mame/includes/galpani2.h
@@ -7,7 +7,7 @@
class galpani2_state : public driver_device
{
public:
- galpani2_state(const machine_config &mconfig, device_type type, const char *tag)
+ galpani2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_subcpu(*this,"sub"),
diff --git a/src/mame/includes/galpanic.h b/src/mame/includes/galpanic.h
index 788ca087540..a5bd2903f34 100644
--- a/src/mame/includes/galpanic.h
+++ b/src/mame/includes/galpanic.h
@@ -5,7 +5,7 @@
class galpanic_state : public driver_device
{
public:
- galpanic_state(const machine_config &mconfig, device_type type, const char *tag)
+ galpanic_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_bgvideoram(*this, "bgvideoram"),
diff --git a/src/mame/includes/galspnbl.h b/src/mame/includes/galspnbl.h
index 7b934043a7e..82de7f47339 100644
--- a/src/mame/includes/galspnbl.h
+++ b/src/mame/includes/galspnbl.h
@@ -12,7 +12,7 @@
class galspnbl_state : public driver_device
{
public:
- galspnbl_state(const machine_config &mconfig, device_type type, const char *tag)
+ galspnbl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/gamate.h b/src/mame/includes/gamate.h
index 868df1157a6..0973d940ba5 100644
--- a/src/mame/includes/gamate.h
+++ b/src/mame/includes/gamate.h
@@ -19,7 +19,7 @@
class gamate_sound_device : public device_t, public device_sound_interface
{
public:
- gamate_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ gamate_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~gamate_sound_device() { }
DECLARE_WRITE8_MEMBER( device_w );
diff --git a/src/mame/includes/gamecom.h b/src/mame/includes/gamecom.h
index e9f8829ab79..799d16dbc2a 100644
--- a/src/mame/includes/gamecom.h
+++ b/src/mame/includes/gamecom.h
@@ -212,7 +212,7 @@ struct gamecom_sound_t
class gamecom_state : public driver_device
{
public:
- gamecom_state(const machine_config &mconfig, device_type type, const char *tag)
+ gamecom_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_p_videoram(*this,"videoram")
, m_p_nvram(*this,"nvram")
diff --git a/src/mame/includes/gameplan.h b/src/mame/includes/gameplan.h
index d01d6d969a9..e3576a60d29 100644
--- a/src/mame/includes/gameplan.h
+++ b/src/mame/includes/gameplan.h
@@ -34,7 +34,7 @@ public:
TIMER_VIA_0_CAL
};
- gameplan_state(const machine_config &mconfig, device_type type, const char *tag)
+ gameplan_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_trvquest_question(*this, "trvquest_q"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/gamepock.h b/src/mame/includes/gamepock.h
index 9b842d6405a..038080853c7 100644
--- a/src/mame/includes/gamepock.h
+++ b/src/mame/includes/gamepock.h
@@ -16,7 +16,7 @@ struct HD44102CH {
class gamepock_state : public driver_device
{
public:
- gamepock_state(const machine_config &mconfig, device_type type, const char *tag)
+ gamepock_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker"),
diff --git a/src/mame/includes/gaplus.h b/src/mame/includes/gaplus.h
index 7f4e92a75f0..00568d662ba 100644
--- a/src/mame/includes/gaplus.h
+++ b/src/mame/includes/gaplus.h
@@ -27,7 +27,7 @@ public:
GAME_GALAGA3
};
- gaplus_state(const machine_config &mconfig, device_type type, const char *tag)
+ gaplus_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/includes/gatron.h b/src/mame/includes/gatron.h
index 4d1b8a73836..28dfbad1834 100644
--- a/src/mame/includes/gatron.h
+++ b/src/mame/includes/gatron.h
@@ -3,7 +3,7 @@
class gatron_state : public driver_device
{
public:
- gatron_state(const machine_config &mconfig, device_type type, const char *tag)
+ gatron_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/gauntlet.h b/src/mame/includes/gauntlet.h
index 685021ebaa8..596ccc85f00 100644
--- a/src/mame/includes/gauntlet.h
+++ b/src/mame/includes/gauntlet.h
@@ -12,7 +12,7 @@
class gauntlet_state : public atarigen_state
{
public:
- gauntlet_state(const machine_config &mconfig, device_type type, const char *tag)
+ gauntlet_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_playfield_tilemap(*this, "playfield"),
m_alpha_tilemap(*this, "alpha"),
diff --git a/src/mame/includes/gb.h b/src/mame/includes/gb.h
index 59f5ee91de3..90d18a78346 100644
--- a/src/mame/includes/gb.h
+++ b/src/mame/includes/gb.h
@@ -46,7 +46,7 @@
class gb_state : public driver_device
{
public:
- gb_state(const machine_config &mconfig, device_type type, const char *tag)
+ gb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cartslot(*this, "gbslot"),
m_maincpu(*this, "maincpu"),
@@ -143,7 +143,7 @@ protected:
class megaduck_state : public gb_state
{
public:
- megaduck_state(const machine_config &mconfig, device_type type, const char *tag)
+ megaduck_state(const machine_config &mconfig, device_type type, std::string tag)
: gb_state(mconfig, type, tag)
, m_cartslot(*this, "duckslot")
{ }
diff --git a/src/mame/includes/gba.h b/src/mame/includes/gba.h
index 8037ecb5795..1e79e284c33 100644
--- a/src/mame/includes/gba.h
+++ b/src/mame/includes/gba.h
@@ -129,7 +129,7 @@
class gba_state : public driver_device
{
public:
- gba_state(const machine_config &mconfig, device_type type, const char *tag)
+ gba_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gba_pram(*this, "gba_pram"),
diff --git a/src/mame/includes/gberet.h b/src/mame/includes/gberet.h
index 6911d47fc40..fc5ff97bf7a 100644
--- a/src/mame/includes/gberet.h
+++ b/src/mame/includes/gberet.h
@@ -11,7 +11,7 @@
class gberet_state : public driver_device
{
public:
- gberet_state(const machine_config &mconfig, device_type type, const char *tag)
+ gberet_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_colorram(*this, "colorram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/gcpinbal.h b/src/mame/includes/gcpinbal.h
index fa32062eb1c..7b383d0af41 100644
--- a/src/mame/includes/gcpinbal.h
+++ b/src/mame/includes/gcpinbal.h
@@ -14,7 +14,7 @@ public:
TIMER_GCPINBAL_INTERRUPT3
};
- gcpinbal_state(const machine_config &mconfig, device_type type, const char *tag)
+ gcpinbal_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_oki(*this, "oki"),
diff --git a/src/mame/includes/genpc.h b/src/mame/includes/genpc.h
index b3353de35d6..8d83d3ad320 100644
--- a/src/mame/includes/genpc.h
+++ b/src/mame/includes/genpc.h
@@ -29,9 +29,9 @@ class ibm5160_mb_device : public device_t
{
public:
// construction/destruction
- ibm5160_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ibm5160_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// inline configuration
- static void static_set_cputag(device_t &device, const char *tag);
+ static void static_set_cputag(device_t &device, std::string tag);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -108,7 +108,7 @@ public:
DECLARE_WRITE8_MEMBER(pc_page_w);
DECLARE_WRITE8_MEMBER(nmi_enable_w);
- const char *m_cputag;
+ std::string m_cputag;
private:
void pc_select_dma_channel(int channel, bool state);
@@ -128,7 +128,7 @@ class ibm5150_mb_device : public ibm5160_mb_device
{
public:
// construction/destruction
- ibm5150_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ibm5150_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -160,7 +160,7 @@ class ec1841_mb_device : public ibm5160_mb_device
{
public:
// construction/destruction
- ec1841_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ec1841_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -188,7 +188,7 @@ class pc_noppi_mb_device : public ibm5160_mb_device
{
public:
// construction/destruction
- pc_noppi_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pc_noppi_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual machine_config_constructor device_mconfig_additions() const override;
virtual ioport_constructor device_input_ports() const override;
diff --git a/src/mame/includes/gijoe.h b/src/mame/includes/gijoe.h
index d4c417bcd01..0946bf876e9 100644
--- a/src/mame/includes/gijoe.h
+++ b/src/mame/includes/gijoe.h
@@ -14,7 +14,7 @@
class gijoe_state : public driver_device
{
public:
- gijoe_state(const machine_config &mconfig, device_type type, const char *tag)
+ gijoe_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_workram(*this, "workram"),
diff --git a/src/mame/includes/ginganin.h b/src/mame/includes/ginganin.h
index 33d09944529..f115c432fe2 100644
--- a/src/mame/includes/ginganin.h
+++ b/src/mame/includes/ginganin.h
@@ -9,7 +9,7 @@
class ginganin_state : public driver_device
{
public:
- ginganin_state(const machine_config &mconfig, device_type type, const char *tag)
+ ginganin_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_txtram(*this, "txtram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/gladiatr.h b/src/mame/includes/gladiatr.h
index 06813718742..fec39aac173 100644
--- a/src/mame/includes/gladiatr.h
+++ b/src/mame/includes/gladiatr.h
@@ -5,7 +5,7 @@
class gladiatr_state : public driver_device
{
public:
- gladiatr_state(const machine_config &mconfig, device_type type, const char *tag)
+ gladiatr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/glass.h b/src/mame/includes/glass.h
index 4fc0cbe59ee..6a39446acee 100644
--- a/src/mame/includes/glass.h
+++ b/src/mame/includes/glass.h
@@ -9,7 +9,7 @@
class glass_state : public driver_device
{
public:
- glass_state(const machine_config &mconfig, device_type type, const char *tag)
+ glass_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_vregs(*this, "vregs"),
diff --git a/src/mame/includes/gng.h b/src/mame/includes/gng.h
index 83a245748e0..91ae35476da 100644
--- a/src/mame/includes/gng.h
+++ b/src/mame/includes/gng.h
@@ -11,7 +11,7 @@
class gng_state : public driver_device
{
public:
- gng_state(const machine_config &mconfig, device_type type, const char *tag)
+ gng_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram") ,
m_fgvideoram(*this, "fgvideoram"),
diff --git a/src/mame/includes/goal92.h b/src/mame/includes/goal92.h
index a1b6a996e0f..ff4d57bdd77 100644
--- a/src/mame/includes/goal92.h
+++ b/src/mame/includes/goal92.h
@@ -9,7 +9,7 @@
class goal92_state : public driver_device
{
public:
- goal92_state(const machine_config &mconfig, device_type type, const char *tag)
+ goal92_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bg_data(*this, "bg_data"),
m_fg_data(*this, "fg_data"),
diff --git a/src/mame/includes/goindol.h b/src/mame/includes/goindol.h
index a7ef567182a..80ae9952952 100644
--- a/src/mame/includes/goindol.h
+++ b/src/mame/includes/goindol.h
@@ -9,7 +9,7 @@
class goindol_state : public driver_device
{
public:
- goindol_state(const machine_config &mconfig, device_type type, const char *tag)
+ goindol_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ram(*this, "ram"),
m_fg_scrolly(*this, "fg_scrolly"),
diff --git a/src/mame/includes/goldstar.h b/src/mame/includes/goldstar.h
index 2eb7e47df05..29ac9699d87 100644
--- a/src/mame/includes/goldstar.h
+++ b/src/mame/includes/goldstar.h
@@ -8,7 +8,7 @@
class goldstar_state : public driver_device
{
public:
- goldstar_state(const machine_config &mconfig, device_type type, const char *tag) :
+ goldstar_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_fg_vidram(*this, "fg_vidram"),
m_fg_atrram(*this, "fg_atrram"),
@@ -96,7 +96,7 @@ protected:
class cmaster_state : public goldstar_state
{
public:
- cmaster_state(const machine_config &mconfig, device_type type, const char *tag) :
+ cmaster_state(const machine_config &mconfig, device_type type, std::string tag) :
goldstar_state(mconfig, type, tag)
{
}
@@ -152,7 +152,7 @@ protected:
class wingco_state : public goldstar_state
{
public:
- wingco_state(const machine_config &mconfig, device_type type, const char *tag) :
+ wingco_state(const machine_config &mconfig, device_type type, std::string tag) :
goldstar_state(mconfig, type, tag)
{
}
@@ -188,7 +188,7 @@ private:
class cb3_state : public goldstar_state
{
public:
- cb3_state(const machine_config &mconfig, device_type type, const char *tag) :
+ cb3_state(const machine_config &mconfig, device_type type, std::string tag) :
goldstar_state(mconfig, type, tag)
{
}
@@ -211,7 +211,7 @@ protected:
class sanghopm_state : public goldstar_state
{
public:
- sanghopm_state(const machine_config &mconfig, device_type type, const char *tag) :
+ sanghopm_state(const machine_config &mconfig, device_type type, std::string tag) :
goldstar_state(mconfig, type, tag),
m_reel1_attrram(*this, "reel1_attrram"),
m_reel2_attrram(*this, "reel2_attrram"),
@@ -252,7 +252,7 @@ private:
class unkch_state : public goldstar_state
{
public:
- unkch_state(const machine_config &mconfig, device_type type, const char *tag) :
+ unkch_state(const machine_config &mconfig, device_type type, std::string tag) :
goldstar_state(mconfig, type, tag),
m_reel1_attrram(*this, "reel1_attrram"),
m_reel2_attrram(*this, "reel2_attrram"),
diff --git a/src/mame/includes/gomoku.h b/src/mame/includes/gomoku.h
index 375a08f7f5c..12a9d53d84e 100644
--- a/src/mame/includes/gomoku.h
+++ b/src/mame/includes/gomoku.h
@@ -4,7 +4,7 @@
class gomoku_state : public driver_device
{
public:
- gomoku_state(const machine_config &mconfig, device_type type, const char *tag)
+ gomoku_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
@@ -68,7 +68,7 @@ class gomoku_sound_device : public device_t,
public device_sound_interface
{
public:
- gomoku_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ gomoku_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~gomoku_sound_device() { }
protected:
diff --git a/src/mame/includes/gotcha.h b/src/mame/includes/gotcha.h
index c053588e91c..e47d3fbad3c 100644
--- a/src/mame/includes/gotcha.h
+++ b/src/mame/includes/gotcha.h
@@ -11,7 +11,7 @@
class gotcha_state : public driver_device
{
public:
- gotcha_state(const machine_config &mconfig, device_type type, const char *tag)
+ gotcha_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fgvideoram(*this, "fgvideoram"),
m_bgvideoram(*this, "bgvideoram"),
diff --git a/src/mame/includes/gottlieb.h b/src/mame/includes/gottlieb.h
index 8f539ff234f..02898163ef0 100644
--- a/src/mame/includes/gottlieb.h
+++ b/src/mame/includes/gottlieb.h
@@ -36,7 +36,7 @@ public:
TIMER_NMI_CLEAR
};
- gottlieb_state(const machine_config &mconfig, device_type type, const char *tag)
+ gottlieb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_laserdisc(*this, "laserdisc"),
diff --git a/src/mame/includes/gotya.h b/src/mame/includes/gotya.h
index 6ad087b0242..a32d50d723b 100644
--- a/src/mame/includes/gotya.h
+++ b/src/mame/includes/gotya.h
@@ -5,7 +5,7 @@
class gotya_state : public driver_device
{
public:
- gotya_state(const machine_config &mconfig, device_type type, const char *tag)
+ gotya_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_scroll(*this, "scroll"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/gp32.h b/src/mame/includes/gp32.h
index 65ae4f28ed0..d2e9ea3d5d2 100644
--- a/src/mame/includes/gp32.h
+++ b/src/mame/includes/gp32.h
@@ -92,7 +92,7 @@ struct s3c240x_iis_t
class gp32_state : public driver_device
{
public:
- gp32_state(const machine_config &mconfig, device_type type, const char *tag)
+ gp32_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_s3c240x_ram(*this, "s3c240x_ram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/gradius3.h b/src/mame/includes/gradius3.h
index 98061d26ece..bd7e6b99863 100644
--- a/src/mame/includes/gradius3.h
+++ b/src/mame/includes/gradius3.h
@@ -13,7 +13,7 @@
class gradius3_state : public driver_device
{
public:
- gradius3_state(const machine_config &mconfig, device_type type, const char *tag)
+ gradius3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_gfxram(*this, "k052109"),
m_gfxrom(*this, "k051960"),
diff --git a/src/mame/includes/grchamp.h b/src/mame/includes/grchamp.h
index 3e654dcfd50..83e4195aafb 100644
--- a/src/mame/includes/grchamp.h
+++ b/src/mame/includes/grchamp.h
@@ -11,7 +11,7 @@
class grchamp_state : public driver_device
{
public:
- grchamp_state(const machine_config &mconfig, device_type type, const char *tag)
+ grchamp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/gridlee.h b/src/mame/includes/gridlee.h
index 4aea8304969..3c3a3c0cb46 100644
--- a/src/mame/includes/gridlee.h
+++ b/src/mame/includes/gridlee.h
@@ -25,7 +25,7 @@
class gridlee_state : public driver_device
{
public:
- gridlee_state(const machine_config &mconfig, device_type type, const char *tag)
+ gridlee_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_videoram(*this, "videoram"),
@@ -79,7 +79,7 @@ class gridlee_sound_device : public device_t,
public device_sound_interface
{
public:
- gridlee_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ gridlee_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~gridlee_sound_device() { }
protected:
diff --git a/src/mame/includes/groundfx.h b/src/mame/includes/groundfx.h
index 60c8e76ac43..c33955d99db 100644
--- a/src/mame/includes/groundfx.h
+++ b/src/mame/includes/groundfx.h
@@ -21,7 +21,7 @@ public:
TIMER_GROUNDFX_INTERRUPT5
};
- groundfx_state(const machine_config &mconfig, device_type type, const char *tag)
+ groundfx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ram(*this,"ram"),
m_spriteram(*this,"spriteram") ,
diff --git a/src/mame/includes/gstriker.h b/src/mame/includes/gstriker.h
index 7491fe1aa40..117b86874b0 100644
--- a/src/mame/includes/gstriker.h
+++ b/src/mame/includes/gstriker.h
@@ -12,7 +12,7 @@
class gstriker_state : public driver_device
{
public:
- gstriker_state(const machine_config &mconfig, device_type type, const char *tag)
+ gstriker_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/gsword.h b/src/mame/includes/gsword.h
index 014cc175082..1bd7f127e77 100644
--- a/src/mame/includes/gsword.h
+++ b/src/mame/includes/gsword.h
@@ -6,7 +6,7 @@
class gsword_state : public driver_device
{
public:
- gsword_state(const machine_config &mconfig, device_type type, const char *tag)
+ gsword_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/gumbo.h b/src/mame/includes/gumbo.h
index d95628aacfb..03e20b24a5d 100644
--- a/src/mame/includes/gumbo.h
+++ b/src/mame/includes/gumbo.h
@@ -9,7 +9,7 @@
class gumbo_state : public driver_device
{
public:
- gumbo_state(const machine_config &mconfig, device_type type, const char *tag)
+ gumbo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bg_videoram(*this, "bg_videoram"),
m_fg_videoram(*this, "fg_videoram"),
diff --git a/src/mame/includes/gunbustr.h b/src/mame/includes/gunbustr.h
index 95aef16b0e3..3317109412d 100644
--- a/src/mame/includes/gunbustr.h
+++ b/src/mame/includes/gunbustr.h
@@ -21,7 +21,7 @@ public:
TIMER_GUNBUSTR_INTERRUPT5
};
- gunbustr_state(const machine_config &mconfig, device_type type, const char *tag)
+ gunbustr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_tc0480scp(*this, "tc0480scp"),
diff --git a/src/mame/includes/gundealr.h b/src/mame/includes/gundealr.h
index 5afbcf87317..1dfe357d399 100644
--- a/src/mame/includes/gundealr.h
+++ b/src/mame/includes/gundealr.h
@@ -9,7 +9,7 @@
class gundealr_state : public driver_device
{
public:
- gundealr_state(const machine_config &mconfig, device_type type, const char *tag)
+ gundealr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_paletteram(*this, "paletteram"),
m_bg_videoram(*this, "bg_videoram"),
diff --git a/src/mame/includes/gunsmoke.h b/src/mame/includes/gunsmoke.h
index 2c5d43e0446..eae70b7a54a 100644
--- a/src/mame/includes/gunsmoke.h
+++ b/src/mame/includes/gunsmoke.h
@@ -9,7 +9,7 @@
class gunsmoke_state : public driver_device
{
public:
- gunsmoke_state(const machine_config &mconfig, device_type type, const char *tag)
+ gunsmoke_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/gyruss.h b/src/mame/includes/gyruss.h
index 1c9bfd88e02..38b929fb574 100644
--- a/src/mame/includes/gyruss.h
+++ b/src/mame/includes/gyruss.h
@@ -11,7 +11,7 @@
class gyruss_state : public driver_device
{
public:
- gyruss_state(const machine_config &mconfig, device_type type, const char *tag)
+ gyruss_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/includes/hanaawas.h b/src/mame/includes/hanaawas.h
index dd09c9229ac..6ac93fc2ffb 100644
--- a/src/mame/includes/hanaawas.h
+++ b/src/mame/includes/hanaawas.h
@@ -9,7 +9,7 @@
class hanaawas_state : public driver_device
{
public:
- hanaawas_state(const machine_config &mconfig, device_type type, const char *tag)
+ hanaawas_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/harddriv.h b/src/mame/includes/harddriv.h
index c887c8a2597..4dab01a1f4b 100644
--- a/src/mame/includes/harddriv.h
+++ b/src/mame/includes/harddriv.h
@@ -44,7 +44,7 @@ class harddriv_state : public device_t
/* public device_video_interface */
{
public:
- harddriv_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ harddriv_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
required_device<cpu_device> m_maincpu;
@@ -438,7 +438,7 @@ class harddriv_sound_board_device : public device_t
{
public:
// construction/destruction
- harddriv_sound_board_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ harddriv_sound_board_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~harddriv_sound_board_device() {}
DECLARE_READ16_MEMBER(hd68k_snd_data_r);
@@ -506,7 +506,7 @@ private:
class harddriv_board_device_state : public harddriv_state
{
public:
- harddriv_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ harddriv_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -519,7 +519,7 @@ protected:
class harddrivc_board_device_state : public harddriv_state
{
public:
- harddrivc_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ harddrivc_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -532,7 +532,7 @@ protected:
class racedriv_board_device_state : public harddriv_state
{
public:
- racedriv_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ racedriv_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -543,7 +543,7 @@ protected:
class racedrivb1_board_device_state : public racedriv_board_device_state
{
public:
- racedrivb1_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+ racedrivb1_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
racedriv_board_device_state(mconfig, tag, owner, clock)
{};
@@ -556,7 +556,7 @@ protected:
class racedrivc_board_device_state : public harddriv_state
{
public:
- racedrivc_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ racedrivc_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -567,7 +567,7 @@ protected:
class racedrivc1_board_device_state : public racedrivc_board_device_state
{
public:
- racedrivc1_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+ racedrivc1_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
racedrivc_board_device_state(mconfig, tag, owner, clock)
{};
protected:
@@ -577,7 +577,7 @@ protected:
class racedrivc_panorama_side_board_device_state : public racedrivc_board_device_state
{
public:
- racedrivc_panorama_side_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+ racedrivc_panorama_side_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
racedrivc_board_device_state(mconfig, tag, owner, clock)
{};
protected:
@@ -591,7 +591,7 @@ protected:
class stunrun_board_device_state : public harddriv_state
{
public:
- stunrun_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ stunrun_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -604,7 +604,7 @@ protected:
class steeltal_board_device_state : public harddriv_state
{
public:
- steeltal_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ steeltal_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -615,7 +615,7 @@ protected:
class steeltal1_board_device_state : public steeltal_board_device_state
{
public:
- steeltal1_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+ steeltal1_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
steeltal_board_device_state(mconfig, tag, owner, clock)
{};
@@ -626,7 +626,7 @@ protected:
class steeltalp_board_device_state : public steeltal_board_device_state
{
public:
- steeltalp_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+ steeltalp_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
steeltal_board_device_state(mconfig, tag, owner, clock)
{};
@@ -641,7 +641,7 @@ protected:
class strtdriv_board_device_state : public harddriv_state
{
public:
- strtdriv_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ strtdriv_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -654,7 +654,7 @@ protected:
class hdrivair_board_device_state : public harddriv_state
{
public:
- hdrivair_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ hdrivair_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -665,7 +665,7 @@ protected:
class hdrivairp_board_device_state : public hdrivair_board_device_state
{
public:
- hdrivairp_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+ hdrivairp_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
hdrivair_board_device_state(mconfig, tag, owner, clock)
{};
diff --git a/src/mame/includes/hcastle.h b/src/mame/includes/hcastle.h
index 12874f11e62..e6fac151ace 100644
--- a/src/mame/includes/hcastle.h
+++ b/src/mame/includes/hcastle.h
@@ -13,7 +13,7 @@
class hcastle_state : public driver_device
{
public:
- hcastle_state(const machine_config &mconfig, device_type type, const char *tag)
+ hcastle_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_spriteram2(*this, "spriteram2") ,
diff --git a/src/mame/includes/hec2hrp.h b/src/mame/includes/hec2hrp.h
index c30b7bfccd3..4f05db2cb4f 100644
--- a/src/mame/includes/hec2hrp.h
+++ b/src/mame/includes/hec2hrp.h
@@ -74,7 +74,7 @@ enum
class hec2hrp_state : public driver_device
{
public:
- hec2hrp_state(const machine_config &mconfig, device_type type, const char *tag)
+ hec2hrp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_disc2cpu(*this, "disc2cpu"),
diff --git a/src/mame/includes/hexion.h b/src/mame/includes/hexion.h
index e341d1f7687..aae9686cac9 100644
--- a/src/mame/includes/hexion.h
+++ b/src/mame/includes/hexion.h
@@ -5,7 +5,7 @@
class hexion_state : public driver_device
{
public:
- hexion_state(const machine_config &mconfig, device_type type, const char *tag)
+ hexion_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_k053252(*this, "k053252"),
diff --git a/src/mame/includes/hh_tms1k.h b/src/mame/includes/hh_tms1k.h
index 4a7ccb99467..cd184ddcb35 100644
--- a/src/mame/includes/hh_tms1k.h
+++ b/src/mame/includes/hh_tms1k.h
@@ -18,7 +18,7 @@
class hh_tms1k_state : public driver_device
{
public:
- hh_tms1k_state(const machine_config &mconfig, device_type type, const char *tag)
+ hh_tms1k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_inp_matrix(*this, "IN"),
diff --git a/src/mame/includes/hh_ucom4.h b/src/mame/includes/hh_ucom4.h
index 76b3a5d7a02..db52dea405c 100644
--- a/src/mame/includes/hh_ucom4.h
+++ b/src/mame/includes/hh_ucom4.h
@@ -18,7 +18,7 @@
class hh_ucom4_state : public driver_device
{
public:
- hh_ucom4_state(const machine_config &mconfig, device_type type, const char *tag)
+ hh_ucom4_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_inp_matrix(*this, "IN"),
diff --git a/src/mame/includes/higemaru.h b/src/mame/includes/higemaru.h
index a39d0c5a251..39bad782d07 100644
--- a/src/mame/includes/higemaru.h
+++ b/src/mame/includes/higemaru.h
@@ -9,7 +9,7 @@
class higemaru_state : public driver_device
{
public:
- higemaru_state(const machine_config &mconfig, device_type type, const char *tag)
+ higemaru_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/himesiki.h b/src/mame/includes/himesiki.h
index 65cf5bbcba2..3a65cd7b53f 100644
--- a/src/mame/includes/himesiki.h
+++ b/src/mame/includes/himesiki.h
@@ -9,7 +9,7 @@
class himesiki_state : public driver_device
{
public:
- himesiki_state(const machine_config &mconfig, device_type type, const char *tag)
+ himesiki_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bg_ram(*this, "bg_ram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/hitme.h b/src/mame/includes/hitme.h
index 4a2a4aa48a4..d085942855d 100644
--- a/src/mame/includes/hitme.h
+++ b/src/mame/includes/hitme.h
@@ -17,7 +17,7 @@
class hitme_state : public driver_device
{
public:
- hitme_state(const machine_config &mconfig, device_type type, const char *tag)
+ hitme_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/hnayayoi.h b/src/mame/includes/hnayayoi.h
index fa22619a317..1040019a740 100644
--- a/src/mame/includes/hnayayoi.h
+++ b/src/mame/includes/hnayayoi.h
@@ -10,7 +10,7 @@
class hnayayoi_state : public driver_device
{
public:
- hnayayoi_state(const machine_config &mconfig, device_type type, const char *tag)
+ hnayayoi_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_msm(*this, "msm") { }
diff --git a/src/mame/includes/hng64.h b/src/mame/includes/hng64.h
index 7da413bf645..cb8247d91e5 100644
--- a/src/mame/includes/hng64.h
+++ b/src/mame/includes/hng64.h
@@ -132,7 +132,7 @@ private:
class hng64_state : public driver_device
{
public:
- hng64_state(const machine_config &mconfig, device_type type, const char *tag)
+ hng64_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/holeland.h b/src/mame/includes/holeland.h
index 02b6da3a281..6c58029e335 100644
--- a/src/mame/includes/holeland.h
+++ b/src/mame/includes/holeland.h
@@ -9,7 +9,7 @@
class holeland_state : public driver_device
{
public:
- holeland_state(const machine_config &mconfig, device_type type, const char *tag)
+ holeland_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/homedata.h b/src/mame/includes/homedata.h
index 084bdecb8cb..98d46483fd9 100644
--- a/src/mame/includes/homedata.h
+++ b/src/mame/includes/homedata.h
@@ -7,7 +7,7 @@
class homedata_state : public driver_device
{
public:
- homedata_state(const machine_config &mconfig, device_type type, const char *tag)
+ homedata_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vreg(*this, "vreg"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/homerun.h b/src/mame/includes/homerun.h
index 14fc6659840..1ff24611d8b 100644
--- a/src/mame/includes/homerun.h
+++ b/src/mame/includes/homerun.h
@@ -12,7 +12,7 @@
class homerun_state : public driver_device
{
public:
- homerun_state(const machine_config &mconfig, device_type type, const char *tag)
+ homerun_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/hp48.h b/src/mame/includes/hp48.h
index 748a81bee55..68c30acc7e6 100644
--- a/src/mame/includes/hp48.h
+++ b/src/mame/includes/hp48.h
@@ -44,7 +44,7 @@ typedef struct
class hp48_state : public driver_device
{
public:
- hp48_state(const machine_config &mconfig, device_type type, const char *tag)
+ hp48_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac(*this, "dac"),
@@ -173,7 +173,7 @@ class hp48_port_image_device : public device_t,
{
public:
// construction/destruction
- hp48_port_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ hp48_port_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
static void set_port_config(device_t &device, int port, int module, int max_size)
{
diff --git a/src/mame/includes/huebler.h b/src/mame/includes/huebler.h
index bb6b4c29344..24c8b392f81 100644
--- a/src/mame/includes/huebler.h
+++ b/src/mame/includes/huebler.h
@@ -22,7 +22,7 @@
class amu880_state : public driver_device
{
public:
- amu880_state(const machine_config &mconfig, device_type type, const char *tag)
+ amu880_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cassette(*this, "cassette"),
m_z80sio(*this, Z80SIO_TAG),
diff --git a/src/mame/includes/hx20.h b/src/mame/includes/hx20.h
index 8f7ab801e0d..52c33b6d64f 100644
--- a/src/mame/includes/hx20.h
+++ b/src/mame/includes/hx20.h
@@ -32,7 +32,7 @@
class hx20_state : public driver_device
{
public:
- hx20_state(const machine_config &mconfig, device_type type, const char *tag)
+ hx20_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, HD6301V1_MAIN_TAG),
m_subcpu(*this, HD6301V1_SLAVE_TAG),
diff --git a/src/mame/includes/hyhoo.h b/src/mame/includes/hyhoo.h
index 4b0d2c520b9..3ced5525000 100644
--- a/src/mame/includes/hyhoo.h
+++ b/src/mame/includes/hyhoo.h
@@ -10,7 +10,7 @@ public:
TIMER_BLITTER
};
- hyhoo_state(const machine_config &mconfig, device_type type, const char *tag)
+ hyhoo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_nb1413m3(*this, "nb1413m3"),
diff --git a/src/mame/includes/hyperspt.h b/src/mame/includes/hyperspt.h
index 0e4b848de5a..fde19f07fd2 100644
--- a/src/mame/includes/hyperspt.h
+++ b/src/mame/includes/hyperspt.h
@@ -7,7 +7,7 @@
class hyperspt_state : public driver_device
{
public:
- hyperspt_state(const machine_config &mconfig, device_type type, const char *tag)
+ hyperspt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_scroll(*this, "scroll"),
diff --git a/src/mame/includes/hyprduel.h b/src/mame/includes/hyprduel.h
index f037f61c555..a3d8f3bd26b 100644
--- a/src/mame/includes/hyprduel.h
+++ b/src/mame/includes/hyprduel.h
@@ -7,7 +7,7 @@
class hyprduel_state : public driver_device
{
public:
- hyprduel_state(const machine_config &mconfig, device_type type, const char *tag)
+ hyprduel_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vram_0(*this, "vram_0"),
m_vram_1(*this, "vram_1"),
diff --git a/src/mame/includes/ikki.h b/src/mame/includes/ikki.h
index bfd7039db1a..bfa58940759 100644
--- a/src/mame/includes/ikki.h
+++ b/src/mame/includes/ikki.h
@@ -9,7 +9,7 @@
class ikki_state : public driver_device
{
public:
- ikki_state(const machine_config &mconfig, device_type type, const char *tag)
+ ikki_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/includes/imds2.h b/src/mame/includes/imds2.h
index c5e93b4f9bd..8e7192063df 100644
--- a/src/mame/includes/imds2.h
+++ b/src/mame/includes/imds2.h
@@ -22,7 +22,7 @@
class imds2_state : public driver_device
{
public:
- imds2_state(const machine_config &mconfig, device_type type, const char *tag);
+ imds2_state(const machine_config &mconfig, device_type type, std::string tag);
DECLARE_READ8_MEMBER(ipc_mem_read);
DECLARE_WRITE8_MEMBER(ipc_mem_write);
diff --git a/src/mame/includes/intv.h b/src/mame/includes/intv.h
index 7f14c7fb55a..1ef652f1aa4 100644
--- a/src/mame/includes/intv.h
+++ b/src/mame/includes/intv.h
@@ -30,7 +30,7 @@ public:
TIMER_INTV_BTB_FILL
};
- intv_state(const machine_config &mconfig, device_type type, const char *tag)
+ intv_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_sound(*this, "ay8914"),
diff --git a/src/mame/includes/inufuku.h b/src/mame/includes/inufuku.h
index 24ed3325158..5a59cb9a2a9 100644
--- a/src/mame/includes/inufuku.h
+++ b/src/mame/includes/inufuku.h
@@ -4,7 +4,7 @@
class inufuku_state : public driver_device
{
public:
- inufuku_state(const machine_config &mconfig, device_type type, const char *tag)
+ inufuku_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bg_videoram(*this, "bg_videoram"),
m_bg_rasterram(*this, "bg_rasterram"),
diff --git a/src/mame/includes/iqblock.h b/src/mame/includes/iqblock.h
index be63ef229b1..0b2d2726768 100644
--- a/src/mame/includes/iqblock.h
+++ b/src/mame/includes/iqblock.h
@@ -3,7 +3,7 @@
class iqblock_state : public driver_device
{
public:
- iqblock_state(const machine_config &mconfig, device_type type, const char *tag)
+ iqblock_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/irobot.h b/src/mame/includes/irobot.h
index a2fc05d6fea..9a33d824006 100644
--- a/src/mame/includes/irobot.h
+++ b/src/mame/includes/irobot.h
@@ -26,7 +26,7 @@ struct irmb_ops
class irobot_state : public driver_device
{
public:
- irobot_state(const machine_config &mconfig, device_type type, const char *tag)
+ irobot_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_nvram(*this, "nvram") ,
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/ironhors.h b/src/mame/includes/ironhors.h
index b0c78ebf6e3..c731696a0d1 100644
--- a/src/mame/includes/ironhors.h
+++ b/src/mame/includes/ironhors.h
@@ -9,7 +9,7 @@
class ironhors_state : public driver_device
{
public:
- ironhors_state(const machine_config &mconfig, device_type type, const char *tag)
+ ironhors_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/itech32.h b/src/mame/includes/itech32.h
index 3c7be2530f1..04fd43bdcf1 100644
--- a/src/mame/includes/itech32.h
+++ b/src/mame/includes/itech32.h
@@ -19,7 +19,7 @@
class itech32_state : public driver_device
{
public:
- itech32_state(const machine_config &mconfig, device_type type, const char *tag)
+ itech32_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_main_ram(*this, "main_ram", 0),
m_nvram(*this, "nvram", 0),
@@ -167,7 +167,7 @@ public:
inline offs_t compute_safe_address(int x, int y);
inline void disable_clipping();
inline void enable_clipping();
- void logblit(const char *tag);
+ void logblit(std::string tag);
void update_interrupts(int fast);
void draw_raw(UINT16 *base, UINT16 color);
void draw_raw_drivedge(UINT16 *base, UINT16 *zbase, UINT16 color);
diff --git a/src/mame/includes/itech8.h b/src/mame/includes/itech8.h
index 2e35ffd95ad..5ea16f0bd3f 100644
--- a/src/mame/includes/itech8.h
+++ b/src/mame/includes/itech8.h
@@ -16,7 +16,7 @@
class itech8_state : public driver_device
{
public:
- itech8_state(const machine_config &mconfig, device_type type, const char *tag)
+ itech8_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/jack.h b/src/mame/includes/jack.h
index c3292723845..f9d4d0a99d0 100644
--- a/src/mame/includes/jack.h
+++ b/src/mame/includes/jack.h
@@ -9,7 +9,7 @@
class jack_state : public driver_device
{
public:
- jack_state(const machine_config &mconfig, device_type type, const char *tag)
+ jack_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/jackal.h b/src/mame/includes/jackal.h
index 84f1da6eebe..fffdb19875c 100644
--- a/src/mame/includes/jackal.h
+++ b/src/mame/includes/jackal.h
@@ -9,7 +9,7 @@
class jackal_state : public driver_device
{
public:
- jackal_state(const machine_config &mconfig, device_type type, const char *tag)
+ jackal_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoctrl(*this, "videoctrl"),
m_mastercpu(*this, "master"),
diff --git a/src/mame/includes/jaguar.h b/src/mame/includes/jaguar.h
index cbee2eafd21..dcd43a32598 100644
--- a/src/mame/includes/jaguar.h
+++ b/src/mame/includes/jaguar.h
@@ -27,7 +27,7 @@
class jaguar_state : public driver_device
{
public:
- jaguar_state(const machine_config &mconfig, device_type type, const char *tag)
+ jaguar_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gpu(*this, "gpu"),
diff --git a/src/mame/includes/jailbrek.h b/src/mame/includes/jailbrek.h
index 2a191f5360b..c7cb3bcaf6c 100644
--- a/src/mame/includes/jailbrek.h
+++ b/src/mame/includes/jailbrek.h
@@ -14,7 +14,7 @@
class jailbrek_state : public driver_device
{
public:
- jailbrek_state(const machine_config &mconfig, device_type type, const char *tag)
+ jailbrek_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_colorram(*this, "colorram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/jedi.h b/src/mame/includes/jedi.h
index a5f233a283c..96b82650351 100644
--- a/src/mame/includes/jedi.h
+++ b/src/mame/includes/jedi.h
@@ -19,7 +19,7 @@
class jedi_state : public driver_device
{
public:
- jedi_state(const machine_config &mconfig, device_type type, const char *tag)
+ jedi_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_nvram(*this, "nvram") ,
m_foreground_bank(*this, "foreground_bank"),
diff --git a/src/mame/includes/jpmimpct.h b/src/mame/includes/jpmimpct.h
index 8be7a680e5a..b6cfa133088 100644
--- a/src/mame/includes/jpmimpct.h
+++ b/src/mame/includes/jpmimpct.h
@@ -59,7 +59,7 @@ struct bt477_t
class jpmimpct_state : public driver_device
{
public:
- jpmimpct_state(const machine_config &mconfig, device_type type, const char *tag)
+ jpmimpct_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vfd(*this, "vfd"),
m_vram(*this, "vram") ,
diff --git a/src/mame/includes/jpmsys5.h b/src/mame/includes/jpmsys5.h
index d63877f4aba..16eaedcadc2 100644
--- a/src/mame/includes/jpmsys5.h
+++ b/src/mame/includes/jpmsys5.h
@@ -17,7 +17,7 @@
class jpmsys5_state : public driver_device
{
public:
- jpmsys5_state(const machine_config &mconfig, device_type type, const char *tag) :
+ jpmsys5_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_acia6850_0(*this, "acia6850_0"),
diff --git a/src/mame/includes/jupiter.h b/src/mame/includes/jupiter.h
index ad89bc97a82..71643260d60 100644
--- a/src/mame/includes/jupiter.h
+++ b/src/mame/includes/jupiter.h
@@ -16,7 +16,7 @@
class jupiter2_state : public driver_device
{
public:
- jupiter2_state(const machine_config &mconfig, device_type type, const char *tag)
+ jupiter2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, MCM6571AP_TAG)
{ }
@@ -30,7 +30,7 @@ public:
class jupiter3_state : public driver_device
{
public:
- jupiter3_state(const machine_config &mconfig, device_type type, const char *tag)
+ jupiter3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_p_videoram(*this, "p_videoram"),
diff --git a/src/mame/includes/kaneko16.h b/src/mame/includes/kaneko16.h
index cc8ae0ed4dd..422832ded6b 100644
--- a/src/mame/includes/kaneko16.h
+++ b/src/mame/includes/kaneko16.h
@@ -23,7 +23,7 @@
class kaneko16_state : public driver_device
{
public:
- kaneko16_state(const machine_config &mconfig, device_type type, const char *tag)
+ kaneko16_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
@@ -98,7 +98,7 @@ public:
template<class _BitmapClass>
void kaneko16_fill_bitmap(palette_device* palette, _BitmapClass &bitmap, const rectangle &cliprect);
- void kaneko16_common_oki_bank_w( const char *bankname, const char* tag, int bank, size_t fixedsize, size_t bankedsize );
+ void kaneko16_common_oki_bank_w( const char *bankname, std::string tag, int bank, size_t fixedsize, size_t bankedsize );
void kaneko16_unscramble_tiles(const char *region);
void kaneko16_expand_sample_banks(const char *region);
};
@@ -106,7 +106,7 @@ public:
class kaneko16_gtmr_state : public kaneko16_state
{
public:
- kaneko16_gtmr_state(const machine_config &mconfig, device_type type, const char *tag)
+ kaneko16_gtmr_state(const machine_config &mconfig, device_type type, std::string tag)
: kaneko16_state(mconfig, type, tag)
{
}
@@ -130,7 +130,7 @@ public:
class kaneko16_berlwall_state : public kaneko16_state
{
public:
- kaneko16_berlwall_state(const machine_config &mconfig, device_type type, const char *tag)
+ kaneko16_berlwall_state(const machine_config &mconfig, device_type type, std::string tag)
: kaneko16_state(mconfig, type, tag),
m_bg15_select(*this, "bg15_select"),
m_bg15_scroll(*this, "bg15_scroll"),
@@ -170,7 +170,7 @@ public:
class kaneko16_shogwarr_state : public kaneko16_state
{
public:
- kaneko16_shogwarr_state(const machine_config &mconfig, device_type type, const char *tag)
+ kaneko16_shogwarr_state(const machine_config &mconfig, device_type type, std::string tag)
: kaneko16_state(mconfig, type, tag),
m_calc3_prot(*this, "calc3_prot")
{
diff --git a/src/mame/includes/kangaroo.h b/src/mame/includes/kangaroo.h
index 2b73a14c28e..c7003cdee97 100644
--- a/src/mame/includes/kangaroo.h
+++ b/src/mame/includes/kangaroo.h
@@ -11,7 +11,7 @@
class kangaroo_state : public driver_device
{
public:
- kangaroo_state(const machine_config &mconfig, device_type type, const char *tag)
+ kangaroo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_video_control(*this, "video_control"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/karnov.h b/src/mame/includes/karnov.h
index 12d44893b99..24b767f2299 100644
--- a/src/mame/includes/karnov.h
+++ b/src/mame/includes/karnov.h
@@ -12,7 +12,7 @@
class karnov_state : public driver_device
{
public:
- karnov_state(const machine_config &mconfig, device_type type, const char *tag)
+ karnov_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/kaypro.h b/src/mame/includes/kaypro.h
index f2b5cc3df29..f30c5d76469 100644
--- a/src/mame/includes/kaypro.h
+++ b/src/mame/includes/kaypro.h
@@ -22,7 +22,7 @@ public:
TIMER_FLOPPY
};
- kaypro_state(const machine_config &mconfig, device_type type, const char *tag)
+ kaypro_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_palette(*this, "palette")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/includes/kc.h b/src/mame/includes/kc.h
index 65af7aeedb7..69d400e609b 100644
--- a/src/mame/includes/kc.h
+++ b/src/mame/includes/kc.h
@@ -57,7 +57,7 @@
class kc_state : public driver_device
{
public:
- kc_state(const machine_config &mconfig, device_type type, const char *tag)
+ kc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_z80pio(*this, "z80pio"),
@@ -158,7 +158,7 @@ public:
class kc85_4_state : public kc_state
{
public:
- kc85_4_state(const machine_config &mconfig, device_type type, const char *tag)
+ kc85_4_state(const machine_config &mconfig, device_type type, std::string tag)
: kc_state(mconfig, type, tag)
{ }
diff --git a/src/mame/includes/kchamp.h b/src/mame/includes/kchamp.h
index eec986424d7..56697036e51 100644
--- a/src/mame/includes/kchamp.h
+++ b/src/mame/includes/kchamp.h
@@ -10,7 +10,7 @@
class kchamp_state : public driver_device
{
public:
- kchamp_state(const machine_config &mconfig, device_type type, const char *tag)
+ kchamp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/kickgoal.h b/src/mame/includes/kickgoal.h
index 94ddc5d3bd9..a475b5d3722 100644
--- a/src/mame/includes/kickgoal.h
+++ b/src/mame/includes/kickgoal.h
@@ -12,7 +12,7 @@
class kickgoal_state : public driver_device
{
public:
- kickgoal_state(const machine_config &mconfig, device_type type, const char *tag)
+ kickgoal_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fgram(*this, "fgram"),
m_bgram(*this, "bgram"),
diff --git a/src/mame/includes/kingobox.h b/src/mame/includes/kingobox.h
index 9a7ee062627..ae1cd7cd16a 100644
--- a/src/mame/includes/kingobox.h
+++ b/src/mame/includes/kingobox.h
@@ -9,7 +9,7 @@
class kingofb_state : public driver_device
{
public:
- kingofb_state(const machine_config &mconfig, device_type type, const char *tag)
+ kingofb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_scroll_y(*this, "scroll_y"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/klax.h b/src/mame/includes/klax.h
index d94cccd0714..f9aeb7492df 100644
--- a/src/mame/includes/klax.h
+++ b/src/mame/includes/klax.h
@@ -12,7 +12,7 @@
class klax_state : public atarigen_state
{
public:
- klax_state(const machine_config &mconfig, device_type type, const char *tag)
+ klax_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_playfield_tilemap(*this, "playfield"),
m_mob(*this, "mob") { }
diff --git a/src/mame/includes/kncljoe.h b/src/mame/includes/kncljoe.h
index cafa96ed3da..70db30803b1 100644
--- a/src/mame/includes/kncljoe.h
+++ b/src/mame/includes/kncljoe.h
@@ -9,7 +9,7 @@
class kncljoe_state : public driver_device
{
public:
- kncljoe_state(const machine_config &mconfig, device_type type, const char *tag)
+ kncljoe_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_scrollregs(*this, "scrollregs"),
diff --git a/src/mame/includes/konamigx.h b/src/mame/includes/konamigx.h
index f5ee6f795d5..06f8de401ff 100644
--- a/src/mame/includes/konamigx.h
+++ b/src/mame/includes/konamigx.h
@@ -14,7 +14,7 @@
class konamigx_state : public driver_device
{
public:
- konamigx_state(const machine_config &mconfig, device_type type, const char *tag)
+ konamigx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/kopunch.h b/src/mame/includes/kopunch.h
index 3d0e6d0fce3..87a197b3b25 100644
--- a/src/mame/includes/kopunch.h
+++ b/src/mame/includes/kopunch.h
@@ -9,7 +9,7 @@
class kopunch_state : public driver_device
{
public:
- kopunch_state(const machine_config &mconfig, device_type type, const char *tag)
+ kopunch_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/kramermc.h b/src/mame/includes/kramermc.h
index 7a0dbd6020e..e9b31d20bef 100644
--- a/src/mame/includes/kramermc.h
+++ b/src/mame/includes/kramermc.h
@@ -14,7 +14,7 @@
class kramermc_state : public driver_device
{
public:
- kramermc_state(const machine_config &mconfig, device_type type, const char *tag)
+ kramermc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/ksayakyu.h b/src/mame/includes/ksayakyu.h
index 0f6873d8e7a..df22a15e076 100644
--- a/src/mame/includes/ksayakyu.h
+++ b/src/mame/includes/ksayakyu.h
@@ -9,7 +9,7 @@
class ksayakyu_state : public driver_device
{
public:
- ksayakyu_state(const machine_config &mconfig, device_type type, const char *tag)
+ ksayakyu_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/kyocera.h b/src/mame/includes/kyocera.h
index 43a1c835670..b642c03b206 100644
--- a/src/mame/includes/kyocera.h
+++ b/src/mame/includes/kyocera.h
@@ -55,7 +55,7 @@
class kc85_state : public driver_device
{
public:
- kc85_state(const machine_config &mconfig, device_type type, const char *tag)
+ kc85_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, I8085_TAG),
m_rtc(*this, UPD1990A_TAG),
@@ -160,7 +160,7 @@ public:
class trsm100_state : public kc85_state
{
public:
- trsm100_state(const machine_config &mconfig, device_type type, const char *tag)
+ trsm100_state(const machine_config &mconfig, device_type type, std::string tag)
: kc85_state(mconfig, type, tag) { }
virtual void machine_start() override;
@@ -169,7 +169,7 @@ public:
class pc8201_state : public kc85_state
{
public:
- pc8201_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc8201_state(const machine_config &mconfig, device_type type, std::string tag)
: kc85_state(mconfig, type, tag),
m_cas_cart(*this, "cas_cartslot")
{ }
@@ -199,7 +199,7 @@ public:
class tandy200_state : public driver_device
{
public:
- tandy200_state(const machine_config &mconfig, device_type type, const char *tag)
+ tandy200_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, I8085_TAG),
m_rtc(*this, RP5C01A_TAG),
diff --git a/src/mame/includes/kyugo.h b/src/mame/includes/kyugo.h
index 3c3b113c1d9..bda0de526c6 100644
--- a/src/mame/includes/kyugo.h
+++ b/src/mame/includes/kyugo.h
@@ -9,7 +9,7 @@
class kyugo_state : public driver_device
{
public:
- kyugo_state(const machine_config &mconfig, device_type type, const char *tag)
+ kyugo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fgvideoram(*this, "fgvideoram"),
m_bgvideoram(*this, "bgvideoram"),
diff --git a/src/mame/includes/labyrunr.h b/src/mame/includes/labyrunr.h
index 092b28a7503..e614f052311 100644
--- a/src/mame/includes/labyrunr.h
+++ b/src/mame/includes/labyrunr.h
@@ -12,7 +12,7 @@
class labyrunr_state : public driver_device
{
public:
- labyrunr_state(const machine_config &mconfig, device_type type, const char *tag)
+ labyrunr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_k007121(*this, "k007121"),
m_maincpu(*this,"maincpu"),
diff --git a/src/mame/includes/ladybug.h b/src/mame/includes/ladybug.h
index 8b7308edf5c..42481ba3d48 100644
--- a/src/mame/includes/ladybug.h
+++ b/src/mame/includes/ladybug.h
@@ -11,7 +11,7 @@
class ladybug_state : public driver_device
{
public:
- ladybug_state(const machine_config &mconfig, device_type type, const char *tag)
+ ladybug_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/ladyfrog.h b/src/mame/includes/ladyfrog.h
index 39114c577dd..e75ae0b9185 100644
--- a/src/mame/includes/ladyfrog.h
+++ b/src/mame/includes/ladyfrog.h
@@ -11,7 +11,7 @@
class ladyfrog_state : public driver_device
{
public:
- ladyfrog_state(const machine_config &mconfig, device_type type, const char *tag)
+ ladyfrog_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_scrlram(*this, "scrlram"),
diff --git a/src/mame/includes/laserbat.h b/src/mame/includes/laserbat.h
index f50cd4e1bd9..901f100b070 100644
--- a/src/mame/includes/laserbat.h
+++ b/src/mame/includes/laserbat.h
@@ -19,7 +19,7 @@ class laserbat_state_base : public driver_device
{
public:
- laserbat_state_base(const machine_config &mconfig, device_type type, const char *tag)
+ laserbat_state_base(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_row0(*this, "ROW0")
, m_row1(*this, "ROW1")
@@ -153,7 +153,7 @@ protected:
class laserbat_state : public laserbat_state_base
{
public:
- laserbat_state(const machine_config &mconfig, device_type type, const char *tag)
+ laserbat_state(const machine_config &mconfig, device_type type, std::string tag)
: laserbat_state_base(mconfig, type, tag)
, m_csg(*this, "csg")
, m_synth_low(*this, "synth_low")
@@ -183,7 +183,7 @@ protected:
class catnmous_state : public laserbat_state_base
{
public:
- catnmous_state(const machine_config &mconfig, device_type type, const char *tag)
+ catnmous_state(const machine_config &mconfig, device_type type, std::string tag)
: laserbat_state_base(mconfig, type, tag)
, m_audiocpu(*this, "audiocpu")
, m_pia(*this, "pia")
diff --git a/src/mame/includes/lasso.h b/src/mame/includes/lasso.h
index 617f03aeba9..1a00c99109f 100644
--- a/src/mame/includes/lasso.h
+++ b/src/mame/includes/lasso.h
@@ -11,7 +11,7 @@
class lasso_state : public driver_device
{
public:
- lasso_state(const machine_config &mconfig, device_type type, const char *tag)
+ lasso_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/lastduel.h b/src/mame/includes/lastduel.h
index 615bafd2a8d..48f4fa7b071 100644
--- a/src/mame/includes/lastduel.h
+++ b/src/mame/includes/lastduel.h
@@ -11,7 +11,7 @@
class lastduel_state : public driver_device
{
public:
- lastduel_state(const machine_config &mconfig, device_type type, const char *tag)
+ lastduel_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/lazercmd.h b/src/mame/includes/lazercmd.h
index 58134751943..34d952de1b1 100644
--- a/src/mame/includes/lazercmd.h
+++ b/src/mame/includes/lazercmd.h
@@ -25,7 +25,7 @@
class lazercmd_state : public driver_device
{
public:
- lazercmd_state(const machine_config &mconfig, device_type type, const char *tag)
+ lazercmd_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac(*this, "dac"),
diff --git a/src/mame/includes/lc80.h b/src/mame/includes/lc80.h
index 36788b37f00..6f7306b8a8f 100644
--- a/src/mame/includes/lc80.h
+++ b/src/mame/includes/lc80.h
@@ -23,7 +23,7 @@
class lc80_state : public driver_device
{
public:
- lc80_state(const machine_config &mconfig, device_type type, const char *tag)
+ lc80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_pio2(*this, Z80PIO2_TAG),
diff --git a/src/mame/includes/legionna.h b/src/mame/includes/legionna.h
index 456c28508e1..2bb5e29906f 100644
--- a/src/mame/includes/legionna.h
+++ b/src/mame/includes/legionna.h
@@ -8,7 +8,7 @@
class legionna_state : public driver_device
{
public:
- legionna_state(const machine_config &mconfig, device_type type, const char *tag)
+ legionna_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
/*m_back_data(*this, "back_data"),
diff --git a/src/mame/includes/leland.h b/src/mame/includes/leland.h
index ab2133cef3b..c0b2a5dbdfc 100644
--- a/src/mame/includes/leland.h
+++ b/src/mame/includes/leland.h
@@ -27,7 +27,7 @@ class leland_80186_sound_device;
class leland_state : public driver_device
{
public:
- leland_state(const machine_config &mconfig, device_type type, const char *tag)
+ leland_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_master(*this, "master"),
m_slave(*this, "slave"),
@@ -210,8 +210,8 @@ public:
class leland_80186_sound_device : public device_t
{
public:
- leland_80186_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- leland_80186_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ leland_80186_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ leland_80186_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
virtual machine_config_constructor device_mconfig_additions() const override;
DECLARE_WRITE16_MEMBER(peripheral_ctrl);
@@ -284,7 +284,7 @@ extern const device_type LELAND_80186;
class redline_80186_sound_device : public leland_80186_sound_device
{
public:
- redline_80186_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ redline_80186_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_WRITE16_MEMBER(redline_dac_w);
virtual machine_config_constructor device_mconfig_additions() const override;
};
@@ -294,7 +294,7 @@ extern const device_type REDLINE_80186;
class ataxx_80186_sound_device : public leland_80186_sound_device
{
public:
- ataxx_80186_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ataxx_80186_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual machine_config_constructor device_mconfig_additions() const override;
};
@@ -303,7 +303,7 @@ extern const device_type ATAXX_80186;
class wsf_80186_sound_device : public leland_80186_sound_device
{
public:
- wsf_80186_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ wsf_80186_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual machine_config_constructor device_mconfig_additions() const override;
};
diff --git a/src/mame/includes/lemmings.h b/src/mame/includes/lemmings.h
index 2e91c0d7250..ebe68cbe291 100644
--- a/src/mame/includes/lemmings.h
+++ b/src/mame/includes/lemmings.h
@@ -7,7 +7,7 @@
class lemmings_state : public driver_device
{
public:
- lemmings_state(const machine_config &mconfig, device_type type, const char *tag)
+ lemmings_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bitmap0(2048, 256),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/lethal.h b/src/mame/includes/lethal.h
index f53c540f38d..adeeaa06841 100644
--- a/src/mame/includes/lethal.h
+++ b/src/mame/includes/lethal.h
@@ -16,7 +16,7 @@
class lethal_state : public driver_device
{
public:
- lethal_state(const machine_config &mconfig, device_type type, const char *tag)
+ lethal_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/lethalj.h b/src/mame/includes/lethalj.h
index eb501e82122..c2f54d4ed02 100644
--- a/src/mame/includes/lethalj.h
+++ b/src/mame/includes/lethalj.h
@@ -17,7 +17,7 @@ public:
TIMER_GEN_EXT1_INT
};
- lethalj_state(const machine_config &mconfig, device_type type, const char *tag)
+ lethalj_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_screen(*this, "screen"),
diff --git a/src/mame/includes/liberate.h b/src/mame/includes/liberate.h
index c57acc02391..1ef009a4388 100644
--- a/src/mame/includes/liberate.h
+++ b/src/mame/includes/liberate.h
@@ -3,7 +3,7 @@
class liberate_state : public driver_device
{
public:
- liberate_state(const machine_config &mconfig, device_type type, const char *tag)
+ liberate_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bg_vram(*this, "bg_vram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/liberatr.h b/src/mame/includes/liberatr.h
index 39e3c11b967..871fe96ff96 100644
--- a/src/mame/includes/liberatr.h
+++ b/src/mame/includes/liberatr.h
@@ -13,7 +13,7 @@
class liberatr_state : public atarigen_state
{
public:
- liberatr_state(const machine_config &mconfig, device_type type, const char *tag)
+ liberatr_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_base_ram(*this, "base_ram"),
m_planet_frame(*this, "planet_frame"),
diff --git a/src/mame/includes/lisa.h b/src/mame/includes/lisa.h
index f359191d605..0c7db6081e2 100644
--- a/src/mame/includes/lisa.h
+++ b/src/mame/includes/lisa.h
@@ -101,7 +101,7 @@ struct lisa_features_t
class lisa_state : public driver_device
{
public:
- lisa_state(const machine_config &mconfig, device_type type, const char *tag)
+ lisa_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_via0(*this, "via6522_0"),
diff --git a/src/mame/includes/lkage.h b/src/mame/includes/lkage.h
index 863e84b1f5e..fc87e89b2cc 100644
--- a/src/mame/includes/lkage.h
+++ b/src/mame/includes/lkage.h
@@ -4,7 +4,7 @@
class lkage_state : public driver_device
{
public:
- lkage_state(const machine_config &mconfig, device_type type, const char *tag)
+ lkage_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vreg(*this, "vreg"),
m_scroll(*this, "scroll"),
diff --git a/src/mame/includes/llc.h b/src/mame/includes/llc.h
index e74bf7f5acc..f79d0245c6a 100644
--- a/src/mame/includes/llc.h
+++ b/src/mame/includes/llc.h
@@ -21,7 +21,7 @@
class llc_state : public driver_device
{
public:
- llc_state(const machine_config &mconfig, device_type type, const char *tag)
+ llc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_speaker(*this, "speaker"),
m_p_videoram(*this, "videoram"),
diff --git a/src/mame/includes/lockon.h b/src/mame/includes/lockon.h
index 86407bd3671..83e2df256f3 100644
--- a/src/mame/includes/lockon.h
+++ b/src/mame/includes/lockon.h
@@ -22,7 +22,7 @@
class lockon_state : public driver_device
{
public:
- lockon_state(const machine_config &mconfig, device_type type, const char *tag)
+ lockon_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_char_ram(*this, "char_ram"),
m_hud_ram(*this, "hud_ram"),
diff --git a/src/mame/includes/lordgun.h b/src/mame/includes/lordgun.h
index fbc1b57227e..9dd8826ffea 100644
--- a/src/mame/includes/lordgun.h
+++ b/src/mame/includes/lordgun.h
@@ -17,7 +17,7 @@ struct lordgun_gun_data
class lordgun_state : public driver_device
{
public:
- lordgun_state(const machine_config &mconfig, device_type type, const char *tag)
+ lordgun_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/lsasquad.h b/src/mame/includes/lsasquad.h
index 17f4c2faf16..adeafdb133d 100644
--- a/src/mame/includes/lsasquad.h
+++ b/src/mame/includes/lsasquad.h
@@ -4,7 +4,7 @@
class lsasquad_state : public driver_device
{
public:
- lsasquad_state(const machine_config &mconfig, device_type type, const char *tag)
+ lsasquad_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_scrollram(*this, "scrollram"),
diff --git a/src/mame/includes/lucky74.h b/src/mame/includes/lucky74.h
index 64f2e25322e..763c0c1f48c 100644
--- a/src/mame/includes/lucky74.h
+++ b/src/mame/includes/lucky74.h
@@ -5,7 +5,7 @@
class lucky74_state : public driver_device
{
public:
- lucky74_state(const machine_config &mconfig, device_type type, const char *tag)
+ lucky74_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fg_videoram(*this, "fg_videoram"),
m_fg_colorram(*this, "fg_colorram"),
diff --git a/src/mame/includes/lvcards.h b/src/mame/includes/lvcards.h
index 851559d18bb..bd24205ae11 100644
--- a/src/mame/includes/lvcards.h
+++ b/src/mame/includes/lvcards.h
@@ -3,7 +3,7 @@
class lvcards_state : public driver_device
{
public:
- lvcards_state(const machine_config &mconfig, device_type type, const char *tag)
+ lvcards_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/lviv.h b/src/mame/includes/lviv.h
index f0634fc237d..a1f387223c3 100644
--- a/src/mame/includes/lviv.h
+++ b/src/mame/includes/lviv.h
@@ -18,7 +18,7 @@
class lviv_state : public driver_device
{
public:
- lviv_state(const machine_config &mconfig, device_type type, const char *tag)
+ lviv_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker"),
diff --git a/src/mame/includes/lwings.h b/src/mame/includes/lwings.h
index 6a7dedb889c..0c9f08dfd47 100644
--- a/src/mame/includes/lwings.h
+++ b/src/mame/includes/lwings.h
@@ -6,7 +6,7 @@
class lwings_state : public driver_device
{
public:
- lwings_state(const machine_config &mconfig, device_type type, const char *tag)
+ lwings_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram") ,
m_fgvideoram(*this, "fgvideoram"),
diff --git a/src/mame/includes/lynx.h b/src/mame/includes/lynx.h
index f11b34bd69f..61cf1efd015 100644
--- a/src/mame/includes/lynx.h
+++ b/src/mame/includes/lynx.h
@@ -106,7 +106,7 @@ public:
TIMER_UART
};
- lynx_state(const machine_config &mconfig, device_type type, const char *tag)
+ lynx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mem_0000(*this, "mem_0000"),
m_mem_fc00(*this, "mem_fc00"),
diff --git a/src/mame/includes/m10.h b/src/mame/includes/m10.h
index 7f9ff1a4557..d5e403e4343 100644
--- a/src/mame/includes/m10.h
+++ b/src/mame/includes/m10.h
@@ -39,7 +39,7 @@ public:
TIMER_INTERRUPT
};
- m10_state(const machine_config &mconfig, device_type type, const char *tag)
+ m10_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_memory(*this, "memory"),
m_rom(*this, "rom"),
diff --git a/src/mame/includes/m107.h b/src/mame/includes/m107.h
index f34df43c638..cd50e8c0a15 100644
--- a/src/mame/includes/m107.h
+++ b/src/mame/includes/m107.h
@@ -17,7 +17,7 @@ struct pf_layer_info
class m107_state : public driver_device
{
public:
- m107_state(const machine_config &mconfig, device_type type, const char *tag)
+ m107_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/m5.h b/src/mame/includes/m5.h
index 7ba55be8172..bedd52c0940 100644
--- a/src/mame/includes/m5.h
+++ b/src/mame/includes/m5.h
@@ -19,7 +19,7 @@
class m5_state : public driver_device
{
public:
- m5_state(const machine_config &mconfig, device_type type, const char *tag)
+ m5_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_fd5cpu(*this, Z80_FD5_TAG),
diff --git a/src/mame/includes/m52.h b/src/mame/includes/m52.h
index d1efe7dc698..1564cd64f57 100644
--- a/src/mame/includes/m52.h
+++ b/src/mame/includes/m52.h
@@ -3,7 +3,7 @@
class m52_state : public driver_device
{
public:
- m52_state(const machine_config &mconfig, device_type type, const char *tag)
+ m52_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/m57.h b/src/mame/includes/m57.h
index c54442ee974..43fa6483ebb 100644
--- a/src/mame/includes/m57.h
+++ b/src/mame/includes/m57.h
@@ -3,7 +3,7 @@
class m57_state : public driver_device
{
public:
- m57_state(const machine_config &mconfig, device_type type, const char *tag)
+ m57_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_scrollram(*this, "scrollram"),
diff --git a/src/mame/includes/m58.h b/src/mame/includes/m58.h
index 6254d3e86d5..e47aaa9ab05 100644
--- a/src/mame/includes/m58.h
+++ b/src/mame/includes/m58.h
@@ -4,7 +4,7 @@
class m58_state : public driver_device
{
public:
- m58_state(const machine_config &mconfig, device_type type, const char *tag)
+ m58_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/m62.h b/src/mame/includes/m62.h
index 40d09120cab..e5dfeb2b4e6 100644
--- a/src/mame/includes/m62.h
+++ b/src/mame/includes/m62.h
@@ -6,7 +6,7 @@
class m62_state : public driver_device
{
public:
- m62_state(const machine_config &mconfig, device_type type, const char *tag)
+ m62_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_m62_tileram(*this, "m62_tileram"),
diff --git a/src/mame/includes/m72.h b/src/mame/includes/m72.h
index 29afaea26c7..3966d25f6ad 100644
--- a/src/mame/includes/m72.h
+++ b/src/mame/includes/m72.h
@@ -24,7 +24,7 @@
class m72_state : public driver_device
{
public:
- m72_state(const machine_config &mconfig, device_type type, const char *tag)
+ m72_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/m79amb.h b/src/mame/includes/m79amb.h
index 22574023cf5..46024b05624 100644
--- a/src/mame/includes/m79amb.h
+++ b/src/mame/includes/m79amb.h
@@ -5,7 +5,7 @@
class m79amb_state : public driver_device
{
public:
- m79amb_state(const machine_config &mconfig, device_type type, const char *tag)
+ m79amb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_mask(*this, "mask"),
diff --git a/src/mame/includes/m90.h b/src/mame/includes/m90.h
index 20412db5fe2..a5926e06189 100644
--- a/src/mame/includes/m90.h
+++ b/src/mame/includes/m90.h
@@ -5,7 +5,7 @@
class m90_state : public driver_device
{
public:
- m90_state(const machine_config &mconfig, device_type type, const char *tag)
+ m90_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_video_data(*this, "video_data"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/m92.h b/src/mame/includes/m92.h
index ceff8595f12..37246141a96 100644
--- a/src/mame/includes/m92.h
+++ b/src/mame/includes/m92.h
@@ -26,7 +26,7 @@ public:
TIMER_SPRITEBUFFER
};
- m92_state(const machine_config &mconfig, device_type type, const char *tag)
+ m92_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_vram_data(*this, "vram_data"),
diff --git a/src/mame/includes/mac.h b/src/mame/includes/mac.h
index 8b093993abc..18fba9b90c0 100644
--- a/src/mame/includes/mac.h
+++ b/src/mame/includes/mac.h
@@ -151,7 +151,7 @@ class mac_sound_device : public device_t,
public device_sound_interface
{
public:
- mac_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ mac_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~mac_sound_device() {}
void enable_sound(int on);
@@ -190,7 +190,7 @@ extern const device_type MAC_SOUND;
class mac_state : public driver_device
{
public:
- mac_state(const machine_config &mconfig, device_type type, const char *tag)
+ mac_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_via1(*this, "via6522_0"),
diff --git a/src/mame/includes/macpci.h b/src/mame/includes/macpci.h
index 5494942a6d2..e42790a90dd 100644
--- a/src/mame/includes/macpci.h
+++ b/src/mame/includes/macpci.h
@@ -76,7 +76,7 @@ enum model_t
class macpci_state : public driver_device
{
public:
- macpci_state(const machine_config &mconfig, device_type type, const char *tag)
+ macpci_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_via1(*this, "via6522_0"),
diff --git a/src/mame/includes/macrossp.h b/src/mame/includes/macrossp.h
index ffcbb5e89f5..d578e07af15 100644
--- a/src/mame/includes/macrossp.h
+++ b/src/mame/includes/macrossp.h
@@ -9,7 +9,7 @@
class macrossp_state : public driver_device
{
public:
- macrossp_state(const machine_config &mconfig, device_type type, const char *tag)
+ macrossp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_scra_videoram(*this, "scra_videoram"),
diff --git a/src/mame/includes/madalien.h b/src/mame/includes/madalien.h
index 475823d53a9..eeb3229ed5c 100644
--- a/src/mame/includes/madalien.h
+++ b/src/mame/includes/madalien.h
@@ -17,7 +17,7 @@
class madalien_state : public driver_device
{
public:
- madalien_state(const machine_config &mconfig, device_type type, const char *tag)
+ madalien_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_charram(*this, "charram"),
diff --git a/src/mame/includes/madmotor.h b/src/mame/includes/madmotor.h
index bb8c3c288e2..07d6a360df9 100644
--- a/src/mame/includes/madmotor.h
+++ b/src/mame/includes/madmotor.h
@@ -12,7 +12,7 @@
class madmotor_state : public driver_device
{
public:
- madmotor_state(const machine_config &mconfig, device_type type, const char *tag)
+ madmotor_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/magmax.h b/src/mame/includes/magmax.h
index 36199b3c49c..41b3f635ab2 100644
--- a/src/mame/includes/magmax.h
+++ b/src/mame/includes/magmax.h
@@ -3,7 +3,7 @@
class magmax_state : public driver_device
{
public:
- magmax_state(const machine_config &mconfig, device_type type, const char *tag)
+ magmax_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/mainevt.h b/src/mame/includes/mainevt.h
index 32973d75bc7..cfb36fdf4c3 100644
--- a/src/mame/includes/mainevt.h
+++ b/src/mame/includes/mainevt.h
@@ -15,7 +15,7 @@
class mainevt_state : public driver_device
{
public:
- mainevt_state(const machine_config &mconfig, device_type type, const char *tag)
+ mainevt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/mainsnk.h b/src/mame/includes/mainsnk.h
index e1240a8d8c2..80461f64b53 100644
--- a/src/mame/includes/mainsnk.h
+++ b/src/mame/includes/mainsnk.h
@@ -3,7 +3,7 @@
class mainsnk_state : public driver_device
{
public:
- mainsnk_state(const machine_config &mconfig, device_type type, const char *tag)
+ mainsnk_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/malzak.h b/src/mame/includes/malzak.h
index 00f4e3a2afb..778141d9817 100644
--- a/src/mame/includes/malzak.h
+++ b/src/mame/includes/malzak.h
@@ -12,7 +12,7 @@
class malzak_state : public driver_device
{
public:
- malzak_state(const machine_config &mconfig, device_type type, const char *tag)
+ malzak_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_s2636_0(*this, "s2636_0"),
diff --git a/src/mame/includes/mappy.h b/src/mame/includes/mappy.h
index 8bbfcf8ff25..f2851c03e2b 100644
--- a/src/mame/includes/mappy.h
+++ b/src/mame/includes/mappy.h
@@ -30,7 +30,7 @@ public:
GAME_MOTOS
};
- mappy_state(const machine_config &mconfig, device_type type, const char *tag)
+ mappy_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/marineb.h b/src/mame/includes/marineb.h
index c96b4b91165..f77bda2a8e5 100644
--- a/src/mame/includes/marineb.h
+++ b/src/mame/includes/marineb.h
@@ -3,7 +3,7 @@
class marineb_state : public driver_device
{
public:
- marineb_state(const machine_config &mconfig, device_type type, const char *tag)
+ marineb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/mario.h b/src/mame/includes/mario.h
index b19a4faa211..0d7ccfa0301 100644
--- a/src/mame/includes/mario.h
+++ b/src/mame/includes/mario.h
@@ -44,7 +44,7 @@
class mario_state : public driver_device
{
public:
- mario_state(const machine_config &mconfig, device_type type, const char *tag)
+ mario_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/markham.h b/src/mame/includes/markham.h
index c64bfadd5da..301b2d9a815 100644
--- a/src/mame/includes/markham.h
+++ b/src/mame/includes/markham.h
@@ -9,7 +9,7 @@
class markham_state : public driver_device
{
public:
- markham_state(const machine_config &mconfig, device_type type, const char *tag)
+ markham_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/matmania.h b/src/mame/includes/matmania.h
index af41168bed5..155afef4849 100644
--- a/src/mame/includes/matmania.h
+++ b/src/mame/includes/matmania.h
@@ -4,7 +4,7 @@
class matmania_state : public driver_device
{
public:
- matmania_state(const machine_config &mconfig, device_type type, const char *tag)
+ matmania_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_videoram2(*this, "videoram2"),
diff --git a/src/mame/includes/maygay1b.h b/src/mame/includes/maygay1b.h
index b76f3192a33..8e4dca521f9 100644
--- a/src/mame/includes/maygay1b.h
+++ b/src/mame/includes/maygay1b.h
@@ -29,7 +29,7 @@
class maygay1b_state : public driver_device
{
public:
- maygay1b_state(const machine_config &mconfig, device_type type, const char *tag)
+ maygay1b_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_vfd(*this, "vfd"),
diff --git a/src/mame/includes/mbc55x.h b/src/mame/includes/mbc55x.h
index 7069084d83e..a1646f5375d 100644
--- a/src/mame/includes/mbc55x.h
+++ b/src/mame/includes/mbc55x.h
@@ -89,7 +89,7 @@ struct keyboard_t
class mbc55x_state : public driver_device
{
public:
- mbc55x_state(const machine_config &mconfig, device_type type, const char *tag)
+ mbc55x_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, MAINCPU_TAG),
m_crtc(*this, VID_MC6845_NAME),
diff --git a/src/mame/includes/mbee.h b/src/mame/includes/mbee.h
index 57ae0501ec0..81295cf11fd 100644
--- a/src/mame/includes/mbee.h
+++ b/src/mame/includes/mbee.h
@@ -33,7 +33,7 @@ public:
TIMER_MBEE_NEWKB
};
- mbee_state(const machine_config &mconfig, device_type type, const char *tag)
+ mbee_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_palette(*this, "palette")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/includes/mboard.h b/src/mame/includes/mboard.h
index b6e8c5028f4..4c292c055ac 100644
--- a/src/mame/includes/mboard.h
+++ b/src/mame/includes/mboard.h
@@ -41,7 +41,7 @@ enum
class mboard_state : public driver_device
{
public:
- mboard_state(const machine_config &mconfig, device_type type, const char *tag)
+ mboard_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_line(*this, "LINE"),
diff --git a/src/mame/includes/mc1000.h b/src/mame/includes/mc1000.h
index 32ba93e2fe0..36e90ea8501 100644
--- a/src/mame/includes/mc1000.h
+++ b/src/mame/includes/mc1000.h
@@ -27,7 +27,7 @@
class mc1000_state : public driver_device
{
public:
- mc1000_state(const machine_config &mconfig, device_type type, const char *tag)
+ mc1000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_vdg(*this, MC6847_TAG),
diff --git a/src/mame/includes/mc1502.h b/src/mame/includes/mc1502.h
index 28b38aca85e..80bf80d65cd 100644
--- a/src/mame/includes/mc1502.h
+++ b/src/mame/includes/mc1502.h
@@ -23,7 +23,7 @@
class mc1502_state : public driver_device
{
public:
- mc1502_state(const machine_config &mconfig, device_type type, const char *tag)
+ mc1502_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_upd8251(*this, "upd8251"),
diff --git a/src/mame/includes/mc80.h b/src/mame/includes/mc80.h
index 74699a2327c..f530175a058 100644
--- a/src/mame/includes/mc80.h
+++ b/src/mame/includes/mc80.h
@@ -18,7 +18,7 @@
class mc80_state : public driver_device
{
public:
- mc80_state(const machine_config &mconfig, device_type type, const char *tag)
+ mc80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_p_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/includes/mcatadv.h b/src/mame/includes/mcatadv.h
index 9e382505896..42ea7b1f535 100644
--- a/src/mame/includes/mcatadv.h
+++ b/src/mame/includes/mcatadv.h
@@ -4,7 +4,7 @@
class mcatadv_state : public driver_device
{
public:
- mcatadv_state(const machine_config &mconfig, device_type type, const char *tag)
+ mcatadv_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram1(*this, "videoram1"),
m_videoram2(*this, "videoram2"),
diff --git a/src/mame/includes/mcr.h b/src/mame/includes/mcr.h
index ff7937f669c..0826c0ee263 100644
--- a/src/mame/includes/mcr.h
+++ b/src/mame/includes/mcr.h
@@ -21,7 +21,7 @@
class mcr_state : public driver_device
{
public:
- mcr_state(const machine_config &mconfig, device_type type, const char *tag)
+ mcr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ipu(*this, "ipu"),
diff --git a/src/mame/includes/mcr3.h b/src/mame/includes/mcr3.h
index 8f4bf006bc7..8a3d86c581f 100644
--- a/src/mame/includes/mcr3.h
+++ b/src/mame/includes/mcr3.h
@@ -3,7 +3,7 @@
class mcr3_state : public mcr_state
{
public:
- mcr3_state(const machine_config &mconfig, device_type type, const char *tag)
+ mcr3_state(const machine_config &mconfig, device_type type, std::string tag)
: mcr_state(mconfig, type, tag),
m_spyhunt_alpharam(*this, "spyhunt_alpha"),
m_screen(*this, "screen") { }
diff --git a/src/mame/includes/mcr68.h b/src/mame/includes/mcr68.h
index 56f4f10a94e..17ac3e492d7 100644
--- a/src/mame/includes/mcr68.h
+++ b/src/mame/includes/mcr68.h
@@ -17,7 +17,7 @@ struct counter_state
class mcr68_state : public driver_device
{
public:
- mcr68_state(const machine_config &mconfig, device_type type, const char *tag)
+ mcr68_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_chip_squeak_deluxe(*this, "csd"),
m_sounds_good(*this, "sg"),
diff --git a/src/mame/includes/md_cons.h b/src/mame/includes/md_cons.h
index f7fc4e5054c..51a0920ec0c 100644
--- a/src/mame/includes/md_cons.h
+++ b/src/mame/includes/md_cons.h
@@ -11,7 +11,7 @@
class md_cons_state : public md_base_state
{
public:
- md_cons_state(const machine_config &mconfig, device_type type, const char *tag)
+ md_cons_state(const machine_config &mconfig, device_type type, std::string tag)
: md_base_state(mconfig, type, tag),
m_32x(*this,"sega32x"),
m_segacd(*this,"segacd"),
diff --git a/src/mame/includes/meadows.h b/src/mame/includes/meadows.h
index f8c0e47fa94..65ba0b0def9 100644
--- a/src/mame/includes/meadows.h
+++ b/src/mame/includes/meadows.h
@@ -13,7 +13,7 @@
class meadows_state : public driver_device
{
public:
- meadows_state(const machine_config &mconfig, device_type type, const char *tag)
+ meadows_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/megadriv.h b/src/mame/includes/megadriv.h
index b2461c802c5..2240034e12c 100644
--- a/src/mame/includes/megadriv.h
+++ b/src/mame/includes/megadriv.h
@@ -40,7 +40,7 @@ struct genesis_z80_vars
class md_base_state : public driver_device
{
public:
- md_base_state(const machine_config &mconfig, device_type type, const char *tag)
+ md_base_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_z80snd(*this,"genesis_snd_z80"),
@@ -135,7 +135,7 @@ public:
class md_boot_state : public md_base_state
{
public:
- md_boot_state(const machine_config &mconfig, device_type type, const char *tag)
+ md_boot_state(const machine_config &mconfig, device_type type, std::string tag)
: md_base_state(mconfig, type, tag) { m_protcount = 0;}
// bootleg specific
diff --git a/src/mame/includes/megasys1.h b/src/mame/includes/megasys1.h
index 414b670cc36..bc034b102da 100644
--- a/src/mame/includes/megasys1.h
+++ b/src/mame/includes/megasys1.h
@@ -21,7 +21,7 @@
class megasys1_state : public driver_device
{
public:
- megasys1_state(const machine_config &mconfig, device_type type, const char *tag)
+ megasys1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vregs(*this, "vregs"),
m_objectram(*this, "objectram"),
diff --git a/src/mame/includes/megazone.h b/src/mame/includes/megazone.h
index 8621b5c90af..2a312eaae00 100644
--- a/src/mame/includes/megazone.h
+++ b/src/mame/includes/megazone.h
@@ -9,7 +9,7 @@
class megazone_state : public driver_device
{
public:
- megazone_state(const machine_config &mconfig, device_type type, const char *tag)
+ megazone_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_scrolly(*this, "scrolly"),
m_scrollx(*this, "scrollx"),
diff --git a/src/mame/includes/mermaid.h b/src/mame/includes/mermaid.h
index bbe17d2e161..e4dcaf228fb 100644
--- a/src/mame/includes/mermaid.h
+++ b/src/mame/includes/mermaid.h
@@ -11,7 +11,7 @@
class mermaid_state : public driver_device
{
public:
- mermaid_state(const machine_config &mconfig, device_type type, const char *tag)
+ mermaid_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram2(*this, "videoram2"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/metalmx.h b/src/mame/includes/metalmx.h
index 9c321e209c6..646b8ca79a3 100644
--- a/src/mame/includes/metalmx.h
+++ b/src/mame/includes/metalmx.h
@@ -8,7 +8,7 @@
class metalmx_state : public driver_device
{
public:
- metalmx_state(const machine_config &mconfig, device_type type, const char *tag)
+ metalmx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gsp(*this, "gsp"),
diff --git a/src/mame/includes/metlclsh.h b/src/mame/includes/metlclsh.h
index b8783156faa..1c667f9d8c4 100644
--- a/src/mame/includes/metlclsh.h
+++ b/src/mame/includes/metlclsh.h
@@ -9,7 +9,7 @@
class metlclsh_state : public driver_device
{
public:
- metlclsh_state(const machine_config &mconfig, device_type type, const char *tag)
+ metlclsh_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_fgram(*this, "fgram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/metro.h b/src/mame/includes/metro.h
index e47da64dfaa..7bfaaab6cdb 100644
--- a/src/mame/includes/metro.h
+++ b/src/mame/includes/metro.h
@@ -22,7 +22,7 @@ public:
TIMER_METRO_BLIT_DONE
};
- metro_state(const machine_config &mconfig, device_type type, const char *tag)
+ metro_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/mexico86.h b/src/mame/includes/mexico86.h
index 7083c202795..2a44f786995 100644
--- a/src/mame/includes/mexico86.h
+++ b/src/mame/includes/mexico86.h
@@ -5,7 +5,7 @@
class mexico86_state : public driver_device
{
public:
- mexico86_state(const machine_config &mconfig, device_type type, const char *tag)
+ mexico86_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_objectram(*this, "objectram"),
m_protection_ram(*this, "protection_ram"),
diff --git a/src/mame/includes/mhavoc.h b/src/mame/includes/mhavoc.h
index 1758ebcd67b..aa3900940f7 100644
--- a/src/mame/includes/mhavoc.h
+++ b/src/mame/includes/mhavoc.h
@@ -20,7 +20,7 @@
class mhavoc_state : public driver_device
{
public:
- mhavoc_state(const machine_config &mconfig, device_type type, const char *tag)
+ mhavoc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_zram0(*this, "zram0"),
m_zram1(*this, "zram1"),
diff --git a/src/mame/includes/micro3d.h b/src/mame/includes/micro3d.h
index e6295b78ae0..2b9a826a8d2 100644
--- a/src/mame/includes/micro3d.h
+++ b/src/mame/includes/micro3d.h
@@ -50,7 +50,7 @@ public:
TIMER_ADC_DONE
};
- micro3d_state(const machine_config &mconfig, device_type type, const char *tag)
+ micro3d_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
@@ -229,7 +229,7 @@ class micro3d_sound_device : public device_t,
public device_sound_interface
{
public:
- micro3d_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ micro3d_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~micro3d_sound_device() {}
void noise_sh_w(UINT8 data);
diff --git a/src/mame/includes/micronic.h b/src/mame/includes/micronic.h
index 2284e875dbe..999e1c38691 100644
--- a/src/mame/includes/micronic.h
+++ b/src/mame/includes/micronic.h
@@ -25,7 +25,7 @@
class micronic_state : public driver_device
{
public:
- micronic_state(const machine_config &mconfig, device_type type, const char *tag)
+ micronic_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_lcdc(*this, HD61830_TAG),
diff --git a/src/mame/includes/microtan.h b/src/mame/includes/microtan.h
index c9e990ea472..d8ae616a6e1 100644
--- a/src/mame/includes/microtan.h
+++ b/src/mame/includes/microtan.h
@@ -30,7 +30,7 @@ public:
TIMER_PULSE_NMI
};
- microtan_state(const machine_config &mconfig, device_type type, const char *tag)
+ microtan_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/midtunit.h b/src/mame/includes/midtunit.h
index e64a7992611..1707fa91c61 100644
--- a/src/mame/includes/midtunit.h
+++ b/src/mame/includes/midtunit.h
@@ -18,7 +18,7 @@ public:
TIMER_DMA
};
- midtunit_state(const machine_config &mconfig, device_type type, const char *tag)
+ midtunit_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette(*this, "palette"),
diff --git a/src/mame/includes/midvunit.h b/src/mame/includes/midvunit.h
index 196f4e64bb4..bbf3f2e3a84 100644
--- a/src/mame/includes/midvunit.h
+++ b/src/mame/includes/midvunit.h
@@ -47,7 +47,7 @@ public:
TIMER_SCANLINE
};
- midvunit_state(const machine_config &mconfig, device_type type, const char *tag)
+ midvunit_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_nvram(*this, "nvram"),
m_ram_base(*this, "ram_base"),
diff --git a/src/mame/includes/midwunit.h b/src/mame/includes/midwunit.h
index c9a210bca9a..775086484ae 100644
--- a/src/mame/includes/midwunit.h
+++ b/src/mame/includes/midwunit.h
@@ -11,7 +11,7 @@
class midwunit_state : public midtunit_state
{
public:
- midwunit_state(const machine_config &mconfig, device_type type, const char *tag)
+ midwunit_state(const machine_config &mconfig, device_type type, std::string tag)
: midtunit_state(mconfig, type, tag),
m_midway_serial_pic(*this, "serial_pic"),
m_nvram(*this, "nvram"),
diff --git a/src/mame/includes/midxunit.h b/src/mame/includes/midxunit.h
index 1f25950dc9f..a9288ee8685 100644
--- a/src/mame/includes/midxunit.h
+++ b/src/mame/includes/midxunit.h
@@ -11,7 +11,7 @@
class midxunit_state : public midtunit_state
{
public:
- midxunit_state(const machine_config &mconfig, device_type type, const char *tag)
+ midxunit_state(const machine_config &mconfig, device_type type, std::string tag)
: midtunit_state(mconfig, type, tag),
m_nvram(*this, "nvram"),
m_midway_serial_pic(*this, "serial_pic") { }
diff --git a/src/mame/includes/midyunit.h b/src/mame/includes/midyunit.h
index b6b03c975bf..2cfd5bc43b3 100644
--- a/src/mame/includes/midyunit.h
+++ b/src/mame/includes/midyunit.h
@@ -41,7 +41,7 @@ public:
TIMER_AUTOERASE_LINE
};
- midyunit_state(const machine_config &mconfig, device_type type, const char *tag)
+ midyunit_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/midzeus.h b/src/mame/includes/midzeus.h
index 54850ec49d3..e9574f20fc2 100644
--- a/src/mame/includes/midzeus.h
+++ b/src/mame/includes/midzeus.h
@@ -13,7 +13,7 @@
class midzeus_state : public driver_device
{
public:
- midzeus_state(const machine_config &mconfig, device_type type, const char *tag)
+ midzeus_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_nvram(*this, "nvram"),
m_ram_base(*this, "ram_base"),
@@ -89,7 +89,7 @@ private:
class midzeus2_state : public midzeus_state
{
public:
- midzeus2_state(const machine_config &mconfig, device_type type, const char *tag)
+ midzeus2_state(const machine_config &mconfig, device_type type, std::string tag)
: midzeus_state(mconfig, type, tag) { }
DECLARE_VIDEO_START(midzeus2);
diff --git a/src/mame/includes/mikie.h b/src/mame/includes/mikie.h
index cdd6a8887bc..8bf9b52c0a1 100644
--- a/src/mame/includes/mikie.h
+++ b/src/mame/includes/mikie.h
@@ -9,7 +9,7 @@
class mikie_state : public driver_device
{
public:
- mikie_state(const machine_config &mconfig, device_type type, const char *tag)
+ mikie_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/mikro80.h b/src/mame/includes/mikro80.h
index 441ca98bcda..43605587be3 100644
--- a/src/mame/includes/mikro80.h
+++ b/src/mame/includes/mikro80.h
@@ -20,7 +20,7 @@ public:
TIMER_RESET
};
- mikro80_state(const machine_config &mconfig, device_type type, const char *tag)
+ mikro80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cursor_ram(*this, "cursor_ram"),
m_video_ram(*this, "video_ram"),
diff --git a/src/mame/includes/mikromik.h b/src/mame/includes/mikromik.h
index fd87077d48c..0dfa8412ceb 100644
--- a/src/mame/includes/mikromik.h
+++ b/src/mame/includes/mikromik.h
@@ -35,7 +35,7 @@
class mm1_state : public driver_device
{
public:
- mm1_state(const machine_config &mconfig, device_type type, const char *tag) :
+ mm1_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, I8085A_TAG),
m_iop(*this, I8212_TAG),
diff --git a/src/mame/includes/mitchell.h b/src/mame/includes/mitchell.h
index b94aad312e0..0a0d6aa5f0e 100644
--- a/src/mame/includes/mitchell.h
+++ b/src/mame/includes/mitchell.h
@@ -14,7 +14,7 @@
class mitchell_state : public driver_device
{
public:
- mitchell_state(const machine_config &mconfig, device_type type, const char *tag)
+ mitchell_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/mjkjidai.h b/src/mame/includes/mjkjidai.h
index d3b2946bb2c..6cf0e86f082 100644
--- a/src/mame/includes/mjkjidai.h
+++ b/src/mame/includes/mjkjidai.h
@@ -6,7 +6,7 @@
class mjkjidai_state : public driver_device
{
public:
- mjkjidai_state(const machine_config &mconfig, device_type type, const char *tag)
+ mjkjidai_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_msm(*this, "msm"),
diff --git a/src/mame/includes/model1.h b/src/mame/includes/model1.h
index 824766648e5..fd627b33376 100644
--- a/src/mame/includes/model1.h
+++ b/src/mame/includes/model1.h
@@ -13,7 +13,7 @@ enum {MAT_STACK_SIZE = 32};
class model1_state : public driver_device
{
public:
- model1_state(const machine_config &mconfig, device_type type, const char *tag)
+ model1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_m1audio(*this, "m1audio"),
diff --git a/src/mame/includes/model2.h b/src/mame/includes/model2.h
index 1f4bbcaa6d5..80454133bf7 100644
--- a/src/mame/includes/model2.h
+++ b/src/mame/includes/model2.h
@@ -16,7 +16,7 @@ struct geo_state;
class model2_state : public driver_device
{
public:
- model2_state(const machine_config &mconfig, device_type type, const char *tag)
+ model2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_workram(*this, "workram"),
m_bufferram(*this, "bufferram"),
diff --git a/src/mame/includes/model3.h b/src/mame/includes/model3.h
index 1c66bf531c9..5afa3887cd9 100644
--- a/src/mame/includes/model3.h
+++ b/src/mame/includes/model3.h
@@ -51,7 +51,7 @@ class model3_renderer;
class model3_state : public driver_device
{
public:
- model3_state(const machine_config &mconfig, device_type type, const char *tag)
+ model3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_lsi53c810(*this, "lsi53c810"),
diff --git a/src/mame/includes/momoko.h b/src/mame/includes/momoko.h
index 51eb27a061b..77cf58e984b 100644
--- a/src/mame/includes/momoko.h
+++ b/src/mame/includes/momoko.h
@@ -9,7 +9,7 @@
class momoko_state : public driver_device
{
public:
- momoko_state(const machine_config &mconfig, device_type type, const char *tag)
+ momoko_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/moo.h b/src/mame/includes/moo.h
index 28cb1e9ffef..fefd94d6fdd 100644
--- a/src/mame/includes/moo.h
+++ b/src/mame/includes/moo.h
@@ -18,7 +18,7 @@
class moo_state : public driver_device
{
public:
- moo_state(const machine_config &mconfig, device_type type, const char *tag)
+ moo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_workram(*this, "workram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/mosaic.h b/src/mame/includes/mosaic.h
index 53deb5cf82f..2e7b18449b9 100644
--- a/src/mame/includes/mosaic.h
+++ b/src/mame/includes/mosaic.h
@@ -9,7 +9,7 @@
class mosaic_state : public driver_device
{
public:
- mosaic_state(const machine_config &mconfig, device_type type, const char *tag)
+ mosaic_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/mouser.h b/src/mame/includes/mouser.h
index 8e23e7d80b1..2c00ac20ab7 100644
--- a/src/mame/includes/mouser.h
+++ b/src/mame/includes/mouser.h
@@ -9,7 +9,7 @@
class mouser_state : public driver_device
{
public:
- mouser_state(const machine_config &mconfig, device_type type, const char *tag)
+ mouser_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/mpf1.h b/src/mame/includes/mpf1.h
index 603dd68f838..7945e00513b 100644
--- a/src/mame/includes/mpf1.h
+++ b/src/mame/includes/mpf1.h
@@ -26,7 +26,7 @@
class mpf1_state : public driver_device
{
public:
- mpf1_state(const machine_config &mconfig, device_type type, const char *tag)
+ mpf1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_ctc(*this, Z80CTC_TAG),
diff --git a/src/mame/includes/mpu4.h b/src/mame/includes/mpu4.h
index 3a79b1c0ce0..73f50049e60 100644
--- a/src/mame/includes/mpu4.h
+++ b/src/mame/includes/mpu4.h
@@ -94,7 +94,7 @@ struct bwb_chr_table//dynamically populated table for BwB protection
class mpu4_state : public driver_device
{
public:
- mpu4_state(const machine_config &mconfig, device_type type, const char *tag)
+ mpu4_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_vfd(*this, "vfd"),
diff --git a/src/mame/includes/mpz80.h b/src/mame/includes/mpz80.h
index 5477c9c156c..df7d2191b06 100644
--- a/src/mame/includes/mpz80.h
+++ b/src/mame/includes/mpz80.h
@@ -16,7 +16,7 @@
class mpz80_state : public driver_device
{
public:
- mpz80_state(const machine_config &mconfig, device_type type, const char *tag)
+ mpz80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/includes/mrdo.h b/src/mame/includes/mrdo.h
index 0a83c779498..b307b723c7c 100644
--- a/src/mame/includes/mrdo.h
+++ b/src/mame/includes/mrdo.h
@@ -9,7 +9,7 @@
class mrdo_state : public driver_device
{
public:
- mrdo_state(const machine_config &mconfig, device_type type, const char *tag)
+ mrdo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bgvideoram(*this, "bgvideoram"),
m_fgvideoram(*this, "fgvideoram"),
diff --git a/src/mame/includes/mrflea.h b/src/mame/includes/mrflea.h
index 89a139fabcf..356536ace7b 100644
--- a/src/mame/includes/mrflea.h
+++ b/src/mame/includes/mrflea.h
@@ -9,7 +9,7 @@
class mrflea_state : public driver_device
{
public:
- mrflea_state(const machine_config &mconfig, device_type type, const char *tag)
+ mrflea_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/mrjong.h b/src/mame/includes/mrjong.h
index ba39ef942a6..ce77d7cbd50 100644
--- a/src/mame/includes/mrjong.h
+++ b/src/mame/includes/mrjong.h
@@ -9,7 +9,7 @@
class mrjong_state : public driver_device
{
public:
- mrjong_state(const machine_config &mconfig, device_type type, const char *tag)
+ mrjong_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/ms32.h b/src/mame/includes/ms32.h
index 87fe602a7de..66d15e35f88 100644
--- a/src/mame/includes/ms32.h
+++ b/src/mame/includes/ms32.h
@@ -3,7 +3,7 @@
class ms32_state : public driver_device
{
public:
- ms32_state(const machine_config &mconfig, device_type type, const char *tag)
+ ms32_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mainram(*this, "mainram"),
m_roz_ctrl(*this, "roz_ctrl"),
diff --git a/src/mame/includes/msbc1.h b/src/mame/includes/msbc1.h
index 75cf55060e6..ce77734cf80 100644
--- a/src/mame/includes/msbc1.h
+++ b/src/mame/includes/msbc1.h
@@ -13,7 +13,7 @@
class msbc1_state : public driver_device
{
public:
- msbc1_state(const machine_config &mconfig, device_type type, const char *tag)
+ msbc1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,MC68000R12_TAG)
{
diff --git a/src/mame/includes/msisaac.h b/src/mame/includes/msisaac.h
index d2f94f51e41..613529a5ea9 100644
--- a/src/mame/includes/msisaac.h
+++ b/src/mame/includes/msisaac.h
@@ -8,7 +8,7 @@
class msisaac_state : public driver_device
{
public:
- msisaac_state(const machine_config &mconfig, device_type type, const char *tag)
+ msisaac_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/msx.h b/src/mame/includes/msx.h
index 284f13c77b8..5792de2b551 100644
--- a/src/mame/includes/msx.h
+++ b/src/mame/includes/msx.h
@@ -114,7 +114,7 @@
class msx_state : public driver_device
{
public:
- msx_state(const machine_config &mconfig, device_type type, const char *tag)
+ msx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_v9938(*this, "v9938")
diff --git a/src/mame/includes/mtx.h b/src/mame/includes/mtx.h
index 5558e1fcd15..c9706471021 100644
--- a/src/mame/includes/mtx.h
+++ b/src/mame/includes/mtx.h
@@ -30,7 +30,7 @@
class mtx_state : public driver_device
{
public:
- mtx_state(const machine_config &mconfig, device_type type, const char *tag)
+ mtx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_sn(*this, SN76489A_TAG),
diff --git a/src/mame/includes/mugsmash.h b/src/mame/includes/mugsmash.h
index e670686d9c4..23e4744578f 100644
--- a/src/mame/includes/mugsmash.h
+++ b/src/mame/includes/mugsmash.h
@@ -4,7 +4,7 @@
class mugsmash_state : public driver_device
{
public:
- mugsmash_state(const machine_config &mconfig, device_type type, const char *tag)
+ mugsmash_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram1(*this, "videoram1"),
m_videoram2(*this, "videoram2"),
diff --git a/src/mame/includes/multfish.h b/src/mame/includes/multfish.h
index ed6d3fae67a..3ca20f5ef87 100644
--- a/src/mame/includes/multfish.h
+++ b/src/mame/includes/multfish.h
@@ -14,7 +14,7 @@
class igrosoft_gamble_state : public driver_device
{
public:
- igrosoft_gamble_state(const machine_config &mconfig, device_type type, const char *tag)
+ igrosoft_gamble_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_m48t35(*this, "m48t35" ),
diff --git a/src/mame/includes/munchmo.h b/src/mame/includes/munchmo.h
index 6606f5591ab..37a9fc88ef7 100644
--- a/src/mame/includes/munchmo.h
+++ b/src/mame/includes/munchmo.h
@@ -9,7 +9,7 @@
class munchmo_state : public driver_device
{
public:
- munchmo_state(const machine_config &mconfig, device_type type, const char *tag)
+ munchmo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_sprite_xpos(*this, "sprite_xpos"),
m_sprite_tile(*this, "sprite_tile"),
diff --git a/src/mame/includes/mustache.h b/src/mame/includes/mustache.h
index 160f2398d16..7f4fe7db0ee 100644
--- a/src/mame/includes/mustache.h
+++ b/src/mame/includes/mustache.h
@@ -5,7 +5,7 @@
class mustache_state : public driver_device
{
public:
- mustache_state(const machine_config &mconfig, device_type type, const char *tag)
+ mustache_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/mw8080bw.h b/src/mame/includes/mw8080bw.h
index 1641d3a1086..7438b124f96 100644
--- a/src/mame/includes/mw8080bw.h
+++ b/src/mame/includes/mw8080bw.h
@@ -38,7 +38,7 @@
class mw8080bw_state : public driver_device
{
public:
- mw8080bw_state(const machine_config &mconfig, device_type type, const char *tag)
+ mw8080bw_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_mb14241(*this,"mb14241"),
diff --git a/src/mame/includes/mystston.h b/src/mame/includes/mystston.h
index 6e311814bba..79290a664b5 100644
--- a/src/mame/includes/mystston.h
+++ b/src/mame/includes/mystston.h
@@ -15,7 +15,7 @@
class mystston_state : public driver_device
{
public:
- mystston_state(const machine_config &mconfig, device_type type, const char *tag)
+ mystston_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ay8910_data(*this, "ay8910_data"),
m_ay8910_select(*this, "ay8910_select"),
diff --git a/src/mame/includes/mystwarr.h b/src/mame/includes/mystwarr.h
index 0ea09731627..16a712d9c87 100644
--- a/src/mame/includes/mystwarr.h
+++ b/src/mame/includes/mystwarr.h
@@ -9,7 +9,7 @@
class mystwarr_state : public konamigx_state
{
public:
- mystwarr_state(const machine_config &mconfig, device_type type, const char *tag)
+ mystwarr_state(const machine_config &mconfig, device_type type, std::string tag)
: konamigx_state(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_k053252(*this, "k053252"),
diff --git a/src/mame/includes/mz700.h b/src/mame/includes/mz700.h
index 552dd9a20c0..59d6482e4ae 100644
--- a/src/mame/includes/mz700.h
+++ b/src/mame/includes/mz700.h
@@ -22,7 +22,7 @@
class mz_state : public driver_device
{
public:
- mz_state(const machine_config &mconfig, device_type type, const char *tag)
+ mz_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_speaker(*this, "speaker")
diff --git a/src/mame/includes/mz80.h b/src/mame/includes/mz80.h
index 93dd6c09b9d..2cf8a6da018 100644
--- a/src/mame/includes/mz80.h
+++ b/src/mame/includes/mz80.h
@@ -20,7 +20,7 @@
class mz80_state : public driver_device
{
public:
- mz80_state(const machine_config &mconfig, device_type type, const char *tag)
+ mz80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pit(*this, "pit8253"),
diff --git a/src/mame/includes/n64.h b/src/mame/includes/n64.h
index 783efd70a12..4f4d96449c4 100644
--- a/src/mame/includes/n64.h
+++ b/src/mame/includes/n64.h
@@ -15,7 +15,7 @@ class n64_rdp;
class n64_state : public driver_device
{
public:
- n64_state(const machine_config &mconfig, device_type type, const char *tag)
+ n64_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
@@ -58,7 +58,7 @@ private:
public:
// construction/destruction
- n64_periphs(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ n64_periphs(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ32_MEMBER( is64_r );
DECLARE_WRITE32_MEMBER( is64_w );
diff --git a/src/mame/includes/n8080.h b/src/mame/includes/n8080.h
index 9e5926ced41..1b123c71095 100644
--- a/src/mame/includes/n8080.h
+++ b/src/mame/includes/n8080.h
@@ -7,7 +7,7 @@
class n8080_state : public driver_device
{
public:
- n8080_state(const machine_config &mconfig, device_type type, const char *tag)
+ n8080_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/namcofl.h b/src/mame/includes/namcofl.h
index eeb702ae58e..94512e846d7 100644
--- a/src/mame/includes/namcofl.h
+++ b/src/mame/includes/namcofl.h
@@ -21,7 +21,7 @@
class namcofl_state : public namcos2_shared_state
{
public:
- namcofl_state(const machine_config &mconfig, device_type type, const char *tag)
+ namcofl_state(const machine_config &mconfig, device_type type, std::string tag)
: namcos2_shared_state(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_mcu(*this,"mcu"),
diff --git a/src/mame/includes/namcona1.h b/src/mame/includes/namcona1.h
index 17b4b79009f..1af5a81b5f3 100644
--- a/src/mame/includes/namcona1.h
+++ b/src/mame/includes/namcona1.h
@@ -28,7 +28,7 @@ enum
class namcona1_state : public driver_device
{
public:
- namcona1_state(const machine_config &mconfig, device_type type, const char *tag)
+ namcona1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_mcu(*this,"mcu"),
diff --git a/src/mame/includes/namconb1.h b/src/mame/includes/namconb1.h
index 02930edb0e0..4e2439f672d 100644
--- a/src/mame/includes/namconb1.h
+++ b/src/mame/includes/namconb1.h
@@ -28,7 +28,7 @@
class namconb1_state : public namcos2_shared_state
{
public:
- namconb1_state(const machine_config &mconfig, device_type type, const char *tag)
+ namconb1_state(const machine_config &mconfig, device_type type, std::string tag)
: namcos2_shared_state(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mcu(*this, "mcu"),
diff --git a/src/mame/includes/namcond1.h b/src/mame/includes/namcond1.h
index 979bf93bf05..5c30cb9e81c 100644
--- a/src/mame/includes/namcond1.h
+++ b/src/mame/includes/namcond1.h
@@ -13,7 +13,7 @@
class namcond1_state : public driver_device
{
public:
- namcond1_state(const machine_config &mconfig, device_type type, const char *tag)
+ namcond1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mcu(*this, "mcu"),
diff --git a/src/mame/includes/namcos1.h b/src/mame/includes/namcos1.h
index 7c0146bdaa7..f88c32b8c16 100644
--- a/src/mame/includes/namcos1.h
+++ b/src/mame/includes/namcos1.h
@@ -8,7 +8,7 @@
class namcos1_state : public driver_device
{
public:
- namcos1_state(const machine_config &mconfig, device_type type, const char *tag)
+ namcos1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "subcpu"),
diff --git a/src/mame/includes/namcos2.h b/src/mame/includes/namcos2.h
index b26aff34a91..2cb1b5741c8 100644
--- a/src/mame/includes/namcos2.h
+++ b/src/mame/includes/namcos2.h
@@ -96,7 +96,7 @@ enum
class namcos2_shared_state : public driver_device
{
public:
- namcos2_shared_state(const machine_config &mconfig, device_type type, const char *tag)
+ namcos2_shared_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_dspmaster(*this, "dspmaster"),
m_dspslave(*this, "dspslave"),
@@ -259,7 +259,7 @@ public:
class namcos2_state : public namcos2_shared_state
{
public:
- namcos2_state(const machine_config &mconfig, device_type type, const char *tag)
+ namcos2_state(const machine_config &mconfig, device_type type, std::string tag)
: namcos2_shared_state(mconfig, type, tag),
m_dpram(*this, "dpram"),
m_paletteram(*this, "paletteram"),
diff --git a/src/mame/includes/namcos21.h b/src/mame/includes/namcos21.h
index e35265aa830..e50f1210583 100644
--- a/src/mame/includes/namcos21.h
+++ b/src/mame/includes/namcos21.h
@@ -43,7 +43,7 @@ struct edge
class namcos21_state : public namcos2_shared_state
{
public:
- namcos21_state(const machine_config &mconfig, device_type type, const char *tag)
+ namcos21_state(const machine_config &mconfig, device_type type, std::string tag)
: namcos2_shared_state(mconfig, type, tag),
m_winrun_dspbios(*this,"winrun_dspbios"),
m_winrun_polydata(*this,"winrun_polydata"),
diff --git a/src/mame/includes/namcos22.h b/src/mame/includes/namcos22.h
index 28a01852fbf..8a51c0e9963 100644
--- a/src/mame/includes/namcos22.h
+++ b/src/mame/includes/namcos22.h
@@ -171,7 +171,7 @@ enum namcos22_dsp_upload_state
class namcos22_state : public driver_device
{
public:
- namcos22_state(const machine_config &mconfig, device_type type, const char *tag)
+ namcos22_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_master(*this, "master"),
diff --git a/src/mame/includes/namcos86.h b/src/mame/includes/namcos86.h
index 5842c5c570e..4120413e9e5 100644
--- a/src/mame/includes/namcos86.h
+++ b/src/mame/includes/namcos86.h
@@ -5,7 +5,7 @@
class namcos86_state : public driver_device
{
public:
- namcos86_state(const machine_config &mconfig, device_type type, const char *tag)
+ namcos86_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cpu1(*this, "cpu1"),
m_cpu2(*this, "cpu2"),
diff --git a/src/mame/includes/naomi.h b/src/mame/includes/naomi.h
index 3e1e6c80eb0..60123e45f6c 100644
--- a/src/mame/includes/naomi.h
+++ b/src/mame/includes/naomi.h
@@ -37,7 +37,7 @@ enum {
class naomi_state : public dc_state
{
public:
- naomi_state(const machine_config &mconfig, device_type type, const char *tag)
+ naomi_state(const machine_config &mconfig, device_type type, std::string tag)
: dc_state(mconfig, type, tag),
pvr2_texture_ram(*this, "textureram2"),
pvr2_framebuffer_ram(*this, "frameram2"),
diff --git a/src/mame/includes/naughtyb.h b/src/mame/includes/naughtyb.h
index 5e0075719b0..ebd56bd4924 100644
--- a/src/mame/includes/naughtyb.h
+++ b/src/mame/includes/naughtyb.h
@@ -5,7 +5,7 @@
class naughtyb_state : public driver_device
{
public:
- naughtyb_state(const machine_config &mconfig, device_type type, const char *tag)
+ naughtyb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_naughtyb_custom(*this, "naughtyb_custom"),
diff --git a/src/mame/includes/nb1413m3.h b/src/mame/includes/nb1413m3.h
index 0408c2009cc..3170b92c319 100644
--- a/src/mame/includes/nb1413m3.h
+++ b/src/mame/includes/nb1413m3.h
@@ -126,7 +126,7 @@ enum {
class nb1413m3_device : public device_t
{
public:
- nb1413m3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ nb1413m3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~nb1413m3_device() {}
// (static) configuration helpers
diff --git a/src/mame/includes/nb1414m4.h b/src/mame/includes/nb1414m4.h
index 20e392f6f2e..032eeaa7fde 100644
--- a/src/mame/includes/nb1414m4.h
+++ b/src/mame/includes/nb1414m4.h
@@ -4,7 +4,7 @@ class nb1414m4_device : public device_t,
public device_video_interface
{
public:
- nb1414m4_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ nb1414m4_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~nb1414m4_device() {}
void exec(UINT16 mcu_cmd, UINT8 *vram, UINT16 &scrollx, UINT16 &scrolly, tilemap_t *tilemap);
diff --git a/src/mame/includes/nbmj8688.h b/src/mame/includes/nbmj8688.h
index c08991c7f7c..426afc6e337 100644
--- a/src/mame/includes/nbmj8688.h
+++ b/src/mame/includes/nbmj8688.h
@@ -11,7 +11,7 @@ public:
TIMER_BLITTER
};
- nbmj8688_state(const machine_config &mconfig, device_type type, const char *tag) :
+ nbmj8688_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_nb1413m3(*this, "nb1413m3"),
diff --git a/src/mame/includes/nbmj8891.h b/src/mame/includes/nbmj8891.h
index 6c636e289cb..5ba748835dc 100644
--- a/src/mame/includes/nbmj8891.h
+++ b/src/mame/includes/nbmj8891.h
@@ -10,7 +10,7 @@ public:
TIMER_BLITTER
};
- nbmj8891_state(const machine_config &mconfig, device_type type, const char *tag)
+ nbmj8891_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_nb1413m3(*this, "nb1413m3"),
diff --git a/src/mame/includes/nbmj8900.h b/src/mame/includes/nbmj8900.h
index 2a51f2ae112..cab6f296c47 100644
--- a/src/mame/includes/nbmj8900.h
+++ b/src/mame/includes/nbmj8900.h
@@ -10,7 +10,7 @@ public:
TIMER_BLITTER
};
- nbmj8900_state(const machine_config &mconfig, device_type type, const char *tag)
+ nbmj8900_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_nb1413m3(*this, "nb1413m3"),
diff --git a/src/mame/includes/nbmj8991.h b/src/mame/includes/nbmj8991.h
index 74920f3555f..384371a4437 100644
--- a/src/mame/includes/nbmj8991.h
+++ b/src/mame/includes/nbmj8991.h
@@ -5,7 +5,7 @@
class nbmj8991_state : public driver_device
{
public:
- nbmj8991_state(const machine_config &mconfig, device_type type, const char *tag)
+ nbmj8991_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/nbmj9195.h b/src/mame/includes/nbmj9195.h
index ec36eb8f168..ee3fef9048e 100644
--- a/src/mame/includes/nbmj9195.h
+++ b/src/mame/includes/nbmj9195.h
@@ -23,7 +23,7 @@ public:
TIMER_BLITTER
};
- nbmj9195_state(const machine_config &mconfig, device_type type, const char *tag)
+ nbmj9195_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_dac1(*this, "dac1"),
diff --git a/src/mame/includes/nc.h b/src/mame/includes/nc.h
index 76652a70c61..19eff645869 100644
--- a/src/mame/includes/nc.h
+++ b/src/mame/includes/nc.h
@@ -39,7 +39,7 @@ enum
class nc_state : public driver_device
{
public:
- nc_state(const machine_config &mconfig, device_type type, const char *tag) :
+ nc_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/includes/nemesis.h b/src/mame/includes/nemesis.h
index 1d86132e94c..f8bfa3ea72e 100644
--- a/src/mame/includes/nemesis.h
+++ b/src/mame/includes/nemesis.h
@@ -8,7 +8,7 @@
class nemesis_state : public driver_device
{
public:
- nemesis_state(const machine_config &mconfig, device_type type, const char *tag)
+ nemesis_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_charram(*this, "charram"),
m_xscroll1(*this, "xscroll1"),
diff --git a/src/mame/includes/neogeo.h b/src/mame/includes/neogeo.h
index da50cb62765..ede20034bd6 100644
--- a/src/mame/includes/neogeo.h
+++ b/src/mame/includes/neogeo.h
@@ -30,7 +30,7 @@
class neogeo_state : public driver_device
{
public:
- neogeo_state(const machine_config &mconfig, device_type type, const char *tag)
+ neogeo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_banked_cart(*this, "banked_cart"),
m_maincpu(*this, "maincpu"),
@@ -228,7 +228,7 @@ public:
class neogeo_noslot_state : public neogeo_state
{
public:
- neogeo_noslot_state(const machine_config &mconfig, device_type type, const char *tag)
+ neogeo_noslot_state(const machine_config &mconfig, device_type type, std::string tag)
: neogeo_state(mconfig, type, tag),
/* legacy cartridge specifics */
m_mslugx_prot(*this, "mslugx_prot"),
@@ -331,7 +331,7 @@ class neogeo_noslot_state : public neogeo_state
class neogeo_noslot_kog_state : public neogeo_state
{
public:
- neogeo_noslot_kog_state(const machine_config &mconfig, device_type type, const char *tag)
+ neogeo_noslot_kog_state(const machine_config &mconfig, device_type type, std::string tag)
: neogeo_state(mconfig, type, tag),
/* legacy cartridge specifics */
m_bootleg_prot(*this, "bootleg_prot"),
diff --git a/src/mame/includes/nes.h b/src/mame/includes/nes.h
index b3ba8450829..d7393de9fc1 100644
--- a/src/mame/includes/nes.h
+++ b/src/mame/includes/nes.h
@@ -52,7 +52,7 @@
class nes_state : public driver_device
{
public:
- nes_state(const machine_config &mconfig, device_type type, const char *tag)
+ nes_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ppu(*this, "ppu"),
diff --git a/src/mame/includes/newbrain.h b/src/mame/includes/newbrain.h
index 72edaf3b451..3ad7112dedb 100644
--- a/src/mame/includes/newbrain.h
+++ b/src/mame/includes/newbrain.h
@@ -56,7 +56,7 @@
class newbrain_state : public driver_device
{
public:
- newbrain_state(const machine_config &mconfig, device_type type, const char *tag) :
+ newbrain_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_copcpu(*this, COP420_TAG),
@@ -206,7 +206,7 @@ protected:
class newbrain_eim_state : public newbrain_state
{
public:
- newbrain_eim_state(const machine_config &mconfig, device_type type, const char *tag)
+ newbrain_eim_state(const machine_config &mconfig, device_type type, std::string tag)
: newbrain_state(mconfig, type, tag),
m_fdccpu(*this, FDC_Z80_TAG),
m_ctc(*this, Z80CTC_TAG),
diff --git a/src/mame/includes/news.h b/src/mame/includes/news.h
index e2d380a7cd3..3bc3c6657dc 100644
--- a/src/mame/includes/news.h
+++ b/src/mame/includes/news.h
@@ -4,7 +4,7 @@
class news_state : public driver_device
{
public:
- news_state(const machine_config &mconfig, device_type type, const char *tag)
+ news_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bgram(*this, "bgram"),
m_fgram(*this, "fgram"),
diff --git a/src/mame/includes/next.h b/src/mame/includes/next.h
index 09e221be65f..83f9ac25866 100644
--- a/src/mame/includes/next.h
+++ b/src/mame/includes/next.h
@@ -21,7 +21,7 @@
class next_state : public driver_device
{
public:
- next_state(const machine_config &mconfig, device_type type, const char *tag)
+ next_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
maincpu(*this, "maincpu"),
rtc(*this, "rtc"),
diff --git a/src/mame/includes/ninjakd2.h b/src/mame/includes/ninjakd2.h
index 45f35a3d42c..e52b077500e 100644
--- a/src/mame/includes/ninjakd2.h
+++ b/src/mame/includes/ninjakd2.h
@@ -11,7 +11,7 @@
class ninjakd2_state : public driver_device
{
public:
- ninjakd2_state(const machine_config &mconfig, device_type type, const char *tag)
+ ninjakd2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/ninjaw.h b/src/mame/includes/ninjaw.h
index 2c1dc94e902..e65b0e03f65 100644
--- a/src/mame/includes/ninjaw.h
+++ b/src/mame/includes/ninjaw.h
@@ -16,7 +16,7 @@
class ninjaw_state : public driver_device
{
public:
- ninjaw_state(const machine_config &mconfig, device_type type, const char *tag)
+ ninjaw_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/includes/nitedrvr.h b/src/mame/includes/nitedrvr.h
index 7084c08c077..4ad7fcf3540 100644
--- a/src/mame/includes/nitedrvr.h
+++ b/src/mame/includes/nitedrvr.h
@@ -20,7 +20,7 @@
class nitedrvr_state : public driver_device
{
public:
- nitedrvr_state(const machine_config &mconfig, device_type type, const char *tag)
+ nitedrvr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_hvc(*this, "hvc"),
diff --git a/src/mame/includes/niyanpai.h b/src/mame/includes/niyanpai.h
index 2115240a0da..27ba0ed18ca 100644
--- a/src/mame/includes/niyanpai.h
+++ b/src/mame/includes/niyanpai.h
@@ -12,7 +12,7 @@ public:
TIMER_BLITTER
};
- niyanpai_state(const machine_config &mconfig, device_type type, const char *tag)
+ niyanpai_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_tmp68301(*this, "tmp68301"),
diff --git a/src/mame/includes/nmk16.h b/src/mame/includes/nmk16.h
index 269db67fc82..dc71e964979 100644
--- a/src/mame/includes/nmk16.h
+++ b/src/mame/includes/nmk16.h
@@ -8,7 +8,7 @@
class nmk16_state : public driver_device
{
public:
- nmk16_state(const machine_config &mconfig, device_type type, const char *tag)
+ nmk16_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/norautp.h b/src/mame/includes/norautp.h
index 0053087ec91..1f9a4aa6e01 100644
--- a/src/mame/includes/norautp.h
+++ b/src/mame/includes/norautp.h
@@ -11,7 +11,7 @@
class norautp_state : public driver_device
{
public:
- norautp_state(const machine_config &mconfig, device_type type, const char *tag)
+ norautp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_discrete(*this, "discrete"),
diff --git a/src/mame/includes/nova2001.h b/src/mame/includes/nova2001.h
index 497a337c4e5..16a93407536 100644
--- a/src/mame/includes/nova2001.h
+++ b/src/mame/includes/nova2001.h
@@ -3,7 +3,7 @@
class nova2001_state : public driver_device
{
public:
- nova2001_state(const machine_config &mconfig, device_type type, const char *tag)
+ nova2001_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/nycaptor.h b/src/mame/includes/nycaptor.h
index 893014050cd..d51429d6c1b 100644
--- a/src/mame/includes/nycaptor.h
+++ b/src/mame/includes/nycaptor.h
@@ -5,7 +5,7 @@
class nycaptor_state : public driver_device
{
public:
- nycaptor_state(const machine_config &mconfig, device_type type, const char *tag)
+ nycaptor_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_scrlram(*this, "scrlram"),
diff --git a/src/mame/includes/ob68k1a.h b/src/mame/includes/ob68k1a.h
index 88f57f52d82..d178cef7570 100644
--- a/src/mame/includes/ob68k1a.h
+++ b/src/mame/includes/ob68k1a.h
@@ -26,7 +26,7 @@
class ob68k1a_state : public driver_device
{
public:
- ob68k1a_state(const machine_config &mconfig, device_type type, const char *tag)
+ ob68k1a_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, MC68000L10_TAG),
m_dbrg(*this, COM8116_TAG),
diff --git a/src/mame/includes/offtwall.h b/src/mame/includes/offtwall.h
index 1e8ce7c8441..5505c76c1eb 100644
--- a/src/mame/includes/offtwall.h
+++ b/src/mame/includes/offtwall.h
@@ -13,7 +13,7 @@
class offtwall_state : public atarigen_state
{
public:
- offtwall_state(const machine_config &mconfig, device_type type, const char *tag)
+ offtwall_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_jsa(*this, "jsa"),
m_vad(*this, "vad"),
diff --git a/src/mame/includes/ohmygod.h b/src/mame/includes/ohmygod.h
index 86986de1b99..183206e0d8c 100644
--- a/src/mame/includes/ohmygod.h
+++ b/src/mame/includes/ohmygod.h
@@ -9,7 +9,7 @@
class ohmygod_state : public driver_device
{
public:
- ohmygod_state(const machine_config &mconfig, device_type type, const char *tag)
+ ohmygod_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/ojankohs.h b/src/mame/includes/ojankohs.h
index 65c7e36bd9c..b7ae669091a 100644
--- a/src/mame/includes/ojankohs.h
+++ b/src/mame/includes/ojankohs.h
@@ -10,7 +10,7 @@
class ojankohs_state : public driver_device
{
public:
- ojankohs_state(const machine_config &mconfig, device_type type, const char *tag)
+ ojankohs_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/ondra.h b/src/mame/includes/ondra.h
index 9277b907e4f..035ac0c2c32 100644
--- a/src/mame/includes/ondra.h
+++ b/src/mame/includes/ondra.h
@@ -15,7 +15,7 @@
class ondra_state : public driver_device
{
public:
- ondra_state(const machine_config &mconfig, device_type type, const char *tag)
+ ondra_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cassette(*this, "cassette"),
diff --git a/src/mame/includes/oneshot.h b/src/mame/includes/oneshot.h
index c7f854e6a09..4c04370bad3 100644
--- a/src/mame/includes/oneshot.h
+++ b/src/mame/includes/oneshot.h
@@ -5,7 +5,7 @@
class oneshot_state : public driver_device
{
public:
- oneshot_state(const machine_config &mconfig, device_type type, const char *tag)
+ oneshot_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_sprites(*this, "sprites"),
m_bg_videoram(*this, "bg_videoram"),
diff --git a/src/mame/includes/opwolf.h b/src/mame/includes/opwolf.h
index e93ab442abd..8443deaa84e 100644
--- a/src/mame/includes/opwolf.h
+++ b/src/mame/includes/opwolf.h
@@ -18,7 +18,7 @@ public:
TIMER_CCHIP
};
- opwolf_state(const machine_config &mconfig, device_type type, const char *tag)
+ opwolf_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cchip_ram(*this, "cchip_ram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/orao.h b/src/mame/includes/orao.h
index 9707d6019f1..df0a5f767ef 100644
--- a/src/mame/includes/orao.h
+++ b/src/mame/includes/orao.h
@@ -14,7 +14,7 @@
class orao_state : public driver_device
{
public:
- orao_state(const machine_config &mconfig, device_type type, const char *tag)
+ orao_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_memory(*this, "memory"),
m_video_ram(*this, "video_ram"),
diff --git a/src/mame/includes/orbit.h b/src/mame/includes/orbit.h
index 1095f531f04..a29afdd96c1 100644
--- a/src/mame/includes/orbit.h
+++ b/src/mame/includes/orbit.h
@@ -20,7 +20,7 @@
class orbit_state : public driver_device
{
public:
- orbit_state(const machine_config &mconfig, device_type type, const char *tag)
+ orbit_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_playfield_ram(*this, "playfield_ram"),
m_sprite_ram(*this, "sprite_ram"),
diff --git a/src/mame/includes/orion.h b/src/mame/includes/orion.h
index 5d6a57058be..286d43af94e 100644
--- a/src/mame/includes/orion.h
+++ b/src/mame/includes/orion.h
@@ -24,7 +24,7 @@
class orion_state : public radio86_state
{
public:
- orion_state(const machine_config &mconfig, device_type type, const char *tag)
+ orion_state(const machine_config &mconfig, device_type type, std::string tag)
: radio86_state(mconfig, type, tag)
, m_fdc(*this, "fd1793")
, m_ram(*this, RAM_TAG)
diff --git a/src/mame/includes/osborne1.h b/src/mame/includes/osborne1.h
index 7a7e6d64a84..ee7da6ae3d4 100644
--- a/src/mame/includes/osborne1.h
+++ b/src/mame/includes/osborne1.h
@@ -27,7 +27,7 @@ public:
TIMER_ACIA_RXC_TXC
};
- osborne1_state(const machine_config &mconfig, device_type type, const char *tag) :
+ osborne1_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/osi.h b/src/mame/includes/osi.h
index 43485a7a5f4..bac2769faa7 100644
--- a/src/mame/includes/osi.h
+++ b/src/mame/includes/osi.h
@@ -30,7 +30,7 @@
class sb2m600_state : public driver_device
{
public:
- sb2m600_state(const machine_config &mconfig, device_type type, const char *tag) :
+ sb2m600_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, M6502_TAG),
m_acia_0(*this, "acia_0"),
@@ -108,7 +108,7 @@ protected:
class c1p_state : public sb2m600_state
{
public:
- c1p_state(const machine_config &mconfig, device_type type, const char *tag) :
+ c1p_state(const machine_config &mconfig, device_type type, std::string tag) :
sb2m600_state(mconfig, type, tag),
m_beep(*this, "beeper")
{
@@ -126,7 +126,7 @@ public:
class c1pmf_state : public c1p_state
{
public:
- c1pmf_state(const machine_config &mconfig, device_type type, const char *tag) :
+ c1pmf_state(const machine_config &mconfig, device_type type, std::string tag) :
c1p_state(mconfig, type, tag),
m_floppy0(*this, "floppy0"),
m_floppy1(*this, "floppy1")
@@ -148,7 +148,7 @@ private:
class uk101_state : public sb2m600_state
{
public:
- uk101_state(const machine_config &mconfig, device_type type, const char *tag) :
+ uk101_state(const machine_config &mconfig, device_type type, std::string tag) :
sb2m600_state(mconfig, type, tag)
{
}
diff --git a/src/mame/includes/othunder.h b/src/mame/includes/othunder.h
index d730f4fbc7b..86bad52e905 100644
--- a/src/mame/includes/othunder.h
+++ b/src/mame/includes/othunder.h
@@ -33,7 +33,7 @@ public:
TIMER_AD_INTERRUPT
};
- othunder_state(const machine_config &mconfig, device_type type, const char *tag)
+ othunder_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this,"spriteram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/overdriv.h b/src/mame/includes/overdriv.h
index ad0cceba7a7..892caddc3c7 100644
--- a/src/mame/includes/overdriv.h
+++ b/src/mame/includes/overdriv.h
@@ -14,7 +14,7 @@
class overdriv_state : public driver_device
{
public:
- overdriv_state(const machine_config &mconfig, device_type type, const char *tag)
+ overdriv_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/includes/p2000t.h b/src/mame/includes/p2000t.h
index 0548f661356..062d386cc4a 100644
--- a/src/mame/includes/p2000t.h
+++ b/src/mame/includes/p2000t.h
@@ -18,7 +18,7 @@
class p2000t_state : public driver_device
{
public:
- p2000t_state(const machine_config &mconfig, device_type type, const char *tag)
+ p2000t_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker"),
diff --git a/src/mame/includes/pacland.h b/src/mame/includes/pacland.h
index 9c4eee41deb..7b3a24ad68b 100644
--- a/src/mame/includes/pacland.h
+++ b/src/mame/includes/pacland.h
@@ -5,7 +5,7 @@
class pacland_state : public driver_device
{
public:
- pacland_state(const machine_config &mconfig, device_type type, const char *tag)
+ pacland_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mcu(*this, "mcu"),
diff --git a/src/mame/includes/pacman.h b/src/mame/includes/pacman.h
index d62272914f5..970f94cbff9 100644
--- a/src/mame/includes/pacman.h
+++ b/src/mame/includes/pacman.h
@@ -11,7 +11,7 @@
class pacman_state : public driver_device
{
public:
- pacman_state(const machine_config &mconfig, device_type type, const char *tag)
+ pacman_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_namco_sound(*this, "namco"),
diff --git a/src/mame/includes/pandoras.h b/src/mame/includes/pandoras.h
index 8fb440f473f..9f623307f88 100644
--- a/src/mame/includes/pandoras.h
+++ b/src/mame/includes/pandoras.h
@@ -9,7 +9,7 @@
class pandoras_state : public driver_device
{
public:
- pandoras_state(const machine_config &mconfig, device_type type, const char *tag)
+ pandoras_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/paradise.h b/src/mame/includes/paradise.h
index 0d63f4f3ee0..98b27c4360a 100644
--- a/src/mame/includes/paradise.h
+++ b/src/mame/includes/paradise.h
@@ -5,7 +5,7 @@
class paradise_state : public driver_device
{
public:
- paradise_state(const machine_config &mconfig, device_type type, const char *tag)
+ paradise_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_oki2(*this, "oki2"),
diff --git a/src/mame/includes/parodius.h b/src/mame/includes/parodius.h
index e9fa82faa35..945b63a9ce2 100644
--- a/src/mame/includes/parodius.h
+++ b/src/mame/includes/parodius.h
@@ -20,7 +20,7 @@ public:
TIMER_NMI
};
- parodius_state(const machine_config &mconfig, device_type type, const char *tag)
+ parodius_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/partner.h b/src/mame/includes/partner.h
index f5eba1168f8..0d19898a1f1 100644
--- a/src/mame/includes/partner.h
+++ b/src/mame/includes/partner.h
@@ -16,7 +16,7 @@
class partner_state : public radio86_state
{
public:
- partner_state(const machine_config &mconfig, device_type type, const char *tag)
+ partner_state(const machine_config &mconfig, device_type type, std::string tag)
: radio86_state(mconfig, type, tag),
m_ram(*this, RAM_TAG),
m_fdc(*this, "wd1793") { }
diff --git a/src/mame/includes/pass.h b/src/mame/includes/pass.h
index e54f385787c..6f65fb91fc7 100644
--- a/src/mame/includes/pass.h
+++ b/src/mame/includes/pass.h
@@ -3,7 +3,7 @@
class pass_state : public driver_device
{
public:
- pass_state(const machine_config &mconfig, device_type type, const char *tag)
+ pass_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bg_videoram(*this, "bg_videoram"),
m_fg_videoram(*this, "fg_videoram"),
diff --git a/src/mame/includes/pastelg.h b/src/mame/includes/pastelg.h
index af0d87dc1f6..6e8eed670cc 100644
--- a/src/mame/includes/pastelg.h
+++ b/src/mame/includes/pastelg.h
@@ -10,7 +10,7 @@ public:
TIMER_BLITTER
};
- pastelg_state(const machine_config &mconfig, device_type type, const char *tag)
+ pastelg_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_nb1413m3(*this, "nb1413m3"),
diff --git a/src/mame/includes/pbaction.h b/src/mame/includes/pbaction.h
index 4fcd6b64574..92497a9df77 100644
--- a/src/mame/includes/pbaction.h
+++ b/src/mame/includes/pbaction.h
@@ -9,7 +9,7 @@
class pbaction_state : public driver_device
{
public:
- pbaction_state(const machine_config &mconfig, device_type type, const char *tag)
+ pbaction_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_videoram2(*this, "videoram2"),
diff --git a/src/mame/includes/pc1251.h b/src/mame/includes/pc1251.h
index 653342b6d17..53666cdeb62 100644
--- a/src/mame/includes/pc1251.h
+++ b/src/mame/includes/pc1251.h
@@ -26,7 +26,7 @@ public:
TIMER_POWER_UP
};
- pc1251_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc1251_state(const machine_config &mconfig, device_type type, std::string tag)
: pocketc_state(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/pc1350.h b/src/mame/includes/pc1350.h
index b52b8a53304..f6eaec4ef34 100644
--- a/src/mame/includes/pc1350.h
+++ b/src/mame/includes/pc1350.h
@@ -27,7 +27,7 @@ public:
TIMER_POWER_UP
};
- pc1350_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc1350_state(const machine_config &mconfig, device_type type, std::string tag)
: pocketc_state(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG) { }
diff --git a/src/mame/includes/pc1401.h b/src/mame/includes/pc1401.h
index 0ce077476ad..eb277f57797 100644
--- a/src/mame/includes/pc1401.h
+++ b/src/mame/includes/pc1401.h
@@ -26,7 +26,7 @@ public:
TIMER_POWER_UP
};
- pc1401_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc1401_state(const machine_config &mconfig, device_type type, std::string tag)
: pocketc_state(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/pc1403.h b/src/mame/includes/pc1403.h
index c5bdf2f943f..dcd836eceb0 100644
--- a/src/mame/includes/pc1403.h
+++ b/src/mame/includes/pc1403.h
@@ -26,7 +26,7 @@ public:
TIMER_POWER_UP
};
- pc1403_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc1403_state(const machine_config &mconfig, device_type type, std::string tag)
: pocketc_state(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/pc1512.h b/src/mame/includes/pc1512.h
index 2334e8c92d5..005ce1336bb 100644
--- a/src/mame/includes/pc1512.h
+++ b/src/mame/includes/pc1512.h
@@ -44,7 +44,7 @@
class pc1512_state : public driver_device
{
public:
- pc1512_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc1512_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, I8086_TAG),
m_dmac(*this, I8237A5_TAG),
@@ -230,7 +230,7 @@ public:
class pc1640_state : public pc1512_state
{
public:
- pc1640_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc1640_state(const machine_config &mconfig, device_type type, std::string tag)
: pc1512_state(mconfig, type, tag),
m_sw(*this, "SW"),
m_opt(0)
diff --git a/src/mame/includes/pc4.h b/src/mame/includes/pc4.h
index f2d6a8519b9..5327e0f774e 100644
--- a/src/mame/includes/pc4.h
+++ b/src/mame/includes/pc4.h
@@ -17,7 +17,7 @@
class pc4_state : public driver_device
{
public:
- pc4_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc4_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_beep(*this, "beeper"),
diff --git a/src/mame/includes/pc8001.h b/src/mame/includes/pc8001.h
index 76d3bafb529..5d708f6129c 100644
--- a/src/mame/includes/pc8001.h
+++ b/src/mame/includes/pc8001.h
@@ -31,7 +31,7 @@
class pc8001_state : public driver_device
{
public:
- pc8001_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc8001_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_rtc(*this, UPD1990A_TAG),
@@ -82,7 +82,7 @@ public:
class pc8001mk2_state : public pc8001_state
{
public:
- pc8001mk2_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc8001mk2_state(const machine_config &mconfig, device_type type, std::string tag)
: pc8001_state(mconfig, type, tag),
m_kanji_rom(*this, "kanji")
{ }
diff --git a/src/mame/includes/pc8401a.h b/src/mame/includes/pc8401a.h
index e7f63d2cad4..8df422b8fa3 100644
--- a/src/mame/includes/pc8401a.h
+++ b/src/mame/includes/pc8401a.h
@@ -35,7 +35,7 @@
class pc8401a_state : public driver_device
{
public:
- pc8401a_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc8401a_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_rtc(*this, UPD1990A_TAG),
@@ -99,7 +99,7 @@ public:
class pc8500_state : public pc8401a_state
{
public:
- pc8500_state(const machine_config &mconfig, device_type type, const char *tag)
+ pc8500_state(const machine_config &mconfig, device_type type, std::string tag)
: pc8401a_state(mconfig, type, tag)
{ }
diff --git a/src/mame/includes/pce.h b/src/mame/includes/pce.h
index 9d9a7d34b56..7958cf0f16c 100644
--- a/src/mame/includes/pce.h
+++ b/src/mame/includes/pce.h
@@ -33,7 +33,7 @@
class pce_state : public driver_device
{
public:
- pce_state(const machine_config &mconfig, device_type type, const char *tag)
+ pce_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cd_ram(*this, "cd_ram"),
diff --git a/src/mame/includes/pcktgal.h b/src/mame/includes/pcktgal.h
index 83133b3f612..92a581e422e 100644
--- a/src/mame/includes/pcktgal.h
+++ b/src/mame/includes/pcktgal.h
@@ -6,7 +6,7 @@
class pcktgal_state : public driver_device
{
public:
- pcktgal_state(const machine_config &mconfig, device_type type, const char *tag)
+ pcktgal_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/pcw.h b/src/mame/includes/pcw.h
index fb9b35b96e9..540d0970c0a 100644
--- a/src/mame/includes/pcw.h
+++ b/src/mame/includes/pcw.h
@@ -28,7 +28,7 @@
class pcw_state : public driver_device
{
public:
- pcw_state(const machine_config &mconfig, device_type type, const char *tag)
+ pcw_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_fdc(*this, "upd765"),
diff --git a/src/mame/includes/pcw16.h b/src/mame/includes/pcw16.h
index 3f611f878d5..d937ecc1eb4 100644
--- a/src/mame/includes/pcw16.h
+++ b/src/mame/includes/pcw16.h
@@ -34,7 +34,7 @@
class pcw16_state : public driver_device
{
public:
- pcw16_state(const machine_config &mconfig, device_type type, const char *tag)
+ pcw16_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_flash0(*this, "flash0"),
diff --git a/src/mame/includes/pdp1.h b/src/mame/includes/pdp1.h
index c1745369736..9f03942367b 100644
--- a/src/mame/includes/pdp1.h
+++ b/src/mame/includes/pdp1.h
@@ -235,7 +235,7 @@ struct lightpen_t
class pdp1_state : public driver_device
{
public:
- pdp1_state(const machine_config &mconfig, device_type type, const char *tag)
+ pdp1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/pecom.h b/src/mame/includes/pecom.h
index c8b9768bb31..81c92979992 100644
--- a/src/mame/includes/pecom.h
+++ b/src/mame/includes/pecom.h
@@ -16,7 +16,7 @@
class pecom_state : public driver_device
{
public:
- pecom_state(const machine_config &mconfig, device_type type, const char *tag)
+ pecom_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cdp1802(*this, CDP1802_TAG),
m_cdp1869(*this, CDP1869_TAG),
diff --git a/src/mame/includes/pes.h b/src/mame/includes/pes.h
index cd57dc3f772..8149037b4d0 100644
--- a/src/mame/includes/pes.h
+++ b/src/mame/includes/pes.h
@@ -20,7 +20,7 @@
class pes_state : public driver_device
{
public:
- pes_state(const machine_config &mconfig, device_type type, const char *tag)
+ pes_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG),
diff --git a/src/mame/includes/pet.h b/src/mame/includes/pet.h
index d4572a99c05..2324b149b85 100644
--- a/src/mame/includes/pet.h
+++ b/src/mame/includes/pet.h
@@ -36,7 +36,7 @@
class pet_state : public driver_device
{
public:
- pet_state(const machine_config &mconfig, device_type type, const char *tag) :
+ pet_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, M6502_TAG),
m_via(*this, M6522_TAG),
@@ -201,7 +201,7 @@ public:
class pet2001b_state : public pet_state
{
public:
- pet2001b_state(const machine_config &mconfig, device_type type, const char *tag) :
+ pet2001b_state(const machine_config &mconfig, device_type type, std::string tag) :
pet_state(mconfig, type, tag)
{ }
@@ -212,7 +212,7 @@ public:
class pet80_state : public pet2001b_state
{
public:
- pet80_state(const machine_config &mconfig, device_type type, const char *tag) :
+ pet80_state(const machine_config &mconfig, device_type type, std::string tag) :
pet2001b_state(mconfig, type, tag)
{ }
@@ -227,7 +227,7 @@ public:
class superpet_state : public pet80_state
{
public:
- superpet_state(const machine_config &mconfig, device_type type, const char *tag)
+ superpet_state(const machine_config &mconfig, device_type type, std::string tag)
: pet80_state(mconfig, type, tag)
{ }
};
@@ -236,7 +236,7 @@ public:
class cbm8096_state : public pet80_state
{
public:
- cbm8096_state(const machine_config &mconfig, device_type type, const char *tag) :
+ cbm8096_state(const machine_config &mconfig, device_type type, std::string tag) :
pet80_state(mconfig, type, tag)
{ }
};
@@ -245,7 +245,7 @@ public:
class cbm8296_state : public pet80_state
{
public:
- cbm8296_state(const machine_config &mconfig, device_type type, const char *tag) :
+ cbm8296_state(const machine_config &mconfig, device_type type, std::string tag) :
pet80_state(mconfig, type, tag),
m_basic_rom(*this, "basic"),
m_editor_rom(*this, "editor"),
diff --git a/src/mame/includes/pgm.h b/src/mame/includes/pgm.h
index 23f43937ff3..fec59357bcd 100644
--- a/src/mame/includes/pgm.h
+++ b/src/mame/includes/pgm.h
@@ -19,7 +19,7 @@
class pgm_state : public driver_device
{
public:
- pgm_state(const machine_config &mconfig, device_type type, const char *tag)
+ pgm_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoregs(*this, "videoregs"),
m_videoram(*this, "videoram"),
@@ -115,7 +115,7 @@ public:
class pgm_asic3_state : public pgm_state
{
public:
- pgm_asic3_state(const machine_config &mconfig, device_type type, const char *tag)
+ pgm_asic3_state(const machine_config &mconfig, device_type type, std::string tag)
: pgm_state(mconfig, type, tag) {
}
@@ -137,7 +137,7 @@ public:
class pgm_arm_type1_state : public pgm_state
{
public:
- pgm_arm_type1_state(const machine_config &mconfig, device_type type, const char *tag)
+ pgm_arm_type1_state(const machine_config &mconfig, device_type type, std::string tag)
: pgm_state(mconfig, type, tag),
m_arm7_shareram(*this, "arm7_shareram"),
m_prot(*this, "prot") {
@@ -263,7 +263,7 @@ public:
class pgm_arm_type2_state : public pgm_state
{
public:
- pgm_arm_type2_state(const machine_config &mconfig, device_type type, const char *tag)
+ pgm_arm_type2_state(const machine_config &mconfig, device_type type, std::string tag)
: pgm_state(mconfig, type, tag),
m_arm_ram(*this, "arm_ram"),
m_arm7_shareram(*this, "arm7_shareram"),
@@ -307,7 +307,7 @@ public:
class pgm_arm_type3_state : public pgm_state
{
public:
- pgm_arm_type3_state(const machine_config &mconfig, device_type type, const char *tag)
+ pgm_arm_type3_state(const machine_config &mconfig, device_type type, std::string tag)
: pgm_state(mconfig, type, tag),
m_arm_ram(*this, "arm_ram"),
m_arm_ram2(*this, "arm_ram2"),
@@ -367,7 +367,7 @@ public:
class pgm_022_025_state : public pgm_state
{
public:
- pgm_022_025_state(const machine_config &mconfig, device_type type, const char *tag)
+ pgm_022_025_state(const machine_config &mconfig, device_type type, std::string tag)
: pgm_state(mconfig, type, tag),
m_sharedprotram(*this, "sharedprotram"),
m_igs025(*this,"igs025"),
@@ -395,7 +395,7 @@ public:
class pgm_012_025_state : public pgm_state
{
public:
- pgm_012_025_state(const machine_config &mconfig, device_type type, const char *tag)
+ pgm_012_025_state(const machine_config &mconfig, device_type type, std::string tag)
: pgm_state(mconfig, type, tag),
m_igs025(*this,"igs025")
{
@@ -422,7 +422,7 @@ public:
class pgm_028_025_state : public pgm_state
{
public:
- pgm_028_025_state(const machine_config &mconfig, device_type type, const char *tag)
+ pgm_028_025_state(const machine_config &mconfig, device_type type, std::string tag)
: pgm_state(mconfig, type, tag),
m_sharedprotram(*this, "sharedprotram"),
m_igs025(*this,"igs025"),
diff --git a/src/mame/includes/phc25.h b/src/mame/includes/phc25.h
index 635e7cbeb70..545b5e705d7 100644
--- a/src/mame/includes/phc25.h
+++ b/src/mame/includes/phc25.h
@@ -27,7 +27,7 @@
class phc25_state : public driver_device
{
public:
- phc25_state(const machine_config &mconfig, device_type type, const char *tag)
+ phc25_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_video_ram(*this, "video_ram")
, m_maincpu(*this, Z80_TAG)
diff --git a/src/mame/includes/phoenix.h b/src/mame/includes/phoenix.h
index 0f423efea69..36ccbde6663 100644
--- a/src/mame/includes/phoenix.h
+++ b/src/mame/includes/phoenix.h
@@ -7,7 +7,7 @@
class phoenix_state : public driver_device
{
public:
- phoenix_state(const machine_config &mconfig, device_type type, const char *tag)
+ phoenix_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_pleiads_custom(*this, "pleiads_custom"),
@@ -83,7 +83,7 @@ class phoenix_sound_device : public device_t,
public device_sound_interface
{
public:
- phoenix_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ phoenix_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~phoenix_sound_device() {}
DECLARE_WRITE8_MEMBER( control_a_w );
diff --git a/src/mame/includes/pingpong.h b/src/mame/includes/pingpong.h
index afc47ef6ccc..63fc900ef73 100644
--- a/src/mame/includes/pingpong.h
+++ b/src/mame/includes/pingpong.h
@@ -3,7 +3,7 @@
class pingpong_state : public driver_device
{
public:
- pingpong_state(const machine_config &mconfig, device_type type, const char *tag)
+ pingpong_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/pirates.h b/src/mame/includes/pirates.h
index 20486d5b541..1767907a7b6 100644
--- a/src/mame/includes/pirates.h
+++ b/src/mame/includes/pirates.h
@@ -6,7 +6,7 @@
class pirates_state : public driver_device
{
public:
- pirates_state(const machine_config &mconfig, device_type type, const char *tag)
+ pirates_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_eeprom(*this, "eeprom"),
diff --git a/src/mame/includes/pitnrun.h b/src/mame/includes/pitnrun.h
index 91dadd7172e..96c407148f8 100644
--- a/src/mame/includes/pitnrun.h
+++ b/src/mame/includes/pitnrun.h
@@ -3,7 +3,7 @@
class pitnrun_state : public driver_device
{
public:
- pitnrun_state(const machine_config &mconfig, device_type type, const char *tag)
+ pitnrun_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mcu(*this, "mcu"),
diff --git a/src/mame/includes/pk8000.h b/src/mame/includes/pk8000.h
index ad895850537..4bff9b5b0c3 100644
--- a/src/mame/includes/pk8000.h
+++ b/src/mame/includes/pk8000.h
@@ -3,7 +3,7 @@
class pk8000_base_state : public driver_device
{
public:
- pk8000_base_state(const machine_config &mconfig, device_type type, const char *tag)
+ pk8000_base_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu") { }
diff --git a/src/mame/includes/pk8020.h b/src/mame/includes/pk8020.h
index d8de9284db6..34d96f4766e 100644
--- a/src/mame/includes/pk8020.h
+++ b/src/mame/includes/pk8020.h
@@ -23,7 +23,7 @@
class pk8020_state : public driver_device
{
public:
- pk8020_state(const machine_config &mconfig, device_type type, const char *tag)
+ pk8020_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ppi8255_1(*this, "ppi8255_1"),
diff --git a/src/mame/includes/pktgaldx.h b/src/mame/includes/pktgaldx.h
index 5f0b0e76b94..0eacd97cd01 100644
--- a/src/mame/includes/pktgaldx.h
+++ b/src/mame/includes/pktgaldx.h
@@ -14,7 +14,7 @@
class pktgaldx_state : public driver_device
{
public:
- pktgaldx_state(const machine_config &mconfig, device_type type, const char *tag)
+ pktgaldx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_deco104(*this, "ioprot104"),
m_pf1_rowscroll(*this, "pf1_rowscroll"),
diff --git a/src/mame/includes/playch10.h b/src/mame/includes/playch10.h
index c69f07cd514..efad96194a3 100644
--- a/src/mame/includes/playch10.h
+++ b/src/mame/includes/playch10.h
@@ -12,7 +12,7 @@ struct chr_bank
class playch10_state : public driver_device
{
public:
- playch10_state(const machine_config &mconfig, device_type type, const char *tag)
+ playch10_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ppu(*this, "ppu"),
diff --git a/src/mame/includes/playmark.h b/src/mame/includes/playmark.h
index 2d609ea518f..aafef470b2b 100644
--- a/src/mame/includes/playmark.h
+++ b/src/mame/includes/playmark.h
@@ -7,7 +7,7 @@
class playmark_state : public driver_device
{
public:
- playmark_state(const machine_config &mconfig, device_type type, const char *tag)
+ playmark_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bgvideoram(*this, "bgvideoram"),
m_videoram1(*this, "videoram1"),
diff --git a/src/mame/includes/plus4.h b/src/mame/includes/plus4.h
index fbd590c9601..a59d0f59aee 100644
--- a/src/mame/includes/plus4.h
+++ b/src/mame/includes/plus4.h
@@ -36,7 +36,7 @@
class plus4_state : public driver_device
{
public:
- plus4_state(const machine_config &mconfig, device_type type, const char *tag)
+ plus4_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, MOS7501_TAG),
m_pla(*this, PLA_TAG),
@@ -161,7 +161,7 @@ public:
class c16_state : public plus4_state
{
public:
- c16_state(const machine_config &mconfig, device_type type, const char *tag)
+ c16_state(const machine_config &mconfig, device_type type, std::string tag)
: plus4_state(mconfig, type, tag)
{ }
diff --git a/src/mame/includes/plygonet.h b/src/mame/includes/plygonet.h
index 91caec85865..76fdd5c8650 100644
--- a/src/mame/includes/plygonet.h
+++ b/src/mame/includes/plygonet.h
@@ -14,7 +14,7 @@ static const UINT16 dsp56k_bank04_size = 0x1fc0;
class polygonet_state : public driver_device
{
public:
- polygonet_state(const machine_config &mconfig, device_type type, const char *tag)
+ polygonet_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/pmd85.h b/src/mame/includes/pmd85.h
index 691b382a478..8b02cfedcaf 100644
--- a/src/mame/includes/pmd85.h
+++ b/src/mame/includes/pmd85.h
@@ -24,7 +24,7 @@ public:
TIMER_CASSETTE
};
- pmd85_state(const machine_config &mconfig, device_type type, const char *tag)
+ pmd85_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/includes/pocketc.h b/src/mame/includes/pocketc.h
index 5edc361dc70..02d193b4750 100644
--- a/src/mame/includes/pocketc.h
+++ b/src/mame/includes/pocketc.h
@@ -14,7 +14,7 @@ typedef const char *POCKETC_FIGURE[];
class pocketc_state : public driver_device
{
public:
- pocketc_state(const machine_config &mconfig, device_type type, const char *tag)
+ pocketc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) { }
DECLARE_PALETTE_INIT(pocketc);
diff --git a/src/mame/includes/poisk1.h b/src/mame/includes/poisk1.h
index 57a24f0c052..aae7313b172 100644
--- a/src/mame/includes/poisk1.h
+++ b/src/mame/includes/poisk1.h
@@ -24,7 +24,7 @@
class p1_state : public driver_device
{
public:
- p1_state(const machine_config &mconfig, device_type type, const char *tag)
+ p1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pic8259(*this, "pic8259"),
diff --git a/src/mame/includes/pokechmp.h b/src/mame/includes/pokechmp.h
index a4cf94fd34f..6650b73209d 100644
--- a/src/mame/includes/pokechmp.h
+++ b/src/mame/includes/pokechmp.h
@@ -3,7 +3,7 @@
class pokechmp_state : public driver_device
{
public:
- pokechmp_state(const machine_config &mconfig, device_type type, const char *tag)
+ pokechmp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/polepos.h b/src/mame/includes/polepos.h
index 16f0963c709..09fc149b6c9 100644
--- a/src/mame/includes/polepos.h
+++ b/src/mame/includes/polepos.h
@@ -15,7 +15,7 @@
class polepos_state : public driver_device
{
public:
- polepos_state(const machine_config &mconfig, device_type type, const char *tag)
+ polepos_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
@@ -114,7 +114,7 @@ class polepos_sound_device : public device_t,
public device_sound_interface
{
public:
- polepos_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ polepos_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~polepos_sound_device() { }
protected:
diff --git a/src/mame/includes/policetr.h b/src/mame/includes/policetr.h
index 9525c9a21a7..8efab248691 100644
--- a/src/mame/includes/policetr.h
+++ b/src/mame/includes/policetr.h
@@ -14,7 +14,7 @@ public:
TIMER_IRQ5_GEN
};
- policetr_state(const machine_config &mconfig, device_type type, const char *tag)
+ policetr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_rambase(*this, "rambase"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/poly88.h b/src/mame/includes/poly88.h
index 9a3dc93f135..a654e77e15f 100644
--- a/src/mame/includes/poly88.h
+++ b/src/mame/includes/poly88.h
@@ -23,7 +23,7 @@ public:
TIMER_CASSETTE
};
- poly88_state(const machine_config &mconfig, device_type type, const char *tag)
+ poly88_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_video_ram(*this, "video_ram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/poly880.h b/src/mame/includes/poly880.h
index 6245a728a9c..6362dd2324a 100644
--- a/src/mame/includes/poly880.h
+++ b/src/mame/includes/poly880.h
@@ -23,7 +23,7 @@
class poly880_state : public driver_device
{
public:
- poly880_state(const machine_config &mconfig, device_type type, const char *tag)
+ poly880_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_cassette(*this, "cassette"),
diff --git a/src/mame/includes/polyplay.h b/src/mame/includes/polyplay.h
index fd223ee5026..08d7f4af167 100644
--- a/src/mame/includes/polyplay.h
+++ b/src/mame/includes/polyplay.h
@@ -7,7 +7,7 @@
class polyplay_state : public driver_device
{
public:
- polyplay_state(const machine_config &mconfig, device_type type, const char *tag)
+ polyplay_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_characterram(*this, "characterram"),
diff --git a/src/mame/includes/poolshrk.h b/src/mame/includes/poolshrk.h
index c6196e08d55..cfd0b910869 100644
--- a/src/mame/includes/poolshrk.h
+++ b/src/mame/includes/poolshrk.h
@@ -13,7 +13,7 @@
class poolshrk_state : public driver_device
{
public:
- poolshrk_state(const machine_config &mconfig, device_type type, const char *tag)
+ poolshrk_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/pooyan.h b/src/mame/includes/pooyan.h
index 3eb5fb91808..fc9b87870c1 100644
--- a/src/mame/includes/pooyan.h
+++ b/src/mame/includes/pooyan.h
@@ -3,7 +3,7 @@
class pooyan_state : public driver_device
{
public:
- pooyan_state(const machine_config &mconfig, device_type type, const char *tag)
+ pooyan_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/popeye.h b/src/mame/includes/popeye.h
index c7eee33bf4d..85219661996 100644
--- a/src/mame/includes/popeye.h
+++ b/src/mame/includes/popeye.h
@@ -3,7 +3,7 @@
class popeye_state : public driver_device
{
public:
- popeye_state(const machine_config &mconfig, device_type type, const char *tag)
+ popeye_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_background_pos(*this, "background_pos"),
m_palettebank(*this, "palettebank"),
diff --git a/src/mame/includes/popper.h b/src/mame/includes/popper.h
index 9ef9f287e95..4dd2efc481d 100644
--- a/src/mame/includes/popper.h
+++ b/src/mame/includes/popper.h
@@ -9,7 +9,7 @@
class popper_state : public driver_device
{
public:
- popper_state(const machine_config &mconfig, device_type type, const char *tag)
+ popper_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ol_videoram(*this, "ol_videoram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/portfoli.h b/src/mame/includes/portfoli.h
index 7070f734e42..00de2679edc 100644
--- a/src/mame/includes/portfoli.h
+++ b/src/mame/includes/portfoli.h
@@ -30,7 +30,7 @@
class portfolio_state : public driver_device
{
public:
- portfolio_state(const machine_config &mconfig, device_type type, const char *tag)
+ portfolio_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, M80C88A_TAG),
m_lcdc(*this, HD61830_TAG),
diff --git a/src/mame/includes/portrait.h b/src/mame/includes/portrait.h
index 6d978f630fd..e5b789e8a3d 100644
--- a/src/mame/includes/portrait.h
+++ b/src/mame/includes/portrait.h
@@ -5,7 +5,7 @@
class portrait_state : public driver_device
{
public:
- portrait_state(const machine_config &mconfig, device_type type, const char *tag)
+ portrait_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/powerins.h b/src/mame/includes/powerins.h
index 1b6e5a65f99..fdfcf81201e 100644
--- a/src/mame/includes/powerins.h
+++ b/src/mame/includes/powerins.h
@@ -5,7 +5,7 @@
class powerins_state : public driver_device
{
public:
- powerins_state(const machine_config &mconfig, device_type type, const char *tag)
+ powerins_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/pp01.h b/src/mame/includes/pp01.h
index e8e15fce57e..7a0905ba6cb 100644
--- a/src/mame/includes/pp01.h
+++ b/src/mame/includes/pp01.h
@@ -22,7 +22,7 @@
class pp01_state : public driver_device
{
public:
- pp01_state(const machine_config &mconfig, device_type type, const char *tag)
+ pp01_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pit(*this, "pit8253"),
diff --git a/src/mame/includes/prehisle.h b/src/mame/includes/prehisle.h
index 1b3d1c0a35d..c45d25bba48 100644
--- a/src/mame/includes/prehisle.h
+++ b/src/mame/includes/prehisle.h
@@ -5,7 +5,7 @@
class prehisle_state : public driver_device
{
public:
- prehisle_state(const machine_config &mconfig, device_type type, const char *tag)
+ prehisle_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_tx_vram(*this, "tx_vram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/primo.h b/src/mame/includes/primo.h
index ee12938af28..34d9c50f34d 100644
--- a/src/mame/includes/primo.h
+++ b/src/mame/includes/primo.h
@@ -20,7 +20,7 @@
class primo_state : public driver_device
{
public:
- primo_state(const machine_config &mconfig, device_type type, const char *tag)
+ primo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_iec(*this, CBM_IEC_TAG),
diff --git a/src/mame/includes/prof180x.h b/src/mame/includes/prof180x.h
index 7caadfc1345..0ceb6a09b48 100644
--- a/src/mame/includes/prof180x.h
+++ b/src/mame/includes/prof180x.h
@@ -15,7 +15,7 @@
class prof180x_state : public driver_device
{
public:
- prof180x_state(const machine_config &mconfig, device_type type, const char *tag)
+ prof180x_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_centronics(*this, CENTRONICS_TAG)
{
diff --git a/src/mame/includes/prof80.h b/src/mame/includes/prof80.h
index faa9d7be323..efe43d1d1d8 100644
--- a/src/mame/includes/prof80.h
+++ b/src/mame/includes/prof80.h
@@ -33,7 +33,7 @@
class prof80_state : public driver_device
{
public:
- prof80_state(const machine_config &mconfig, device_type type, const char *tag)
+ prof80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_mmu(*this, MMU_TAG),
diff --git a/src/mame/includes/psikyo.h b/src/mame/includes/psikyo.h
index 9d0f2f6b69e..d87e36ef2a8 100644
--- a/src/mame/includes/psikyo.h
+++ b/src/mame/includes/psikyo.h
@@ -10,7 +10,7 @@
class psikyo_state : public driver_device
{
public:
- psikyo_state(const machine_config &mconfig, device_type type, const char *tag)
+ psikyo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_vram_0(*this, "vram_0"),
diff --git a/src/mame/includes/psikyo4.h b/src/mame/includes/psikyo4.h
index 6005905e38a..20f986aa3a5 100644
--- a/src/mame/includes/psikyo4.h
+++ b/src/mame/includes/psikyo4.h
@@ -16,7 +16,7 @@
class psikyo4_state : public driver_device
{
public:
- psikyo4_state(const machine_config &mconfig, device_type type, const char *tag)
+ psikyo4_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_vidregs(*this, "vidregs"),
diff --git a/src/mame/includes/psikyosh.h b/src/mame/includes/psikyosh.h
index 4332eb98ab6..47531c5fbf1 100644
--- a/src/mame/includes/psikyosh.h
+++ b/src/mame/includes/psikyosh.h
@@ -25,7 +25,7 @@
class psikyosh_state : public driver_device
{
public:
- psikyosh_state(const machine_config &mconfig, device_type type, const char *tag)
+ psikyosh_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram") ,
m_bgram(*this, "bgram"),
diff --git a/src/mame/includes/psion.h b/src/mame/includes/psion.h
index bf09325add0..9371e168326 100644
--- a/src/mame/includes/psion.h
+++ b/src/mame/includes/psion.h
@@ -23,7 +23,7 @@
class psion_state : public driver_device
{
public:
- psion_state(const machine_config &mconfig, device_type type, const char *tag)
+ psion_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_lcdc(*this, "hd44780"),
@@ -88,7 +88,7 @@ public:
class psion1_state : public psion_state
{
public:
- psion1_state(const machine_config &mconfig, device_type type, const char *tag)
+ psion1_state(const machine_config &mconfig, device_type type, std::string tag)
: psion_state(mconfig, type, tag)
{ }
diff --git a/src/mame/includes/psychic5.h b/src/mame/includes/psychic5.h
index 3430fb2d3aa..b5c173d5092 100644
--- a/src/mame/includes/psychic5.h
+++ b/src/mame/includes/psychic5.h
@@ -6,7 +6,7 @@
class psychic5_state : public driver_device
{
public:
- psychic5_state(const machine_config &mconfig, device_type type, const char *tag)
+ psychic5_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/punchout.h b/src/mame/includes/punchout.h
index b8e3bf4cd43..ca0fad05d3b 100644
--- a/src/mame/includes/punchout.h
+++ b/src/mame/includes/punchout.h
@@ -13,7 +13,7 @@
class punchout_state : public driver_device
{
public:
- punchout_state(const machine_config &mconfig, device_type type, const char *tag)
+ punchout_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/px8.h b/src/mame/includes/px8.h
index 8ce81932b28..3ad1cb54650 100644
--- a/src/mame/includes/px8.h
+++ b/src/mame/includes/px8.h
@@ -31,7 +31,7 @@
class px8_state : public driver_device
{
public:
- px8_state(const machine_config &mconfig, device_type type, const char *tag)
+ px8_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, UPD70008_TAG),
m_cassette(*this, "cassette"),
diff --git a/src/mame/includes/qdrmfgp.h b/src/mame/includes/qdrmfgp.h
index 5c8968e12ee..2a696cb7288 100644
--- a/src/mame/includes/qdrmfgp.h
+++ b/src/mame/includes/qdrmfgp.h
@@ -9,7 +9,7 @@
class qdrmfgp_state : public driver_device
{
public:
- qdrmfgp_state(const machine_config &mconfig, device_type type, const char *tag)
+ qdrmfgp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_nvram(*this, "nvram"),
diff --git a/src/mame/includes/qix.h b/src/mame/includes/qix.h
index 9ac434a1f85..7960e03d5ae 100644
--- a/src/mame/includes/qix.h
+++ b/src/mame/includes/qix.h
@@ -24,7 +24,7 @@
class qix_state : public driver_device
{
public:
- qix_state(const machine_config &mconfig, device_type type, const char *tag)
+ qix_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/ql.h b/src/mame/includes/ql.h
index 3e0d2d082ee..c0a7a032350 100644
--- a/src/mame/includes/ql.h
+++ b/src/mame/includes/ql.h
@@ -37,7 +37,7 @@
class ql_state : public driver_device
{
public:
- ql_state(const machine_config &mconfig, device_type type, const char *tag) :
+ ql_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, M68008_TAG),
m_ipc(*this, I8749_TAG),
diff --git a/src/mame/includes/quasar.h b/src/mame/includes/quasar.h
index 3c8569c4626..7a206207cb3 100644
--- a/src/mame/includes/quasar.h
+++ b/src/mame/includes/quasar.h
@@ -11,7 +11,7 @@
class quasar_state : public cvs_state
{
public:
- quasar_state(const machine_config &mconfig, device_type type, const char *tag)
+ quasar_state(const machine_config &mconfig, device_type type, std::string tag)
: cvs_state(mconfig, type, tag) { }
std::unique_ptr<UINT8[]> m_effectram;
diff --git a/src/mame/includes/quizdna.h b/src/mame/includes/quizdna.h
index 7d4bf69ac9c..ae38db454ea 100644
--- a/src/mame/includes/quizdna.h
+++ b/src/mame/includes/quizdna.h
@@ -3,7 +3,7 @@
class quizdna_state : public driver_device
{
public:
- quizdna_state(const machine_config &mconfig, device_type type, const char *tag)
+ quizdna_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/quizpani.h b/src/mame/includes/quizpani.h
index 12ae17965d1..592851bc921 100644
--- a/src/mame/includes/quizpani.h
+++ b/src/mame/includes/quizpani.h
@@ -5,7 +5,7 @@
class quizpani_state : public driver_device
{
public:
- quizpani_state(const machine_config &mconfig, device_type type, const char *tag)
+ quizpani_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/radio86.h b/src/mame/includes/radio86.h
index 8985e1692f6..5f57cd339b6 100644
--- a/src/mame/includes/radio86.h
+++ b/src/mame/includes/radio86.h
@@ -25,7 +25,7 @@ public:
TIMER_RESET
};
- radio86_state(const machine_config &mconfig, device_type type, const char *tag)
+ radio86_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cassette(*this, "cassette"),
diff --git a/src/mame/includes/raiden.h b/src/mame/includes/raiden.h
index ab809bc8552..02eed6b9f42 100644
--- a/src/mame/includes/raiden.h
+++ b/src/mame/includes/raiden.h
@@ -12,7 +12,7 @@
class raiden_state : public driver_device
{
public:
- raiden_state(const machine_config &mconfig, device_type type, const char *tag)
+ raiden_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_seibu_sound(*this, "seibu_sound"),
diff --git a/src/mame/includes/raiden2.h b/src/mame/includes/raiden2.h
index 0cedfb94a78..17f87813ee4 100644
--- a/src/mame/includes/raiden2.h
+++ b/src/mame/includes/raiden2.h
@@ -7,7 +7,7 @@
class raiden2_state : public driver_device
{
public:
- raiden2_state(const machine_config &mconfig, device_type type, const char *tag)
+ raiden2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
/*
back_data(*this, "back_data"),
diff --git a/src/mame/includes/rallyx.h b/src/mame/includes/rallyx.h
index cf56d22ef3a..e9f6ca68bac 100644
--- a/src/mame/includes/rallyx.h
+++ b/src/mame/includes/rallyx.h
@@ -14,7 +14,7 @@ struct jungler_star
class rallyx_state : public driver_device
{
public:
- rallyx_state(const machine_config &mconfig, device_type type, const char *tag)
+ rallyx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_radarattr(*this, "radarattr"),
diff --git a/src/mame/includes/rampart.h b/src/mame/includes/rampart.h
index d7e62bc9b39..b275d145c8f 100644
--- a/src/mame/includes/rampart.h
+++ b/src/mame/includes/rampart.h
@@ -13,7 +13,7 @@
class rampart_state : public atarigen_state
{
public:
- rampart_state(const machine_config &mconfig, device_type type, const char *tag)
+ rampart_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_mob(*this, "mob"),
m_oki(*this, "oki"),
diff --git a/src/mame/includes/rastan.h b/src/mame/includes/rastan.h
index 4d4771a407d..b06cd58b0f8 100644
--- a/src/mame/includes/rastan.h
+++ b/src/mame/includes/rastan.h
@@ -12,7 +12,7 @@
class rastan_state : public driver_device
{
public:
- rastan_state(const machine_config &mconfig, device_type type, const char *tag)
+ rastan_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/rbisland.h b/src/mame/includes/rbisland.h
index 0fa8a251740..f98ecba0ab7 100644
--- a/src/mame/includes/rbisland.h
+++ b/src/mame/includes/rbisland.h
@@ -12,7 +12,7 @@
class rbisland_state : public driver_device
{
public:
- rbisland_state(const machine_config &mconfig, device_type type, const char *tag)
+ rbisland_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/realbrk.h b/src/mame/includes/realbrk.h
index 4b3c3d9689a..eb037452d28 100644
--- a/src/mame/includes/realbrk.h
+++ b/src/mame/includes/realbrk.h
@@ -5,7 +5,7 @@
class realbrk_state : public driver_device
{
public:
- realbrk_state(const machine_config &mconfig, device_type type, const char *tag)
+ realbrk_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_tmp68301(*this, "tmp68301"),
diff --git a/src/mame/includes/redalert.h b/src/mame/includes/redalert.h
index c3aeb7be441..908448882e4 100644
--- a/src/mame/includes/redalert.h
+++ b/src/mame/includes/redalert.h
@@ -14,7 +14,7 @@
class redalert_state : public driver_device
{
public:
- redalert_state(const machine_config &mconfig, device_type type, const char *tag)
+ redalert_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bitmap_videoram(*this, "bitmap_videoram"),
m_charmap_videoram(*this, "charram"),
diff --git a/src/mame/includes/relief.h b/src/mame/includes/relief.h
index cae4ad37e3d..7727a3f336a 100644
--- a/src/mame/includes/relief.h
+++ b/src/mame/includes/relief.h
@@ -12,7 +12,7 @@
class relief_state : public atarigen_state
{
public:
- relief_state(const machine_config &mconfig, device_type type, const char *tag)
+ relief_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_vad(*this, "vad"),
m_okibank(*this, "okibank")
diff --git a/src/mame/includes/renegade.h b/src/mame/includes/renegade.h
index fc619d2c8be..fd4273a0065 100644
--- a/src/mame/includes/renegade.h
+++ b/src/mame/includes/renegade.h
@@ -7,7 +7,7 @@
class renegade_state : public driver_device
{
public:
- renegade_state(const machine_config &mconfig, device_type type, const char *tag)
+ renegade_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/retofinv.h b/src/mame/includes/retofinv.h
index 9e35b0455b0..52fc230a84c 100644
--- a/src/mame/includes/retofinv.h
+++ b/src/mame/includes/retofinv.h
@@ -3,7 +3,7 @@
class retofinv_state : public driver_device
{
public:
- retofinv_state(const machine_config &mconfig, device_type type, const char *tag)
+ retofinv_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/rltennis.h b/src/mame/includes/rltennis.h
index 321a778d689..2a8fcdf99e0 100644
--- a/src/mame/includes/rltennis.h
+++ b/src/mame/includes/rltennis.h
@@ -9,7 +9,7 @@
class rltennis_state : public driver_device
{
public:
- rltennis_state(const machine_config &mconfig, device_type type, const char *tag)
+ rltennis_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac_1(*this, "dac1"),
diff --git a/src/mame/includes/rm380z.h b/src/mame/includes/rm380z.h
index 616dbb06da9..3d36c2f0238 100644
--- a/src/mame/includes/rm380z.h
+++ b/src/mame/includes/rm380z.h
@@ -93,7 +93,7 @@ public:
required_device<floppy_connector> m_floppy0;
required_device<floppy_connector> m_floppy1;
- rm380z_state(const machine_config &mconfig, device_type type, const char *tag)
+ rm380z_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, RM380Z_MAINCPU_TAG),
m_messram(*this, RAM_TAG),
diff --git a/src/mame/includes/rmnimbus.h b/src/mame/includes/rmnimbus.h
index 692d6eb338a..6e1c6dfafd1 100644
--- a/src/mame/includes/rmnimbus.h
+++ b/src/mame/includes/rmnimbus.h
@@ -51,7 +51,7 @@
class rmnimbus_state : public driver_device
{
public:
- rmnimbus_state(const machine_config &mconfig, device_type type, const char *tag) :
+ rmnimbus_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_msm(*this, MSM5205_TAG),
diff --git a/src/mame/includes/rockrage.h b/src/mame/includes/rockrage.h
index 52c34236776..71dc4eb69cd 100644
--- a/src/mame/includes/rockrage.h
+++ b/src/mame/includes/rockrage.h
@@ -13,7 +13,7 @@
class rockrage_state : public driver_device
{
public:
- rockrage_state(const machine_config &mconfig, device_type type, const char *tag)
+ rockrage_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/rocnrope.h b/src/mame/includes/rocnrope.h
index db48d923c8f..3cc2851abc6 100644
--- a/src/mame/includes/rocnrope.h
+++ b/src/mame/includes/rocnrope.h
@@ -3,7 +3,7 @@
class rocnrope_state : public driver_device
{
public:
- rocnrope_state(const machine_config &mconfig, device_type type, const char *tag)
+ rocnrope_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/rohga.h b/src/mame/includes/rohga.h
index 6861c53fff2..ee60bbcaa42 100644
--- a/src/mame/includes/rohga.h
+++ b/src/mame/includes/rohga.h
@@ -17,7 +17,7 @@
class rohga_state : public driver_device
{
public:
- rohga_state(const machine_config &mconfig, device_type type, const char *tag)
+ rohga_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/rollerg.h b/src/mame/includes/rollerg.h
index edaba1ab1cc..361d97cc84a 100644
--- a/src/mame/includes/rollerg.h
+++ b/src/mame/includes/rollerg.h
@@ -18,7 +18,7 @@ public:
TIMER_NMI
};
- rollerg_state(const machine_config &mconfig, device_type type, const char *tag)
+ rollerg_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/rollrace.h b/src/mame/includes/rollrace.h
index a1860032610..4d8ab3d588b 100644
--- a/src/mame/includes/rollrace.h
+++ b/src/mame/includes/rollrace.h
@@ -3,7 +3,7 @@
class rollrace_state : public driver_device
{
public:
- rollrace_state(const machine_config &mconfig, device_type type, const char *tag)
+ rollrace_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/route16.h b/src/mame/includes/route16.h
index 32eb59800b6..ce0ef31f66f 100644
--- a/src/mame/includes/route16.h
+++ b/src/mame/includes/route16.h
@@ -5,7 +5,7 @@
class route16_state : public driver_device
{
public:
- route16_state(const machine_config &mconfig, device_type type, const char *tag)
+ route16_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_sn(*this, "snsnd"),
m_sharedram(*this, "sharedram"),
diff --git a/src/mame/includes/rpunch.h b/src/mame/includes/rpunch.h
index e71ad1c73b4..cd0f47dea38 100644
--- a/src/mame/includes/rpunch.h
+++ b/src/mame/includes/rpunch.h
@@ -5,7 +5,7 @@
class rpunch_state : public driver_device
{
public:
- rpunch_state(const machine_config &mconfig, device_type type, const char *tag)
+ rpunch_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/runaway.h b/src/mame/includes/runaway.h
index ae07cd6a322..397e46257a7 100644
--- a/src/mame/includes/runaway.h
+++ b/src/mame/includes/runaway.h
@@ -3,7 +3,7 @@
class runaway_state : public driver_device
{
public:
- runaway_state(const machine_config &mconfig, device_type type, const char *tag)
+ runaway_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_video_ram(*this, "video_ram"),
m_sprite_ram(*this, "sprite_ram"),
diff --git a/src/mame/includes/rungun.h b/src/mame/includes/rungun.h
index 2819bbde4a9..5de0323bede 100644
--- a/src/mame/includes/rungun.h
+++ b/src/mame/includes/rungun.h
@@ -14,7 +14,7 @@
class rungun_state : public driver_device
{
public:
- rungun_state(const machine_config &mconfig, device_type type, const char *tag)
+ rungun_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/s11.h b/src/mame/includes/s11.h
index 1d8f355ec0a..cba85ff87ec 100644
--- a/src/mame/includes/s11.h
+++ b/src/mame/includes/s11.h
@@ -22,7 +22,7 @@
class s11_state : public genpin_class
{
public:
- s11_state(const machine_config &mconfig, device_type type, const char *tag)
+ s11_state(const machine_config &mconfig, device_type type, std::string tag)
: genpin_class(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
@@ -123,7 +123,7 @@ private:
class s11a_state : public s11_state
{
public:
- s11a_state(const machine_config &mconfig, device_type type, const char *tag)
+ s11a_state(const machine_config &mconfig, device_type type, std::string tag)
: s11_state(mconfig, type, tag)
{ }
@@ -141,7 +141,7 @@ private:
class s11b_state : public s11a_state
{
public:
- s11b_state(const machine_config &mconfig, device_type type, const char *tag)
+ s11b_state(const machine_config &mconfig, device_type type, std::string tag)
: s11a_state(mconfig, type, tag),
m_bg_hc55516(*this, "hc55516_bg")
@@ -174,7 +174,7 @@ private:
class s11c_state : public s11b_state
{
public:
- s11c_state(const machine_config &mconfig, device_type type, const char *tag)
+ s11c_state(const machine_config &mconfig, device_type type, std::string tag)
: s11b_state(mconfig, type, tag)
{ }
diff --git a/src/mame/includes/sage2.h b/src/mame/includes/sage2.h
index 2a80606aa20..713603c8371 100644
--- a/src/mame/includes/sage2.h
+++ b/src/mame/includes/sage2.h
@@ -29,7 +29,7 @@
class sage2_state : public driver_device
{
public:
- sage2_state(const machine_config &mconfig, device_type type, const char *tag)
+ sage2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, M68000_TAG),
m_pic(*this, I8259_TAG),
diff --git a/src/mame/includes/samcoupe.h b/src/mame/includes/samcoupe.h
index 201754c993d..8e1d96be416 100644
--- a/src/mame/includes/samcoupe.h
+++ b/src/mame/includes/samcoupe.h
@@ -50,7 +50,7 @@ public:
TIMER_VIDEO_UPDATE
};
- samcoupe_state(const machine_config &mconfig, device_type type, const char *tag)
+ samcoupe_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker"),
diff --git a/src/mame/includes/sauro.h b/src/mame/includes/sauro.h
index dfa69ed44f2..7e2e87eda1c 100644
--- a/src/mame/includes/sauro.h
+++ b/src/mame/includes/sauro.h
@@ -7,7 +7,7 @@
class sauro_state : public driver_device
{
public:
- sauro_state(const machine_config &mconfig, device_type type, const char *tag)
+ sauro_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/sbasketb.h b/src/mame/includes/sbasketb.h
index f1a7db9b7b0..05463cefd68 100644
--- a/src/mame/includes/sbasketb.h
+++ b/src/mame/includes/sbasketb.h
@@ -7,7 +7,7 @@
class sbasketb_state : public driver_device
{
public:
- sbasketb_state(const machine_config &mconfig, device_type type, const char *tag)
+ sbasketb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_colorram(*this, "colorram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/sbugger.h b/src/mame/includes/sbugger.h
index 9df4807e9be..2767c1772dd 100644
--- a/src/mame/includes/sbugger.h
+++ b/src/mame/includes/sbugger.h
@@ -3,7 +3,7 @@
class sbugger_state : public driver_device
{
public:
- sbugger_state(const machine_config &mconfig, device_type type, const char *tag)
+ sbugger_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/scotrsht.h b/src/mame/includes/scotrsht.h
index 288d67822ac..43a44704753 100644
--- a/src/mame/includes/scotrsht.h
+++ b/src/mame/includes/scotrsht.h
@@ -3,7 +3,7 @@
class scotrsht_state : public driver_device
{
public:
- scotrsht_state(const machine_config &mconfig, device_type type, const char *tag)
+ scotrsht_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/scramble.h b/src/mame/includes/scramble.h
index 2648ce25237..23964fb491f 100644
--- a/src/mame/includes/scramble.h
+++ b/src/mame/includes/scramble.h
@@ -8,7 +8,7 @@
class scramble_state : public galaxold_state
{
public:
- scramble_state(const machine_config &mconfig, device_type type, const char *tag)
+ scramble_state(const machine_config &mconfig, device_type type, std::string tag)
: galaxold_state(mconfig, type, tag),
m_konami_7474(*this, "konami_7474"),
m_ppi8255_0(*this, "ppi8255_0"),
diff --git a/src/mame/includes/sderby.h b/src/mame/includes/sderby.h
index 0261ea14a7a..c490d72a175 100644
--- a/src/mame/includes/sderby.h
+++ b/src/mame/includes/sderby.h
@@ -3,7 +3,7 @@
class sderby_state : public driver_device
{
public:
- sderby_state(const machine_config &mconfig, device_type type, const char *tag)
+ sderby_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_md_videoram(*this, "md_videoram"),
diff --git a/src/mame/includes/segag80r.h b/src/mame/includes/segag80r.h
index 77e690fc86e..a1c3300d691 100644
--- a/src/mame/includes/segag80r.h
+++ b/src/mame/includes/segag80r.h
@@ -21,7 +21,7 @@ public:
TIMER_VBLANK_LATCH_CLEAR
};
- segag80r_state(const machine_config &mconfig, device_type type, const char *tag)
+ segag80r_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mainram(*this, "mainram"),
m_videoram(*this, "videoram"),
@@ -164,7 +164,7 @@ class sega005_sound_device : public device_t,
public device_sound_interface
{
public:
- sega005_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega005_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
emu_timer *m_sega005_sound_timer;
sound_stream *m_sega005_stream;
diff --git a/src/mame/includes/segag80v.h b/src/mame/includes/segag80v.h
index b9c74242fbd..e1d0f1f2864 100644
--- a/src/mame/includes/segag80v.h
+++ b/src/mame/includes/segag80v.h
@@ -13,7 +13,7 @@
class segag80v_state : public driver_device
{
public:
- segag80v_state(const machine_config &mconfig, device_type type, const char *tag)
+ segag80v_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mainram(*this, "mainram"),
m_vectorram(*this, "vectorram"),
diff --git a/src/mame/includes/segahang.h b/src/mame/includes/segahang.h
index 6de20b3b774..f490ca3a0b5 100644
--- a/src/mame/includes/segahang.h
+++ b/src/mame/includes/segahang.h
@@ -22,7 +22,7 @@ class segahang_state : public sega_16bit_common_base
{
public:
// construction/destruction
- segahang_state(const machine_config &mconfig, device_type type, const char *tag)
+ segahang_state(const machine_config &mconfig, device_type type, std::string tag)
: sega_16bit_common_base(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "subcpu"),
diff --git a/src/mame/includes/segaorun.h b/src/mame/includes/segaorun.h
index 6343dd07835..ef1c7b6d075 100644
--- a/src/mame/includes/segaorun.h
+++ b/src/mame/includes/segaorun.h
@@ -22,7 +22,7 @@ class segaorun_state : public sega_16bit_common_base
{
public:
// construction/destruction
- segaorun_state(const machine_config &mconfig, device_type type, const char *tag)
+ segaorun_state(const machine_config &mconfig, device_type type, std::string tag)
: sega_16bit_common_base(mconfig, type, tag),
m_mapper(*this, "mapper"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/segas16a.h b/src/mame/includes/segas16a.h
index f34c9ae1b8b..37075bd0384 100644
--- a/src/mame/includes/segas16a.h
+++ b/src/mame/includes/segas16a.h
@@ -25,7 +25,7 @@ class segas16a_state : public sega_16bit_common_base
{
public:
// construction/destruction
- segas16a_state(const machine_config &mconfig, device_type type, const char *tag)
+ segas16a_state(const machine_config &mconfig, device_type type, std::string tag)
: sega_16bit_common_base(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/segas16b.h b/src/mame/includes/segas16b.h
index 498c4fb86d1..bb190513c99 100644
--- a/src/mame/includes/segas16b.h
+++ b/src/mame/includes/segas16b.h
@@ -24,7 +24,7 @@ class segas16b_state : public sega_16bit_common_base
{
public:
// construction/destruction
- segas16b_state(const machine_config &mconfig, device_type type, const char *tag)
+ segas16b_state(const machine_config &mconfig, device_type type, std::string tag)
: sega_16bit_common_base(mconfig, type, tag),
m_mapper(*this, "mapper"),
m_maincpu(*this, "maincpu"),
@@ -221,7 +221,7 @@ class isgsm_state : public segas16b_state
{
public:
// construction/destruction
- isgsm_state(const machine_config &mconfig, device_type type, const char *tag)
+ isgsm_state(const machine_config &mconfig, device_type type, std::string tag)
: segas16b_state(mconfig, type, tag),
m_read_xor(0),
m_cart_addrlatch(0),
diff --git a/src/mame/includes/segas18.h b/src/mame/includes/segas18.h
index 44e66be4fb4..cf6043576fb 100644
--- a/src/mame/includes/segas18.h
+++ b/src/mame/includes/segas18.h
@@ -23,7 +23,7 @@ class segas18_state : public sega_16bit_common_base
{
public:
// construction/destruction
- segas18_state(const machine_config &mconfig, device_type type, const char *tag)
+ segas18_state(const machine_config &mconfig, device_type type, std::string tag)
: sega_16bit_common_base(mconfig, type, tag),
m_mapper(*this, "mapper"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/segas24.h b/src/mame/includes/segas24.h
index f2633b12632..f5e3f473939 100644
--- a/src/mame/includes/segas24.h
+++ b/src/mame/includes/segas24.h
@@ -11,7 +11,7 @@
class segas24_state : public driver_device
{
public:
- segas24_state(const machine_config &mconfig, device_type type, const char *tag)
+ segas24_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "subcpu"),
diff --git a/src/mame/includes/segas32.h b/src/mame/includes/segas32.h
index 32392914aad..422b54a5c83 100644
--- a/src/mame/includes/segas32.h
+++ b/src/mame/includes/segas32.h
@@ -16,7 +16,7 @@
class segas32_state : public device_t
{
public:
- segas32_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segas32_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
required_shared_ptr<UINT8> m_z80_shared_ram;
optional_shared_ptr<UINT8> m_ga2_dpram;
@@ -266,7 +266,7 @@ protected:
class segas32_regular_state : public segas32_state
{
public:
- segas32_regular_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segas32_regular_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -277,7 +277,7 @@ protected:
class segas32_v25_state : public segas32_state
{
public:
- segas32_v25_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segas32_v25_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -288,7 +288,7 @@ protected:
class sega_multi32_state : public segas32_state
{
public:
- sega_multi32_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_multi32_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
diff --git a/src/mame/includes/segasp.h b/src/mame/includes/segasp.h
index ee952a7dcd9..3896e4ce040 100644
--- a/src/mame/includes/segasp.h
+++ b/src/mame/includes/segasp.h
@@ -11,7 +11,7 @@
class segasp_state : public naomi_state
{
public:
- segasp_state(const machine_config &mconfig, device_type type, const char *tag)
+ segasp_state(const machine_config &mconfig, device_type type, std::string tag)
: naomi_state(mconfig, type, tag),
m_sp_eeprom(*this, "sp_eeprom")
{ }
diff --git a/src/mame/includes/segaxbd.h b/src/mame/includes/segaxbd.h
index 0625ceb619b..b2391c14ed9 100644
--- a/src/mame/includes/segaxbd.h
+++ b/src/mame/includes/segaxbd.h
@@ -22,7 +22,7 @@ class segaxbd_state : public device_t
{
public:
// construction/destruction
- segaxbd_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segaxbd_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// compare/timer chip callbacks
void timer_ack_callback();
@@ -158,7 +158,7 @@ protected:
class segaxbd_regular_state : public segaxbd_state
{
public:
- segaxbd_regular_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segaxbd_regular_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -171,7 +171,7 @@ protected:
class segaxbd_fd1094_state : public segaxbd_state
{
public:
- segaxbd_fd1094_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segaxbd_fd1094_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -182,7 +182,7 @@ protected:
class segaxbd_lastsurv_fd1094_state : public segaxbd_state
{
public:
- segaxbd_lastsurv_fd1094_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segaxbd_lastsurv_fd1094_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -193,7 +193,7 @@ protected:
class segaxbd_lastsurv_state : public segaxbd_state
{
public:
- segaxbd_lastsurv_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segaxbd_lastsurv_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -205,7 +205,7 @@ protected:
class segaxbd_smgp_fd1094_state : public segaxbd_state
{
public:
- segaxbd_smgp_fd1094_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segaxbd_smgp_fd1094_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -217,7 +217,7 @@ protected:
class segaxbd_smgp_state : public segaxbd_state
{
public:
- segaxbd_smgp_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segaxbd_smgp_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -229,7 +229,7 @@ protected:
class segaxbd_rascot_state : public segaxbd_state
{
public:
- segaxbd_rascot_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segaxbd_rascot_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
diff --git a/src/mame/includes/segaybd.h b/src/mame/includes/segaybd.h
index baf0b1d7c37..d8d2062e8e7 100644
--- a/src/mame/includes/segaybd.h
+++ b/src/mame/includes/segaybd.h
@@ -19,7 +19,7 @@ class segaybd_state : public sega_16bit_common_base
{
public:
// construction/destruction
- segaybd_state(const machine_config &mconfig, device_type type, const char *tag)
+ segaybd_state(const machine_config &mconfig, device_type type, std::string tag)
: sega_16bit_common_base(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subx(*this, "subx"),
diff --git a/src/mame/includes/seibuspi.h b/src/mame/includes/seibuspi.h
index e3cd7d82f67..e6aa8f43b46 100644
--- a/src/mame/includes/seibuspi.h
+++ b/src/mame/includes/seibuspi.h
@@ -14,7 +14,7 @@
class seibuspi_state : public driver_device
{
public:
- seibuspi_state(const machine_config &mconfig, device_type type, const char *tag)
+ seibuspi_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/seicross.h b/src/mame/includes/seicross.h
index 77b8e5a6708..df64c838d5b 100644
--- a/src/mame/includes/seicross.h
+++ b/src/mame/includes/seicross.h
@@ -5,7 +5,7 @@
class seicross_state : public driver_device
{
public:
- seicross_state(const machine_config &mconfig, device_type type, const char *tag)
+ seicross_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_mcu(*this, "mcu"),
diff --git a/src/mame/includes/senjyo.h b/src/mame/includes/senjyo.h
index 39d42ea5b01..f54536d12d4 100644
--- a/src/mame/includes/senjyo.h
+++ b/src/mame/includes/senjyo.h
@@ -8,7 +8,7 @@
class senjyo_state : public driver_device
{
public:
- senjyo_state(const machine_config &mconfig, device_type type, const char *tag)
+ senjyo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pio(*this, "z80pio"),
diff --git a/src/mame/includes/seta.h b/src/mame/includes/seta.h
index 1f1c5d0a920..ebb83ab522d 100644
--- a/src/mame/includes/seta.h
+++ b/src/mame/includes/seta.h
@@ -30,7 +30,7 @@ struct game_offset
class seta_state : public driver_device
{
public:
- seta_state(const machine_config &mconfig, device_type type, const char *tag)
+ seta_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/seta2.h b/src/mame/includes/seta2.h
index 1c48610d9e9..7cc4aef598d 100644
--- a/src/mame/includes/seta2.h
+++ b/src/mame/includes/seta2.h
@@ -8,7 +8,7 @@
class seta2_state : public driver_device
{
public:
- seta2_state(const machine_config &mconfig, device_type type, const char *tag)
+ seta2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_tmp68301(*this, "tmp68301"),
diff --git a/src/mame/includes/sf.h b/src/mame/includes/sf.h
index b6964d9cf8f..1e42b1f3ce8 100644
--- a/src/mame/includes/sf.h
+++ b/src/mame/includes/sf.h
@@ -11,7 +11,7 @@
class sf_state : public driver_device
{
public:
- sf_state(const machine_config &mconfig, device_type type, const char *tag)
+ sf_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/sg1000.h b/src/mame/includes/sg1000.h
index 6cfd014433f..27f6104772f 100644
--- a/src/mame/includes/sg1000.h
+++ b/src/mame/includes/sg1000.h
@@ -43,7 +43,7 @@ public:
TIMER_LIGHTGUN_TICK
};
- sg1000_state(const machine_config &mconfig, device_type type, const char *tag)
+ sg1000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_ram(*this, RAM_TAG),
@@ -73,7 +73,7 @@ public:
class sc3000_state : public sg1000_state
{
public:
- sc3000_state(const machine_config &mconfig, device_type type, const char *tag)
+ sc3000_state(const machine_config &mconfig, device_type type, std::string tag)
: sg1000_state(mconfig, type, tag),
m_cassette(*this, "cassette"),
m_pa0(*this, "PA0"),
@@ -124,7 +124,7 @@ public:
class sf7000_state : public sc3000_state
{
public:
- sf7000_state(const machine_config &mconfig, device_type type, const char *tag)
+ sf7000_state(const machine_config &mconfig, device_type type, std::string tag)
: sc3000_state(mconfig, type, tag),
m_fdc(*this, UPD765_TAG),
m_centronics(*this, CENTRONICS_TAG),
diff --git a/src/mame/includes/shadfrce.h b/src/mame/includes/shadfrce.h
index 82ce0cba31b..1c49ac5171b 100644
--- a/src/mame/includes/shadfrce.h
+++ b/src/mame/includes/shadfrce.h
@@ -5,7 +5,7 @@
class shadfrce_state : public driver_device
{
public:
- shadfrce_state(const machine_config &mconfig, device_type type, const char *tag)
+ shadfrce_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/shangha3.h b/src/mame/includes/shangha3.h
index 1a75aaa8cfb..32ba9f72ee2 100644
--- a/src/mame/includes/shangha3.h
+++ b/src/mame/includes/shangha3.h
@@ -5,7 +5,7 @@
class shangha3_state : public driver_device
{
public:
- shangha3_state(const machine_config &mconfig, device_type type, const char *tag)
+ shangha3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/shangkid.h b/src/mame/includes/shangkid.h
index 6680c6c1748..2224e8a67cf 100644
--- a/src/mame/includes/shangkid.h
+++ b/src/mame/includes/shangkid.h
@@ -3,7 +3,7 @@
class shangkid_state : public driver_device
{
public:
- shangkid_state(const machine_config &mconfig, device_type type, const char *tag)
+ shangkid_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/shaolins.h b/src/mame/includes/shaolins.h
index 06c7a60df76..57b077cafa5 100644
--- a/src/mame/includes/shaolins.h
+++ b/src/mame/includes/shaolins.h
@@ -3,7 +3,7 @@
class shaolins_state : public driver_device
{
public:
- shaolins_state(const machine_config &mconfig, device_type type, const char *tag)
+ shaolins_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/shisen.h b/src/mame/includes/shisen.h
index a77429e2798..4c76c00af48 100644
--- a/src/mame/includes/shisen.h
+++ b/src/mame/includes/shisen.h
@@ -5,7 +5,7 @@
class shisen_state : public driver_device
{
public:
- shisen_state(const machine_config &mconfig, device_type type, const char *tag)
+ shisen_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audio (*this, "m72"),
diff --git a/src/mame/includes/shootout.h b/src/mame/includes/shootout.h
index 8615df3be8b..511a8745f35 100644
--- a/src/mame/includes/shootout.h
+++ b/src/mame/includes/shootout.h
@@ -3,7 +3,7 @@
class shootout_state : public driver_device
{
public:
- shootout_state(const machine_config &mconfig, device_type type, const char *tag)
+ shootout_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/shuuz.h b/src/mame/includes/shuuz.h
index 8f0e20ac876..79b580c1aca 100644
--- a/src/mame/includes/shuuz.h
+++ b/src/mame/includes/shuuz.h
@@ -12,7 +12,7 @@
class shuuz_state : public atarigen_state
{
public:
- shuuz_state(const machine_config &mconfig, device_type type, const char *tag)
+ shuuz_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_vad(*this, "vad") { }
diff --git a/src/mame/includes/sidearms.h b/src/mame/includes/sidearms.h
index bd82050f486..4c2cb3f24bf 100644
--- a/src/mame/includes/sidearms.h
+++ b/src/mame/includes/sidearms.h
@@ -5,7 +5,7 @@
class sidearms_state : public driver_device
{
public:
- sidearms_state(const machine_config &mconfig, device_type type, const char *tag)
+ sidearms_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/sidepckt.h b/src/mame/includes/sidepckt.h
index 214521b87cc..d4237509d34 100644
--- a/src/mame/includes/sidepckt.h
+++ b/src/mame/includes/sidepckt.h
@@ -9,7 +9,7 @@
class sidepckt_state : public driver_device
{
public:
- sidepckt_state(const machine_config &mconfig, device_type type, const char *tag)
+ sidepckt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/silkroad.h b/src/mame/includes/silkroad.h
index 12fee36f2e0..f03450cea4f 100644
--- a/src/mame/includes/silkroad.h
+++ b/src/mame/includes/silkroad.h
@@ -5,7 +5,7 @@
class silkroad_state : public driver_device
{
public:
- silkroad_state(const machine_config &mconfig, device_type type, const char *tag)
+ silkroad_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_oki1(*this, "oki1"),
diff --git a/src/mame/includes/simpl156.h b/src/mame/includes/simpl156.h
index 7fc91654160..6de98cdff21 100644
--- a/src/mame/includes/simpl156.h
+++ b/src/mame/includes/simpl156.h
@@ -14,7 +14,7 @@
class simpl156_state : public driver_device
{
public:
- simpl156_state(const machine_config &mconfig, device_type type, const char *tag)
+ simpl156_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_deco_tilegen1(*this, "tilegen1"),
diff --git a/src/mame/includes/simple_st0016.h b/src/mame/includes/simple_st0016.h
index 21c30ac560d..3609d948b27 100644
--- a/src/mame/includes/simple_st0016.h
+++ b/src/mame/includes/simple_st0016.h
@@ -6,7 +6,7 @@
class st0016_state : public driver_device
{
public:
- st0016_state(const machine_config &mconfig, device_type type, const char *tag)
+ st0016_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/includes/simpsons.h b/src/mame/includes/simpsons.h
index 2762f4da138..b24edca6f4b 100644
--- a/src/mame/includes/simpsons.h
+++ b/src/mame/includes/simpsons.h
@@ -15,7 +15,7 @@ public:
TIMER_DMAEND
};
- simpsons_state(const machine_config &mconfig, device_type type, const char *tag)
+ simpsons_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/skullxbo.h b/src/mame/includes/skullxbo.h
index 4cabfa061aa..72dba56a9bd 100644
--- a/src/mame/includes/skullxbo.h
+++ b/src/mame/includes/skullxbo.h
@@ -13,7 +13,7 @@
class skullxbo_state : public atarigen_state
{
public:
- skullxbo_state(const machine_config &mconfig, device_type type, const char *tag)
+ skullxbo_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_jsa(*this, "jsa"),
m_scanline_timer(*this, "scan_timer"),
diff --git a/src/mame/includes/skydiver.h b/src/mame/includes/skydiver.h
index 8e287c5b04f..b7163b8c35d 100644
--- a/src/mame/includes/skydiver.h
+++ b/src/mame/includes/skydiver.h
@@ -24,7 +24,7 @@
class skydiver_state : public driver_device
{
public:
- skydiver_state(const machine_config &mconfig, device_type type, const char *tag)
+ skydiver_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_discrete(*this, "discrete"),
diff --git a/src/mame/includes/skyfox.h b/src/mame/includes/skyfox.h
index c45be86567e..a221001bb29 100644
--- a/src/mame/includes/skyfox.h
+++ b/src/mame/includes/skyfox.h
@@ -9,7 +9,7 @@
class skyfox_state : public driver_device
{
public:
- skyfox_state(const machine_config &mconfig, device_type type, const char *tag)
+ skyfox_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/skykid.h b/src/mame/includes/skykid.h
index 929298e2ea6..f595370e3e6 100644
--- a/src/mame/includes/skykid.h
+++ b/src/mame/includes/skykid.h
@@ -5,7 +5,7 @@
class skykid_state : public driver_device
{
public:
- skykid_state(const machine_config &mconfig, device_type type, const char *tag)
+ skykid_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_textram(*this, "textram"),
diff --git a/src/mame/includes/skyraid.h b/src/mame/includes/skyraid.h
index b4258ad37ef..e117a127e35 100644
--- a/src/mame/includes/skyraid.h
+++ b/src/mame/includes/skyraid.h
@@ -5,7 +5,7 @@
class skyraid_state : public driver_device
{
public:
- skyraid_state(const machine_config &mconfig, device_type type, const char *tag)
+ skyraid_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_pos_ram(*this, "pos_ram"),
m_alpha_num_ram(*this, "alpha_num_ram"),
diff --git a/src/mame/includes/slapfght.h b/src/mame/includes/slapfght.h
index 32f14f281df..cda95c57914 100644
--- a/src/mame/includes/slapfght.h
+++ b/src/mame/includes/slapfght.h
@@ -13,7 +13,7 @@
class slapfght_state : public driver_device
{
public:
- slapfght_state(const machine_config &mconfig, device_type type, const char *tag)
+ slapfght_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/slapshot.h b/src/mame/includes/slapshot.h
index 6a200b524ab..4aad8cc35e8 100644
--- a/src/mame/includes/slapshot.h
+++ b/src/mame/includes/slapshot.h
@@ -29,7 +29,7 @@ public:
TIMER_SLAPSHOT_INTERRUPT6
};
- slapshot_state(const machine_config &mconfig, device_type type, const char *tag)
+ slapshot_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_tc0140syt(*this, "tc0140syt"),
diff --git a/src/mame/includes/slapstic.h b/src/mame/includes/slapstic.h
index cfcfcce890e..0d3283fec7e 100644
--- a/src/mame/includes/slapstic.h
+++ b/src/mame/includes/slapstic.h
@@ -132,7 +132,7 @@ class atari_slapstic_device : public device_t
{
public:
// construction/destruction
- atari_slapstic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ atari_slapstic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void slapstic_init(running_machine &machine, int chip);
void slapstic_reset(void);
diff --git a/src/mame/includes/sms.h b/src/mame/includes/sms.h
index ec9ae688698..e25e243515b 100644
--- a/src/mame/includes/sms.h
+++ b/src/mame/includes/sms.h
@@ -30,7 +30,7 @@
class sms_state : public driver_device
{
public:
- sms_state(const machine_config &mconfig, device_type type, const char *tag)
+ sms_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_vdp(*this, "sms_vdp"),
@@ -220,7 +220,7 @@ protected:
class smssdisp_state : public sms_state
{
public:
- smssdisp_state(const machine_config &mconfig, device_type type, const char *tag)
+ smssdisp_state(const machine_config &mconfig, device_type type, std::string tag)
: sms_state(mconfig, type, tag),
m_control_cpu(*this, "control")
{ }
diff --git a/src/mame/includes/snes.h b/src/mame/includes/snes.h
index 238ad7efcc9..76a58b73081 100644
--- a/src/mame/includes/snes.h
+++ b/src/mame/includes/snes.h
@@ -309,7 +309,7 @@ public:
TIMER_SNES_LAST
};
- snes_state(const machine_config &mconfig, device_type type, const char *tag)
+ snes_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/snk.h b/src/mame/includes/snk.h
index 7e6469d6f3b..d6fcc6a7939 100644
--- a/src/mame/includes/snk.h
+++ b/src/mame/includes/snk.h
@@ -10,7 +10,7 @@
class snk_state : public driver_device
{
public:
- snk_state(const machine_config &mconfig, device_type type, const char *tag)
+ snk_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/snk6502.h b/src/mame/includes/snk6502.h
index 2c66853510d..b01a5c400e3 100644
--- a/src/mame/includes/snk6502.h
+++ b/src/mame/includes/snk6502.h
@@ -15,7 +15,7 @@ class snk6502_sound_device;
class snk6502_state : public driver_device
{
public:
- snk6502_state(const machine_config &mconfig, device_type type, const char *tag)
+ snk6502_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_sound(*this, "snk6502"),
@@ -107,7 +107,7 @@ class snk6502_sound_device : public device_t,
public device_sound_interface
{
public:
- snk6502_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ snk6502_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~snk6502_sound_device() {}
DECLARE_WRITE8_MEMBER( sasuke_sound_w );
diff --git a/src/mame/includes/snk68.h b/src/mame/includes/snk68.h
index f9c8d59e71f..7021488b02a 100644
--- a/src/mame/includes/snk68.h
+++ b/src/mame/includes/snk68.h
@@ -5,7 +5,7 @@
class snk68_state : public driver_device
{
public:
- snk68_state(const machine_config &mconfig, device_type type, const char *tag)
+ snk68_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/snookr10.h b/src/mame/includes/snookr10.h
index b15623e61d0..7441c7e2a2c 100644
--- a/src/mame/includes/snookr10.h
+++ b/src/mame/includes/snookr10.h
@@ -3,7 +3,7 @@
class snookr10_state : public driver_device
{
public:
- snookr10_state(const machine_config &mconfig, device_type type, const char *tag)
+ snookr10_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/snowbros.h b/src/mame/includes/snowbros.h
index a1102dbd7a8..135b413c37e 100644
--- a/src/mame/includes/snowbros.h
+++ b/src/mame/includes/snowbros.h
@@ -7,7 +7,7 @@
class snowbros_state : public driver_device
{
public:
- snowbros_state(const machine_config &mconfig, device_type type, const char *tag)
+ snowbros_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/softbox.h b/src/mame/includes/softbox.h
index 1ebd857424c..0f3df723cc8 100644
--- a/src/mame/includes/softbox.h
+++ b/src/mame/includes/softbox.h
@@ -26,7 +26,7 @@
class softbox_state : public driver_device
{
public:
- softbox_state(const machine_config &mconfig, device_type type, const char *tag)
+ softbox_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_dbrg(*this, COM8116_TAG),
diff --git a/src/mame/includes/solomon.h b/src/mame/includes/solomon.h
index 0d8ab74ce02..881d8b579ac 100644
--- a/src/mame/includes/solomon.h
+++ b/src/mame/includes/solomon.h
@@ -3,7 +3,7 @@
class solomon_state : public driver_device
{
public:
- solomon_state(const machine_config &mconfig, device_type type, const char *tag)
+ solomon_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/sonson.h b/src/mame/includes/sonson.h
index 343ae432944..bc81bb1a5f3 100644
--- a/src/mame/includes/sonson.h
+++ b/src/mame/includes/sonson.h
@@ -9,7 +9,7 @@
class sonson_state : public driver_device
{
public:
- sonson_state(const machine_config &mconfig, device_type type, const char *tag)
+ sonson_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/sorcerer.h b/src/mame/includes/sorcerer.h
index 9e49370b514..fde3950b749 100644
--- a/src/mame/includes/sorcerer.h
+++ b/src/mame/includes/sorcerer.h
@@ -51,7 +51,7 @@ public:
TIMER_RESET
};
- sorcerer_state(const machine_config &mconfig, device_type type, const char *tag)
+ sorcerer_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_cassette1(*this, "cassette")
diff --git a/src/mame/includes/spacefb.h b/src/mame/includes/spacefb.h
index 4bd39f33338..c43b55ab2e5 100644
--- a/src/mame/includes/spacefb.h
+++ b/src/mame/includes/spacefb.h
@@ -29,7 +29,7 @@
class spacefb_state : public driver_device
{
public:
- spacefb_state(const machine_config &mconfig, device_type type, const char *tag)
+ spacefb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/spbactn.h b/src/mame/includes/spbactn.h
index 9924a0e46fe..1dbaa6748c3 100644
--- a/src/mame/includes/spbactn.h
+++ b/src/mame/includes/spbactn.h
@@ -7,7 +7,7 @@
class spbactn_state : public driver_device
{
public:
- spbactn_state(const machine_config &mconfig, device_type type, const char *tag)
+ spbactn_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/spcforce.h b/src/mame/includes/spcforce.h
index fc572a6dbfa..b230fdfdc86 100644
--- a/src/mame/includes/spcforce.h
+++ b/src/mame/includes/spcforce.h
@@ -5,7 +5,7 @@
class spcforce_state : public driver_device
{
public:
- spcforce_state(const machine_config &mconfig, device_type type, const char *tag)
+ spcforce_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/spdodgeb.h b/src/mame/includes/spdodgeb.h
index 04b6362c12a..b2060ee4afd 100644
--- a/src/mame/includes/spdodgeb.h
+++ b/src/mame/includes/spdodgeb.h
@@ -11,7 +11,7 @@
class spdodgeb_state : public driver_device
{
public:
- spdodgeb_state(const machine_config &mconfig, device_type type, const char *tag)
+ spdodgeb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/special.h b/src/mame/includes/special.h
index 6c9a369b922..ab1e671e184 100644
--- a/src/mame/includes/special.h
+++ b/src/mame/includes/special.h
@@ -33,7 +33,7 @@ public:
TIMER_PIT8253_GATES
};
- special_state(const machine_config &mconfig, device_type type, const char *tag)
+ special_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ppi(*this, "ppi8255"),
diff --git a/src/mame/includes/spectrum.h b/src/mame/includes/spectrum.h
index bd4d0511cab..41208d99e06 100644
--- a/src/mame/includes/spectrum.h
+++ b/src/mame/includes/spectrum.h
@@ -84,7 +84,7 @@ enum
class spectrum_state : public driver_device
{
public:
- spectrum_state(const machine_config &mconfig, device_type type, const char *tag)
+ spectrum_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_video_ram(*this, "video_ram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/speedatk.h b/src/mame/includes/speedatk.h
index d0ed37db6da..6cf70ced45b 100644
--- a/src/mame/includes/speedatk.h
+++ b/src/mame/includes/speedatk.h
@@ -5,7 +5,7 @@
class speedatk_state : public driver_device
{
public:
- speedatk_state(const machine_config &mconfig, device_type type, const char *tag)
+ speedatk_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_crtc(*this, "crtc"),
diff --git a/src/mame/includes/speedbal.h b/src/mame/includes/speedbal.h
index c6cc7e5e4f9..75d1ffadad5 100644
--- a/src/mame/includes/speedbal.h
+++ b/src/mame/includes/speedbal.h
@@ -3,7 +3,7 @@
class speedbal_state : public driver_device
{
public:
- speedbal_state(const machine_config &mconfig, device_type type, const char *tag)
+ speedbal_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/speedspn.h b/src/mame/includes/speedspn.h
index 9167d0192d4..4c7bfbfc5c2 100644
--- a/src/mame/includes/speedspn.h
+++ b/src/mame/includes/speedspn.h
@@ -5,7 +5,7 @@
class speedspn_state : public driver_device
{
public:
- speedspn_state(const machine_config &mconfig, device_type type, const char *tag)
+ speedspn_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/spiders.h b/src/mame/includes/spiders.h
index ba29815a7de..11e99d044c5 100644
--- a/src/mame/includes/spiders.h
+++ b/src/mame/includes/spiders.h
@@ -11,7 +11,7 @@
class spiders_state : public driver_device
{
public:
- spiders_state(const machine_config &mconfig, device_type type, const char *tag)
+ spiders_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ram(*this, "ram"),
m_discrete(*this, "discrete"),
diff --git a/src/mame/includes/splash.h b/src/mame/includes/splash.h
index 872d52643a6..a4201619f9e 100644
--- a/src/mame/includes/splash.h
+++ b/src/mame/includes/splash.h
@@ -5,7 +5,7 @@
class splash_state : public driver_device
{
public:
- splash_state(const machine_config &mconfig, device_type type, const char *tag)
+ splash_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/sprcros2.h b/src/mame/includes/sprcros2.h
index bc3a468306c..e7c1149ea2e 100644
--- a/src/mame/includes/sprcros2.h
+++ b/src/mame/includes/sprcros2.h
@@ -3,7 +3,7 @@
class sprcros2_state : public driver_device
{
public:
- sprcros2_state(const machine_config &mconfig, device_type type, const char *tag)
+ sprcros2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_master(*this,"master"),
m_slave(*this,"slave"),
diff --git a/src/mame/includes/sprint2.h b/src/mame/includes/sprint2.h
index 991ad99025c..47f0300429f 100644
--- a/src/mame/includes/sprint2.h
+++ b/src/mame/includes/sprint2.h
@@ -26,7 +26,7 @@
class sprint2_state : public driver_device
{
public:
- sprint2_state(const machine_config &mconfig, device_type type, const char *tag)
+ sprint2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_video_ram(*this, "video_ram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/sprint4.h b/src/mame/includes/sprint4.h
index 79def94ada0..dccbb817743 100644
--- a/src/mame/includes/sprint4.h
+++ b/src/mame/includes/sprint4.h
@@ -8,7 +8,7 @@ public:
TIMER_NMI
};
- sprint4_state(const machine_config &mconfig, device_type type, const char *tag)
+ sprint4_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/sprint8.h b/src/mame/includes/sprint8.h
index 4db1fca0fa2..9228fcbb385 100644
--- a/src/mame/includes/sprint8.h
+++ b/src/mame/includes/sprint8.h
@@ -5,7 +5,7 @@
class sprint8_state : public driver_device
{
public:
- sprint8_state(const machine_config &mconfig, device_type type, const char *tag)
+ sprint8_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_video_ram(*this, "video_ram"),
m_pos_h_ram(*this, "pos_h_ram"),
diff --git a/src/mame/includes/spy.h b/src/mame/includes/spy.h
index a77b8669af6..6f7f414025e 100644
--- a/src/mame/includes/spy.h
+++ b/src/mame/includes/spy.h
@@ -13,7 +13,7 @@
class spy_state : public driver_device
{
public:
- spy_state(const machine_config &mconfig, device_type type, const char *tag)
+ spy_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ram(*this, "ram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/srmp2.h b/src/mame/includes/srmp2.h
index d0cab87ce67..2447f113a20 100644
--- a/src/mame/includes/srmp2.h
+++ b/src/mame/includes/srmp2.h
@@ -14,7 +14,7 @@ struct iox_t
class srmp2_state : public driver_device
{
public:
- srmp2_state(const machine_config &mconfig, device_type type, const char *tag)
+ srmp2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_seta001(*this, "spritegen"),
diff --git a/src/mame/includes/srumbler.h b/src/mame/includes/srumbler.h
index 0e6b320fcfc..4fd7a43eaa5 100644
--- a/src/mame/includes/srumbler.h
+++ b/src/mame/includes/srumbler.h
@@ -5,7 +5,7 @@
class srumbler_state : public driver_device
{
public:
- srumbler_state(const machine_config &mconfig, device_type type, const char *tag)
+ srumbler_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_spriteram(*this,"spriteram"),
diff --git a/src/mame/includes/sshangha.h b/src/mame/includes/sshangha.h
index 056dd91bf3a..ed882bc2361 100644
--- a/src/mame/includes/sshangha.h
+++ b/src/mame/includes/sshangha.h
@@ -7,7 +7,7 @@
class sshangha_state : public driver_device
{
public:
- sshangha_state(const machine_config &mconfig, device_type type, const char *tag)
+ sshangha_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_deco146(*this, "ioprot"),
m_deco_tilegen1(*this, "tilegen1"),
diff --git a/src/mame/includes/sslam.h b/src/mame/includes/sslam.h
index c52ee6f3672..a86e9d1bdb8 100644
--- a/src/mame/includes/sslam.h
+++ b/src/mame/includes/sslam.h
@@ -5,7 +5,7 @@
class sslam_state : public driver_device
{
public:
- sslam_state(const machine_config &mconfig, device_type type, const char *tag)
+ sslam_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/ssozumo.h b/src/mame/includes/ssozumo.h
index eee0334c406..7257a2b532a 100644
--- a/src/mame/includes/ssozumo.h
+++ b/src/mame/includes/ssozumo.h
@@ -3,7 +3,7 @@
class ssozumo_state : public driver_device
{
public:
- ssozumo_state(const machine_config &mconfig, device_type type, const char *tag)
+ ssozumo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/sspeedr.h b/src/mame/includes/sspeedr.h
index 54978416da1..a2d91c77fb5 100644
--- a/src/mame/includes/sspeedr.h
+++ b/src/mame/includes/sspeedr.h
@@ -3,7 +3,7 @@
class sspeedr_state : public driver_device
{
public:
- sspeedr_state(const machine_config &mconfig, device_type type, const char *tag)
+ sspeedr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/ssrj.h b/src/mame/includes/ssrj.h
index f17223aca95..bc256b0c69a 100644
--- a/src/mame/includes/ssrj.h
+++ b/src/mame/includes/ssrj.h
@@ -3,7 +3,7 @@
class ssrj_state : public driver_device
{
public:
- ssrj_state(const machine_config &mconfig, device_type type, const char *tag)
+ ssrj_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/ssv.h b/src/mame/includes/ssv.h
index 611ff3b66ee..d0aa3ff0c64 100644
--- a/src/mame/includes/ssv.h
+++ b/src/mame/includes/ssv.h
@@ -8,7 +8,7 @@
class ssv_state : public driver_device
{
public:
- ssv_state(const machine_config &mconfig, device_type type, const char *tag)
+ ssv_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ensoniq(*this, "ensoniq"),
diff --git a/src/mame/includes/ssystem3.h b/src/mame/includes/ssystem3.h
index 79a5e7d4591..ff8da0c6a60 100644
--- a/src/mame/includes/ssystem3.h
+++ b/src/mame/includes/ssystem3.h
@@ -41,7 +41,7 @@ struct lcd_t
class ssystem3_state : public driver_device
{
public:
- ssystem3_state(const machine_config &mconfig, device_type type, const char *tag)
+ ssystem3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_palette(*this, "palette")
diff --git a/src/mame/includes/stactics.h b/src/mame/includes/stactics.h
index 989f7f262fc..44ef3ee78ef 100644
--- a/src/mame/includes/stactics.h
+++ b/src/mame/includes/stactics.h
@@ -12,7 +12,7 @@
class stactics_state : public driver_device
{
public:
- stactics_state(const machine_config &mconfig, device_type type, const char *tag)
+ stactics_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_palette_val(*this, "paletteram"),
diff --git a/src/mame/includes/stadhero.h b/src/mame/includes/stadhero.h
index d9aa358e551..0eba88cfb97 100644
--- a/src/mame/includes/stadhero.h
+++ b/src/mame/includes/stadhero.h
@@ -6,7 +6,7 @@
class stadhero_state : public driver_device
{
public:
- stadhero_state(const machine_config &mconfig, device_type type, const char *tag)
+ stadhero_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/starcrus.h b/src/mame/includes/starcrus.h
index 3de1b75301f..e045d8234cf 100644
--- a/src/mame/includes/starcrus.h
+++ b/src/mame/includes/starcrus.h
@@ -4,7 +4,7 @@
class starcrus_state : public driver_device
{
public:
- starcrus_state(const machine_config &mconfig, device_type type, const char *tag)
+ starcrus_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_samples(*this, "samples"),
diff --git a/src/mame/includes/starfire.h b/src/mame/includes/starfire.h
index 66ed55ce031..f7f2aeb10ff 100644
--- a/src/mame/includes/starfire.h
+++ b/src/mame/includes/starfire.h
@@ -24,7 +24,7 @@
class starfire_state : public driver_device
{
public:
- starfire_state(const machine_config &mconfig, device_type type, const char *tag)
+ starfire_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_starfire_colorram(*this, "colorram"),
m_starfire_videoram(*this, "videoram"),
diff --git a/src/mame/includes/starshp1.h b/src/mame/includes/starshp1.h
index b4fa955bc80..d1c86b7172b 100644
--- a/src/mame/includes/starshp1.h
+++ b/src/mame/includes/starshp1.h
@@ -35,7 +35,7 @@
class starshp1_state : public driver_device
{
public:
- starshp1_state(const machine_config &mconfig, device_type type, const char *tag)
+ starshp1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_playfield_ram(*this, "playfield_ram"),
m_hpos_ram(*this, "hpos_ram"),
diff --git a/src/mame/includes/starwars.h b/src/mame/includes/starwars.h
index 6baec75153a..08748127f9b 100644
--- a/src/mame/includes/starwars.h
+++ b/src/mame/includes/starwars.h
@@ -13,7 +13,7 @@
class starwars_state : public driver_device
{
public:
- starwars_state(const machine_config &mconfig, device_type type, const char *tag)
+ starwars_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_riot(*this, "riot"),
m_mathram(*this, "mathram"),
diff --git a/src/mame/includes/stfight.h b/src/mame/includes/stfight.h
index 31af9a7ac2e..1ac79eb205f 100644
--- a/src/mame/includes/stfight.h
+++ b/src/mame/includes/stfight.h
@@ -10,7 +10,7 @@ public:
TIMER_STFIGHT_INTERRUPT_1
};
- stfight_state(const machine_config &mconfig, device_type type, const char *tag)
+ stfight_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/stlforce.h b/src/mame/includes/stlforce.h
index 7c43ad56e93..5ac160ffd1c 100644
--- a/src/mame/includes/stlforce.h
+++ b/src/mame/includes/stlforce.h
@@ -6,7 +6,7 @@
class stlforce_state : public driver_device
{
public:
- stlforce_state(const machine_config &mconfig, device_type type, const char *tag)
+ stlforce_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_oki(*this, "oki"),
diff --git a/src/mame/includes/strnskil.h b/src/mame/includes/strnskil.h
index 7f0e4699cad..c2201809d0d 100644
--- a/src/mame/includes/strnskil.h
+++ b/src/mame/includes/strnskil.h
@@ -3,7 +3,7 @@
class strnskil_state : public driver_device
{
public:
- strnskil_state(const machine_config &mconfig, device_type type, const char *tag)
+ strnskil_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_subcpu(*this,"sub"),
diff --git a/src/mame/includes/stv.h b/src/mame/includes/stv.h
index db8329f9ecc..4457aae3b93 100644
--- a/src/mame/includes/stv.h
+++ b/src/mame/includes/stv.h
@@ -21,7 +21,7 @@
class saturn_state : public driver_device
{
public:
- saturn_state(const machine_config &mconfig, device_type type, const char *tag)
+ saturn_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_rom(*this, "share6"),
m_workram_l(*this, "workram_l"),
@@ -699,7 +699,7 @@ public:
class stv_state : public saturn_state
{
public:
- stv_state(const machine_config &mconfig, device_type type, const char *tag)
+ stv_state(const machine_config &mconfig, device_type type, std::string tag)
: saturn_state(mconfig, type, tag),
m_adsp(*this, "adsp"),
m_adsp_pram(*this, "adsp_pram"),
diff --git a/src/mame/includes/subs.h b/src/mame/includes/subs.h
index 853cb24d1e8..799992c42ef 100644
--- a/src/mame/includes/subs.h
+++ b/src/mame/includes/subs.h
@@ -21,7 +21,7 @@
class subs_state : public driver_device
{
public:
- subs_state(const machine_config &mconfig, device_type type, const char *tag)
+ subs_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/suna16.h b/src/mame/includes/suna16.h
index d7f7ed7d029..5a0ab3dd0f8 100644
--- a/src/mame/includes/suna16.h
+++ b/src/mame/includes/suna16.h
@@ -5,7 +5,7 @@
class suna16_state : public driver_device
{
public:
- suna16_state(const machine_config &mconfig, device_type type, const char *tag)
+ suna16_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_dac1(*this, "dac1"),
diff --git a/src/mame/includes/suna8.h b/src/mame/includes/suna8.h
index 1ee773edb15..185892358ef 100644
--- a/src/mame/includes/suna8.h
+++ b/src/mame/includes/suna8.h
@@ -7,7 +7,7 @@
class suna8_state : public driver_device
{
public:
- suna8_state(const machine_config &mconfig, device_type type, const char *tag)
+ suna8_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_hardhead_ip(*this, "hardhead_ip"),
diff --git a/src/mame/includes/supbtime.h b/src/mame/includes/supbtime.h
index 2f067a11765..8dfd7666bbb 100644
--- a/src/mame/includes/supbtime.h
+++ b/src/mame/includes/supbtime.h
@@ -12,7 +12,7 @@
class supbtime_state : public driver_device
{
public:
- supbtime_state(const machine_config &mconfig, device_type type, const char *tag)
+ supbtime_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_pf1_rowscroll(*this, "pf1_rowscroll"),
diff --git a/src/mame/includes/super6.h b/src/mame/includes/super6.h
index 6edce116cb4..dae98735656 100644
--- a/src/mame/includes/super6.h
+++ b/src/mame/includes/super6.h
@@ -30,7 +30,7 @@
class super6_state : public driver_device
{
public:
- super6_state(const machine_config &mconfig, device_type type, const char *tag)
+ super6_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_ctc(*this, Z80CTC_TAG),
diff --git a/src/mame/includes/super80.h b/src/mame/includes/super80.h
index 34b6a2c94eb..4063aafc6f2 100644
--- a/src/mame/includes/super80.h
+++ b/src/mame/includes/super80.h
@@ -24,7 +24,7 @@
class super80_state : public driver_device
{
public:
- super80_state(const machine_config &mconfig, device_type type, const char *tag)
+ super80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_palette(*this, "palette")
, m_maincpu(*this, "maincpu")
diff --git a/src/mame/includes/superchs.h b/src/mame/includes/superchs.h
index a3d45791548..7fd559010be 100644
--- a/src/mame/includes/superchs.h
+++ b/src/mame/includes/superchs.h
@@ -17,7 +17,7 @@ struct schs_tempsprite
class superchs_state : public driver_device
{
public:
- superchs_state(const machine_config &mconfig, device_type type, const char *tag)
+ superchs_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ram(*this,"ram"),
m_spriteram(*this,"spriteram"),
diff --git a/src/mame/includes/superqix.h b/src/mame/includes/superqix.h
index 82729e52e86..5ed88def28a 100644
--- a/src/mame/includes/superqix.h
+++ b/src/mame/includes/superqix.h
@@ -5,7 +5,7 @@
class superqix_state : public driver_device
{
public:
- superqix_state(const machine_config &mconfig, device_type type, const char *tag)
+ superqix_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_mcu(*this,"mcu"),
diff --git a/src/mame/includes/superslave.h b/src/mame/includes/superslave.h
index ef84899e5c4..67f3a85493f 100644
--- a/src/mame/includes/superslave.h
+++ b/src/mame/includes/superslave.h
@@ -28,7 +28,7 @@
class superslave_state : public driver_device
{
public:
- superslave_state(const machine_config &mconfig, device_type type, const char *tag)
+ superslave_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_dart0(*this, Z80DART_0_TAG),
diff --git a/src/mame/includes/suprloco.h b/src/mame/includes/suprloco.h
index 4db13e5ea33..4e7b0631e89 100644
--- a/src/mame/includes/suprloco.h
+++ b/src/mame/includes/suprloco.h
@@ -3,7 +3,7 @@
class suprloco_state : public driver_device
{
public:
- suprloco_state(const machine_config &mconfig, device_type type, const char *tag)
+ suprloco_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/suprnova.h b/src/mame/includes/suprnova.h
index 672ceb3efd5..b3d163a91ce 100644
--- a/src/mame/includes/suprnova.h
+++ b/src/mame/includes/suprnova.h
@@ -23,7 +23,7 @@ struct hit_t
class skns_state : public driver_device
{
public:
- skns_state(const machine_config &mconfig, device_type type, const char *tag)
+ skns_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_spritegen(*this, "spritegen"),
diff --git a/src/mame/includes/suprridr.h b/src/mame/includes/suprridr.h
index 74a32a47f07..ce3e11502da 100644
--- a/src/mame/includes/suprridr.h
+++ b/src/mame/includes/suprridr.h
@@ -9,7 +9,7 @@
class suprridr_state : public driver_device
{
public:
- suprridr_state(const machine_config &mconfig, device_type type, const char *tag)
+ suprridr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/suprslam.h b/src/mame/includes/suprslam.h
index ffe87dd36bf..95ead745c10 100644
--- a/src/mame/includes/suprslam.h
+++ b/src/mame/includes/suprslam.h
@@ -11,7 +11,7 @@
class suprslam_state : public driver_device
{
public:
- suprslam_state(const machine_config &mconfig, device_type type, const char *tag)
+ suprslam_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_screen_videoram(*this, "screen_videoram"),
m_bg_videoram(*this, "bg_videoram"),
diff --git a/src/mame/includes/surpratk.h b/src/mame/includes/surpratk.h
index 021fa7bbd09..3fceb25a4b8 100644
--- a/src/mame/includes/surpratk.h
+++ b/src/mame/includes/surpratk.h
@@ -15,7 +15,7 @@
class surpratk_state : public driver_device
{
public:
- surpratk_state(const machine_config &mconfig, device_type type, const char *tag)
+ surpratk_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_bank0000(*this, "bank0000"),
diff --git a/src/mame/includes/svi318.h b/src/mame/includes/svi318.h
index 1e0fc0d0d30..5eb96aedd27 100644
--- a/src/mame/includes/svi318.h
+++ b/src/mame/includes/svi318.h
@@ -31,7 +31,7 @@
class svi318_state : public driver_device
{
public:
- svi318_state(const machine_config &mconfig, device_type type, const char *tag)
+ svi318_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cassette(*this, "cassette"),
diff --git a/src/mame/includes/svision.h b/src/mame/includes/svision.h
index 43292b36702..9381e65667c 100644
--- a/src/mame/includes/svision.h
+++ b/src/mame/includes/svision.h
@@ -37,7 +37,7 @@ struct tvlink_t
class svision_state : public driver_device
{
public:
- svision_state(const machine_config &mconfig, device_type type, const char *tag)
+ svision_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_sound(*this, "custom"),
diff --git a/src/mame/includes/swtpc09.h b/src/mame/includes/swtpc09.h
index 10667f44a34..9b71fe6d5e2 100644
--- a/src/mame/includes/swtpc09.h
+++ b/src/mame/includes/swtpc09.h
@@ -29,7 +29,7 @@
class swtpc09_state : public driver_device
{
public:
- swtpc09_state(const machine_config &mconfig, device_type type, const char *tag)
+ swtpc09_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pia(*this, "pia"),
diff --git a/src/mame/includes/system1.h b/src/mame/includes/system1.h
index 8f3cf559276..96869c4ede5 100644
--- a/src/mame/includes/system1.h
+++ b/src/mame/includes/system1.h
@@ -6,7 +6,7 @@
class system1_state : public driver_device
{
public:
- system1_state(const machine_config &mconfig, device_type type, const char *tag)
+ system1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_ppi8255(*this, "ppi8255"),
m_ram(*this, "ram"),
diff --git a/src/mame/includes/system16.h b/src/mame/includes/system16.h
index 5173524b89e..b63a9b9e5b4 100644
--- a/src/mame/includes/system16.h
+++ b/src/mame/includes/system16.h
@@ -11,7 +11,7 @@
class segas1x_bootleg_state : public sega_16bit_common_base
{
public:
- segas1x_bootleg_state(const machine_config &mconfig, device_type type, const char *tag)
+ segas1x_bootleg_state(const machine_config &mconfig, device_type type, std::string tag)
: sega_16bit_common_base(mconfig, type, tag) ,
m_textram(*this, "textram"),
m_bg0_tileram(*this, "bg0_tileram"),
diff --git a/src/mame/includes/tagteam.h b/src/mame/includes/tagteam.h
index a39e95dcc4f..e2702ed6f2a 100644
--- a/src/mame/includes/tagteam.h
+++ b/src/mame/includes/tagteam.h
@@ -3,7 +3,7 @@
class tagteam_state : public driver_device
{
public:
- tagteam_state(const machine_config &mconfig, device_type type, const char *tag)
+ tagteam_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/tail2nos.h b/src/mame/includes/tail2nos.h
index f4eb8bb919f..ebc17b48451 100644
--- a/src/mame/includes/tail2nos.h
+++ b/src/mame/includes/tail2nos.h
@@ -11,7 +11,7 @@
class tail2nos_state : public driver_device
{
public:
- tail2nos_state(const machine_config &mconfig, device_type type, const char *tag)
+ tail2nos_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_txvideoram(*this, "txvideoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/taito_b.h b/src/mame/includes/taito_b.h
index 9a317f2eea9..3b7bb963b03 100644
--- a/src/mame/includes/taito_b.h
+++ b/src/mame/includes/taito_b.h
@@ -23,7 +23,7 @@ public:
REALPUNC_INTERRUPT3
};
- taitob_state(const machine_config &mconfig, device_type type, const char *tag)
+ taitob_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_pixelram(*this, "pixelram"),
diff --git a/src/mame/includes/taito_f2.h b/src/mame/includes/taito_f2.h
index 1d75ce57e28..c2a30abb330 100644
--- a/src/mame/includes/taito_f2.h
+++ b/src/mame/includes/taito_f2.h
@@ -25,7 +25,7 @@ public:
TIMER_TAITOF2_INTERRUPT6
};
- taitof2_state(const machine_config &mconfig, device_type type, const char *tag)
+ taitof2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_sprite_extension(*this, "sprite_ext"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/taito_f3.h b/src/mame/includes/taito_f3.h
index 5b31c9db98c..9ce6338c18d 100644
--- a/src/mame/includes/taito_f3.h
+++ b/src/mame/includes/taito_f3.h
@@ -52,7 +52,7 @@ public:
TIMER_F3_INTERRUPT3
};
- taito_f3_state(const machine_config &mconfig, device_type type, const char *tag)
+ taito_f3_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/taito_h.h b/src/mame/includes/taito_h.h
index d90434f5d24..a638937801f 100644
--- a/src/mame/includes/taito_h.h
+++ b/src/mame/includes/taito_h.h
@@ -12,7 +12,7 @@
class taitoh_state : public driver_device
{
public:
- taitoh_state(const machine_config &mconfig, device_type type, const char *tag)
+ taitoh_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_m68000_mainram(*this, "m68000_mainram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/taito_l.h b/src/mame/includes/taito_l.h
index 9ddecdb0c03..1ef46ed0b4b 100644
--- a/src/mame/includes/taito_l.h
+++ b/src/mame/includes/taito_l.h
@@ -8,7 +8,7 @@
class taitol_state : public driver_device
{
public:
- taitol_state(const machine_config &mconfig, device_type type, const char *tag)
+ taitol_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/taito_o.h b/src/mame/includes/taito_o.h
index 249c83b158f..53d76964852 100644
--- a/src/mame/includes/taito_o.h
+++ b/src/mame/includes/taito_o.h
@@ -11,7 +11,7 @@
class taitoo_state : public driver_device
{
public:
- taitoo_state(const machine_config &mconfig, device_type type, const char *tag)
+ taitoo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_tc0080vco(*this, "tc0080vco"),
diff --git a/src/mame/includes/taito_x.h b/src/mame/includes/taito_x.h
index 110777c878e..d9f2b9f394c 100644
--- a/src/mame/includes/taito_x.h
+++ b/src/mame/includes/taito_x.h
@@ -6,7 +6,7 @@
class taitox_state : public seta_state
{
public:
- taitox_state(const machine_config &mconfig, device_type type, const char *tag)
+ taitox_state(const machine_config &mconfig, device_type type, std::string tag)
: seta_state(mconfig, type, tag) { }
DECLARE_READ16_MEMBER(superman_dsw_input_r);
diff --git a/src/mame/includes/taito_z.h b/src/mame/includes/taito_z.h
index f14335f4b7b..e9847be2d22 100644
--- a/src/mame/includes/taito_z.h
+++ b/src/mame/includes/taito_z.h
@@ -25,7 +25,7 @@ public:
TIMER_TAITOZ_CPUB_INTERRUPT5
};
- taitoz_state(const machine_config &mconfig, device_type type, const char *tag)
+ taitoz_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/taitoair.h b/src/mame/includes/taitoair.h
index 2a0bc94cd12..285829b34f7 100644
--- a/src/mame/includes/taitoair.h
+++ b/src/mame/includes/taitoair.h
@@ -25,7 +25,7 @@ struct taitoair_poly {
class taitoair_state : public driver_device
{
public:
- taitoair_state(const machine_config &mconfig, device_type type, const char *tag)
+ taitoair_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_m68000_mainram(*this, "m68000_mainram"),
m_line_ram(*this, "line_ram"),
diff --git a/src/mame/includes/taitojc.h b/src/mame/includes/taitojc.h
index f334077dddb..8668da0b928 100644
--- a/src/mame/includes/taitojc.h
+++ b/src/mame/includes/taitojc.h
@@ -12,7 +12,7 @@
class taitojc_state : public driver_device
{
public:
- taitojc_state(const machine_config &mconfig, device_type type, const char *tag)
+ taitojc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_dsp(*this,"dsp"),
diff --git a/src/mame/includes/taitosj.h b/src/mame/includes/taitosj.h
index b99a071d025..2936218f93d 100644
--- a/src/mame/includes/taitosj.h
+++ b/src/mame/includes/taitosj.h
@@ -5,7 +5,7 @@
class taitosj_state : public driver_device
{
public:
- taitosj_state(const machine_config &mconfig, device_type type, const char *tag)
+ taitosj_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram_1(*this, "videoram_1"),
m_videoram_2(*this, "videoram_2"),
diff --git a/src/mame/includes/tandy2k.h b/src/mame/includes/tandy2k.h
index 57a96efd607..c90ef642478 100644
--- a/src/mame/includes/tandy2k.h
+++ b/src/mame/includes/tandy2k.h
@@ -42,7 +42,7 @@
class tandy2k_state : public driver_device
{
public:
- tandy2k_state(const machine_config &mconfig, device_type type, const char *tag) :
+ tandy2k_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, I80186_TAG),
m_uart(*this, I8251A_TAG),
diff --git a/src/mame/includes/tank8.h b/src/mame/includes/tank8.h
index 2f9eac715c4..60fc2d87eb8 100644
--- a/src/mame/includes/tank8.h
+++ b/src/mame/includes/tank8.h
@@ -33,7 +33,7 @@ public:
TIMER_COLLISION
};
- tank8_state(const machine_config &mconfig, device_type type, const char *tag)
+ tank8_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_discrete(*this, "discrete"),
diff --git a/src/mame/includes/tankbatt.h b/src/mame/includes/tankbatt.h
index 2359153c3e6..92c57a2cb2d 100644
--- a/src/mame/includes/tankbatt.h
+++ b/src/mame/includes/tankbatt.h
@@ -4,7 +4,7 @@
class tankbatt_state : public driver_device
{
public:
- tankbatt_state(const machine_config &mconfig, device_type type, const char *tag)
+ tankbatt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_samples(*this, "samples"),
diff --git a/src/mame/includes/tankbust.h b/src/mame/includes/tankbust.h
index aa1501e59d0..e252a6da119 100644
--- a/src/mame/includes/tankbust.h
+++ b/src/mame/includes/tankbust.h
@@ -3,7 +3,7 @@
class tankbust_state : public driver_device
{
public:
- tankbust_state(const machine_config &mconfig, device_type type, const char *tag)
+ tankbust_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/includes/taotaido.h b/src/mame/includes/taotaido.h
index 3c7e566469c..c33acd3ed3b 100644
--- a/src/mame/includes/taotaido.h
+++ b/src/mame/includes/taotaido.h
@@ -3,7 +3,7 @@
class taotaido_state : public driver_device
{
public:
- taotaido_state(const machine_config &mconfig, device_type type, const char *tag)
+ taotaido_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/targeth.h b/src/mame/includes/targeth.h
index 946f95325c6..ce2c9a8d0e8 100644
--- a/src/mame/includes/targeth.h
+++ b/src/mame/includes/targeth.h
@@ -3,7 +3,7 @@
class targeth_state : public driver_device
{
public:
- targeth_state(const machine_config &mconfig, device_type type, const char *tag)
+ targeth_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/tatsumi.h b/src/mame/includes/tatsumi.h
index 0b1aac7f23f..9ff7633953d 100644
--- a/src/mame/includes/tatsumi.h
+++ b/src/mame/includes/tatsumi.h
@@ -6,7 +6,7 @@
class tatsumi_state : public driver_device
{
public:
- tatsumi_state(const machine_config &mconfig, device_type type, const char *tag)
+ tatsumi_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/taxidriv.h b/src/mame/includes/taxidriv.h
index 2884053df30..73e37bde51c 100644
--- a/src/mame/includes/taxidriv.h
+++ b/src/mame/includes/taxidriv.h
@@ -3,7 +3,7 @@
class taxidriv_state : public driver_device
{
public:
- taxidriv_state(const machine_config &mconfig, device_type type, const char *tag)
+ taxidriv_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/tbowl.h b/src/mame/includes/tbowl.h
index 523cf8c0595..1a37fde1b8d 100644
--- a/src/mame/includes/tbowl.h
+++ b/src/mame/includes/tbowl.h
@@ -6,7 +6,7 @@
class tbowl_state : public driver_device
{
public:
- tbowl_state(const machine_config &mconfig, device_type type, const char *tag)
+ tbowl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/tceptor.h b/src/mame/includes/tceptor.h
index 5ec6d58a36d..47866949fd5 100644
--- a/src/mame/includes/tceptor.h
+++ b/src/mame/includes/tceptor.h
@@ -7,7 +7,7 @@
class tceptor_state : public driver_device
{
public:
- tceptor_state(const machine_config &mconfig, device_type type, const char *tag)
+ tceptor_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cus30(*this, "namco"),
diff --git a/src/mame/includes/tdv2324.h b/src/mame/includes/tdv2324.h
index 8e4ad412197..a4e82a79fa0 100644
--- a/src/mame/includes/tdv2324.h
+++ b/src/mame/includes/tdv2324.h
@@ -47,7 +47,7 @@
class tdv2324_state : public driver_device
{
public:
- tdv2324_state(const machine_config &mconfig, device_type type, const char *tag)
+ tdv2324_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, P8085AH_0_TAG),
m_subcpu(*this, P8085AH_1_TAG),
diff --git a/src/mame/includes/tecmo.h b/src/mame/includes/tecmo.h
index aed50ccd174..4d42d3c8939 100644
--- a/src/mame/includes/tecmo.h
+++ b/src/mame/includes/tecmo.h
@@ -6,7 +6,7 @@
class tecmo_state : public driver_device
{
public:
- tecmo_state(const machine_config &mconfig, device_type type, const char *tag)
+ tecmo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_soundcpu(*this, "soundcpu"),
diff --git a/src/mame/includes/tecmo16.h b/src/mame/includes/tecmo16.h
index cfdbb55acf1..355eca5cdee 100644
--- a/src/mame/includes/tecmo16.h
+++ b/src/mame/includes/tecmo16.h
@@ -6,7 +6,7 @@
class tecmo16_state : public driver_device
{
public:
- tecmo16_state(const machine_config &mconfig, device_type type, const char *tag)
+ tecmo16_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/tecmosys.h b/src/mame/includes/tecmosys.h
index b2af39ab37a..a99f341a9be 100644
--- a/src/mame/includes/tecmosys.h
+++ b/src/mame/includes/tecmosys.h
@@ -10,7 +10,7 @@
class tecmosys_state : public driver_device
{
public:
- tecmosys_state(const machine_config &mconfig, device_type type, const char *tag)
+ tecmosys_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/tehkanwc.h b/src/mame/includes/tehkanwc.h
index 22f98d76586..8eec719c09d 100644
--- a/src/mame/includes/tehkanwc.h
+++ b/src/mame/includes/tehkanwc.h
@@ -10,7 +10,7 @@ public:
TIMER_RESET
};
- tehkanwc_state(const machine_config &mconfig, device_type type, const char *tag)
+ tehkanwc_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/tek405x.h b/src/mame/includes/tek405x.h
index 018c3835c65..6bee3736581 100644
--- a/src/mame/includes/tek405x.h
+++ b/src/mame/includes/tek405x.h
@@ -34,7 +34,7 @@
class tek4051_state : public driver_device
{
public:
- tek4051_state(const machine_config &mconfig, device_type type, const char *tag) :
+ tek4051_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, MC6800_TAG),
m_gpib_pia(*this, MC6820_GPIB_TAG),
@@ -145,7 +145,7 @@ public:
class tek4052_state : public driver_device
{
public:
- tek4052_state(const machine_config &mconfig, device_type type, const char *tag)
+ tek4052_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, AM2901A_TAG),
m_ram(*this, RAM_TAG)
diff --git a/src/mame/includes/terracre.h b/src/mame/includes/terracre.h
index d055fa142a5..f61bcd1d5be 100644
--- a/src/mame/includes/terracre.h
+++ b/src/mame/includes/terracre.h
@@ -5,7 +5,7 @@
class terracre_state : public driver_device
{
public:
- terracre_state(const machine_config &mconfig, device_type type, const char *tag)
+ terracre_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/tetrisp2.h b/src/mame/includes/tetrisp2.h
index 9f65ee2fa19..ffdfe1367e4 100644
--- a/src/mame/includes/tetrisp2.h
+++ b/src/mame/includes/tetrisp2.h
@@ -3,7 +3,7 @@
class tetrisp2_state : public driver_device
{
public:
- tetrisp2_state(const machine_config &mconfig, device_type type, const char *tag)
+ tetrisp2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
@@ -138,7 +138,7 @@ public:
class stepstag_state : public tetrisp2_state
{
public:
- stepstag_state(const machine_config &mconfig, device_type type, const char *tag)
+ stepstag_state(const machine_config &mconfig, device_type type, std::string tag)
: tetrisp2_state(mconfig, type, tag),
m_spriteram3(*this, "spriteram3") { }
diff --git a/src/mame/includes/thedeep.h b/src/mame/includes/thedeep.h
index c95574628b9..e07763ae2b7 100644
--- a/src/mame/includes/thedeep.h
+++ b/src/mame/includes/thedeep.h
@@ -6,7 +6,7 @@
class thedeep_state : public driver_device
{
public:
- thedeep_state(const machine_config &mconfig, device_type type, const char *tag)
+ thedeep_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/thepit.h b/src/mame/includes/thepit.h
index 11852faab9e..b21f82bd522 100644
--- a/src/mame/includes/thepit.h
+++ b/src/mame/includes/thepit.h
@@ -3,7 +3,7 @@
class thepit_state : public driver_device
{
public:
- thepit_state(const machine_config &mconfig, device_type type, const char *tag)
+ thepit_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/thief.h b/src/mame/includes/thief.h
index bc1d57ae8a8..8f57393af11 100644
--- a/src/mame/includes/thief.h
+++ b/src/mame/includes/thief.h
@@ -13,7 +13,7 @@ struct coprocessor_t {
class thief_state : public driver_device
{
public:
- thief_state(const machine_config &mconfig, device_type type, const char *tag)
+ thief_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_samples(*this, "samples"),
diff --git a/src/mame/includes/thomson.h b/src/mame/includes/thomson.h
index f8047501e7c..33708d48d65 100644
--- a/src/mame/includes/thomson.h
+++ b/src/mame/includes/thomson.h
@@ -96,7 +96,7 @@ struct thom_vsignal {
class thomson_state : public driver_device
{
public:
- thomson_state(const machine_config &mconfig, device_type type, const char *tag) :
+ thomson_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_mc6854(*this, "mc6854"),
m_maincpu(*this, "maincpu"),
@@ -674,7 +674,7 @@ class to7_io_line_device : public device_t
{
public:
// construction/destruction
- to7_io_line_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ to7_io_line_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
/* read data register */
DECLARE_READ8_MEMBER(porta_in);
diff --git a/src/mame/includes/thoop2.h b/src/mame/includes/thoop2.h
index 066f4ffbde2..3202ddd5229 100644
--- a/src/mame/includes/thoop2.h
+++ b/src/mame/includes/thoop2.h
@@ -3,7 +3,7 @@
class thoop2_state : public driver_device
{
public:
- thoop2_state(const machine_config &mconfig, device_type type, const char *tag)
+ thoop2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_vregs(*this, "vregs"),
diff --git a/src/mame/includes/thunderj.h b/src/mame/includes/thunderj.h
index ebcaff632ed..7a8ea1ee72c 100644
--- a/src/mame/includes/thunderj.h
+++ b/src/mame/includes/thunderj.h
@@ -13,7 +13,7 @@
class thunderj_state : public atarigen_state
{
public:
- thunderj_state(const machine_config &mconfig, device_type type, const char *tag)
+ thunderj_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_jsa(*this, "jsa"),
m_vad(*this, "vad"),
diff --git a/src/mame/includes/thunderx.h b/src/mame/includes/thunderx.h
index 2ea60729e11..e19f38e39fd 100644
--- a/src/mame/includes/thunderx.h
+++ b/src/mame/includes/thunderx.h
@@ -20,7 +20,7 @@ public:
TIMER_THUNDERX_FIRQ
};
- thunderx_state(const machine_config &mconfig, device_type type, const char *tag)
+ thunderx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/ti85.h b/src/mame/includes/ti85.h
index 4eff29fff9b..bf60dbf5c95 100644
--- a/src/mame/includes/ti85.h
+++ b/src/mame/includes/ti85.h
@@ -53,7 +53,7 @@ typedef enum TI83PSE_CTIMER
class ti85_state : public driver_device
{
public:
- ti85_state(const machine_config &mconfig, device_type type, const char *tag)
+ ti85_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker"),
diff --git a/src/mame/includes/ti89.h b/src/mame/includes/ti89.h
index 67b1707e8bc..b7616d23042 100644
--- a/src/mame/includes/ti89.h
+++ b/src/mame/includes/ti89.h
@@ -14,7 +14,7 @@
class ti68k_state : public driver_device
{
public:
- ti68k_state(const machine_config &mconfig, device_type type, const char *tag)
+ ti68k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_flash(*this, "flash"),
diff --git a/src/mame/includes/tiamc1.h b/src/mame/includes/tiamc1.h
index a6a7096efb7..2eb976ebc55 100644
--- a/src/mame/includes/tiamc1.h
+++ b/src/mame/includes/tiamc1.h
@@ -4,7 +4,7 @@
class tiamc1_state : public driver_device
{
public:
- tiamc1_state(const machine_config &mconfig, device_type type, const char *tag)
+ tiamc1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag) ,
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
@@ -89,7 +89,7 @@ class tiamc1_sound_device : public device_t,
public device_sound_interface
{
public:
- tiamc1_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tiamc1_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~tiamc1_sound_device() { }
protected:
diff --git a/src/mame/includes/tigeroad.h b/src/mame/includes/tigeroad.h
index b54f8a6d2dd..cca95a073c7 100644
--- a/src/mame/includes/tigeroad.h
+++ b/src/mame/includes/tigeroad.h
@@ -12,7 +12,7 @@
class tigeroad_state : public driver_device
{
public:
- tigeroad_state(const machine_config &mconfig, device_type type, const char *tag)
+ tigeroad_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram") ,
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/tiki100.h b/src/mame/includes/tiki100.h
index b4e837adba3..78b7858eaac 100644
--- a/src/mame/includes/tiki100.h
+++ b/src/mame/includes/tiki100.h
@@ -42,7 +42,7 @@
class tiki100_state : public driver_device
{
public:
- tiki100_state(const machine_config &mconfig, device_type type, const char *tag) :
+ tiki100_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_ctc(*this, Z80CTC_TAG),
diff --git a/src/mame/includes/timelimt.h b/src/mame/includes/timelimt.h
index 7b7af434c15..2dc9aab9867 100644
--- a/src/mame/includes/timelimt.h
+++ b/src/mame/includes/timelimt.h
@@ -3,7 +3,7 @@
class timelimt_state : public driver_device
{
public:
- timelimt_state(const machine_config &mconfig, device_type type, const char *tag)
+ timelimt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/timeplt.h b/src/mame/includes/timeplt.h
index 3a9de0d64c1..07dd87c49af 100644
--- a/src/mame/includes/timeplt.h
+++ b/src/mame/includes/timeplt.h
@@ -11,7 +11,7 @@
class timeplt_state : public driver_device
{
public:
- timeplt_state(const machine_config &mconfig, device_type type, const char *tag)
+ timeplt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_tc8830f(*this, "tc8830f"),
diff --git a/src/mame/includes/tmc1800.h b/src/mame/includes/tmc1800.h
index 6e7c80c1c03..7b51cdfa295 100644
--- a/src/mame/includes/tmc1800.h
+++ b/src/mame/includes/tmc1800.h
@@ -26,7 +26,7 @@
class tmc1800_base_state : public driver_device
{
public:
- tmc1800_base_state(const machine_config &mconfig, device_type type, const char *tag)
+ tmc1800_base_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, CDP1802_TAG),
m_cassette(*this, "cassette"),
@@ -55,7 +55,7 @@ public:
TIMER_SETUP_BEEP
};
- tmc1800_state(const machine_config &mconfig, device_type type, const char *tag)
+ tmc1800_state(const machine_config &mconfig, device_type type, std::string tag)
: tmc1800_base_state(mconfig, type, tag),
m_vdc(*this, CDP1861_TAG)
{ }
@@ -84,7 +84,7 @@ protected:
class osc1000b_state : public tmc1800_base_state
{
public:
- osc1000b_state(const machine_config &mconfig, device_type type, const char *tag)
+ osc1000b_state(const machine_config &mconfig, device_type type, std::string tag)
: tmc1800_base_state(mconfig, type, tag)
{ }
@@ -107,7 +107,7 @@ public:
class tmc2000_state : public tmc1800_base_state
{
public:
- tmc2000_state(const machine_config &mconfig, device_type type, const char *tag)
+ tmc2000_state(const machine_config &mconfig, device_type type, std::string tag)
: tmc1800_base_state(mconfig, type, tag),
m_cti(*this, CDP1864_TAG),
m_colorram(*this, "color_ram"),
@@ -164,7 +164,7 @@ public:
class nano_state : public tmc1800_base_state
{
public:
- nano_state(const machine_config &mconfig, device_type type, const char *tag)
+ nano_state(const machine_config &mconfig, device_type type, std::string tag)
: tmc1800_base_state(mconfig, type, tag),
m_cti(*this, CDP1864_TAG),
m_ny0(*this, "NY0"),
diff --git a/src/mame/includes/tmc2000e.h b/src/mame/includes/tmc2000e.h
index 29974e3a233..8b1cb6f2837 100644
--- a/src/mame/includes/tmc2000e.h
+++ b/src/mame/includes/tmc2000e.h
@@ -22,7 +22,7 @@
class tmc2000e_state : public driver_device
{
public:
- tmc2000e_state(const machine_config &mconfig, device_type type, const char *tag)
+ tmc2000e_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, CDP1802_TAG),
m_cti(*this, CDP1864_TAG),
diff --git a/src/mame/includes/tmc600.h b/src/mame/includes/tmc600.h
index 9fa19ca227a..ca7fc806b1c 100644
--- a/src/mame/includes/tmc600.h
+++ b/src/mame/includes/tmc600.h
@@ -25,7 +25,7 @@
class tmc600_state : public driver_device
{
public:
- tmc600_state(const machine_config &mconfig, device_type type, const char *tag)
+ tmc600_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, CDP1802_TAG),
m_vis(*this, CDP1869_TAG),
diff --git a/src/mame/includes/tmnt.h b/src/mame/includes/tmnt.h
index 8b6d18a7c78..082a4f099d1 100644
--- a/src/mame/includes/tmnt.h
+++ b/src/mame/includes/tmnt.h
@@ -21,7 +21,7 @@ public:
TIMER_NMI
};
- tmnt_state(const machine_config &mconfig, device_type type, const char *tag)
+ tmnt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_tmnt2_rom(*this, "tmnt2_rom"),
diff --git a/src/mame/includes/tnzs.h b/src/mame/includes/tnzs.h
index 9ac5c6688da..ed5470d309c 100644
--- a/src/mame/includes/tnzs.h
+++ b/src/mame/includes/tnzs.h
@@ -25,7 +25,7 @@ enum
class tnzs_state : public driver_device
{
public:
- tnzs_state(const machine_config &mconfig, device_type type, const char *tag)
+ tnzs_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/toaplan1.h b/src/mame/includes/toaplan1.h
index 7c67523b40a..9c0b12075b2 100644
--- a/src/mame/includes/toaplan1.h
+++ b/src/mame/includes/toaplan1.h
@@ -11,7 +11,7 @@
class toaplan1_state : public driver_device
{
public:
- toaplan1_state(const machine_config &mconfig, device_type type, const char *tag)
+ toaplan1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_bgpaletteram(*this, "bgpalette"),
m_fgpaletteram(*this, "fgpalette"),
@@ -164,7 +164,7 @@ public:
class toaplan1_rallybik_state : public toaplan1_state
{
public:
- toaplan1_rallybik_state(const machine_config &mconfig, device_type type, const char *tag)
+ toaplan1_rallybik_state(const machine_config &mconfig, device_type type, std::string tag)
: toaplan1_state(mconfig, type, tag),
m_spritegen(*this, "scu")
{
diff --git a/src/mame/includes/toaplan2.h b/src/mame/includes/toaplan2.h
index 198cd1ce6ec..98b0a0beb8f 100644
--- a/src/mame/includes/toaplan2.h
+++ b/src/mame/includes/toaplan2.h
@@ -22,7 +22,7 @@ public:
TIMER_RAISE_IRQ
};
- toaplan2_state(const machine_config &mconfig, device_type type, const char *tag)
+ toaplan2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_shared_ram(*this, "shared_ram"),
m_shared_ram16(*this, "shared_ram16"),
diff --git a/src/mame/includes/toki.h b/src/mame/includes/toki.h
index 23718749380..842fb2d8bc1 100644
--- a/src/mame/includes/toki.h
+++ b/src/mame/includes/toki.h
@@ -7,7 +7,7 @@
class toki_state : public driver_device
{
public:
- toki_state(const machine_config &mconfig, device_type type, const char *tag)
+ toki_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/toobin.h b/src/mame/includes/toobin.h
index 38d50d41c60..e9c1604acd0 100644
--- a/src/mame/includes/toobin.h
+++ b/src/mame/includes/toobin.h
@@ -13,7 +13,7 @@
class toobin_state : public atarigen_state
{
public:
- toobin_state(const machine_config &mconfig, device_type type, const char *tag)
+ toobin_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_jsa(*this, "jsa"),
m_playfield_tilemap(*this, "playfield"),
diff --git a/src/mame/includes/topspeed.h b/src/mame/includes/topspeed.h
index 139543e69b6..be73f58e8f0 100644
--- a/src/mame/includes/topspeed.h
+++ b/src/mame/includes/topspeed.h
@@ -14,7 +14,7 @@
class topspeed_state : public driver_device
{
public:
- topspeed_state(const machine_config &mconfig, device_type type, const char *tag)
+ topspeed_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spritemap(*this, "spritemap"),
m_raster_ctrl(*this, "raster_ctrl"),
diff --git a/src/mame/includes/toypop.h b/src/mame/includes/toypop.h
index 7669fecd778..969667fb3c3 100644
--- a/src/mame/includes/toypop.h
+++ b/src/mame/includes/toypop.h
@@ -11,7 +11,7 @@ public:
TIMER_NAMCOIO_RUN
};
- toypop_state(const machine_config &mconfig, device_type type, const char *tag)
+ toypop_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/tp84.h b/src/mame/includes/tp84.h
index 928450edc0c..914aa6d4fce 100644
--- a/src/mame/includes/tp84.h
+++ b/src/mame/includes/tp84.h
@@ -3,7 +3,7 @@
class tp84_state : public driver_device
{
public:
- tp84_state(const machine_config &mconfig, device_type type, const char *tag)
+ tp84_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_audiocpu(*this, "audiocpu"),
m_palette_bank(*this, "palette_bank"),
diff --git a/src/mame/includes/trackfld.h b/src/mame/includes/trackfld.h
index bac83ad0c3e..c11de6b25db 100644
--- a/src/mame/includes/trackfld.h
+++ b/src/mame/includes/trackfld.h
@@ -12,7 +12,7 @@
class trackfld_state : public driver_device
{
public:
- trackfld_state(const machine_config &mconfig, device_type type, const char *tag)
+ trackfld_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram2(*this, "spriteram2"),
m_scroll(*this, "scroll"),
diff --git a/src/mame/includes/travrusa.h b/src/mame/includes/travrusa.h
index 58f36622450..72057146a90 100644
--- a/src/mame/includes/travrusa.h
+++ b/src/mame/includes/travrusa.h
@@ -4,7 +4,7 @@
class travrusa_state : public driver_device
{
public:
- travrusa_state(const machine_config &mconfig, device_type type, const char *tag)
+ travrusa_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/triplhnt.h b/src/mame/includes/triplhnt.h
index 9d145c591a9..8f0dfee3004 100644
--- a/src/mame/includes/triplhnt.h
+++ b/src/mame/includes/triplhnt.h
@@ -26,7 +26,7 @@ public:
TIMER_HIT
};
- triplhnt_state(const machine_config &mconfig, device_type type, const char *tag)
+ triplhnt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_playfield_ram(*this, "playfield_ram"),
m_vpos_ram(*this, "vpos_ram"),
diff --git a/src/mame/includes/trs80.h b/src/mame/includes/trs80.h
index d6868eb2fca..d43e2a01f3b 100644
--- a/src/mame/includes/trs80.h
+++ b/src/mame/includes/trs80.h
@@ -26,7 +26,7 @@
class trs80_state : public driver_device
{
public:
- trs80_state(const machine_config &mconfig, device_type type, const char *tag)
+ trs80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_centronics(*this, "centronics"),
diff --git a/src/mame/includes/trs80m2.h b/src/mame/includes/trs80m2.h
index 305fd2bab49..1bfbbc82047 100644
--- a/src/mame/includes/trs80m2.h
+++ b/src/mame/includes/trs80m2.h
@@ -38,7 +38,7 @@
class trs80m2_state : public driver_device
{
public:
- trs80m2_state(const machine_config &mconfig, device_type type, const char *tag)
+ trs80m2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_ctc(*this, Z80CTC_TAG),
@@ -142,7 +142,7 @@ public:
class trs80m16_state : public trs80m2_state
{
public:
- trs80m16_state(const machine_config &mconfig, device_type type, const char *tag)
+ trs80m16_state(const machine_config &mconfig, device_type type, std::string tag)
: trs80m2_state(mconfig, type, tag),
m_subcpu(*this, M68000_TAG),
m_pic(*this, AM9519A_TAG)
diff --git a/src/mame/includes/truco.h b/src/mame/includes/truco.h
index c79319efbb9..cce6429cb87 100644
--- a/src/mame/includes/truco.h
+++ b/src/mame/includes/truco.h
@@ -5,7 +5,7 @@
class truco_state : public driver_device
{
public:
- truco_state(const machine_config &mconfig, device_type type, const char *tag)
+ truco_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dac(*this, "dac"),
diff --git a/src/mame/includes/trucocl.h b/src/mame/includes/trucocl.h
index f851f627130..81b51471923 100644
--- a/src/mame/includes/trucocl.h
+++ b/src/mame/includes/trucocl.h
@@ -10,7 +10,7 @@ public:
TIMER_DAC_IRQ
};
- trucocl_state(const machine_config &mconfig, device_type type, const char *tag)
+ trucocl_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
diff --git a/src/mame/includes/tryout.h b/src/mame/includes/tryout.h
index e2ef35ded3e..e5ee84df31d 100644
--- a/src/mame/includes/tryout.h
+++ b/src/mame/includes/tryout.h
@@ -3,7 +3,7 @@
class tryout_state : public driver_device
{
public:
- tryout_state(const machine_config &mconfig, device_type type, const char *tag)
+ tryout_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/tsamurai.h b/src/mame/includes/tsamurai.h
index 2db05642d68..db646323640 100644
--- a/src/mame/includes/tsamurai.h
+++ b/src/mame/includes/tsamurai.h
@@ -3,7 +3,7 @@
class tsamurai_state : public driver_device
{
public:
- tsamurai_state(const machine_config &mconfig, device_type type, const char *tag)
+ tsamurai_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/tsispch.h b/src/mame/includes/tsispch.h
index 797eca02687..35f1a7b94b6 100644
--- a/src/mame/includes/tsispch.h
+++ b/src/mame/includes/tsispch.h
@@ -20,7 +20,7 @@
class tsispch_state : public driver_device
{
public:
- tsispch_state(const machine_config &mconfig, device_type type, const char *tag)
+ tsispch_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dsp(*this, "dsp"),
diff --git a/src/mame/includes/tubep.h b/src/mame/includes/tubep.h
index 5e86965aac6..4f80f077222 100644
--- a/src/mame/includes/tubep.h
+++ b/src/mame/includes/tubep.h
@@ -12,7 +12,7 @@ public:
TIMER_SPRITE
};
- tubep_state(const machine_config &mconfig, device_type type, const char *tag)
+ tubep_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_textram(*this, "textram"),
m_backgroundram(*this, "backgroundram"),
diff --git a/src/mame/includes/tumbleb.h b/src/mame/includes/tumbleb.h
index a3b528310d6..f8d16b7b584 100644
--- a/src/mame/includes/tumbleb.h
+++ b/src/mame/includes/tumbleb.h
@@ -7,7 +7,7 @@
class tumbleb_state : public driver_device
{
public:
- tumbleb_state(const machine_config &mconfig, device_type type, const char *tag)
+ tumbleb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_mainram(*this, "mainram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/tumblep.h b/src/mame/includes/tumblep.h
index 291fdffcbe2..2a125dddd99 100644
--- a/src/mame/includes/tumblep.h
+++ b/src/mame/includes/tumblep.h
@@ -12,7 +12,7 @@
class tumblep_state : public driver_device
{
public:
- tumblep_state(const machine_config &mconfig, device_type type, const char *tag)
+ tumblep_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_pf1_rowscroll(*this, "pf1_rowscroll"),
diff --git a/src/mame/includes/tunhunt.h b/src/mame/includes/tunhunt.h
index 5ac558adead..e0cdd158772 100644
--- a/src/mame/includes/tunhunt.h
+++ b/src/mame/includes/tunhunt.h
@@ -3,7 +3,7 @@
class tunhunt_state : public driver_device
{
public:
- tunhunt_state(const machine_config &mconfig, device_type type, const char *tag)
+ tunhunt_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/turbo.h b/src/mame/includes/turbo.h
index e2d0ea2ab2d..921fd9e6d70 100644
--- a/src/mame/includes/turbo.h
+++ b/src/mame/includes/turbo.h
@@ -19,7 +19,7 @@
class turbo_state : public driver_device
{
public:
- turbo_state(const machine_config &mconfig, device_type type, const char *tag)
+ turbo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "subcpu"),
diff --git a/src/mame/includes/turrett.h b/src/mame/includes/turrett.h
index f883913f695..1ff3486f482 100644
--- a/src/mame/includes/turrett.h
+++ b/src/mame/includes/turrett.h
@@ -12,7 +12,7 @@
class turrett_state : public driver_device
{
public:
- turrett_state(const machine_config &mconfig, device_type type, const char *tag)
+ turrett_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ata(*this, "ata"),
@@ -94,7 +94,7 @@ class turrett_device : public device_t,
public:
// construction/destruction
- turrett_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ turrett_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ32_MEMBER(read);
DECLARE_WRITE32_MEMBER(write);
diff --git a/src/mame/includes/tutankhm.h b/src/mame/includes/tutankhm.h
index b5748db47b0..6540178d98d 100644
--- a/src/mame/includes/tutankhm.h
+++ b/src/mame/includes/tutankhm.h
@@ -3,7 +3,7 @@
class tutankhm_state : public driver_device
{
public:
- tutankhm_state(const machine_config &mconfig, device_type type, const char *tag)
+ tutankhm_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_scroll(*this, "scroll"),
diff --git a/src/mame/includes/twin16.h b/src/mame/includes/twin16.h
index 1a3bc02fd73..077b49b61d5 100644
--- a/src/mame/includes/twin16.h
+++ b/src/mame/includes/twin16.h
@@ -7,7 +7,7 @@
class twin16_state : public driver_device
{
public:
- twin16_state(const machine_config &mconfig, device_type type, const char *tag)
+ twin16_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
@@ -97,7 +97,7 @@ private:
class fround_state : public twin16_state
{
public:
- fround_state(const machine_config &mconfig, device_type type, const char *tag)
+ fround_state(const machine_config &mconfig, device_type type, std::string tag)
: twin16_state(mconfig, type, tag)
{}
@@ -116,7 +116,7 @@ private:
class cuebrickj_state : public twin16_state
{
public:
- cuebrickj_state(const machine_config &mconfig, device_type type, const char *tag)
+ cuebrickj_state(const machine_config &mconfig, device_type type, std::string tag)
: twin16_state(mconfig, type, tag)
{}
diff --git a/src/mame/includes/twincobr.h b/src/mame/includes/twincobr.h
index 6f6c603af24..c0ad03da365 100644
--- a/src/mame/includes/twincobr.h
+++ b/src/mame/includes/twincobr.h
@@ -12,7 +12,7 @@
class twincobr_state : public driver_device
{
public:
- twincobr_state(const machine_config &mconfig, device_type type, const char *tag)
+ twincobr_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_sharedram(*this, "sharedram"),
m_spriteram8(*this, "spriteram8"),
diff --git a/src/mame/includes/tx0.h b/src/mame/includes/tx0.h
index 8b96e52ff65..2ed82d147d8 100644
--- a/src/mame/includes/tx0.h
+++ b/src/mame/includes/tx0.h
@@ -132,7 +132,7 @@ struct magtape_t
class tx0_state : public driver_device
{
public:
- tx0_state(const machine_config &mconfig, device_type type, const char *tag)
+ tx0_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/tx1.h b/src/mame/includes/tx1.h
index 68f9a37739d..e4b6c70c96c 100644
--- a/src/mame/includes/tx1.h
+++ b/src/mame/includes/tx1.h
@@ -99,7 +99,7 @@ struct vregs_t
class tx1_state : public driver_device
{
public:
- tx1_state(const machine_config &mconfig, device_type type, const char *tag)
+ tx1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "main_cpu"),
m_mathcpu(*this, "math_cpu"),
@@ -255,8 +255,8 @@ class tx1_sound_device : public device_t,
public device_sound_interface
{
public:
- tx1_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- tx1_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ tx1_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ tx1_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
~tx1_sound_device() {}
DECLARE_READ8_MEMBER( pit8253_r );
@@ -312,7 +312,7 @@ extern const device_type TX1;
class buggyboy_sound_device : public tx1_sound_device
{
public:
- buggyboy_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ buggyboy_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_WRITE8_MEMBER( ym1_a_w );
DECLARE_WRITE8_MEMBER( ym2_a_w );
diff --git a/src/mame/includes/ultraman.h b/src/mame/includes/ultraman.h
index 9e6e2853275..285bc486593 100644
--- a/src/mame/includes/ultraman.h
+++ b/src/mame/includes/ultraman.h
@@ -13,7 +13,7 @@
class ultraman_state : public driver_device
{
public:
- ultraman_state(const machine_config &mconfig, device_type type, const char *tag)
+ ultraman_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/ultratnk.h b/src/mame/includes/ultratnk.h
index 09bc0408fdd..203fa7e07a4 100644
--- a/src/mame/includes/ultratnk.h
+++ b/src/mame/includes/ultratnk.h
@@ -16,7 +16,7 @@ public:
TIMER_NMI
};
- ultratnk_state(const machine_config &mconfig, device_type type, const char *tag)
+ ultratnk_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videoram(*this, "videoram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/undrfire.h b/src/mame/includes/undrfire.h
index b2cf973f6b2..a22b49e94d9 100644
--- a/src/mame/includes/undrfire.h
+++ b/src/mame/includes/undrfire.h
@@ -22,7 +22,7 @@ public:
TIMER_INTERRUPT5
};
- undrfire_state(const machine_config &mconfig, device_type type, const char *tag)
+ undrfire_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/includes/unico.h b/src/mame/includes/unico.h
index 26ac4e35f26..0a988d4ea75 100644
--- a/src/mame/includes/unico.h
+++ b/src/mame/includes/unico.h
@@ -6,7 +6,7 @@
class unico_state : public driver_device
{
public:
- unico_state(const machine_config &mconfig, device_type type, const char *tag)
+ unico_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_oki(*this, "oki"),
diff --git a/src/mame/includes/usgames.h b/src/mame/includes/usgames.h
index 1de018636cc..4514519bace 100644
--- a/src/mame/includes/usgames.h
+++ b/src/mame/includes/usgames.h
@@ -3,7 +3,7 @@
class usgames_state : public driver_device
{
public:
- usgames_state(const machine_config &mconfig, device_type type, const char *tag)
+ usgames_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/ut88.h b/src/mame/includes/ut88.h
index a394965f096..e0b6374e18c 100644
--- a/src/mame/includes/ut88.h
+++ b/src/mame/includes/ut88.h
@@ -26,7 +26,7 @@ public:
TIMER_UPDATE_DISPLAY
};
- ut88_state(const machine_config &mconfig, device_type type, const char *tag)
+ ut88_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cassette(*this, "cassette"),
m_ppi(*this, "ppi8255"),
diff --git a/src/mame/includes/v1050.h b/src/mame/includes/v1050.h
index deecd9cf61b..6151b2eca69 100644
--- a/src/mame/includes/v1050.h
+++ b/src/mame/includes/v1050.h
@@ -61,7 +61,7 @@
class v1050_state : public driver_device
{
public:
- v1050_state(const machine_config &mconfig, device_type type, const char *tag)
+ v1050_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_subcpu(*this, M6502_TAG),
diff --git a/src/mame/includes/vaportra.h b/src/mame/includes/vaportra.h
index 3ea7e4568db..8894c49502d 100644
--- a/src/mame/includes/vaportra.h
+++ b/src/mame/includes/vaportra.h
@@ -13,7 +13,7 @@
class vaportra_state : public driver_device
{
public:
- vaportra_state(const machine_config &mconfig, device_type type, const char *tag)
+ vaportra_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/vastar.h b/src/mame/includes/vastar.h
index b12600180b6..e0bdc234185 100644
--- a/src/mame/includes/vastar.h
+++ b/src/mame/includes/vastar.h
@@ -3,7 +3,7 @@
class vastar_state : public driver_device
{
public:
- vastar_state(const machine_config &mconfig, device_type type, const char *tag)
+ vastar_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/includes/vball.h b/src/mame/includes/vball.h
index ad1c41d9a07..1a924055232 100644
--- a/src/mame/includes/vball.h
+++ b/src/mame/includes/vball.h
@@ -3,7 +3,7 @@
class vball_state : public driver_device
{
public:
- vball_state(const machine_config &mconfig, device_type type, const char *tag)
+ vball_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/vc4000.h b/src/mame/includes/vc4000.h
index ca19737872f..27d83802c7b 100644
--- a/src/mame/includes/vc4000.h
+++ b/src/mame/includes/vc4000.h
@@ -77,7 +77,7 @@ struct vc4000_video_t
class vc4000_state : public driver_device
{
public:
- vc4000_state(const machine_config &mconfig, device_type type, const char *tag)
+ vc4000_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_screen(*this, "screen"),
diff --git a/src/mame/includes/vcs80.h b/src/mame/includes/vcs80.h
index 19cd0b18c7a..d54ed82b82a 100644
--- a/src/mame/includes/vcs80.h
+++ b/src/mame/includes/vcs80.h
@@ -19,7 +19,7 @@
class vcs80_state : public driver_device
{
public:
- vcs80_state(const machine_config &mconfig, device_type type, const char *tag)
+ vcs80_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_pio(*this, Z80PIO_TAG),
diff --git a/src/mame/includes/vector06.h b/src/mame/includes/vector06.h
index e6bf99fa7da..23d0f0fadc8 100644
--- a/src/mame/includes/vector06.h
+++ b/src/mame/includes/vector06.h
@@ -25,7 +25,7 @@
class vector06_state : public driver_device
{
public:
- vector06_state(const machine_config &mconfig, device_type type, const char *tag)
+ vector06_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_cassette(*this, "cassette"),
diff --git a/src/mame/includes/vectrex.h b/src/mame/includes/vectrex.h
index a79b893a996..838406c93eb 100644
--- a/src/mame/includes/vectrex.h
+++ b/src/mame/includes/vectrex.h
@@ -40,7 +40,7 @@ public:
TIMER_UPDATE_SIGNAL
};
- vectrex_state(const machine_config &mconfig, device_type type, const char *tag)
+ vectrex_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_gce_vectorram(*this, "gce_vectorram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/vendetta.h b/src/mame/includes/vendetta.h
index f32c7cc9f61..9374808b23d 100644
--- a/src/mame/includes/vendetta.h
+++ b/src/mame/includes/vendetta.h
@@ -20,7 +20,7 @@ public:
TIMER_Z80_NMI
};
- vendetta_state(const machine_config &mconfig, device_type type, const char *tag)
+ vendetta_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/vertigo.h b/src/mame/includes/vertigo.h
index 25d88a6ce72..bea0725dbd1 100644
--- a/src/mame/includes/vertigo.h
+++ b/src/mame/includes/vertigo.h
@@ -85,7 +85,7 @@ struct vproc
class vertigo_state : public driver_device
{
public:
- vertigo_state(const machine_config &mconfig, device_type type, const char *tag)
+ vertigo_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/vic10.h b/src/mame/includes/vic10.h
index efcaeeaded0..17d48040300 100644
--- a/src/mame/includes/vic10.h
+++ b/src/mame/includes/vic10.h
@@ -28,7 +28,7 @@
class vic10_state : public driver_device
{
public:
- vic10_state(const machine_config &mconfig, device_type type, const char *tag)
+ vic10_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, M6510_TAG),
m_vic(*this, MOS6566_TAG),
diff --git a/src/mame/includes/vic20.h b/src/mame/includes/vic20.h
index f90108165aa..9cb800557ea 100644
--- a/src/mame/includes/vic20.h
+++ b/src/mame/includes/vic20.h
@@ -31,7 +31,7 @@
class vic20_state : public driver_device
{
public:
- vic20_state(const machine_config &mconfig, device_type type, const char *tag)
+ vic20_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, M6502_TAG),
m_via1(*this, M6522_1_TAG),
diff --git a/src/mame/includes/vicdual.h b/src/mame/includes/vicdual.h
index c0ae21c289a..78a937da480 100644
--- a/src/mame/includes/vicdual.h
+++ b/src/mame/includes/vicdual.h
@@ -14,7 +14,7 @@
class vicdual_state : public driver_device
{
public:
- vicdual_state(const machine_config &mconfig, device_type type, const char *tag)
+ vicdual_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/victor9k.h b/src/mame/includes/victor9k.h
index c37b5a78d70..2f0f4f62745 100644
--- a/src/mame/includes/victor9k.h
+++ b/src/mame/includes/victor9k.h
@@ -51,7 +51,7 @@
class victor9k_state : public driver_device
{
public:
- victor9k_state(const machine_config &mconfig, device_type type, const char *tag) :
+ victor9k_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, I8088_TAG),
m_ieee488(*this, IEEE488_TAG),
diff --git a/src/mame/includes/victory.h b/src/mame/includes/victory.h
index 499432ec87f..006a9d08ea4 100644
--- a/src/mame/includes/victory.h
+++ b/src/mame/includes/victory.h
@@ -34,7 +34,7 @@ struct micro_t
class victory_state : public driver_device
{
public:
- victory_state(const machine_config &mconfig, device_type type, const char *tag)
+ victory_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_screen(*this, "screen"),
diff --git a/src/mame/includes/vidbrain.h b/src/mame/includes/vidbrain.h
index cb3905ff674..bd4abc362d2 100644
--- a/src/mame/includes/vidbrain.h
+++ b/src/mame/includes/vidbrain.h
@@ -25,7 +25,7 @@
class vidbrain_state : public driver_device
{
public:
- vidbrain_state(const machine_config &mconfig, device_type type, const char *tag)
+ vidbrain_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, F3850_TAG),
m_smi(*this, F3853_TAG),
diff --git a/src/mame/includes/videopin.h b/src/mame/includes/videopin.h
index 93831beddad..b5ce3f448f1 100644
--- a/src/mame/includes/videopin.h
+++ b/src/mame/includes/videopin.h
@@ -25,7 +25,7 @@ public:
TIMER_INTERRUPT
};
- videopin_state(const machine_config &mconfig, device_type type, const char *tag)
+ videopin_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_discrete(*this, "discrete"),
diff --git a/src/mame/includes/vigilant.h b/src/mame/includes/vigilant.h
index a83bea427eb..74af1295f7b 100644
--- a/src/mame/includes/vigilant.h
+++ b/src/mame/includes/vigilant.h
@@ -5,7 +5,7 @@
class vigilant_state : public driver_device
{
public:
- vigilant_state(const machine_config &mconfig, device_type type, const char *tag)
+ vigilant_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audio(*this, "m72"),
diff --git a/src/mame/includes/vindictr.h b/src/mame/includes/vindictr.h
index 1a12da72cce..23ee6702e81 100644
--- a/src/mame/includes/vindictr.h
+++ b/src/mame/includes/vindictr.h
@@ -13,7 +13,7 @@
class vindictr_state : public atarigen_state
{
public:
- vindictr_state(const machine_config &mconfig, device_type type, const char *tag)
+ vindictr_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_playfield_tilemap(*this, "playfield"),
m_alpha_tilemap(*this, "alpha"),
diff --git a/src/mame/includes/vip.h b/src/mame/includes/vip.h
index eed5c690285..74a6b27db1b 100644
--- a/src/mame/includes/vip.h
+++ b/src/mame/includes/vip.h
@@ -24,7 +24,7 @@
class vip_state : public driver_device
{
public:
- vip_state(const machine_config &mconfig, device_type type, const char *tag)
+ vip_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, CDP1802_TAG),
m_vdc(*this, CDP1861_TAG),
diff --git a/src/mame/includes/vixen.h b/src/mame/includes/vixen.h
index 0091d3ee9d8..e7bc78c58fc 100644
--- a/src/mame/includes/vixen.h
+++ b/src/mame/includes/vixen.h
@@ -26,7 +26,7 @@
class vixen_state : public driver_device
{
public:
- vixen_state(const machine_config &mconfig, device_type type, const char *tag)
+ vixen_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z8400A_TAG),
m_fdc(*this, FDC1797_TAG),
diff --git a/src/mame/includes/volfied.h b/src/mame/includes/volfied.h
index b809e001d8c..7fac0492e5e 100644
--- a/src/mame/includes/volfied.h
+++ b/src/mame/includes/volfied.h
@@ -16,7 +16,7 @@ public:
TIMER_VOLFIED
};
- volfied_state(const machine_config &mconfig, device_type type, const char *tag)
+ volfied_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/vsnes.h b/src/mame/includes/vsnes.h
index 064919f66ff..305ae626ce2 100644
--- a/src/mame/includes/vsnes.h
+++ b/src/mame/includes/vsnes.h
@@ -5,7 +5,7 @@
class vsnes_state : public driver_device
{
public:
- vsnes_state(const machine_config &mconfig, device_type type, const char *tag)
+ vsnes_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/includes/vtech2.h b/src/mame/includes/vtech2.h
index abec6288158..a36751c650a 100644
--- a/src/mame/includes/vtech2.h
+++ b/src/mame/includes/vtech2.h
@@ -18,7 +18,7 @@
class vtech2_state : public driver_device
{
public:
- vtech2_state(const machine_config &mconfig, device_type type, const char *tag)
+ vtech2_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_speaker(*this, "speaker"),
diff --git a/src/mame/includes/vulgus.h b/src/mame/includes/vulgus.h
index a6152923ec7..6b2731a34d8 100644
--- a/src/mame/includes/vulgus.h
+++ b/src/mame/includes/vulgus.h
@@ -9,7 +9,7 @@
class vulgus_state : public driver_device
{
public:
- vulgus_state(const machine_config &mconfig, device_type type, const char *tag)
+ vulgus_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/wangpc.h b/src/mame/includes/wangpc.h
index 05278e32671..2f872285eee 100644
--- a/src/mame/includes/wangpc.h
+++ b/src/mame/includes/wangpc.h
@@ -36,7 +36,7 @@ class wangpc_state : public driver_device
{
public:
// constructor
- wangpc_state(const machine_config &mconfig, device_type type, const char *tag) :
+ wangpc_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, I8086_TAG),
m_dmac(*this, AM9517A_TAG),
diff --git a/src/mame/includes/warpwarp.h b/src/mame/includes/warpwarp.h
index 62e8cde7937..7e2e184173d 100644
--- a/src/mame/includes/warpwarp.h
+++ b/src/mame/includes/warpwarp.h
@@ -5,7 +5,7 @@
class warpwarp_state : public driver_device
{
public:
- warpwarp_state(const machine_config &mconfig, device_type type, const char *tag)
+ warpwarp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/warriorb.h b/src/mame/includes/warriorb.h
index aedbd75704b..8fa1f057900 100644
--- a/src/mame/includes/warriorb.h
+++ b/src/mame/includes/warriorb.h
@@ -16,7 +16,7 @@
class warriorb_state : public driver_device
{
public:
- warriorb_state(const machine_config &mconfig, device_type type, const char *tag)
+ warriorb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_tc0140syt(*this, "tc0140syt"),
diff --git a/src/mame/includes/wc90.h b/src/mame/includes/wc90.h
index 46944d5da83..03ac90ee525 100644
--- a/src/mame/includes/wc90.h
+++ b/src/mame/includes/wc90.h
@@ -5,7 +5,7 @@
class wc90_state : public driver_device
{
public:
- wc90_state(const machine_config &mconfig, device_type type, const char *tag)
+ wc90_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/wc90b.h b/src/mame/includes/wc90b.h
index c4c81289a3a..9bb6b04a6e4 100644
--- a/src/mame/includes/wc90b.h
+++ b/src/mame/includes/wc90b.h
@@ -5,7 +5,7 @@
class wc90b_state : public driver_device
{
public:
- wc90b_state(const machine_config &mconfig, device_type type, const char *tag)
+ wc90b_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/wecleman.h b/src/mame/includes/wecleman.h
index 80acb529dcb..792a7c4d35f 100644
--- a/src/mame/includes/wecleman.h
+++ b/src/mame/includes/wecleman.h
@@ -6,7 +6,7 @@
class wecleman_state : public driver_device
{
public:
- wecleman_state(const machine_config &mconfig, device_type type, const char *tag)
+ wecleman_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_videostatus(*this, "videostatus"),
m_protection_ram(*this, "protection_ram"),
diff --git a/src/mame/includes/welltris.h b/src/mame/includes/welltris.h
index cedd5ab7385..6558f158157 100644
--- a/src/mame/includes/welltris.h
+++ b/src/mame/includes/welltris.h
@@ -5,7 +5,7 @@
class welltris_state : public driver_device
{
public:
- welltris_state(const machine_config &mconfig, device_type type, const char *tag)
+ welltris_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/wgp.h b/src/mame/includes/wgp.h
index d5298b6eaac..c2a026eb945 100644
--- a/src/mame/includes/wgp.h
+++ b/src/mame/includes/wgp.h
@@ -21,7 +21,7 @@ public:
TIMER_WGP_CPUB_INTERRUPT6
};
- wgp_state(const machine_config &mconfig, device_type type, const char *tag)
+ wgp_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spritemap(*this, "spritemap"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/williams.h b/src/mame/includes/williams.h
index a647edc287d..4ec73f3e03f 100644
--- a/src/mame/includes/williams.h
+++ b/src/mame/includes/williams.h
@@ -14,7 +14,7 @@
class williams_state : public driver_device
{
public:
- williams_state(const machine_config &mconfig, device_type type, const char *tag)
+ williams_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_nvram(*this, "nvram"),
m_videoram(*this, "videoram"),
@@ -118,7 +118,7 @@ public:
class blaster_state : public williams_state
{
public:
- blaster_state(const machine_config &mconfig, device_type type, const char *tag)
+ blaster_state(const machine_config &mconfig, device_type type, std::string tag)
: williams_state(mconfig, type, tag),
m_soundcpu_b(*this, "soundcpu_b"),
m_blaster_palette_0(*this, "blaster_pal0"),
@@ -154,7 +154,7 @@ public:
class williams2_state : public williams_state
{
public:
- williams2_state(const machine_config &mconfig, device_type type, const char *tag)
+ williams2_state(const machine_config &mconfig, device_type type, std::string tag)
: williams_state(mconfig, type, tag),
m_bank8000(*this, "bank8000"),
m_gfxdecode(*this, "gfxdecode"),
@@ -204,7 +204,7 @@ public:
class joust2_state : public williams2_state
{
public:
- joust2_state(const machine_config &mconfig, device_type type, const char *tag)
+ joust2_state(const machine_config &mconfig, device_type type, std::string tag)
: williams2_state(mconfig, type, tag),
m_cvsd_sound(*this, "cvsd") { }
diff --git a/src/mame/includes/wiping.h b/src/mame/includes/wiping.h
index 59cabdcf27d..bd5e679b233 100644
--- a/src/mame/includes/wiping.h
+++ b/src/mame/includes/wiping.h
@@ -3,7 +3,7 @@
class wiping_state : public driver_device
{
public:
- wiping_state(const machine_config &mconfig, device_type type, const char *tag)
+ wiping_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/wiz.h b/src/mame/includes/wiz.h
index d4cb1f39f36..75297a39453 100644
--- a/src/mame/includes/wiz.h
+++ b/src/mame/includes/wiz.h
@@ -11,7 +11,7 @@
class wiz_state : public driver_device
{
public:
- wiz_state(const machine_config &mconfig, device_type type, const char *tag)
+ wiz_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/wolfpack.h b/src/mame/includes/wolfpack.h
index 59f513f3969..4aa1f347331 100644
--- a/src/mame/includes/wolfpack.h
+++ b/src/mame/includes/wolfpack.h
@@ -10,7 +10,7 @@ public:
TIMER_PERIODIC
};
- wolfpack_state(const machine_config &mconfig, device_type type, const char *tag)
+ wolfpack_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_alpha_num_ram(*this, "alpha_num_ram"),
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/wpc_pin.h b/src/mame/includes/wpc_pin.h
index 27cf5cfc588..f4002879e96 100644
--- a/src/mame/includes/wpc_pin.h
+++ b/src/mame/includes/wpc_pin.h
@@ -20,7 +20,7 @@
class wpc_dot_state : public driver_device
{
public:
- wpc_dot_state(const machine_config &mconfig, device_type type, const char *tag)
+ wpc_dot_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_wpcsnd(*this,"wpcsnd"),
@@ -84,7 +84,7 @@ private:
class wpc_flip1_state : public wpc_dot_state
{
public:
- wpc_flip1_state(const machine_config &mconfig, device_type type, const char *tag)
+ wpc_flip1_state(const machine_config &mconfig, device_type type, std::string tag)
: wpc_dot_state(mconfig, type, tag)
{ }
public:
@@ -95,7 +95,7 @@ public:
class wpc_flip2_state : public wpc_flip1_state
{
public:
- wpc_flip2_state(const machine_config &mconfig, device_type type, const char *tag)
+ wpc_flip2_state(const machine_config &mconfig, device_type type, std::string tag)
: wpc_flip1_state(mconfig, type, tag)
{ }
public:
@@ -105,7 +105,7 @@ public:
class wpc_dcs_state : public wpc_flip2_state
{
public:
- wpc_dcs_state(const machine_config &mconfig, device_type type, const char *tag)
+ wpc_dcs_state(const machine_config &mconfig, device_type type, std::string tag)
: wpc_flip2_state(mconfig, type, tag),
m_dcs(*this, "dcs")
{ }
diff --git a/src/mame/includes/wrally.h b/src/mame/includes/wrally.h
index 641ec7c4b11..0099494f29a 100644
--- a/src/mame/includes/wrally.h
+++ b/src/mame/includes/wrally.h
@@ -3,7 +3,7 @@
class wrally_state : public driver_device
{
public:
- wrally_state(const machine_config &mconfig, device_type type, const char *tag)
+ wrally_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/wswan.h b/src/mame/includes/wswan.h
index 5cdc8336f04..c83c7ad8bc1 100644
--- a/src/mame/includes/wswan.h
+++ b/src/mame/includes/wswan.h
@@ -34,7 +34,7 @@ struct SoundDMA
class wswan_state : public driver_device
{
public:
- wswan_state(const machine_config &mconfig, device_type type, const char *tag)
+ wswan_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_vdp(*this, "vdp"),
diff --git a/src/mame/includes/wwfsstar.h b/src/mame/includes/wwfsstar.h
index 70fdd5dfab3..b8bb6ead7b3 100644
--- a/src/mame/includes/wwfsstar.h
+++ b/src/mame/includes/wwfsstar.h
@@ -3,7 +3,7 @@
class wwfsstar_state : public driver_device
{
public:
- wwfsstar_state(const machine_config &mconfig, device_type type, const char *tag)
+ wwfsstar_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/x07.h b/src/mame/includes/x07.h
index acea6f55260..c081fdc6d51 100644
--- a/src/mame/includes/x07.h
+++ b/src/mame/includes/x07.h
@@ -92,7 +92,7 @@ static const UINT8 t6834_cmd_len[0x47] =
struct x07_kb
{
- const char *tag; //input port tag
+ std::string tag; //input port tag
UINT8 mask; //bit mask
UINT8 codes[7]; //port codes
};
@@ -160,7 +160,7 @@ static const x07_kb x07_keycodes[56] =
class x07_state : public driver_device
{
public:
- x07_state(const machine_config &mconfig, device_type type, const char *tag)
+ x07_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_printer(*this, "printer"),
diff --git a/src/mame/includes/x1.h b/src/mame/includes/x1.h
index eb8d63182cd..1453a6fb4fe 100644
--- a/src/mame/includes/x1.h
+++ b/src/mame/includes/x1.h
@@ -35,7 +35,7 @@ class x1_keyboard_device : public device_t,
{
public:
// construction/destruction
- x1_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ x1_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
private:
virtual void device_start() override;
@@ -74,7 +74,7 @@ struct x1_rtc_t
class x1_state : public driver_device
{
public:
- x1_state(const machine_config &mconfig, device_type type, const char *tag)
+ x1_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this,"x1_cpu"),
m_cassette(*this, "cassette"),
diff --git a/src/mame/includes/x68k.h b/src/mame/includes/x68k.h
index f1aee48d2f0..b80dfa5d88a 100644
--- a/src/mame/includes/x68k.h
+++ b/src/mame/includes/x68k.h
@@ -48,7 +48,7 @@ public:
TIMER_X68K_ADPCM
};
- x68k_state(const machine_config &mconfig, device_type type, const char *tag)
+ x68k_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_okim6258(*this, "okim6258"),
diff --git a/src/mame/includes/xain.h b/src/mame/includes/xain.h
index ad7c14cfdb9..4bfda55531a 100644
--- a/src/mame/includes/xain.h
+++ b/src/mame/includes/xain.h
@@ -3,7 +3,7 @@
class xain_state : public driver_device
{
public:
- xain_state(const machine_config &mconfig, device_type type, const char *tag)
+ xain_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/xbox.h b/src/mame/includes/xbox.h
index ea4db5c7db4..30e2d41e3e1 100644
--- a/src/mame/includes/xbox.h
+++ b/src/mame/includes/xbox.h
@@ -207,7 +207,7 @@ private:
class xbox_base_state : public driver_device
{
public:
- xbox_base_state(const machine_config &mconfig, device_type type, const char *tag) :
+ xbox_base_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
nvidia_nv2a(nullptr),
debug_irq_active(false),
diff --git a/src/mame/includes/xerox820.h b/src/mame/includes/xerox820.h
index cbac30d79da..90e3ec79a60 100644
--- a/src/mame/includes/xerox820.h
+++ b/src/mame/includes/xerox820.h
@@ -44,7 +44,7 @@
class xerox820_state : public driver_device
{
public:
- xerox820_state(const machine_config &mconfig, device_type type, const char *tag) :
+ xerox820_state(const machine_config &mconfig, device_type type, std::string tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_kbpio(*this, Z80PIO_KB_TAG),
@@ -118,7 +118,7 @@ public:
class bigboard_state : public xerox820_state
{
public:
- bigboard_state(const machine_config &mconfig, device_type type, const char *tag)
+ bigboard_state(const machine_config &mconfig, device_type type, std::string tag)
: xerox820_state(mconfig, type, tag),
m_beeper(*this, "beeper")
{ }
@@ -137,7 +137,7 @@ public:
class xerox820ii_state : public xerox820_state
{
public:
- xerox820ii_state(const machine_config &mconfig, device_type type, const char *tag) :
+ xerox820ii_state(const machine_config &mconfig, device_type type, std::string tag) :
xerox820_state(mconfig, type, tag),
m_speaker(*this, "speaker"),
m_sasibus(*this, SASIBUS_TAG)
diff --git a/src/mame/includes/xexex.h b/src/mame/includes/xexex.h
index 9cf2b53ae37..588a863d4c7 100644
--- a/src/mame/includes/xexex.h
+++ b/src/mame/includes/xexex.h
@@ -19,7 +19,7 @@
class xexex_state : public driver_device
{
public:
- xexex_state(const machine_config &mconfig, device_type type, const char *tag)
+ xexex_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_workram(*this, "workram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/includes/xmen.h b/src/mame/includes/xmen.h
index d7bdceb6a65..f285eed9bde 100644
--- a/src/mame/includes/xmen.h
+++ b/src/mame/includes/xmen.h
@@ -9,7 +9,7 @@
class xmen_state : public driver_device
{
public:
- xmen_state(const machine_config &mconfig, device_type type, const char *tag)
+ xmen_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_xmen6p_spriteramleft(*this, "spriteramleft"),
m_xmen6p_spriteramright(*this, "spriteramright"),
diff --git a/src/mame/includes/xor100.h b/src/mame/includes/xor100.h
index 8229a479044..384d312d1e4 100644
--- a/src/mame/includes/xor100.h
+++ b/src/mame/includes/xor100.h
@@ -31,7 +31,7 @@
class xor100_state : public driver_device
{
public:
- xor100_state(const machine_config &mconfig, device_type type, const char *tag)
+ xor100_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, Z80_TAG),
m_dbrg(*this, COM5016_TAG),
diff --git a/src/mame/includes/xorworld.h b/src/mame/includes/xorworld.h
index bccde997aeb..75a6b53030f 100644
--- a/src/mame/includes/xorworld.h
+++ b/src/mame/includes/xorworld.h
@@ -5,7 +5,7 @@
class xorworld_state : public driver_device
{
public:
- xorworld_state(const machine_config &mconfig, device_type type, const char *tag)
+ xorworld_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_eeprom(*this, "eeprom"),
diff --git a/src/mame/includes/xxmissio.h b/src/mame/includes/xxmissio.h
index 0ef1763792e..60a6298cba3 100644
--- a/src/mame/includes/xxmissio.h
+++ b/src/mame/includes/xxmissio.h
@@ -3,7 +3,7 @@
class xxmissio_state : public driver_device
{
public:
- xxmissio_state(const machine_config &mconfig, device_type type, const char *tag)
+ xxmissio_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_subcpu(*this, "sub"),
diff --git a/src/mame/includes/xybots.h b/src/mame/includes/xybots.h
index 7a039c8805d..c7f2cb27106 100644
--- a/src/mame/includes/xybots.h
+++ b/src/mame/includes/xybots.h
@@ -13,7 +13,7 @@
class xybots_state : public atarigen_state
{
public:
- xybots_state(const machine_config &mconfig, device_type type, const char *tag)
+ xybots_state(const machine_config &mconfig, device_type type, std::string tag)
: atarigen_state(mconfig, type, tag),
m_jsa(*this, "jsa"),
m_playfield_tilemap(*this, "playfield"),
diff --git a/src/mame/includes/xyonix.h b/src/mame/includes/xyonix.h
index 8fd3aa576c1..35bd02f89ba 100644
--- a/src/mame/includes/xyonix.h
+++ b/src/mame/includes/xyonix.h
@@ -3,7 +3,7 @@
class xyonix_state : public driver_device
{
public:
- xyonix_state(const machine_config &mconfig, device_type type, const char *tag)
+ xyonix_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/includes/yiear.h b/src/mame/includes/yiear.h
index 1c495709603..8ec25e449e6 100644
--- a/src/mame/includes/yiear.h
+++ b/src/mame/includes/yiear.h
@@ -6,7 +6,7 @@
class yiear_state : public driver_device
{
public:
- yiear_state(const machine_config &mconfig, device_type type, const char *tag)
+ yiear_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_spriteram(*this, "spriteram"),
m_spriteram2(*this, "spriteram2"),
diff --git a/src/mame/includes/yunsun16.h b/src/mame/includes/yunsun16.h
index 0e21a85b962..d6497417ad1 100644
--- a/src/mame/includes/yunsun16.h
+++ b/src/mame/includes/yunsun16.h
@@ -9,7 +9,7 @@
class yunsun16_state : public driver_device
{
public:
- yunsun16_state(const machine_config &mconfig, device_type type, const char *tag)
+ yunsun16_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/yunsung8.h b/src/mame/includes/yunsung8.h
index 9fb440e8d9a..f45698d4e35 100644
--- a/src/mame/includes/yunsung8.h
+++ b/src/mame/includes/yunsung8.h
@@ -10,7 +10,7 @@
class yunsung8_state : public driver_device
{
public:
- yunsung8_state(const machine_config &mconfig, device_type type, const char *tag)
+ yunsung8_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_audiocpu(*this, "audiocpu") ,
m_maincpu(*this, "maincpu"),
diff --git a/src/mame/includes/z80ne.h b/src/mame/includes/z80ne.h
index b6d77971981..7ba2d826ece 100644
--- a/src/mame/includes/z80ne.h
+++ b/src/mame/includes/z80ne.h
@@ -67,7 +67,7 @@ struct wd17xx_state_t {
class z80ne_state : public driver_device
{
public:
- z80ne_state(const machine_config &mconfig, device_type type, const char *tag)
+ z80ne_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_vdg(*this, "mc6847"),
m_videoram(*this, "videoram"),
diff --git a/src/mame/includes/z88.h b/src/mame/includes/z88.h
index 7ce8cbd7e75..20d3942eaaa 100644
--- a/src/mame/includes/z88.h
+++ b/src/mame/includes/z88.h
@@ -45,7 +45,7 @@ enum
class z88_state : public driver_device
{
public:
- z88_state(const machine_config &mconfig, device_type type, const char *tag)
+ z88_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/includes/zac2650.h b/src/mame/includes/zac2650.h
index e4d91c83f90..74152c79a21 100644
--- a/src/mame/includes/zac2650.h
+++ b/src/mame/includes/zac2650.h
@@ -5,7 +5,7 @@
class zac2650_state : public driver_device
{
public:
- zac2650_state(const machine_config &mconfig, device_type type, const char *tag)
+ zac2650_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_s2636(*this, "s2636"),
diff --git a/src/mame/includes/zaccaria.h b/src/mame/includes/zaccaria.h
index 8371e6b6fb0..c35151091a6 100644
--- a/src/mame/includes/zaccaria.h
+++ b/src/mame/includes/zaccaria.h
@@ -7,7 +7,7 @@
class zaccaria_state : public driver_device
{
public:
- zaccaria_state(const machine_config &mconfig, device_type type, const char *tag)
+ zaccaria_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audio2(*this, "audio2"),
diff --git a/src/mame/includes/zaxxon.h b/src/mame/includes/zaxxon.h
index e5942968e44..c7f34e6ea75 100644
--- a/src/mame/includes/zaxxon.h
+++ b/src/mame/includes/zaxxon.h
@@ -10,7 +10,7 @@
class zaxxon_state : public driver_device
{
public:
- zaxxon_state(const machine_config &mconfig, device_type type, const char *tag)
+ zaxxon_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_samples(*this, "samples"),
diff --git a/src/mame/includes/zerozone.h b/src/mame/includes/zerozone.h
index b6f51039a7f..a0686927722 100644
--- a/src/mame/includes/zerozone.h
+++ b/src/mame/includes/zerozone.h
@@ -12,7 +12,7 @@
class zerozone_state : public driver_device
{
public:
- zerozone_state(const machine_config &mconfig, device_type type, const char *tag)
+ zerozone_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/zodiack.h b/src/mame/includes/zodiack.h
index 2497ecb3651..4675c99dc48 100644
--- a/src/mame/includes/zodiack.h
+++ b/src/mame/includes/zodiack.h
@@ -6,7 +6,7 @@
class zodiack_state : public driver_device
{
public:
- zodiack_state(const machine_config &mconfig, device_type type, const char *tag)
+ zodiack_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/includes/zx.h b/src/mame/includes/zx.h
index 20ccaa5d1c6..52d48a0858c 100644
--- a/src/mame/includes/zx.h
+++ b/src/mame/includes/zx.h
@@ -21,7 +21,7 @@
class zx_state : public driver_device
{
public:
- zx_state(const machine_config &mconfig, device_type type, const char *tag)
+ zx_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_ram(*this, RAM_TAG),
diff --git a/src/mame/machine/315-5838_317-0229_comp.cpp b/src/mame/machine/315-5838_317-0229_comp.cpp
index cfd38aa7c88..5f19de4fd55 100644
--- a/src/mame/machine/315-5838_317-0229_comp.cpp
+++ b/src/mame/machine/315-5838_317-0229_comp.cpp
@@ -40,7 +40,7 @@ extern const device_type SEGA315_5838_COMP = &device_creator<sega_315_5838_comp_
//#define DEBUG_DATA_DUMP
-sega_315_5838_comp_device::sega_315_5838_comp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_315_5838_comp_device::sega_315_5838_comp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEGA315_5838_COMP, "Sega 315-5838 / 317-0029 Compression (Encryption?)", tag, owner, clock, "sega315_5838", __FILE__)
{
}
diff --git a/src/mame/machine/315-5838_317-0229_comp.h b/src/mame/machine/315-5838_317-0229_comp.h
index 2fd0904450e..f7191cb5a1c 100644
--- a/src/mame/machine/315-5838_317-0229_comp.h
+++ b/src/mame/machine/315-5838_317-0229_comp.h
@@ -22,7 +22,7 @@ class sega_315_5838_comp_device : public device_t
{
public:
// construction/destruction
- sega_315_5838_comp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_315_5838_comp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
sega_dec_read_delegate m_read_ch2;
diff --git a/src/mame/machine/315-5881_crypt.cpp b/src/mame/machine/315-5881_crypt.cpp
index 60d5311c7d3..eb9ceb378d5 100644
--- a/src/mame/machine/315-5881_crypt.cpp
+++ b/src/mame/machine/315-5881_crypt.cpp
@@ -20,7 +20,7 @@
extern const device_type SEGA315_5881_CRYPT = &device_creator<sega_315_5881_crypt_device>;
-sega_315_5881_crypt_device::sega_315_5881_crypt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_315_5881_crypt_device::sega_315_5881_crypt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEGA315_5881_CRYPT, "Sega 315-5881 Encryption", tag, owner, clock, "sega315_5881", __FILE__)
{
}
@@ -52,7 +52,7 @@ void sega_315_5881_crypt_device::device_start()
key = strtoll(skey.c_str(), nullptr, 16);
else
{
- logerror("%s: Warning: key not provided\n", tag());
+ logerror("%s: Warning: key not provided\n", tag().c_str());
key = 0;
}
}
diff --git a/src/mame/machine/315-5881_crypt.h b/src/mame/machine/315-5881_crypt.h
index 8c8c4739af1..d91ee802def 100644
--- a/src/mame/machine/315-5881_crypt.h
+++ b/src/mame/machine/315-5881_crypt.h
@@ -18,7 +18,7 @@ class sega_315_5881_crypt_device : public device_t
{
public:
// construction/destruction
- sega_315_5881_crypt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_315_5881_crypt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
UINT16 do_decrypt(UINT8 *&base);
diff --git a/src/mame/machine/315_5296.cpp b/src/mame/machine/315_5296.cpp
index 34aa0da1d22..6588c2c17e9 100644
--- a/src/mame/machine/315_5296.cpp
+++ b/src/mame/machine/315_5296.cpp
@@ -31,7 +31,7 @@ const device_type SEGA_315_5296 = &device_creator<sega_315_5296_device>;
// sega_315_5296_device - constructor
//-------------------------------------------------
-sega_315_5296_device::sega_315_5296_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_315_5296_device::sega_315_5296_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEGA_315_5296, "Sega 315-5296 I/O", tag, owner, clock, "315_5296", __FILE__),
m_in_pa_cb(*this),
m_in_pb_cb(*this),
diff --git a/src/mame/machine/315_5296.h b/src/mame/machine/315_5296.h
index b28b465b573..2dacf1122c4 100644
--- a/src/mame/machine/315_5296.h
+++ b/src/mame/machine/315_5296.h
@@ -72,7 +72,7 @@
class sega_315_5296_device : public device_t
{
public:
- sega_315_5296_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_315_5296_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration helpers
template<class _Object> static devcb_base &set_in_pa_callback(device_t &device, _Object object) { return downcast<sega_315_5296_device &>(device).m_in_pa_cb.set_callback(object); }
diff --git a/src/mame/machine/6883sam.cpp b/src/mame/machine/6883sam.cpp
index d912d65ea90..e70915e150a 100644
--- a/src/mame/machine/6883sam.cpp
+++ b/src/mame/machine/6883sam.cpp
@@ -70,9 +70,8 @@ const device_type SAM6883 = &device_creator<sam6883_device>;
// ctor
//-------------------------------------------------
-sam6883_device::sam6883_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sam6883_device::sam6883_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SAM6883, "SAM6883", tag, owner, clock, "sam6883", __FILE__),
- m_cpu_tag(nullptr),
m_cpu_space_ref(AS_PROGRAM),
m_read_res(*this),
m_space_0000(*this),
diff --git a/src/mame/machine/6883sam.h b/src/mame/machine/6883sam.h
index c0089c2bcb3..f29b24b73b2 100644
--- a/src/mame/machine/6883sam.h
+++ b/src/mame/machine/6883sam.h
@@ -87,11 +87,11 @@ protected:
class sam6883_device : public device_t, public sam6883_friend_device
{
public:
- sam6883_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sam6883_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_res_rd_callback(device_t &device, _Object object) { return downcast<sam6883_device &>(device).m_read_res.set_callback(object); }
- static void configure_cpu(device_t &device, const char *tag, address_spacenum space)
+ static void configure_cpu(device_t &device, std::string tag, address_spacenum space)
{
sam6883_device &dev = downcast<sam6883_device &>(device);
dev.m_cpu_tag = tag;
@@ -169,7 +169,7 @@ private:
void point_specific_bank(const sam_bank *bank, UINT16 offset, UINT16 mask, memory_bank *&memory_bank, INT32 addrstart, INT32 addrend, bool is_write);
};
- const char * m_cpu_tag;
+ std::string m_cpu_tag;
address_spacenum m_cpu_space_ref;
// incidentals
diff --git a/src/mame/machine/abc1600mac.cpp b/src/mame/machine/abc1600mac.cpp
index 07cc653fc2e..cd6ca08ec59 100644
--- a/src/mame/machine/abc1600mac.cpp
+++ b/src/mame/machine/abc1600mac.cpp
@@ -105,7 +105,7 @@ const rom_entry *abc1600_mac_device::device_rom_region() const
// abc1600_mac_device - constructor
//-------------------------------------------------
-abc1600_mac_device::abc1600_mac_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+abc1600_mac_device::abc1600_mac_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ABC1600_MAC, "ABC 1600 MAC", tag, owner, clock, "abc1600mac", __FILE__),
device_memory_interface(mconfig, *this),
m_space_config("program", ENDIANNESS_LITTLE, 8, 22, 0, *ADDRESS_MAP_NAME(program_map)),
diff --git a/src/mame/machine/abc1600mac.h b/src/mame/machine/abc1600mac.h
index 2489d8744d9..089f44d019e 100644
--- a/src/mame/machine/abc1600mac.h
+++ b/src/mame/machine/abc1600mac.h
@@ -45,7 +45,7 @@ class abc1600_mac_device : public device_t,
public device_memory_interface
{
public:
- abc1600_mac_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ abc1600_mac_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual const rom_entry *device_rom_region() const override;
diff --git a/src/mame/machine/abc80kb.cpp b/src/mame/machine/abc80kb.cpp
index dd9471f5ee4..4c48edb2fa1 100644
--- a/src/mame/machine/abc80kb.cpp
+++ b/src/mame/machine/abc80kb.cpp
@@ -167,7 +167,7 @@ ioport_constructor abc80_keyboard_device::device_input_ports() const
// abc80_keyboard_device - constructor
//-------------------------------------------------
-abc80_keyboard_device::abc80_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+abc80_keyboard_device::abc80_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ABC80_KEYBOARD, "ABC-80 Keyboard", tag, owner, clock, "abc80kb", __FILE__),
m_write_keydown(*this),
m_maincpu(*this, I8048_TAG)
diff --git a/src/mame/machine/abc80kb.h b/src/mame/machine/abc80kb.h
index 7de08733a35..a884f5a9987 100644
--- a/src/mame/machine/abc80kb.h
+++ b/src/mame/machine/abc80kb.h
@@ -43,7 +43,7 @@ class abc80_keyboard_device : public device_t
{
public:
// construction/destruction
- abc80_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ abc80_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_keydown_wr_callback(device_t &device, _Object object) { return downcast<abc80_keyboard_device &>(device).m_write_keydown.set_callback(object); }
diff --git a/src/mame/machine/alpha8201.cpp b/src/mame/machine/alpha8201.cpp
index 88813b1be9f..f510355d321 100644
--- a/src/mame/machine/alpha8201.cpp
+++ b/src/mame/machine/alpha8201.cpp
@@ -282,7 +282,7 @@ const device_type ALPHA_8201 = &device_creator<alpha_8201_device>;
// alpha_8201_device - constructor
//-------------------------------------------------
-alpha_8201_device::alpha_8201_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+alpha_8201_device::alpha_8201_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ALPHA_8201, "ALPHA-8201", tag, owner, clock, "alpha8201", __FILE__),
m_mcu(*this, "mcu")
{
@@ -369,7 +369,7 @@ READ8_MEMBER(alpha_8201_device::mcu_data_r)
if (m_bus && ~m_mcu_d & 4)
ret = m_shared_ram[m_mcu_address];
else
- logerror("%s: MCU side invalid read\n", tag());
+ logerror("%s: MCU side invalid read\n", tag().c_str());
if (offset == HMCS40_PORT_R0X)
ret >>= 4;
diff --git a/src/mame/machine/alpha8201.h b/src/mame/machine/alpha8201.h
index 1db8eb64a3a..18dac686ce0 100644
--- a/src/mame/machine/alpha8201.h
+++ b/src/mame/machine/alpha8201.h
@@ -14,7 +14,7 @@
class alpha_8201_device : public device_t
{
public:
- alpha_8201_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ alpha_8201_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~alpha_8201_device() {}
DECLARE_READ8_MEMBER(mcu_data_r);
diff --git a/src/mame/machine/amigakbd.cpp b/src/mame/machine/amigakbd.cpp
index e760cb7de47..b0c76a69925 100644
--- a/src/mame/machine/amigakbd.cpp
+++ b/src/mame/machine/amigakbd.cpp
@@ -260,7 +260,7 @@ ioport_constructor amigakbd_device::device_input_ports() const
// amigakbd_device - constructor
//-------------------------------------------------
-amigakbd_device::amigakbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+amigakbd_device::amigakbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, AMIGAKBD, "Amiga 500 Keyboard with 6570-036 MPU", tag, owner, clock, "amigakbd", __FILE__),
m_write_kclk(*this),
m_write_kdat(*this),
diff --git a/src/mame/machine/amigakbd.h b/src/mame/machine/amigakbd.h
index ae7f7f633cb..09ef4835bb9 100644
--- a/src/mame/machine/amigakbd.h
+++ b/src/mame/machine/amigakbd.h
@@ -42,7 +42,7 @@ class amigakbd_device : public device_t
{
public:
// construction/destruction
- amigakbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ amigakbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_kclk_wr_callback(device_t &device, _Object object)
{ return downcast<amigakbd_device &>(device).m_write_kclk.set_callback(object); }
diff --git a/src/mame/machine/amstrad.cpp b/src/mame/machine/amstrad.cpp
index 3e89d234271..7db2f7aef59 100644
--- a/src/mame/machine/amstrad.cpp
+++ b/src/mame/machine/amstrad.cpp
@@ -1101,7 +1101,7 @@ UINT32 amstrad_state::screen_update_amstrad(screen_device &screen, bitmap_ind16
/* traverses the daisy-chain of expansion devices, looking for the specified device */
-static device_t* get_expansion_device(running_machine &machine, const char* tag)
+static device_t* get_expansion_device(running_machine &machine, std::string tag)
{
amstrad_state *state = machine.driver_data<amstrad_state>();
cpc_expansion_slot_device* exp_port = state->m_exp;
diff --git a/src/mame/machine/apollo.cpp b/src/mame/machine/apollo.cpp
index 68e6e53b75c..b7dd555b6bd 100644
--- a/src/mame/machine/apollo.cpp
+++ b/src/mame/machine/apollo.cpp
@@ -127,7 +127,7 @@ INPUT_PORTS_END
class apollo_config_device : public device_t
{
public:
- apollo_config_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ apollo_config_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// device-level overrides
virtual void device_config_complete() override;
@@ -141,7 +141,7 @@ extern const device_type APOLLO_CONF;
const device_type APOLLO_CONF = &device_creator<apollo_config_device>;
-apollo_config_device::apollo_config_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+apollo_config_device::apollo_config_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, APOLLO_CONF, "Apollo Configuration", tag, owner, clock, "apollo_config", __FILE__)
{
}
@@ -724,7 +724,7 @@ TIMER_CALLBACK_MEMBER( apollo_state::apollo_rtc_timer )
#undef VERBOSE
#define VERBOSE 0
-apollo_sio::apollo_sio(const machine_config &mconfig, const char *tag,
+apollo_sio::apollo_sio(const machine_config &mconfig, std::string tag,
device_t *owner, UINT32 clock) :
mc68681_device(mconfig, tag, owner, clock),
m_csrb(0),
@@ -880,7 +880,7 @@ const device_type APOLLO_NI = &device_creator<apollo_ni> ;
// apollo_ni - constructor
//-------------------------------------------------
-apollo_ni::apollo_ni(const machine_config &mconfig, const char *tag,
+apollo_ni::apollo_ni(const machine_config &mconfig, std::string tag,
device_t *owner, UINT32 clock) :
device_t(mconfig, APOLLO_NI, "Node ID", tag, owner, clock, "node_id",
__FILE__), device_image_interface(mconfig, *this)
@@ -1288,7 +1288,7 @@ const device_type APOLLO_STDIO = &device_creator<apollo_stdio_device> ;
//-------------------------------------------------
apollo_stdio_device::apollo_stdio_device(const machine_config &mconfig,
- const char *tag, device_t *owner, UINT32 clock) :
+ std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, APOLLO_STDIO, "Apollo STDIO", tag, owner, clock,
"apollo_stdio", __FILE__), device_serial_interface(mconfig, *this),
m_tx_w(*this)
diff --git a/src/mame/machine/apollo_kbd.cpp b/src/mame/machine/apollo_kbd.cpp
index b6cbef1d429..dfbd46300c5 100644
--- a/src/mame/machine/apollo_kbd.cpp
+++ b/src/mame/machine/apollo_kbd.cpp
@@ -61,7 +61,7 @@ const device_type APOLLO_KBD = &device_creator<apollo_kbd_device>;
// apollo_kbd_device - constructor
//-------------------------------------------------
-apollo_kbd_device::apollo_kbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+apollo_kbd_device::apollo_kbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, APOLLO_KBD, "Apollo Keyboard", tag, owner, clock, "apollo_kbd", __FILE__),
device_serial_interface(mconfig, *this),
m_tx_w(*this),
@@ -148,8 +148,8 @@ const char *apollo_kbd_device::cpu_context()
/* if we have an executing CPU, output data */
if (cpu != nullptr)
{
- sprintf(statebuf, "%d.%03d %s pc=%08x - %s", s, ms, cpu->tag(),
- cpu->safe_pcbase(), tag());
+ sprintf(statebuf, "%d.%03d %s pc=%08x - %s", s, ms, cpu->tag().c_str(),
+ cpu->safe_pcbase(), tag().c_str());
}
else
{
diff --git a/src/mame/machine/apollo_kbd.h b/src/mame/machine/apollo_kbd.h
index 4b5cc91a9af..16ad535c2aa 100644
--- a/src/mame/machine/apollo_kbd.h
+++ b/src/mame/machine/apollo_kbd.h
@@ -47,7 +47,7 @@ class apollo_kbd_device : public device_t, public device_serial_interface
{
public:
// construction/destruction
- apollo_kbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ apollo_kbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_tx_cb(device_t &device, _Object object) { return downcast<apollo_kbd_device &>(device).m_tx_w.set_callback(object); }
template<class _Object> static devcb_base &set_german_cb(device_t &device, _Object object) { return downcast<apollo_kbd_device &>(device).m_german_r.set_callback(object); }
diff --git a/src/mame/machine/appldriv.cpp b/src/mame/machine/appldriv.cpp
index 139da446140..a5a574a7e36 100644
--- a/src/mame/machine/appldriv.cpp
+++ b/src/mame/machine/appldriv.cpp
@@ -297,7 +297,7 @@ const device_type FLOPPY_APPLE = &device_creator<apple525_floppy_image_device>;
// apple525_floppy_image_device - constructor
//-------------------------------------------------
-apple525_floppy_image_device::apple525_floppy_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+apple525_floppy_image_device::apple525_floppy_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: legacy_floppy_image_device(mconfig, FLOPPY_APPLE, "Apple Disk II", tag, owner, clock, "floppy_apple", __FILE__)
{
}
diff --git a/src/mame/machine/appldriv.h b/src/mame/machine/appldriv.h
index 4ab7ea18479..73da8d85af2 100644
--- a/src/mame/machine/appldriv.h
+++ b/src/mame/machine/appldriv.h
@@ -27,7 +27,7 @@ class apple525_floppy_image_device : public legacy_floppy_image_device
{
public:
// construction/destruction
- apple525_floppy_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ apple525_floppy_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual bool call_load() override;
virtual void call_unload() override;
diff --git a/src/mame/machine/applefdc.cpp b/src/mame/machine/applefdc.cpp
index 014546b0f85..399a951ea25 100644
--- a/src/mame/machine/applefdc.cpp
+++ b/src/mame/machine/applefdc.cpp
@@ -105,7 +105,7 @@ enum
// ctor
//-------------------------------------------------
-applefdc_base_device::applefdc_base_device(applefdc_base_device::applefdc_t fdc_type, const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+applefdc_base_device::applefdc_base_device(applefdc_base_device::applefdc_t fdc_type, const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source)
{
m_type = fdc_type;
@@ -567,7 +567,7 @@ UINT8 applefdc_base_device::get_lines()
const device_type APPLEFDC = &device_creator<applefdc_device>;
-applefdc_device::applefdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+applefdc_device::applefdc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: applefdc_base_device(APPLEFDC_APPLE2, mconfig, APPLEFDC, "Apple FDC", tag, owner, clock, "apple_fdc", __FILE__)
{
}
@@ -580,7 +580,7 @@ applefdc_device::applefdc_device(const machine_config &mconfig, const char *tag,
const device_type IWM = &device_creator<iwm_device>;
-iwm_device::iwm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+iwm_device::iwm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: applefdc_base_device(APPLEFDC_IWM, mconfig, IWM, "Apple IWM (Integrated Woz Machine)", tag, owner, clock, "iwm", __FILE__)
{
}
diff --git a/src/mame/machine/applefdc.h b/src/mame/machine/applefdc.h
index 6e02ddc87b2..b027c904bc8 100644
--- a/src/mame/machine/applefdc.h
+++ b/src/mame/machine/applefdc.h
@@ -81,7 +81,7 @@ protected:
};
// constructor
- applefdc_base_device(applefdc_t fdc_type, const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ applefdc_base_device(applefdc_t fdc_type, const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
// device-level overrides
virtual void device_start() override;
@@ -122,7 +122,7 @@ private:
class applefdc_device : public applefdc_base_device
{
public:
- applefdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ applefdc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
@@ -134,7 +134,7 @@ public:
class iwm_device : public applefdc_base_device
{
public:
- iwm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ iwm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
diff --git a/src/mame/machine/apricotkb.cpp b/src/mame/machine/apricotkb.cpp
index 6ceb0d6ba4d..de72cb013bc 100644
--- a/src/mame/machine/apricotkb.cpp
+++ b/src/mame/machine/apricotkb.cpp
@@ -245,7 +245,7 @@ ioport_constructor apricot_keyboard_device::device_input_ports() const
// apricot_keyboard_device - constructor
//-------------------------------------------------
-apricot_keyboard_device::apricot_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+apricot_keyboard_device::apricot_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, APRICOT_KEYBOARD, "Apricot Keyboard", tag, owner, clock, "aprikb", __FILE__),
m_write_txd(*this),
m_y0(*this, "Y0"),
diff --git a/src/mame/machine/apricotkb.h b/src/mame/machine/apricotkb.h
index 01f5a7f451f..23ceba403ec 100644
--- a/src/mame/machine/apricotkb.h
+++ b/src/mame/machine/apricotkb.h
@@ -42,7 +42,7 @@ class apricot_keyboard_device : public device_t
{
public:
// construction/destruction
- apricot_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ apricot_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_txd_wr_callback(device_t &device, _Object object) { return downcast<apricot_keyboard_device &>(device).m_write_txd.set_callback(object); }
diff --git a/src/mame/machine/apricotkb_hle.cpp b/src/mame/machine/apricotkb_hle.cpp
index 7bf5531454c..691fed14007 100644
--- a/src/mame/machine/apricotkb_hle.cpp
+++ b/src/mame/machine/apricotkb_hle.cpp
@@ -188,7 +188,7 @@ ioport_constructor apricot_keyboard_hle_device::device_input_ports() const
// apricot_keyboard_hle_device - constructor
//-------------------------------------------------
-apricot_keyboard_hle_device::apricot_keyboard_hle_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+apricot_keyboard_hle_device::apricot_keyboard_hle_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, APRICOT_KEYBOARD_HLE, "Apricot Keyboard (HLE)", tag, owner, clock, "apricotkb_hle", __FILE__),
device_serial_interface(mconfig, *this),
m_txd_handler(*this),
diff --git a/src/mame/machine/apricotkb_hle.h b/src/mame/machine/apricotkb_hle.h
index 5a5189c9247..841dba516e8 100644
--- a/src/mame/machine/apricotkb_hle.h
+++ b/src/mame/machine/apricotkb_hle.h
@@ -34,7 +34,7 @@ class apricot_keyboard_hle_device : public device_t, public device_serial_interf
{
public:
// construction/destruction
- apricot_keyboard_hle_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ apricot_keyboard_hle_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_txd_handler(device_t &device, _Object object)
{ return downcast<apricot_keyboard_hle_device &>(device).m_txd_handler.set_callback(object); }
diff --git a/src/mame/machine/arkanoid.cpp b/src/mame/machine/arkanoid.cpp
index 323c183cb90..217d96b6e74 100644
--- a/src/mame/machine/arkanoid.cpp
+++ b/src/mame/machine/arkanoid.cpp
@@ -223,8 +223,8 @@ CUSTOM_INPUT_MEMBER(arkanoid_state::arkanoid_68705_input_r)
CUSTOM_INPUT_MEMBER(arkanoid_state::arkanoid_input_mux)
{
- const char *tag1 = (const char *)param;
- const char *tag2 = tag1 + strlen(tag1) + 1;
+ const char * tag1 = (const char *)param;
+ const char * tag2 = tag1 + strlen(tag1) + 1;
return ioport((m_paddle_select == 0) ? tag1 : tag2)->read();
}
diff --git a/src/mame/machine/asic65.cpp b/src/mame/machine/asic65.cpp
index 3ad34f5e32a..391ee6a462d 100644
--- a/src/mame/machine/asic65.cpp
+++ b/src/mame/machine/asic65.cpp
@@ -84,7 +84,7 @@ static const UINT8 command_map[3][MAX_COMMANDS] =
const device_type ASIC65 = &device_creator<asic65_device>;
-asic65_device::asic65_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+asic65_device::asic65_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ASIC65, "Atari ASIC65", tag, owner, clock, "asic65", __FILE__),
m_asic65_type(0),
m_command(0),
diff --git a/src/mame/machine/asic65.h b/src/mame/machine/asic65.h
index c5f094461a2..78a5944e7c5 100644
--- a/src/mame/machine/asic65.h
+++ b/src/mame/machine/asic65.h
@@ -18,7 +18,7 @@
class asic65_device : public device_t
{
public:
- asic65_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ asic65_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// (static) configuration helpers
static void set_type(device_t &device, int type) { downcast<asic65_device &>(device).m_asic65_type = type; }
diff --git a/src/mame/machine/atari_vg.cpp b/src/mame/machine/atari_vg.cpp
index c7d8d514817..6eec0d6a87c 100644
--- a/src/mame/machine/atari_vg.cpp
+++ b/src/mame/machine/atari_vg.cpp
@@ -41,7 +41,7 @@ const device_type ATARIVGEAROM = &device_creator<atari_vg_earom_device>;
// atari_vg_earom_device - constructor
//-------------------------------------------------
-atari_vg_earom_device::atari_vg_earom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+atari_vg_earom_device::atari_vg_earom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ATARIVGEAROM, "Atari VG EAROM", tag, owner, clock, "atari_vg_earom", __FILE__),
device_nvram_interface(mconfig, *this)
{
diff --git a/src/mame/machine/atari_vg.h b/src/mame/machine/atari_vg.h
index 3d7aba7b440..c1a3e90e160 100644
--- a/src/mame/machine/atari_vg.h
+++ b/src/mame/machine/atari_vg.h
@@ -26,7 +26,7 @@ class atari_vg_earom_device : public device_t,
{
public:
// construction/destruction
- atari_vg_earom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ atari_vg_earom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// device-level overrides
virtual void device_start() override;
diff --git a/src/mame/machine/atarifdc.cpp b/src/mame/machine/atarifdc.cpp
index 13505910f30..246db4a4d43 100644
--- a/src/mame/machine/atarifdc.cpp
+++ b/src/mame/machine/atarifdc.cpp
@@ -754,7 +754,7 @@ legacy_floppy_image_device *atari_fdc_device::atari_floppy_get_device_child(int
const device_type ATARI_FDC = &device_creator<atari_fdc_device>;
-atari_fdc_device::atari_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+atari_fdc_device::atari_fdc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ATARI_FDC, "Atari FDC", tag, owner, clock, "atari_fdc", __FILE__),
m_serout_count(0),
m_serout_offs(0),
diff --git a/src/mame/machine/atarifdc.h b/src/mame/machine/atarifdc.h
index 4c41c7b745a..14ac20eaa1d 100644
--- a/src/mame/machine/atarifdc.h
+++ b/src/mame/machine/atarifdc.h
@@ -13,7 +13,7 @@
class atari_fdc_device : public device_t
{
public:
- atari_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ atari_fdc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ8_MEMBER( serin_r );
DECLARE_WRITE8_MEMBER( serout_w );
diff --git a/src/mame/machine/atarigen.cpp b/src/mame/machine/atarigen.cpp
index 05127cb1edd..653f88b2f82 100644
--- a/src/mame/machine/atarigen.cpp
+++ b/src/mame/machine/atarigen.cpp
@@ -43,7 +43,7 @@ inline const atarigen_screen_timer *get_screen_timer(screen_device &screen)
if (state->m_screen_timer[i].screen == &screen)
return &state->m_screen_timer[i];
- fatalerror("Unexpected: no atarivc_eof_update_timer for screen '%s'\n", screen.tag());
+ fatalerror("Unexpected: no atarivc_eof_update_timer for screen '%s'\n", screen.tag().c_str());
return nullptr;
}
@@ -60,9 +60,8 @@ const device_type ATARI_SOUND_COMM = &device_creator<atari_sound_comm_device>;
// atari_sound_comm_device - constructor
//-------------------------------------------------
-atari_sound_comm_device::atari_sound_comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+atari_sound_comm_device::atari_sound_comm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ATARI_SOUND_COMM, "Atari Sound Communications", tag, owner, clock, "atarscom", __FILE__),
- m_sound_cpu_tag(nullptr),
m_main_int_cb(*this),
m_sound_cpu(nullptr),
m_main_to_sound_ready(false),
@@ -353,7 +352,7 @@ const device_type ATARI_VAD = &device_creator<atari_vad_device>;
// atari_vad_device - constructor
//-------------------------------------------------
-atari_vad_device::atari_vad_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+atari_vad_device::atari_vad_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ATARI_VAD, "Atari VAD", tag, owner, clock, "atarivad", __FILE__),
device_video_interface(mconfig, *this),
m_scanline_int_cb(*this),
@@ -831,7 +830,7 @@ const device_type ATARI_EEPROM_2816 = &device_creator<atari_eeprom_2816_device>;
// atari_eeprom_device - constructor
//-------------------------------------------------
-atari_eeprom_device::atari_eeprom_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, const char *shortname, const char *file)
+atari_eeprom_device::atari_eeprom_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file)
: device_t(mconfig, devtype, name, tag, owner, 0, shortname, file),
m_eeprom(*this, "eeprom"),
m_unlocked(false)
@@ -898,7 +897,7 @@ void atari_eeprom_device::device_reset()
// atari_eeprom_2804_device - constructor
//-------------------------------------------------
-atari_eeprom_2804_device::atari_eeprom_2804_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+atari_eeprom_2804_device::atari_eeprom_2804_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: atari_eeprom_device(mconfig, ATARI_EEPROM_2804, "Atari EEPROM Interface (2804)", tag, owner, "atari2804", __FILE__)
{
}
@@ -923,7 +922,7 @@ machine_config_constructor atari_eeprom_2804_device::device_mconfig_additions()
// atari_eeprom_2816_device - constructor
//-------------------------------------------------
-atari_eeprom_2816_device::atari_eeprom_2816_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+atari_eeprom_2816_device::atari_eeprom_2816_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: atari_eeprom_device(mconfig, ATARI_EEPROM_2816, "Atari EEPROM Interface (2816)", tag, owner, "atari2816", __FILE__)
{
}
@@ -949,7 +948,7 @@ machine_config_constructor atari_eeprom_2816_device::device_mconfig_additions()
OVERALL INIT
***************************************************************************/
-atarigen_state::atarigen_state(const machine_config &mconfig, device_type type, const char *tag)
+atarigen_state::atarigen_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_earom(*this, "earom"),
m_earom_data(0),
diff --git a/src/mame/machine/atarigen.h b/src/mame/machine/atarigen.h
index 5010057ca00..072d0a8f925 100644
--- a/src/mame/machine/atarigen.h
+++ b/src/mame/machine/atarigen.h
@@ -111,7 +111,7 @@ class atari_sound_comm_device : public device_t
{
public:
// construction/destruction
- atari_sound_comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ atari_sound_comm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration helpers
static void static_set_sound_cpu(device_t &device, const char *cputag);
@@ -184,7 +184,7 @@ class atari_vad_device : public device_t,
{
public:
// construction/destruction
- atari_vad_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ atari_vad_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration helpers
template<class _Object> static devcb_base &static_set_scanline_int_cb(device_t &device, _Object object) { return downcast<atari_vad_device &>(device).m_scanline_int_cb.set_callback(object); }
@@ -265,7 +265,7 @@ class atari_eeprom_device : public device_t
{
protected:
// construction/destruction
- atari_eeprom_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, const char *shortname, const char *file);
+ atari_eeprom_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file);
public:
// unlock controls
@@ -296,7 +296,7 @@ class atari_eeprom_2804_device : public atari_eeprom_device
{
public:
// construction/destruction
- atari_eeprom_2804_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ atari_eeprom_2804_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// device-level overrides
@@ -307,7 +307,7 @@ class atari_eeprom_2816_device : public atari_eeprom_device
{
public:
// construction/destruction
- atari_eeprom_2816_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ atari_eeprom_2816_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// device-level overrides
@@ -332,7 +332,7 @@ class atarigen_state : public driver_device
{
public:
// construction/destruction
- atarigen_state(const machine_config &mconfig, device_type type, const char *tag);
+ atarigen_state(const machine_config &mconfig, device_type type, std::string tag);
// users must call through to these
virtual void machine_start() override;
diff --git a/src/mame/machine/awboard.cpp b/src/mame/machine/awboard.cpp
index 342ff0b18e9..c13066d31ca 100644
--- a/src/mame/machine/awboard.cpp
+++ b/src/mame/machine/awboard.cpp
@@ -164,7 +164,7 @@ DEVICE_ADDRESS_MAP_START(submap, 16, aw_rom_board)
AM_RANGE(0x40, 0x41) AM_READWRITE(pio_r, pio_w)
ADDRESS_MAP_END
-aw_rom_board::aw_rom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+aw_rom_board::aw_rom_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: naomi_g1_device(mconfig, AW_ROM_BOARD, "Sammy Atomiswave ROM Board", tag, owner, clock, "aw_rom_board", __FILE__)
{
keyregion = nullptr;
@@ -256,7 +256,7 @@ UINT16 aw_rom_board::decrypt(UINT16 cipherText, UINT32 address, const UINT32 key
void aw_rom_board::set_key()
{
if(!m_region)
- throw emu_fatalerror("AW-ROM-BOARD: region %s is missing\n", tag());
+ throw emu_fatalerror("AW-ROM-BOARD: region %s is missing\n", tag().c_str());
if(!keyregion)
return;
diff --git a/src/mame/machine/awboard.h b/src/mame/machine/awboard.h
index 4e531523856..12f1968ea60 100644
--- a/src/mame/machine/awboard.h
+++ b/src/mame/machine/awboard.h
@@ -12,7 +12,7 @@
class aw_rom_board : public naomi_g1_device
{
public:
- aw_rom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ aw_rom_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
static void static_set_keyregion(device_t &device, const char *_keyregion);
diff --git a/src/mame/machine/bbc.cpp b/src/mame/machine/bbc.cpp
index d82f4fdd827..79e63346e5b 100644
--- a/src/mame/machine/bbc.cpp
+++ b/src/mame/machine/bbc.cpp
@@ -1661,7 +1661,7 @@ DRIVER_INIT_MEMBER(bbc_state,bbc)
void bbc_state::bbc_setup_banks(memory_bank *membank, int banks, UINT32 shift, UINT32 size)
{
std::string region_tag;
- memory_region *tmp_reg;
+ memory_region *tmp_reg = nullptr;
UINT8 *eprom[4];
if (m_exp1 && (tmp_reg = memregion(region_tag.assign(m_exp1->tag()).append(GENERIC_ROM_REGION_TAG).c_str())))
eprom[0] = tmp_reg->base() + shift;
@@ -1695,7 +1695,7 @@ void bbc_state::bbc_setup_banks(memory_bank *membank, int banks, UINT32 shift, U
void bbc_state::bbcm_setup_banks(memory_bank *membank, int banks, UINT32 shift, UINT32 size)
{
std::string region_tag;
- memory_region *tmp_reg;
+ memory_region *tmp_reg = nullptr;
UINT8 *eprom[2];
if (m_exp1 && (tmp_reg = memregion(region_tag.assign(m_exp1->tag()).append(GENERIC_ROM_REGION_TAG).c_str())))
eprom[0] = tmp_reg->base() + shift;
diff --git a/src/mame/machine/beta.cpp b/src/mame/machine/beta.cpp
index ef9ec771805..a8f787e98dd 100644
--- a/src/mame/machine/beta.cpp
+++ b/src/mame/machine/beta.cpp
@@ -26,7 +26,7 @@ BUGS:
const device_type BETA_DISK = &device_creator<beta_disk_device>;
-beta_disk_device::beta_disk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+beta_disk_device::beta_disk_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, BETA_DISK, "Beta Disk Interface", tag, owner, clock, "betadisk", __FILE__)
, m_betadisk_active(0)
, m_wd179x(*this, "wd179x")
diff --git a/src/mame/machine/beta.h b/src/mame/machine/beta.h
index af5b2132e14..fcd8ddf11d8 100644
--- a/src/mame/machine/beta.h
+++ b/src/mame/machine/beta.h
@@ -20,7 +20,7 @@
class beta_disk_device : public device_t
{
public:
- beta_disk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ beta_disk_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~beta_disk_device() {}
DECLARE_READ8_MEMBER(status_r);
diff --git a/src/mame/machine/bfm_bd1.cpp b/src/mame/machine/bfm_bd1.cpp
index 78132ae5acf..e4398d66ac6 100644
--- a/src/mame/machine/bfm_bd1.cpp
+++ b/src/mame/machine/bfm_bd1.cpp
@@ -101,7 +101,7 @@ static const UINT16 BD1charset[]=
0x4406, // 0100 0100 0000 0110 ?
};
-bfm_bd1_t::bfm_bd1_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+bfm_bd1_t::bfm_bd1_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, BFM_BD1, "BFM BD1 VFD controller", tag, owner, clock, "bfm_bd1", __FILE__),
m_port_val(0)
{
diff --git a/src/mame/machine/bfm_bd1.h b/src/mame/machine/bfm_bd1.h
index 70742e807f9..cce0eaf8289 100644
--- a/src/mame/machine/bfm_bd1.h
+++ b/src/mame/machine/bfm_bd1.h
@@ -15,7 +15,7 @@
class bfm_bd1_t : public device_t
{
public:
- bfm_bd1_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ bfm_bd1_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// inline configuration helpers
static void static_set_value(device_t &device, int val);
diff --git a/src/mame/machine/bfm_bda.cpp b/src/mame/machine/bfm_bda.cpp
index 0984bf7ecab..a2c5ca9b931 100644
--- a/src/mame/machine/bfm_bda.cpp
+++ b/src/mame/machine/bfm_bda.cpp
@@ -83,7 +83,7 @@ static const UINT16 BDAcharset[]=
0x4406, // 0100 0100 0000 0110 ?
};
-bfm_bda_t::bfm_bda_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+bfm_bda_t::bfm_bda_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, BFM_BDA, "BFM BDA VFD controller", tag, owner, clock, "bfm_bda", __FILE__),
m_port_val(0)
{
diff --git a/src/mame/machine/bfm_bda.h b/src/mame/machine/bfm_bda.h
index 3570c478f81..0b09548c60b 100644
--- a/src/mame/machine/bfm_bda.h
+++ b/src/mame/machine/bfm_bda.h
@@ -15,7 +15,7 @@
class bfm_bda_t : public device_t
{
public:
- bfm_bda_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ bfm_bda_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// inline configuration helpers
static void static_set_value(device_t &device, int val);
diff --git a/src/mame/machine/buggychl.cpp b/src/mame/machine/buggychl.cpp
index 608189588f2..a06bf0bf4ed 100644
--- a/src/mame/machine/buggychl.cpp
+++ b/src/mame/machine/buggychl.cpp
@@ -7,7 +7,7 @@
const device_type BUGGYCHL_MCU = &device_creator<buggychl_mcu_device>;
-buggychl_mcu_device::buggychl_mcu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+buggychl_mcu_device::buggychl_mcu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, BUGGYCHL_MCU, "M68705 MCU Simulation (Buggy Challenge)", tag, owner, clock, "buggychl_mcu", __FILE__),
m_port_a_in(0),
m_port_a_out(0),
diff --git a/src/mame/machine/buggychl.h b/src/mame/machine/buggychl.h
index 7f7a3e7c1e8..cc4855527c6 100644
--- a/src/mame/machine/buggychl.h
+++ b/src/mame/machine/buggychl.h
@@ -3,7 +3,7 @@
class buggychl_mcu_device : public device_t
{
public:
- buggychl_mcu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ buggychl_mcu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~buggychl_mcu_device() {}
DECLARE_WRITE8_MEMBER( buggychl_mcu_w );
diff --git a/src/mame/machine/c117.cpp b/src/mame/machine/c117.cpp
index 018fd21689b..2527789a029 100644
--- a/src/mame/machine/c117.cpp
+++ b/src/mame/machine/c117.cpp
@@ -33,13 +33,11 @@ const device_type NAMCO_C117 = &device_creator<namco_c117_device>;
// namco_c117_device - constructor
//-------------------------------------------------
-namco_c117_device::namco_c117_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco_c117_device::namco_c117_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NAMCO_C117, "Namco C117 MMU", tag, owner, clock, "namco_c117", __FILE__),
device_memory_interface(mconfig, *this),
m_subres_cb(*this),
- m_program_config("program", ENDIANNESS_BIG, 8, 23),
- m_maincpu_tag(nullptr),
- m_subcpu_tag(nullptr)
+ m_program_config("program", ENDIANNESS_BIG, 8, 23)
{
}
diff --git a/src/mame/machine/c117.h b/src/mame/machine/c117.h
index cc1b7aefc95..396211646b0 100644
--- a/src/mame/machine/c117.h
+++ b/src/mame/machine/c117.h
@@ -28,7 +28,7 @@ class namco_c117_device :
{
public:
//construction/destruction
- namco_c117_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco_c117_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration
static void set_cpu_tags(device_t &device, const char *maintag, const char *subtag);
diff --git a/src/mame/machine/cat702.cpp b/src/mame/machine/cat702.cpp
index c02c4394ce1..c0c85f84be1 100644
--- a/src/mame/machine/cat702.cpp
+++ b/src/mame/machine/cat702.cpp
@@ -88,7 +88,7 @@
const device_type CAT702 = &device_creator<cat702_device>;
-cat702_device::cat702_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+cat702_device::cat702_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, CAT702, "CAT702", tag, owner, clock, "cat702", __FILE__),
m_dataout_handler(*this)
{
diff --git a/src/mame/machine/cat702.h b/src/mame/machine/cat702.h
index 4b93865239f..d7fa867142a 100644
--- a/src/mame/machine/cat702.h
+++ b/src/mame/machine/cat702.h
@@ -17,7 +17,7 @@ extern const device_type CAT702;
class cat702_device : public device_t
{
public:
- cat702_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ cat702_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration helpers
template<class _Object> static devcb_base &set_dataout_handler(device_t &device, _Object object) { return downcast<cat702_device &>(device).m_dataout_handler.set_callback(object); }
diff --git a/src/mame/machine/cdi070.cpp b/src/mame/machine/cdi070.cpp
index 4bbb0e26aa5..f6b410914aa 100644
--- a/src/mame/machine/cdi070.cpp
+++ b/src/mame/machine/cdi070.cpp
@@ -54,7 +54,7 @@ static inline void ATTR_PRINTF(3,4) verboselog(device_t& device, int n_level, co
// cdi68070_device - constructor
//-------------------------------------------------
-cdi68070_device::cdi68070_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+cdi68070_device::cdi68070_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MACHINE_CDI68070, "CDI68070", tag, owner, clock, "cdi68070", __FILE__)
{
}
diff --git a/src/mame/machine/cdi070.h b/src/mame/machine/cdi070.h
index 7f3cff2d905..84dd18e9cfa 100644
--- a/src/mame/machine/cdi070.h
+++ b/src/mame/machine/cdi070.h
@@ -140,7 +140,7 @@ class cdi68070_device : public device_t
{
public:
// construction/destruction
- cdi68070_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ cdi68070_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// external callbacks
void uart_rx(UINT8 data);
diff --git a/src/mame/machine/cdicdic.cpp b/src/mame/machine/cdicdic.cpp
index bc01d5a6164..69c23a67c03 100644
--- a/src/mame/machine/cdicdic.cpp
+++ b/src/mame/machine/cdicdic.cpp
@@ -1161,7 +1161,7 @@ WRITE16_MEMBER( cdicdic_device::regs_w )
// cdicdic_device - constructor
//-------------------------------------------------
-cdicdic_device::cdicdic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+cdicdic_device::cdicdic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MACHINE_CDICDIC, "CDICDIC", tag, owner, clock, "cdicdic", __FILE__)
{
}
diff --git a/src/mame/machine/cdicdic.h b/src/mame/machine/cdicdic.h
index 33ca053e066..4715ee6aac2 100644
--- a/src/mame/machine/cdicdic.h
+++ b/src/mame/machine/cdicdic.h
@@ -51,7 +51,7 @@ class cdicdic_device : public device_t
{
public:
// construction/destruction
- cdicdic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ cdicdic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// non-static internal members
void sample_trigger();
diff --git a/src/mame/machine/cdislave.cpp b/src/mame/machine/cdislave.cpp
index fbf21c839c8..109022b53b4 100644
--- a/src/mame/machine/cdislave.cpp
+++ b/src/mame/machine/cdislave.cpp
@@ -418,7 +418,7 @@ WRITE16_MEMBER( cdislave_device::slave_w )
// cdislave_device - constructor
//-------------------------------------------------
-cdislave_device::cdislave_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+cdislave_device::cdislave_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MACHINE_CDISLAVE, "CDISLAVE", tag, owner, clock, "cdislave", __FILE__)
{
}
diff --git a/src/mame/machine/cdislave.h b/src/mame/machine/cdislave.h
index 4211574c018..5ce85b36b00 100644
--- a/src/mame/machine/cdislave.h
+++ b/src/mame/machine/cdislave.h
@@ -46,7 +46,7 @@ class cdislave_device : public device_t
{
public:
// construction/destruction
- cdislave_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ cdislave_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// external callbacks
DECLARE_INPUT_CHANGED_MEMBER( mouse_update );
diff --git a/src/mame/machine/coco.cpp b/src/mame/machine/coco.cpp
index ba88b004762..5a992dd97cd 100644
--- a/src/mame/machine/coco.cpp
+++ b/src/mame/machine/coco.cpp
@@ -79,7 +79,7 @@ DAC and bitbanger values written should be reflected in the read.
// ctor
//-------------------------------------------------
-coco_state::coco_state(const machine_config &mconfig, device_type type, const char *tag)
+coco_state::coco_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, MAINCPU_TAG),
m_pia_0(*this, PIA0_TAG),
diff --git a/src/mame/machine/coco3.cpp b/src/mame/machine/coco3.cpp
index 40624853dec..d86d7665cff 100644
--- a/src/mame/machine/coco3.cpp
+++ b/src/mame/machine/coco3.cpp
@@ -149,19 +149,19 @@ void coco3_state::update_cart_base(UINT8 *cart_base)
UINT32 coco3_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
bool result;
- if (!strcmp(screen.tag(), ":" COMPOSITE_SCREEN_TAG))
+ if (screen.tag() == ":" COMPOSITE_SCREEN_TAG)
{
/* composite screen */
result = m_gime->update_composite(bitmap, cliprect);
}
- else if (!strcmp(screen.tag(), ":" RGB_SCREEN_TAG))
+ else if (screen.tag() == ":" RGB_SCREEN_TAG)
{
/* rgb screen */
result = m_gime->update_rgb(bitmap, cliprect);
}
else
{
- fatalerror("Called screen_update() with invalid tag '%s'\n", screen.tag());
+ fatalerror("Called screen_update() with invalid tag '%s'\n", screen.tag().c_str());
}
return result;
}
diff --git a/src/mame/machine/coco_vhd.cpp b/src/mame/machine/coco_vhd.cpp
index 0510ce469ff..0288a2b4000 100644
--- a/src/mame/machine/coco_vhd.cpp
+++ b/src/mame/machine/coco_vhd.cpp
@@ -71,7 +71,7 @@ const device_type COCO_VHD = &device_creator<coco_vhd_image_device>;
// coco_vhd_image_device - constructor
//-------------------------------------------------
-coco_vhd_image_device::coco_vhd_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+coco_vhd_image_device::coco_vhd_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, COCO_VHD, "Virtual Hard Disk", tag, owner, clock, "coco_vhd_image", __FILE__),
device_image_interface(mconfig, *this)
{
diff --git a/src/mame/machine/coco_vhd.h b/src/mame/machine/coco_vhd.h
index 45f9f5fb224..8c195fff4a7 100644
--- a/src/mame/machine/coco_vhd.h
+++ b/src/mame/machine/coco_vhd.h
@@ -23,7 +23,7 @@ class coco_vhd_image_device : public device_t,
{
public:
// construction/destruction
- coco_vhd_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ coco_vhd_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ~coco_vhd_image_device();
// image-level overrides
diff --git a/src/mame/machine/compiskb.cpp b/src/mame/machine/compiskb.cpp
index 91709ad925e..92ce8b365f2 100644
--- a/src/mame/machine/compiskb.cpp
+++ b/src/mame/machine/compiskb.cpp
@@ -235,7 +235,7 @@ ioport_constructor compis_keyboard_device::device_input_ports() const
// compis_keyboard_device - constructor
//-------------------------------------------------
-compis_keyboard_device::compis_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+compis_keyboard_device::compis_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, COMPIS_KEYBOARD, "Compis Keyboard", tag, owner, clock, "compiskb", __FILE__),
m_maincpu(*this, I8748_TAG),
m_speaker(*this, SPEAKER_TAG),
diff --git a/src/mame/machine/compiskb.h b/src/mame/machine/compiskb.h
index 64a71c1b405..9a926fc4031 100644
--- a/src/mame/machine/compiskb.h
+++ b/src/mame/machine/compiskb.h
@@ -37,7 +37,7 @@ class compis_keyboard_device : public device_t
{
public:
// construction/destruction
- compis_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ compis_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_out_tx_handler(device_t &device, _Object object) { return downcast<compis_keyboard_device &>(device).m_out_tx_handler.set_callback(object); }
diff --git a/src/mame/machine/cuda.cpp b/src/mame/machine/cuda.cpp
index fc79fc6b32e..718cde4d5d6 100644
--- a/src/mame/machine/cuda.cpp
+++ b/src/mame/machine/cuda.cpp
@@ -382,7 +382,7 @@ WRITE8_MEMBER( cuda_device::pram_w )
// cuda_device - constructor
//-------------------------------------------------
-cuda_device::cuda_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+cuda_device::cuda_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CUDA, "Apple Cuda", tag, owner, clock, "cuda", __FILE__),
device_nvram_interface(mconfig, *this),
write_reset(*this),
diff --git a/src/mame/machine/cuda.h b/src/mame/machine/cuda.h
index 3623200e7ab..c1370afa6e0 100644
--- a/src/mame/machine/cuda.h
+++ b/src/mame/machine/cuda.h
@@ -60,7 +60,7 @@ class cuda_device : public device_t, public device_nvram_interface
{
public:
// construction/destruction
- cuda_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ cuda_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// inline configuration helpers
static void static_set_type(device_t &device, int type);
diff --git a/src/mame/machine/dc-ctrl.cpp b/src/mame/machine/dc-ctrl.cpp
index f2b5531b64a..3cc6ae7cd8d 100644
--- a/src/mame/machine/dc-ctrl.cpp
+++ b/src/mame/machine/dc-ctrl.cpp
@@ -5,7 +5,7 @@
const device_type DC_CONTROLLER = &device_creator<dc_controller_device>;
-void dc_controller_device::static_set_port_tag(device_t &device, int port, const char *tag)
+void dc_controller_device::static_set_port_tag(device_t &device, int port, std::string tag)
{
dc_controller_device &ctrl = downcast<dc_controller_device &>(device);
ctrl.port_tag[port] = tag;
@@ -29,11 +29,9 @@ void dc_controller_device::static_set_versions(device_t &device, const char *ver
ctrl.versions = versions;
}
-dc_controller_device::dc_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+dc_controller_device::dc_controller_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
maple_device(mconfig, DC_CONTROLLER, "Dreamcast Controller", tag, owner, clock, "dcctrl", __FILE__)
{
- memset(port_tag, 0, sizeof(port_tag));
-
id = "Dreamcast Controller";
license = "Produced By or Under License From SEGA ENTERPRISES,LTD.";
versions = "Version 1.010,1998/09/28,315-6211-AB ,Analog Module : The 4th Edition.5/8 +DF";
diff --git a/src/mame/machine/dc-ctrl.h b/src/mame/machine/dc-ctrl.h
index ed408ea7885..9d245462863 100644
--- a/src/mame/machine/dc-ctrl.h
+++ b/src/mame/machine/dc-ctrl.h
@@ -29,9 +29,9 @@ class dc_controller_device : public maple_device
{
public:
// construction/destruction
- dc_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ dc_controller_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
- static void static_set_port_tag(device_t &device, int port, const char *tag);
+ static void static_set_port_tag(device_t &device, int port, std::string tag);
static void static_set_id(device_t &device, const char *id);
static void static_set_license(device_t &device, const char *license);
static void static_set_versions(device_t &device, const char *versions);
@@ -47,7 +47,7 @@ private:
void free_status(UINT32 *dest);
void read(UINT32 *dest);
- const char *port_tag[8];
+ std::string port_tag[8];
const char *id, *license, *versions;
ioport_port *port[8];
diff --git a/src/mame/machine/dec_lk201.cpp b/src/mame/machine/dec_lk201.cpp
index 1c2c4fdf552..5c5be3b37a4 100644
--- a/src/mame/machine/dec_lk201.cpp
+++ b/src/mame/machine/dec_lk201.cpp
@@ -461,7 +461,7 @@ ioport_constructor lk201_device::device_input_ports() const
// lk201_device - constructor
//-------------------------------------------------
-lk201_device::lk201_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+lk201_device::lk201_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, LK201, "DEC LK201 keyboard", tag, owner, clock, "lk201", __FILE__),
device_serial_interface(mconfig, *this),
m_maincpu(*this, LK201_CPU_TAG),
diff --git a/src/mame/machine/dec_lk201.h b/src/mame/machine/dec_lk201.h
index 88271331523..1a4c01ddddf 100644
--- a/src/mame/machine/dec_lk201.h
+++ b/src/mame/machine/dec_lk201.h
@@ -43,7 +43,7 @@ class lk201_device : public device_t, public device_serial_interface
{
public:
// construction/destruction
- lk201_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ lk201_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ8_MEMBER( ddr_r );
DECLARE_WRITE8_MEMBER( ddr_w );
diff --git a/src/mame/machine/deco104.cpp b/src/mame/machine/deco104.cpp
index 554ad3ac47f..4ee6f3fa96d 100644
--- a/src/mame/machine/deco104.cpp
+++ b/src/mame/machine/deco104.cpp
@@ -1055,7 +1055,7 @@ const device_type DECO104PROT = &device_creator<deco104_device>;
-deco104_device::deco104_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+deco104_device::deco104_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: deco_146_base_device(mconfig, DECO104PROT, "DECO 104 Protection", tag, owner, clock, "deco104", __FILE__)
{
m_bankswitch_swap_read_address = 0x66;
diff --git a/src/mame/machine/deco104.h b/src/mame/machine/deco104.h
index 5576f7fd6b2..cee2448a4be 100644
--- a/src/mame/machine/deco104.h
+++ b/src/mame/machine/deco104.h
@@ -13,7 +13,7 @@
class deco104_device : public deco_146_base_device
{
public:
- deco104_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ deco104_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
diff --git a/src/mame/machine/deco146.cpp b/src/mame/machine/deco146.cpp
index d0ba7bd27e3..d17f554c02e 100644
--- a/src/mame/machine/deco146.cpp
+++ b/src/mame/machine/deco146.cpp
@@ -1319,7 +1319,7 @@ UINT16 deco_146_base_device::read_data(UINT16 address, UINT16 mem_mask, UINT8 &c
-deco_146_base_device::deco_146_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+deco_146_base_device::deco_146_base_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source)
{
m_port_a_r = deco146_port_read_cb(FUNC(deco_146_base_device::port_a_default), this);
@@ -1505,7 +1505,7 @@ UINT16 deco_146_base_device::read_data_getloc(UINT16 address, int& location)
}
-deco146_device::deco146_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+deco146_device::deco146_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: deco_146_base_device(mconfig, DECO146PROT, "DECO 146 Protection", tag, owner, clock, "deco146", __FILE__)
{
m_bankswitch_swap_read_address = 0x78;
diff --git a/src/mame/machine/deco146.h b/src/mame/machine/deco146.h
index 1f9fff545b1..c5a15becf46 100644
--- a/src/mame/machine/deco146.h
+++ b/src/mame/machine/deco146.h
@@ -80,8 +80,8 @@ struct deco146port_xx
class deco_146_base_device : public device_t
{
public:
- //deco_146_base_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- deco_146_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ //deco_146_base_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ deco_146_base_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
void write_data(address_space &space, UINT16 address, UINT16 data, UINT16 mem_mask, UINT8 &csflags);
UINT16 read_data(UINT16 address, UINT16 mem_mask, UINT8 &csflags);
@@ -164,7 +164,7 @@ extern const device_type DECO146BASE;
class deco146_device : public deco_146_base_device
{
public:
- deco146_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ deco146_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
extern const device_type DECO146PROT;
diff --git a/src/mame/machine/deco222.cpp b/src/mame/machine/deco222.cpp
index 1df8a720dd2..3bf15399e8e 100644
--- a/src/mame/machine/deco222.cpp
+++ b/src/mame/machine/deco222.cpp
@@ -8,7 +8,7 @@
#include "deco222.h"
-deco_222_device::deco_222_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+deco_222_device::deco_222_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
m6502_device(mconfig, DECO_222, "DECO 222", tag, owner, clock, "deco222", __FILE__)
{
}
@@ -32,7 +32,7 @@ UINT8 deco_222_device::mi_decrypt::read_sync(UINT16 adr)
-deco_c10707_device::deco_c10707_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+deco_c10707_device::deco_c10707_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
m6502_device(mconfig, DECO_C10707, "DECO C10707", tag, owner, clock, "decoc10707", __FILE__)
{
}
diff --git a/src/mame/machine/deco222.h b/src/mame/machine/deco222.h
index 9a7c8ba8822..d4511ee9f71 100644
--- a/src/mame/machine/deco222.h
+++ b/src/mame/machine/deco222.h
@@ -6,7 +6,7 @@
class deco_222_device : public m6502_device {
public:
- deco_222_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ deco_222_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
class mi_decrypt : public mi_default_normal {
@@ -28,7 +28,7 @@ static const device_type DECO_222 = &device_creator<deco_222_device>;
class deco_c10707_device : public m6502_device {
public:
- deco_c10707_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ deco_c10707_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
class mi_decrypt : public mi_default_normal {
diff --git a/src/mame/machine/decocass.cpp b/src/mame/machine/decocass.cpp
index 926f40918a3..c0ebd6382c6 100644
--- a/src/mame/machine/decocass.cpp
+++ b/src/mame/machine/decocass.cpp
@@ -56,7 +56,7 @@ READ8_MEMBER( decocass_state::decocass_sound_command_main_r)
WRITE8_MEMBER(decocass_state::decocass_sound_command_w)
{
- LOG(2,("CPU %s sound command -> $%02x\n", space.device().tag(), data));
+ LOG(2,("CPU %s sound command -> $%02x\n", space.device().tag().c_str(), data));
soundlatch_byte_w(space, 0, data);
m_sound_ack |= 0x80;
/* remove snd cpu data ack bit. i don't see it in the schems, but... */
@@ -67,20 +67,20 @@ WRITE8_MEMBER(decocass_state::decocass_sound_command_w)
READ8_MEMBER(decocass_state::decocass_sound_data_r)
{
UINT8 data = soundlatch2_byte_r(space, 0);
- LOG(2,("CPU %s sound data <- $%02x\n", space.device().tag(), data));
+ LOG(2,("CPU %s sound data <- $%02x\n", space.device().tag().c_str(), data));
return data;
}
READ8_MEMBER(decocass_state::decocass_sound_ack_r)
{
UINT8 data = m_sound_ack; /* D6+D7 */
- LOG(4,("CPU %s sound ack <- $%02x\n", space.device().tag(), data));
+ LOG(4,("CPU %s sound ack <- $%02x\n", space.device().tag().c_str(), data));
return data;
}
WRITE8_MEMBER(decocass_state::decocass_sound_data_w)
{
- LOG(2,("CPU %s sound data -> $%02x\n", space.device().tag(), data));
+ LOG(2,("CPU %s sound data -> $%02x\n", space.device().tag().c_str(), data));
soundlatch2_byte_w(space, 0, data);
m_sound_ack |= 0x40;
}
@@ -88,7 +88,7 @@ WRITE8_MEMBER(decocass_state::decocass_sound_data_w)
READ8_MEMBER(decocass_state::decocass_sound_command_r)
{
UINT8 data = soundlatch_byte_r(space, 0);
- LOG(4,("CPU %s sound command <- $%02x\n", space.device().tag(), data));
+ LOG(4,("CPU %s sound command <- $%02x\n", space.device().tag().c_str(), data));
m_audiocpu->set_input_line(M6502_IRQ_LINE, CLEAR_LINE);
m_sound_ack &= ~0x80;
return data;
@@ -117,14 +117,14 @@ READ8_MEMBER(decocass_state::decocass_sound_nmi_enable_r)
READ8_MEMBER(decocass_state::decocass_sound_data_ack_reset_r)
{
UINT8 data = 0xff;
- LOG(2,("CPU %s sound ack rst <- $%02x\n", space.device().tag(), data));
+ LOG(2,("CPU %s sound ack rst <- $%02x\n", space.device().tag().c_str(), data));
m_sound_ack &= ~0x40;
return data;
}
WRITE8_MEMBER(decocass_state::decocass_sound_data_ack_reset_w)
{
- LOG(2,("CPU %s sound ack rst -> $%02x\n", space.device().tag(), data));
+ LOG(2,("CPU %s sound ack rst -> $%02x\n", space.device().tag().c_str(), data));
m_sound_ack &= ~0x40;
}
diff --git a/src/mame/machine/decocass_tape.cpp b/src/mame/machine/decocass_tape.cpp
index 8b3f2785032..9ee10e8095e 100644
--- a/src/mame/machine/decocass_tape.cpp
+++ b/src/mame/machine/decocass_tape.cpp
@@ -58,7 +58,7 @@ static UINT16 tape_crc16_byte(UINT16 crc, UINT8 data);
const device_type DECOCASS_TAPE = &device_creator<decocass_tape_device>;
-decocass_tape_device::decocass_tape_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+decocass_tape_device::decocass_tape_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DECOCASS_TAPE, "DECO Cassette Tape", tag, owner, clock, "decocass_tape", __FILE__),
m_tape_timer(nullptr),
m_speed(0),
diff --git a/src/mame/machine/decocass_tape.h b/src/mame/machine/decocass_tape.h
index 0b4909f34bd..fc6b63ff387 100644
--- a/src/mame/machine/decocass_tape.h
+++ b/src/mame/machine/decocass_tape.h
@@ -6,7 +6,7 @@
class decocass_tape_device : public device_t
{
public:
- decocass_tape_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ decocass_tape_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~decocass_tape_device() {}
UINT8 get_status_bits();
diff --git a/src/mame/machine/decocpu6.cpp b/src/mame/machine/decocpu6.cpp
index 957c602976f..aba8321a08b 100644
--- a/src/mame/machine/decocpu6.cpp
+++ b/src/mame/machine/decocpu6.cpp
@@ -8,7 +8,7 @@
#include "decocpu6.h"
-deco_cpu6_device::deco_cpu6_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+deco_cpu6_device::deco_cpu6_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
m6502_device(mconfig, DECO_CPU6, "DECO CPU-6", tag, owner, clock, "decocpu6", __FILE__)
{
}
diff --git a/src/mame/machine/decocpu6.h b/src/mame/machine/decocpu6.h
index 27279a6cbe1..77b8924061c 100644
--- a/src/mame/machine/decocpu6.h
+++ b/src/mame/machine/decocpu6.h
@@ -7,7 +7,7 @@
class deco_cpu6_device : public m6502_device {
public:
- deco_cpu6_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ deco_cpu6_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
class mi_decrypt : public mi_default_normal {
diff --git a/src/mame/machine/decocpu7.cpp b/src/mame/machine/decocpu7.cpp
index dc6bb85dff8..511d5d0d080 100644
--- a/src/mame/machine/decocpu7.cpp
+++ b/src/mame/machine/decocpu7.cpp
@@ -3,7 +3,7 @@
#include "decocpu7.h"
-deco_cpu7_device::deco_cpu7_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+deco_cpu7_device::deco_cpu7_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
m6502_device(mconfig, DECO_CPU7, "DECO CPU-7", tag, owner, clock, "decocpu7", __FILE__)
{
}
diff --git a/src/mame/machine/decocpu7.h b/src/mame/machine/decocpu7.h
index 2f2490ed46c..167560ba065 100644
--- a/src/mame/machine/decocpu7.h
+++ b/src/mame/machine/decocpu7.h
@@ -6,7 +6,7 @@
class deco_cpu7_device : public m6502_device {
public:
- deco_cpu7_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ deco_cpu7_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
class mi_decrypt : public mi_default_normal {
diff --git a/src/mame/machine/decocrpt.cpp b/src/mame/machine/decocrpt.cpp
index dc31db80fdf..758bb8dfd2a 100644
--- a/src/mame/machine/decocrpt.cpp
+++ b/src/mame/machine/decocrpt.cpp
@@ -600,7 +600,7 @@ static const UINT8 deco74_swap_table[0x800] =
4,7,2,2,1,3,4,4,1,7,0,2,5,4,7,3,7,6,1,5,6,0,7,4,1,1,5,2,2,6,7,2,
};
-static void deco_decrypt(running_machine &machine,const char *rgntag,const UINT8 *xor_table,const UINT16 *address_table,const UINT8 *swap_table,int remap_only)
+static void deco_decrypt(running_machine &machine,std::string rgntag,const UINT8 *xor_table,const UINT16 *address_table,const UINT8 *swap_table,int remap_only)
{
UINT16 *rom = (UINT16 *)machine.root_device().memregion(rgntag)->base();
int len = machine.root_device().memregion(rgntag)->bytes()/2;
@@ -647,17 +647,17 @@ static void deco_decrypt(running_machine &machine,const char *rgntag,const UINT8
rom[i] = BIG_ENDIANIZE_INT16(rom[i]);
}
-void deco56_decrypt_gfx(running_machine &machine, const char *tag)
+void deco56_decrypt_gfx(running_machine &machine, std::string tag)
{
deco_decrypt(machine,tag,deco56_xor_table,deco56_address_table,deco56_swap_table, 0);
}
-void deco74_decrypt_gfx(running_machine &machine, const char *tag)
+void deco74_decrypt_gfx(running_machine &machine, std::string tag)
{
deco_decrypt(machine,tag,deco74_xor_table,deco74_address_table,deco74_swap_table, 0);
}
-void deco56_remap_gfx(running_machine &machine, const char *tag)
+void deco56_remap_gfx(running_machine &machine, std::string tag)
{
// Apply address remap, but not XOR/shift
deco_decrypt(machine,tag,deco56_xor_table,deco56_address_table,deco56_swap_table, 1);
diff --git a/src/mame/machine/decopincpu.cpp b/src/mame/machine/decopincpu.cpp
index 4e748670071..ef15c5cc624 100644
--- a/src/mame/machine/decopincpu.cpp
+++ b/src/mame/machine/decopincpu.cpp
@@ -262,7 +262,7 @@ ioport_constructor decocpu_type1_device::device_input_ports() const
return INPUT_PORTS_NAME( decocpu1 );
}
-decocpu_type1_device::decocpu_type1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+decocpu_type1_device::decocpu_type1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DECOCPU1, "Data East Pinball CPU Board Type 1", tag, owner, clock, "decocpu1", __FILE__),
m_cpu(*this,"maincpu"),
m_pia21(*this, "pia21"),
@@ -281,7 +281,7 @@ decocpu_type1_device::decocpu_type1_device(const machine_config &mconfig, const
m_write_solenoid(*this)
{}
-decocpu_type1_device::decocpu_type1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+decocpu_type1_device::decocpu_type1_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
m_cpu(*this,"maincpu"),
m_pia21(*this, "pia21"),
@@ -321,17 +321,17 @@ void decocpu_type1_device::device_start()
m_cpu->space(AS_PROGRAM).install_rom(0x4000,0xffff,ROM+0x4000);
}
-void decocpu_type1_device::static_set_cpuregion(device_t &device, const char *tag)
+void decocpu_type1_device::static_set_cpuregion(device_t &device, std::string tag)
{
decocpu_type1_device &cpuboard = downcast<decocpu_type1_device &>(device);
cpuboard.m_cputag = tag;
}
-decocpu_type2_device::decocpu_type2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+decocpu_type2_device::decocpu_type2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: decocpu_type1_device(mconfig, DECOCPU2, "Data East Pinball CPU Board Type 2", tag, owner, clock, "decocpu2", __FILE__)
{}
-decocpu_type2_device::decocpu_type2_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+decocpu_type2_device::decocpu_type2_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: decocpu_type1_device(mconfig, type, name, tag, owner, clock, shortname, source)
{}
@@ -345,11 +345,11 @@ void decocpu_type2_device::device_start()
decocpu_type1_device::device_start();
}
-decocpu_type3_device::decocpu_type3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+decocpu_type3_device::decocpu_type3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: decocpu_type2_device(mconfig, DECOCPU3, "Data East Pinball CPU Board Type 3", tag, owner, clock, "decocpu3", __FILE__)
{}
-decocpu_type3_device::decocpu_type3_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+decocpu_type3_device::decocpu_type3_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: decocpu_type2_device(mconfig, type, name, tag, owner, clock, shortname, source)
{}
@@ -358,7 +358,7 @@ void decocpu_type3_device::device_start()
decocpu_type1_device::device_start();
}
-decocpu_type3b_device::decocpu_type3b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+decocpu_type3b_device::decocpu_type3b_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: decocpu_type3_device(mconfig, DECOCPU3, "Data East Pinball CPU Board Type 3B", tag, owner, clock, "decocpu3b", __FILE__)
{}
diff --git a/src/mame/machine/decopincpu.h b/src/mame/machine/decopincpu.h
index 7a8264e8508..62990faa210 100644
--- a/src/mame/machine/decopincpu.h
+++ b/src/mame/machine/decopincpu.h
@@ -64,8 +64,8 @@
class decocpu_type1_device : public device_t
{
public:
- decocpu_type1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- decocpu_type1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ decocpu_type1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ decocpu_type1_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
required_device<cpu_device> m_cpu;
required_device<pia6821_device> m_pia21;
required_device<pia6821_device> m_pia24;
@@ -104,7 +104,7 @@ public:
INPUT_CHANGED_MEMBER(main_nmi);
INPUT_CHANGED_MEMBER(audio_nmi);
- static void static_set_cpuregion(device_t &device, const char *tag);
+ static void static_set_cpuregion(device_t &device, std::string tag);
protected:
// overrides
@@ -115,7 +115,7 @@ protected:
static const device_timer_id TIMER_IRQ = 0;
private:
- const char* m_cputag; // region for cpu board code and data
+ std::string m_cputag; // region for cpu board code and data
emu_timer* m_irq_timer;
bool m_irq_active;
bool m_ca2;
@@ -134,8 +134,8 @@ private:
class decocpu_type2_device : public decocpu_type1_device
{
public:
- decocpu_type2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- decocpu_type2_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ decocpu_type2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ decocpu_type2_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
protected:
// overrides
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -145,8 +145,8 @@ protected:
class decocpu_type3_device : public decocpu_type2_device
{
public:
- decocpu_type3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- decocpu_type3_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ decocpu_type3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ decocpu_type3_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
protected:
// overrides
@@ -156,7 +156,7 @@ protected:
class decocpu_type3b_device : public decocpu_type3_device
{
public:
- decocpu_type3b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ decocpu_type3b_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// overrides
diff --git a/src/mame/machine/dmv_keyb.cpp b/src/mame/machine/dmv_keyb.cpp
index 1fe0f2f8f43..b0e139048f1 100644
--- a/src/mame/machine/dmv_keyb.cpp
+++ b/src/mame/machine/dmv_keyb.cpp
@@ -207,7 +207,7 @@ ioport_constructor dmv_keyboard_device::device_input_ports() const
// dmv_keyboard_device - constructor
//-------------------------------------------------
-dmv_keyboard_device::dmv_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+dmv_keyboard_device::dmv_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DMV_KEYBOARD, "Decision Mate V Keyboard", tag, owner, clock, "dmv_keyboard", __FILE__),
m_maincpu(*this, "mcu"),
m_keyboard(*this, "COL")
diff --git a/src/mame/machine/dmv_keyb.h b/src/mame/machine/dmv_keyb.h
index 0f42fef728a..870f911dad6 100644
--- a/src/mame/machine/dmv_keyb.h
+++ b/src/mame/machine/dmv_keyb.h
@@ -34,7 +34,7 @@ class dmv_keyboard_device : public device_t
{
public:
// construction/destruction
- dmv_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ dmv_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual const rom_entry *device_rom_region() const override;
diff --git a/src/mame/machine/docg3.cpp b/src/mame/machine/docg3.cpp
index 1d6fee6c0c6..2303ee3fb27 100644
--- a/src/mame/machine/docg3.cpp
+++ b/src/mame/machine/docg3.cpp
@@ -38,7 +38,7 @@ const device_type DISKONCHIP_G3 = &device_creator<diskonchip_g3_device>;
// diskonchip_g3_device - constructor
//-------------------------------------------------
-diskonchip_g3_device::diskonchip_g3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+diskonchip_g3_device::diskonchip_g3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DISKONCHIP_G3, "DiskOnChip G3", tag, owner, clock, "diskonchip_g3", __FILE__),
device_nvram_interface(mconfig, *this)
{
diff --git a/src/mame/machine/docg3.h b/src/mame/machine/docg3.h
index 36423f12641..7703c9acfd9 100644
--- a/src/mame/machine/docg3.h
+++ b/src/mame/machine/docg3.h
@@ -22,7 +22,7 @@ class diskonchip_g3_device : public device_t,
{
public:
// construction/destruction
- diskonchip_g3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ diskonchip_g3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void set_size(int _size) { m_size = _size; }
protected:
diff --git a/src/mame/machine/egret.cpp b/src/mame/machine/egret.cpp
index 736cdfd3471..ff7050ab926 100644
--- a/src/mame/machine/egret.cpp
+++ b/src/mame/machine/egret.cpp
@@ -333,7 +333,7 @@ WRITE8_MEMBER( egret_device::pram_w )
// egret_device - constructor
//-------------------------------------------------
-egret_device::egret_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+egret_device::egret_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, EGRET, "Apple Egret", tag, owner, clock, "egret", __FILE__),
device_nvram_interface(mconfig, *this),
write_reset(*this),
diff --git a/src/mame/machine/egret.h b/src/mame/machine/egret.h
index f9b881cd540..b39826712e2 100644
--- a/src/mame/machine/egret.h
+++ b/src/mame/machine/egret.h
@@ -59,7 +59,7 @@ class egret_device : public device_t, public device_nvram_interface
{
public:
// construction/destruction
- egret_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ egret_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// inline configuration helpers
static void static_set_type(device_t &device, int type);
diff --git a/src/mame/machine/einstein.cpp b/src/mame/machine/einstein.cpp
index a2582ee93e3..727fbdff0ae 100644
--- a/src/mame/machine/einstein.cpp
+++ b/src/mame/machine/einstein.cpp
@@ -26,7 +26,7 @@ const device_type EINSTEIN_KEYBOARD_DAISY = &device_creator<einstein_keyboard_da
// z80ctc_device - constructor
//-------------------------------------------------
-einstein_keyboard_daisy_device::einstein_keyboard_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+einstein_keyboard_daisy_device::einstein_keyboard_daisy_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, EINSTEIN_KEYBOARD_DAISY, "Einstein keyboard daisy chain", tag, owner, clock, "einstein_keyboard", __FILE__),
device_z80daisy_interface(mconfig, *this)
{
@@ -89,7 +89,7 @@ const device_type EINSTEIN_ADC_DAISY = &device_creator<einstein_adc_daisy_device
// z80ctc_device - constructor
//-------------------------------------------------
-einstein_adc_daisy_device::einstein_adc_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+einstein_adc_daisy_device::einstein_adc_daisy_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, EINSTEIN_ADC_DAISY, "Einstein ADC daisy chain", tag, owner, clock, "einstein_adc_daisy", __FILE__),
device_z80daisy_interface(mconfig, *this)
{
@@ -154,7 +154,7 @@ const device_type EINSTEIN_FIRE_DAISY = &device_creator<einstein_fire_daisy_devi
// z80ctc_device - constructor
//-------------------------------------------------
-einstein_fire_daisy_device::einstein_fire_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+einstein_fire_daisy_device::einstein_fire_daisy_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, EINSTEIN_FIRE_DAISY, "Einstein fire button daisy chain", tag, owner, clock, "einstein_fire_daisy", __FILE__),
device_z80daisy_interface(mconfig, *this)
{
diff --git a/src/mame/machine/esqpanel.cpp b/src/mame/machine/esqpanel.cpp
index 1c4dee54248..87f86820f97 100644
--- a/src/mame/machine/esqpanel.cpp
+++ b/src/mame/machine/esqpanel.cpp
@@ -26,7 +26,7 @@ const device_type ESQPANEL2x40_SQ1 = &device_creator<esqpanel2x40_sq1_device>;
// esqpanel_device - constructor
//-------------------------------------------------
-esqpanel_device::esqpanel_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
+esqpanel_device::esqpanel_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_serial_interface(mconfig, *this),
m_write_tx(*this),
@@ -209,7 +209,7 @@ machine_config_constructor esqpanel1x22_device::device_mconfig_additions() const
return MACHINE_CONFIG_NAME( esqpanel1x22 );
}
-esqpanel1x22_device::esqpanel1x22_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+esqpanel1x22_device::esqpanel1x22_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
esqpanel_device(mconfig, ESQPANEL1x22, "Ensoniq front panel with 1x22 VFD", tag, owner, clock, "esqpanel122", __FILE__),
m_vfd(*this, "vfd")
{
@@ -227,7 +227,7 @@ machine_config_constructor esqpanel2x40_device::device_mconfig_additions() const
return MACHINE_CONFIG_NAME( esqpanel2x40 );
}
-esqpanel2x40_device::esqpanel2x40_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+esqpanel2x40_device::esqpanel2x40_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
esqpanel_device(mconfig, ESQPANEL2x40, "Ensoniq front panel with 2x40 VFD", tag, owner, clock, "esqpanel240", __FILE__),
m_vfd(*this, "vfd")
{
@@ -245,7 +245,7 @@ machine_config_constructor esqpanel2x40_sq1_device::device_mconfig_additions() c
return MACHINE_CONFIG_NAME( esqpanel2x40_sq1 );
}
-esqpanel2x40_sq1_device::esqpanel2x40_sq1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+esqpanel2x40_sq1_device::esqpanel2x40_sq1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
esqpanel_device(mconfig, ESQPANEL2x40, "Ensoniq front panel with 2x16 LCD", tag, owner, clock, "esqpanel240_sq1", __FILE__),
m_vfd(*this, "vfd")
{
diff --git a/src/mame/machine/esqpanel.h b/src/mame/machine/esqpanel.h
index 5de704f1375..40117250346 100644
--- a/src/mame/machine/esqpanel.h
+++ b/src/mame/machine/esqpanel.h
@@ -55,7 +55,7 @@ class esqpanel_device : public device_t, public device_serial_interface
{
public:
// construction/destruction
- esqpanel_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ esqpanel_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
template<class _Object> static devcb_base &set_tx_wr_callback(device_t &device, _Object object) { return downcast<esqpanel_device &>(device).m_write_tx.set_callback(object); }
template<class _Object> static devcb_base &set_analog_wr_callback(device_t &device, _Object object) { return downcast<esqpanel_device &>(device).m_write_analog.set_callback(object); }
@@ -93,7 +93,7 @@ private:
class esqpanel1x22_device : public esqpanel_device {
public:
- esqpanel1x22_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ esqpanel1x22_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
required_device<esq1x22_t> m_vfd;
@@ -107,7 +107,7 @@ private:
class esqpanel2x40_device : public esqpanel_device {
public:
- esqpanel2x40_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ esqpanel2x40_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
required_device<esq2x40_t> m_vfd;
@@ -121,7 +121,7 @@ private:
class esqpanel2x40_sq1_device : public esqpanel_device {
public:
- esqpanel2x40_sq1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ esqpanel2x40_sq1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
required_device<esq2x40_sq1_t> m_vfd;
diff --git a/src/mame/machine/esqvfd.cpp b/src/mame/machine/esqvfd.cpp
index a1379238673..d07b9d0394e 100644
--- a/src/mame/machine/esqvfd.cpp
+++ b/src/mame/machine/esqvfd.cpp
@@ -114,7 +114,7 @@ static const UINT16 font[]=
0x0000, // 0000 0000 0000 0000 (DEL)
};
-esqvfd_t::esqvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
+esqvfd_t::esqvfd_t(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source)
{
}
@@ -279,7 +279,7 @@ void esq2x40_t::write_char(int data)
update_display();
}
-esq2x40_t::esq2x40_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ2x40, "Ensoniq 2x40 VFD", tag, owner, clock, "esq2x40", __FILE__)
+esq2x40_t::esq2x40_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ2x40, "Ensoniq 2x40 VFD", tag, owner, clock, "esq2x40", __FILE__)
{
m_rows = 2;
m_cols = 40;
@@ -332,7 +332,7 @@ void esq1x22_t::write_char(int data)
update_display();
}
-esq1x22_t::esq1x22_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ1x22, "Ensoniq 1x22 VFD", tag, owner, clock, "esq1x22", __FILE__)
+esq1x22_t::esq1x22_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ1x22, "Ensoniq 1x22 VFD", tag, owner, clock, "esq1x22", __FILE__)
{
m_rows = 1;
m_cols = 22;
@@ -396,7 +396,7 @@ void esq2x40_sq1_t::write_char(int data)
}
}
-esq2x40_sq1_t::esq2x40_sq1_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ2x40_SQ1, "Ensoniq 2x40 VFD (SQ-1 variant)", tag, owner, clock, "esq2x40_sq1", __FILE__)
+esq2x40_sq1_t::esq2x40_sq1_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ2x40_SQ1, "Ensoniq 2x40 VFD (SQ-1 variant)", tag, owner, clock, "esq2x40_sq1", __FILE__)
{
m_rows = 2;
m_cols = 40;
diff --git a/src/mame/machine/esqvfd.h b/src/mame/machine/esqvfd.h
index 174ea5157d7..4d1bb68b70f 100644
--- a/src/mame/machine/esqvfd.h
+++ b/src/mame/machine/esqvfd.h
@@ -25,7 +25,7 @@
class esqvfd_t : public device_t {
public:
- esqvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ esqvfd_t(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
DECLARE_WRITE8_MEMBER( write ) { write_char(data); }
@@ -57,7 +57,7 @@ protected:
class esq1x22_t : public esqvfd_t {
public:
- esq1x22_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ esq1x22_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual void write_char(int data) override;
@@ -69,7 +69,7 @@ private:
class esq2x40_t : public esqvfd_t {
public:
- esq2x40_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ esq2x40_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual void write_char(int data) override;
@@ -81,7 +81,7 @@ private:
class esq2x40_sq1_t : public esqvfd_t {
public:
- esq2x40_sq1_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ esq2x40_sq1_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual void write_char(int data) override;
diff --git a/src/mame/machine/fd1089.cpp b/src/mame/machine/fd1089.cpp
index 5f8df8b0b3d..4c4f2b399bd 100644
--- a/src/mame/machine/fd1089.cpp
+++ b/src/mame/machine/fd1089.cpp
@@ -221,7 +221,7 @@ ADDRESS_MAP_END
// fd1089_base_device - constructor
//-------------------------------------------------
-fd1089_base_device::fd1089_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+fd1089_base_device::fd1089_base_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: m68000_device(mconfig, tag, owner, clock, shortname, source),
m_decrypted_opcodes(*this, ":fd1089_decrypted_opcodes")
{
@@ -232,12 +232,12 @@ fd1089_base_device::fd1089_base_device(const machine_config &mconfig, device_typ
m_address_map[AS_DECRYPTED_OPCODES] = ADDRESS_MAP_NAME(decrypted_opcodes_map);
}
-fd1089a_device::fd1089a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+fd1089a_device::fd1089a_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: fd1089_base_device(mconfig, FD1089A, "FD1089A", tag, owner, clock, "fd1089a", __FILE__)
{
}
-fd1089b_device::fd1089b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+fd1089b_device::fd1089b_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: fd1089_base_device(mconfig, FD1089B, "FD1089B", tag, owner, clock, "fd1089b", __FILE__)
{
}
diff --git a/src/mame/machine/fd1089.h b/src/mame/machine/fd1089.h
index 71fcc361d7a..7bb12936db6 100644
--- a/src/mame/machine/fd1089.h
+++ b/src/mame/machine/fd1089.h
@@ -39,7 +39,7 @@ class fd1089_base_device : public m68000_device
{
public:
// construction/destruction
- fd1089_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ fd1089_base_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
// explicit decryption helpers
void decrypt(offs_t baseaddr, UINT32 size, offs_t regionoffs, UINT16 *opcodesptr, UINT16 *dataptr) { decrypt(baseaddr, size, &m_plaintext[regionoffs/2], opcodesptr, dataptr); }
@@ -80,7 +80,7 @@ class fd1089a_device : public fd1089_base_device
{
public:
// construction/destruction
- fd1089a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ fd1089a_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual UINT8 decode(UINT8 val, UINT8 key, bool opcode) override;
@@ -94,7 +94,7 @@ class fd1089b_device : public fd1089_base_device
{
public:
// construction/destruction
- fd1089b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ fd1089b_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual UINT8 decode(UINT8 val, UINT8 key, bool opcode) override;
diff --git a/src/mame/machine/fd1094.cpp b/src/mame/machine/fd1094.cpp
index 9dc3009cd31..81624767864 100644
--- a/src/mame/machine/fd1094.cpp
+++ b/src/mame/machine/fd1094.cpp
@@ -552,7 +552,7 @@ UINT16 *fd1094_decryption_cache::decrypted_opcodes(UINT8 state)
//-------------------------------------------------
-fd1094_device::fd1094_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+fd1094_device::fd1094_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: m68000_device(mconfig, tag, owner, clock, "fd1094", __FILE__),
m_decrypted_opcodes_bank(*this, "^fd1094_decrypted_opcodes"),
m_state(0x00),
diff --git a/src/mame/machine/fd1094.h b/src/mame/machine/fd1094.h
index 737f3b81e1c..92d6f2b2730 100644
--- a/src/mame/machine/fd1094.h
+++ b/src/mame/machine/fd1094.h
@@ -69,7 +69,7 @@ public:
typedef delegate<void (UINT8)> state_change_delegate;
// construction/destruction
- fd1094_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ fd1094_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// explicit decryption helpers
void decrypt(offs_t baseaddr, UINT32 size, offs_t regionoffs, UINT16 *opcodesptr, UINT8 state) { decrypt(baseaddr, size, m_srcbase + regionoffs/2, opcodesptr, state); }
diff --git a/src/mame/machine/fm_scsi.cpp b/src/mame/machine/fm_scsi.cpp
index a63795db0c2..bbb985c1541 100644
--- a/src/mame/machine/fm_scsi.cpp
+++ b/src/mame/machine/fm_scsi.cpp
@@ -38,7 +38,7 @@ const device_type FMSCSI = &device_creator<fmscsi_device>;
* Device
*/
-fmscsi_device::fmscsi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+fmscsi_device::fmscsi_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: legacy_scsi_host_adapter(mconfig, FMSCSI, "FM-SCSI", tag, owner, clock, "fmscsi", __FILE__),
m_irq_handler(*this),
m_drq_handler(*this)
diff --git a/src/mame/machine/fm_scsi.h b/src/mame/machine/fm_scsi.h
index cc7c1ab1fc8..46bb59a37dc 100644
--- a/src/mame/machine/fm_scsi.h
+++ b/src/mame/machine/fm_scsi.h
@@ -44,7 +44,7 @@ class fmscsi_device : public legacy_scsi_host_adapter
{
public:
// construction/destruction
- fmscsi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ fmscsi_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration helpers
template<class _Object> static devcb_base &set_irq_handler(device_t &device, _Object object) { return downcast<fmscsi_device &>(device).m_irq_handler.set_callback(object); }
diff --git a/src/mame/machine/gaelco3d.cpp b/src/mame/machine/gaelco3d.cpp
index d4f9c58383a..48ba74e7637 100644
--- a/src/mame/machine/gaelco3d.cpp
+++ b/src/mame/machine/gaelco3d.cpp
@@ -186,7 +186,7 @@ static void buf_reset(buf_t *buf)
const device_type GAELCO_SERIAL = &device_creator<gaelco_serial_device>;
-gaelco_serial_device::gaelco_serial_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gaelco_serial_device::gaelco_serial_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GAELCO_SERIAL, "Gaelco 3D Serial Hardware", tag, owner, clock, "gaelco_serial", __FILE__),
m_irq_handler(*this),
m_status(0),
@@ -207,7 +207,7 @@ gaelco_serial_device::gaelco_serial_device(const machine_config &mconfig, const
void gaelco_serial_device::device_start()
{
/* validate arguments */
- assert(strlen(tag()) < 20);
+ assert(tag().length() < 20);
m_irq_handler.resolve_safe();
m_sync_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gaelco_serial_device::link_cb), this));
diff --git a/src/mame/machine/gaelco3d.h b/src/mame/machine/gaelco3d.h
index 36ab65082f1..4ce06668b5a 100644
--- a/src/mame/machine/gaelco3d.h
+++ b/src/mame/machine/gaelco3d.h
@@ -62,7 +62,7 @@ struct osd_shared_mem
class gaelco_serial_device : public device_t
{
public:
- gaelco_serial_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ gaelco_serial_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~gaelco_serial_device() {}
template<class _Object> static devcb_base &set_irq_handler(device_t &device, _Object object) { return downcast<gaelco_serial_device &>(device).m_irq_handler.set_callback(object); }
diff --git a/src/mame/machine/gdrom.cpp b/src/mame/machine/gdrom.cpp
index 5aead47aae1..87ed9f47e08 100644
--- a/src/mame/machine/gdrom.cpp
+++ b/src/mame/machine/gdrom.cpp
@@ -435,7 +435,7 @@ void gdrom_device::WriteData( UINT8 *data, int dataLength )
// device type definition
const device_type GDROM = &device_creator<gdrom_device>;
-gdrom_device::gdrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+gdrom_device::gdrom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
atapi_cdrom_device(mconfig, GDROM, "GDROM", tag, owner, clock, "gdrom", __FILE__)
{
}
diff --git a/src/mame/machine/gdrom.h b/src/mame/machine/gdrom.h
index f96a5fcea28..f1090ef292b 100644
--- a/src/mame/machine/gdrom.h
+++ b/src/mame/machine/gdrom.h
@@ -14,7 +14,7 @@
class gdrom_device : public atapi_cdrom_device
{
public:
- gdrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ gdrom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// Sega GD-ROM handler
diff --git a/src/mame/machine/genpc.cpp b/src/mame/machine/genpc.cpp
index 44dbcd00d20..0af77b30cda 100644
--- a/src/mame/machine/genpc.cpp
+++ b/src/mame/machine/genpc.cpp
@@ -500,7 +500,7 @@ ioport_constructor ibm5160_mb_device::device_input_ports() const
}
-void ibm5160_mb_device::static_set_cputag(device_t &device, const char *tag)
+void ibm5160_mb_device::static_set_cputag(device_t &device, std::string tag)
{
ibm5160_mb_device &board = downcast<ibm5160_mb_device &>(device);
board.m_cputag = tag;
@@ -514,7 +514,7 @@ void ibm5160_mb_device::static_set_cputag(device_t &device, const char *tag)
// ibm5160_mb_device - constructor
//-------------------------------------------------
-ibm5160_mb_device::ibm5160_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ibm5160_mb_device::ibm5160_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, IBM5160_MOTHERBOARD, "IBM5160_MOTHERBOARD", tag, owner, clock, "ibm5160_mb", __FILE__),
m_maincpu(*owner, "maincpu"),
m_pic8259(*this, "pic8259"),
@@ -630,7 +630,7 @@ machine_config_constructor ibm5150_mb_device::device_mconfig_additions() const
// ibm5150_mb_device - constructor
//-------------------------------------------------
-ibm5150_mb_device::ibm5150_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ibm5150_mb_device::ibm5150_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: ibm5160_mb_device(mconfig, tag, owner, clock),
m_cassette(*this, "cassette")
{
@@ -850,7 +850,7 @@ ioport_constructor ec1841_mb_device::device_input_ports() const
// ec1841_mb_device - constructor
//-------------------------------------------------
-ec1841_mb_device::ec1841_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ec1841_mb_device::ec1841_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: ibm5160_mb_device(mconfig, tag, owner, clock)
{
}
@@ -905,7 +905,7 @@ READ8_MEMBER ( ec1841_mb_device::pc_ppi_portc_r )
return data;
}
-pc_noppi_mb_device::pc_noppi_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pc_noppi_mb_device::pc_noppi_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: ibm5160_mb_device(mconfig, tag, owner, clock)
{
}
diff --git a/src/mame/machine/genpin.h b/src/mame/machine/genpin.h
index 5b72d09ff53..2c072c04710 100644
--- a/src/mame/machine/genpin.h
+++ b/src/mame/machine/genpin.h
@@ -39,7 +39,7 @@ MACHINE_CONFIG_EXTERN( genpin_audio );
class genpin_class : public driver_device
{
public:
- genpin_class(const machine_config &mconfig, device_type type, const char *tag)
+ genpin_class(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag)
, m_samples(*this, "samples")
{ }
diff --git a/src/mame/machine/hp48.cpp b/src/mame/machine/hp48.cpp
index 71bb4b656ff..0f25fb9ed86 100644
--- a/src/mame/machine/hp48.cpp
+++ b/src/mame/machine/hp48.cpp
@@ -921,7 +921,7 @@ void hp48_port_image_device::hp48_fill_port()
{
hp48_state *state = machine().driver_data<hp48_state>();
int size = state->m_port_size[m_port];
- LOG(( "hp48_fill_port: %s module=%i size=%i rw=%i\n", tag(), m_module, size, state->m_port_write[m_port] ));
+ LOG(( "hp48_fill_port: %s module=%i size=%i rw=%i\n", tag().c_str(), m_module, size, state->m_port_write[m_port] ));
state->m_port_data[m_port] = make_unique_clear<UINT8[]>(2 * size);
state->m_modules[m_module].off_mask = 2 * (( size > 128 * 1024 ) ? 128 * 1024 : size) - 1;
state->m_modules[m_module].read = read8_delegate();
@@ -955,7 +955,7 @@ bool hp48_port_image_device::call_load()
/* check size */
if ( (size < 32*1024) || (size > m_max_size) || (size & (size-1)) )
{
- logerror( "hp48: image size for %s should be a power of two between %i and %i\n", tag(), 32*1024, m_max_size );
+ logerror( "hp48: image size for %s should be a power of two between %i and %i\n", tag().c_str(), 32*1024, m_max_size );
return IMAGE_INIT_FAIL;
}
@@ -978,7 +978,7 @@ bool hp48_port_image_device::call_create(int format_type, option_resolution *for
/* size must be a power of 2 between 32K and max_size */
if ( (size < 32*1024) || (size > m_max_size) || (size & (size-1)) )
{
- logerror( "hp48: image size for %s should be a power of two between %i and %i\n", tag(), 32*1024, m_max_size );
+ logerror( "hp48: image size for %s should be a power of two between %i and %i\n", tag().c_str(), 32*1024, m_max_size );
return IMAGE_INIT_FAIL;
}
@@ -992,7 +992,7 @@ void hp48_port_image_device::call_unload()
{
hp48_state *state = machine().driver_data<hp48_state>();
LOG(( "hp48_port image unload: %s size=%i rw=%i\n",
- tag(), state->m_port_size[m_port], state->m_port_write[m_port] ));
+ tag().c_str(), state->m_port_size[m_port], state->m_port_write[m_port] ));
if ( state->m_port_write[m_port] )
{
state->hp48_encode_nibble( state->m_port_data[m_port].get(), state->m_port_data[m_port].get(), state->m_port_size[m_port] );
@@ -1010,7 +1010,7 @@ void hp48_port_image_device::device_start()
hp48_unfill_port();
}
-hp48_port_image_device::hp48_port_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+hp48_port_image_device::hp48_port_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, HP48_PORT, "HP48 memory card", tag, owner, clock, "hp48_port_image", __FILE__),
device_image_interface(mconfig, *this)
{
diff --git a/src/mame/machine/ie15_kbd.cpp b/src/mame/machine/ie15_kbd.cpp
index f98eb316092..478df314d42 100644
--- a/src/mame/machine/ie15_kbd.cpp
+++ b/src/mame/machine/ie15_kbd.cpp
@@ -14,7 +14,7 @@
***************************************************************************/
-ie15_keyboard_device::ie15_keyboard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+ie15_keyboard_device::ie15_keyboard_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source)
, m_io_kbd0(*this, "TERM_LINE0")
, m_io_kbd1(*this, "TERM_LINE1")
@@ -25,7 +25,7 @@ ie15_keyboard_device::ie15_keyboard_device(const machine_config &mconfig, device
{
}
-ie15_keyboard_device::ie15_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ie15_keyboard_device::ie15_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, IE15_KEYBOARD, "15WWW-97-006 Keyboard", tag, owner, clock, "ie15_keyboard", __FILE__)
, m_io_kbd0(*this, "TERM_LINE0")
, m_io_kbd1(*this, "TERM_LINE1")
diff --git a/src/mame/machine/ie15_kbd.h b/src/mame/machine/ie15_kbd.h
index 42eca22403d..95d51775c85 100644
--- a/src/mame/machine/ie15_kbd.h
+++ b/src/mame/machine/ie15_kbd.h
@@ -42,8 +42,8 @@ class ie15_keyboard_device :
public device_t
{
public:
- ie15_keyboard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
- ie15_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ie15_keyboard_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ ie15_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_keyboard_callback(device_t &device, _Object object) { return downcast<ie15_keyboard_device &>(device).m_keyboard_cb.set_callback(object); }
diff --git a/src/mame/machine/igs022.cpp b/src/mame/machine/igs022.cpp
index 6a6e45b5c79..d4daf5c29a2 100644
--- a/src/mame/machine/igs022.cpp
+++ b/src/mame/machine/igs022.cpp
@@ -12,7 +12,7 @@
#include "igs022.h"
-igs022_device::igs022_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+igs022_device::igs022_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, IGS022, "IGS022", tag, owner, clock, "igs022", __FILE__)
{
}
diff --git a/src/mame/machine/igs022.h b/src/mame/machine/igs022.h
index 8b5ca3a8b62..851deece33c 100644
--- a/src/mame/machine/igs022.h
+++ b/src/mame/machine/igs022.h
@@ -6,7 +6,7 @@
class igs022_device : public device_t
{
public:
- igs022_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ igs022_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
UINT16* m_sharedprotram;
void IGS022_handle_command();
diff --git a/src/mame/machine/igs025.cpp b/src/mame/machine/igs025.cpp
index e7ac5803c58..e3eaa5c652c 100644
--- a/src/mame/machine/igs025.cpp
+++ b/src/mame/machine/igs025.cpp
@@ -16,7 +16,7 @@
#include "igs025.h"
-igs025_device::igs025_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+igs025_device::igs025_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, IGS025, "IGS025", tag, owner, clock, "igs_025_022", __FILE__)
{
m_execute_external = igs025_execute_external(FUNC(igs025_device::no_callback_setup), this);
diff --git a/src/mame/machine/igs025.h b/src/mame/machine/igs025.h
index aa57a2ac8fa..ff9e22e380f 100644
--- a/src/mame/machine/igs025.h
+++ b/src/mame/machine/igs025.h
@@ -13,7 +13,7 @@ typedef device_delegate<void (void)> igs025_execute_external;
class igs025_device : public device_t
{
public:
- igs025_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ igs025_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ16_MEMBER( killbld_igs025_prot_r );
// use setters instead of making public?
diff --git a/src/mame/machine/igs028.cpp b/src/mame/machine/igs028.cpp
index 5e71c2bff64..b5faf34e348 100644
--- a/src/mame/machine/igs028.cpp
+++ b/src/mame/machine/igs028.cpp
@@ -11,7 +11,7 @@
#include "igs028.h"
-igs028_device::igs028_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+igs028_device::igs028_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, IGS028, "IGS028", tag, owner, clock, "igs028", __FILE__)
{
}
diff --git a/src/mame/machine/igs028.h b/src/mame/machine/igs028.h
index 42269cabc0f..637a7beca9d 100644
--- a/src/mame/machine/igs028.h
+++ b/src/mame/machine/igs028.h
@@ -7,7 +7,7 @@
class igs028_device : public device_t
{
public:
- igs028_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ igs028_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
UINT16* m_sharedprotram;
diff --git a/src/mame/machine/inder_sb.cpp b/src/mame/machine/inder_sb.cpp
index bad2b30d279..649ca4893d3 100644
--- a/src/mame/machine/inder_sb.cpp
+++ b/src/mame/machine/inder_sb.cpp
@@ -11,7 +11,7 @@
extern const device_type INDER_AUDIO = &device_creator<inder_sb_device>;
-inder_sb_device::inder_sb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+inder_sb_device::inder_sb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, INDER_AUDIO, "Inder 4xDAC Sound Board", tag, owner, clock, "indersb", __FILE__),
device_mixer_interface(mconfig, *this, 2),
m_audiocpu(*this, "audiocpu"),
diff --git a/src/mame/machine/inder_sb.h b/src/mame/machine/inder_sb.h
index 83cf035c652..26f44367363 100644
--- a/src/mame/machine/inder_sb.h
+++ b/src/mame/machine/inder_sb.h
@@ -25,7 +25,7 @@ class inder_sb_device : public device_t,
{
public:
// construction/destruction
- inder_sb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ inder_sb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
required_device<cpu_device> m_audiocpu;
required_device<z80ctc_device> m_ctc;
diff --git a/src/mame/machine/inder_vid.cpp b/src/mame/machine/inder_vid.cpp
index 5d4ee0b79f9..f1e25b72bc9 100644
--- a/src/mame/machine/inder_vid.cpp
+++ b/src/mame/machine/inder_vid.cpp
@@ -13,7 +13,7 @@
extern const device_type INDER_VIDEO = &device_creator<inder_vid_device>;
-inder_vid_device::inder_vid_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+inder_vid_device::inder_vid_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, INDER_VIDEO, "Inder / Dinamic TMS Video", tag, owner, clock, "indervd", __FILE__),
/* device_video_interface(mconfig, *this, false), */
m_vram(*this, "vram"),
diff --git a/src/mame/machine/inder_vid.h b/src/mame/machine/inder_vid.h
index f8c850ed9c1..cb452f449f3 100644
--- a/src/mame/machine/inder_vid.h
+++ b/src/mame/machine/inder_vid.h
@@ -26,7 +26,7 @@ class inder_vid_device : public device_t
{
public:
// construction/destruction
- inder_vid_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ inder_vid_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
required_shared_ptr<UINT16> m_vram;
required_device<palette_device> m_palette;
diff --git a/src/mame/machine/isbc_215g.cpp b/src/mame/machine/isbc_215g.cpp
index e49818ee4d6..acec7caf154 100644
--- a/src/mame/machine/isbc_215g.cpp
+++ b/src/mame/machine/isbc_215g.cpp
@@ -10,7 +10,7 @@
const device_type ISBC_215G = &device_creator<isbc_215g_device>;
-isbc_215g_device::isbc_215g_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+isbc_215g_device::isbc_215g_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, ISBC_215G, "ISBC 215G Winchester Disk Controller", tag, owner, clock, "isbc_215g", __FILE__),
m_dmac(*this, "u84"),
m_hdd0(*this, "drive0"),
diff --git a/src/mame/machine/isbc_215g.h b/src/mame/machine/isbc_215g.h
index 86c795d0306..7b76bd4ae8d 100644
--- a/src/mame/machine/isbc_215g.h
+++ b/src/mame/machine/isbc_215g.h
@@ -12,7 +12,7 @@
class isbc_215g_device : public device_t
{
public:
- isbc_215g_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ isbc_215g_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual machine_config_constructor device_mconfig_additions() const override;
const rom_entry *device_rom_region() const override;
diff --git a/src/mame/machine/iteagle_fpga.cpp b/src/mame/machine/iteagle_fpga.cpp
index 9fa7cef6da8..1f00565118b 100644
--- a/src/mame/machine/iteagle_fpga.cpp
+++ b/src/mame/machine/iteagle_fpga.cpp
@@ -25,7 +25,7 @@ DEVICE_ADDRESS_MAP_START(ram_map, 32, iteagle_fpga_device)
AM_RANGE(0x00000, 0x1ffff) AM_READWRITE(ram_r, ram_w)
ADDRESS_MAP_END
-iteagle_fpga_device::iteagle_fpga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+iteagle_fpga_device::iteagle_fpga_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: pci_device(mconfig, ITEAGLE_FPGA, "ITEagle FPGA", tag, owner, clock, "iteagle_fpga", __FILE__),
device_nvram_interface(mconfig, *this), m_version(0), m_seq_init(0)
{
@@ -487,7 +487,7 @@ machine_config_constructor iteagle_eeprom_device::device_mconfig_additions() con
return MACHINE_CONFIG_NAME( iteagle_eeprom );
}
-iteagle_eeprom_device::iteagle_eeprom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+iteagle_eeprom_device::iteagle_eeprom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: pci_device(mconfig, ITEAGLE_EEPROM, "ITEagle EEPROM AT93C46", tag, owner, clock, "eeprom", __FILE__),
m_eeprom(*this, "eeprom"), m_sw_version(0)
{
@@ -612,7 +612,7 @@ machine_config_constructor iteagle_ide_device::device_mconfig_additions() const
return MACHINE_CONFIG_NAME( iteagle_ide );
}
-iteagle_ide_device::iteagle_ide_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+iteagle_ide_device::iteagle_ide_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: pci_device(mconfig, ITEAGLE_IDE, "ITEagle IDE Controller", tag, owner, clock, "ide", __FILE__),
m_ide(*this, "ide"),
m_ide2(*this, "ide2"),
@@ -620,7 +620,7 @@ iteagle_ide_device::iteagle_ide_device(const machine_config &mconfig, const char
{
}
-void iteagle_ide_device::set_irq_info(const char *tag, const int irq_num)
+void iteagle_ide_device::set_irq_info(std::string tag, const int irq_num)
{
m_cpu_tag = tag;
m_irq_num = irq_num;
diff --git a/src/mame/machine/iteagle_fpga.h b/src/mame/machine/iteagle_fpga.h
index 5d150e66116..66d871040f5 100644
--- a/src/mame/machine/iteagle_fpga.h
+++ b/src/mame/machine/iteagle_fpga.h
@@ -34,9 +34,9 @@ class iteagle_fpga_device : public pci_device,
public device_nvram_interface
{
public:
- iteagle_fpga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ iteagle_fpga_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void set_init_info(int version, int seq_init) {m_version=version; m_seq_init=seq_init;}
- void set_irq_info(const char *tag, const int irq_num) {m_cpu_tag = tag; m_irq_num = irq_num;}
+ void set_irq_info(std::string tag, const int irq_num) {m_cpu_tag = tag; m_irq_num = irq_num;}
protected:
@@ -51,7 +51,7 @@ protected:
private:
emu_timer * m_timer;
- const char *m_cpu_tag;
+ std::string m_cpu_tag;
cpu_device *m_cpu;
int m_irq_num;
@@ -90,7 +90,7 @@ private:
class iteagle_eeprom_device : public pci_device {
public:
- iteagle_eeprom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ iteagle_eeprom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
virtual void map_extra(UINT64 memory_window_start, UINT64 memory_window_end, UINT64 memory_offset, address_space *memory_space,
@@ -115,10 +115,10 @@ private:
class iteagle_ide_device : public pci_device {
public:
- iteagle_ide_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ iteagle_ide_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
- void set_irq_info(const char *tag, const int irq_num);
+ void set_irq_info(std::string tag, const int irq_num);
required_device<bus_master_ide_controller_device> m_ide;
required_device<bus_master_ide_controller_device> m_ide2;
@@ -130,7 +130,7 @@ protected:
virtual void device_reset() override;
private:
- const char *m_cpu_tag;
+ std::string m_cpu_tag;
cpu_device *m_cpu;
int m_irq_num;
int m_irq_status;
diff --git a/src/mame/machine/jvs13551.cpp b/src/mame/machine/jvs13551.cpp
index fa0350e60a0..7fb89e1f68a 100644
--- a/src/mame/machine/jvs13551.cpp
+++ b/src/mame/machine/jvs13551.cpp
@@ -40,7 +40,7 @@ const rom_entry *sega_837_13551::device_rom_region() const
return ROM_NAME(jvs13551);
}
-void sega_837_13551::static_set_port_tag(device_t &device, int port, const char *tag)
+void sega_837_13551::static_set_port_tag(device_t &device, int port, std::string tag)
{
sega_837_13551 &ctrl = downcast<sega_837_13551 &>(device);
ctrl.port_tag[port] = tag;
@@ -51,9 +51,8 @@ ioport_constructor sega_837_13551::device_input_ports() const
return INPUT_PORTS_NAME(sega_837_13551_coins);
}
-sega_837_13551::sega_837_13551(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : jvs_device(mconfig, SEGA_837_13551, "Sega 837-13551 I/O Board", tag, owner, clock, "jvs13551", __FILE__)
+sega_837_13551::sega_837_13551(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : jvs_device(mconfig, SEGA_837_13551, "Sega 837-13551 I/O Board", tag, owner, clock, "jvs13551", __FILE__)
{
- memset(port_tag, 0, sizeof(port_tag));
}
const char *sega_837_13551::device_id()
diff --git a/src/mame/machine/jvs13551.h b/src/mame/machine/jvs13551.h
index 2a84e9b9d24..5e6c7e0ddb7 100644
--- a/src/mame/machine/jvs13551.h
+++ b/src/mame/machine/jvs13551.h
@@ -26,8 +26,8 @@ class jvs_host;
class sega_837_13551 : public jvs_device
{
public:
- sega_837_13551(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- static void static_set_port_tag(device_t &device, int port, const char *tag);
+ sega_837_13551(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ static void static_set_port_tag(device_t &device, int port, std::string tag);
virtual const rom_entry *device_rom_region() const override;
@@ -55,7 +55,7 @@ protected:
virtual bool swoutputs(UINT8 id, UINT8 val) override;
private:
- const char *port_tag[12];
+ std::string port_tag[12];
ioport_port *port[12];
UINT16 coin_counter[2];
};
diff --git a/src/mame/machine/k573cass.cpp b/src/mame/machine/k573cass.cpp
index 4f6c8769d6e..c27109c26ce 100644
--- a/src/mame/machine/k573cass.cpp
+++ b/src/mame/machine/k573cass.cpp
@@ -63,14 +63,14 @@ READ_LINE_MEMBER(konami573_cassette_interface::read_line_adc083x_sars)
const device_type KONAMI573_CASSETTE_X = &device_creator<konami573_cassette_x_device>;
-konami573_cassette_x_device::konami573_cassette_x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+konami573_cassette_x_device::konami573_cassette_x_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, KONAMI573_CASSETTE_X, "Konami 573 Cassette X", tag, owner, clock, "k573cassx", __FILE__),
konami573_cassette_interface(mconfig, *this),
m_x76f041(*this, "eeprom")
{
}
-konami573_cassette_x_device::konami573_cassette_x_device(const machine_config &mconfig, const device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
+konami573_cassette_x_device::konami573_cassette_x_device(const machine_config &mconfig, const device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__),
konami573_cassette_interface(mconfig, *this),
m_x76f041(*this, "eeprom")
@@ -119,7 +119,7 @@ READ_LINE_MEMBER(konami573_cassette_x_device::read_line_secflash_sda)
const device_type KONAMI573_CASSETTE_XI = &device_creator<konami573_cassette_xi_device>;
-konami573_cassette_xi_device::konami573_cassette_xi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+konami573_cassette_xi_device::konami573_cassette_xi_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
konami573_cassette_x_device(mconfig, KONAMI573_CASSETTE_XI, "Konami 573 Cassette XI", tag, owner, clock, "k573cassxi", __FILE__),
m_ds2401(*this, "id"),
m_adc0838(*this, "adc0838")
@@ -179,7 +179,7 @@ READ_LINE_MEMBER(konami573_cassette_xi_device::read_line_adc083x_sars)
const device_type KONAMI573_CASSETTE_Y = &device_creator<konami573_cassette_y_device>;
-konami573_cassette_y_device::konami573_cassette_y_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+konami573_cassette_y_device::konami573_cassette_y_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, KONAMI573_CASSETTE_Y, "Konami 573 Cassette Y", tag, owner, clock, "k573cassy", __FILE__),
konami573_cassette_interface(mconfig, *this),
m_x76f100(*this, "eeprom"),
@@ -194,7 +194,7 @@ konami573_cassette_y_device::konami573_cassette_y_device(const machine_config &m
{
}
-konami573_cassette_y_device::konami573_cassette_y_device(const machine_config &mconfig, const device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
+konami573_cassette_y_device::konami573_cassette_y_device(const machine_config &mconfig, const device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__),
konami573_cassette_interface(mconfig, *this),
m_x76f100(*this, "eeprom"),
@@ -284,7 +284,7 @@ WRITE_LINE_MEMBER(konami573_cassette_y_device::write_line_d7)
const device_type KONAMI573_CASSETTE_YI = &device_creator<konami573_cassette_yi_device>;
-konami573_cassette_yi_device::konami573_cassette_yi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+konami573_cassette_yi_device::konami573_cassette_yi_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
konami573_cassette_y_device(mconfig, KONAMI573_CASSETTE_YI, "Konami 573 Cassette YI", tag, owner, clock, "k573cassyi", __FILE__),
m_ds2401(*this, "id")
{
@@ -315,7 +315,7 @@ READ_LINE_MEMBER(konami573_cassette_yi_device::read_line_ds2401)
const device_type KONAMI573_CASSETTE_ZI = &device_creator<konami573_cassette_zi_device>;
-konami573_cassette_zi_device::konami573_cassette_zi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+konami573_cassette_zi_device::konami573_cassette_zi_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, KONAMI573_CASSETTE_ZI, "Konami 573 Cassette ZI", tag, owner, clock, "k573casszi", __FILE__),
konami573_cassette_interface(mconfig, *this),
m_zs01(*this,"eeprom"),
@@ -377,7 +377,7 @@ READ_LINE_MEMBER(konami573_cassette_zi_device::read_line_secflash_sda)
const device_type KONAMI573_CASSETTE_SLOT = &device_creator<konami573_cassette_slot_device>;
-konami573_cassette_slot_device::konami573_cassette_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+konami573_cassette_slot_device::konami573_cassette_slot_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, KONAMI573_CASSETTE_SLOT, "Konami 573 Cassette Slot", tag, owner, clock, "k573cassslot", __FILE__),
device_slot_interface(mconfig, *this),
m_dsr_handler(*this)
diff --git a/src/mame/machine/k573cass.h b/src/mame/machine/k573cass.h
index 899667c7b7b..4c7153fe50c 100644
--- a/src/mame/machine/k573cass.h
+++ b/src/mame/machine/k573cass.h
@@ -30,7 +30,7 @@ class konami573_cassette_slot_device : public device_t,
friend class konami573_cassette_interface;
public:
- konami573_cassette_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ konami573_cassette_slot_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_dsr_handler(device_t &device, _Object object) { return downcast<konami573_cassette_slot_device &>(device).m_dsr_handler.set_callback(object); }
@@ -91,8 +91,8 @@ class konami573_cassette_x_device: public device_t,
public konami573_cassette_interface
{
public:
- konami573_cassette_x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- konami573_cassette_x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock,const char *shortname, const char *source);
+ konami573_cassette_x_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ konami573_cassette_x_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock,const char *shortname, const char *source);
virtual DECLARE_READ_LINE_MEMBER(read_line_secflash_sda) override;
virtual DECLARE_WRITE_LINE_MEMBER(write_line_d0) override;
@@ -114,7 +114,7 @@ extern const device_type KONAMI573_CASSETTE_XI;
class konami573_cassette_xi_device: public konami573_cassette_x_device
{
public:
- konami573_cassette_xi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ konami573_cassette_xi_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual DECLARE_READ_LINE_MEMBER(read_line_ds2401) override;
virtual DECLARE_WRITE_LINE_MEMBER(write_line_d4) override;
@@ -167,8 +167,8 @@ class konami573_cassette_y_device: public device_t,
public konami573_cassette_interface
{
public:
- konami573_cassette_y_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- konami573_cassette_y_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock,const char *shortname, const char *source);
+ konami573_cassette_y_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ konami573_cassette_y_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock,const char *shortname, const char *source);
// static configuration helpers
template<class _Object> static devcb_base &set_d0_handler(device_t &device, _Object object) { return downcast<konami573_cassette_y_device &>(device).m_d0_handler.set_callback(object); }
@@ -212,7 +212,7 @@ extern const device_type KONAMI573_CASSETTE_YI;
class konami573_cassette_yi_device: public konami573_cassette_y_device
{
public:
- konami573_cassette_yi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ konami573_cassette_yi_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual DECLARE_READ_LINE_MEMBER(read_line_ds2401) override;
virtual DECLARE_WRITE_LINE_MEMBER(write_line_d4) override;
@@ -231,7 +231,7 @@ class konami573_cassette_zi_device: public device_t,
public konami573_cassette_interface
{
public:
- konami573_cassette_zi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ konami573_cassette_zi_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual DECLARE_READ_LINE_MEMBER(read_line_ds2401) override;
virtual DECLARE_READ_LINE_MEMBER(read_line_secflash_sda) override;
diff --git a/src/mame/machine/k573dio.cpp b/src/mame/machine/k573dio.cpp
index 672aa2fa209..0a8e963e2e2 100644
--- a/src/mame/machine/k573dio.cpp
+++ b/src/mame/machine/k573dio.cpp
@@ -105,7 +105,7 @@ static MACHINE_CONFIG_FRAGMENT( k573dio )
MCFG_DS2401_ADD( "digital_id" )
MACHINE_CONFIG_END
-k573dio_device::k573dio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k573dio_device::k573dio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, KONAMI_573_DIGITAL_IO_BOARD, "Konami 573 digital I/O board", tag, owner, clock, "k573dio", __FILE__),
mas3507d(*this, "mpeg"),
digital_id(*this, "digital_id"),
@@ -147,37 +147,37 @@ void k573dio_device::device_timer(emu_timer &timer, device_timer_id id, int para
READ16_MEMBER(k573dio_device::a00_r)
{
- logerror("%s: a00_r (%s)\n", tag(), machine().describe_context());
+ logerror("%s: a00_r (%s)\n", tag().c_str(), machine().describe_context());
return 0x0000;
}
READ16_MEMBER(k573dio_device::a02_r)
{
- logerror("%s: a02_r (%s)\n", tag(), machine().describe_context());
+ logerror("%s: a02_r (%s)\n", tag().c_str(), machine().describe_context());
return 0x0001;
}
READ16_MEMBER(k573dio_device::a04_r)
{
- logerror("%s: a04_r (%s)\n", tag(), machine().describe_context());
+ logerror("%s: a04_r (%s)\n", tag().c_str(), machine().describe_context());
return 0x0000;
}
READ16_MEMBER(k573dio_device::a06_r)
{
- logerror("%s: a06_r (%s)\n", tag(), machine().describe_context());
+ logerror("%s: a06_r (%s)\n", tag().c_str(), machine().describe_context());
return 0x0000;
}
READ16_MEMBER(k573dio_device::a0a_r)
{
- logerror("%s: a0a_r (%s)\n", tag(), machine().describe_context());
+ logerror("%s: a0a_r (%s)\n", tag().c_str(), machine().describe_context());
return 0x0000;
}
READ16_MEMBER(k573dio_device::a80_r)
{
- logerror("%s: a80_r (%s)\n", tag(), machine().describe_context());
+ logerror("%s: a80_r (%s)\n", tag().c_str(), machine().describe_context());
return 0x1234;
}
@@ -304,7 +304,7 @@ WRITE16_MEMBER(k573dio_device::digital_id_w)
READ16_MEMBER(k573dio_device::fpga_status_r)
{
- logerror("%s: fpga_status_r (%s)\n", tag(), machine().describe_context());
+ logerror("%s: fpga_status_r (%s)\n", tag().c_str(), machine().describe_context());
// fpga/digital board status checks
// wants & c000 = 8000 (just after program upload?)
diff --git a/src/mame/machine/k573dio.h b/src/mame/machine/k573dio.h
index 9762536b072..7b5d0508640 100644
--- a/src/mame/machine/k573dio.h
+++ b/src/mame/machine/k573dio.h
@@ -17,7 +17,7 @@
class k573dio_device : public device_t
{
public:
- k573dio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k573dio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _write> void set_output_cb(_write _output_cb)
{
diff --git a/src/mame/machine/k573mcr.cpp b/src/mame/machine/k573mcr.cpp
index a9866370176..a1fffd470ef 100644
--- a/src/mame/machine/k573mcr.cpp
+++ b/src/mame/machine/k573mcr.cpp
@@ -11,7 +11,7 @@
GE885-PWB(A)A ( contains Toshiba tmpr3904af, ram, rom, tranceiver and glue ).
*/
-k573mcr_device::k573mcr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+k573mcr_device::k573mcr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, KONAMI_573_MEMORY_CARD_READER, "Konami 573 Memory Card Reader", tag, owner, clock, "k573mcr", __FILE__)
{
}
diff --git a/src/mame/machine/k573mcr.h b/src/mame/machine/k573mcr.h
index 4241bc33f96..09e761aa5db 100644
--- a/src/mame/machine/k573mcr.h
+++ b/src/mame/machine/k573mcr.h
@@ -17,7 +17,7 @@ extern const device_type KONAMI_573_MEMORY_CARD_READER;
class k573mcr_device : public device_t
{
public:
- k573mcr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k573mcr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual void device_start() override;
diff --git a/src/mame/machine/k573msu.cpp b/src/mame/machine/k573msu.cpp
index b3c38ab95d9..be3ddb6fc3e 100644
--- a/src/mame/machine/k573msu.cpp
+++ b/src/mame/machine/k573msu.cpp
@@ -71,7 +71,7 @@
*/
-k573msu_device::k573msu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+k573msu_device::k573msu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, KONAMI_573_MULTI_SESSION_UNIT, "Konami 573 Multi Session Unit", tag, owner, clock, "k573msu", __FILE__)
{
}
diff --git a/src/mame/machine/k573msu.h b/src/mame/machine/k573msu.h
index 3d4940039a9..29b42c94623 100644
--- a/src/mame/machine/k573msu.h
+++ b/src/mame/machine/k573msu.h
@@ -17,7 +17,7 @@ extern const device_type KONAMI_573_MULTI_SESSION_UNIT;
class k573msu_device : public device_t
{
public:
- k573msu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k573msu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual void device_start() override;
diff --git a/src/mame/machine/k573npu.cpp b/src/mame/machine/k573npu.cpp
index f79494d7b56..89cf1716f77 100644
--- a/src/mame/machine/k573npu.cpp
+++ b/src/mame/machine/k573npu.cpp
@@ -71,7 +71,7 @@
*/
-k573npu_device::k573npu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+k573npu_device::k573npu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, KONAMI_573_NETWORK_PCB_UNIT, "Konami 573 Network PCB Unit", tag, owner, clock, "k573npu", __FILE__)
{
}
diff --git a/src/mame/machine/k573npu.h b/src/mame/machine/k573npu.h
index 13c4d598216..1a25c00b502 100644
--- a/src/mame/machine/k573npu.h
+++ b/src/mame/machine/k573npu.h
@@ -17,7 +17,7 @@ extern const device_type KONAMI_573_NETWORK_PCB_UNIT;
class k573npu_device : public device_t
{
public:
- k573npu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k573npu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual void device_start() override;
diff --git a/src/mame/machine/k7659kb.cpp b/src/mame/machine/k7659kb.cpp
index 5b46d8a9814..e254b7d7fc2 100644
--- a/src/mame/machine/k7659kb.cpp
+++ b/src/mame/machine/k7659kb.cpp
@@ -212,7 +212,7 @@ ioport_constructor k7659_keyboard_device::device_input_ports() const
// k7659_keyboard_device - constructor
//-------------------------------------------------
-k7659_keyboard_device::k7659_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k7659_keyboard_device::k7659_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K7659_KEYBOARD, "K7659 Keyboard", tag, owner, clock, "k7659kb", __FILE__)
{}
diff --git a/src/mame/machine/k7659kb.h b/src/mame/machine/k7659kb.h
index c18031b61bf..9c43f26ff16 100644
--- a/src/mame/machine/k7659kb.h
+++ b/src/mame/machine/k7659kb.h
@@ -43,7 +43,7 @@ class k7659_keyboard_device : public device_t
{
public:
// construction/destruction
- k7659_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k7659_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual const rom_entry *device_rom_region() const override;
diff --git a/src/mame/machine/kaneko_calc3.cpp b/src/mame/machine/kaneko_calc3.cpp
index 10390dae679..5a11a34acd7 100644
--- a/src/mame/machine/kaneko_calc3.cpp
+++ b/src/mame/machine/kaneko_calc3.cpp
@@ -29,7 +29,7 @@
const device_type KANEKO_CALC3 = &device_creator<kaneko_calc3_device>;
-kaneko_calc3_device::kaneko_calc3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+kaneko_calc3_device::kaneko_calc3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, KANEKO_CALC3, "Kaneko CALC3 MCU", tag, owner, clock, "kaneko_calc3", __FILE__),
m_mcuram(*this, ":mcuram"),
m_mcu_status(0),
diff --git a/src/mame/machine/kaneko_calc3.h b/src/mame/machine/kaneko_calc3.h
index af5e1d31d94..f72de99aa0f 100644
--- a/src/mame/machine/kaneko_calc3.h
+++ b/src/mame/machine/kaneko_calc3.h
@@ -9,7 +9,7 @@
class kaneko_calc3_device : public device_t
{
public:
- kaneko_calc3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ kaneko_calc3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_WRITE16_MEMBER(mcu_com0_w);
DECLARE_WRITE16_MEMBER(mcu_com1_w);
diff --git a/src/mame/machine/kaneko_hit.cpp b/src/mame/machine/kaneko_hit.cpp
index 626b03bde29..650e71125ea 100644
--- a/src/mame/machine/kaneko_hit.cpp
+++ b/src/mame/machine/kaneko_hit.cpp
@@ -30,7 +30,7 @@
const device_type KANEKO_HIT = &device_creator<kaneko_hit_device>;
-kaneko_hit_device::kaneko_hit_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+kaneko_hit_device::kaneko_hit_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, KANEKO_HIT, "Kaneko CALC Hitbox", tag, owner, clock, "kaneko_hit", __FILE__)
{
m_hittype = -1;
diff --git a/src/mame/machine/kaneko_hit.h b/src/mame/machine/kaneko_hit.h
index 815fa4bd70c..93b4d70fce0 100644
--- a/src/mame/machine/kaneko_hit.h
+++ b/src/mame/machine/kaneko_hit.h
@@ -38,7 +38,7 @@ struct calc3_hit_t
class kaneko_hit_device : public device_t
{
public:
- kaneko_hit_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ kaneko_hit_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
static void set_type(device_t &device, int hittype);
diff --git a/src/mame/machine/kaneko_toybox.cpp b/src/mame/machine/kaneko_toybox.cpp
index 73e8927b7ed..070234bea1c 100644
--- a/src/mame/machine/kaneko_toybox.cpp
+++ b/src/mame/machine/kaneko_toybox.cpp
@@ -53,7 +53,7 @@ mcu_subcmd = kaneko16_mcu_ram[0x0014/2]; // sub-command parameter, happens o
const device_type KANEKO_TOYBOX = &device_creator<kaneko_toybox_device>;
-kaneko_toybox_device::kaneko_toybox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+kaneko_toybox_device::kaneko_toybox_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, KANEKO_TOYBOX, "Kaneko Toybox MCU", tag, owner, clock, "kaneko_toybox", __FILE__),
m_mcuram(*this, ":mcuram"),
m_gametype(GAME_NORMAL),
@@ -158,7 +158,7 @@ WRITE16_MEMBER(kaneko_toybox_device::mcu_com3_w){ mcu_com_w(offset, data, mem_ma
*/
READ16_MEMBER(kaneko_toybox_device::mcu_status_r)
{
- logerror("CPU %s (PC=%06X) : read MCU status\n", space.device().tag(), space.device().safe_pcbase());
+ logerror("CPU %s (PC=%06X) : read MCU status\n", space.device().tag().c_str(), space.device().safe_pcbase());
return 0; // most games test bit 0 for failure
}
diff --git a/src/mame/machine/kaneko_toybox.h b/src/mame/machine/kaneko_toybox.h
index 98b4bbbec34..855ab14cabc 100644
--- a/src/mame/machine/kaneko_toybox.h
+++ b/src/mame/machine/kaneko_toybox.h
@@ -335,7 +335,7 @@ static const UINT8 decryption_table_alt[0x100] = {
class kaneko_toybox_device : public device_t
{
public:
- kaneko_toybox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ kaneko_toybox_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
static void set_table(device_t &device, int tabletype);
static void set_game_type(device_t &device, int gametype);
diff --git a/src/mame/machine/kc_keyb.cpp b/src/mame/machine/kc_keyb.cpp
index 740d0dc7fce..9a6859fbd44 100644
--- a/src/mame/machine/kc_keyb.cpp
+++ b/src/mame/machine/kc_keyb.cpp
@@ -435,7 +435,7 @@ INPUT_PORTS_END
//-------------------------------------------------
// kc_keyboard_device - constructor
//-------------------------------------------------
-kc_keyboard_device::kc_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+kc_keyboard_device::kc_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, KC_KEYBOARD, "KC Keyboard", tag, owner, clock, "kc_keyboard", __FILE__),
m_write_out(*this)
{
diff --git a/src/mame/machine/kc_keyb.h b/src/mame/machine/kc_keyb.h
index 152a886e65f..d6c851dba34 100644
--- a/src/mame/machine/kc_keyb.h
+++ b/src/mame/machine/kc_keyb.h
@@ -25,7 +25,7 @@ class kc_keyboard_device : public device_t
{
public:
// construction/destruction
- kc_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ kc_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ~kc_keyboard_device();
template<class _Object> static devcb_base &set_out_wr_callback(device_t &device, _Object object) { return downcast<kc_keyboard_device &>(device).m_write_out.set_callback(object); }
diff --git a/src/mame/machine/konami1.cpp b/src/mame/machine/konami1.cpp
index c0240bcbc78..aa930c81c85 100644
--- a/src/mame/machine/konami1.cpp
+++ b/src/mame/machine/konami1.cpp
@@ -11,7 +11,7 @@
const device_type KONAMI1 = &device_creator<konami1_device>;
-konami1_device::konami1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+konami1_device::konami1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: m6809_base_device(mconfig, "KONAMI-1", tag, owner, clock, KONAMI1, 1, "konami1", __FILE__)
{
m_boundary = 0x0000;
diff --git a/src/mame/machine/konami1.h b/src/mame/machine/konami1.h
index 4c5b369896d..1753e10e66e 100644
--- a/src/mame/machine/konami1.h
+++ b/src/mame/machine/konami1.h
@@ -5,7 +5,7 @@
class konami1_device : public m6809_base_device {
public:
- konami1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ konami1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void set_encryption_boundary(UINT16 adr);
diff --git a/src/mame/machine/konppc.cpp b/src/mame/machine/konppc.cpp
index d70d3364142..74ac6de2a3d 100644
--- a/src/mame/machine/konppc.cpp
+++ b/src/mame/machine/konppc.cpp
@@ -16,7 +16,7 @@
const device_type KONPPC = &device_creator<konppc_device>;
-konppc_device::konppc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+konppc_device::konppc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, KONPPC, "Konami PowerPC Common Functions", tag, owner, clock, "konppc", __FILE__),
cgboard_type(0),
num_cgboards(0)/*,
diff --git a/src/mame/machine/konppc.h b/src/mame/machine/konppc.h
index cc3a3c386b9..81bd547d6c5 100644
--- a/src/mame/machine/konppc.h
+++ b/src/mame/machine/konppc.h
@@ -21,7 +21,7 @@ class konppc_device : public device_t
{
public:
// construction/destruction
- konppc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ konppc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
static void static_set_num_boards(device_t &device, int num) { downcast<konppc_device &>(device).num_cgboards = num; }
static void static_set_cbboard_type(device_t &device, int cgtype) { downcast<konppc_device &>(device).cgboard_type = cgtype; }
diff --git a/src/mame/machine/m1comm.cpp b/src/mame/machine/m1comm.cpp
index ceec0fc893b..e94e40fa73b 100644
--- a/src/mame/machine/m1comm.cpp
+++ b/src/mame/machine/m1comm.cpp
@@ -122,7 +122,7 @@ const rom_entry *m1comm_device::device_rom_region() const
// m1comm_device - constructor
//-------------------------------------------------
-m1comm_device::m1comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+m1comm_device::m1comm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, M1COMM, "MODEL-1 COMMUNICATION BD", tag, owner, clock, "m1comm", __FILE__),
m_commcpu(*this, Z80_TAG),
m_line_rx(OPEN_FLAG_WRITE | OPEN_FLAG_CREATE ),
diff --git a/src/mame/machine/m1comm.h b/src/mame/machine/m1comm.h
index 56106dbe28f..e9690e20d6d 100644
--- a/src/mame/machine/m1comm.h
+++ b/src/mame/machine/m1comm.h
@@ -21,7 +21,7 @@ class m1comm_device : public device_t
{
public:
// construction/destruction
- m1comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ m1comm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
diff --git a/src/mame/machine/m20_8086.cpp b/src/mame/machine/m20_8086.cpp
index 5c817b17edf..2d8ddd62666 100644
--- a/src/mame/machine/m20_8086.cpp
+++ b/src/mame/machine/m20_8086.cpp
@@ -5,7 +5,7 @@
const device_type M20_8086 = &device_creator<m20_8086_device>;
-m20_8086_device::m20_8086_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+m20_8086_device::m20_8086_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, M20_8086, "Olivetti M20 8086 Adapter", tag, owner, clock, "m20_8086", __FILE__),
m_8086(*this, "8086"),
m_maincpu(*this, ":maincpu"),
diff --git a/src/mame/machine/m20_8086.h b/src/mame/machine/m20_8086.h
index 1f2cc041d69..bc8cd62d47c 100644
--- a/src/mame/machine/m20_8086.h
+++ b/src/mame/machine/m20_8086.h
@@ -10,7 +10,7 @@
class m20_8086_device : public device_t
{
public:
- m20_8086_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ m20_8086_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual const rom_entry *device_rom_region() const override;
virtual machine_config_constructor device_mconfig_additions() const override;
diff --git a/src/mame/machine/m20_kbd.cpp b/src/mame/machine/m20_kbd.cpp
index ecccffae775..9b8491f94c6 100644
--- a/src/mame/machine/m20_kbd.cpp
+++ b/src/mame/machine/m20_kbd.cpp
@@ -4,7 +4,7 @@
#include "machine/m20_kbd.h"
-m20_keyboard_device::m20_keyboard_device(const machine_config& mconfig, const char* tag, device_t* owner, UINT32 clock) :
+m20_keyboard_device::m20_keyboard_device(const machine_config& mconfig, std::string tag, device_t* owner, UINT32 clock) :
serial_keyboard_device(mconfig, M20_KEYBOARD, "M20 Keyboard", tag, owner, 0, "m20_keyboard", __FILE__)
{
}
diff --git a/src/mame/machine/m20_kbd.h b/src/mame/machine/m20_kbd.h
index 3cade9c11e4..93e5a039b11 100644
--- a/src/mame/machine/m20_kbd.h
+++ b/src/mame/machine/m20_kbd.h
@@ -8,7 +8,7 @@
class m20_keyboard_device : public serial_keyboard_device
{
public:
- m20_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ m20_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ioport_constructor device_input_ports() const override;
protected:
diff --git a/src/mame/machine/m24_kbd.cpp b/src/mame/machine/m24_kbd.cpp
index 5cc05a95b16..a29c518943b 100644
--- a/src/mame/machine/m24_kbd.cpp
+++ b/src/mame/machine/m24_kbd.cpp
@@ -210,7 +210,7 @@ ioport_constructor m24_keyboard_device::device_input_ports() const
return INPUT_PORTS_NAME( m24_keyboard );
}
-m24_keyboard_device::m24_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+m24_keyboard_device::m24_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, M24_KEYBOARD, "Olivetti M24 Keyboard", tag, owner, clock, "m24_kbd", __FILE__),
m_rows(*this, "ROW"),
m_mousebtn(*this, "MOUSEBTN"),
diff --git a/src/mame/machine/m24_kbd.h b/src/mame/machine/m24_kbd.h
index 489d094929e..2b87a80e90c 100644
--- a/src/mame/machine/m24_kbd.h
+++ b/src/mame/machine/m24_kbd.h
@@ -12,7 +12,7 @@
class m24_keyboard_device : public device_t
{
public:
- m24_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ m24_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_out_data_handler(device_t &device, _Object object) { return downcast<m24_keyboard_device &>(device).m_out_data.set_callback(object); }
diff --git a/src/mame/machine/m24_z8000.cpp b/src/mame/machine/m24_z8000.cpp
index d89034b4736..3224c3445d6 100644
--- a/src/mame/machine/m24_z8000.cpp
+++ b/src/mame/machine/m24_z8000.cpp
@@ -4,7 +4,7 @@
const device_type M24_Z8000 = &device_creator<m24_z8000_device>;
-m24_z8000_device::m24_z8000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+m24_z8000_device::m24_z8000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, M24_Z8000, "Olivetti M24 Z8000 Adapter", tag, owner, clock, "m24_z8000", __FILE__),
m_z8000(*this, "z8000"),
m_maincpu(*this, ":maincpu"),
diff --git a/src/mame/machine/m24_z8000.h b/src/mame/machine/m24_z8000.h
index 283bd301ac9..e07d9e75c22 100644
--- a/src/mame/machine/m24_z8000.h
+++ b/src/mame/machine/m24_z8000.h
@@ -15,7 +15,7 @@
class m24_z8000_device : public device_t
{
public:
- m24_z8000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ m24_z8000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual const rom_entry *device_rom_region() const override;
virtual machine_config_constructor device_mconfig_additions() const override;
diff --git a/src/mame/machine/m2comm.cpp b/src/mame/machine/m2comm.cpp
index 4c45669076c..4c034fc91c9 100644
--- a/src/mame/machine/m2comm.cpp
+++ b/src/mame/machine/m2comm.cpp
@@ -194,7 +194,7 @@ machine_config_constructor m2comm_device::device_mconfig_additions() const
// m2comm_device - constructor
//-------------------------------------------------
-m2comm_device::m2comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+m2comm_device::m2comm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, M2COMM, "MODEL2 COMMUNICATION BD", tag, owner, clock, "m2comm", __FILE__),
m_line_rx(OPEN_FLAG_WRITE | OPEN_FLAG_CREATE ),
m_line_tx(OPEN_FLAG_READ)
diff --git a/src/mame/machine/m2comm.h b/src/mame/machine/m2comm.h
index 8566f2cdd33..890761148dd 100644
--- a/src/mame/machine/m2comm.h
+++ b/src/mame/machine/m2comm.h
@@ -20,7 +20,7 @@ class m2comm_device : public device_t
{
public:
// construction/destruction
- m2comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ m2comm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
diff --git a/src/mame/machine/mackbd.cpp b/src/mame/machine/mackbd.cpp
index 7244b16866f..44739089e72 100644
--- a/src/mame/machine/mackbd.cpp
+++ b/src/mame/machine/mackbd.cpp
@@ -209,7 +209,7 @@ ioport_constructor mackbd_device::device_input_ports() const
// mackbd_device - constructor
//-------------------------------------------------
-mackbd_device::mackbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+mackbd_device::mackbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MACKBD, "Macintosh keyboard", tag, owner, clock, "mackbd", __FILE__),
m_maincpu(*this, MACKBD_CPU_TAG),
m_clkout_handler(*this),
diff --git a/src/mame/machine/mackbd.h b/src/mame/machine/mackbd.h
index 946d549c0cb..dadab8065aa 100644
--- a/src/mame/machine/mackbd.h
+++ b/src/mame/machine/mackbd.h
@@ -42,7 +42,7 @@ public:
template<class _Object> static devcb_base &set_dataout_handler(device_t &device, _Object object) { return downcast<mackbd_device &>(device).m_dataout_handler.set_callback(object); }
// construction/destruction
- mackbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ mackbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ8_MEMBER(p0_r);
DECLARE_WRITE8_MEMBER(p0_w);
diff --git a/src/mame/machine/macrtc.cpp b/src/mame/machine/macrtc.cpp
index dd047014c0f..0d63e06e6de 100644
--- a/src/mame/machine/macrtc.cpp
+++ b/src/mame/machine/macrtc.cpp
@@ -40,7 +40,7 @@ const device_type RTC3430042 = &device_creator<rtc3430042_device>;
// rtc4543_device - constructor
//-------------------------------------------------
-rtc3430042_device::rtc3430042_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+rtc3430042_device::rtc3430042_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, RTC3430042, "Apple 343-0042 clock/PRAM", tag, owner, clock, "rtc3430042", __FILE__),
device_rtc_interface(mconfig, *this),
device_nvram_interface(mconfig, *this)
diff --git a/src/mame/machine/macrtc.h b/src/mame/machine/macrtc.h
index ea8726a8fd2..a06715524fd 100644
--- a/src/mame/machine/macrtc.h
+++ b/src/mame/machine/macrtc.h
@@ -36,7 +36,7 @@ class rtc3430042_device : public device_t,
{
public:
// construction/destruction
- rtc3430042_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ rtc3430042_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_WRITE_LINE_MEMBER( ce_w );
DECLARE_WRITE_LINE_MEMBER( clk_w );
diff --git a/src/mame/machine/maple-dc.cpp b/src/mame/machine/maple-dc.cpp
index dcefe0fd84c..3d94ce70708 100644
--- a/src/mame/machine/maple-dc.cpp
+++ b/src/mame/machine/maple-dc.cpp
@@ -28,7 +28,7 @@ void maple_dc_device::static_set_irq_cb(device_t &device, void (*irq_cb)(running
maple_dc.irq_cb = irq_cb;
}
-maple_dc_device::maple_dc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+maple_dc_device::maple_dc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MAPLE_DC, "Dreamcast Maple Bus", tag, owner, clock, "maple_dc", __FILE__)
{
// Do not move that in device_start or there will be a race
diff --git a/src/mame/machine/maple-dc.h b/src/mame/machine/maple-dc.h
index dcecaa9d2b5..177a606f0fb 100644
--- a/src/mame/machine/maple-dc.h
+++ b/src/mame/machine/maple-dc.h
@@ -15,7 +15,7 @@ class maple_device;
class maple_dc_device : public device_t
{
public:
- maple_dc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ maple_dc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
static void static_set_maincpu_tag(device_t &device, const char *maincpu_tag);
static void static_set_irq_cb(device_t &device, void (*irq_cb)(running_machine &));
diff --git a/src/mame/machine/mapledev.cpp b/src/mame/machine/mapledev.cpp
index 0f7630e3315..d9f95e9351b 100644
--- a/src/mame/machine/mapledev.cpp
+++ b/src/mame/machine/mapledev.cpp
@@ -12,7 +12,7 @@ void maple_device::static_set_host(device_t &device, const char *_host_tag, int
}
-maple_device::maple_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
+maple_device::maple_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source)
{
host_tag = nullptr;
host_port = 0;
diff --git a/src/mame/machine/mapledev.h b/src/mame/machine/mapledev.h
index 2a2b93ca93c..f9e58ac64c4 100644
--- a/src/mame/machine/mapledev.h
+++ b/src/mame/machine/mapledev.h
@@ -10,7 +10,7 @@
class maple_device : public device_t
{
public:
- maple_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ maple_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
static void static_set_host(device_t &device, const char *_host_tag, int _host_port);
virtual void maple_w(const UINT32 *data, UINT32 in_size) = 0;
diff --git a/src/mame/machine/mathbox.cpp b/src/mame/machine/mathbox.cpp
index 7b014ed1158..1366081c7e2 100644
--- a/src/mame/machine/mathbox.cpp
+++ b/src/mame/machine/mathbox.cpp
@@ -39,7 +39,7 @@
const device_type MATHBOX = &device_creator<mathbox_device>;
-mathbox_device::mathbox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+mathbox_device::mathbox_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MATHBOX, "Atari MATHBOX", tag, owner, clock, "mathbox", __FILE__)
{
}
diff --git a/src/mame/machine/mathbox.h b/src/mame/machine/mathbox.h
index d50bb690687..be0df88cb10 100644
--- a/src/mame/machine/mathbox.h
+++ b/src/mame/machine/mathbox.h
@@ -19,7 +19,7 @@
class mathbox_device : public device_t
{
public:
- mathbox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ mathbox_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_WRITE8_MEMBER( go_w );
DECLARE_READ8_MEMBER( status_r );
diff --git a/src/mame/machine/mega32x.cpp b/src/mame/machine/mega32x.cpp
index 864e3d00b0b..5cb33c67037 100644
--- a/src/mame/machine/mega32x.cpp
+++ b/src/mame/machine/mega32x.cpp
@@ -204,7 +204,7 @@ GFX check (these don't explicitly fails):
const device_type SEGA_32X_NTSC = &device_creator<sega_32x_ntsc_device>;
const device_type SEGA_32X_PAL = &device_creator<sega_32x_pal_device>;
-sega_32x_device::sega_32x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+sega_32x_device::sega_32x_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
m_master_cpu(*this, "32x_master_sh2"),
m_slave_cpu(*this, "32x_slave_sh2"),
@@ -215,12 +215,12 @@ sega_32x_device::sega_32x_device(const machine_config &mconfig, device_type type
{
}
-sega_32x_ntsc_device::sega_32x_ntsc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_32x_ntsc_device::sega_32x_ntsc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: sega_32x_device(mconfig, SEGA_32X_NTSC, "sega_32x_ntsc", tag, owner, clock, "sega_32x_ntsc", __FILE__)
{
}
-sega_32x_pal_device::sega_32x_pal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_32x_pal_device::sega_32x_pal_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: sega_32x_device(mconfig, SEGA_32X_PAL, "sega_32x_pal", tag, owner, clock, "sega_32x_pal", __FILE__)
{
}
@@ -230,7 +230,7 @@ sega_32x_pal_device::sega_32x_pal_device(const machine_config &mconfig, const ch
// palette device
//-------------------------------------------------
-void sega_32x_device::static_set_palette_tag(device_t &device, const char *tag)
+void sega_32x_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<sega_32x_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/machine/mega32x.h b/src/mame/machine/mega32x.h
index f076b0f7a71..ab33076bba0 100644
--- a/src/mame/machine/mega32x.h
+++ b/src/mame/machine/mega32x.h
@@ -31,7 +31,7 @@
class sega_32x_device : public device_t
{
public:
- sega_32x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ sega_32x_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
required_device<sh2_device> m_master_cpu;
required_device<sh2_device> m_slave_cpu;
@@ -49,7 +49,7 @@ public:
void update_total_scanlines(bool mode3) { m_total_scanlines = mode3 ? (m_base_total_scanlines * 2) : m_base_total_scanlines; } // this gets set at each EOF
// static configuration
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
DECLARE_READ32_MEMBER( _32x_sh2_master_4000_common_4002_r );
DECLARE_READ32_MEMBER( _32x_sh2_slave_4000_common_4002_r );
@@ -215,14 +215,14 @@ private:
class sega_32x_ntsc_device : public sega_32x_device
{
public:
- sega_32x_ntsc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_32x_ntsc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
class sega_32x_pal_device : public sega_32x_device
{
public:
- sega_32x_pal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_32x_pal_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
};
diff --git a/src/mame/machine/megacd.cpp b/src/mame/machine/megacd.cpp
index a76c07d4f25..892120aa1e2 100644
--- a/src/mame/machine/megacd.cpp
+++ b/src/mame/machine/megacd.cpp
@@ -289,7 +289,7 @@ machine_config_constructor sega_segacd_device::device_mconfig_additions() const
}
-sega_segacd_device::sega_segacd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+sega_segacd_device::sega_segacd_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_gfx_interface(mconfig, *this, GFXDECODE_NAME( segacd )),
m_scdcpu(*this, "segacd_68k"),
@@ -305,17 +305,17 @@ sega_segacd_device::sega_segacd_device(const machine_config &mconfig, device_typ
{
}
-sega_segacd_us_device::sega_segacd_us_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_segacd_us_device::sega_segacd_us_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: sega_segacd_device(mconfig, SEGA_SEGACD_US, "sega_segacd_us", tag, owner, clock, "sega_segacd_us", __FILE__)
{
}
-sega_segacd_japan_device::sega_segacd_japan_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_segacd_japan_device::sega_segacd_japan_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: sega_segacd_device(mconfig, SEGA_SEGACD_JAPAN, "sega_segacd_japan", tag, owner, clock, "sega_segacd_japan", __FILE__)
{
}
-sega_segacd_europe_device::sega_segacd_europe_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_segacd_europe_device::sega_segacd_europe_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: sega_segacd_device(mconfig, SEGA_SEGACD_EUROPE, "sega_segacd_europe", tag, owner, clock, "sega_segacd_europe", __FILE__)
{
}
diff --git a/src/mame/machine/megacd.h b/src/mame/machine/megacd.h
index 5823c0bd02c..851592224c5 100644
--- a/src/mame/machine/megacd.h
+++ b/src/mame/machine/megacd.h
@@ -42,7 +42,7 @@
class sega_segacd_device : public device_t, public device_gfx_interface
{
public:
- sega_segacd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ sega_segacd_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
required_device<cpu_device> m_scdcpu;
required_device<rf5c68_device> m_rfsnd;
@@ -225,7 +225,7 @@ private:
class sega_segacd_us_device : public sega_segacd_device
{
public:
- sega_segacd_us_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_segacd_us_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
};
@@ -233,7 +233,7 @@ class sega_segacd_us_device : public sega_segacd_device
class sega_segacd_japan_device : public sega_segacd_device
{
public:
- sega_segacd_japan_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_segacd_japan_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// virtual machine_config_constructor device_mconfig_additions() const;
};
@@ -241,7 +241,7 @@ class sega_segacd_japan_device : public sega_segacd_device
class sega_segacd_europe_device : public sega_segacd_device
{
public:
- sega_segacd_europe_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_segacd_europe_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// virtual machine_config_constructor device_mconfig_additions() const;
};
diff --git a/src/mame/machine/megacdcd.cpp b/src/mame/machine/megacdcd.cpp
index 0fd65a3d2c0..21d5309da40 100644
--- a/src/mame/machine/megacdcd.cpp
+++ b/src/mame/machine/megacdcd.cpp
@@ -12,7 +12,7 @@
const device_type LC89510_TEMP = &device_creator<lc89510_temp_device>;
-lc89510_temp_device::lc89510_temp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+lc89510_temp_device::lc89510_temp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, LC89510_TEMP, "lc89510_temp_device", tag, owner, clock, "lc89510_temp", __FILE__)
{
segacd_dma_callback = segacd_dma_delegate(FUNC(lc89510_temp_device::Fake_CDC_Do_DMA), this);
diff --git a/src/mame/machine/megacdcd.h b/src/mame/machine/megacdcd.h
index 2039f48587b..7a16c1785ea 100644
--- a/src/mame/machine/megacdcd.h
+++ b/src/mame/machine/megacdcd.h
@@ -147,7 +147,7 @@ typedef device_delegate<void (void)> interrupt_delegate;
class lc89510_temp_device : public device_t
{
public:
- lc89510_temp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ lc89510_temp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// HACK for DMA handling
segacd_dma_delegate segacd_dma_callback;
diff --git a/src/mame/machine/meters.cpp b/src/mame/machine/meters.cpp
index 651e5902e20..6a416610b7c 100644
--- a/src/mame/machine/meters.cpp
+++ b/src/mame/machine/meters.cpp
@@ -17,7 +17,7 @@
const device_type METERS = &device_creator<meters_device>;
-meters_device::meters_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+meters_device::meters_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, METERS, "Electro mechanical meters", tag, owner, clock, "meters", __FILE__),
m_number_mtr(0)
{
diff --git a/src/mame/machine/meters.h b/src/mame/machine/meters.h
index 9a0c49e0cd3..14b12e30b03 100644
--- a/src/mame/machine/meters.h
+++ b/src/mame/machine/meters.h
@@ -27,7 +27,7 @@
class meters_device : public device_t
{
public:
- meters_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ meters_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~meters_device() {}
static void static_set_number_meters(device_t &device, int number) { downcast<meters_device &>(device).m_number_mtr = number; }
diff --git a/src/mame/machine/microdrv.cpp b/src/mame/machine/microdrv.cpp
index 36406bd1bdf..20bda7df868 100644
--- a/src/mame/machine/microdrv.cpp
+++ b/src/mame/machine/microdrv.cpp
@@ -43,7 +43,7 @@ const device_type MICRODRIVE = &device_creator<microdrive_image_device>;
// microdrive_image_device - constructor
//-------------------------------------------------
-microdrive_image_device::microdrive_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+microdrive_image_device::microdrive_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, MICRODRIVE, "Microdrive", tag, owner, clock, "microdrive_image", __FILE__),
device_image_interface(mconfig, *this),
m_write_comms_out(*this)
@@ -131,11 +131,11 @@ void microdrive_image_device::device_timer(emu_timer &timer, device_timer_id id,
WRITE_LINE_MEMBER( microdrive_image_device::clk_w )
{
- if (LOG) logerror("Microdrive '%s' CLK: %u\n", tag(), state);
+ if (LOG) logerror("Microdrive '%s' CLK: %u\n", tag().c_str(), state);
if (!m_clk && state)
{
m_comms_out = m_comms_in;
- if (LOG) logerror("Microdrive '%s' COMMS OUT: %u\n", tag(), m_comms_out);
+ if (LOG) logerror("Microdrive '%s' COMMS OUT: %u\n", tag().c_str(), m_comms_out);
m_write_comms_out(m_comms_out);
m_bit_timer->enable(m_comms_out);
}
@@ -144,19 +144,19 @@ WRITE_LINE_MEMBER( microdrive_image_device::clk_w )
WRITE_LINE_MEMBER( microdrive_image_device::comms_in_w )
{
- if (LOG) logerror("Microdrive '%s' COMMS IN: %u\n", tag(), state);
+ if (LOG) logerror("Microdrive '%s' COMMS IN: %u\n", tag().c_str(), state);
m_comms_in = state;
}
WRITE_LINE_MEMBER( microdrive_image_device::erase_w )
{
- if (LOG) logerror("Microdrive '%s' ERASE: %u\n", tag(), state);
+ if (LOG) logerror("Microdrive '%s' ERASE: %u\n", tag().c_str(), state);
m_erase = state;
}
WRITE_LINE_MEMBER( microdrive_image_device::read_write_w )
{
- if (LOG) logerror("Microdrive '%s' READ/WRITE: %u\n", tag(), state);
+ if (LOG) logerror("Microdrive '%s' READ/WRITE: %u\n", tag().c_str(), state);
m_read_write = state;
}
diff --git a/src/mame/machine/microdrv.h b/src/mame/machine/microdrv.h
index 30853bd84d7..2ff37090da2 100644
--- a/src/mame/machine/microdrv.h
+++ b/src/mame/machine/microdrv.h
@@ -42,7 +42,7 @@ class microdrive_image_device : public device_t,
{
public:
// construction/destruction
- microdrive_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ microdrive_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ~microdrive_image_device();
template<class _Object> static devcb_base &set_comms_out_wr_callback(device_t &device, _Object object) { return downcast<microdrive_image_device &>(device).m_write_comms_out.set_callback(object); }
diff --git a/src/mame/machine/micropolis.cpp b/src/mame/machine/micropolis.cpp
index a42c692718c..0555af2d1f3 100644
--- a/src/mame/machine/micropolis.cpp
+++ b/src/mame/machine/micropolis.cpp
@@ -65,7 +65,7 @@ static const UINT8 track_SD[][2] = {
const device_type MICROPOLIS = &device_creator<micropolis_device>;
-micropolis_device::micropolis_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+micropolis_device::micropolis_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MICROPOLIS, "MICROPOLIS", tag, owner, clock, "micropolis", __FILE__),
m_read_dden(*this),
m_write_intrq(*this),
@@ -84,9 +84,6 @@ micropolis_device::micropolis_device(const machine_config &mconfig, const char *
{
for (auto & elem : m_buffer)
elem = 0;
-
- for (auto & elem : m_floppy_drive_tags)
- elem = nullptr;
}
//-------------------------------------------------
@@ -120,7 +117,7 @@ void micropolis_device::device_reset()
{
for (auto & elem : m_floppy_drive_tags)
{
- if (elem)
+ if (!elem.empty())
{
legacy_floppy_image_device *img = siblingdevice<legacy_floppy_image_device>(elem);
@@ -188,7 +185,7 @@ void micropolis_device::set_drive(UINT8 drive)
if (VERBOSE)
logerror("micropolis_set_drive: $%02x\n", drive);
- if (m_floppy_drive_tags[drive])
+ if (!m_floppy_drive_tags[drive].empty())
m_drive = siblingdevice<legacy_floppy_image_device>(m_floppy_drive_tags[drive]);
}
diff --git a/src/mame/machine/micropolis.h b/src/mame/machine/micropolis.h
index 76e1664c9ea..9e2af38a17d 100644
--- a/src/mame/machine/micropolis.h
+++ b/src/mame/machine/micropolis.h
@@ -41,14 +41,14 @@
class micropolis_device : public device_t
{
public:
- micropolis_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ micropolis_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~micropolis_device() {}
template<class _Object> static devcb_base &set_dden_rd_callback(device_t &device, _Object object) { return downcast<micropolis_device &>(device).m_read_dden.set_callback(object); }
template<class _Object> static devcb_base &set_intrq_wr_callback(device_t &device, _Object object) { return downcast<micropolis_device &>(device).m_write_intrq.set_callback(object); }
template<class _Object> static devcb_base &set_drq_wr_callback(device_t &device, _Object object) { return downcast<micropolis_device &>(device).m_write_drq.set_callback(object); }
- static void set_drive_tags(device_t &device, const char *tag1, const char *tag2, const char *tag3, const char *tag4)
+ static void set_drive_tags(device_t &device, std::string tag1, std::string tag2, std::string tag3, std::string tag4)
{
micropolis_device &dev = downcast<micropolis_device &>(device);
dev.m_floppy_drive_tags[0] = tag1;
@@ -80,7 +80,7 @@ private:
devcb_write_line m_write_intrq;
devcb_write_line m_write_drq;
- const char *m_floppy_drive_tags[4];
+ std::string m_floppy_drive_tags[4];
/* register */
UINT8 m_data;
diff --git a/src/mame/machine/midikbd.cpp b/src/mame/machine/midikbd.cpp
index a45e6179a3d..9cace1dda01 100644
--- a/src/mame/machine/midikbd.cpp
+++ b/src/mame/machine/midikbd.cpp
@@ -4,7 +4,7 @@
const device_type MIDI_KBD = &device_creator<midi_keyboard_device>;
-midi_keyboard_device::midi_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+midi_keyboard_device::midi_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, MIDI_KBD, "Generic MIDI Keyboard", tag, owner, clock, "midi_kbd", __FILE__),
device_serial_interface(mconfig, *this),
m_out_tx_func(*this),
diff --git a/src/mame/machine/midikbd.h b/src/mame/machine/midikbd.h
index c5272cf2e33..43f61350667 100644
--- a/src/mame/machine/midikbd.h
+++ b/src/mame/machine/midikbd.h
@@ -13,7 +13,7 @@ class midi_keyboard_device : public device_t,
public device_serial_interface
{
public:
- midi_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ midi_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
ioport_constructor device_input_ports() const override;
template<class _Object> static devcb_base &static_set_tx_callback(device_t &device, _Object object) { return downcast<midi_keyboard_device &>(device).m_out_tx_func.set_callback(object); }
diff --git a/src/mame/machine/midwayic.cpp b/src/mame/machine/midwayic.cpp
index 2d848da5d0f..ae8c4bf7895 100644
--- a/src/mame/machine/midwayic.cpp
+++ b/src/mame/machine/midwayic.cpp
@@ -112,7 +112,7 @@ const device_type MIDWAY_SERIAL_PIC = &device_creator<midway_serial_pic_device>;
// midway_serial_pic2_device - constructor
//-------------------------------------------------
-midway_serial_pic_device::midway_serial_pic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+midway_serial_pic_device::midway_serial_pic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, MIDWAY_SERIAL_PIC2, "Midway Serial Pic", tag, owner, clock, "midway_serial_pic", __FILE__),
m_upper(0),
m_buff(0),
@@ -124,7 +124,7 @@ midway_serial_pic_device::midway_serial_pic_device(const machine_config &mconfig
memset(m_data,0,sizeof(m_data));
}
-midway_serial_pic_device::midway_serial_pic_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
+midway_serial_pic_device::midway_serial_pic_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
m_upper(0),
m_buff(0),
@@ -214,7 +214,7 @@ const device_type MIDWAY_SERIAL_PIC2 = &device_creator<midway_serial_pic2_device
// midway_serial_pic2_device - constructor
//-------------------------------------------------
-midway_serial_pic2_device::midway_serial_pic2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+midway_serial_pic2_device::midway_serial_pic2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
midway_serial_pic_device(mconfig, MIDWAY_SERIAL_PIC2, "Midway Serial Pic 2", tag, owner, clock, "midway_serial_pic2", __FILE__),
device_nvram_interface(mconfig, *this),
m_latch(0),
@@ -234,7 +234,7 @@ midway_serial_pic2_device::midway_serial_pic2_device(const machine_config &mconf
}
-midway_serial_pic2_device::midway_serial_pic2_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
+midway_serial_pic2_device::midway_serial_pic2_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
midway_serial_pic_device(mconfig, type, name, tag, owner, clock, shortname, source),
device_nvram_interface(mconfig, *this),
m_latch(0),
@@ -591,7 +591,7 @@ const device_type MIDWAY_IOASIC = &device_creator<midway_ioasic_device>;
// midway_serial_pic2_device - constructor
//-------------------------------------------------
-midway_ioasic_device::midway_ioasic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+midway_ioasic_device::midway_ioasic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
midway_serial_pic2_device(mconfig, MIDWAY_IOASIC, "Midway IOASIC", tag, owner, clock, "midway_ioasic", __FILE__),
m_has_dcs(0),
m_has_cage(0),
diff --git a/src/mame/machine/midwayic.h b/src/mame/machine/midwayic.h
index 385234c5a66..433e2bcbb4a 100644
--- a/src/mame/machine/midwayic.h
+++ b/src/mame/machine/midwayic.h
@@ -18,8 +18,8 @@ class midway_serial_pic_device : public device_t
{
public:
// construction/destruction
- midway_serial_pic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- midway_serial_pic_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ midway_serial_pic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ midway_serial_pic_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
static void static_set_upper(device_t &device, int upper) { downcast<midway_serial_pic_device &>(device).m_upper = upper; }
@@ -61,8 +61,8 @@ class midway_serial_pic2_device : public midway_serial_pic_device,
{
public:
// construction/destruction
- midway_serial_pic2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- midway_serial_pic2_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ midway_serial_pic2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ midway_serial_pic2_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
static void static_set_yearoffs(device_t &device, int yearoffs) { downcast<midway_serial_pic2_device &>(device).m_yearoffs = yearoffs; }
@@ -119,7 +119,7 @@ class midway_ioasic_device : public midway_serial_pic2_device
{
public:
// construction/destruction
- midway_ioasic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ midway_ioasic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
static void static_set_shuffle(device_t &device, UINT8 shuffle) { downcast<midway_ioasic_device &>(device).m_shuffle_type = shuffle; }
static void static_set_shuffle_default(device_t &device, UINT8 shuffle) { downcast<midway_ioasic_device &>(device).m_shuffle_default = shuffle; }
diff --git a/src/mame/machine/mie.cpp b/src/mame/machine/mie.cpp
index 55bac6f038f..010df09a3a9 100644
--- a/src/mame/machine/mie.cpp
+++ b/src/mame/machine/mie.cpp
@@ -87,12 +87,12 @@ machine_config_constructor mie_device::device_mconfig_additions() const
return MACHINE_CONFIG_NAME(mie);
}
-mie_jvs_device::mie_jvs_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+mie_jvs_device::mie_jvs_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: jvs_host(mconfig, MIE_JVS, "JVS (MIE)", tag, owner, clock, "mie_jvs", __FILE__)
{
}
-mie_device::mie_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+mie_device::mie_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: maple_device(mconfig, MIE, "Sega 315-6146 MIE", tag, owner, clock, "mie", __FILE__)
{
memset(gpio_name, 0, sizeof(gpio_name));
diff --git a/src/mame/machine/mie.h b/src/mame/machine/mie.h
index fa50c4d5756..438138384df 100644
--- a/src/mame/machine/mie.h
+++ b/src/mame/machine/mie.h
@@ -28,7 +28,7 @@ class mie_jvs_device;
class mie_device : public maple_device
{
public:
- mie_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ mie_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
static void static_set_gpio_name(device_t &device, int entry, const char *name);
static void static_set_jvs_name(device_t &device, const char *name);
@@ -123,7 +123,7 @@ public:
friend class mie_device;
// construction/destruction
- mie_jvs_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ mie_jvs_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
diff --git a/src/mame/machine/mm1kb.cpp b/src/mame/machine/mm1kb.cpp
index 88faf286961..7c40a7b82d5 100644
--- a/src/mame/machine/mm1kb.cpp
+++ b/src/mame/machine/mm1kb.cpp
@@ -205,7 +205,7 @@ ioport_constructor mm1_keyboard_t::device_input_ports() const
// mm1_keyboard_t - constructor
//-------------------------------------------------
-mm1_keyboard_t::mm1_keyboard_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+mm1_keyboard_t::mm1_keyboard_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, MM1_KEYBOARD, "MikroMikko 1 keyboard", tag, owner, clock, "mm1kb", __FILE__),
m_write_kbst(*this),
m_samples(*this, "keyboard_and_chassis_sounds"),
diff --git a/src/mame/machine/mm1kb.h b/src/mame/machine/mm1kb.h
index 594608696b3..54149450358 100644
--- a/src/mame/machine/mm1kb.h
+++ b/src/mame/machine/mm1kb.h
@@ -35,7 +35,7 @@ class mm1_keyboard_t : public device_t
{
public:
// construction/destruction
- mm1_keyboard_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ mm1_keyboard_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_kbst_wr_callback(device_t &device, _Object object) { return downcast<mm1_keyboard_t &>(device).m_write_kbst.set_callback(object); }
diff --git a/src/mame/machine/ms7004.cpp b/src/mame/machine/ms7004.cpp
index f0f9d2ad10d..cce0546f192 100644
--- a/src/mame/machine/ms7004.cpp
+++ b/src/mame/machine/ms7004.cpp
@@ -354,7 +354,7 @@ ioport_constructor ms7004_device::device_input_ports() const
// ms7004_device - constructor
//-------------------------------------------------
-ms7004_device::ms7004_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ms7004_device::ms7004_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MS7004, "MS7004 keyboard", tag, owner, clock, "ms7004", __FILE__),
m_maincpu(*this, MS7004_CPU_TAG),
m_speaker(*this, MS7004_SPK_TAG),
@@ -416,7 +416,7 @@ WRITE8_MEMBER( ms7004_device::p1_w )
6
7 Serial TX
*/
- DBG_LOG(2,0,( "%s: p1_w %02x = send %d\n", tag(), data, BIT(data, 7)));
+ DBG_LOG(2,0,( "%s: p1_w %02x = send %d\n", tag().c_str(), data, BIT(data, 7)));
m_p1 = data;
m_tx_handler(BIT(data, 7));
@@ -441,7 +441,7 @@ WRITE8_MEMBER( ms7004_device::p2_w )
6 LED "Caps"
7 LED "Hold"
*/
- DBG_LOG(2,0,( "%s: p2_w %02x = col %d\n", tag(), data, data&15));
+ DBG_LOG(2,0,( "%s: p2_w %02x = col %d\n", tag().c_str(), data, data&15));
m_p2 = data;
m_i8243->i8243_p2_w(space, offset, data);
@@ -457,7 +457,7 @@ WRITE8_MEMBER( ms7004_device::i8243_port_w )
int sense = 0;
DBG_LOG(2,0,( "%s: 8243 port %d data %02xH\n",
- tag(), offset + 4, data));
+ tag().c_str(), offset + 4, data));
if (data) {
switch(offset << 4 | data) {
@@ -481,7 +481,7 @@ WRITE8_MEMBER( ms7004_device::i8243_port_w )
m_keylatch = BIT(sense, (m_p1 & 7));
if (m_keylatch)
DBG_LOG(1,0,( "%s: row %d col %02x t1 %d\n",
- tag(), (m_p1 & 7), (offset << 4 | data), m_keylatch));
+ tag().c_str(), (m_p1 & 7), (offset << 4 | data), m_keylatch));
}
}
diff --git a/src/mame/machine/ms7004.h b/src/mame/machine/ms7004.h
index 1ceca1b46b6..00189cff641 100644
--- a/src/mame/machine/ms7004.h
+++ b/src/mame/machine/ms7004.h
@@ -33,7 +33,7 @@ class ms7004_device : public device_t //, public device_serial_interface
{
public:
// construction/destruction
- ms7004_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ms7004_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_tx_handler(device_t &device, _Object wr) { return downcast<ms7004_device &>(device).m_tx_handler.set_callback(wr); }
diff --git a/src/mame/machine/msx_matsushita.cpp b/src/mame/machine/msx_matsushita.cpp
index dd00841f5eb..d687b228515 100644
--- a/src/mame/machine/msx_matsushita.cpp
+++ b/src/mame/machine/msx_matsushita.cpp
@@ -7,7 +7,7 @@
const device_type MSX_MATSUSHITA = &device_creator<msx_matsushita_device>;
-msx_matsushita_device::msx_matsushita_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+msx_matsushita_device::msx_matsushita_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: msx_switched_device(mconfig, MSX_MATSUSHITA, "Matsushita switched device", tag, owner, clock, "msx_matsushita", __FILE__)
, m_io_config(*this, "CONFIG")
, m_nvram(*this, "nvram")
diff --git a/src/mame/machine/msx_matsushita.h b/src/mame/machine/msx_matsushita.h
index 70a30d705a6..9c71e424537 100644
--- a/src/mame/machine/msx_matsushita.h
+++ b/src/mame/machine/msx_matsushita.h
@@ -21,7 +21,7 @@ extern const device_type MSX_MATSUSHITA;
class msx_matsushita_device : public msx_switched_device
{
public:
- msx_matsushita_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ msx_matsushita_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_turbo_callback(device_t &device, _Object object) { return downcast<msx_matsushita_device &>(device).m_turbo_out_cb.set_callback(object); }
diff --git a/src/mame/machine/msx_s1985.cpp b/src/mame/machine/msx_s1985.cpp
index 762b82afa8f..eeb2affe463 100644
--- a/src/mame/machine/msx_s1985.cpp
+++ b/src/mame/machine/msx_s1985.cpp
@@ -7,7 +7,7 @@
const device_type MSX_S1985 = &device_creator<msx_s1985_device>;
-msx_s1985_device::msx_s1985_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+msx_s1985_device::msx_s1985_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: msx_switched_device(mconfig, MSX_S1985, "MSX-Engine S1985", tag, owner, clock, "msx_s1985", __FILE__)
, m_6_1(0)
, m_6_2(0)
diff --git a/src/mame/machine/msx_s1985.h b/src/mame/machine/msx_s1985.h
index 0a741ce5071..8d61855f57e 100644
--- a/src/mame/machine/msx_s1985.h
+++ b/src/mame/machine/msx_s1985.h
@@ -17,7 +17,7 @@ extern const device_type MSX_S1985;
class msx_s1985_device : public msx_switched_device
{
public:
- msx_s1985_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ msx_s1985_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual UINT8 get_id() override;
diff --git a/src/mame/machine/msx_switched.cpp b/src/mame/machine/msx_switched.cpp
index f810f2c2dc2..9ec492934b7 100644
--- a/src/mame/machine/msx_switched.cpp
+++ b/src/mame/machine/msx_switched.cpp
@@ -4,7 +4,7 @@
#include "msx_switched.h"
-msx_switched_device::msx_switched_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+msx_switched_device::msx_switched_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source)
{
}
diff --git a/src/mame/machine/msx_switched.h b/src/mame/machine/msx_switched.h
index 2b3c3c02c17..42a643bded6 100644
--- a/src/mame/machine/msx_switched.h
+++ b/src/mame/machine/msx_switched.h
@@ -7,7 +7,7 @@
class msx_switched_device : public device_t
{
public:
- msx_switched_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ msx_switched_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
virtual UINT8 get_id() = 0;
diff --git a/src/mame/machine/msx_systemflags.cpp b/src/mame/machine/msx_systemflags.cpp
index ee443f79471..52268e0b24d 100644
--- a/src/mame/machine/msx_systemflags.cpp
+++ b/src/mame/machine/msx_systemflags.cpp
@@ -7,7 +7,7 @@
const device_type MSX_SYSTEMFLAGS = &device_creator<msx_systemflags_device>;
-msx_systemflags_device::msx_systemflags_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+msx_systemflags_device::msx_systemflags_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MSX_SYSTEMFLAGS, "MSX System Flags", tag, owner, clock, "msx_systemflags", __FILE__)
, m_initial_value(0xff)
, m_system_flags(0xff)
diff --git a/src/mame/machine/msx_systemflags.h b/src/mame/machine/msx_systemflags.h
index 65e7bdb87ba..a066e757468 100644
--- a/src/mame/machine/msx_systemflags.h
+++ b/src/mame/machine/msx_systemflags.h
@@ -20,7 +20,7 @@ extern const device_type MSX_SYSTEMFLAGS;
class msx_systemflags_device : public device_t
{
public:
- msx_systemflags_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ msx_systemflags_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration helpers
static void set_initial_value(device_t &device, UINT8 initial_value) { dynamic_cast<msx_systemflags_device &>(device).m_initial_value = initial_value; }
diff --git a/src/mame/machine/n64.cpp b/src/mame/machine/n64.cpp
index 4918f1a1613..c93a870bbec 100644
--- a/src/mame/machine/n64.cpp
+++ b/src/mame/machine/n64.cpp
@@ -20,7 +20,7 @@ const device_type N64PERIPH = &device_creator<n64_periphs>;
-n64_periphs::n64_periphs(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+n64_periphs::n64_periphs(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, N64PERIPH, "N64 Periphal Chips", tag, owner, clock, "n64_periphs", __FILE__)
, device_video_interface(mconfig, *this)
, m_nvram_image(nullptr)
diff --git a/src/mame/machine/namco06.cpp b/src/mame/machine/namco06.cpp
index f8b6703f530..152f232eeca 100644
--- a/src/mame/machine/namco06.cpp
+++ b/src/mame/machine/namco06.cpp
@@ -92,11 +92,11 @@ TIMER_CALLBACK_MEMBER( namco_06xx_device::nmi_generate )
{
if (!m_nmicpu->suspended(SUSPEND_REASON_HALT | SUSPEND_REASON_RESET | SUSPEND_REASON_DISABLE))
{
- LOG(("NMI cpu '%s'\n",m_nmicpu->tag()));
+ LOG(("NMI cpu '%s'\n",m_nmicpu->tag().c_str()));
m_nmicpu->set_input_line(INPUT_LINE_NMI, PULSE_LINE);
}
else
- LOG(("NMI not generated because cpu '%s' is suspended\n",m_nmicpu->tag()));
+ LOG(("NMI not generated because cpu '%s' is suspended\n",m_nmicpu->tag().c_str()));
}
@@ -104,11 +104,11 @@ READ8_MEMBER( namco_06xx_device::data_r )
{
UINT8 result = 0xff;
- LOG(("%s: 06XX '%s' read offset %d\n",machine().describe_context(),tag(),offset));
+ LOG(("%s: 06XX '%s' read offset %d\n",machine().describe_context(),tag().c_str(),offset));
if (!(m_control & 0x10))
{
- logerror("%s: 06XX '%s' read in write mode %02x\n",machine().describe_context(),tag(),m_control);
+ logerror("%s: 06XX '%s' read in write mode %02x\n",machine().describe_context(),tag().c_str(),m_control);
return 0;
}
@@ -123,11 +123,11 @@ READ8_MEMBER( namco_06xx_device::data_r )
WRITE8_MEMBER( namco_06xx_device::data_w )
{
- LOG(("%s: 06XX '%s' write offset %d = %02x\n",machine().describe_context(),tag(),offset,data));
+ LOG(("%s: 06XX '%s' write offset %d = %02x\n",machine().describe_context(),tag().c_str(),offset,data));
if (m_control & 0x10)
{
- logerror("%s: 06XX '%s' write in read mode %02x\n",machine().describe_context(),tag(),m_control);
+ logerror("%s: 06XX '%s' write in read mode %02x\n",machine().describe_context(),tag().c_str(),m_control);
return;
}
if ((m_control & (1 << 0)) && !m_write_0.isnull()) m_write_0(space, 0, data);
@@ -139,13 +139,13 @@ WRITE8_MEMBER( namco_06xx_device::data_w )
READ8_MEMBER( namco_06xx_device::ctrl_r )
{
- LOG(("%s: 06XX '%s' ctrl_r\n",machine().describe_context(),tag()));
+ LOG(("%s: 06XX '%s' ctrl_r\n",machine().describe_context(),tag().c_str()));
return m_control;
}
WRITE8_MEMBER( namco_06xx_device::ctrl_w )
{
- LOG(("%s: 06XX '%s' control %02x\n",space.machine().describe_context(),tag(),data));
+ LOG(("%s: 06XX '%s' control %02x\n",space.machine().describe_context(),tag().c_str(),data));
m_control = data;
@@ -176,7 +176,7 @@ WRITE8_MEMBER( namco_06xx_device::ctrl_w )
const device_type NAMCO_06XX = &device_creator<namco_06xx_device>;
-namco_06xx_device::namco_06xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco_06xx_device::namco_06xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NAMCO_06XX, "Namco 06xx", tag, owner, clock, "namco06xx", __FILE__),
m_control(0),
m_nmicpu(*this),
diff --git a/src/mame/machine/namco06.h b/src/mame/machine/namco06.h
index 446009dbcec..d6d4793afd2 100644
--- a/src/mame/machine/namco06.h
+++ b/src/mame/machine/namco06.h
@@ -63,9 +63,9 @@ struct namco_06xx_config
class namco_06xx_device : public device_t
{
public:
- namco_06xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco_06xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
- static void set_maincpu(device_t &device, const char *tag) { downcast<namco_06xx_device &>(device).m_nmicpu.set_tag(tag); }
+ static void set_maincpu(device_t &device, std::string tag) { downcast<namco_06xx_device &>(device).m_nmicpu.set_tag(tag); }
template<class _Object> static devcb_base &set_read_0_callback(device_t &device, _Object object) { return downcast<namco_06xx_device &>(device).m_read_0.set_callback(object); }
template<class _Object> static devcb_base &set_read_1_callback(device_t &device, _Object object) { return downcast<namco_06xx_device &>(device).m_read_1.set_callback(object); }
diff --git a/src/mame/machine/namco50.cpp b/src/mame/machine/namco50.cpp
index 8967806295a..7e429664cca 100644
--- a/src/mame/machine/namco50.cpp
+++ b/src/mame/machine/namco50.cpp
@@ -239,7 +239,7 @@ ROM_END
const device_type NAMCO_50XX = &device_creator<namco_50xx_device>;
-namco_50xx_device::namco_50xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco_50xx_device::namco_50xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NAMCO_50XX, "Namco 50xx", tag, owner, clock, "namco50", __FILE__),
m_cpu(*this, "mcu"),
m_latched_cmd(0),
diff --git a/src/mame/machine/namco50.h b/src/mame/machine/namco50.h
index 320e785fafa..e51ebebedf0 100644
--- a/src/mame/machine/namco50.h
+++ b/src/mame/machine/namco50.h
@@ -13,7 +13,7 @@
class namco_50xx_device : public device_t
{
public:
- namco_50xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco_50xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
WRITE8_MEMBER( write );
WRITE_LINE_MEMBER(read_request);
diff --git a/src/mame/machine/namco51.cpp b/src/mame/machine/namco51.cpp
index 2cd77ab69b5..17cffd5e9c1 100644
--- a/src/mame/machine/namco51.cpp
+++ b/src/mame/machine/namco51.cpp
@@ -342,7 +342,7 @@ ROM_END
const device_type NAMCO_51XX = &device_creator<namco_51xx_device>;
-namco_51xx_device::namco_51xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco_51xx_device::namco_51xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NAMCO_51XX, "Namco 51xx", tag, owner, clock, "namco51", __FILE__),
m_cpu(*this, "mcu"),
m_in_0(*this),
diff --git a/src/mame/machine/namco51.h b/src/mame/machine/namco51.h
index 22c7e4e2cdc..72d4a80ffd8 100644
--- a/src/mame/machine/namco51.h
+++ b/src/mame/machine/namco51.h
@@ -30,7 +30,7 @@
class namco_51xx_device : public device_t
{
public:
- namco_51xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco_51xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_input_0_callback(device_t &device, _Object object) { return downcast<namco_51xx_device &>(device).m_in_0.set_callback(object); }
template<class _Object> static devcb_base &set_input_1_callback(device_t &device, _Object object) { return downcast<namco_51xx_device &>(device).m_in_1.set_callback(object); }
diff --git a/src/mame/machine/namco53.cpp b/src/mame/machine/namco53.cpp
index e5e809ec465..ceff9efbd6c 100644
--- a/src/mame/machine/namco53.cpp
+++ b/src/mame/machine/namco53.cpp
@@ -145,7 +145,7 @@ ROM_END
const device_type NAMCO_53XX = &device_creator<namco_53xx_device>;
-namco_53xx_device::namco_53xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco_53xx_device::namco_53xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NAMCO_53XX, "Namco 53xx", tag, owner, clock, "namco53", __FILE__),
m_cpu(*this, "mcu"),
m_portO(0),
diff --git a/src/mame/machine/namco53.h b/src/mame/machine/namco53.h
index 66b60c8c80f..d07c5d73a3e 100644
--- a/src/mame/machine/namco53.h
+++ b/src/mame/machine/namco53.h
@@ -30,7 +30,7 @@
class namco_53xx_device : public device_t
{
public:
- namco_53xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco_53xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_input_0_callback(device_t &device, _Object object) { return downcast<namco_53xx_device &>(device).m_in_0.set_callback(object); }
template<class _Object> static devcb_base &set_input_1_callback(device_t &device, _Object object) { return downcast<namco_53xx_device &>(device).m_in_1.set_callback(object); }
diff --git a/src/mame/machine/namco62.cpp b/src/mame/machine/namco62.cpp
index de6e6067972..0d3f9d8f5d2 100644
--- a/src/mame/machine/namco62.cpp
+++ b/src/mame/machine/namco62.cpp
@@ -44,7 +44,7 @@ ROM_END
const device_type NAMCO_62XX = &device_creator<namco_62xx_device>;
-namco_62xx_device::namco_62xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco_62xx_device::namco_62xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NAMCO_62XX, "Namco 62xx", tag, owner, clock, "namco62", __FILE__),
m_cpu(*this, "mcu"),
m_in_0(*this),
diff --git a/src/mame/machine/namco62.h b/src/mame/machine/namco62.h
index 323c751c789..bb092e448d0 100644
--- a/src/mame/machine/namco62.h
+++ b/src/mame/machine/namco62.h
@@ -30,7 +30,7 @@
class namco_62xx_device : public device_t
{
public:
- namco_62xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco_62xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_input_0_callback(device_t &device, _Object object) { return downcast<namco_62xx_device &>(device).m_in_0.set_callback(object); }
template<class _Object> static devcb_base &set_input_1_callback(device_t &device, _Object object) { return downcast<namco_62xx_device &>(device).m_in_1.set_callback(object); }
diff --git a/src/mame/machine/namco_settings.cpp b/src/mame/machine/namco_settings.cpp
index ba028892786..e8d695d2465 100644
--- a/src/mame/machine/namco_settings.cpp
+++ b/src/mame/machine/namco_settings.cpp
@@ -5,7 +5,7 @@
const device_type NAMCO_SETTINGS = &device_creator<namco_settings_device>;
-namco_settings_device::namco_settings_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+namco_settings_device::namco_settings_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, NAMCO_SETTINGS, "Namco Settings", tag, owner, clock, "namco_settings", __FILE__)
{
}
@@ -31,7 +31,7 @@ WRITE_LINE_MEMBER( namco_settings_device::clk_w )
cur_bit++;
if(cur_bit == 16) {
cur_bit = 0;
- logerror("%s: %02x = %02x\n", tag(), adr, value);
+ logerror("%s: %02x = %02x\n", tag().c_str(), adr, value);
}
}
}
diff --git a/src/mame/machine/namco_settings.h b/src/mame/machine/namco_settings.h
index 8bd18ad4346..618167cf640 100644
--- a/src/mame/machine/namco_settings.h
+++ b/src/mame/machine/namco_settings.h
@@ -11,7 +11,7 @@
class namco_settings_device : public device_t {
public:
- namco_settings_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco_settings_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_WRITE_LINE_MEMBER( ce_w );
DECLARE_WRITE_LINE_MEMBER( clk_w );
diff --git a/src/mame/machine/namcoio.cpp b/src/mame/machine/namcoio.cpp
index 4ac534279ce..cb625654004 100644
--- a/src/mame/machine/namcoio.cpp
+++ b/src/mame/machine/namcoio.cpp
@@ -122,7 +122,7 @@ const device_type NAMCO56XX = &device_creator<namco56xx_device>;
const device_type NAMCO58XX = &device_creator<namco58xx_device>;
const device_type NAMCO59XX = &device_creator<namco59xx_device>;
-namcoio_device::namcoio_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock, const char *shortname)
+namcoio_device::namcoio_device(const machine_config &mconfig, device_type type, const char* name, std::string tag, device_t *owner, UINT32 clock, const char *shortname)
: device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__),
m_in_0_cb(*this),
m_in_1_cb(*this),
@@ -133,19 +133,19 @@ namcoio_device::namcoio_device(const machine_config &mconfig, device_type type,
{
}
-namco56xx_device::namco56xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco56xx_device::namco56xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: namcoio_device(mconfig, NAMCO56XX, "Namco 56xx", tag, owner, clock, "56xx")
{
m_device_type = TYPE_NAMCO56XX;
}
-namco58xx_device::namco58xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco58xx_device::namco58xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: namcoio_device(mconfig, NAMCO58XX, "Namco 58xx", tag, owner, clock, "58xx")
{
m_device_type = TYPE_NAMCO58XX;
}
-namco59xx_device::namco59xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco59xx_device::namco59xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: namcoio_device(mconfig, NAMCO59XX, "Namco 59xx", tag, owner, clock, "59xx")
{
m_device_type = TYPE_NAMCO59XX;
diff --git a/src/mame/machine/namcoio.h b/src/mame/machine/namcoio.h
index b28b2a9117d..db18a9eb976 100644
--- a/src/mame/machine/namcoio.h
+++ b/src/mame/machine/namcoio.h
@@ -11,7 +11,7 @@
class namcoio_device : public device_t
{
public:
- namcoio_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock, const char *shortname);
+ namcoio_device(const machine_config &mconfig, device_type type, const char* name, std::string tag, device_t *owner, UINT32 clock, const char *shortname);
template<class _Object> static devcb_base &set_in_0_callback(device_t &device, _Object object) { return downcast<namcoio_device &>(device).m_in_0_cb.set_callback(object); }
template<class _Object> static devcb_base &set_in_1_callback(device_t &device, _Object object) { return downcast<namcoio_device &>(device).m_in_1_cb.set_callback(object); }
@@ -69,7 +69,7 @@ private:
class namco56xx_device : public namcoio_device
{
public:
- namco56xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco56xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual void customio_run() override;
};
@@ -77,7 +77,7 @@ public:
class namco58xx_device : public namcoio_device
{
public:
- namco58xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco58xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual void customio_run() override;
};
@@ -85,7 +85,7 @@ public:
class namco59xx_device : public namcoio_device
{
public:
- namco59xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco59xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual void customio_run() override;
};
diff --git a/src/mame/machine/namcomcu.cpp b/src/mame/machine/namcomcu.cpp
index 82495680f51..bd585973453 100644
--- a/src/mame/machine/namcomcu.cpp
+++ b/src/mame/machine/namcomcu.cpp
@@ -53,27 +53,27 @@ ROM_START( c76 )
ROM_END
-namco_c69_device::namco_c69_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco_c69_device::namco_c69_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: m37702m2_device(mconfig, NAMCO_C69, "C69 (M37702)", tag, owner, clock, "namcoc69", __FILE__)
{
}
-namco_c70_device::namco_c70_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco_c70_device::namco_c70_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: m37702m2_device(mconfig, NAMCO_C70, "C70 (M37702)", tag, owner, clock, "namcoc70", __FILE__)
{
}
-namco_c74_device::namco_c74_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco_c74_device::namco_c74_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: m37702m2_device(mconfig, NAMCO_C74, "C74 (M37702)", tag, owner, clock, "namcoc74", __FILE__)
{
}
-namco_c75_device::namco_c75_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco_c75_device::namco_c75_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: m37702m2_device(mconfig, NAMCO_C75, "C75 (M37702)", tag, owner, clock, "namcoc75", __FILE__)
{
}
-namco_c76_device::namco_c76_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco_c76_device::namco_c76_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: m37702m2_device(mconfig, NAMCO_C76, "C76 (M37702)", tag, owner, clock, "namcoc76", __FILE__)
{
}
diff --git a/src/mame/machine/namcomcu.h b/src/mame/machine/namcomcu.h
index e4daf70a020..2778787aa77 100644
--- a/src/mame/machine/namcomcu.h
+++ b/src/mame/machine/namcomcu.h
@@ -11,7 +11,7 @@
class namco_c69_device : public m37702m2_device
{
public:
- namco_c69_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco_c69_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual const rom_entry *device_rom_region() const override;
};
@@ -20,7 +20,7 @@ protected:
class namco_c70_device : public m37702m2_device
{
public:
- namco_c70_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco_c70_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual const rom_entry *device_rom_region() const override;
};
@@ -29,7 +29,7 @@ protected:
class namco_c74_device : public m37702m2_device
{
public:
- namco_c74_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco_c74_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual const rom_entry *device_rom_region() const override;
};
@@ -38,7 +38,7 @@ protected:
class namco_c75_device : public m37702m2_device
{
public:
- namco_c75_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco_c75_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual const rom_entry *device_rom_region() const override;
};
@@ -47,7 +47,7 @@ protected:
class namco_c76_device : public m37702m2_device
{
public:
- namco_c76_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco_c76_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual const rom_entry *device_rom_region() const override;
};
diff --git a/src/mame/machine/namcos1.cpp b/src/mame/machine/namcos1.cpp
index 9d7fa409421..e7e8701db7b 100644
--- a/src/mame/machine/namcos1.cpp
+++ b/src/mame/machine/namcos1.cpp
@@ -19,13 +19,13 @@ WRITE8_MEMBER( namcos1_state::_3dcs_w )
READ8_MEMBER( namcos1_state::no_key_r )
{
- popmessage("CPU %s PC %08x: keychip read %04x\n", space.device().tag(), space.device().safe_pc(), offset);
+ popmessage("CPU %s PC %08x: keychip read %04x\n", space.device().tag().c_str(), space.device().safe_pc(), offset);
return 0;
}
WRITE8_MEMBER( namcos1_state::no_key_w )
{
- popmessage("CPU %s PC %08x: keychip write %04x=%02x\n", space.device().tag(), space.device().safe_pc(), offset, data);
+ popmessage("CPU %s PC %08x: keychip write %04x=%02x\n", space.device().tag().c_str(), space.device().safe_pc(), offset, data);
}
@@ -455,14 +455,14 @@ READ8_MEMBER( namcos1_state::key_type3_r )
if (op == m_key_bottom4) return (offset << 4) | (m_key[m_key_swap4_arg] & 0x0f);
if (op == m_key_top4) return (offset << 4) | (m_key[m_key_swap4_arg] >> 4);
- popmessage("CPU %s PC %08x: keychip read %04x", space.device().tag(), space.device().safe_pc(), offset);
+ popmessage("CPU %s PC %08x: keychip read %04x", space.device().tag().c_str(), space.device().safe_pc(), offset);
return 0;
}
WRITE8_MEMBER( namcos1_state::key_type3_w )
{
-// logerror("CPU %s PC %04x: keychip write %04x=%02x\n", space.device().tag(), space.device().safe_pc(), offset, data);
+// logerror("CPU %s PC %04x: keychip write %04x=%02x\n", space.device().tag().c_str(), space.device().safe_pc(), offset, data);
m_key[(offset & 0x70) >> 4] = data;
}
diff --git a/src/mame/machine/naomi.cpp b/src/mame/machine/naomi.cpp
index 72a3a6338b9..96f30efad03 100644
--- a/src/mame/machine/naomi.cpp
+++ b/src/mame/machine/naomi.cpp
@@ -213,7 +213,7 @@ INPUT_CHANGED_MEMBER(naomi_state::naomi_mp_w)
}
CUSTOM_INPUT_MEMBER(naomi_state::naomi_mp_r)
{
- const char *tagptr = (const char *)param;
+ const char * tagptr = (const char *)param;
UINT8 retval = 0;
for (int i = 0x80; i >= 0x08; i >>= 1)
diff --git a/src/mame/machine/naomibd.cpp b/src/mame/machine/naomibd.cpp
index 704c357d70f..f0b6c991bf2 100644
--- a/src/mame/machine/naomibd.cpp
+++ b/src/mame/machine/naomibd.cpp
@@ -65,7 +65,7 @@ DEVICE_ADDRESS_MAP_START(submap, 16, naomi_board)
AM_RANGE(0x00, 0xff) AM_READ(default_r)
ADDRESS_MAP_END
-naomi_board::naomi_board(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+naomi_board::naomi_board(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: naomi_g1_device(mconfig, type, name, tag, owner, clock, shortname, source)
{
eeprom_tag = nullptr;
diff --git a/src/mame/machine/naomibd.h b/src/mame/machine/naomibd.h
index 1b4d2b705c0..3061291ce65 100644
--- a/src/mame/machine/naomibd.h
+++ b/src/mame/machine/naomibd.h
@@ -12,7 +12,7 @@
class naomi_board : public naomi_g1_device
{
public:
- naomi_board(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ naomi_board(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
static void static_set_eeprom_tag(device_t &device, const char *_eeprom_tag, const char *_actel_tag);
diff --git a/src/mame/machine/naomig1.cpp b/src/mame/machine/naomig1.cpp
index 1a4cea48b13..8221db382db 100644
--- a/src/mame/machine/naomig1.cpp
+++ b/src/mame/machine/naomig1.cpp
@@ -25,7 +25,7 @@ DEVICE_ADDRESS_MAP_START(amap, 32, naomi_g1_device)
AM_RANGE(0xf8, 0xfb) AM_READ(sb_gdlend_r)
ADDRESS_MAP_END
-naomi_g1_device::naomi_g1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+naomi_g1_device::naomi_g1_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
irq_cb(*this)
{
diff --git a/src/mame/machine/naomig1.h b/src/mame/machine/naomig1.h
index 0ab82cf134f..717467ab50e 100644
--- a/src/mame/machine/naomig1.h
+++ b/src/mame/machine/naomig1.h
@@ -18,7 +18,7 @@ public:
typedef delegate<void (UINT32 main_adr, void *dma_ptr, UINT32 length, UINT32 size, bool to_mainram)> dma_cb;
- naomi_g1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ naomi_g1_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
template<class _cb> void set_irq_cb(_cb cb) { irq_cb.set_callback(cb); }
void set_dma_cb(dma_cb _cb) { _dma_cb = _cb; }
diff --git a/src/mame/machine/naomigd.cpp b/src/mame/machine/naomigd.cpp
index 28dc2ccb3e6..9f5fbca28af 100644
--- a/src/mame/machine/naomigd.cpp
+++ b/src/mame/machine/naomigd.cpp
@@ -326,7 +326,7 @@ void naomi_gdrom_board::write_from_qword(UINT8 *region, UINT64 qword)
region[i] = qword >> (56-(i*8));
}
-naomi_gdrom_board::naomi_gdrom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+naomi_gdrom_board::naomi_gdrom_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: naomi_board(mconfig, NAOMI_GDROM_BOARD, "Sega NAOMI GDROM Board", tag, owner, clock, "naomi_gdrom_board", __FILE__)
{
image_tag = nullptr;
diff --git a/src/mame/machine/naomigd.h b/src/mame/machine/naomigd.h
index 6f9e434ec13..75be1c22980 100644
--- a/src/mame/machine/naomigd.h
+++ b/src/mame/machine/naomigd.h
@@ -12,7 +12,7 @@
class naomi_gdrom_board : public naomi_board
{
public:
- naomi_gdrom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ naomi_gdrom_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
static void static_set_tags(device_t &device, const char *_image_tag, const char *_pic_tag);
diff --git a/src/mame/machine/naomim1.cpp b/src/mame/machine/naomim1.cpp
index 7e205ce1ee7..98fa787d0fd 100644
--- a/src/mame/machine/naomim1.cpp
+++ b/src/mame/machine/naomim1.cpp
@@ -12,7 +12,7 @@ DEVICE_ADDRESS_MAP_START(submap, 16, naomi_m1_board)
AM_INHERIT_FROM(naomi_board::submap)
ADDRESS_MAP_END
-naomi_m1_board::naomi_m1_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+naomi_m1_board::naomi_m1_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: naomi_board(mconfig, NAOMI_M1_BOARD, "Sega NAOMI M1 Board", tag, owner, clock, "naomi_m1_board", __FILE__)
{
}
@@ -37,7 +37,7 @@ void naomi_m1_board::device_start()
key = strtoll(skey.c_str(), nullptr, 16);
else
{
- logerror("%s: Warning: key not provided\n", tag());
+ logerror("%s: Warning: key not provided\n", tag().c_str());
key = 0;
}
diff --git a/src/mame/machine/naomim1.h b/src/mame/machine/naomim1.h
index 37c5a58739b..290e4d5e5d8 100644
--- a/src/mame/machine/naomim1.h
+++ b/src/mame/machine/naomim1.h
@@ -11,7 +11,7 @@
class naomi_m1_board : public naomi_board
{
public:
- naomi_m1_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ naomi_m1_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual DECLARE_ADDRESS_MAP(submap, 16) override;
diff --git a/src/mame/machine/naomim2.cpp b/src/mame/machine/naomim2.cpp
index 516da16435e..34cb957a0ab 100644
--- a/src/mame/machine/naomim2.cpp
+++ b/src/mame/machine/naomim2.cpp
@@ -111,7 +111,7 @@ note: if ROM is not mounted its area readed as 0xFF
const device_type NAOMI_M2_BOARD = &device_creator<naomi_m2_board>;
-naomi_m2_board::naomi_m2_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+naomi_m2_board::naomi_m2_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: naomi_board(mconfig, NAOMI_M2_BOARD, "Sega NAOMI M2 Board", tag, owner, clock, "naomi_m2_board", __FILE__),
m_cryptdevice(*this, "segam2crypt")
{
diff --git a/src/mame/machine/naomim2.h b/src/mame/machine/naomim2.h
index ae1bdf3fed8..9da797bf357 100644
--- a/src/mame/machine/naomim2.h
+++ b/src/mame/machine/naomim2.h
@@ -13,7 +13,7 @@
class naomi_m2_board : public naomi_board
{
public:
- naomi_m2_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ naomi_m2_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
UINT32 rom_cur_address;
static const int RAM_SIZE = 65536;
std::unique_ptr<UINT8[]> ram;
diff --git a/src/mame/machine/naomim4.cpp b/src/mame/machine/naomim4.cpp
index 40ced99ea5a..9f5de2309a4 100644
--- a/src/mame/machine/naomim4.cpp
+++ b/src/mame/machine/naomim4.cpp
@@ -46,7 +46,7 @@ DEVICE_ADDRESS_MAP_START(submap, 16, naomi_m4_board)
AM_INHERIT_FROM(naomi_board::submap)
ADDRESS_MAP_END
-naomi_m4_board::naomi_m4_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+naomi_m4_board::naomi_m4_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: naomi_board(mconfig, NAOMI_M4_BOARD, "Sega NAOMI M4 Board", tag, owner, clock, "naomi_m4_board", __FILE__)
{
key_tag = nullptr;
diff --git a/src/mame/machine/naomim4.h b/src/mame/machine/naomim4.h
index 650ed901c24..ae544e0e3e3 100644
--- a/src/mame/machine/naomim4.h
+++ b/src/mame/machine/naomim4.h
@@ -12,7 +12,7 @@
class naomi_m4_board : public naomi_board
{
public:
- naomi_m4_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ naomi_m4_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
static void static_set_tags(device_t &device, const char *_key_tag);
diff --git a/src/mame/machine/naomirom.cpp b/src/mame/machine/naomirom.cpp
index 5f074d16ec6..d8ed31026fe 100644
--- a/src/mame/machine/naomirom.cpp
+++ b/src/mame/machine/naomirom.cpp
@@ -5,7 +5,7 @@
const device_type NAOMI_ROM_BOARD = &device_creator<naomi_rom_board>;
-naomi_rom_board::naomi_rom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+naomi_rom_board::naomi_rom_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: naomi_board(mconfig, NAOMI_ROM_BOARD, "Sega NAOMI ROM Board", tag, owner, clock, "naomi_rom_board", __FILE__)
{
}
diff --git a/src/mame/machine/naomirom.h b/src/mame/machine/naomirom.h
index f23268cfa32..20fdf43f31b 100644
--- a/src/mame/machine/naomirom.h
+++ b/src/mame/machine/naomirom.h
@@ -11,7 +11,7 @@
class naomi_rom_board : public naomi_board
{
public:
- naomi_rom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ naomi_rom_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual void device_start() override;
diff --git a/src/mame/machine/nb1413m3.cpp b/src/mame/machine/nb1413m3.cpp
index b8992261f2c..9249235204f 100644
--- a/src/mame/machine/nb1413m3.cpp
+++ b/src/mame/machine/nb1413m3.cpp
@@ -23,7 +23,7 @@ Memo:
const device_type NB1413M3 = &device_creator<nb1413m3_device>;
-nb1413m3_device::nb1413m3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+nb1413m3_device::nb1413m3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NB1413M3, "NB1413M3 Mahjong Custom", tag, owner, clock, "nb1413m3", __FILE__),
m_sndromrgntag("voice"),
m_sndrombank1(0),
diff --git a/src/mame/machine/nb1414m4.cpp b/src/mame/machine/nb1414m4.cpp
index 07fc537fd6c..5603f0c0f50 100644
--- a/src/mame/machine/nb1414m4.cpp
+++ b/src/mame/machine/nb1414m4.cpp
@@ -32,7 +32,7 @@ Notes:
const device_type NB1414M4 = &device_creator<nb1414m4_device>;
-nb1414m4_device::nb1414m4_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+nb1414m4_device::nb1414m4_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NB1414M4, "NB1414M4 Mahjong Custom", tag, owner, clock, "nb1414m4", __FILE__),
device_video_interface(mconfig, *this),
m_data(nullptr)
diff --git a/src/mame/machine/nextkbd.cpp b/src/mame/machine/nextkbd.cpp
index 7ff946b7916..db5e0066185 100644
--- a/src/mame/machine/nextkbd.cpp
+++ b/src/mame/machine/nextkbd.cpp
@@ -14,7 +14,7 @@ DEVICE_ADDRESS_MAP_START(amap, 32, nextkbd_device)
AM_RANGE(0x8, 0xb) AM_READWRITE(kmdata_r, kmdata_w)
ADDRESS_MAP_END
-nextkbd_device::nextkbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+nextkbd_device::nextkbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, NEXTKBD, "NEXTKBD", tag, owner, clock, "nextkbd", __FILE__),
int_change_cb(*this),
int_power_cb(*this),
@@ -161,31 +161,31 @@ bool nextkbd_device::fifo_empty() const
READ8_MEMBER( nextkbd_device::status_snd_r )
{
- logerror("%s: status_snd_r %02x (%08x)\n", tag(), ctrl_snd, (unsigned int)space.device().safe_pc());
+ logerror("%s: status_snd_r %02x (%08x)\n", tag().c_str(), ctrl_snd, (unsigned int)space.device().safe_pc());
return ctrl_snd;
}
READ8_MEMBER( nextkbd_device::status_kms_r )
{
- logerror("%s: status_kms_r %02x (%08x)\n", tag(), ctrl_kms, (unsigned int)space.device().safe_pc());
+ logerror("%s: status_kms_r %02x (%08x)\n", tag().c_str(), ctrl_kms, (unsigned int)space.device().safe_pc());
return ctrl_kms;
}
READ8_MEMBER( nextkbd_device::status_dma_r )
{
- logerror("%s: status_dma_r %02x (%08x)\n", tag(), ctrl_dma, (unsigned int)space.device().safe_pc());
+ logerror("%s: status_dma_r %02x (%08x)\n", tag().c_str(), ctrl_dma, (unsigned int)space.device().safe_pc());
return ctrl_dma;
}
READ8_MEMBER( nextkbd_device::status_cmd_r )
{
- logerror("%s: status_cmd_r %02x (%08x)\n", tag(), ctrl_cmd, (unsigned int)space.device().safe_pc());
+ logerror("%s: status_cmd_r %02x (%08x)\n", tag().c_str(), ctrl_cmd, (unsigned int)space.device().safe_pc());
return ctrl_cmd;
}
READ32_MEMBER( nextkbd_device::cdata_r )
{
- logerror("%s: cdata_r %08x @ %08x (%08x)\n", tag(), cdata, mem_mask, (unsigned int)space.device().safe_pc());
+ logerror("%s: cdata_r %08x @ %08x (%08x)\n", tag().c_str(), cdata, mem_mask, (unsigned int)space.device().safe_pc());
return cdata;
}
@@ -195,7 +195,7 @@ READ32_MEMBER( nextkbd_device::kmdata_r )
ctrl_kms &= ~(C_KBD_INTERRUPT|C_KBD_DATA);
if(old & C_KBD_INTERRUPT)
int_change_cb(false);
- logerror("%s: kmdata_r %08x @ %08x (%08x)\n", tag(), kmdata, mem_mask, (unsigned int)space.device().safe_pc());
+ logerror("%s: kmdata_r %08x @ %08x (%08x)\n", tag().c_str(), kmdata, mem_mask, (unsigned int)space.device().safe_pc());
return kmdata;
}
@@ -205,7 +205,7 @@ WRITE8_MEMBER( nextkbd_device::ctrl_snd_w )
ctrl_snd = (ctrl_snd & ~C_SOUND_WMASK) | (data & C_SOUND_WMASK);
UINT8 diff = old ^ ctrl_snd;
- logerror("%s: ctrl_snd_w %02x | %02x (%08x)\n", tag(), ctrl_snd, diff, (unsigned int)space.device().safe_pc());
+ logerror("%s: ctrl_snd_w %02x | %02x (%08x)\n", tag().c_str(), ctrl_snd, diff, (unsigned int)space.device().safe_pc());
}
WRITE8_MEMBER( nextkbd_device::ctrl_kms_w )
@@ -214,7 +214,7 @@ WRITE8_MEMBER( nextkbd_device::ctrl_kms_w )
ctrl_kms = (ctrl_kms & ~C_KMS_WMASK) | (data & C_KMS_WMASK);
UINT8 diff = old ^ ctrl_kms;
- logerror("%s: ctrl_kms_w %02x | %02x (%08x)\n", tag(), ctrl_kms, diff, (unsigned int)space.device().safe_pc());
+ logerror("%s: ctrl_kms_w %02x | %02x (%08x)\n", tag().c_str(), ctrl_kms, diff, (unsigned int)space.device().safe_pc());
}
WRITE8_MEMBER( nextkbd_device::ctrl_dma_w )
@@ -223,25 +223,25 @@ WRITE8_MEMBER( nextkbd_device::ctrl_dma_w )
ctrl_dma = (ctrl_dma & ~C_WMASK) | (data & C_WMASK);
UINT8 diff = old ^ ctrl_dma;
- logerror("%s: ctrl_dma_w %02x | %02x (%08x)\n", tag(), ctrl_dma, diff, (unsigned int)space.device().safe_pc());
+ logerror("%s: ctrl_dma_w %02x | %02x (%08x)\n", tag().c_str(), ctrl_dma, diff, (unsigned int)space.device().safe_pc());
}
WRITE8_MEMBER( nextkbd_device::ctrl_cmd_w )
{
ctrl_cmd = data;
- logerror("%s: ctrl_cmd_w %02x (%08x)\n", tag(), ctrl_cmd, (unsigned int)space.device().safe_pc());
+ logerror("%s: ctrl_cmd_w %02x (%08x)\n", tag().c_str(), ctrl_cmd, (unsigned int)space.device().safe_pc());
}
WRITE32_MEMBER( nextkbd_device::cdata_w )
{
COMBINE_DATA(&cdata);
- logerror("%s: cdata_w %08x @ %08x (%08x)\n", tag(), data, mem_mask, (unsigned int)space.device().safe_pc());
+ logerror("%s: cdata_w %08x @ %08x (%08x)\n", tag().c_str(), data, mem_mask, (unsigned int)space.device().safe_pc());
handle_command();
}
WRITE32_MEMBER( nextkbd_device::kmdata_w )
{
- logerror("%s: kmdata_w %08x @ %08x (%08x)\n", tag(), data, mem_mask, (unsigned int)space.device().safe_pc());
+ logerror("%s: kmdata_w %08x @ %08x (%08x)\n", tag().c_str(), data, mem_mask, (unsigned int)space.device().safe_pc());
}
INPUT_CHANGED_MEMBER( nextkbd_device::update )
@@ -289,7 +289,7 @@ INPUT_CHANGED_MEMBER( nextkbd_device::update )
void nextkbd_device::handle_fifo_command()
{
- logerror("%s: Fifo command %08x?\n", tag(), cdata);
+ logerror("%s: Fifo command %08x?\n", tag().c_str(), cdata);
fifo_ir = 0;
fifo_iw = 0;
fifo_size = 0;
@@ -303,18 +303,18 @@ void nextkbd_device::handle_kbd_command()
{
switch(cdata >> 24) {
case 0x00:
- logerror("%s: Keyboard LED control %06x?\n", tag(), cdata & 0xffffff);
+ logerror("%s: Keyboard LED control %06x?\n", tag().c_str(), cdata & 0xffffff);
ctrl_kms |= C_KBD_DATA; // Hmmmm. The rom wants it, but I'm not sure if data is actually expected
break;
case 0xef:
- logerror("%s: Set keyboard/mouse address to %d\n", tag(), (cdata >> 17) & 7);
+ logerror("%s: Set keyboard/mouse address to %d\n", tag().c_str(), (cdata >> 17) & 7);
km_address = ((cdata >> 17) & 7) << 25;
ctrl_kms |= C_KBD_DATA; // Hmmmm. The rom wants it, but I'm not sure if data is actually expected
break;
default:
- logerror("%s: Unhandled keyboard command %02x.%06x\n", tag(), cdata >> 24, cdata & 0xffffff);
+ logerror("%s: Unhandled keyboard command %02x.%06x\n", tag().c_str(), cdata >> 24, cdata & 0xffffff);
break;
}
}
@@ -331,7 +331,7 @@ void nextkbd_device::handle_command()
break;
default:
- logerror("%s: Unhandled command %02x.%08x\n", tag(), ctrl_cmd, cdata);
+ logerror("%s: Unhandled command %02x.%08x\n", tag().c_str(), ctrl_cmd, cdata);
break;
}
}
diff --git a/src/mame/machine/nextkbd.h b/src/mame/machine/nextkbd.h
index ed233dd8ecd..53c58247b84 100644
--- a/src/mame/machine/nextkbd.h
+++ b/src/mame/machine/nextkbd.h
@@ -16,7 +16,7 @@
class nextkbd_device : public device_t {
public:
- nextkbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ nextkbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_int_change_wr_callback(device_t &device, _Object object) { return downcast<nextkbd_device &>(device).int_change_cb.set_callback(object); }
template<class _Object> static devcb_base &set_int_power_wr_callback(device_t &device, _Object object) { return downcast<nextkbd_device &>(device).int_power_cb.set_callback(object); }
diff --git a/src/mame/machine/nextmo.cpp b/src/mame/machine/nextmo.cpp
index 20cfba9aa6c..4ea3c95fb47 100644
--- a/src/mame/machine/nextmo.cpp
+++ b/src/mame/machine/nextmo.cpp
@@ -18,7 +18,7 @@ DEVICE_ADDRESS_MAP_START(map, 8, nextmo_device)
AM_RANGE(0x10, 0x17) AM_READWRITE(r10_r, r10_w)
ADDRESS_MAP_END
-nextmo_device::nextmo_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+nextmo_device::nextmo_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, NEXTMO, "NeXT Magneto-optical drive", tag, owner, clock, "nextmo", __FILE__),
r4(0),
irq_cb(*this),
diff --git a/src/mame/machine/nextmo.h b/src/mame/machine/nextmo.h
index a219f159be2..5ccc4a17208 100644
--- a/src/mame/machine/nextmo.h
+++ b/src/mame/machine/nextmo.h
@@ -12,7 +12,7 @@
class nextmo_device : public device_t
{
public:
- nextmo_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ nextmo_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_irq_wr_callback(device_t &device, _Object object) { return downcast<nextmo_device &>(device).irq_cb.set_callback(object); }
template<class _Object> static devcb_base &set_drq_wr_callback(device_t &device, _Object object) { return downcast<nextmo_device &>(device).drq_cb.set_callback(object); }
diff --git a/src/mame/machine/ng_memcard.cpp b/src/mame/machine/ng_memcard.cpp
index f4c816c6f1c..05515d26696 100644
--- a/src/mame/machine/ng_memcard.cpp
+++ b/src/mame/machine/ng_memcard.cpp
@@ -19,7 +19,7 @@ const device_type NG_MEMCARD = &device_creator<ng_memcard_device>;
// ng_memcard_device - constructor
//-------------------------------------------------
-ng_memcard_device::ng_memcard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ng_memcard_device::ng_memcard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NG_MEMCARD, "NeoGeo Memory Card", tag, owner, clock, "ng_memcard", __FILE__),
device_image_interface(mconfig, *this)
{
diff --git a/src/mame/machine/ng_memcard.h b/src/mame/machine/ng_memcard.h
index 4752c1d1a67..e11e31fb1a1 100644
--- a/src/mame/machine/ng_memcard.h
+++ b/src/mame/machine/ng_memcard.h
@@ -31,7 +31,7 @@ class ng_memcard_device : public device_t,
{
public:
// construction/destruction
- ng_memcard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ng_memcard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual iodevice_t image_type() const override { return IO_MEMCARD; }
diff --git a/src/mame/machine/ngen_kb.cpp b/src/mame/machine/ngen_kb.cpp
index 4c901ea5d41..1dbfa0fdac8 100644
--- a/src/mame/machine/ngen_kb.cpp
+++ b/src/mame/machine/ngen_kb.cpp
@@ -4,7 +4,7 @@
#include "ngen_kb.h"
-ngen_keyboard_device::ngen_keyboard_device(const machine_config& mconfig, const char* tag, device_t* owner, UINT32 clock) :
+ngen_keyboard_device::ngen_keyboard_device(const machine_config& mconfig, std::string tag, device_t* owner, UINT32 clock) :
serial_keyboard_device(mconfig, NGEN_KEYBOARD, "NGEN Keyboard", tag, owner, 0, "ngen_keyboard", __FILE__),
m_keys_down(false)
{
diff --git a/src/mame/machine/ngen_kb.h b/src/mame/machine/ngen_kb.h
index 1270077bf99..ce9667c1275 100644
--- a/src/mame/machine/ngen_kb.h
+++ b/src/mame/machine/ngen_kb.h
@@ -10,7 +10,7 @@
class ngen_keyboard_device : public serial_keyboard_device
{
public:
- ngen_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ngen_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ioport_constructor device_input_ports() const override;
virtual DECLARE_WRITE_LINE_MEMBER( input_txd ) override { device_serial_interface::rx_w(state); }
diff --git a/src/mame/machine/nmk004.cpp b/src/mame/machine/nmk004.cpp
index abf9f9d2ec6..3383ac2ab44 100644
--- a/src/mame/machine/nmk004.cpp
+++ b/src/mame/machine/nmk004.cpp
@@ -98,7 +98,7 @@ ROM_END
const device_type NMK004 = &device_creator<nmk004_device>;
-nmk004_device::nmk004_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+nmk004_device::nmk004_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NMK004, "NMK004", tag, owner, clock, "nmk004", __FILE__),
m_cpu(*this, "mcu"),
m_systemcpu(*this, ":maincpu"),
diff --git a/src/mame/machine/nmk004.h b/src/mame/machine/nmk004.h
index e10866db2fd..3ffec45cfc3 100644
--- a/src/mame/machine/nmk004.h
+++ b/src/mame/machine/nmk004.h
@@ -21,7 +21,7 @@
class nmk004_device : public device_t
{
public:
- nmk004_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ nmk004_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
WRITE8_MEMBER( write );
READ8_MEMBER( read );
diff --git a/src/mame/machine/nmk112.cpp b/src/mame/machine/nmk112.cpp
index afe6588c000..03dd10a53d8 100644
--- a/src/mame/machine/nmk112.cpp
+++ b/src/mame/machine/nmk112.cpp
@@ -19,11 +19,9 @@
const device_type NMK112 = &device_creator<nmk112_device>;
-nmk112_device::nmk112_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+nmk112_device::nmk112_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NMK112, "NMK112", tag, owner, clock, "nmk112", __FILE__),
m_page_mask(0xff),
- m_tag0(nullptr),
- m_tag1(nullptr),
m_rom0(nullptr),
m_rom1(nullptr),
m_size0(0),
@@ -40,12 +38,12 @@ void nmk112_device::device_start()
save_item(NAME(m_current_bank));
machine().save().register_postload(save_prepost_delegate(FUNC(nmk112_device::postload_bankswitch), this));
- if (m_tag0)
+ if (!m_tag0.empty())
{
m_rom0 = machine().root_device().memregion(m_tag0)->base();
m_size0 = machine().root_device().memregion(m_tag0)->bytes() - 0x40000;
}
- if (m_tag1)
+ if (!m_tag1.empty())
{
m_rom1 = machine().root_device().memregion(m_tag1)->base();
m_size1 = machine().root_device().memregion(m_tag1)->bytes() - 0x40000;
diff --git a/src/mame/machine/nmk112.h b/src/mame/machine/nmk112.h
index c65e244e53a..a7a26dd5c36 100644
--- a/src/mame/machine/nmk112.h
+++ b/src/mame/machine/nmk112.h
@@ -16,12 +16,12 @@
class nmk112_device : public device_t
{
public:
- nmk112_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ nmk112_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~nmk112_device() {}
// static configuration
- static void set_rom0_tag(device_t &device, const char *tag) { downcast<nmk112_device &>(device).m_tag0 = tag; }
- static void set_rom1_tag(device_t &device, const char *tag) { downcast<nmk112_device &>(device).m_tag1 = tag; }
+ static void set_rom0_tag(device_t &device, std::string tag) { downcast<nmk112_device &>(device).m_tag0 = tag; }
+ static void set_rom1_tag(device_t &device, std::string tag) { downcast<nmk112_device &>(device).m_tag1 = tag; }
static void set_page_mask(device_t &device, UINT8 mask) { downcast<nmk112_device &>(device).m_page_mask = ~mask; }
DECLARE_WRITE8_MEMBER( okibank_w );
@@ -42,7 +42,8 @@ private:
UINT8 m_current_bank[8];
- const char *m_tag0, *m_tag1;
+ std::string m_tag0;
+ std::string m_tag1;
UINT8 *m_rom0, *m_rom1;
int m_size0, m_size1;
};
diff --git a/src/mame/machine/ns10crypt.cpp b/src/mame/machine/ns10crypt.cpp
index e639108166c..54e89d3e993 100644
--- a/src/mame/machine/ns10crypt.cpp
+++ b/src/mame/machine/ns10crypt.cpp
@@ -124,7 +124,7 @@ const device_type STARTRGN_DECRYPTER = &device_creator<startrgn_decrypter_device
// this could perfectly be part of the per-game logic; by now, only gamshara seems to use it, so we keep it global
const int ns10_decrypter_device::initSbox[16] = {0,12,13,6,2,4,9,8,11,1,7,15,10,5,14,3};
-ns10_decrypter_device::ns10_decrypter_device(device_type type, const ns10_crypto_logic &logic, const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ns10_decrypter_device::ns10_decrypter_device(device_type type, const ns10_crypto_logic &logic, const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, type, "Namco System 10 Decrypter", tag, owner, clock, "ns10_crypto", __FILE__)
, _active(false)
, _logic(logic)
@@ -379,37 +379,37 @@ static const ns10_decrypter_device::ns10_crypto_logic startrgn_crypto_logic = {
// game-specific devices
-chocovdr_decrypter_device::chocovdr_decrypter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+chocovdr_decrypter_device::chocovdr_decrypter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: ns10_decrypter_device(CHOCOVDR_DECRYPTER, chocovdr_crypto_logic, mconfig, tag, owner, clock)
{
}
-gamshara_decrypter_device::gamshara_decrypter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gamshara_decrypter_device::gamshara_decrypter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: ns10_decrypter_device(GAMSHARA_DECRYPTER, gamshara_crypto_logic, mconfig, tag, owner, clock)
{
}
-gjspace_decrypter_device::gjspace_decrypter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gjspace_decrypter_device::gjspace_decrypter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: ns10_decrypter_device(GJSPACE_DECRYPTER, gjspace_crypto_logic, mconfig, tag, owner, clock)
{
}
-knpuzzle_decrypter_device::knpuzzle_decrypter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+knpuzzle_decrypter_device::knpuzzle_decrypter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: ns10_decrypter_device(KNPUZZLE_DECRYPTER, knpuzzle_crypto_logic, mconfig, tag, owner, clock)
{
}
-konotako_decrypter_device::konotako_decrypter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+konotako_decrypter_device::konotako_decrypter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: ns10_decrypter_device(KONOTAKO_DECRYPTER, konotako_crypto_logic, mconfig, tag, owner, clock)
{
}
-nflclsfb_decrypter_device::nflclsfb_decrypter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+nflclsfb_decrypter_device::nflclsfb_decrypter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: ns10_decrypter_device(NFLCLSFB_DECRYPTER, nflclsfb_crypto_logic, mconfig, tag, owner, clock)
{
}
-startrgn_decrypter_device::startrgn_decrypter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+startrgn_decrypter_device::startrgn_decrypter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: ns10_decrypter_device(STARTRGN_DECRYPTER, startrgn_crypto_logic, mconfig, tag, owner, clock)
{
}
diff --git a/src/mame/machine/ns10crypt.h b/src/mame/machine/ns10crypt.h
index 163a4ac21c7..7a0b87e2e5c 100644
--- a/src/mame/machine/ns10crypt.h
+++ b/src/mame/machine/ns10crypt.h
@@ -35,7 +35,7 @@ public:
protected:
ns10_decrypter_device(
device_type type, const ns10_decrypter_device::ns10_crypto_logic &logic,
- const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
private:
UINT16 _mask;
@@ -57,43 +57,43 @@ private:
class chocovdr_decrypter_device : public ns10_decrypter_device
{
public:
- chocovdr_decrypter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ chocovdr_decrypter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
class gamshara_decrypter_device : public ns10_decrypter_device
{
public:
- gamshara_decrypter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ gamshara_decrypter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
class gjspace_decrypter_device : public ns10_decrypter_device
{
public:
- gjspace_decrypter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ gjspace_decrypter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
class knpuzzle_decrypter_device : public ns10_decrypter_device
{
public:
- knpuzzle_decrypter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ knpuzzle_decrypter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
class konotako_decrypter_device : public ns10_decrypter_device
{
public:
- konotako_decrypter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ konotako_decrypter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
class nflclsfb_decrypter_device : public ns10_decrypter_device
{
public:
- nflclsfb_decrypter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ nflclsfb_decrypter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
class startrgn_decrypter_device : public ns10_decrypter_device
{
public:
- startrgn_decrypter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ startrgn_decrypter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
diff --git a/src/mame/machine/ns11prot.cpp b/src/mame/machine/ns11prot.cpp
index ef3296bcc6d..12a3b0d79a1 100644
--- a/src/mame/machine/ns11prot.cpp
+++ b/src/mame/machine/ns11prot.cpp
@@ -7,7 +7,7 @@
#include "ns11prot.h"
-ns11_keycus_device::ns11_keycus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
+ns11_keycus_device::ns11_keycus_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source)
{
}
@@ -28,7 +28,7 @@ void ns11_keycus_device::device_reset()
/* tekken 2 */
-keycus_c406_device::keycus_c406_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c406_device::keycus_c406_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
ns11_keycus_device(mconfig, KEYCUS_C406, "Namco C406 KEYCUS", tag, owner, clock, "keycus_c406", __FILE__)
{
}
@@ -68,7 +68,7 @@ const device_type KEYCUS_C406 = &device_creator<keycus_c406_device>;
/* soul edge */
-keycus_c409_device::keycus_c409_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c409_device::keycus_c409_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
ns11_keycus_device(mconfig, KEYCUS_C409, "Namco C409 KEYCUS", tag, owner, clock, "keycus_c409", __FILE__)
{
}
@@ -108,7 +108,7 @@ const device_type KEYCUS_C409 = &device_creator<keycus_c409_device>;
/* dunk mania */
-keycus_c410_device::keycus_c410_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c410_device::keycus_c410_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
ns11_keycus_device(mconfig, KEYCUS_C410, "Namco C410 KEYCUS", tag, owner, clock, "keycus_c410", __FILE__)
{
}
@@ -162,7 +162,7 @@ const device_type KEYCUS_C410 = &device_creator<keycus_c410_device>;
/* prime goal ex */
-keycus_c411_device::keycus_c411_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c411_device::keycus_c411_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
ns11_keycus_device(mconfig, KEYCUS_C411, "Namco C411 KEYCUS", tag, owner, clock, "keycus_c411", __FILE__)
{
}
@@ -218,7 +218,7 @@ const device_type KEYCUS_C411 = &device_creator<keycus_c411_device>;
/* xevious 3d/g */
-keycus_c430_device::keycus_c430_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c430_device::keycus_c430_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
ns11_keycus_device(mconfig, KEYCUS_C430, "Namco C430 KEYCUS", tag, owner, clock, "keycus_c430", __FILE__)
{
}
@@ -277,7 +277,7 @@ const device_type KEYCUS_C430 = &device_creator<keycus_c430_device>;
/* dancing eyes */
-keycus_c431_device::keycus_c431_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c431_device::keycus_c431_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
ns11_keycus_device(mconfig, KEYCUS_C431, "Namco C431 KEYCUS", tag, owner, clock, "keycus_c431", __FILE__)
{
}
@@ -335,7 +335,7 @@ const device_type KEYCUS_C431 = &device_creator<keycus_c431_device>;
/* pocket racer */
-keycus_c432_device::keycus_c432_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c432_device::keycus_c432_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
ns11_keycus_device(mconfig, KEYCUS_C432, "Namco C432 KEYCUS", tag, owner, clock, "keycus_c432", __FILE__)
{
}
@@ -395,7 +395,7 @@ const device_type KEYCUS_C432 = &device_creator<keycus_c432_device>;
/* star sweep */
-keycus_c442_device::keycus_c442_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c442_device::keycus_c442_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
ns11_keycus_device(mconfig, KEYCUS_C442, "Namco C442 KEYCUS", tag, owner, clock, "keycus_c442", __FILE__)
{
}
@@ -443,7 +443,7 @@ const device_type KEYCUS_C442 = &device_creator<keycus_c442_device>;
/* kosodate quiz my angel 3 / point blank 2 */
-keycus_c443_device::keycus_c443_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+keycus_c443_device::keycus_c443_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
ns11_keycus_device(mconfig, KEYCUS_C443, "Namco C443 KEYCUS", tag, owner, clock, "keycus_c443", __FILE__)
{
}
diff --git a/src/mame/machine/ns11prot.h b/src/mame/machine/ns11prot.h
index 3a3d0109978..9b3fd0cc333 100644
--- a/src/mame/machine/ns11prot.h
+++ b/src/mame/machine/ns11prot.h
@@ -10,7 +10,7 @@
class ns11_keycus_device : public device_t
{
protected:
- ns11_keycus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock,const char *shortname, const char *source);
+ ns11_keycus_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock,const char *shortname, const char *source);
virtual void device_start() override;
virtual void device_reset() override;
@@ -30,7 +30,7 @@ public:
class keycus_c406_device : public ns11_keycus_device
{
public:
- keycus_c406_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ keycus_c406_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual DECLARE_READ16_MEMBER( read ) override;
virtual DECLARE_WRITE16_MEMBER( write ) override;
@@ -43,7 +43,7 @@ extern const device_type KEYCUS_C406;
class keycus_c409_device : public ns11_keycus_device
{
public:
- keycus_c409_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ keycus_c409_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual DECLARE_READ16_MEMBER( read ) override;
virtual DECLARE_WRITE16_MEMBER( write ) override;
@@ -56,7 +56,7 @@ extern const device_type KEYCUS_C409;
class keycus_c410_device : public ns11_keycus_device
{
public:
- keycus_c410_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ keycus_c410_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual DECLARE_READ16_MEMBER( read ) override;
virtual DECLARE_WRITE16_MEMBER( write ) override;
@@ -69,7 +69,7 @@ extern const device_type KEYCUS_C410;
class keycus_c411_device : public ns11_keycus_device
{
public:
- keycus_c411_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ keycus_c411_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual DECLARE_READ16_MEMBER( read ) override;
virtual DECLARE_WRITE16_MEMBER( write ) override;
@@ -82,7 +82,7 @@ extern const device_type KEYCUS_C411;
class keycus_c430_device : public ns11_keycus_device
{
public:
- keycus_c430_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ keycus_c430_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual DECLARE_READ16_MEMBER( read ) override;
virtual DECLARE_WRITE16_MEMBER( write ) override;
@@ -95,7 +95,7 @@ extern const device_type KEYCUS_C430;
class keycus_c431_device : public ns11_keycus_device
{
public:
- keycus_c431_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ keycus_c431_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual DECLARE_READ16_MEMBER( read ) override;
virtual DECLARE_WRITE16_MEMBER( write ) override;
@@ -108,7 +108,7 @@ extern const device_type KEYCUS_C431;
class keycus_c432_device : public ns11_keycus_device
{
public:
- keycus_c432_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ keycus_c432_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual DECLARE_READ16_MEMBER( read ) override;
virtual DECLARE_WRITE16_MEMBER( write ) override;
@@ -121,7 +121,7 @@ extern const device_type KEYCUS_C432;
class keycus_c442_device : public ns11_keycus_device
{
public:
- keycus_c442_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ keycus_c442_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual DECLARE_READ16_MEMBER( read ) override;
virtual DECLARE_WRITE16_MEMBER( write ) override;
@@ -134,7 +134,7 @@ extern const device_type KEYCUS_C442;
class keycus_c443_device : public ns11_keycus_device
{
public:
- keycus_c443_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ keycus_c443_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual DECLARE_READ16_MEMBER( read ) override;
virtual DECLARE_WRITE16_MEMBER( write ) override;
diff --git a/src/mame/machine/pc1512kb.cpp b/src/mame/machine/pc1512kb.cpp
index 262d253d31b..aa24da96099 100644
--- a/src/mame/machine/pc1512kb.cpp
+++ b/src/mame/machine/pc1512kb.cpp
@@ -225,7 +225,7 @@ ioport_constructor pc1512_keyboard_device::device_input_ports() const
// pc1512_keyboard_device - constructor
//-------------------------------------------------
-pc1512_keyboard_device::pc1512_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pc1512_keyboard_device::pc1512_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PC1512_KEYBOARD, "Amstrad PC1512 Keyboard", tag, owner, clock, "pc1512kb", __FILE__),
m_maincpu(*this, I8048_TAG),
m_y1(*this, "Y1"),
diff --git a/src/mame/machine/pc1512kb.h b/src/mame/machine/pc1512kb.h
index d27d4b200e0..34b873f6ef3 100644
--- a/src/mame/machine/pc1512kb.h
+++ b/src/mame/machine/pc1512kb.h
@@ -47,7 +47,7 @@ class pc1512_keyboard_device : public device_t
{
public:
// construction/destruction
- pc1512_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pc1512_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_clock_wr_callback(device_t &device, _Object object) { return downcast<pc1512_keyboard_device &>(device).m_write_clock.set_callback(object); }
template<class _Object> static devcb_base &set_data_wr_callback(device_t &device, _Object object) { return downcast<pc1512_keyboard_device &>(device).m_write_data.set_callback(object); }
diff --git a/src/mame/machine/pc9801_118.cpp b/src/mame/machine/pc9801_118.cpp
index ee3a189b338..0de0bc067ab 100644
--- a/src/mame/machine/pc9801_118.cpp
+++ b/src/mame/machine/pc9801_118.cpp
@@ -117,7 +117,7 @@ const rom_entry *pc9801_118_device::device_rom_region() const
// pc9801_118_device - constructor
//-------------------------------------------------
-pc9801_118_device::pc9801_118_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pc9801_118_device::pc9801_118_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PC9801_118, "pc9801_118", tag, owner, clock, "pc9801_118", __FILE__),
// m_maincpu(*owner, "maincpu"),
m_opn3(*this, "opn3")
diff --git a/src/mame/machine/pc9801_118.h b/src/mame/machine/pc9801_118.h
index 83e4cb4b284..05a333de6eb 100644
--- a/src/mame/machine/pc9801_118.h
+++ b/src/mame/machine/pc9801_118.h
@@ -26,7 +26,7 @@ class pc9801_118_device : public device_t
{
public:
// construction/destruction
- pc9801_118_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pc9801_118_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
diff --git a/src/mame/machine/pc9801_26.cpp b/src/mame/machine/pc9801_26.cpp
index 2f0b0351c7c..38facbc8609 100644
--- a/src/mame/machine/pc9801_26.cpp
+++ b/src/mame/machine/pc9801_26.cpp
@@ -109,7 +109,7 @@ ioport_constructor pc9801_26_device::device_input_ports() const
// pc9801_26_device - constructor
//-------------------------------------------------
-pc9801_26_device::pc9801_26_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pc9801_26_device::pc9801_26_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PC9801_26, "pc9801_26", tag, owner, clock, "pc9801_26", __FILE__),
// m_maincpu(*owner, "maincpu"),
m_opn(*this, "opn")
diff --git a/src/mame/machine/pc9801_26.h b/src/mame/machine/pc9801_26.h
index cf87298347a..870ebb54956 100644
--- a/src/mame/machine/pc9801_26.h
+++ b/src/mame/machine/pc9801_26.h
@@ -26,7 +26,7 @@ class pc9801_26_device : public device_t
{
public:
// construction/destruction
- pc9801_26_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pc9801_26_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
diff --git a/src/mame/machine/pc9801_86.cpp b/src/mame/machine/pc9801_86.cpp
index db40adbcaa4..57377adc43a 100644
--- a/src/mame/machine/pc9801_86.cpp
+++ b/src/mame/machine/pc9801_86.cpp
@@ -125,7 +125,7 @@ ioport_constructor pc9801_86_device::device_input_ports() const
// pc9801_86_device - constructor
//-------------------------------------------------
-pc9801_86_device::pc9801_86_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pc9801_86_device::pc9801_86_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PC9801_86, "pc9801_86", tag, owner, clock, "pc9801_86", __FILE__),
m_opna(*this, "opna"),
m_dacl(*this, "dacl"),
diff --git a/src/mame/machine/pc9801_86.h b/src/mame/machine/pc9801_86.h
index 61b48dcabb9..3bb780bd10d 100644
--- a/src/mame/machine/pc9801_86.h
+++ b/src/mame/machine/pc9801_86.h
@@ -26,7 +26,7 @@ class pc9801_86_device : public device_t
{
public:
// construction/destruction
- pc9801_86_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pc9801_86_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
diff --git a/src/mame/machine/pc9801_cbus.cpp b/src/mame/machine/pc9801_cbus.cpp
index 2e3f6b59670..730e6ae11d5 100644
--- a/src/mame/machine/pc9801_cbus.cpp
+++ b/src/mame/machine/pc9801_cbus.cpp
@@ -51,7 +51,7 @@ device_pc9801cbus_card_interface::~device_pc9801cbus_card_interface()
// pc9801_slot_device - constructor
//-------------------------------------------------
-pc9801_slot_device::pc9801_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+pc9801_slot_device::pc9801_slot_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, PC9801CBUS_SLOT, "PC-9801 sound cbus slot", tag, owner, clock, "pc9801_slot", __FILE__),
device_slot_interface(mconfig, *this)
{
diff --git a/src/mame/machine/pc9801_cbus.h b/src/mame/machine/pc9801_cbus.h
index 2a7ca5e33e1..42e4edff67f 100644
--- a/src/mame/machine/pc9801_cbus.h
+++ b/src/mame/machine/pc9801_cbus.h
@@ -58,7 +58,7 @@ class pc9801_slot_device : public device_t,
{
public:
// construction/destruction
- pc9801_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pc9801_slot_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// device-level overrides
virtual void device_start() override;
diff --git a/src/mame/machine/pc9801_kbd.cpp b/src/mame/machine/pc9801_kbd.cpp
index 260bd9f6b3d..caf42e6903d 100644
--- a/src/mame/machine/pc9801_kbd.cpp
+++ b/src/mame/machine/pc9801_kbd.cpp
@@ -34,7 +34,7 @@ const device_type PC9801_KBD = &device_creator<pc9801_kbd_device>;
// pc9801_kbd_device - constructor
//-------------------------------------------------
-pc9801_kbd_device::pc9801_kbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+pc9801_kbd_device::pc9801_kbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, PC9801_KBD, "pc9801_kbd", tag, owner, clock, "pc9801_kbd_", __FILE__),
m_write_irq(*this)
{
diff --git a/src/mame/machine/pc9801_kbd.h b/src/mame/machine/pc9801_kbd.h
index c33d554ab3e..bca5cc12e8c 100644
--- a/src/mame/machine/pc9801_kbd.h
+++ b/src/mame/machine/pc9801_kbd.h
@@ -30,7 +30,7 @@ class pc9801_kbd_device : public device_t
{
public:
// construction/destruction
- pc9801_kbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pc9801_kbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_irq_wr_callback(device_t &device, _Object object) { return downcast<pc9801_kbd_device &>(device).m_write_irq.set_callback(object); }
diff --git a/src/mame/machine/pcd_kbd.cpp b/src/mame/machine/pcd_kbd.cpp
index 4c1aa9f0ea5..5f60b353fe7 100644
--- a/src/mame/machine/pcd_kbd.cpp
+++ b/src/mame/machine/pcd_kbd.cpp
@@ -221,7 +221,7 @@ ioport_constructor pcd_keyboard_device::device_input_ports() const
return INPUT_PORTS_NAME( pcd_keyboard );
}
-pcd_keyboard_device::pcd_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pcd_keyboard_device::pcd_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PCD_KEYBOARD, "PC-D Keyboard", tag, owner, clock, "pcd_kbd", __FILE__),
m_rows(*this, "ROW"),
m_p1(0),
diff --git a/src/mame/machine/pcd_kbd.h b/src/mame/machine/pcd_kbd.h
index 921abdb2454..79de0cbdcdf 100644
--- a/src/mame/machine/pcd_kbd.h
+++ b/src/mame/machine/pcd_kbd.h
@@ -13,7 +13,7 @@
class pcd_keyboard_device : public device_t
{
public:
- pcd_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pcd_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_out_tx_handler(device_t &device, _Object object) { return downcast<pcd_keyboard_device &>(device).m_out_tx_handler.set_callback(object); }
diff --git a/src/mame/machine/pce220_ser.cpp b/src/mame/machine/pce220_ser.cpp
index 59aaf593e73..79761f0dd4c 100644
--- a/src/mame/machine/pce220_ser.cpp
+++ b/src/mame/machine/pce220_ser.cpp
@@ -43,7 +43,7 @@ const device_type PCE220SERIAL = &device_creator<pce220_serial_device>;
// pce220_serial_device - constructor
//-------------------------------------------------
-pce220_serial_device::pce220_serial_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pce220_serial_device::pce220_serial_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PCE220SERIAL, "Sharp PC-E220 serial", tag, owner, clock, "pce220_serial", __FILE__),
device_image_interface(mconfig, *this)
{
@@ -190,7 +190,7 @@ void pce220_serial_device::device_timer(emu_timer &timer, device_timer_id id, in
break;
case SIO_SEND_PARITY:
if (m_xout != calc_parity(m_current_byte))
- logerror("SIO %s: byte %d has wrong parity!\n", tag(), m_bytes_count);
+ logerror("SIO %s: byte %d has wrong parity!\n", tag().c_str(), m_bytes_count);
break;
case SIO_SEND_STOP1:
case SIO_SEND_STOP2:
diff --git a/src/mame/machine/pce220_ser.h b/src/mame/machine/pce220_ser.h
index dd351a4d9ff..c503a770338 100644
--- a/src/mame/machine/pce220_ser.h
+++ b/src/mame/machine/pce220_ser.h
@@ -23,7 +23,7 @@ class pce220_serial_device : public device_t,
{
public:
// construction/destruction
- pce220_serial_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pce220_serial_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ~pce220_serial_device();
// image-level overrides
diff --git a/src/mame/machine/pce_cd.cpp b/src/mame/machine/pce_cd.cpp
index 26e730b491e..3a277d5d25b 100644
--- a/src/mame/machine/pce_cd.cpp
+++ b/src/mame/machine/pce_cd.cpp
@@ -78,7 +78,7 @@ CD Interface Register 0x0f - ADPCM fade in/out register
const device_type PCE_CD = &device_creator<pce_cd_device>;
-pce_cd_device::pce_cd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pce_cd_device::pce_cd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PCE_CD, "PCE CD Add-on", tag, owner, clock, "pcecd", __FILE__),
m_maincpu(*this, ":maincpu"),
m_msm(*this, "msm5205"),
diff --git a/src/mame/machine/pce_cd.h b/src/mame/machine/pce_cd.h
index ebb39aeb680..03ac019997a 100644
--- a/src/mame/machine/pce_cd.h
+++ b/src/mame/machine/pce_cd.h
@@ -42,7 +42,7 @@ class pce_cd_device : public device_t
{
public:
// construction/destruction
- pce_cd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pce_cd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ~pce_cd_device() {}
// device-level overrides
diff --git a/src/mame/machine/pcecommn.h b/src/mame/machine/pcecommn.h
index deed15decaa..65b6506fb56 100644
--- a/src/mame/machine/pcecommn.h
+++ b/src/mame/machine/pcecommn.h
@@ -18,7 +18,7 @@
class pce_common_state : public driver_device
{
public:
- pce_common_state(const machine_config &mconfig, device_type type, const char *tag)
+ pce_common_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_huc6260(*this, "huc6260") { }
diff --git a/src/mame/machine/pcshare.h b/src/mame/machine/pcshare.h
index 81d423ad1d0..16b499ee117 100644
--- a/src/mame/machine/pcshare.h
+++ b/src/mame/machine/pcshare.h
@@ -9,7 +9,7 @@
class pcat_base_state : public driver_device
{
public:
- pcat_base_state(const machine_config &mconfig, device_type type, const char *tag)
+ pcat_base_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_dma8237_1(*this, "dma8237_1"),
diff --git a/src/mame/machine/prof80mmu.cpp b/src/mame/machine/prof80mmu.cpp
index 68bdabb7237..4af917bc1e7 100644
--- a/src/mame/machine/prof80mmu.cpp
+++ b/src/mame/machine/prof80mmu.cpp
@@ -34,7 +34,7 @@ ADDRESS_MAP_END
// prof80_mmu_device - constructor
//-------------------------------------------------
-prof80_mmu_device::prof80_mmu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+prof80_mmu_device::prof80_mmu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PROF80_MMU, "PROF80_MMU", tag, owner, clock, "prof80_mmu", __FILE__),
device_memory_interface(mconfig, *this),
m_program_space_config("program", ENDIANNESS_LITTLE, 8, 20, 0, *ADDRESS_MAP_NAME(program_map))
diff --git a/src/mame/machine/prof80mmu.h b/src/mame/machine/prof80mmu.h
index db0352fa913..39247168848 100644
--- a/src/mame/machine/prof80mmu.h
+++ b/src/mame/machine/prof80mmu.h
@@ -35,7 +35,7 @@ class prof80_mmu_device : public device_t,
public device_memory_interface
{
public:
- prof80_mmu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ prof80_mmu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual DECLARE_ADDRESS_MAP(z80_program_map, 8);
diff --git a/src/mame/machine/psion_pack.cpp b/src/mame/machine/psion_pack.cpp
index eef4bdc4709..efbed1da682 100644
--- a/src/mame/machine/psion_pack.cpp
+++ b/src/mame/machine/psion_pack.cpp
@@ -60,7 +60,7 @@ const device_type PSION_DATAPACK = &device_creator<datapack_device>;
// datapack_device - constructor
//-------------------------------------------------
-datapack_device::datapack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+datapack_device::datapack_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PSION_DATAPACK, "Psion Datapack", tag, owner, clock, "datapack", __FILE__),
device_image_interface(mconfig, *this)
{
diff --git a/src/mame/machine/psion_pack.h b/src/mame/machine/psion_pack.h
index d5d68aca7b1..131df31f32f 100644
--- a/src/mame/machine/psion_pack.h
+++ b/src/mame/machine/psion_pack.h
@@ -21,7 +21,7 @@ class datapack_device : public device_t,
{
public:
// construction/destruction
- datapack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ datapack_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ~datapack_device();
// image-level overrides
diff --git a/src/mame/machine/psxcd.cpp b/src/mame/machine/psxcd.cpp
index 069e9f224f1..7203590a375 100644
--- a/src/mame/machine/psxcd.cpp
+++ b/src/mame/machine/psxcd.cpp
@@ -85,7 +85,7 @@ enum submode_flags
const device_type PSXCD = &device_creator<psxcd_device>;
-psxcd_device::psxcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+psxcd_device::psxcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
cdrom_image_device(mconfig, PSXCD, "PSX Cdrom", tag, owner, clock, "psx_cd", __FILE__),
m_irq_handler(*this)
{
diff --git a/src/mame/machine/psxcd.h b/src/mame/machine/psxcd.h
index 4bcf9ee5696..b322d0a2725 100644
--- a/src/mame/machine/psxcd.h
+++ b/src/mame/machine/psxcd.h
@@ -21,7 +21,7 @@
class psxcd_device : public cdrom_image_device
{
public:
- psxcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ psxcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration helpers
template<class _Object> static devcb_base &set_irq_handler(device_t &device, _Object object) { return downcast<psxcd_device &>(device).m_irq_handler.set_callback(object); }
diff --git a/src/mame/machine/qimi.cpp b/src/mame/machine/qimi.cpp
index e1a55134b69..aeb4b751cb8 100644
--- a/src/mame/machine/qimi.cpp
+++ b/src/mame/machine/qimi.cpp
@@ -102,7 +102,7 @@ ioport_constructor qimi_t::device_input_ports() const
// qimi_t - constructor
//-------------------------------------------------
-qimi_t::qimi_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+qimi_t::qimi_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, QIMI, "QL Internal Mouse Interface", tag, owner, clock, "qimi", __FILE__),
m_write_extint(*this),
m_buttons(*this, "mouse_buttons"),
diff --git a/src/mame/machine/qimi.h b/src/mame/machine/qimi.h
index ffa3caf0fe1..8d5f67298bc 100644
--- a/src/mame/machine/qimi.h
+++ b/src/mame/machine/qimi.h
@@ -34,7 +34,7 @@ class qimi_t : public device_t
{
public:
// construction/destruction
- qimi_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ qimi_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_exting_wr_callback(device_t &device, _Object object) { return downcast<qimi_t &>(device).m_write_extint.set_callback(object); }
diff --git a/src/mame/machine/qx10kbd.cpp b/src/mame/machine/qx10kbd.cpp
index 1a4c7364c06..a975aaa3cc8 100644
--- a/src/mame/machine/qx10kbd.cpp
+++ b/src/mame/machine/qx10kbd.cpp
@@ -4,7 +4,7 @@
#include "machine/qx10kbd.h"
-qx10_keyboard_device::qx10_keyboard_device(const machine_config& mconfig, const char* tag, device_t* owner, UINT32 clock) :
+qx10_keyboard_device::qx10_keyboard_device(const machine_config& mconfig, std::string tag, device_t* owner, UINT32 clock) :
serial_keyboard_device(mconfig, QX10_KEYBOARD, "QX10 Keyboard", tag, owner, 0, "qx10_keyboard", __FILE__),
m_io_kbd8(*this, "TERM_LINE8"),
m_io_kbd9(*this, "TERM_LINE9"),
diff --git a/src/mame/machine/qx10kbd.h b/src/mame/machine/qx10kbd.h
index 4adb6ebb9a4..3f25b426e7d 100644
--- a/src/mame/machine/qx10kbd.h
+++ b/src/mame/machine/qx10kbd.h
@@ -8,7 +8,7 @@
class qx10_keyboard_device : public serial_keyboard_device
{
public:
- qx10_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ qx10_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ioport_constructor device_input_ports() const override;
protected:
diff --git a/src/mame/machine/raiden2cop.cpp b/src/mame/machine/raiden2cop.cpp
index 0190e691043..519b93cd8c7 100644
--- a/src/mame/machine/raiden2cop.cpp
+++ b/src/mame/machine/raiden2cop.cpp
@@ -24,7 +24,7 @@
const device_type RAIDEN2COP = &device_creator<raiden2cop_device>;
-raiden2cop_device::raiden2cop_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+raiden2cop_device::raiden2cop_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, RAIDEN2COP, "Seibu COP (Raiden 2)", tag, owner, clock, "raiden2cop", __FILE__),
cop_latch_addr(0),
cop_latch_trigger(0),
diff --git a/src/mame/machine/raiden2cop.h b/src/mame/machine/raiden2cop.h
index 9f543062541..2f55efe547d 100644
--- a/src/mame/machine/raiden2cop.h
+++ b/src/mame/machine/raiden2cop.h
@@ -34,7 +34,7 @@
class raiden2cop_device : public device_t
{
public:
- raiden2cop_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ raiden2cop_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// Command Table
UINT16 cop_func_trigger[0x100/8]; /* function trigger */
diff --git a/src/mame/machine/rmnkbd.cpp b/src/mame/machine/rmnkbd.cpp
index 30987c6701e..68abae29b7b 100644
--- a/src/mame/machine/rmnkbd.cpp
+++ b/src/mame/machine/rmnkbd.cpp
@@ -2,7 +2,7 @@
// copyright-holders:Carl
#include "machine/rmnkbd.h"
-rmnimbus_keyboard_device::rmnimbus_keyboard_device(const machine_config& mconfig, const char* tag, device_t* owner, UINT32 clock) :
+rmnimbus_keyboard_device::rmnimbus_keyboard_device(const machine_config& mconfig, std::string tag, device_t* owner, UINT32 clock) :
serial_keyboard_device(mconfig, RMNIMBUS_KEYBOARD, "RM Nimbus Keyboard", tag, owner, 0, "rmnimbus_keyboard", __FILE__),
m_io_kbd8(*this, "TERM_LINE8"),
m_io_kbd9(*this, "TERM_LINE9"),
diff --git a/src/mame/machine/rmnkbd.h b/src/mame/machine/rmnkbd.h
index f60f600ac99..8b93db6358a 100644
--- a/src/mame/machine/rmnkbd.h
+++ b/src/mame/machine/rmnkbd.h
@@ -8,7 +8,7 @@
class rmnimbus_keyboard_device : public serial_keyboard_device
{
public:
- rmnimbus_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ rmnimbus_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ioport_constructor device_input_ports() const override;
protected:
diff --git a/src/mame/machine/rx01.cpp b/src/mame/machine/rx01.cpp
index b4cb85869ea..3721c43dd61 100644
--- a/src/mame/machine/rx01.cpp
+++ b/src/mame/machine/rx01.cpp
@@ -48,7 +48,7 @@ const device_type RX01 = &device_creator<rx01_device>;
// rx01_device - constructor
//-------------------------------------------------
-rx01_device::rx01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+rx01_device::rx01_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, RX01, "RX01", tag, owner, clock, "rx01", __FILE__)
{
}
diff --git a/src/mame/machine/rx01.h b/src/mame/machine/rx01.h
index ad55511be41..5bb14cabc60 100644
--- a/src/mame/machine/rx01.h
+++ b/src/mame/machine/rx01.h
@@ -30,7 +30,7 @@ class rx01_device : public device_t
{
public:
// construction/destruction
- rx01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ rx01_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ16_MEMBER( read );
DECLARE_WRITE16_MEMBER( write );
diff --git a/src/mame/machine/s32comm.cpp b/src/mame/machine/s32comm.cpp
index dad9c291527..5d670bd6bc7 100644
--- a/src/mame/machine/s32comm.cpp
+++ b/src/mame/machine/s32comm.cpp
@@ -97,7 +97,7 @@ machine_config_constructor s32comm_device::device_mconfig_additions() const
// s32comm_device - constructor
//-------------------------------------------------
-s32comm_device::s32comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+s32comm_device::s32comm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, S32COMM, "SYSTEM32 COMMUNICATION BD", tag, owner, clock, "s32comm", __FILE__),
m_line_rx(OPEN_FLAG_WRITE | OPEN_FLAG_CREATE ),
m_line_tx(OPEN_FLAG_READ)
diff --git a/src/mame/machine/s32comm.h b/src/mame/machine/s32comm.h
index 19b01110361..782eb1e9cd3 100644
--- a/src/mame/machine/s32comm.h
+++ b/src/mame/machine/s32comm.h
@@ -20,7 +20,7 @@ class s32comm_device : public device_t
{
public:
// construction/destruction
- s32comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ s32comm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
diff --git a/src/mame/machine/segabb.cpp b/src/mame/machine/segabb.cpp
index 8adbf5dc809..53246e69126 100644
--- a/src/mame/machine/segabb.cpp
+++ b/src/mame/machine/segabb.cpp
@@ -13,7 +13,7 @@ ADDRESS_MAP_END
DEVICE_ADDRESS_MAP_START(map3, 32, sega_lindbergh_baseboard_device)
ADDRESS_MAP_END
-sega_lindbergh_baseboard_device::sega_lindbergh_baseboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_lindbergh_baseboard_device::sega_lindbergh_baseboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: pci_device(mconfig, SEGA_LINDBERGH_BASEBOARD, "Sega Lindbergh Baseboard", tag, owner, clock, "sega_lindbergh_baseboard", __FILE__)
{
}
diff --git a/src/mame/machine/segabb.h b/src/mame/machine/segabb.h
index 93f42833fea..1ff7a2d4ab2 100644
--- a/src/mame/machine/segabb.h
+++ b/src/mame/machine/segabb.h
@@ -12,7 +12,7 @@
class sega_lindbergh_baseboard_device : public pci_device {
public:
- sega_lindbergh_baseboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_lindbergh_baseboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
virtual void device_start() override;
diff --git a/src/mame/machine/segaic16.cpp b/src/mame/machine/segaic16.cpp
index 3d807412a56..9351d784654 100644
--- a/src/mame/machine/segaic16.cpp
+++ b/src/mame/machine/segaic16.cpp
@@ -42,7 +42,7 @@ const device_type SEGA_315_5250_COMPARE_TIMER = &device_creator<sega_315_5250_co
// sega_16bit_common_base - constructor
//-------------------------------------------------
-sega_16bit_common_base::sega_16bit_common_base(const machine_config &mconfig, device_type type, const char *tag)
+sega_16bit_common_base::sega_16bit_common_base(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_paletteram(*this, "paletteram"),
m_open_bus_recurse(false),
@@ -174,9 +174,8 @@ WRITE16_MEMBER( sega_16bit_common_base::paletteram_w )
// sega_315_5195_mapper_device - constructor
//-------------------------------------------------
-sega_315_5195_mapper_device::sega_315_5195_mapper_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_315_5195_mapper_device::sega_315_5195_mapper_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEGA_315_5195_MEM_MAPPER, "Sega 315-5195 Memory Mapper", tag, owner, clock, "sega_315_5195", __FILE__),
- m_cputag(nullptr),
m_cpu(nullptr),
m_space(nullptr),
m_decrypted_space(nullptr),
@@ -718,7 +717,7 @@ void sega_315_5195_mapper_device::decrypt_bank::update()
// sega_315_5248_multiplier_device - constructor
//-------------------------------------------------
-sega_315_5248_multiplier_device::sega_315_5248_multiplier_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_315_5248_multiplier_device::sega_315_5248_multiplier_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEGA_315_5248_MULTIPLIER, "Sega 315-5248 Multiplier", tag, owner, clock, "sega_315_5248", __FILE__)
{
}
@@ -786,7 +785,7 @@ void sega_315_5248_multiplier_device::device_reset()
// sega_315_5249_divider_device - constructor
//-------------------------------------------------
-sega_315_5249_divider_device::sega_315_5249_divider_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_315_5249_divider_device::sega_315_5249_divider_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEGA_315_5248_MULTIPLIER, "Sega 315-5249 Divider", tag, owner, clock, "sega_315_5249", __FILE__)
{
}
@@ -931,7 +930,7 @@ void sega_315_5249_divider_device::execute(int mode)
// constructor
//-------------------------------------------------
-sega_315_5250_compare_timer_device::sega_315_5250_compare_timer_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_315_5250_compare_timer_device::sega_315_5250_compare_timer_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEGA_315_5250_COMPARE_TIMER, "Sega 315-5250 Compare/Timer", tag, owner, clock, "sega_315_5250", __FILE__)
{
}
diff --git a/src/mame/machine/segaic16.h b/src/mame/machine/segaic16.h
index bf24241f2cd..161b9087c0e 100644
--- a/src/mame/machine/segaic16.h
+++ b/src/mame/machine/segaic16.h
@@ -51,7 +51,7 @@ class sega_16bit_common_base : public driver_device
{
public:
// construction/destruction
- sega_16bit_common_base(const machine_config &mconfig, device_type type, const char *tag);
+ sega_16bit_common_base(const machine_config &mconfig, device_type type, std::string tag);
// open bus read helpers
DECLARE_READ16_MEMBER( open_bus_r );
@@ -89,7 +89,7 @@ public:
typedef device_delegate<void (UINT8)> sound_write_delegate;
// construction/destruction
- sega_315_5195_mapper_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_315_5195_mapper_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration helpers
static void static_set_cputag(device_t &device, const char *cpu);
@@ -182,7 +182,7 @@ class sega_315_5248_multiplier_device : public device_t
{
public:
// construction/destruction
- sega_315_5248_multiplier_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_315_5248_multiplier_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// public interface
DECLARE_READ16_MEMBER( read );
@@ -205,7 +205,7 @@ class sega_315_5249_divider_device : public device_t
{
public:
// construction/destruction
- sega_315_5249_divider_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_315_5249_divider_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// public interface
DECLARE_READ16_MEMBER( read );
@@ -234,7 +234,7 @@ public:
typedef device_delegate<void ()> timer_ack_delegate;
// construction/destruction
- sega_315_5250_compare_timer_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_315_5250_compare_timer_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration helpers
static void static_set_timer_ack(device_t &device, timer_ack_delegate callback);
diff --git a/src/mame/machine/seicop.cpp b/src/mame/machine/seicop.cpp
index d5640aa6881..83c10b41002 100644
--- a/src/mame/machine/seicop.cpp
+++ b/src/mame/machine/seicop.cpp
@@ -22,7 +22,7 @@
const device_type SEIBU_COP_BOOTLEG = &device_creator<seibu_cop_bootleg_device>;
-seibu_cop_bootleg_device::seibu_cop_bootleg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+seibu_cop_bootleg_device::seibu_cop_bootleg_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEIBU_COP_BOOTLEG, "Seibu COP (Bootleg)", tag, owner, clock, "seibu_cop_boot", __FILE__),
m_cop_mcu_ram(nullptr),
m_raiden2cop(*this, ":raiden2cop")
diff --git a/src/mame/machine/seicop.h b/src/mame/machine/seicop.h
index a1bfa9b592c..7851a88b1a8 100644
--- a/src/mame/machine/seicop.h
+++ b/src/mame/machine/seicop.h
@@ -8,7 +8,7 @@
class seibu_cop_bootleg_device : public device_t
{
public:
-seibu_cop_bootleg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+seibu_cop_bootleg_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ16_MEMBER( copdxbl_0_r );
DECLARE_WRITE16_MEMBER( copdxbl_0_w );
diff --git a/src/mame/machine/sgi.cpp b/src/mame/machine/sgi.cpp
index d9b6e8b8887..a62825fc613 100644
--- a/src/mame/machine/sgi.cpp
+++ b/src/mame/machine/sgi.cpp
@@ -30,7 +30,7 @@ static inline void ATTR_PRINTF(3,4) verboselog( running_machine &machine, int n_
const device_type SGI_MC = &device_creator<sgi_mc_device>;
-sgi_mc_device::sgi_mc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sgi_mc_device::sgi_mc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SGI_MC, "SGI Memory Controller", tag, owner, clock, "sgi_mc", __FILE__),
m_tUpdateTimer(nullptr),
m_nCPUControl0(0),
diff --git a/src/mame/machine/sgi.h b/src/mame/machine/sgi.h
index 9cebd996873..650f62134f3 100644
--- a/src/mame/machine/sgi.h
+++ b/src/mame/machine/sgi.h
@@ -14,7 +14,7 @@
class sgi_mc_device : public device_t
{
public:
- sgi_mc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sgi_mc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~sgi_mc_device() {}
DECLARE_READ32_MEMBER(read);
diff --git a/src/mame/machine/slapstic.cpp b/src/mame/machine/slapstic.cpp
index 4ff2fe4a2e3..5ecab2095a7 100644
--- a/src/mame/machine/slapstic.cpp
+++ b/src/mame/machine/slapstic.cpp
@@ -186,7 +186,7 @@
extern const device_type SLAPSTIC = &device_creator<atari_slapstic_device>;
-atari_slapstic_device::atari_slapstic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+atari_slapstic_device::atari_slapstic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SLAPSTIC, "Atari Slapstic", tag, owner, clock, "slapstic", __FILE__),
state(0),
current_bank(0),
diff --git a/src/mame/machine/smartmed.cpp b/src/mame/machine/smartmed.cpp
index 9ba88c447fe..e73cf0b0203 100644
--- a/src/mame/machine/smartmed.cpp
+++ b/src/mame/machine/smartmed.cpp
@@ -72,7 +72,7 @@ enum
const device_type NAND = &device_creator<nand_device>;
-nand_device::nand_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+nand_device::nand_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NAND, "NAND Flash Memory", tag, owner, clock, "nand", __FILE__),
m_page_data_size(0),
m_page_total_size(0),
@@ -88,7 +88,7 @@ nand_device::nand_device(const machine_config &mconfig, const char *tag, device_
memset(m_id, 0, sizeof(m_id));
}
-nand_device::nand_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+nand_device::nand_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
m_page_data_size(0),
m_page_total_size(0),
@@ -779,7 +779,7 @@ void nand_device::device_reset()
const device_type SMARTMEDIA = &device_creator<smartmedia_image_device>;
-smartmedia_image_device::smartmedia_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+smartmedia_image_device::smartmedia_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: nand_device(mconfig, SMARTMEDIA, "SmartMedia Flash ROM", tag, owner, clock, "smartmedia", __FILE__),
device_image_interface(mconfig, *this)
{
diff --git a/src/mame/machine/smartmed.h b/src/mame/machine/smartmed.h
index 15ad48d4235..251dc563365 100644
--- a/src/mame/machine/smartmed.h
+++ b/src/mame/machine/smartmed.h
@@ -57,8 +57,8 @@ class nand_device : public device_t
{
public:
// construction/destruction
- nand_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- nand_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ nand_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ nand_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
template<class _Object> static devcb_base &set_rnb_wr_callback(device_t &device, _Object object) { return downcast<nand_device &>(device).m_write_rnb.set_callback(object); }
@@ -201,7 +201,7 @@ class smartmedia_image_device : public nand_device,
{
public:
// construction/destruction
- smartmedia_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ smartmedia_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// image-level overrides
virtual iodevice_t image_type() const override { return IO_MEMCARD; }
diff --git a/src/mame/machine/sonydriv.cpp b/src/mame/machine/sonydriv.cpp
index 3c70a4664e7..89bec93984d 100644
--- a/src/mame/machine/sonydriv.cpp
+++ b/src/mame/machine/sonydriv.cpp
@@ -531,7 +531,7 @@ const device_type FLOPPY_SONY = &device_creator<sonydriv_floppy_image_device>;
// sonydriv_floppy_image_device - constructor
//-------------------------------------------------
-sonydriv_floppy_image_device::sonydriv_floppy_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sonydriv_floppy_image_device::sonydriv_floppy_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: legacy_floppy_image_device(mconfig, FLOPPY_SONY, "Floppy Disk [Sony]", tag, owner, clock, "floppy_sonny", __FILE__)
{
}
diff --git a/src/mame/machine/sonydriv.h b/src/mame/machine/sonydriv.h
index 5e5d20c2f3d..758bae7f76a 100644
--- a/src/mame/machine/sonydriv.h
+++ b/src/mame/machine/sonydriv.h
@@ -38,7 +38,7 @@ class sonydriv_floppy_image_device : public legacy_floppy_image_device
{
public:
// construction/destruction
- sonydriv_floppy_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sonydriv_floppy_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual void call_unload() override;
protected:
diff --git a/src/mame/machine/st0016.cpp b/src/mame/machine/st0016.cpp
index 598a94ebddc..ce5e311029d 100644
--- a/src/mame/machine/st0016.cpp
+++ b/src/mame/machine/st0016.cpp
@@ -29,7 +29,7 @@ ADDRESS_MAP_END
// note: a lot of bits are left uninitialized by the games, the default values are uncertain
-st0016_cpu_device::st0016_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+st0016_cpu_device::st0016_cpu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: z80_device(mconfig, ST0016_CPU, "ST0016", tag, owner, clock, "st0016_cpu", __FILE__),
st0016_game(-1),
st0016_spr_bank(0),
diff --git a/src/mame/machine/st0016.h b/src/mame/machine/st0016.h
index 6401ddc5c19..00a41dd3e0d 100644
--- a/src/mame/machine/st0016.h
+++ b/src/mame/machine/st0016.h
@@ -37,7 +37,7 @@ extern UINT8 macs_cart_slot;
class st0016_cpu_device : public z80_device
{
public:
- st0016_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32);
+ st0016_cpu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32);
DECLARE_WRITE8_MEMBER(st0016_sprite_bank_w);
DECLARE_WRITE8_MEMBER(st0016_palette_bank_w);
diff --git a/src/mame/machine/swim.cpp b/src/mame/machine/swim.cpp
index 9e1506ad9ab..e07c621bb4c 100644
--- a/src/mame/machine/swim.cpp
+++ b/src/mame/machine/swim.cpp
@@ -37,7 +37,7 @@ const device_type SWIM = &device_creator<swim_device>;
// ctor
//-------------------------------------------------
-swim_device::swim_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+swim_device::swim_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: applefdc_base_device(APPLEFDC_SWIM, mconfig, SWIM, "Apple SWIM (Steve Woz Integrated Machine)", tag, owner, clock, "swim", __FILE__)
{
}
diff --git a/src/mame/machine/swim.h b/src/mame/machine/swim.h
index 438ee9e4933..515a98a7286 100644
--- a/src/mame/machine/swim.h
+++ b/src/mame/machine/swim.h
@@ -24,7 +24,7 @@ extern const device_type SWIM;
class swim_device : public applefdc_base_device
{
public:
- swim_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ swim_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// read/write
virtual UINT8 read(UINT8 offset) override;
diff --git a/src/mame/machine/tait8741.cpp b/src/mame/machine/tait8741.cpp
index 5e568fbd6f1..fbefb426ecb 100644
--- a/src/mame/machine/tait8741.cpp
+++ b/src/mame/machine/tait8741.cpp
@@ -35,7 +35,7 @@ gladiatr and Great Swordsman set.
const device_type TAITO8741_4PACK = &device_creator<taito8741_4pack_device>;
-taito8741_4pack_device::taito8741_4pack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+taito8741_4pack_device::taito8741_4pack_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TAITO8741_4PACK, "I8741 MCU Simulation (Taito 4Pack)", tag, owner, clock, "taito8741_4pack", __FILE__),
m_port_handler_0_r(*this),
m_port_handler_1_r(*this),
@@ -347,7 +347,7 @@ joshi Vollyball set.
const device_type JOSVOLLY8741_4PACK = &device_creator<josvolly8741_4pack_device>;
-josvolly8741_4pack_device::josvolly8741_4pack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+josvolly8741_4pack_device::josvolly8741_4pack_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, JOSVOLLY8741_4PACK, "I8741 MCU Simulation (Joshi Volleyball)", tag, owner, clock, "josvolly8741_4pack", __FILE__),
m_port_handler_0_r(*this),
m_port_handler_1_r(*this),
diff --git a/src/mame/machine/tait8741.h b/src/mame/machine/tait8741.h
index e0a5eb75c73..8bb7ad4b5a3 100644
--- a/src/mame/machine/tait8741.h
+++ b/src/mame/machine/tait8741.h
@@ -57,7 +57,7 @@ class taito8741_4pack_device : public device_t
};
public:
- taito8741_4pack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ taito8741_4pack_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~taito8741_4pack_device() {}
template<class _Object> static devcb_base &set_port_handler_0_callback(device_t &device, _Object object) { return downcast<taito8741_4pack_device &>(device).m_port_handler_0_r.set_callback(object); }
@@ -143,7 +143,7 @@ class josvolly8741_4pack_device : public device_t
};
public:
- josvolly8741_4pack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ josvolly8741_4pack_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~josvolly8741_4pack_device() {}
template<class _Object> static devcb_base &set_port_handler_0_callback(device_t &device, _Object object) { return downcast<josvolly8741_4pack_device &>(device).m_port_handler_0_r.set_callback(object); }
diff --git a/src/mame/machine/taitoio.cpp b/src/mame/machine/taitoio.cpp
index 7ec4223c354..c5215252911 100644
--- a/src/mame/machine/taitoio.cpp
+++ b/src/mame/machine/taitoio.cpp
@@ -56,7 +56,7 @@ Newer version of the I/O chip ?
const device_type TC0220IOC = &device_creator<tc0220ioc_device>;
-tc0220ioc_device::tc0220ioc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tc0220ioc_device::tc0220ioc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TC0220IOC, "Taito TC0220IOC", tag, owner, clock, "tc0220ioc", __FILE__),
m_read_0_cb(*this),
m_read_1_cb(*this),
@@ -182,7 +182,7 @@ WRITE8_MEMBER( tc0220ioc_device::portreg_w )
const device_type TC0510NIO = &device_creator<tc0510nio_device>;
-tc0510nio_device::tc0510nio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tc0510nio_device::tc0510nio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TC0510NIO, "Taito TC0510NIO", tag, owner, clock, "tc0510nio", __FILE__),
m_read_0_cb(*this),
m_read_1_cb(*this),
@@ -309,7 +309,7 @@ WRITE16_MEMBER( tc0510nio_device::halfword_wordswap_w )
const device_type TC0640FIO = &device_creator<tc0640fio_device>;
-tc0640fio_device::tc0640fio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tc0640fio_device::tc0640fio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TC0640FIO, "Taito TC0640FIO", tag, owner, clock, "tc0640fio", __FILE__),
m_read_0_cb(*this),
m_read_1_cb(*this),
diff --git a/src/mame/machine/taitoio.h b/src/mame/machine/taitoio.h
index a1b5e53b6c9..7df6117969e 100644
--- a/src/mame/machine/taitoio.h
+++ b/src/mame/machine/taitoio.h
@@ -15,7 +15,7 @@
class tc0220ioc_device : public device_t
{
public:
- tc0220ioc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tc0220ioc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~tc0220ioc_device() {}
template<class _Object> static devcb_base &set_read_0_callback(device_t &device, _Object object) { return downcast<tc0220ioc_device &>(device).m_read_0_cb.set_callback(object); }
@@ -53,7 +53,7 @@ extern const device_type TC0220IOC;
class tc0510nio_device : public device_t
{
public:
- tc0510nio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tc0510nio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~tc0510nio_device() {}
template<class _Object> static devcb_base &set_read_0_callback(device_t &device, _Object object) { return downcast<tc0510nio_device &>(device).m_read_0_cb.set_callback(object); }
@@ -90,7 +90,7 @@ extern const device_type TC0510NIO;
class tc0640fio_device : public device_t
{
public:
- tc0640fio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tc0640fio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~tc0640fio_device() {}
template<class _Object> static devcb_base &set_read_0_callback(device_t &device, _Object object) { return downcast<tc0640fio_device &>(device).m_read_0_cb.set_callback(object); }
diff --git a/src/mame/machine/tandy2kb.cpp b/src/mame/machine/tandy2kb.cpp
index 6e0b08351e7..5b602772f8b 100644
--- a/src/mame/machine/tandy2kb.cpp
+++ b/src/mame/machine/tandy2kb.cpp
@@ -225,7 +225,7 @@ ioport_constructor tandy2k_keyboard_device::device_input_ports() const
// tandy2k_keyboard_device - constructor
//-------------------------------------------------
-tandy2k_keyboard_device::tandy2k_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tandy2k_keyboard_device::tandy2k_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TANDY2K_KEYBOARD, "Tandy 2000 Keyboard", tag, owner, clock, "tandy2kb", __FILE__),
m_maincpu(*this, I8048_TAG),
m_y0(*this, "Y0"),
diff --git a/src/mame/machine/tandy2kb.h b/src/mame/machine/tandy2kb.h
index aa27aa3b782..b5ecd01be34 100644
--- a/src/mame/machine/tandy2kb.h
+++ b/src/mame/machine/tandy2kb.h
@@ -46,7 +46,7 @@ class tandy2k_keyboard_device : public device_t
{
public:
// construction/destruction
- tandy2k_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tandy2k_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_clock_wr_callback(device_t &device, _Object object) { return downcast<tandy2k_keyboard_device &>(device).m_write_clock.set_callback(object); }
template<class _Object> static devcb_base &set_data_wr_callback(device_t &device, _Object object) { return downcast<tandy2k_keyboard_device &>(device).m_write_data.set_callback(object); }
diff --git a/src/mame/machine/teleprinter.cpp b/src/mame/machine/teleprinter.cpp
index 1c72a536883..17e225c7e85 100644
--- a/src/mame/machine/teleprinter.cpp
+++ b/src/mame/machine/teleprinter.cpp
@@ -136,7 +136,7 @@ static const UINT8 teleprinter_font[128*8] =
0x2a,0x15,0x2a,0x15,0x2a,0x15,0x2a,0x15
};
-teleprinter_device::teleprinter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+teleprinter_device::teleprinter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: generic_terminal_device(mconfig, TELEPRINTER, "Teleprinter", tag, owner, clock, "teleprinter", __FILE__)
{
}
diff --git a/src/mame/machine/teleprinter.h b/src/mame/machine/teleprinter.h
index 918a2b3ec0c..a7af040b2a9 100644
--- a/src/mame/machine/teleprinter.h
+++ b/src/mame/machine/teleprinter.h
@@ -25,7 +25,7 @@
class teleprinter_device : public generic_terminal_device
{
public:
- teleprinter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ teleprinter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
UINT32 tp_update(screen_device &device, bitmap_rgb32 &bitmap, const rectangle &cliprect);
protected:
virtual void term_write(UINT8 data) override;
diff --git a/src/mame/machine/thomson.cpp b/src/mame/machine/thomson.cpp
index bda8cf14c80..89157913d3e 100644
--- a/src/mame/machine/thomson.cpp
+++ b/src/mame/machine/thomson.cpp
@@ -613,7 +613,7 @@ const device_type TO7_IO_LINE = &device_creator<to7_io_line_device>;
// to7_io_line_device - constructor
//-------------------------------------------------
-to7_io_line_device::to7_io_line_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+to7_io_line_device::to7_io_line_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TO7_IO_LINE, "T07 Serial source", tag, owner, clock, "to7_io_line", __FILE__),
m_pia_io(*this, THOM_PIA_IO),
m_rs232(*this, "rs232"),
diff --git a/src/mame/machine/ticket.cpp b/src/mame/machine/ticket.cpp
index 3bd90d40e53..d68b68ea793 100644
--- a/src/mame/machine/ticket.cpp
+++ b/src/mame/machine/ticket.cpp
@@ -38,7 +38,7 @@ const device_type TICKET_DISPENSER = &device_creator<ticket_dispenser_device>;
// ticket_dispenser_device - constructor
//-------------------------------------------------
-ticket_dispenser_device::ticket_dispenser_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ticket_dispenser_device::ticket_dispenser_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TICKET_DISPENSER, "Ticket Dispenser", tag, owner, clock, "ticket_dispenser", __FILE__),
m_motor_sense(TICKET_MOTOR_ACTIVE_LOW),
m_status_sense(TICKET_STATUS_ACTIVE_LOW),
diff --git a/src/mame/machine/ticket.h b/src/mame/machine/ticket.h
index 1d02202103e..1fbafb19d89 100644
--- a/src/mame/machine/ticket.h
+++ b/src/mame/machine/ticket.h
@@ -53,7 +53,7 @@ class ticket_dispenser_device : public device_t
{
public:
// construction/destruction
- ticket_dispenser_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ticket_dispenser_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ~ticket_dispenser_device();
// inline configuration helpers
diff --git a/src/mame/machine/trs80m2kb.cpp b/src/mame/machine/trs80m2kb.cpp
index d098a56ae88..c08c041e844 100644
--- a/src/mame/machine/trs80m2kb.cpp
+++ b/src/mame/machine/trs80m2kb.cpp
@@ -226,7 +226,7 @@ ioport_constructor trs80m2_keyboard_device::device_input_ports() const
// trs80m2_keyboard_device - constructor
//-------------------------------------------------
-trs80m2_keyboard_device::trs80m2_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+trs80m2_keyboard_device::trs80m2_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TRS80M2_KEYBOARD, "TRS-80 Model II Keyboard", tag, owner, clock, "trs80m2kb", __FILE__),
m_maincpu(*this, I8021_TAG),
m_y0(*this, "Y0"),
diff --git a/src/mame/machine/trs80m2kb.h b/src/mame/machine/trs80m2kb.h
index 72a815bcbf4..c9a9984902d 100644
--- a/src/mame/machine/trs80m2kb.h
+++ b/src/mame/machine/trs80m2kb.h
@@ -44,7 +44,7 @@ class trs80m2_keyboard_device : public device_t
{
public:
// construction/destruction
- trs80m2_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ trs80m2_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_clock_wr_callback(device_t &device, _Object object) { return downcast<trs80m2_keyboard_device &>(device).m_write_clock.set_callback(object); }
diff --git a/src/mame/machine/upd65031.cpp b/src/mame/machine/upd65031.cpp
index 86d9ff5e093..4980f87b80d 100644
--- a/src/mame/machine/upd65031.cpp
+++ b/src/mame/machine/upd65031.cpp
@@ -142,13 +142,13 @@ inline void upd65031_device::interrupt_refresh()
{
if ((m_int & INT_GINT) && ((m_int & m_sta & 0x7c) || ((m_int & INT_TIME) && (m_sta & STA_TIME))))
{
- if (LOG) logerror("uPD65031 '%s': set int\n", tag());
+ if (LOG) logerror("uPD65031 '%s': set int\n", tag().c_str());
m_write_int(ASSERT_LINE);
}
else
{
- if (LOG) logerror("uPD65031 '%s': clear int\n", tag());
+ if (LOG) logerror("uPD65031 '%s': clear int\n", tag().c_str());
m_write_int(CLEAR_LINE);
}
@@ -195,7 +195,7 @@ inline void upd65031_device::set_mode(int mode)
// upd65031_device - constructor
//-------------------------------------------------
-upd65031_device::upd65031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+upd65031_device::upd65031_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, UPD65031, "NEC uPD65031", tag, owner, clock, "upd65031", __FILE__),
m_read_kb(*this),
m_write_int(*this),
@@ -289,7 +289,7 @@ void upd65031_device::device_timer(emu_timer &timer, device_timer_id id, int par
// if a key is pressed sets the interrupt
if ((m_int & INT_GINT) && (m_int & INT_KEY) && m_read_kb(0) != 0xff)
{
- if (LOG) logerror("uPD65031 '%s': Keyboard interrupt!\n", tag());
+ if (LOG) logerror("uPD65031 '%s': Keyboard interrupt!\n", tag().c_str());
// awakes CPU from snooze on key down
if (m_mode == STATE_SNOOZE)
@@ -416,36 +416,36 @@ READ8_MEMBER( upd65031_device::read )
{
set_mode(STATE_SNOOZE);
- if (LOG) logerror("uPD65031 '%s': entering snooze!\n", tag());
+ if (LOG) logerror("uPD65031 '%s': entering snooze!\n", tag().c_str());
}
UINT8 data = m_read_kb(offset>>8);
- if (LOG) logerror("uPD65031 '%s': key r %02x: %02x\n", tag(), offset>>8, data);
+ if (LOG) logerror("uPD65031 '%s': key r %02x: %02x\n", tag().c_str(), offset>>8, data);
return data;
}
// read real time clock status
case REG_TSTA:
- if (LOG) logerror("uPD65031 '%s': tsta r: %02x\n", tag(), m_tsta);
+ if (LOG) logerror("uPD65031 '%s': tsta r: %02x\n", tag().c_str(), m_tsta);
return m_tsta & 0x07;
// read real time clock counters
case REG_TIM0:
- if (LOG) logerror("uPD65031 '%s': TIM0 r: %02x\n", tag(), m_tim[0]);
+ if (LOG) logerror("uPD65031 '%s': TIM0 r: %02x\n", tag().c_str(), m_tim[0]);
return m_tim[0];
case REG_TIM1:
- if (LOG) logerror("uPD65031 '%s': TIM1 r: %02x\n", tag(), m_tim[1]);
+ if (LOG) logerror("uPD65031 '%s': TIM1 r: %02x\n", tag().c_str(), m_tim[1]);
return m_tim[1];
case REG_TIM2:
- if (LOG) logerror("uPD65031 '%s': TIM2 r: %02x\n", tag(), m_tim[2]);
+ if (LOG) logerror("uPD65031 '%s': TIM2 r: %02x\n", tag().c_str(), m_tim[2]);
return m_tim[2];
case REG_TIM3:
- if (LOG) logerror("uPD65031 '%s': TIM3 r: %02x\n", tag(), m_tim[3]);
+ if (LOG) logerror("uPD65031 '%s': TIM3 r: %02x\n", tag().c_str(), m_tim[3]);
return m_tim[3];
case REG_TIM4:
- if (LOG) logerror("uPD65031 '%s': TIM4 r: %02x\n", tag(), m_tim[4]);
+ if (LOG) logerror("uPD65031 '%s': TIM4 r: %02x\n", tag().c_str(), m_tim[4]);
return m_tim[4];
// UART
@@ -456,7 +456,7 @@ READ8_MEMBER( upd65031_device::read )
return 0;
default:
- logerror("uPD65031 '%s': blink r: %04x\n", tag(), offset);
+ logerror("uPD65031 '%s': blink r: %04x\n", tag().c_str(), offset);
return 0;
}
}
@@ -482,7 +482,7 @@ WRITE8_MEMBER( upd65031_device::write )
break;
case REG_COM: // command register
- if (LOG) logerror("uPD65031 '%s': com w: %02x\n", tag(), data);
+ if (LOG) logerror("uPD65031 '%s': com w: %02x\n", tag().c_str(), data);
// reset clock?
if (data & COM_RESTIM)
@@ -518,7 +518,7 @@ WRITE8_MEMBER( upd65031_device::write )
break;
case REG_INT: // interrupt control
- if (LOG) logerror("uPD65031 '%s': int w: %02x\n", tag(), data);
+ if (LOG) logerror("uPD65031 '%s': int w: %02x\n", tag().c_str(), data);
m_int = data;
@@ -528,12 +528,12 @@ WRITE8_MEMBER( upd65031_device::write )
break;
case REG_EPR: // EPROM programming register
- if (LOG) logerror("uPD65031 '%s': epr w: %02x\n", tag(), data);
+ if (LOG) logerror("uPD65031 '%s': epr w: %02x\n", tag().c_str(), data);
// TODO
break;
case REG_TACK: // rtc interrupt acknowledge
- if (LOG) logerror("uPD65031 '%s': tack w: %02x\n", tag(), data);
+ if (LOG) logerror("uPD65031 '%s': tack w: %02x\n", tag().c_str(), data);
// clear ints that have occurred
m_tsta &= ~(data & 0x07);
@@ -545,13 +545,13 @@ WRITE8_MEMBER( upd65031_device::write )
break;
case REG_TMK: // write rtc interrupt mask
- if (LOG) logerror("uPD65031 '%s': tmk w: %02x\n", tag(), data);
+ if (LOG) logerror("uPD65031 '%s': tmk w: %02x\n", tag().c_str(), data);
m_tmk = data & 0x07;
break;
case REG_ACK: // acknowledge ints
- if (LOG) logerror("uPD65031 '%s': ack w: %02x\n", tag(), data);
+ if (LOG) logerror("uPD65031 '%s': ack w: %02x\n", tag().c_str(), data);
m_ack = data;
m_sta &= ~(data & 0x7f);
@@ -577,12 +577,12 @@ WRITE8_MEMBER( upd65031_device::write )
case REG_TXC:
case REG_UMK:
case REG_UAK:
- if (LOG) logerror("uPD65031 '%s': UART w: %02x %02x\n", tag(), port & 7 , data);
+ if (LOG) logerror("uPD65031 '%s': UART w: %02x %02x\n", tag().c_str(), port & 7 , data);
// TODO
break;
default:
- logerror("uPD65031 '%s': blink w: %04x %02x\n", tag(), offset, data);
+ logerror("uPD65031 '%s': blink w: %04x %02x\n", tag().c_str(), offset, data);
break;
}
}
diff --git a/src/mame/machine/upd65031.h b/src/mame/machine/upd65031.h
index d8ca35211d5..c0b7f94c90c 100644
--- a/src/mame/machine/upd65031.h
+++ b/src/mame/machine/upd65031.h
@@ -55,7 +55,7 @@ class upd65031_device : public device_t
{
public:
// construction/destruction
- upd65031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ upd65031_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_kb_rd_callback(device_t &device, _Object object) { return downcast<upd65031_device &>(device).m_read_kb.set_callback(object); }
template<class _Object> static devcb_base &set_int_wr_callback(device_t &device, _Object object) { return downcast<upd65031_device &>(device).m_write_int.set_callback(object); }
diff --git a/src/mame/machine/v1050kb.cpp b/src/mame/machine/v1050kb.cpp
index d1f06bcdf30..ea4022cfa7a 100644
--- a/src/mame/machine/v1050kb.cpp
+++ b/src/mame/machine/v1050kb.cpp
@@ -301,7 +301,7 @@ ioport_constructor v1050_keyboard_device::device_input_ports() const
// v1050_keyboard_device - constructor
//-------------------------------------------------
-v1050_keyboard_device::v1050_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+v1050_keyboard_device::v1050_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, V1050_KEYBOARD, "Visual 1050 Keyboard", tag, owner, clock, "v1050kb", __FILE__),
m_maincpu(*this, I8049_TAG),
m_discrete(*this, DISCRETE_TAG),
diff --git a/src/mame/machine/v1050kb.h b/src/mame/machine/v1050kb.h
index dd646c40b04..cc20f950f0c 100644
--- a/src/mame/machine/v1050kb.h
+++ b/src/mame/machine/v1050kb.h
@@ -36,7 +36,7 @@ class v1050_keyboard_device : public device_t
{
public:
// construction/destruction
- v1050_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ v1050_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_out_tx_handler(device_t &device, _Object object) { return downcast<v1050_keyboard_device &>(device).m_out_tx_handler.set_callback(object); }
diff --git a/src/mame/machine/victor9k_fdc.cpp b/src/mame/machine/victor9k_fdc.cpp
index 61bd336b47e..66e85490838 100644
--- a/src/mame/machine/victor9k_fdc.cpp
+++ b/src/mame/machine/victor9k_fdc.cpp
@@ -217,7 +217,7 @@ machine_config_constructor victor_9000_fdc_t::device_mconfig_additions() const
// victor_9000_fdc_t - constructor
//-------------------------------------------------
-victor_9000_fdc_t::victor_9000_fdc_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+victor_9000_fdc_t::victor_9000_fdc_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, VICTOR_9000_FDC, "Victor 9000 FDC", tag, owner, clock, "victor9k_fdc", __FILE__),
m_irq_cb(*this),
m_syn_cb(*this),
@@ -564,10 +564,10 @@ void victor_9000_fdc_t::update_stepper_motor(floppy_image_device *floppy, int st
void victor_9000_fdc_t::update_spindle_motor(floppy_image_device *floppy, emu_timer *t_tach, bool start, bool stop, bool sel, UINT8 &da)
{
if (start && !stop && floppy->mon_r()) {
- if (LOG_SCP) logerror("%s: motor start\n", floppy->tag());
+ if (LOG_SCP) logerror("%s: motor start\n", floppy->tag().c_str());
floppy->mon_w(0);
} else if (stop && !floppy->mon_r()) {
- if (LOG_SCP) logerror("%s: motor stop\n", floppy->tag());
+ if (LOG_SCP) logerror("%s: motor stop\n", floppy->tag().c_str());
floppy->mon_w(1);
t_tach->reset();
}
@@ -577,7 +577,7 @@ void victor_9000_fdc_t::update_spindle_motor(floppy_image_device *floppy, emu_ti
if (!floppy->mon_r()) {
float tach = rpm[da] / 60 * SPINDLE_RATIO * MOTOR_POLES;
- if (LOG_SCP) logerror("%s: motor speed %u rpm / tach %0.1f hz (DA %02x)\n", floppy->tag(), rpm[da], (double) tach, da);
+ if (LOG_SCP) logerror("%s: motor speed %u rpm / tach %0.1f hz (DA %02x)\n", floppy->tag().c_str(), rpm[da], (double) tach, da);
t_tach->adjust(attotime::from_hz(tach*2), 0, attotime::from_hz(tach*2));
floppy->set_rpm(rpm[da]);
diff --git a/src/mame/machine/victor9k_fdc.h b/src/mame/machine/victor9k_fdc.h
index 60935760748..468d9d360af 100644
--- a/src/mame/machine/victor9k_fdc.h
+++ b/src/mame/machine/victor9k_fdc.h
@@ -45,7 +45,7 @@ class victor_9000_fdc_t : public device_t
{
public:
// construction/destruction
- victor_9000_fdc_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ victor_9000_fdc_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_irq_wr_callback(device_t &device, _Object object) { return downcast<victor_9000_fdc_t &>(device).m_irq_cb.set_callback(object); }
template<class _Object> static devcb_base &set_syn_wr_callback(device_t &device, _Object object) { return downcast<victor_9000_fdc_t &>(device).m_syn_cb.set_callback(object); }
diff --git a/src/mame/machine/victor9kb.cpp b/src/mame/machine/victor9kb.cpp
index 337a1b64cae..7bb534fdd7e 100644
--- a/src/mame/machine/victor9kb.cpp
+++ b/src/mame/machine/victor9kb.cpp
@@ -566,7 +566,7 @@ ioport_constructor victor_9000_keyboard_t::device_input_ports() const
// victor_9000_keyboard_t - constructor
//-------------------------------------------------
-victor_9000_keyboard_t::victor_9000_keyboard_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+victor_9000_keyboard_t::victor_9000_keyboard_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, VICTOR9K_KEYBOARD, "Victor 9000 Keyboard", tag, owner, clock, "victor9kb", __FILE__),
m_maincpu(*this, I8021_TAG),
m_y0(*this, "Y0"),
diff --git a/src/mame/machine/victor9kb.h b/src/mame/machine/victor9kb.h
index 47511113fe7..5383c4ce492 100644
--- a/src/mame/machine/victor9kb.h
+++ b/src/mame/machine/victor9kb.h
@@ -38,7 +38,7 @@ class victor_9000_keyboard_t : public device_t
{
public:
// construction/destruction
- victor_9000_keyboard_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ victor_9000_keyboard_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_kbrdy_cb(device_t &device, _Object object) { return downcast<victor_9000_keyboard_t &>(device).m_kbrdy_cb.set_callback(object); }
template<class _Object> static devcb_base &set_kbdata_cb(device_t &device, _Object object) { return downcast<victor_9000_keyboard_t &>(device).m_kbdata_cb.set_callback(object); }
diff --git a/src/mame/machine/wangpckb.cpp b/src/mame/machine/wangpckb.cpp
index 679c75862a6..6ec7d866cba 100644
--- a/src/mame/machine/wangpckb.cpp
+++ b/src/mame/machine/wangpckb.cpp
@@ -370,7 +370,7 @@ ioport_constructor wangpc_keyboard_device::device_input_ports() const
// wangpc_keyboard_device - constructor
//-------------------------------------------------
-wangpc_keyboard_device::wangpc_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+wangpc_keyboard_device::wangpc_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, WANGPC_KEYBOARD, "Wang PC Keyboard", tag, owner, clock, "wangpckb", __FILE__),
device_serial_interface(mconfig, *this),
m_maincpu(*this, I8051_TAG),
diff --git a/src/mame/machine/wangpckb.h b/src/mame/machine/wangpckb.h
index e253685966a..8b87026c602 100644
--- a/src/mame/machine/wangpckb.h
+++ b/src/mame/machine/wangpckb.h
@@ -48,7 +48,7 @@ class wangpc_keyboard_device : public device_t,
{
public:
// construction/destruction
- wangpc_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ wangpc_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_txd_handler(device_t &device, _Object object) { return downcast<wangpc_keyboard_device &>(device).m_txd_handler.set_callback(object); }
diff --git a/src/mame/machine/wpc.cpp b/src/mame/machine/wpc.cpp
index 49608b7075f..48f0e288165 100644
--- a/src/mame/machine/wpc.cpp
+++ b/src/mame/machine/wpc.cpp
@@ -12,7 +12,7 @@
const device_type WPCASIC = &device_creator<wpc_device>;
-wpc_device::wpc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+wpc_device::wpc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig,WPCASIC,"Williams WPC ASIC",tag,owner,clock, "wpc", __FILE__),
m_dmd_visiblepage(0),
m_irq_cb(*this),
diff --git a/src/mame/machine/wpc.h b/src/mame/machine/wpc.h
index 6d4a4e38406..09c29246985 100644
--- a/src/mame/machine/wpc.h
+++ b/src/mame/machine/wpc.h
@@ -102,7 +102,7 @@
class wpc_device : public device_t
{
public:
- wpc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ wpc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ8_MEMBER(read);
DECLARE_WRITE8_MEMBER(write);
diff --git a/src/mame/machine/wpc_lamp.cpp b/src/mame/machine/wpc_lamp.cpp
index eba57bb6ced..95523978b8f 100644
--- a/src/mame/machine/wpc_lamp.cpp
+++ b/src/mame/machine/wpc_lamp.cpp
@@ -6,7 +6,7 @@
const device_type WPC_LAMP = &device_creator<wpc_lamp_device>;
-wpc_lamp_device::wpc_lamp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+wpc_lamp_device::wpc_lamp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, WPC_LAMP, "Williams Pinball Controller Lamp Control", tag, owner, clock, "wpc_lamp", __FILE__)
{
names = nullptr;
diff --git a/src/mame/machine/wpc_lamp.h b/src/mame/machine/wpc_lamp.h
index bc057ead3f4..12df7709ae7 100644
--- a/src/mame/machine/wpc_lamp.h
+++ b/src/mame/machine/wpc_lamp.h
@@ -12,7 +12,7 @@
class wpc_lamp_device : public device_t
{
public:
- wpc_lamp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ wpc_lamp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ~wpc_lamp_device();
DECLARE_WRITE8_MEMBER(row_w);
diff --git a/src/mame/machine/wpc_out.cpp b/src/mame/machine/wpc_out.cpp
index 7268eeeed09..fd4dc47a569 100644
--- a/src/mame/machine/wpc_out.cpp
+++ b/src/mame/machine/wpc_out.cpp
@@ -6,7 +6,7 @@
const device_type WPC_OUT = &device_creator<wpc_out_device>;
-wpc_out_device::wpc_out_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+wpc_out_device::wpc_out_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, WPC_OUT, "Williams Pinball Controller Output Control", tag, owner, clock, "wpc_out", __FILE__)
{
names = nullptr;
diff --git a/src/mame/machine/wpc_out.h b/src/mame/machine/wpc_out.h
index f5615ddfd2a..6734881ab76 100644
--- a/src/mame/machine/wpc_out.h
+++ b/src/mame/machine/wpc_out.h
@@ -15,7 +15,7 @@ class wpc_out_device : public device_t
public:
typedef delegate<bool (int, bool)> handler_t;
- wpc_out_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ wpc_out_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ~wpc_out_device();
DECLARE_WRITE8_MEMBER(out_w);
diff --git a/src/mame/machine/wpc_pic.cpp b/src/mame/machine/wpc_pic.cpp
index 353454fb7a1..f09b4bb48f7 100644
--- a/src/mame/machine/wpc_pic.cpp
+++ b/src/mame/machine/wpc_pic.cpp
@@ -6,7 +6,7 @@
const device_type WPC_PIC = &device_creator<wpc_pic_device>;
-wpc_pic_device::wpc_pic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+wpc_pic_device::wpc_pic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, WPC_PIC, "Williams Pinball Controller PIC Security", tag, owner, clock, "wpc_pic", __FILE__),
swarray(*this, ":SW")
{
@@ -38,7 +38,7 @@ READ8_MEMBER(wpc_pic_device::read)
data = swarray[curcmd - 0x16]->read();
else
- logerror("%s: cmd=%02x (%04x)\n", tag(), curcmd, space.device().safe_pc());
+ logerror("%s: cmd=%02x (%04x)\n", tag().c_str(), curcmd, space.device().safe_pc());
return data;
}
@@ -50,7 +50,7 @@ void wpc_pic_device::check_game_id()
UINT32 v = (i >> 8) * 0x3133 + (i & 0xff) * 0x3231;
v = v & 0xffffff;
if(v == cmp)
- logerror("%s: Detected game id %03d\n", tag(), i);
+ logerror("%s: Detected game id %03d\n", tag().c_str(), i);
}
}
@@ -60,7 +60,7 @@ WRITE8_MEMBER(wpc_pic_device::write)
cmpchk[3-chk_count] = data;
if(data != cmpchk[3-chk_count]) {
- logerror("%s: WARNING: validation error, checksum[%d] got %02x, expected %02x\n", tag(), 3-chk_count, data, chk[3-chk_count]);
+ logerror("%s: WARNING: validation error, checksum[%d] got %02x, expected %02x\n", tag().c_str(), 3-chk_count, data, chk[3-chk_count]);
if(chk_count == 1)
check_game_id();
}
@@ -79,7 +79,7 @@ WRITE8_MEMBER(wpc_pic_device::write)
else if(data == 0x20)
chk_count = 3;
else if((data < 0x16 || data >= 0x1e) && ((data & 0xf0) != 0x70))
- logerror("%s: write %02x (%04x)\n", tag(), data, space.device().safe_pc());
+ logerror("%s: write %02x (%04x)\n", tag().c_str(), data, space.device().safe_pc());
curcmd = data;
}
diff --git a/src/mame/machine/wpc_pic.h b/src/mame/machine/wpc_pic.h
index 793dec9c05e..61266e71204 100644
--- a/src/mame/machine/wpc_pic.h
+++ b/src/mame/machine/wpc_pic.h
@@ -12,7 +12,7 @@
class wpc_pic_device : public device_t
{
public:
- wpc_pic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ wpc_pic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ~wpc_pic_device();
DECLARE_READ8_MEMBER(read);
diff --git a/src/mame/machine/wpc_shift.cpp b/src/mame/machine/wpc_shift.cpp
index 8022f14a26a..ade2c28f2c4 100644
--- a/src/mame/machine/wpc_shift.cpp
+++ b/src/mame/machine/wpc_shift.cpp
@@ -6,7 +6,7 @@
const device_type WPC_SHIFT = &device_creator<wpc_shift_device>;
-wpc_shift_device::wpc_shift_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+wpc_shift_device::wpc_shift_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, WPC_SHIFT, "Williams Pinball Controller Shifter", tag, owner, clock, "wpc_shift", __FILE__)
{
}
diff --git a/src/mame/machine/wpc_shift.h b/src/mame/machine/wpc_shift.h
index 70fc487c3ea..9968bc79f23 100644
--- a/src/mame/machine/wpc_shift.h
+++ b/src/mame/machine/wpc_shift.h
@@ -12,7 +12,7 @@
class wpc_shift_device : public device_t
{
public:
- wpc_shift_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ wpc_shift_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ~wpc_shift_device();
DECLARE_ADDRESS_MAP(registers, 8);
diff --git a/src/mame/machine/x1.cpp b/src/mame/machine/x1.cpp
index f9c40398f20..50174644e24 100644
--- a/src/mame/machine/x1.cpp
+++ b/src/mame/machine/x1.cpp
@@ -14,7 +14,7 @@ const device_type X1_KEYBOARD = &device_creator<x1_keyboard_device>;
// z80ctc_device - constructor
//-------------------------------------------------
-x1_keyboard_device::x1_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+x1_keyboard_device::x1_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, X1_KEYBOARD, "X1 Keyboard", tag, owner, clock, "x1_keyboard", __FILE__),
device_z80daisy_interface(mconfig, *this)
{
diff --git a/src/mame/machine/x68k_hdc.cpp b/src/mame/machine/x68k_hdc.cpp
index bdc1612da23..0429a4db0d9 100644
--- a/src/mame/machine/x68k_hdc.cpp
+++ b/src/mame/machine/x68k_hdc.cpp
@@ -23,7 +23,7 @@
const device_type X68KHDC = &device_creator<x68k_hdc_image_device>;
-x68k_hdc_image_device::x68k_hdc_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+x68k_hdc_image_device::x68k_hdc_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, X68KHDC, "SASI Hard Disk", tag, owner, clock, "x68k_hdc_image", __FILE__),
device_image_interface(mconfig, *this)
{
diff --git a/src/mame/machine/x68k_hdc.h b/src/mame/machine/x68k_hdc.h
index a4ea3e92165..2baad2f29de 100644
--- a/src/mame/machine/x68k_hdc.h
+++ b/src/mame/machine/x68k_hdc.h
@@ -82,7 +82,7 @@ class x68k_hdc_image_device : public device_t,
{
public:
// construction/destruction
- x68k_hdc_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ x68k_hdc_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// image-level overrides
virtual iodevice_t image_type() const override { return IO_HARDDISK; }
diff --git a/src/mame/machine/x68k_kbd.cpp b/src/mame/machine/x68k_kbd.cpp
index 675038414c4..00301df3491 100644
--- a/src/mame/machine/x68k_kbd.cpp
+++ b/src/mame/machine/x68k_kbd.cpp
@@ -2,7 +2,7 @@
// copyright-holders:Barry Rodewald
#include "machine/x68k_kbd.h"
-x68k_keyboard_device::x68k_keyboard_device(const machine_config& mconfig, const char* tag, device_t* owner, UINT32 clock) :
+x68k_keyboard_device::x68k_keyboard_device(const machine_config& mconfig, std::string tag, device_t* owner, UINT32 clock) :
serial_keyboard_device(mconfig, X68K_KEYBOARD, "X68k Keyboard", tag, owner, 0, "x68k_keyboard", __FILE__),
m_io_kbd8(*this, "TERM_LINE8"),
m_io_kbd9(*this, "TERM_LINE9"),
diff --git a/src/mame/machine/x68k_kbd.h b/src/mame/machine/x68k_kbd.h
index 09c5b1c0e0c..8836e0d3bfc 100644
--- a/src/mame/machine/x68k_kbd.h
+++ b/src/mame/machine/x68k_kbd.h
@@ -8,7 +8,7 @@
class x68k_keyboard_device : public serial_keyboard_device
{
public:
- x68k_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ x68k_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ioport_constructor device_input_ports() const override;
protected:
diff --git a/src/mame/machine/x820kb.cpp b/src/mame/machine/x820kb.cpp
index 115e8591e4a..d68d53a152b 100644
--- a/src/mame/machine/x820kb.cpp
+++ b/src/mame/machine/x820kb.cpp
@@ -239,7 +239,7 @@ ioport_constructor xerox_820_keyboard_t::device_input_ports() const
// xerox_820_keyboard_t - constructor
//-------------------------------------------------
-xerox_820_keyboard_t::xerox_820_keyboard_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+xerox_820_keyboard_t::xerox_820_keyboard_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, XEROX_820_KEYBOARD, "Xerox 820 Keyboard", tag, owner, clock, "x820kb", __FILE__),
m_maincpu(*this, I8748_TAG),
m_y0(*this, "Y0"),
diff --git a/src/mame/machine/x820kb.h b/src/mame/machine/x820kb.h
index ca678203545..7e0b0993d78 100644
--- a/src/mame/machine/x820kb.h
+++ b/src/mame/machine/x820kb.h
@@ -35,7 +35,7 @@ class xerox_820_keyboard_t : public device_t
{
public:
// construction/destruction
- xerox_820_keyboard_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ xerox_820_keyboard_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_kbstb_wr_callback(device_t &device, _Object object) { return downcast<xerox_820_keyboard_t &>(device).m_kbstb_cb.set_callback(object); }
diff --git a/src/mame/machine/zndip.cpp b/src/mame/machine/zndip.cpp
index f5e1d618604..c6ba395d308 100644
--- a/src/mame/machine/zndip.cpp
+++ b/src/mame/machine/zndip.cpp
@@ -4,7 +4,7 @@
const device_type ZNDIP = &device_creator<zndip_device>;
-zndip_device::zndip_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+zndip_device::zndip_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, ZNDIP, "Sony ZNDIP", tag, owner, clock, "zndip", __FILE__),
m_data_handler(*this),
m_dataout_handler(*this),
diff --git a/src/mame/machine/zndip.h b/src/mame/machine/zndip.h
index 405ee496fda..7725570c341 100644
--- a/src/mame/machine/zndip.h
+++ b/src/mame/machine/zndip.h
@@ -21,7 +21,7 @@ extern const device_type ZNDIP;
class zndip_device : public device_t
{
public:
- zndip_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ zndip_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration helpers
template<class _Object> static devcb_base &set_data_handler(device_t &device, _Object object) { return downcast<zndip_device &>(device).m_data_handler.set_callback(object); }
diff --git a/src/mame/machine/zs01.cpp b/src/mame/machine/zs01.cpp
index 613a3cdcc1a..37f12f241e3 100644
--- a/src/mame/machine/zs01.cpp
+++ b/src/mame/machine/zs01.cpp
@@ -22,14 +22,14 @@ inline void ATTR_PRINTF( 3, 4 ) zs01_device::verboselog( int n_level, const char
va_start( v, s_fmt );
vsprintf( buf, s_fmt, v );
va_end( v );
- logerror( "%s: zs01(%s) %s", machine().describe_context(), tag(), buf );
+ logerror( "%s: zs01(%s) %s", machine().describe_context(), tag().c_str(), buf );
}
}
// device type definition
const device_type ZS01 = &device_creator<zs01_device>;
-zs01_device::zs01_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
+zs01_device::zs01_device( const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock )
: device_t( mconfig, ZS01, "Konami ZS01 PIC", tag, owner, clock, "zs01", __FILE__ ),
device_nvram_interface(mconfig, *this),
m_cs( 0 ),
@@ -583,11 +583,11 @@ void zs01_device::nvram_default()
if( !m_region )
{
- logerror( "zs01(%s) region not found\n", tag() );
+ logerror( "zs01(%s) region not found\n", tag().c_str() );
}
else if( m_region->bytes() != expected_bytes )
{
- logerror( "zs01(%s) region length 0x%x expected 0x%x\n", tag(), m_region->bytes(), expected_bytes );
+ logerror( "zs01(%s) region length 0x%x expected 0x%x\n", tag().c_str(), m_region->bytes(), expected_bytes );
}
else
{
diff --git a/src/mame/machine/zs01.h b/src/mame/machine/zs01.h
index 2606cb5341e..175580975b6 100644
--- a/src/mame/machine/zs01.h
+++ b/src/mame/machine/zs01.h
@@ -24,7 +24,7 @@ class zs01_device : public device_t,
{
public:
// construction/destruction
- zs01_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock );
+ zs01_device( const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock );
// inline configuration helpers
static void static_set_ds2401_tag( device_t &device, const char *ds2401_tag ) { downcast<zs01_device &>( device ).m_ds2401_tag = ds2401_tag; }
diff --git a/src/mame/machine/zx8302.cpp b/src/mame/machine/zx8302.cpp
index 16e06522aa0..45ad3359784 100644
--- a/src/mame/machine/zx8302.cpp
+++ b/src/mame/machine/zx8302.cpp
@@ -93,7 +93,7 @@ inline void zx8302_device::transmit_ipc_data()
switch (m_ipc_state)
{
case IPC_START:
- if (LOG) logerror("ZX8302 '%s' COMDATA Start Bit\n", tag());
+ if (LOG) logerror("ZX8302 '%s' COMDATA Start Bit\n", tag().c_str());
m_out_comdata_cb(BIT(m_idr, 0));
m_ipc_busy = 1;
@@ -101,7 +101,7 @@ inline void zx8302_device::transmit_ipc_data()
break;
case IPC_DATA:
- if (LOG) logerror("ZX8302 '%s' COMDATA Data Bit: %x\n", tag(), BIT(m_idr, 1));
+ if (LOG) logerror("ZX8302 '%s' COMDATA Data Bit: %x\n", tag().c_str(), BIT(m_idr, 1));
m_comdata_to_ipc = BIT(m_idr, 1);
m_out_comdata_cb(m_comdata_to_ipc);
@@ -109,7 +109,7 @@ inline void zx8302_device::transmit_ipc_data()
break;
case IPC_STOP:
- if (LOG) logerror("ZX8302 '%s' COMDATA Stop Bit\n", tag());
+ if (LOG) logerror("ZX8302 '%s' COMDATA Stop Bit\n", tag().c_str());
m_out_comdata_cb(BIT(m_idr, 2));
m_ipc_busy = 0;
@@ -127,7 +127,7 @@ inline void zx8302_device::transmit_ipc_data()
// zx8302_device - constructor
//-------------------------------------------------
-zx8302_device::zx8302_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+zx8302_device::zx8302_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ZX8302, "Sinclair ZX8302", tag, owner, clock, "zx8302", __FILE__),
device_serial_interface(mconfig, *this),
m_rtc_clock(0),
@@ -340,7 +340,7 @@ READ8_MEMBER( zx8302_device::rtc_r )
WRITE8_MEMBER( zx8302_device::rtc_w )
{
- if (LOG) logerror("ZX8302 '%s' Set Real Time Clock: %02x\n", tag(), data);
+ if (LOG) logerror("ZX8302 '%s' Set Real Time Clock: %02x\n", tag().c_str(), data);
}
@@ -350,7 +350,7 @@ WRITE8_MEMBER( zx8302_device::rtc_w )
WRITE8_MEMBER( zx8302_device::control_w )
{
- if (LOG) logerror("ZX8302 '%s' Transmit Control: %02x\n", tag(), data);
+ if (LOG) logerror("ZX8302 '%s' Transmit Control: %02x\n", tag().c_str(), data);
int baud = (19200 >> (data & BAUD_MASK));
int baudx4 = baud * 4;
@@ -370,7 +370,7 @@ WRITE8_MEMBER( zx8302_device::control_w )
READ8_MEMBER( zx8302_device::mdv_track_r )
{
- if (LOG) logerror("ZX8302 '%s' Microdrive Track %u: %02x\n", tag(), m_track, m_mdv_data[m_track]);
+ if (LOG) logerror("ZX8302 '%s' Microdrive Track %u: %02x\n", tag().c_str(), m_track, m_mdv_data[m_track]);
UINT8 data = m_mdv_data[m_track];
@@ -422,7 +422,7 @@ READ8_MEMBER( zx8302_device::status_r )
// COMDATA
data |= m_comdata_to_cpu << 7;
- if (LOG) logerror("ZX8302 '%s' Status: %02x\n", tag(), data);
+ if (LOG) logerror("ZX8302 '%s' Status: %02x\n", tag().c_str(), data);
return data;
}
@@ -444,7 +444,7 @@ READ8_MEMBER( zx8302_device::status_r )
WRITE8_MEMBER( zx8302_device::ipc_command_w )
{
- if (LOG) logerror("ZX8302 '%s' IPC Command: %02x\n", tag(), data);
+ if (LOG) logerror("ZX8302 '%s' IPC Command: %02x\n", tag().c_str(), data);
m_idr = data;
m_ipc_state = IPC_START;
@@ -474,7 +474,7 @@ WRITE8_MEMBER( zx8302_device::mdv_control_w )
*/
- if (LOG) logerror("ZX8302 '%s' Microdrive Control: %02x\n", tag(), data);
+ if (LOG) logerror("ZX8302 '%s' Microdrive Control: %02x\n", tag().c_str(), data);
m_out_mdseld_cb(BIT(data, 0));
m_out_mdselck_cb(BIT(data, 1));
@@ -494,7 +494,7 @@ WRITE8_MEMBER( zx8302_device::mdv_control_w )
READ8_MEMBER( zx8302_device::irq_status_r )
{
- if (LOG) logerror("ZX8302 '%s' Interrupt Status: %02x\n", tag(), m_irq);
+ if (LOG) logerror("ZX8302 '%s' Interrupt Status: %02x\n", tag().c_str(), m_irq);
return m_irq;
}
@@ -506,7 +506,7 @@ READ8_MEMBER( zx8302_device::irq_status_r )
WRITE8_MEMBER( zx8302_device::irq_acknowledge_w )
{
- if (LOG) logerror("ZX8302 '%s' Interrupt Acknowledge: %02x\n", tag(), data);
+ if (LOG) logerror("ZX8302 '%s' Interrupt Acknowledge: %02x\n", tag().c_str(), data);
m_irq &= ~data;
@@ -523,7 +523,7 @@ WRITE8_MEMBER( zx8302_device::irq_acknowledge_w )
WRITE8_MEMBER( zx8302_device::data_w )
{
- if (LOG) logerror("ZX8302 '%s' Data Register: %02x\n", tag(), data);
+ if (LOG) logerror("ZX8302 '%s' Data Register: %02x\n", tag().c_str(), data);
m_tdr = data;
m_status |= STATUS_TX_BUFFER_FULL;
@@ -538,7 +538,7 @@ WRITE_LINE_MEMBER( zx8302_device::vsync_w )
{
if (state)
{
- if (LOG) logerror("ZX8302 '%s' Frame Interrupt\n", tag());
+ if (LOG) logerror("ZX8302 '%s' Frame Interrupt\n", tag().c_str());
trigger_interrupt(INT_FRAME);
}
@@ -551,7 +551,7 @@ WRITE_LINE_MEMBER( zx8302_device::vsync_w )
WRITE_LINE_MEMBER( zx8302_device::comctl_w )
{
- if (LOG) logerror("ZX8302 '%s' COMCTL: %x\n", tag(), state);
+ if (LOG) logerror("ZX8302 '%s' COMCTL: %x\n", tag().c_str(), state);
if (state)
{
@@ -569,7 +569,7 @@ WRITE_LINE_MEMBER( zx8302_device::comctl_w )
WRITE_LINE_MEMBER( zx8302_device::comdata_w )
{
- if (LOG) logerror("ZX8302 '%s' COMDATA->CPU(pending): %x\n", tag(), state);
+ if (LOG) logerror("ZX8302 '%s' COMDATA->CPU(pending): %x\n", tag().c_str(), state);
m_comdata_from_ipc = state;
}
@@ -581,7 +581,7 @@ WRITE_LINE_MEMBER( zx8302_device::comdata_w )
WRITE_LINE_MEMBER( zx8302_device::extint_w )
{
- if (LOG) logerror("ZX8302 '%s' EXTINT: %x\n", tag(), state);
+ if (LOG) logerror("ZX8302 '%s' EXTINT: %x\n", tag().c_str(), state);
if (state == ASSERT_LINE)
{
diff --git a/src/mame/machine/zx8302.h b/src/mame/machine/zx8302.h
index 0d4a223946f..986c7dfa206 100644
--- a/src/mame/machine/zx8302.h
+++ b/src/mame/machine/zx8302.h
@@ -98,7 +98,7 @@ class zx8302_device : public device_t,
{
public:
// construction/destruction
- zx8302_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ zx8302_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
static void set_rtc_clock(device_t &device, int rtc_clock) { downcast<zx8302_device &>(device).m_rtc_clock = rtc_clock; }
template<class _Object> static devcb_base &set_out_ipl1l_callback(device_t &device, _Object object) { return downcast<zx8302_device &>(device).m_out_ipl1l_cb.set_callback(object); }
diff --git a/src/mame/video/733_asr.cpp b/src/mame/video/733_asr.cpp
index e9c446301a2..a2cd22d7e8c 100644
--- a/src/mame/video/733_asr.cpp
+++ b/src/mame/video/733_asr.cpp
@@ -80,7 +80,7 @@ PALETTE_INIT_MEMBER(asr733_device, asr733)
const device_type ASR733 = &device_creator<asr733_device>;
-asr733_device::asr733_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+asr733_device::asr733_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ASR733, "733 ASR", tag, owner, clock, "asr733", __FILE__),
m_palette(*this, "palette"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/video/733_asr.h b/src/mame/video/733_asr.h
index 9c45c69c6ed..54a62303ee6 100644
--- a/src/mame/video/733_asr.h
+++ b/src/mame/video/733_asr.h
@@ -13,7 +13,7 @@ enum
class asr733_device : public device_t
{
public:
- asr733_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ asr733_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_PALETTE_INIT(asr733);
diff --git a/src/mame/video/911_vdt.cpp b/src/mame/video/911_vdt.cpp
index c0d30600681..0ed7ee3d364 100644
--- a/src/mame/video/911_vdt.cpp
+++ b/src/mame/video/911_vdt.cpp
@@ -143,7 +143,7 @@ static void apply_char_overrides(int nb_char_overrides, const char_override_t ch
const device_type VDT911 = &device_creator<vdt911_device>;
-vdt911_device::vdt911_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+vdt911_device::vdt911_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, VDT911, "911 VDT", tag, owner, clock, "vdt911", __FILE__),
m_beeper(*this, "beeper"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/video/911_vdt.h b/src/mame/video/911_vdt.h
index e0ced6bbede..b87430fc1b6 100644
--- a/src/mame/video/911_vdt.h
+++ b/src/mame/video/911_vdt.h
@@ -37,7 +37,7 @@ enum vdt911_model_t
class vdt911_device : public device_t
{
public:
- vdt911_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ vdt911_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ8_MEMBER(cru_r);
DECLARE_WRITE8_MEMBER(cru_w);
diff --git a/src/mame/video/abc1600.cpp b/src/mame/video/abc1600.cpp
index 60b05e4fc94..feb613af679 100644
--- a/src/mame/video/abc1600.cpp
+++ b/src/mame/video/abc1600.cpp
@@ -224,7 +224,7 @@ machine_config_constructor abc1600_mover_device::device_mconfig_additions() cons
// abc1600_mover_device - constructor
//-------------------------------------------------
-abc1600_mover_device::abc1600_mover_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+abc1600_mover_device::abc1600_mover_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, ABC1600_MOVER, "ABC 1600 Mover", tag, owner, clock, "abc1600mover", __FILE__),
device_memory_interface(mconfig, *this),
m_space_config("vram", ENDIANNESS_BIG, 16, 18, -1, *ADDRESS_MAP_NAME(mover_map)),
diff --git a/src/mame/video/abc1600.h b/src/mame/video/abc1600.h
index a3f356dd2e5..05c291214a0 100644
--- a/src/mame/video/abc1600.h
+++ b/src/mame/video/abc1600.h
@@ -39,7 +39,7 @@ class abc1600_mover_device : public device_t,
{
public:
// construction/destruction
- abc1600_mover_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ abc1600_mover_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// optional information overrides
virtual const rom_entry *device_rom_region() const override;
diff --git a/src/mame/video/antic.cpp b/src/mame/video/antic.cpp
index e393107bf53..e1cf7592ab8 100644
--- a/src/mame/video/antic.cpp
+++ b/src/mame/video/antic.cpp
@@ -25,10 +25,9 @@ const device_type ATARI_ANTIC = &device_creator<antic_device>;
// antic_device - constructor
//-------------------------------------------------
-antic_device::antic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+antic_device::antic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, ATARI_ANTIC, "Atari ANTIC", tag, owner, clock, "antic", __FILE__),
device_video_interface(mconfig, *this),
- m_gtia_tag(nullptr),
m_maincpu(*this, ":maincpu"),
m_djoy_b(*this, ":djoy_b"),
m_artifacts(*this, ":artifacts"),
diff --git a/src/mame/video/antic.h b/src/mame/video/antic.h
index 2b278c2a780..8eb0fff7e55 100644
--- a/src/mame/video/antic.h
+++ b/src/mame/video/antic.h
@@ -366,14 +366,14 @@ class antic_device : public device_t,
{
public:
// construction/destruction
- antic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ antic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// device-level overrides
virtual void device_start() override;
virtual void device_reset() override;
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
- static void set_gtia_tag(device_t &device, const char *tag) { downcast<antic_device &>(device).m_gtia_tag = tag; }
+ static void set_gtia_tag(device_t &device, std::string tag) { downcast<antic_device &>(device).m_gtia_tag = tag; }
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
@@ -387,7 +387,7 @@ private:
static const device_timer_id TIMER_LINE_REND = 2;
static const device_timer_id TIMER_LINE_DONE = 3;
- const char *m_gtia_tag;
+ std::string m_gtia_tag;
gtia_device *m_gtia;
required_device<cpu_device> m_maincpu;
optional_ioport m_djoy_b;
diff --git a/src/mame/video/apollo.cpp b/src/mame/video/apollo.cpp
index 7d6cc7099ef..60f78fadd4d 100644
--- a/src/mame/video/apollo.cpp
+++ b/src/mame/video/apollo.cpp
@@ -1719,14 +1719,14 @@ MACHINE_CONFIG_END
const device_type APOLLO_GRAPHICS = &device_creator<apollo_graphics_15i> ;
-apollo_graphics_15i::apollo_graphics_15i(const machine_config &mconfig,const char *tag, device_t *owner, UINT32 clock) :
+apollo_graphics_15i::apollo_graphics_15i(const machine_config &mconfig,std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, APOLLO_GRAPHICS, "Apollo Screen", tag, owner, clock,"apollo_graphics_15i", __FILE__),
m_lut_fifo(nullptr),
m_bt458(nullptr)
{
}
-apollo_graphics_15i::apollo_graphics_15i(const machine_config &mconfig,const char *tag, device_t *owner, UINT32 clock, device_type type,const char *name, const char *shortname, const char *source) :
+apollo_graphics_15i::apollo_graphics_15i(const machine_config &mconfig,std::string tag, device_t *owner, UINT32 clock, device_type type,const char *name, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
m_lut_fifo(nullptr),
m_bt458(nullptr)
@@ -1904,7 +1904,7 @@ MACHINE_CONFIG_FRAGMENT( apollo_mono19i )
const device_type APOLLO_MONO19I = &device_creator<apollo_graphics_19i> ;
apollo_graphics_19i::apollo_graphics_19i(const machine_config &mconfig,
- const char *tag, device_t *owner, UINT32 clock) :
+ std::string tag, device_t *owner, UINT32 clock) :
apollo_graphics_15i(mconfig, tag, owner, clock, APOLLO_MONO19I,
"Apollo 19\" Monochrome Screen", "apollo_graphics_19i", __FILE__)
{
diff --git a/src/mame/video/apple2.cpp b/src/mame/video/apple2.cpp
index a496d3e3e15..8eacc248cae 100644
--- a/src/mame/video/apple2.cpp
+++ b/src/mame/video/apple2.cpp
@@ -679,7 +679,7 @@ const device_type APPLE2_VIDEO = &device_creator<a2_video_device>;
// a2_video_device - constructor
//-------------------------------------------------
-a2_video_device::a2_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+a2_video_device::a2_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, APPLE2_VIDEO, "Apple II video", tag, owner, clock, "a2video", __FILE__)
{
}
diff --git a/src/mame/video/apple2.h b/src/mame/video/apple2.h
index 420a293a703..91cfe218092 100644
--- a/src/mame/video/apple2.h
+++ b/src/mame/video/apple2.h
@@ -16,7 +16,7 @@ class a2_video_device :
{
public:
// construction/destruction
- a2_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ a2_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_PALETTE_INIT(apple2);
diff --git a/src/mame/video/atarimo.cpp b/src/mame/video/atarimo.cpp
index bb5e1927e40..010268263e5 100644
--- a/src/mame/video/atarimo.cpp
+++ b/src/mame/video/atarimo.cpp
@@ -123,7 +123,7 @@ const device_type ATARI_MOTION_OBJECTS = &device_creator<atari_motion_objects_de
// atari_motion_objects_device - constructor
//-------------------------------------------------
-atari_motion_objects_device::atari_motion_objects_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+atari_motion_objects_device::atari_motion_objects_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: sprite16_device_ind16(mconfig, ATARI_MOTION_OBJECTS, "Atari Motion Objects", tag, owner, "atarimo", __FILE__),
device_video_interface(mconfig, *this),
m_tilewidth(0),
@@ -157,7 +157,7 @@ atari_motion_objects_device::atari_motion_objects_device(const machine_config &m
// gfx decoder
//-------------------------------------------------
-void atari_motion_objects_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void atari_motion_objects_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<atari_motion_objects_device &>(device).m_gfxdecode.set_tag(tag);
}
diff --git a/src/mame/video/atarimo.h b/src/mame/video/atarimo.h
index 0d3b54f6f38..2bccbec2026 100644
--- a/src/mame/video/atarimo.h
+++ b/src/mame/video/atarimo.h
@@ -83,10 +83,10 @@ class atari_motion_objects_device : public sprite16_device_ind16,
public:
// construction/destruction
- atari_motion_objects_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ atari_motion_objects_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
static void static_set_config(device_t &device, const atari_motion_objects_config &config);
// getters
diff --git a/src/mame/video/atarirle.cpp b/src/mame/video/atarirle.cpp
index 6a433d4666c..464df7b9a4f 100644
--- a/src/mame/video/atarirle.cpp
+++ b/src/mame/video/atarirle.cpp
@@ -66,7 +66,7 @@ inline int atari_rle_objects_device::round_to_powerof2(int value)
// atari_rle_objects_device: Constructor
//-------------------------------------------------
-atari_rle_objects_device::atari_rle_objects_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+atari_rle_objects_device::atari_rle_objects_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ATARI_RLE_OBJECTS, "Atari RLE Motion Objects", tag, owner, clock, "atari_rle", __FILE__),
device_video_interface(mconfig, *this)
{
@@ -191,7 +191,7 @@ void atari_rle_objects_device::device_start()
// resolve our memory
memory_share *share = owner()->memshare(tag());
if (share == nullptr)
- throw emu_fatalerror("Error: unable to find memory share '%s' needed for Atari RLE device", tag());
+ throw emu_fatalerror("Error: unable to find memory share '%s' needed for Atari RLE device", tag().c_str());
m_ram.set(*share, 2);
// register a VBLANK callback
diff --git a/src/mame/video/atarirle.h b/src/mame/video/atarirle.h
index 5cf65931d04..07cc68f6635 100644
--- a/src/mame/video/atarirle.h
+++ b/src/mame/video/atarirle.h
@@ -78,7 +78,7 @@ class atari_rle_objects_device : public device_t,
{
public:
// construction/destruction
- atari_rle_objects_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ atari_rle_objects_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration helpers
static void static_set_config(device_t &device, const atari_rle_objects_config &config);
diff --git a/src/mame/video/avgdvg.cpp b/src/mame/video/avgdvg.cpp
index 4363db0e66c..8ba78e925a6 100644
--- a/src/mame/video/avgdvg.cpp
+++ b/src/mame/video/avgdvg.cpp
@@ -1390,12 +1390,12 @@ void dvg_device::device_start()
register_state();
}
-void avgdvg_device::static_set_vector_tag(device_t &device, const char *tag)
+void avgdvg_device::static_set_vector_tag(device_t &device, std::string tag)
{
downcast<avgdvg_device &>(device).m_vector.set_tag(tag);
}
-avgdvg_device::avgdvg_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
+avgdvg_device::avgdvg_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
m_vector(*this)
{
@@ -1451,47 +1451,47 @@ avgdvg_device::avgdvg_device(const machine_config &mconfig, device_type type, co
nvect = 0;
}
-dvg_device::dvg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+dvg_device::dvg_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
avgdvg_device(mconfig, DVG, "Atari DVG", tag, owner, clock, "dvg", __FILE__)
{
}
-avg_device::avg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+avg_device::avg_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
avgdvg_device(mconfig, AVG, "Atari AVG", tag, owner, clock, "avg", __FILE__)
{
}
-avg_device::avg_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
+avg_device::avg_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
avgdvg_device(mconfig, type, name, tag, owner, clock, shortname, source)
{
}
-avg_tempest_device::avg_tempest_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+avg_tempest_device::avg_tempest_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
avg_device(mconfig, AVG_TEMPEST, "Atari AVG (Tempest)", tag, owner, clock, "avg_tempest", __FILE__)
{
}
-avg_mhavoc_device::avg_mhavoc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+avg_mhavoc_device::avg_mhavoc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
avg_device(mconfig, AVG_MHAVOC, "Atari AVG (Major Havoc)", tag, owner, clock, "avg_mhavoc", __FILE__)
{
}
-avg_starwars_device::avg_starwars_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+avg_starwars_device::avg_starwars_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
avg_device(mconfig, AVG_STARWARS, "Atari AVG (Star Wars)", tag, owner, clock, "avg_starwars", __FILE__)
{
}
-avg_quantum_device::avg_quantum_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+avg_quantum_device::avg_quantum_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
avg_device(mconfig, AVG_QUANTUM, "Atari AVG (Quantum)", tag, owner, clock, "avg_quantum", __FILE__)
{
}
-avg_bzone_device::avg_bzone_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+avg_bzone_device::avg_bzone_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
avg_device(mconfig, AVG_BZONE, "Atari AVG (Battle Zone)", tag, owner, clock, "avg_bzone", __FILE__)
{
}
-avg_tomcat_device::avg_tomcat_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+avg_tomcat_device::avg_tomcat_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
avg_device(mconfig, AVG_TOMCAT, "Atari AVG (TomCat)", tag, owner, clock, "avg_tomcat", __FILE__)
{
}
diff --git a/src/mame/video/avgdvg.h b/src/mame/video/avgdvg.h
index 8c15bde31d5..ddd657c775b 100644
--- a/src/mame/video/avgdvg.h
+++ b/src/mame/video/avgdvg.h
@@ -25,9 +25,9 @@ class avgdvg_device : public device_t
{
public:
// construction/destruction
- avgdvg_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ avgdvg_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
- static void static_set_vector_tag(device_t &device, const char *tag);
+ static void static_set_vector_tag(device_t &device, std::string tag);
DECLARE_CUSTOM_INPUT_MEMBER(done_r);
DECLARE_WRITE8_MEMBER(go_w);
@@ -127,7 +127,7 @@ class dvg_device : public avgdvg_device
{
public:
// construction/destruction
- dvg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ dvg_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void dvg_draw_to(int x, int y, int intensity);
@@ -154,8 +154,8 @@ class avg_device : public avgdvg_device
{
public:
// construction/destruction
- avg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- avg_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ avg_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ avg_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
int avg_common_strobe1();
int avg_common_strobe2();
@@ -184,7 +184,7 @@ class avg_tempest_device : public avg_device
{
public:
// construction/destruction
- avg_tempest_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ avg_tempest_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual int handler_6() override;
virtual int handler_7() override;
@@ -198,7 +198,7 @@ class avg_mhavoc_device : public avg_device
{
public:
// construction/destruction
- avg_mhavoc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ avg_mhavoc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual int handler_1() override;
virtual int handler_6() override;
@@ -214,7 +214,7 @@ class avg_starwars_device : public avg_device
{
public:
// construction/destruction
- avg_starwars_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ avg_starwars_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual int handler_6() override;
virtual int handler_7() override;
virtual void update_databus() override;
@@ -227,7 +227,7 @@ class avg_quantum_device : public avg_device
{
public:
// construction/destruction
- avg_quantum_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ avg_quantum_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual int handler_0() override;
virtual int handler_1() override;
virtual int handler_2() override;
@@ -247,7 +247,7 @@ class avg_bzone_device : public avg_device
{
public:
// construction/destruction
- avg_bzone_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ avg_bzone_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual int handler_1() override;
virtual int handler_6() override;
virtual int handler_7() override;
@@ -260,7 +260,7 @@ class avg_tomcat_device : public avg_device
{
public:
// construction/destruction
- avg_tomcat_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ avg_tomcat_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual int handler_6() override;
virtual int handler_7() override;
diff --git a/src/mame/video/bfm_adr2.cpp b/src/mame/video/bfm_adr2.cpp
index bca9061ffc2..068b980b473 100644
--- a/src/mame/video/bfm_adr2.cpp
+++ b/src/mame/video/bfm_adr2.cpp
@@ -117,7 +117,7 @@ E000-FFFF | R | D D D D D D D D | 8K ROM
const device_type BFM_ADDER2 = &device_creator<bfm_adder2_device>;
-bfm_adder2_device::bfm_adder2_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
+bfm_adder2_device::bfm_adder2_device( const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock )
: device_t(mconfig, BFM_ADDER2, "BFM ADDER2", tag, owner, clock, "bfm_adder2", __FILE__),
m_cpu(*this, "adder2"),
m_gfxdecode(*this, "gfxdecode"),
diff --git a/src/mame/video/bfm_adr2.h b/src/mame/video/bfm_adr2.h
index 301ee7acf0d..daafa394ee6 100644
--- a/src/mame/video/bfm_adr2.h
+++ b/src/mame/video/bfm_adr2.h
@@ -7,7 +7,7 @@ class bfm_adder2_device : public device_t
{
public:
// construction/destruction
- bfm_adder2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ bfm_adder2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
TILE_GET_INFO_MEMBER( get_tile0_info );
TILE_GET_INFO_MEMBER( get_tile1_info );
diff --git a/src/mame/video/bfm_dm01.cpp b/src/mame/video/bfm_dm01.cpp
index c1977276f00..ecc31e4503d 100644
--- a/src/mame/video/bfm_dm01.cpp
+++ b/src/mame/video/bfm_dm01.cpp
@@ -53,7 +53,7 @@ Standard dm01 memorymap
const device_type BF_DM01 = &device_creator<bfmdm01_device>;
-bfmdm01_device::bfmdm01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+bfmdm01_device::bfmdm01_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, BF_DM01, "BFM Dotmatrix 01", tag, owner, clock, "bfm_dm01", __FILE__),
m_data_avail(0),
m_control(0),
diff --git a/src/mame/video/bfm_dm01.h b/src/mame/video/bfm_dm01.h
index 29fe0f2fbf1..a6623f1dfe6 100644
--- a/src/mame/video/bfm_dm01.h
+++ b/src/mame/video/bfm_dm01.h
@@ -16,7 +16,7 @@
class bfmdm01_device : public device_t
{
public:
- bfmdm01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ bfmdm01_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~bfmdm01_device() {}
template<class _Object> static devcb_base &set_busy_callback(device_t &device, _Object object) { return downcast<bfmdm01_device &>(device).m_busy_cb.set_callback(object); }
diff --git a/src/mame/video/c116.cpp b/src/mame/video/c116.cpp
index e9a1381462a..fbfc1bc6d0d 100644
--- a/src/mame/video/c116.cpp
+++ b/src/mame/video/c116.cpp
@@ -73,7 +73,7 @@ i960 CPU, needs to write its clip and raster values byteswapped.
// namco_c116_device -- constructor
//-------------------------------------------------
-namco_c116_device::namco_c116_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco_c116_device::namco_c116_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NAMCO_C116, "Namco C116 Video Controller", tag, owner, clock, "namco_c116", __FILE__),
device_gfx_interface(mconfig, *this),
device_video_interface(mconfig, *this)
diff --git a/src/mame/video/c116.h b/src/mame/video/c116.h
index 2d48b4f123b..d8333feb579 100644
--- a/src/mame/video/c116.h
+++ b/src/mame/video/c116.h
@@ -18,7 +18,7 @@ class namco_c116_device :
{
public:
//construction/destruction
- namco_c116_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco_c116_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
//read/write handlers
DECLARE_READ8_MEMBER( read );
diff --git a/src/mame/video/c45.cpp b/src/mame/video/c45.cpp
index 6860961b4b7..7ed447227ad 100644
--- a/src/mame/video/c45.cpp
+++ b/src/mame/video/c45.cpp
@@ -76,7 +76,7 @@ ADDRESS_MAP_END
// namco_c45_road_device -- constructor
//-------------------------------------------------
-namco_c45_road_device::namco_c45_road_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+namco_c45_road_device::namco_c45_road_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NAMCO_C45_ROAD, "Namco C45 Road", tag, owner, clock, "namco_c45_road", __FILE__),
device_gfx_interface(mconfig, *this, gfxinfo),
device_memory_interface(mconfig, *this),
diff --git a/src/mame/video/c45.h b/src/mame/video/c45.h
index 665d87357d9..1e0d2e29022 100644
--- a/src/mame/video/c45.h
+++ b/src/mame/video/c45.h
@@ -34,7 +34,7 @@ class namco_c45_road_device : public device_t, public device_gfx_interface, publ
public:
// construction/destruction
- namco_c45_road_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ namco_c45_road_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_ADDRESS_MAP(map, 16);
diff --git a/src/mame/video/chihiro.cpp b/src/mame/video/chihiro.cpp
index d31e2150e4f..397461fc7f6 100644
--- a/src/mame/video/chihiro.cpp
+++ b/src/mame/video/chihiro.cpp
@@ -2655,7 +2655,7 @@ int nv2a_renderer::geforce_exec_method(address_space & space, UINT32 chanel, UIN
}
}
else {
- machine().logerror("Unsupported primitive %d for method 0x1810\n", primitive_type);
+ machine().logerror("Unsupported primitive %d for method 0x1810\n", (int)primitive_type);
}
countlen--;
}
@@ -2800,7 +2800,7 @@ int nv2a_renderer::geforce_exec_method(address_space & space, UINT32 chanel, UIN
}
}
else {
- machine().logerror("Unsupported primitive %d for method 0x1800/8\n", primitive_type);
+ machine().logerror("Unsupported primitive %d for method 0x1800/8\n", (int)primitive_type);
countlen = 0;
}
while (countlen > 0) {
@@ -2978,7 +2978,7 @@ int nv2a_renderer::geforce_exec_method(address_space & space, UINT32 chanel, UIN
}
}
else {
- machine().logerror("Unsupported primitive %d for method 0x1818\n", primitive_type);
+ machine().logerror("Unsupported primitive %d for method 0x1818\n", (int)primitive_type);
countlen = 0;
}
}
@@ -3108,7 +3108,7 @@ int nv2a_renderer::geforce_exec_method(address_space & space, UINT32 chanel, UIN
bytespixel_rendertarget = 1;
break;
default:
- machine().logerror("Unknown render target color format %d\n\r", colorformat_rendertarget);
+ machine().logerror("Unknown render target color format %d\n\r", (int)colorformat_rendertarget);
bytespixel_rendertarget = 4;
break;
}
diff --git a/src/mame/video/crt.cpp b/src/mame/video/crt.cpp
index 524696f7e17..bcb42d0100d 100644
--- a/src/mame/video/crt.cpp
+++ b/src/mame/video/crt.cpp
@@ -49,7 +49,7 @@ const device_type CRT = &device_creator<crt_device>;
// crt_device - constructor
//-------------------------------------------------
-crt_device::crt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+crt_device::crt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, CRT, "CRT Video", tag, owner, clock, "crt", __FILE__),
m_list(nullptr),
m_list_head(nullptr),
diff --git a/src/mame/video/crt.h b/src/mame/video/crt.h
index 41eb10da2a1..adc67e8f5ce 100644
--- a/src/mame/video/crt.h
+++ b/src/mame/video/crt.h
@@ -46,7 +46,7 @@ struct crt_point
class crt_device : public device_t
{
public:
- crt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ crt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~crt_device() { }
static void set_num_levels(device_t &device, int levels) { downcast<crt_device &>(device).m_num_intensity_levels = levels; }
diff --git a/src/mame/video/decbac06.cpp b/src/mame/video/decbac06.cpp
index c974c4adf13..2c38eba733c 100644
--- a/src/mame/video/decbac06.cpp
+++ b/src/mame/video/decbac06.cpp
@@ -67,7 +67,7 @@ Priority word (Midres):
const device_type DECO_BAC06 = &device_creator<deco_bac06_device>;
-deco_bac06_device::deco_bac06_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+deco_bac06_device::deco_bac06_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DECO_BAC06, "DECO BAC06 Tilemap", tag, owner, clock, "deco_bac06", __FILE__),
m_pf_data(nullptr),
m_pf_rowscroll(nullptr),
@@ -98,7 +98,7 @@ deco_bac06_device::deco_bac06_device(const machine_config &mconfig, const char *
// gfx decoder
//-------------------------------------------------
-void deco_bac06_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void deco_bac06_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<deco_bac06_device &>(device).m_gfxdecode.set_tag(tag);
}
diff --git a/src/mame/video/decbac06.h b/src/mame/video/decbac06.h
index 51a991636fa..ed11db5ef37 100644
--- a/src/mame/video/decbac06.h
+++ b/src/mame/video/decbac06.h
@@ -15,10 +15,10 @@
class deco_bac06_device : public device_t
{
public:
- deco_bac06_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ deco_bac06_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
static void set_gfx_region_wide(device_t &device, int region8x8, int region16x16, int wide);
std::unique_ptr<UINT16[]> m_pf_data;
diff --git a/src/mame/video/deckarn.cpp b/src/mame/video/deckarn.cpp
index 795bf5894d6..87238087c7b 100644
--- a/src/mame/video/deckarn.cpp
+++ b/src/mame/video/deckarn.cpp
@@ -14,7 +14,7 @@ void deco_karnovsprites_device::set_gfx_region(device_t &device, int region)
const device_type DECO_KARNOVSPRITES = &device_creator<deco_karnovsprites_device>;
-deco_karnovsprites_device::deco_karnovsprites_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+deco_karnovsprites_device::deco_karnovsprites_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DECO_KARNOVSPRITES, "DECO Karnov Sprites", tag, owner, clock, "deco_karnovsprites", __FILE__),
m_gfxregion(0),
m_gfxdecode(*this),
@@ -27,7 +27,7 @@ deco_karnovsprites_device::deco_karnovsprites_device(const machine_config &mconf
// gfx decoder
//-------------------------------------------------
-void deco_karnovsprites_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void deco_karnovsprites_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<deco_karnovsprites_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -118,7 +118,7 @@ void deco_karnovsprites_device::draw_sprites( bitmap_ind16 &bitmap, const rectan
// palette device
//-------------------------------------------------
-void deco_karnovsprites_device::static_set_palette_tag(device_t &device, const char *tag)
+void deco_karnovsprites_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<deco_karnovsprites_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/deckarn.h b/src/mame/video/deckarn.h
index 560e0f87ba0..a25da8f07ef 100644
--- a/src/mame/video/deckarn.h
+++ b/src/mame/video/deckarn.h
@@ -5,13 +5,13 @@
class deco_karnovsprites_device : public device_t
{
public:
- deco_karnovsprites_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ deco_karnovsprites_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void set_gfxregion(int region) { m_gfxregion = region; };
void draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect, UINT16* spriteram, int size, int priority );
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void set_gfx_region(device_t &device, int region);
protected:
diff --git a/src/mame/video/decmxc06.cpp b/src/mame/video/decmxc06.cpp
index 888d5ae6ada..cb396dd5245 100644
--- a/src/mame/video/decmxc06.cpp
+++ b/src/mame/video/decmxc06.cpp
@@ -49,7 +49,7 @@ void deco_mxc06_device::set_gfx_region(device_t &device, int region)
const device_type DECO_MXC06 = &device_creator<deco_mxc06_device>;
-deco_mxc06_device::deco_mxc06_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+deco_mxc06_device::deco_mxc06_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DECO_MXC06, "DECO MXC06 Sprite", tag, owner, clock, "deco_mxc06", __FILE__),
device_video_interface(mconfig, *this),
m_gfxregion(0),
@@ -64,7 +64,7 @@ deco_mxc06_device::deco_mxc06_device(const machine_config &mconfig, const char *
// gfx decoder
//-------------------------------------------------
-void deco_mxc06_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void deco_mxc06_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<deco_mxc06_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -229,7 +229,7 @@ void deco_mxc06_device::device_reset()
// palette device
//-------------------------------------------------
-void deco_mxc06_device::static_set_palette_tag(device_t &device, const char *tag)
+void deco_mxc06_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<deco_mxc06_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/decmxc06.h b/src/mame/video/decmxc06.h
index a4b58a73195..6c5753fe419 100644
--- a/src/mame/video/decmxc06.h
+++ b/src/mame/video/decmxc06.h
@@ -7,11 +7,11 @@ class deco_mxc06_device : public device_t,
public device_video_interface
{
public:
- deco_mxc06_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ deco_mxc06_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void set_gfx_region(device_t &device, int region);
static void set_ram_size(device_t &device, int size)
{
diff --git a/src/mame/video/deco16ic.cpp b/src/mame/video/deco16ic.cpp
index fa5b1caba0a..d97f79d6cc2 100644
--- a/src/mame/video/deco16ic.cpp
+++ b/src/mame/video/deco16ic.cpp
@@ -177,7 +177,7 @@ Rowscroll style:
const device_type DECO16IC = &device_creator<deco16ic_device>;
-deco16ic_device::deco16ic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+deco16ic_device::deco16ic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DECO16IC, "DECO 55 / 56 / 74 / 141 IC", tag, owner, clock, "deco16ic", __FILE__),
device_video_interface(mconfig, *this),
m_pf1_data(nullptr),
@@ -212,7 +212,7 @@ deco16ic_device::deco16ic_device(const machine_config &mconfig, const char *tag,
// gfx decoder
//-------------------------------------------------
-void deco16ic_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void deco16ic_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<deco16ic_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -949,7 +949,7 @@ void deco16ic_device::tilemap_12_combine_draw(screen_device &screen, bitmap_rgb3
// palette device
//-------------------------------------------------
-void deco16ic_device::static_set_palette_tag(device_t &device, const char *tag)
+void deco16ic_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<deco16ic_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/deco16ic.h b/src/mame/video/deco16ic.h
index 5e45336c093..2fc467123b2 100644
--- a/src/mame/video/deco16ic.h
+++ b/src/mame/video/deco16ic.h
@@ -25,12 +25,12 @@ class deco16ic_device : public device_t,
public device_video_interface
{
public:
- deco16ic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ deco16ic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~deco16ic_device() {}
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void set_bank1_callback(device_t &device, deco16_bank_cb_delegate callback) { downcast<deco16ic_device &>(device).m_bank1_cb = callback; }
static void set_bank2_callback(device_t &device, deco16_bank_cb_delegate callback) { downcast<deco16ic_device &>(device).m_bank2_cb = callback; }
static void set_split(device_t &device, int split) { downcast<deco16ic_device &>(device).m_split = split; }
diff --git a/src/mame/video/deco_zoomspr.cpp b/src/mame/video/deco_zoomspr.cpp
index e1b5cfdb949..26c6a3d5779 100644
--- a/src/mame/video/deco_zoomspr.cpp
+++ b/src/mame/video/deco_zoomspr.cpp
@@ -15,7 +15,7 @@
const device_type DECO_ZOOMSPR = &device_creator<deco_zoomspr_device>;
-deco_zoomspr_device::deco_zoomspr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+deco_zoomspr_device::deco_zoomspr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DECO_ZOOMSPR, "DECO Zooming Sprites", tag, owner, clock, "deco_zoomspr", __FILE__),
m_palette(*this),
m_gfxdecode(*this)
@@ -27,7 +27,7 @@ deco_zoomspr_device::deco_zoomspr_device(const machine_config &mconfig, const ch
// palette device
//-------------------------------------------------
-void deco_zoomspr_device::static_set_palette_tag(device_t &device, const char *tag)
+void deco_zoomspr_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<deco_zoomspr_device &>(device).m_palette.set_tag(tag);
}
@@ -37,7 +37,7 @@ void deco_zoomspr_device::static_set_palette_tag(device_t &device, const char *t
// gfx decoder
//-------------------------------------------------
-void deco_zoomspr_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void deco_zoomspr_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<deco_zoomspr_device &>(device).m_gfxdecode.set_tag(tag);
}
diff --git a/src/mame/video/deco_zoomspr.h b/src/mame/video/deco_zoomspr.h
index 4283f3aa62e..aa758428f33 100644
--- a/src/mame/video/deco_zoomspr.h
+++ b/src/mame/video/deco_zoomspr.h
@@ -5,10 +5,10 @@
class deco_zoomspr_device : public device_t
{
public:
- deco_zoomspr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ deco_zoomspr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
- static void static_set_palette_tag(device_t &device, const char *tag);
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
void dragngun_draw_sprites(bitmap_rgb32 &bitmap, const rectangle &cliprect, const UINT32 *spritedata, UINT32* dragngun_sprite_layout_0_ram, UINT32* dragngun_sprite_layout_1_ram, UINT32* dragngun_sprite_lookup_0_ram, UINT32* dragngun_sprite_lookup_1_ram, UINT32 dragngun_sprite_ctrl, bitmap_ind8 &pri_bitmap, bitmap_rgb32 &temp_bitmap);
diff --git a/src/mame/video/decocomn.cpp b/src/mame/video/decocomn.cpp
index f8bbb7f32bc..38a8817d6bf 100644
--- a/src/mame/video/decocomn.cpp
+++ b/src/mame/video/decocomn.cpp
@@ -12,7 +12,7 @@
const device_type DECOCOMN = &device_creator<decocomn_device>;
-decocomn_device::decocomn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+decocomn_device::decocomn_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DECOCOMN, "DECO Common Video Functions", tag, owner, clock, "decocomn", __FILE__),
device_video_interface(mconfig, *this),
m_dirty_palette(nullptr),
@@ -27,7 +27,7 @@ decocomn_device::decocomn_device(const machine_config &mconfig, const char *tag,
// palette device
//-------------------------------------------------
-void decocomn_device::static_set_palette_tag(device_t &device, const char *tag)
+void decocomn_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<decocomn_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/decocomn.h b/src/mame/video/decocomn.h
index b2c758c9d60..d7ea53956ec 100644
--- a/src/mame/video/decocomn.h
+++ b/src/mame/video/decocomn.h
@@ -20,11 +20,11 @@ class decocomn_device : public device_t,
public device_video_interface
{
public:
- decocomn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ decocomn_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~decocomn_device() {}
// static configuration
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
DECLARE_WRITE16_MEMBER( nonbuffered_palette_w );
DECLARE_WRITE16_MEMBER( buffered_palette_w );
diff --git a/src/mame/video/decodmd1.cpp b/src/mame/video/decodmd1.cpp
index 64a853fe61f..d678435c28a 100644
--- a/src/mame/video/decodmd1.cpp
+++ b/src/mame/video/decodmd1.cpp
@@ -230,7 +230,7 @@ machine_config_constructor decodmd_type1_device::device_mconfig_additions() cons
return MACHINE_CONFIG_NAME( decodmd1 );
}
-decodmd_type1_device::decodmd_type1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+decodmd_type1_device::decodmd_type1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DECODMD1, "Data East Pinball Dot Matrix Display Type 1", tag, owner, clock, "decodmd1", __FILE__),
m_cpu(*this,"dmdcpu"),
m_rombank1(*this,"dmdbank1"),
@@ -266,7 +266,7 @@ void decodmd_type1_device::device_reset()
m_frameswap = false;
}
-void decodmd_type1_device::static_set_gfxregion(device_t &device, const char *tag)
+void decodmd_type1_device::static_set_gfxregion(device_t &device, std::string tag)
{
decodmd_type1_device &cpuboard = downcast<decodmd_type1_device &>(device);
cpuboard.m_gfxtag = tag;
diff --git a/src/mame/video/decodmd1.h b/src/mame/video/decodmd1.h
index 62247b91a82..7137cc2cf59 100644
--- a/src/mame/video/decodmd1.h
+++ b/src/mame/video/decodmd1.h
@@ -22,7 +22,7 @@
class decodmd_type1_device : public device_t
{
public:
- decodmd_type1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ decodmd_type1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
required_device<cpu_device> m_cpu;
required_memory_bank m_rombank1;
required_memory_bank m_rombank2;
@@ -42,7 +42,7 @@ public:
DECLARE_WRITE8_MEMBER(dmd_port_w);
TIMER_DEVICE_CALLBACK_MEMBER(dmd_nmi);
- static void static_set_gfxregion(device_t &device, const char *tag);
+ static void static_set_gfxregion(device_t &device, std::string tag);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -68,7 +68,7 @@ private:
UINT32 m_pixels[0x200];
UINT8 m_busy_lines;
UINT32 m_prevrow;
- const char* m_gfxtag;
+ std::string m_gfxtag;
void output_data();
void set_busy(UINT8 input, UINT8 val);
diff --git a/src/mame/video/decodmd2.cpp b/src/mame/video/decodmd2.cpp
index 48863b1c0fc..02ab6f3d45a 100644
--- a/src/mame/video/decodmd2.cpp
+++ b/src/mame/video/decodmd2.cpp
@@ -158,7 +158,7 @@ machine_config_constructor decodmd_type2_device::device_mconfig_additions() cons
return MACHINE_CONFIG_NAME( decodmd2 );
}
-decodmd_type2_device::decodmd_type2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+decodmd_type2_device::decodmd_type2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DECODMD2, "Data East Pinball Dot Matrix Display Type 2", tag, owner, clock, "decodmd2", __FILE__),
m_cpu(*this,"dmdcpu"),
m_mc6845(*this,"dmd6845"),
@@ -190,7 +190,7 @@ void decodmd_type2_device::device_reset()
m_busy = false;
}
-void decodmd_type2_device::static_set_gfxregion(device_t &device, const char *tag)
+void decodmd_type2_device::static_set_gfxregion(device_t &device, std::string tag)
{
decodmd_type2_device &cpuboard = downcast<decodmd_type2_device &>(device);
cpuboard.m_gfxtag = tag;
diff --git a/src/mame/video/decodmd2.h b/src/mame/video/decodmd2.h
index 1a1fb990c67..46d2092ef9b 100644
--- a/src/mame/video/decodmd2.h
+++ b/src/mame/video/decodmd2.h
@@ -21,7 +21,7 @@
class decodmd_type2_device : public device_t
{
public:
- decodmd_type2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ decodmd_type2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
required_device<cpu_device> m_cpu;
required_device<mc6845_device> m_mc6845;
required_memory_bank m_rombank1;
@@ -44,7 +44,7 @@ public:
TIMER_DEVICE_CALLBACK_MEMBER(dmd_firq);
MC6845_UPDATE_ROW(crtc_update_row);
- static void static_set_gfxregion(device_t &device, const char *tag);
+ static void static_set_gfxregion(device_t &device, std::string tag);
protected:
virtual machine_config_constructor device_mconfig_additions() const override;
@@ -59,7 +59,7 @@ private:
UINT8 m_ctrl;
UINT8 m_busy;
UINT8 m_command;
- const char* m_gfxtag;
+ std::string m_gfxtag;
};
extern const device_type DECODMD2;
diff --git a/src/mame/video/decodmd3.cpp b/src/mame/video/decodmd3.cpp
index 18b41d4ce71..68175003de9 100644
--- a/src/mame/video/decodmd3.cpp
+++ b/src/mame/video/decodmd3.cpp
@@ -159,7 +159,7 @@ machine_config_constructor decodmd_type3_device::device_mconfig_additions() cons
return MACHINE_CONFIG_NAME( decodmd3 );
}
-decodmd_type3_device::decodmd_type3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+decodmd_type3_device::decodmd_type3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DECODMD3, "Data East Pinball Dot Matrix Display Type 3", tag, owner, clock, "decodmd3", __FILE__),
m_cpu(*this,"dmdcpu"),
m_mc6845(*this,"dmd6845"),
@@ -186,7 +186,7 @@ void decodmd_type3_device::device_reset()
m_rombank->set_entry(0);
}
-void decodmd_type3_device::static_set_gfxregion(device_t &device, const char *tag)
+void decodmd_type3_device::static_set_gfxregion(device_t &device, std::string tag)
{
decodmd_type3_device &cpuboard = downcast<decodmd_type3_device &>(device);
cpuboard.m_gfxtag = tag;
diff --git a/src/mame/video/decodmd3.h b/src/mame/video/decodmd3.h
index 949be275b49..e9ecde4c25d 100644
--- a/src/mame/video/decodmd3.h
+++ b/src/mame/video/decodmd3.h
@@ -19,7 +19,7 @@
class decodmd_type3_device : public device_t
{
public:
- decodmd_type3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ decodmd_type3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
required_device<cpu_device> m_cpu;
required_device<mc6845_device> m_mc6845;
required_device<ram_device> m_ram;
@@ -38,7 +38,7 @@ public:
TIMER_DEVICE_CALLBACK_MEMBER(dmd_irq);
MC6845_UPDATE_ROW(crtc_update_row);
- static void static_set_gfxregion(device_t &device, const char *tag);
+ static void static_set_gfxregion(device_t &device, std::string tag);
memory_region* m_rom;
@@ -56,7 +56,7 @@ private:
UINT8 m_busy;
UINT8 m_command;
- const char* m_gfxtag;
+ std::string m_gfxtag;
};
extern const device_type DECODMD3;
diff --git a/src/mame/video/decospr.cpp b/src/mame/video/decospr.cpp
index 304fba4a87b..ae9dc78fb49 100644
--- a/src/mame/video/decospr.cpp
+++ b/src/mame/video/decospr.cpp
@@ -147,7 +147,7 @@ void decospr_device::set_gfx_region(device_t &device, int gfxregion)
const device_type DECO_SPRITE = &device_creator<decospr_device>;
-decospr_device::decospr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+decospr_device::decospr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, DECO_SPRITE, "DECO 52 Sprite", tag, owner, clock, "decospr", __FILE__),
device_video_interface(mconfig, *this),
m_gfxregion(0),
@@ -169,7 +169,7 @@ decospr_device::decospr_device(const machine_config &mconfig, const char *tag, d
// gfx decoder
//-------------------------------------------------
-void decospr_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void decospr_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<decospr_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -629,7 +629,7 @@ void decospr_device::inefficient_copy_sprite_bitmap(bitmap_rgb32 &bitmap, const
// palette device
//-------------------------------------------------
-void decospr_device::static_set_palette_tag(device_t &device, const char *tag)
+void decospr_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<decospr_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/decospr.h b/src/mame/video/decospr.h
index 9679a22acc5..58b16aa0beb 100644
--- a/src/mame/video/decospr.h
+++ b/src/mame/video/decospr.h
@@ -14,11 +14,11 @@ class decospr_device : public device_t,
public device_video_interface
{
public:
- decospr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ decospr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void set_gfx_region(device_t &device, int gfxregion);
static void set_pri_callback(device_t &device, decospr_pri_cb_delegate callback) { downcast<decospr_device &>(device).m_pri_cb = callback; }
static void set_col_callback(device_t &device, decospr_col_cb_delegate callback) { downcast<decospr_device &>(device).m_col_cb = callback; }
diff --git a/src/mame/video/excellent_spr.cpp b/src/mame/video/excellent_spr.cpp
index f58f80f69d6..68c611b346a 100644
--- a/src/mame/video/excellent_spr.cpp
+++ b/src/mame/video/excellent_spr.cpp
@@ -21,7 +21,7 @@
const device_type EXCELLENT_SPRITE = &device_creator<excellent_spr_device>;
-excellent_spr_device::excellent_spr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+excellent_spr_device::excellent_spr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, EXCELLENT_SPRITE, "Excellent 8-bit Sprite", tag, owner, clock, "excellent_spr", __FILE__),
device_video_interface(mconfig, *this)
{
diff --git a/src/mame/video/excellent_spr.h b/src/mame/video/excellent_spr.h
index 6f713eac13d..a6c554cfcc9 100644
--- a/src/mame/video/excellent_spr.h
+++ b/src/mame/video/excellent_spr.h
@@ -5,7 +5,7 @@ class excellent_spr_device : public device_t,
public device_video_interface
{
public:
- excellent_spr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ excellent_spr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ8_MEMBER(read);
DECLARE_WRITE8_MEMBER(write);
diff --git a/src/mame/video/fuukifg.cpp b/src/mame/video/fuukifg.cpp
index bf891fc8201..c76ea6ebece 100644
--- a/src/mame/video/fuukifg.cpp
+++ b/src/mame/video/fuukifg.cpp
@@ -8,14 +8,14 @@
const device_type FUUKI_VIDEO = &device_creator<fuukivid_device>;
-fuukivid_device::fuukivid_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+fuukivid_device::fuukivid_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, FUUKI_VIDEO, "Fuuki Video", tag, owner, clock, "fuukivid", __FILE__),
device_video_interface(mconfig, *this),
m_gfxdecode(*this)
{
}
-void fuukivid_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void fuukivid_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<fuukivid_device &>(device).m_gfxdecode.set_tag(tag);
}
diff --git a/src/mame/video/fuukifg.h b/src/mame/video/fuukifg.h
index 41668672abf..c2b4d14056d 100644
--- a/src/mame/video/fuukifg.h
+++ b/src/mame/video/fuukifg.h
@@ -7,10 +7,10 @@ class fuukivid_device : public device_t,
public device_video_interface
{
public:
- fuukivid_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ fuukivid_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
void draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int flip_screen, UINT32* tilebank);
std::unique_ptr<UINT16[]> m_sprram;
diff --git a/src/mame/video/gb_lcd.cpp b/src/mame/video/gb_lcd.cpp
index c7560b485bf..a35573b387e 100644
--- a/src/mame/video/gb_lcd.cpp
+++ b/src/mame/video/gb_lcd.cpp
@@ -180,31 +180,31 @@ const device_type GB_LCD_CGB = &device_creator<cgb_lcd_device>;
-gb_lcd_device::gb_lcd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+gb_lcd_device::gb_lcd_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_video_interface(mconfig, *this),
m_sgb_border_hack(0)
{
}
-gb_lcd_device::gb_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gb_lcd_device::gb_lcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GB_LCD_DMG, "DMG LCD", tag, owner, clock, "dmg_lcd", __FILE__),
device_video_interface(mconfig, *this),
m_sgb_border_hack(0)
{
}
-mgb_lcd_device::mgb_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+mgb_lcd_device::mgb_lcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: gb_lcd_device(mconfig, GB_LCD_MGB, "MGB LCD", tag, owner, clock, "mgb_lcd", __FILE__)
{
}
-sgb_lcd_device::sgb_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sgb_lcd_device::sgb_lcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: gb_lcd_device(mconfig, GB_LCD_SGB, "SGB LCD", tag, owner, clock, "sgb_lcd", __FILE__)
{
}
-cgb_lcd_device::cgb_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+cgb_lcd_device::cgb_lcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: gb_lcd_device(mconfig, GB_LCD_CGB, "CGB LCD", tag, owner, clock, "cgb_lcd", __FILE__)
{
}
diff --git a/src/mame/video/gb_lcd.h b/src/mame/video/gb_lcd.h
index 4e512e3da79..15876138b44 100644
--- a/src/mame/video/gb_lcd.h
+++ b/src/mame/video/gb_lcd.h
@@ -33,8 +33,8 @@ class gb_lcd_device : public device_t,
public device_video_interface
{
public:
- gb_lcd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
- gb_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ gb_lcd_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ gb_lcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
@@ -141,7 +141,7 @@ protected:
class mgb_lcd_device : public gb_lcd_device
{
public:
- mgb_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ mgb_lcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
@@ -153,7 +153,7 @@ protected:
class sgb_lcd_device : public gb_lcd_device
{
public:
- sgb_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sgb_lcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void sgb_io_write_pal(int offs, UINT8 *data);
@@ -172,7 +172,7 @@ protected:
class cgb_lcd_device : public gb_lcd_device
{
public:
- cgb_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ cgb_lcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual DECLARE_READ8_MEMBER(video_r) override;
virtual DECLARE_WRITE8_MEMBER(video_w) override;
diff --git a/src/mame/video/gic.cpp b/src/mame/video/gic.cpp
index 6adcea87227..b02bee5f756 100644
--- a/src/mame/video/gic.cpp
+++ b/src/mame/video/gic.cpp
@@ -80,7 +80,7 @@ ROM_END
// gic_device - constructor
//-------------------------------------------------
-gic_device::gic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gic_device::gic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GIC, "GIC", tag, owner, clock, "gic", __FILE__)
, device_sound_interface(mconfig, *this)
, device_video_interface(mconfig, *this)
@@ -93,7 +93,7 @@ gic_device::gic_device(const machine_config &mconfig, const char *tag, device_t
}
-gic_device::gic_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int lines, const char *shortname, const char *source)
+gic_device::gic_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, int lines, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source)
, device_sound_interface(mconfig, *this)
, device_video_interface(mconfig, *this)
diff --git a/src/mame/video/gic.h b/src/mame/video/gic.h
index 3babca9fec8..d51640a9d78 100644
--- a/src/mame/video/gic.h
+++ b/src/mame/video/gic.h
@@ -54,8 +54,8 @@ class gic_device : public device_t
{
public:
// construction/destruction
- gic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- gic_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int lines, const char *shortname, const char *source);
+ gic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ gic_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, int lines, const char *shortname, const char *source);
// static configuration helpers
static void set_screen_tag(device_t &device, const char *screen_tag) { downcast<gic_device &>(device).m_screen_tag = screen_tag; }
diff --git a/src/mame/video/gime.cpp b/src/mame/video/gime.cpp
index a98cd3d83cd..621a63beb60 100644
--- a/src/mame/video/gime.cpp
+++ b/src/mame/video/gime.cpp
@@ -108,14 +108,11 @@
// ctor
//-------------------------------------------------
-gime_base_device::gime_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, const char *shortname, const char *source)
+gime_base_device::gime_base_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, const char *shortname, const char *source)
: mc6847_friend_device(mconfig, type, name, tag, owner, clock, fontdata, true, 263, 25+192+26+3, false, shortname, source),
m_write_irq(*this),
m_write_firq(*this),
- m_read_floating_bus(*this),
- m_maincpu_tag(nullptr),
- m_ram_tag(nullptr),
- m_ext_tag(nullptr)
+ m_read_floating_bus(*this)
{
}
@@ -2060,7 +2057,7 @@ const device_type GIME_PAL = &device_creator<gime_pal_device>;
// gime_ntsc_device
//-------------------------------------------------
-gime_ntsc_device::gime_ntsc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gime_ntsc_device::gime_ntsc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: gime_base_device(mconfig, GIME_NTSC, "GIME_NTSC", tag, owner, clock, ntsc_round_fontdata8x12, "gime_ntsc", __FILE__)
{
}
@@ -2071,7 +2068,7 @@ gime_ntsc_device::gime_ntsc_device(const machine_config &mconfig, const char *ta
// gime_pal_device
//-------------------------------------------------
-gime_pal_device::gime_pal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gime_pal_device::gime_pal_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: gime_base_device(mconfig, GIME_PAL, "GIME_PAL", tag, owner, clock, pal_round_fontdata8x12, "gime_pal", __FILE__)
{
}
diff --git a/src/mame/video/gime.h b/src/mame/video/gime.h
index b73c64440e7..4db783fc1aa 100644
--- a/src/mame/video/gime.h
+++ b/src/mame/video/gime.h
@@ -58,9 +58,9 @@ public:
template<class _Object> static devcb_base &set_irq_wr_callback(device_t &device, _Object object) { return downcast<gime_base_device &>(device).m_write_irq.set_callback(object); }
template<class _Object> static devcb_base &set_firq_wr_callback(device_t &device, _Object object) { return downcast<gime_base_device &>(device).m_write_firq.set_callback(object); }
template<class _Object> static devcb_base &set_floating_bus_rd_callback(device_t &device, _Object object) { return downcast<gime_base_device &>(device).m_read_floating_bus.set_callback(object); }
- static void set_maincpu_tag(device_t &device, const char *tag) { downcast<gime_base_device &>(device).m_maincpu_tag = tag; }
- static void set_ram_tag(device_t &device, const char *tag) { downcast<gime_base_device &>(device).m_ram_tag = tag; }
- static void set_ext_tag(device_t &device, const char *tag) { downcast<gime_base_device &>(device).m_ext_tag = tag; }
+ static void set_maincpu_tag(device_t &device, std::string tag) { downcast<gime_base_device &>(device).m_maincpu_tag = tag; }
+ static void set_ram_tag(device_t &device, std::string tag) { downcast<gime_base_device &>(device).m_ram_tag = tag; }
+ static void set_ext_tag(device_t &device, std::string tag) { downcast<gime_base_device &>(device).m_ext_tag = tag; }
// read/write
DECLARE_READ8_MEMBER( read ) { return read(offset); }
@@ -91,7 +91,7 @@ public:
void set_il2(bool value) { set_interrupt_value(INTERRUPT_EI2, value); }
protected:
- gime_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, const char *shortname, const char *source);
+ gime_base_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, const char *shortname, const char *source);
// device-level overrides
virtual void device_start(void) override;
@@ -202,9 +202,9 @@ private:
pixel_t m_rgb_palette[64];
UINT8 m_dummy_bank[0x2000];
- const char *m_maincpu_tag; /* tag of main CPU */
- const char *m_ram_tag; /* tag of RAM device */
- const char *m_ext_tag; /* tag of expansion device */
+ std::string m_maincpu_tag; /* tag of main CPU */
+ std::string m_ram_tag; /* tag of RAM device */
+ std::string m_ext_tag; /* tag of expansion device */
// timer constants
static const device_timer_id TIMER_FRAME = 0;
@@ -295,13 +295,13 @@ private:
class gime_ntsc_device : public gime_base_device
{
public:
- gime_ntsc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ gime_ntsc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
class gime_pal_device : public gime_base_device
{
public:
- gime_pal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ gime_pal_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
extern const device_type GIME_NTSC;
diff --git a/src/mame/video/gp9001.cpp b/src/mame/video/gp9001.cpp
index 31d939db1dd..5c3850d5ae2 100644
--- a/src/mame/video/gp9001.cpp
+++ b/src/mame/video/gp9001.cpp
@@ -213,7 +213,7 @@ GFXDECODE_END
const device_type GP9001_VDP = &device_creator<gp9001vdp_device>;
-gp9001vdp_device::gp9001vdp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+gp9001vdp_device::gp9001vdp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, GP9001_VDP, "GP9001 VDP", tag, owner, clock, "gp9001vdp", __FILE__),
device_gfx_interface(mconfig, *this, gfxinfo),
device_video_interface(mconfig, *this),
diff --git a/src/mame/video/gp9001.h b/src/mame/video/gp9001.h
index f7dcebe491c..09873810181 100644
--- a/src/mame/video/gp9001.h
+++ b/src/mame/video/gp9001.h
@@ -39,7 +39,7 @@ class gp9001vdp_device : public device_t,
DECLARE_GFXDECODE_MEMBER(gfxinfo);
public:
- gp9001vdp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ gp9001vdp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
UINT16 gp9001_voffs;
UINT16 gp9001_scroll_reg;
diff --git a/src/mame/video/gtia.cpp b/src/mame/video/gtia.cpp
index 2d9e0b08378..47cc4ea41ae 100644
--- a/src/mame/video/gtia.cpp
+++ b/src/mame/video/gtia.cpp
@@ -117,7 +117,7 @@ const device_type ATARI_GTIA = &device_creator<gtia_device>;
// upd7220_device - constructor
//-------------------------------------------------
-gtia_device::gtia_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+gtia_device::gtia_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, ATARI_GTIA, "Atari GTIA", tag, owner, clock, "gtia", __FILE__),
m_read_cb(*this),
m_write_cb(*this)
diff --git a/src/mame/video/gtia.h b/src/mame/video/gtia.h
index 4504175cb46..77f857b566d 100644
--- a/src/mame/video/gtia.h
+++ b/src/mame/video/gtia.h
@@ -128,7 +128,7 @@ class gtia_device : public device_t
{
public:
// construction/destruction
- gtia_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ gtia_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_read_callback(device_t &device, _Object object) { return downcast<gtia_device &>(device).m_read_cb.set_callback(object); }
template<class _Object> static devcb_base &set_write_callback(device_t &device, _Object object) { return downcast<gtia_device &>(device).m_write_cb.set_callback(object); }
diff --git a/src/mame/video/igs017_igs031.cpp b/src/mame/video/igs017_igs031.cpp
index 8e8993e0fa7..e67f9dc92b1 100644
--- a/src/mame/video/igs017_igs031.cpp
+++ b/src/mame/video/igs017_igs031.cpp
@@ -75,7 +75,7 @@ GFXDECODE_END
const device_type IGS017_IGS031 = &device_creator<igs017_igs031_device>;
-igs017_igs031_device::igs017_igs031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+igs017_igs031_device::igs017_igs031_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, IGS017_IGS031, "IGS017_IGS031", tag, owner, clock, "igs017_igs031", __FILE__),
device_gfx_interface(mconfig, *this, gfxinfo),
device_video_interface(mconfig, *this),
diff --git a/src/mame/video/igs017_igs031.h b/src/mame/video/igs017_igs031.h
index 4c3b2c66ed3..d264c24bd13 100644
--- a/src/mame/video/igs017_igs031.h
+++ b/src/mame/video/igs017_igs031.h
@@ -20,7 +20,7 @@ class igs017_igs031_device : public device_t,
DECLARE_GFXDECODE_MEMBER(gfxinfo);
public:
- igs017_igs031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ igs017_igs031_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
static void set_palette_scramble_cb(device_t &device,igs017_igs031_palette_scramble_delegate newtilecb);
diff --git a/src/mame/video/itech32.cpp b/src/mame/video/itech32.cpp
index 3c882ac757b..ed857dea91f 100644
--- a/src/mame/video/itech32.cpp
+++ b/src/mame/video/itech32.cpp
@@ -321,14 +321,14 @@ WRITE16_MEMBER(itech32_state::bloodstm_paletteram_w)
*
*************************************/
-void itech32_state::logblit(const char *tag)
+void itech32_state::logblit(std::string tag)
{
if (!machine().input().code_pressed(KEYCODE_L))
return;
if (m_is_drivedge && VIDEO_TRANSFER_FLAGS == 0x5490)
{
/* polygon drawing */
- logerror("%s: e=%d%d f=%04x s=(%03x-%03x,%03x) w=%03x h=%03x b=%02x%04x c=%02x%02x ss=%04x,%04x ds=%04x,%04x ls=%04x%04x rs=%04x%04x u80=%04x", tag,
+ logerror("%s: e=%d%d f=%04x s=(%03x-%03x,%03x) w=%03x h=%03x b=%02x%04x c=%02x%02x ss=%04x,%04x ds=%04x,%04x ls=%04x%04x rs=%04x%04x u80=%04x", tag.c_str(),
m_enable_latch[0], m_enable_latch[1],
VIDEO_TRANSFER_FLAGS,
VIDEO_TRANSFER_X, VIDEO_RIGHTCLIP, VIDEO_TRANSFER_Y, VIDEO_TRANSFER_WIDTH, VIDEO_TRANSFER_HEIGHT,
@@ -344,7 +344,7 @@ void itech32_state::logblit(const char *tag)
m_video[0x1a/2] == 0x000 && m_video[0x1c/2] == 0x100 &&
m_video[0x1e/2] == 0x000 && m_video[0x20/2] == 0x000)
{
- logerror("%s: e=%d%d f=%04x c=%02x%02x %02x%04x -> (%03x,%03x) %3dx%3dc=(%03x,%03x)-(%03x,%03x)", tag,
+ logerror("%s: e=%d%d f=%04x c=%02x%02x %02x%04x -> (%03x,%03x) %3dx%3dc=(%03x,%03x)-(%03x,%03x)", tag.c_str(),
m_enable_latch[0], m_enable_latch[1],
VIDEO_TRANSFER_FLAGS,
m_color_latch[0] >> 8, m_color_latch[1] >> 8,
@@ -355,7 +355,7 @@ void itech32_state::logblit(const char *tag)
}
else
{
- logerror("%s: e=%d%d f=%04x c=%02x%02x %02x%04x -> (%03x,%03x) %3dx%3d c=(%03x,%03x)-(%03x,%03x) s=%04x %04x %04x %04x %04x %04x", tag,
+ logerror("%s: e=%d%d f=%04x c=%02x%02x %02x%04x -> (%03x,%03x) %3dx%3d c=(%03x,%03x)-(%03x,%03x) s=%04x %04x %04x %04x %04x %04x", tag.c_str(),
m_enable_latch[0], m_enable_latch[1],
VIDEO_TRANSFER_FLAGS,
m_color_latch[0] >> 8, m_color_latch[1] >> 8,
diff --git a/src/mame/video/jalblend.cpp b/src/mame/video/jalblend.cpp
index 93359334934..d07eb4bb843 100644
--- a/src/mame/video/jalblend.cpp
+++ b/src/mame/video/jalblend.cpp
@@ -24,7 +24,7 @@
const device_type JALECO_BLEND = &device_creator<jaleco_blend_device>;
-jaleco_blend_device::jaleco_blend_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+jaleco_blend_device::jaleco_blend_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, JALECO_BLEND, "Jaleco Blending Device", tag, owner, clock, "jaleco_blend", __FILE__),
m_table(nullptr)
{
diff --git a/src/mame/video/jalblend.h b/src/mame/video/jalblend.h
index 721bf320676..1620183f185 100644
--- a/src/mame/video/jalblend.h
+++ b/src/mame/video/jalblend.h
@@ -3,7 +3,7 @@
class jaleco_blend_device : public device_t
{
public:
- jaleco_blend_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ jaleco_blend_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~jaleco_blend_device() {}
void set(int color, UINT8 val);
diff --git a/src/mame/video/k001005.cpp b/src/mame/video/k001005.cpp
index fad84787317..12071cb5589 100644
--- a/src/mame/video/k001005.cpp
+++ b/src/mame/video/k001005.cpp
@@ -1170,7 +1170,7 @@ void k001005_renderer::draw(bitmap_rgb32 &bitmap, const rectangle &cliprect)
const device_type K001005 = &device_creator<k001005_device>;
-k001005_device::k001005_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k001005_device::k001005_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K001005, "K001005 Polygon Renderer", tag, owner, clock, "k001005", __FILE__),
device_video_interface(mconfig, *this),
m_k001006(nullptr),
@@ -1457,7 +1457,7 @@ void k001005_device::draw( bitmap_rgb32 &bitmap, const rectangle &cliprect )
m_renderer->draw(bitmap, cliprect);
}
-void k001005_device::set_texel_chip(device_t &device, const char *tag)
+void k001005_device::set_texel_chip(device_t &device, std::string tag)
{
downcast<k001005_device &>(device).m_k001006_tag = tag;
}
diff --git a/src/mame/video/k001005.h b/src/mame/video/k001005.h
index b863ffdc8de..c3629819c70 100644
--- a/src/mame/video/k001005.h
+++ b/src/mame/video/k001005.h
@@ -103,10 +103,10 @@ class k001005_device : public device_t,
public device_video_interface
{
public:
- k001005_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k001005_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k001005_device() {}
- static void set_texel_chip(device_t &device, const char *tag);
+ static void set_texel_chip(device_t &device, std::string tag);
void draw(bitmap_rgb32 &bitmap, const rectangle &cliprect);
void swap_buffers();
@@ -124,7 +124,7 @@ protected:
private:
// internal state
device_t *m_k001006;
- const char *m_k001006_tag;
+ std::string m_k001006_tag;
std::unique_ptr<UINT16[]> m_ram[2];
std::unique_ptr<UINT32[]> m_fifo;
diff --git a/src/mame/video/k001006.cpp b/src/mame/video/k001006.cpp
index 1c60d4b56b0..f5fa90ac859 100644
--- a/src/mame/video/k001006.cpp
+++ b/src/mame/video/k001006.cpp
@@ -14,13 +14,14 @@
const device_type K001006 = &device_creator<k001006_device>;
-k001006_device::k001006_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k001006_device::k001006_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K001006, "K001006 Texel Unit", tag, owner, clock, "k001006", __FILE__),
m_pal_ram(nullptr),
m_unknown_ram(nullptr),
m_addr(0),
m_device_sel(0),
- m_palette(nullptr), m_gfx_region(nullptr), m_gfxrom(nullptr),
+ m_palette(nullptr),
+ m_gfxrom(nullptr),
m_tex_layout(0)
{
}
diff --git a/src/mame/video/k001006.h b/src/mame/video/k001006.h
index 6b3b23e41c2..5368a4d2cbd 100644
--- a/src/mame/video/k001006.h
+++ b/src/mame/video/k001006.h
@@ -9,11 +9,11 @@
class k001006_device : public device_t
{
public:
- k001006_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k001006_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k001006_device() {}
// static configuration
- static void set_gfx_region(device_t &device, const char *tag) { downcast<k001006_device &>(device).m_gfx_region = tag; }
+ static void set_gfx_region(device_t &device, std::string tag) { downcast<k001006_device &>(device).m_gfx_region = tag; }
static void set_tex_layout(device_t &device, int layout) { downcast<k001006_device &>(device).m_tex_layout = layout; }
UINT32 fetch_texel(int page, int pal_index, int u, int v);
@@ -39,7 +39,7 @@ private:
std::unique_ptr<UINT32[]> m_palette;
- const char * m_gfx_region;
+ std::string m_gfx_region;
UINT8 * m_gfxrom;
//int m_tex_width;
//int m_tex_height;
diff --git a/src/mame/video/k001604.cpp b/src/mame/video/k001604.cpp
index 6308e9f2736..d34083efee0 100644
--- a/src/mame/video/k001604.cpp
+++ b/src/mame/video/k001604.cpp
@@ -17,7 +17,7 @@
const device_type K001604 = &device_creator<k001604_device>;
-k001604_device::k001604_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k001604_device::k001604_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K001604, "K001604 2D tilemaps + 2x ROZ", tag, owner, clock, "k001604", __FILE__),
m_gfx_index_1(0),
m_gfx_index_2(0),
@@ -41,7 +41,7 @@ k001604_device::k001604_device(const machine_config &mconfig, const char *tag, d
// gfx decoder
//-------------------------------------------------
-void k001604_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void k001604_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<k001604_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -425,7 +425,7 @@ WRITE32_MEMBER( k001604_device::reg_w )
// palette device
//-------------------------------------------------
-void k001604_device::static_set_palette_tag(device_t &device, const char *tag)
+void k001604_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<k001604_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/k001604.h b/src/mame/video/k001604.h
index d0719936029..14480539cc3 100644
--- a/src/mame/video/k001604.h
+++ b/src/mame/video/k001604.h
@@ -8,12 +8,12 @@
class k001604_device : public device_t
{
public:
- k001604_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k001604_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k001604_device() {}
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void set_gfx_index_1(device_t &device, int idx) { downcast<k001604_device &>(device).m_gfx_index_1 = idx; }
static void set_gfx_index_2(device_t &device, int idx) { downcast<k001604_device &>(device).m_gfx_index_2 = idx; }
static void set_layer_size(device_t &device, int size) { downcast<k001604_device &>(device).m_layer_size = size; }
diff --git a/src/mame/video/k007121.cpp b/src/mame/video/k007121.cpp
index 6914945baa5..6a1d3b2fe99 100644
--- a/src/mame/video/k007121.cpp
+++ b/src/mame/video/k007121.cpp
@@ -121,7 +121,7 @@ control registers
const device_type K007121 = &device_creator<k007121_device>;
-k007121_device::k007121_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k007121_device::k007121_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K007121, "K007121 Sprite/Tilemap Controller", tag, owner, clock, "k007121", __FILE__),
m_flipscreen(0),
m_palette(*this)
@@ -364,7 +364,7 @@ void k007121_device::sprites_draw( bitmap_ind16 &bitmap, const rectangle &clipre
// palette device
//-------------------------------------------------
-void k007121_device::static_set_palette_tag(device_t &device, const char *tag)
+void k007121_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<k007121_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/k007121.h b/src/mame/video/k007121.h
index 0f1188b21fa..6d1b41f8bc7 100644
--- a/src/mame/video/k007121.h
+++ b/src/mame/video/k007121.h
@@ -7,10 +7,10 @@
class k007121_device : public device_t
{
public:
- k007121_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k007121_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k007121_device() {}
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
DECLARE_READ8_MEMBER( ctrlram_r );
DECLARE_WRITE8_MEMBER( ctrl_w );
diff --git a/src/mame/video/k007342.cpp b/src/mame/video/k007342.cpp
index e44dd84e068..3ef9db0e4dd 100644
--- a/src/mame/video/k007342.cpp
+++ b/src/mame/video/k007342.cpp
@@ -37,7 +37,7 @@ control registers
const device_type K007342 = &device_creator<k007342_device>;
-k007342_device::k007342_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k007342_device::k007342_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K007342, "K007342 Video Controller", tag, owner, clock, "k007342", __FILE__),
m_ram(nullptr),
m_scroll_ram(nullptr),
@@ -61,7 +61,7 @@ k007342_device::k007342_device(const machine_config &mconfig, const char *tag, d
// gfx decoder
//-------------------------------------------------
-void k007342_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void k007342_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<k007342_device &>(device).m_gfxdecode.set_tag(tag);
}
diff --git a/src/mame/video/k007342.h b/src/mame/video/k007342.h
index edc307868fa..0d10b163f3d 100644
--- a/src/mame/video/k007342.h
+++ b/src/mame/video/k007342.h
@@ -9,11 +9,11 @@ typedef device_delegate<void (int layer, int bank, int *code, int *color, int *f
class k007342_device : public device_t
{
public:
- k007342_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k007342_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k007342_device() {}
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
static void static_set_gfxnum(device_t &device, int gfxnum) { downcast<k007342_device &>(device).m_gfxnum = gfxnum; }
static void static_set_callback(device_t &device, k007342_delegate callback) { downcast<k007342_device &>(device).m_callback = callback; }
diff --git a/src/mame/video/k007420.cpp b/src/mame/video/k007420.cpp
index 9b539f23669..29c00aa38fc 100644
--- a/src/mame/video/k007420.cpp
+++ b/src/mame/video/k007420.cpp
@@ -18,7 +18,7 @@ and a variable amount of ROM. Nothing is known about its external interface.
const device_type K007420 = &device_creator<k007420_device>;
-k007420_device::k007420_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k007420_device::k007420_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K007420, "K007420 Sprite Generator", tag, owner, clock, "k007420", __FILE__),
m_ram(nullptr),
m_flipscreen(0),
@@ -251,7 +251,7 @@ void k007420_device::sprites_draw( bitmap_ind16 &bitmap, const rectangle &clipre
// palette device
//-------------------------------------------------
-void k007420_device::static_set_palette_tag(device_t &device, const char *tag)
+void k007420_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<k007420_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/k007420.h b/src/mame/video/k007420.h
index 471efe297b6..6484a21555f 100644
--- a/src/mame/video/k007420.h
+++ b/src/mame/video/k007420.h
@@ -9,10 +9,10 @@ typedef device_delegate<void (int *code, int *color)> k007420_delegate;
class k007420_device : public device_t
{
public:
- k007420_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k007420_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k007420_device() {}
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void static_set_bank_limit(device_t &device, int limit) { downcast<k007420_device &>(device).m_banklimit = limit; }
static void static_set_callback(device_t &device, k007420_delegate callback) { downcast<k007420_device &>(device).m_callback = callback; }
diff --git a/src/mame/video/k037122.cpp b/src/mame/video/k037122.cpp
index e7f57786174..c6d732fdb8b 100644
--- a/src/mame/video/k037122.cpp
+++ b/src/mame/video/k037122.cpp
@@ -15,7 +15,7 @@ Konami 037122
const device_type K037122 = &device_creator<k037122_device>;
-k037122_device::k037122_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k037122_device::k037122_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K037122, "K037122 2D Tilemap", tag, owner, clock, "k037122", __FILE__),
device_video_interface(mconfig, *this),
m_tile_ram(nullptr),
@@ -32,7 +32,7 @@ k037122_device::k037122_device(const machine_config &mconfig, const char *tag, d
// gfx decoder
//-------------------------------------------------
-void k037122_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void k037122_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<k037122_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -42,7 +42,7 @@ void k037122_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
// palette device
//-------------------------------------------------
-void k037122_device::static_set_palette_tag(device_t &device, const char *tag)
+void k037122_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<k037122_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/k037122.h b/src/mame/video/k037122.h
index 181f28e355d..13ed75d2868 100644
--- a/src/mame/video/k037122.h
+++ b/src/mame/video/k037122.h
@@ -8,12 +8,12 @@ class k037122_device : public device_t,
public device_video_interface
{
public:
- k037122_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k037122_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k037122_device() {}
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void static_set_gfx_index(device_t &device, int index) { downcast<k037122_device &>(device).m_gfx_index = index; }
void tile_draw( screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect );
diff --git a/src/mame/video/k051316.cpp b/src/mame/video/k051316.cpp
index 958b38fab3f..a01ac24a1b3 100644
--- a/src/mame/video/k051316.cpp
+++ b/src/mame/video/k051316.cpp
@@ -103,7 +103,7 @@ GFXDECODE_MEMBER( k051316_device::gfxinfo4_ram )
GFXDECODE_END
-k051316_device::k051316_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k051316_device::k051316_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K051316, "K051316 PSAC", tag, owner, clock, "k051316", __FILE__),
device_gfx_interface(mconfig, *this, gfxinfo),
m_zoom_rom(nullptr),
diff --git a/src/mame/video/k051316.h b/src/mame/video/k051316.h
index 03d040340f1..9984494903c 100644
--- a/src/mame/video/k051316.h
+++ b/src/mame/video/k051316.h
@@ -28,7 +28,7 @@ class k051316_device : public device_t,
public device_gfx_interface
{
public:
- k051316_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k051316_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k051316_device() {}
static const gfx_layout charlayout4;
diff --git a/src/mame/video/k051733.cpp b/src/mame/video/k051733.cpp
index 8456e0d2ea7..5cf332226da 100644
--- a/src/mame/video/k051733.cpp
+++ b/src/mame/video/k051733.cpp
@@ -64,7 +64,7 @@ reads from 0x0006, and only uses bit 1.
const device_type K051733 = &device_creator<k051733_device>;
-k051733_device::k051733_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k051733_device::k051733_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K051733, "K051733 Protection", tag, owner, clock, "k051733", __FILE__),
//m_ram[0x20],
m_rng(0)
diff --git a/src/mame/video/k051733.h b/src/mame/video/k051733.h
index 6e0ef7708d0..75f069a4d8b 100644
--- a/src/mame/video/k051733.h
+++ b/src/mame/video/k051733.h
@@ -7,7 +7,7 @@
class k051733_device : public device_t
{
public:
- k051733_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k051733_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k051733_device() {}
DECLARE_WRITE8_MEMBER( write );
diff --git a/src/mame/video/k051960.cpp b/src/mame/video/k051960.cpp
index 81eb58f45af..27e2bb2efe9 100644
--- a/src/mame/video/k051960.cpp
+++ b/src/mame/video/k051960.cpp
@@ -125,13 +125,12 @@ GFXDECODE_MEMBER( k051960_device::gfxinfo_gradius3 )
GFXDECODE_END
-k051960_device::k051960_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k051960_device::k051960_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K051960, "K051960 Sprite Generator", tag, owner, clock, "k051960", __FILE__),
device_gfx_interface(mconfig, *this, gfxinfo),
m_ram(nullptr),
m_sprite_rom(nullptr),
m_sprite_size(0),
- m_screen_tag(nullptr),
m_screen(nullptr),
m_scanline_timer(nullptr),
m_irq_handler(*this),
@@ -171,7 +170,7 @@ void k051960_device::set_plane_order(device_t &device, int order)
// set_screen_tag - set screen we are attached to
//-------------------------------------------------
-void k051960_device::set_screen_tag(device_t &device, device_t *owner, const char *tag)
+void k051960_device::set_screen_tag(device_t &device, device_t *owner, std::string tag)
{
k051960_device &dev = dynamic_cast<k051960_device &>(device);
dev.m_screen_tag = tag;
diff --git a/src/mame/video/k051960.h b/src/mame/video/k051960.h
index 069f0f48440..8302244362b 100644
--- a/src/mame/video/k051960.h
+++ b/src/mame/video/k051960.h
@@ -42,7 +42,7 @@ class k051960_device : public device_t,
DECLARE_GFXDECODE_MEMBER(gfxinfo_gradius3);
public:
- k051960_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k051960_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k051960_device() {}
template<class _Object> static devcb_base &set_irq_handler(device_t &device, _Object object)
@@ -54,7 +54,7 @@ public:
// static configuration
static void set_k051960_callback(device_t &device, k051960_cb_delegate callback) { downcast<k051960_device &>(device).m_k051960_cb = callback; }
static void set_plane_order(device_t &device, int order);
- static void set_screen_tag(device_t &device, device_t *owner, const char *tag);
+ static void set_screen_tag(device_t &device, device_t *owner, std::string tag);
/*
The callback is passed:
@@ -92,7 +92,7 @@ private:
UINT8 *m_sprite_rom;
UINT32 m_sprite_size;
- const char *m_screen_tag;
+ std::string m_screen_tag;
screen_device *m_screen;
emu_timer *m_scanline_timer;
diff --git a/src/mame/video/k052109.cpp b/src/mame/video/k052109.cpp
index f0e3c640051..83c417afeb9 100644
--- a/src/mame/video/k052109.cpp
+++ b/src/mame/video/k052109.cpp
@@ -159,7 +159,7 @@ GFXDECODE_MEMBER( k052109_device::gfxinfo_ram )
GFXDECODE_END
-k052109_device::k052109_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k052109_device::k052109_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K052109, "K052109 Tilemap Generator", tag, owner, clock, "k052109", __FILE__),
device_gfx_interface(mconfig, *this, gfxinfo),
m_ram(nullptr),
@@ -180,7 +180,6 @@ k052109_device::k052109_device(const machine_config &mconfig, const char *tag, d
m_scrollctrl(0),
m_char_rom(nullptr),
m_char_size(0),
- m_screen_tag(nullptr),
m_irq_handler(*this),
m_firq_handler(*this),
m_nmi_handler(*this)
@@ -205,7 +204,7 @@ void k052109_device::set_ram(device_t &device, bool ram)
void k052109_device::device_start()
{
- if (m_screen_tag != nullptr)
+ if (!m_screen_tag.empty())
{
// make sure our screen is started
screen_device *screen = m_owner->subdevice<screen_device>(m_screen_tag);
@@ -288,7 +287,7 @@ void k052109_device::device_reset()
// set_screen_tag - set screen we are attached to
//-------------------------------------------------
-void k052109_device::set_screen_tag(device_t &device, device_t *owner, const char *tag)
+void k052109_device::set_screen_tag(device_t &device, device_t *owner, std::string tag)
{
k052109_device &dev = dynamic_cast<k052109_device &>(device);
dev.m_screen_tag = tag;
diff --git a/src/mame/video/k052109.h b/src/mame/video/k052109.h
index 96f25882fa4..5d081a9e251 100644
--- a/src/mame/video/k052109.h
+++ b/src/mame/video/k052109.h
@@ -28,7 +28,7 @@ class k052109_device : public device_t, public device_gfx_interface
DECLARE_GFXDECODE_MEMBER(gfxinfo_ram);
public:
- k052109_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k052109_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k052109_device() {}
template<class _Object> static devcb_base &set_irq_handler(device_t &device, _Object object)
@@ -36,7 +36,7 @@ public:
static void set_k052109_callback(device_t &device, k052109_cb_delegate callback) { downcast<k052109_device &>(device).m_k052109_cb = callback; }
static void set_ram(device_t &device, bool ram);
- static void set_screen_tag(device_t &device, device_t *owner, const char *tag);
+ static void set_screen_tag(device_t &device, device_t *owner, std::string tag);
/*
The callback is passed:
@@ -99,7 +99,7 @@ private:
UINT8 *m_char_rom;
UINT32 m_char_size;
- const char *m_screen_tag;
+ std::string m_screen_tag;
k052109_cb_delegate m_k052109_cb;
diff --git a/src/mame/video/k053244_k053245.cpp b/src/mame/video/k053244_k053245.cpp
index 66846c73aa6..c4ee02496bf 100644
--- a/src/mame/video/k053244_k053245.cpp
+++ b/src/mame/video/k053244_k053245.cpp
@@ -81,7 +81,7 @@ GFXDECODE_MEMBER( k05324x_device::gfxinfo_6bpp )
GFXDECODE_END
-k05324x_device::k05324x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k05324x_device::k05324x_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K053244, "K053244 & 053245 Sprite Generator", tag, owner, clock, "k05324x", __FILE__),
device_gfx_interface(mconfig, *this, gfxinfo),
m_ram(nullptr),
diff --git a/src/mame/video/k053244_k053245.h b/src/mame/video/k053244_k053245.h
index 924edc2a37f..9d50197ddca 100644
--- a/src/mame/video/k053244_k053245.h
+++ b/src/mame/video/k053244_k053245.h
@@ -28,7 +28,7 @@ class k05324x_device : public device_t,
DECLARE_GFXDECODE_MEMBER(gfxinfo_6bpp);
public:
- k05324x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k05324x_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k05324x_device() {}
// static configuration
diff --git a/src/mame/video/k053246_k053247_k055673.cpp b/src/mame/video/k053246_k053247_k055673.cpp
index fc9bc1581eb..cea687071e7 100644
--- a/src/mame/video/k053246_k053247_k055673.cpp
+++ b/src/mame/video/k053246_k053247_k055673.cpp
@@ -902,7 +902,7 @@ void k053247_device::zdrawgfxzoom32GP(
const device_type K055673 = &device_creator<k055673_device>;
-k055673_device::k055673_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k055673_device::k055673_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: k053247_device(mconfig, K055673, "K053246 & K055673 Sprite Generator", tag, owner, clock, "k055673", __FILE__)
{
}
@@ -1043,7 +1043,7 @@ void k055673_device::device_start()
const device_type K053246 = &device_creator<k053247_device>;
-k053247_device::k053247_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k053247_device::k053247_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K053246, "K053246 & K053247 Sprite Generator", tag, owner, clock, "k053247", __FILE__),
device_video_interface(mconfig, *this),
m_gfxdecode(*this),
@@ -1052,7 +1052,7 @@ k053247_device::k053247_device(const machine_config &mconfig, const char *tag, d
clear_all();
}
-k053247_device::k053247_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+k053247_device::k053247_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_video_interface(mconfig, *this),
m_gfxdecode(*this),
@@ -1066,7 +1066,7 @@ k053247_device::k053247_device(const machine_config &mconfig, device_type type,
// gfx decoder
//-------------------------------------------------
-void k053247_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void k053247_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<k053247_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -1076,7 +1076,7 @@ void k053247_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
// palette device
//-------------------------------------------------
-void k053247_device::static_set_palette_tag(device_t &device, const char *tag)
+void k053247_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<k053247_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/k053246_k053247_k055673.h b/src/mame/video/k053246_k053247_k055673.h
index 96e41f00893..0bec1c786af 100644
--- a/src/mame/video/k053246_k053247_k055673.h
+++ b/src/mame/video/k053246_k053247_k055673.h
@@ -61,14 +61,14 @@ class k053247_device : public device_t,
public device_video_interface
{
public:
- k053247_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- k053247_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ k053247_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ k053247_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
~k053247_device() { }
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void set_k053247_callback(device_t &device, k053247_cb_delegate callback) { downcast<k053247_device &>(device).m_k053247_cb = callback; }
static void set_config(device_t &device, const char *gfx_reg, int gfx_num, int bpp, int dx, int dy)
{
@@ -486,7 +486,7 @@ extern const device_type K053246;
class k055673_device : public k053247_device
{
public:
- k055673_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k055673_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k055673_device() { }
protected:
diff --git a/src/mame/video/k053250.cpp b/src/mame/video/k053250.cpp
index bb3c02805fc..b0a876e4cdd 100644
--- a/src/mame/video/k053250.cpp
+++ b/src/mame/video/k053250.cpp
@@ -4,7 +4,7 @@
const device_type K053250 = &device_creator<k053250_device>;
-k053250_device::k053250_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k053250_device::k053250_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K053250, "K053250 LVC", tag, owner, clock, "k053250", __FILE__),
device_gfx_interface(mconfig, *this),
device_video_interface(mconfig, *this)
@@ -21,7 +21,7 @@ void k053250_device::static_set_offsets(device_t &device, int offx, int offy)
void k053250_device::unpack_nibbles()
{
if(!m_region)
- throw emu_fatalerror("k053250 %s: no associated region found\n", tag());
+ throw emu_fatalerror("k053250 %s: no associated region found\n", tag().c_str());
const UINT8 *base = m_region->base();
int size = m_region->bytes();
diff --git a/src/mame/video/k053250.h b/src/mame/video/k053250.h
index 610c8577507..21641314aef 100644
--- a/src/mame/video/k053250.h
+++ b/src/mame/video/k053250.h
@@ -20,7 +20,7 @@ class k053250_device : public device_t,
public device_video_interface
{
public:
- k053250_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k053250_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
static void static_set_offsets(device_t &device, int offx, int offy);
diff --git a/src/mame/video/k053251.cpp b/src/mame/video/k053251.cpp
index b11eb7002e1..3283a95dc21 100644
--- a/src/mame/video/k053251.cpp
+++ b/src/mame/video/k053251.cpp
@@ -126,7 +126,7 @@ actually used, since the priority is taken from the external ports.
const device_type K053251 = &device_creator<k053251_device>;
-k053251_device::k053251_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k053251_device::k053251_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K053251, "K053251 Priority Encoder", tag, owner, clock, "k053251", __FILE__),
//m_dirty_tmap[5],
//m_ram[16],
diff --git a/src/mame/video/k053251.h b/src/mame/video/k053251.h
index de5feffc3de..8e51f8b7cbc 100644
--- a/src/mame/video/k053251.h
+++ b/src/mame/video/k053251.h
@@ -15,7 +15,7 @@
class k053251_device : public device_t
{
public:
- k053251_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k053251_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k053251_device() {}
/*
diff --git a/src/mame/video/k053936.cpp b/src/mame/video/k053936.cpp
index 8e851c14e82..35728d0b8b8 100644
--- a/src/mame/video/k053936.cpp
+++ b/src/mame/video/k053936.cpp
@@ -229,7 +229,7 @@ void K053936_set_offset(int chip, int xoffs, int yoffs)
const device_type K053936 = &device_creator<k053936_device>;
-k053936_device::k053936_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k053936_device::k053936_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K053936, "K053936 Video Controller", tag, owner, clock, "k053936", __FILE__),
m_ctrl(nullptr),
m_linectrl(nullptr),
diff --git a/src/mame/video/k053936.h b/src/mame/video/k053936.h
index 311b2e198d9..af50957aa72 100644
--- a/src/mame/video/k053936.h
+++ b/src/mame/video/k053936.h
@@ -19,7 +19,7 @@ void K053936GP_0_zoom_draw(running_machine &machine, bitmap_rgb32 &bitmap, const
class k053936_device : public device_t
{
public:
- k053936_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k053936_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k053936_device() {}
// static configuration
diff --git a/src/mame/video/k054000.cpp b/src/mame/video/k054000.cpp
index 235f72ea1ea..f01d16098d9 100644
--- a/src/mame/video/k054000.cpp
+++ b/src/mame/video/k054000.cpp
@@ -54,7 +54,7 @@ Memory map:
const device_type K054000 = &device_creator<k054000_device>;
-k054000_device::k054000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k054000_device::k054000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K054000, "K054000 Protection", tag, owner, clock, "k054000", __FILE__)
{
}
diff --git a/src/mame/video/k054000.h b/src/mame/video/k054000.h
index 05ce76b3da6..bafb8d7869a 100644
--- a/src/mame/video/k054000.h
+++ b/src/mame/video/k054000.h
@@ -11,7 +11,7 @@
class k054000_device : public device_t
{
public:
- k054000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k054000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k054000_device() {}
DECLARE_WRITE8_MEMBER( write );
diff --git a/src/mame/video/k054156_k054157_k056832.cpp b/src/mame/video/k054156_k054157_k056832.cpp
index 9167a3e571a..135d789e1aa 100644
--- a/src/mame/video/k054156_k054157_k056832.cpp
+++ b/src/mame/video/k054156_k054157_k056832.cpp
@@ -181,7 +181,7 @@ ones. The other 7 words are ignored. Global scrollx is ignored.
const device_type K056832 = &device_creator<k056832_device>;
-k056832_device::k056832_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k056832_device::k056832_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K056832, "K056832 Tilemap Generator", tag, owner, clock, "k056832", __FILE__),
//m_tilemap[K056832_PAGE_COUNT],
//*m_pixmap[K056832_PAGE_COUNT],
@@ -195,7 +195,6 @@ k056832_device::k056832_device(const machine_config &mconfig, const char *tag, d
m_bpp(-1),
m_big(0),
m_djmain_hack(0),
- m_k055555_tag(nullptr),
//m_layer_assoc_with_page[K056832_PAGE_COUNT],
//m_layer_offs[8][2],
//m_lsram_page[8][2],
@@ -230,7 +229,7 @@ k056832_device::k056832_device(const machine_config &mconfig, const char *tag, d
// gfx decoder
//-------------------------------------------------
-void k056832_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void k056832_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<k056832_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -241,7 +240,7 @@ void k056832_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
// palette device
//-------------------------------------------------
-void k056832_device::static_set_palette_tag(device_t &device, const char *tag)
+void k056832_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<k056832_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/k054156_k054157_k056832.h b/src/mame/video/k054156_k054157_k056832.h
index d043a4f9525..7cb6f342145 100644
--- a/src/mame/video/k054156_k054157_k056832.h
+++ b/src/mame/video/k054156_k054157_k056832.h
@@ -38,7 +38,7 @@ typedef device_delegate<void (int layer, int *code, int *color, int *flags)> k05
class k056832_device : public device_t
{
public:
- k056832_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k056832_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k056832_device()
{
m_k055555 = nullptr;
@@ -57,8 +57,8 @@ public:
}
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
void SetExtLinescroll(); /* Lethal Enforcers */
diff --git a/src/mame/video/k054338.cpp b/src/mame/video/k054338.cpp
index 928f331991f..49b8b12e45b 100644
--- a/src/mame/video/k054338.cpp
+++ b/src/mame/video/k054338.cpp
@@ -20,11 +20,10 @@
const device_type K054338 = &device_creator<k054338_device>;
-k054338_device::k054338_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k054338_device::k054338_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K054338, "K054338 Mixer", tag, owner, clock, "k054338", __FILE__),
device_video_interface(mconfig, *this),
- m_alpha_inv(0),
- m_k055555_tag(nullptr)
+ m_alpha_inv(0)
{
memset(&m_regs, 0, sizeof(m_regs));
memset(&m_shd_rgb, 0, sizeof(m_shd_rgb));
diff --git a/src/mame/video/k054338.h b/src/mame/video/k054338.h
index ad4f95a590e..0ad9bfa180e 100644
--- a/src/mame/video/k054338.h
+++ b/src/mame/video/k054338.h
@@ -25,7 +25,7 @@ class k054338_device : public device_t,
public device_video_interface
{
public:
- k054338_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k054338_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k054338_device() {}
// static configuration
diff --git a/src/mame/video/k055555.cpp b/src/mame/video/k055555.cpp
index adebdf0fe10..edfdf5ebf7c 100644
--- a/src/mame/video/k055555.cpp
+++ b/src/mame/video/k055555.cpp
@@ -142,7 +142,7 @@ int k055555_device::K055555_get_palette_index(int idx)
const device_type K055555 = &device_creator<k055555_device>;
-k055555_device::k055555_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k055555_device::k055555_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K055555, "K055555 Priority Encoder", tag, owner, clock, "k055555", __FILE__)
{
}
diff --git a/src/mame/video/k055555.h b/src/mame/video/k055555.h
index cc3d8dd602c..9e553d7b5b6 100644
--- a/src/mame/video/k055555.h
+++ b/src/mame/video/k055555.h
@@ -80,7 +80,7 @@
class k055555_device : public device_t
{
public:
- k055555_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k055555_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~k055555_device() { }
void K055555_write_reg(UINT8 regnum, UINT8 regdat);
diff --git a/src/mame/video/k057714.cpp b/src/mame/video/k057714.cpp
index 8676e3a5a37..a715d9f6f01 100644
--- a/src/mame/video/k057714.cpp
+++ b/src/mame/video/k057714.cpp
@@ -13,7 +13,7 @@
const device_type K057714 = &device_creator<k057714_device>;
-k057714_device::k057714_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k057714_device::k057714_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K057714, "K057714 GCU", tag, owner, clock, "k057714", __FILE__),
m_irq(*this)
{
diff --git a/src/mame/video/k057714.h b/src/mame/video/k057714.h
index a0ca6007385..e531728feb1 100644
--- a/src/mame/video/k057714.h
+++ b/src/mame/video/k057714.h
@@ -8,7 +8,7 @@
class k057714_device : public device_t
{
public:
- k057714_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k057714_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &static_set_irq_callback(device_t &device, _Object object) { return downcast<k057714_device &>(device).m_irq.set_callback(object); }
int draw(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
diff --git a/src/mame/video/k1ge.cpp b/src/mame/video/k1ge.cpp
index a32e760b385..20c587d360f 100644
--- a/src/mame/video/k1ge.cpp
+++ b/src/mame/video/k1ge.cpp
@@ -863,7 +863,7 @@ void k1ge_device::device_reset()
const device_type K1GE = &device_creator<k1ge_device>;
-k1ge_device::k1ge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k1ge_device::k1ge_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, K1GE, "K1GE Monochrome Graphics + LCD", tag, owner, clock, "k1ge", __FILE__)
, device_video_interface(mconfig, *this)
, m_vblank_pin_w(*this)
@@ -871,7 +871,7 @@ k1ge_device::k1ge_device(const machine_config &mconfig, const char *tag, device_
{
}
-k1ge_device::k1ge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+k1ge_device::k1ge_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source)
, device_video_interface(mconfig, *this)
, m_vblank_pin_w(*this)
@@ -897,7 +897,7 @@ machine_config_constructor k1ge_device::device_mconfig_additions() const
const device_type K2GE = &device_creator<k2ge_device>;
-k2ge_device::k2ge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+k2ge_device::k2ge_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: k1ge_device(mconfig, K2GE, "K2GE Color Graphics + LCD", tag, owner, clock, "k2ge", __FILE__)
{
}
diff --git a/src/mame/video/k1ge.h b/src/mame/video/k1ge.h
index 81f79d9eb3c..3cb4df83dc1 100644
--- a/src/mame/video/k1ge.h
+++ b/src/mame/video/k1ge.h
@@ -27,8 +27,8 @@ class k1ge_device : public device_t,
public device_video_interface
{
public:
- k1ge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- k1ge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ k1ge_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ k1ge_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
@@ -70,7 +70,7 @@ protected:
class k2ge_device : public k1ge_device
{
public:
- k2ge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ k2ge_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_PALETTE_INIT(k2ge);
protected:
diff --git a/src/mame/video/kan_pand.cpp b/src/mame/video/kan_pand.cpp
index 181de04020d..21ae4d57094 100644
--- a/src/mame/video/kan_pand.cpp
+++ b/src/mame/video/kan_pand.cpp
@@ -54,7 +54,7 @@
const device_type KANEKO_PANDORA = &device_creator<kaneko_pandora_device>;
-kaneko_pandora_device::kaneko_pandora_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+kaneko_pandora_device::kaneko_pandora_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, KANEKO_PANDORA, "Kaneko PANDORA GFX", tag, owner, clock, "kaneko_pandora", __FILE__),
device_video_interface(mconfig, *this),
m_gfx_region(0),
@@ -70,7 +70,7 @@ kaneko_pandora_device::kaneko_pandora_device(const machine_config &mconfig, cons
// gfx decoder
//-------------------------------------------------
-void kaneko_pandora_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void kaneko_pandora_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<kaneko_pandora_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -80,7 +80,7 @@ void kaneko_pandora_device::static_set_gfxdecode_tag(device_t &device, const cha
// palette device
//-------------------------------------------------
-void kaneko_pandora_device::static_set_palette_tag(device_t &device, const char *tag)
+void kaneko_pandora_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<kaneko_pandora_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/kan_pand.h b/src/mame/video/kan_pand.h
index f29c5ef3605..d4e04fab0b4 100644
--- a/src/mame/video/kan_pand.h
+++ b/src/mame/video/kan_pand.h
@@ -19,12 +19,12 @@ class kaneko_pandora_device : public device_t,
public device_video_interface
{
public:
- kaneko_pandora_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ kaneko_pandora_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~kaneko_pandora_device() {}
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void set_gfx_region(device_t &device, int gfxregion) { downcast<kaneko_pandora_device &>(device).m_gfx_region = gfxregion; }
static void set_offsets(device_t &device, int x_offset, int y_offset)
{
diff --git a/src/mame/video/kaneko_grap2.cpp b/src/mame/video/kaneko_grap2.cpp
index 7a5bd2de907..95cbb5b0db1 100644
--- a/src/mame/video/kaneko_grap2.cpp
+++ b/src/mame/video/kaneko_grap2.cpp
@@ -16,7 +16,7 @@
const device_type KANEKO_GRAP2 = &device_creator<kaneko_grap2_device>;
-kaneko_grap2_device::kaneko_grap2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+kaneko_grap2_device::kaneko_grap2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, KANEKO_GRAP2, "Kaneko GRAP2", tag, owner, clock, "kaneko_grap2", __FILE__),
m_palette(*this)
{
@@ -35,7 +35,7 @@ void kaneko_grap2_device::set_chipnum(device_t &device, int chipnum)
// palette device
//-------------------------------------------------
-void kaneko_grap2_device::static_set_palette_tag(device_t &device, const char *tag)
+void kaneko_grap2_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<kaneko_grap2_device &>(device).m_palette.set_tag(tag);
}
@@ -93,7 +93,7 @@ READ16_MEMBER(kaneko_grap2_device::galpani3_regs1_r)
}
default:
- logerror("cpu '%s' (PC=%06X): galpani3_regs1_r %02x %04x\n", space.device().tag(), space.device().safe_pcbase(), offset, mem_mask);
+ logerror("cpu '%s' (PC=%06X): galpani3_regs1_r %02x %04x\n", space.device().tag().c_str(), space.device().safe_pcbase(), offset, mem_mask);
break;
}
diff --git a/src/mame/video/kaneko_grap2.h b/src/mame/video/kaneko_grap2.h
index cd801ad3b45..7c9f6643989 100644
--- a/src/mame/video/kaneko_grap2.h
+++ b/src/mame/video/kaneko_grap2.h
@@ -22,13 +22,13 @@
class kaneko_grap2_device : public device_t
{
public:
- kaneko_grap2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ kaneko_grap2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
int m_chipnum; // used to decide where we write the palette
static void set_chipnum(device_t &device, int chipnum);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
DECLARE_READ16_MEMBER(galpani3_regs1_r);
DECLARE_WRITE16_MEMBER(galpani3_regs1_go_w);
diff --git a/src/mame/video/kaneko_spr.cpp b/src/mame/video/kaneko_spr.cpp
index 304800130a4..5eb985c0df5 100644
--- a/src/mame/video/kaneko_spr.cpp
+++ b/src/mame/video/kaneko_spr.cpp
@@ -31,7 +31,7 @@
const device_type KANEKO_VU002_SPRITE = &device_creator<kaneko_vu002_sprite_device>;
const device_type KANEKO_KC002_SPRITE = &device_creator<kaneko_kc002_sprite_device>;
-kaneko16_sprite_device::kaneko16_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, device_type type)
+kaneko16_sprite_device::kaneko16_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, device_type type)
: device_t(mconfig, type, "Kaneko 16-bit Sprites", tag, owner, clock, "kaneko16_sprite", __FILE__),
device_video_interface(mconfig, *this),
m_gfxdecode(*this)
@@ -63,7 +63,7 @@ kaneko16_sprite_device::kaneko16_sprite_device(const machine_config &mconfig, co
// gfx decoder
//-------------------------------------------------
-void kaneko16_sprite_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void kaneko16_sprite_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<kaneko16_sprite_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -616,12 +616,12 @@ void kaneko16_sprite_device::kaneko16_render_sprites_common(_BitmapClass &bitmap
}
}
-kaneko_vu002_sprite_device::kaneko_vu002_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+kaneko_vu002_sprite_device::kaneko_vu002_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: kaneko16_sprite_device(mconfig, tag, owner, clock, KANEKO_VU002_SPRITE)
{
}
-kaneko_kc002_sprite_device::kaneko_kc002_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+kaneko_kc002_sprite_device::kaneko_kc002_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: kaneko16_sprite_device(mconfig, tag, owner, clock, KANEKO_KC002_SPRITE)
{
}
diff --git a/src/mame/video/kaneko_spr.h b/src/mame/video/kaneko_spr.h
index 44639a2351c..3558637536e 100644
--- a/src/mame/video/kaneko_spr.h
+++ b/src/mame/video/kaneko_spr.h
@@ -31,10 +31,10 @@ class kaneko16_sprite_device : public device_t,
public device_video_interface
{
public:
- kaneko16_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, device_type type);
+ kaneko16_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, device_type type);
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
static void set_fliptype(device_t &device, int fliptype);
static void set_offsets(device_t &device, int xoffs, int yoffs);
static void set_priorities(device_t &device, int pri0, int pri1, int pri2, int pri3);
@@ -113,7 +113,7 @@ private:
class kaneko_vu002_sprite_device : public kaneko16_sprite_device
{
public:
- kaneko_vu002_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ kaneko_vu002_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void get_sprite_attributes(struct kan_tempsprite *s, UINT16 attr) override;
int get_sprite_type(void) override{ return 0; };
};
@@ -123,7 +123,7 @@ extern const device_type KANEKO_VU002_SPRITE;
class kaneko_kc002_sprite_device : public kaneko16_sprite_device
{
public:
- kaneko_kc002_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ kaneko_kc002_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void get_sprite_attributes(struct kan_tempsprite *s, UINT16 attr) override;
int get_sprite_type(void) override{ return 1; };
};
diff --git a/src/mame/video/kaneko_tmap.cpp b/src/mame/video/kaneko_tmap.cpp
index 634753975c0..91394e5e54b 100644
--- a/src/mame/video/kaneko_tmap.cpp
+++ b/src/mame/video/kaneko_tmap.cpp
@@ -96,7 +96,7 @@ There are more!
const device_type KANEKO_TMAP = &device_creator<kaneko_view2_tilemap_device>;
-kaneko_view2_tilemap_device::kaneko_view2_tilemap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+kaneko_view2_tilemap_device::kaneko_view2_tilemap_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, KANEKO_TMAP, "Kaneko VIEW2 Tilemaps", tag, owner, clock, "kaneko_view2_tilemap", __FILE__),
m_gfxdecode(*this)
{
@@ -108,7 +108,7 @@ kaneko_view2_tilemap_device::kaneko_view2_tilemap_device(const machine_config &m
// gfx decoder
//-------------------------------------------------
-void kaneko_view2_tilemap_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void kaneko_view2_tilemap_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<kaneko_view2_tilemap_device &>(device).m_gfxdecode.set_tag(tag);
}
diff --git a/src/mame/video/kaneko_tmap.h b/src/mame/video/kaneko_tmap.h
index 75a05e3039d..3a47b1a956c 100644
--- a/src/mame/video/kaneko_tmap.h
+++ b/src/mame/video/kaneko_tmap.h
@@ -5,10 +5,10 @@
class kaneko_view2_tilemap_device : public device_t
{
public:
- kaneko_view2_tilemap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ kaneko_view2_tilemap_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
static void set_gfx_region(device_t &device, int region);
static void set_offset(device_t &device, int dx, int dy, int xdim, int ydim);
static void set_invert_flip(device_t &device, int invert_flip); // for fantasia (bootleg)
diff --git a/src/mame/video/maria.cpp b/src/mame/video/maria.cpp
index a5501989e4b..40ba9646f5e 100644
--- a/src/mame/video/maria.cpp
+++ b/src/mame/video/maria.cpp
@@ -58,7 +58,7 @@ const device_type ATARI_MARIA = &device_creator<atari_maria_device>;
-atari_maria_device::atari_maria_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+atari_maria_device::atari_maria_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ATARI_MARIA, "Atari MARIA", tag, owner, clock, "atari_maria", __FILE__)
{
}
diff --git a/src/mame/video/maria.h b/src/mame/video/maria.h
index ee01856e7b8..a0e9d803045 100644
--- a/src/mame/video/maria.h
+++ b/src/mame/video/maria.h
@@ -11,9 +11,9 @@ class atari_maria_device : public device_t
{
public:
// construction/destruction
- atari_maria_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ atari_maria_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
- static void set_cpu_tag(device_t &device, const char *tag) { downcast<atari_maria_device &>(device).m_cpu_tag = tag; }
+ static void set_cpu_tag(device_t &device, std::string tag) { downcast<atari_maria_device &>(device).m_cpu_tag = tag; }
void interrupt(int lines);
void startdma(int lines);
@@ -55,7 +55,7 @@ private:
int is_holey(unsigned int addr);
int write_line_ram(int addr, UINT8 offset, int pal);
- const char *m_cpu_tag;
+ std::string m_cpu_tag;
cpu_device *m_cpu; // CPU whose space(AS_PROGRAM) serves as DMA source
screen_device *m_screen;
};
diff --git a/src/mame/video/mb60553.cpp b/src/mame/video/mb60553.cpp
index f13a8f3e26c..76710f9c71d 100644
--- a/src/mame/video/mb60553.cpp
+++ b/src/mame/video/mb60553.cpp
@@ -14,7 +14,7 @@
const device_type MB60553 = &device_creator<mb60553_zooming_tilemap_device>;
-mb60553_zooming_tilemap_device::mb60553_zooming_tilemap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+mb60553_zooming_tilemap_device::mb60553_zooming_tilemap_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MB60553, "MB60553 Zooming Tilemap", tag, owner, clock, "mb60553", __FILE__),
m_vram(nullptr),
m_pal_base(0),
@@ -59,7 +59,7 @@ void mb60553_zooming_tilemap_device::set_gfx_region(device_t &device, int gfxreg
dev.m_gfx_region = gfxregion;
}
-void mb60553_zooming_tilemap_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void mb60553_zooming_tilemap_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<mb60553_zooming_tilemap_device &>(device).m_gfxdecode.set_tag(tag);
}
diff --git a/src/mame/video/mb60553.h b/src/mame/video/mb60553.h
index 1c9c84e725c..50e1e166745 100644
--- a/src/mame/video/mb60553.h
+++ b/src/mame/video/mb60553.h
@@ -7,8 +7,8 @@
class mb60553_zooming_tilemap_device : public device_t
{
public:
- mb60553_zooming_tilemap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
+ mb60553_zooming_tilemap_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
static void set_gfx_region(device_t &device, int gfxregion);
tilemap_t* m_tmap;
diff --git a/src/mame/video/mcd212.cpp b/src/mame/video/mcd212.cpp
index f380914a74e..b5f9610f64c 100644
--- a/src/mame/video/mcd212.cpp
+++ b/src/mame/video/mcd212.cpp
@@ -1514,7 +1514,7 @@ void mcd212_device::device_reset()
// mcd212_device - constructor
//-------------------------------------------------
-mcd212_device::mcd212_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+mcd212_device::mcd212_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MACHINE_MCD212, "MCD212 Video", tag, owner, clock, "mcd212", __FILE__),
device_video_interface(mconfig, *this)
{
diff --git a/src/mame/video/mcd212.h b/src/mame/video/mcd212.h
index 3e6968b9fe2..08f16bdf237 100644
--- a/src/mame/video/mcd212.h
+++ b/src/mame/video/mcd212.h
@@ -129,7 +129,7 @@ class mcd212_device : public device_t,
{
public:
// construction/destruction
- mcd212_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ mcd212_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// device members
DECLARE_READ16_MEMBER( regs_r );
diff --git a/src/mame/video/neogeo_spr.cpp b/src/mame/video/neogeo_spr.cpp
index 7f075b28797..26881f79b59 100644
--- a/src/mame/video/neogeo_spr.cpp
+++ b/src/mame/video/neogeo_spr.cpp
@@ -11,7 +11,7 @@
//const device_type NEOGEO_SPRITE_BASE = &device_creator<neosprite_base_device>;
/*
-neosprite_base_device::neosprite_base_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+neosprite_base_device::neosprite_base_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NEOGEO_SPRITE_BASE, "NeoGeo Sprites", tag, owner, clock, "neospritebase", __FILE__),
m_bppshift(4)
{
@@ -19,7 +19,7 @@ neosprite_base_device::neosprite_base_device(const machine_config &mconfig, cons
}
*/
-neosprite_base_device::neosprite_base_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, device_type type)
+neosprite_base_device::neosprite_base_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, device_type type)
: device_t(mconfig, type, "Neogeo Sprites", tag, owner, clock, "neosprite", __FILE__),
m_bppshift(4)
{
@@ -654,7 +654,7 @@ void neosprite_base_device::set_pens(const pen_t* pens)
const device_type NEOGEO_SPRITE_REGULAR = &device_creator<neosprite_regular_device>;
-neosprite_regular_device::neosprite_regular_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+neosprite_regular_device::neosprite_regular_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: neosprite_base_device(mconfig, tag, owner, clock, NEOGEO_SPRITE_REGULAR)
{
}
@@ -704,7 +704,7 @@ inline void neosprite_regular_device::draw_pixel(int romaddr, UINT32* dst, const
const device_type NEOGEO_SPRITE_OPTIMZIED = &device_creator<neosprite_optimized_device>;
-neosprite_optimized_device::neosprite_optimized_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+neosprite_optimized_device::neosprite_optimized_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: neosprite_base_device(mconfig, tag, owner, clock, NEOGEO_SPRITE_OPTIMZIED),
m_spritegfx8(nullptr)
{
@@ -742,7 +742,7 @@ inline void neosprite_optimized_device::draw_pixel(int romaddr, UINT32* dst, con
const device_type NEOGEO_SPRITE_MIDAS = &device_creator<neosprite_midas_device>;
-neosprite_midas_device::neosprite_midas_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+neosprite_midas_device::neosprite_midas_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: neosprite_base_device(mconfig, tag, owner, clock, NEOGEO_SPRITE_MIDAS)
{
m_bppshift = 8;
diff --git a/src/mame/video/neogeo_spr.h b/src/mame/video/neogeo_spr.h
index 6c2f525544f..f2e9ec5abf1 100644
--- a/src/mame/video/neogeo_spr.h
+++ b/src/mame/video/neogeo_spr.h
@@ -21,8 +21,8 @@
class neosprite_base_device : public device_t
{
public:
- neosprite_base_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, device_type type);
-// neosprite_base_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ neosprite_base_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, device_type type);
+// neosprite_base_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual void optimize_sprite_data();
virtual void set_optimized_sprite_data(UINT8* sprdata, UINT32 mask);
@@ -99,7 +99,7 @@ private:
class neosprite_regular_device : public neosprite_base_device
{
public:
- neosprite_regular_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ neosprite_regular_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual void draw_pixel(int romaddr, UINT32* dst, const pen_t *line_pens) override;
virtual void set_sprite_region(UINT8* region_sprites, UINT32 region_sprites_size) override;
@@ -111,7 +111,7 @@ extern const device_type NEOGEO_SPRITE_REGULAR;
class neosprite_optimized_device : public neosprite_base_device
{
public:
- neosprite_optimized_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ neosprite_optimized_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual void optimize_sprite_data() override;
virtual void set_optimized_sprite_data(UINT8* sprdata, UINT32 mask) override;
virtual void draw_pixel(int romaddr, UINT32* dst, const pen_t *line_pens) override;
@@ -129,7 +129,7 @@ extern const device_type NEOGEO_SPRITE_OPTIMZIED;
class neosprite_midas_device : public neosprite_base_device
{
public:
- neosprite_midas_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ neosprite_midas_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual void draw_pixel(int romaddr, UINT32* dst, const pen_t *line_pens) override;
diff --git a/src/mame/video/newport.cpp b/src/mame/video/newport.cpp
index 51604b79326..3558dadc151 100644
--- a/src/mame/video/newport.cpp
+++ b/src/mame/video/newport.cpp
@@ -83,7 +83,7 @@ static inline void ATTR_PRINTF(3,4) verboselog(running_machine &machine, int n_l
const device_type NEWPORT_VIDEO = &device_creator<newport_video_device>;
-newport_video_device::newport_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+newport_video_device::newport_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NEWPORT_VIDEO, "SGI Newport graphics board", tag, owner, clock, "newport_video", __FILE__)
{
}
diff --git a/src/mame/video/newport.h b/src/mame/video/newport.h
index 1764913a85d..83af92cd27f 100644
--- a/src/mame/video/newport.h
+++ b/src/mame/video/newport.h
@@ -113,7 +113,7 @@ struct CMAP_t
class newport_video_device : public device_t
{
public:
- newport_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ newport_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~newport_video_device() {}
diff --git a/src/mame/video/nick.cpp b/src/mame/video/nick.cpp
index 68b9011d31c..eee5aeaedce 100644
--- a/src/mame/video/nick.cpp
+++ b/src/mame/video/nick.cpp
@@ -101,7 +101,7 @@ ADDRESS_MAP_END
// nick_device - constructor
//-------------------------------------------------
-nick_device::nick_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+nick_device::nick_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, NICK, "NICK", tag, owner, clock, "nick", __FILE__),
device_memory_interface(mconfig, *this),
device_video_interface(mconfig, *this),
diff --git a/src/mame/video/nick.h b/src/mame/video/nick.h
index ba701283cd9..b21df35662d 100644
--- a/src/mame/video/nick.h
+++ b/src/mame/video/nick.h
@@ -73,7 +73,7 @@ class nick_device : public device_t,
{
public:
// construction/destruction
- nick_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ nick_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_virq_wr_callback(device_t &device, _Object object) { return downcast<nick_device &>(device).m_write_virq.set_callback(object); }
diff --git a/src/mame/video/pc080sn.cpp b/src/mame/video/pc080sn.cpp
index 62736eecae8..e84a4a8c2f1 100644
--- a/src/mame/video/pc080sn.cpp
+++ b/src/mame/video/pc080sn.cpp
@@ -50,7 +50,7 @@ Control registers
const device_type PC080SN = &device_creator<pc080sn_device>;
-pc080sn_device::pc080sn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pc080sn_device::pc080sn_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PC080SN, "Taito PC080SN", tag, owner, clock, "pc080sn", __FILE__),
m_ram(nullptr),
m_gfxnum(0),
@@ -78,7 +78,7 @@ pc080sn_device::pc080sn_device(const machine_config &mconfig, const char *tag, d
// gfx decoder
//-------------------------------------------------
-void pc080sn_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void pc080sn_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<pc080sn_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -88,7 +88,7 @@ void pc080sn_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
// palette device
//-------------------------------------------------
-void pc080sn_device::static_set_palette_tag(device_t &device, const char *tag)
+void pc080sn_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<pc080sn_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/pc080sn.h b/src/mame/video/pc080sn.h
index b181fbd134e..aa25ab4e496 100644
--- a/src/mame/video/pc080sn.h
+++ b/src/mame/video/pc080sn.h
@@ -6,12 +6,12 @@
class pc080sn_device : public device_t
{
public:
- pc080sn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pc080sn_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~pc080sn_device() {}
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void set_gfx_region(device_t &device, int gfxregion) { downcast<pc080sn_device &>(device).m_gfxnum = gfxregion; }
static void set_yinvert(device_t &device, int y_inv) { downcast<pc080sn_device &>(device).m_y_invert = y_inv; }
static void set_dblwidth(device_t &device, int dblwidth) { downcast<pc080sn_device &>(device).m_dblwidth = dblwidth; }
diff --git a/src/mame/video/pc090oj.cpp b/src/mame/video/pc090oj.cpp
index d7dc21c19c7..dc03ed469a8 100644
--- a/src/mame/video/pc090oj.cpp
+++ b/src/mame/video/pc090oj.cpp
@@ -74,7 +74,7 @@ Taito pc090oj
const device_type PC090OJ = &device_creator<pc090oj_device>;
-pc090oj_device::pc090oj_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pc090oj_device::pc090oj_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, PC090OJ, "Taito PC090OJ", tag, owner, clock, "pc090oj", __FILE__),
m_ctrl(0),
m_sprite_ctrl(0),
@@ -94,7 +94,7 @@ pc090oj_device::pc090oj_device(const machine_config &mconfig, const char *tag, d
// gfx decoder
//-------------------------------------------------
-void pc090oj_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void pc090oj_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<pc090oj_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -104,7 +104,7 @@ void pc090oj_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
// palette device
//-------------------------------------------------
-void pc090oj_device::static_set_palette_tag(device_t &device, const char *tag)
+void pc090oj_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<pc090oj_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/pc090oj.h b/src/mame/video/pc090oj.h
index d1b63b1c7ea..04ceeb120c1 100644
--- a/src/mame/video/pc090oj.h
+++ b/src/mame/video/pc090oj.h
@@ -6,12 +6,12 @@
class pc090oj_device : public device_t
{
public:
- pc090oj_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pc090oj_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~pc090oj_device() {}
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void set_gfx_region(device_t &device, int gfxregion) { downcast<pc090oj_device &>(device).m_gfxnum = gfxregion; }
static void set_usebuffer(device_t &device, int use_buf) { downcast<pc090oj_device &>(device).m_use_buffer = use_buf; }
static void set_offsets(device_t &device, int x_offset, int y_offset)
diff --git a/src/mame/video/pc_t1t.cpp b/src/mame/video/pc_t1t.cpp
index b5931d4daba..f6628d2e186 100644
--- a/src/mame/video/pc_t1t.cpp
+++ b/src/mame/video/pc_t1t.cpp
@@ -31,7 +31,7 @@ enum
const device_type PCVIDEO_T1000 = &device_creator<pcvideo_t1000_device>;
const device_type PCVIDEO_PCJR = &device_creator<pcvideo_pcjr_device>;
-pc_t1t_device::pc_t1t_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+pc_t1t_device::pc_t1t_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_video_interface(mconfig, *this),
m_mc6845(*this, T1000_MC6845_NAME),
@@ -53,13 +53,13 @@ pc_t1t_device::pc_t1t_device(const machine_config &mconfig, device_type type, co
{
}
-pcvideo_t1000_device::pcvideo_t1000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pcvideo_t1000_device::pcvideo_t1000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: pc_t1t_device(mconfig, PCVIDEO_T1000, "Tandy 1000 Graphics Adapter", tag, owner, clock, "tandy_1000_graphics_adapter", __FILE__),
m_t1_displayram(nullptr)
{
}
-pcvideo_pcjr_device::pcvideo_pcjr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+pcvideo_pcjr_device::pcvideo_pcjr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: pc_t1t_device(mconfig, PCVIDEO_PCJR, "PC Jr Graphics Adapter", tag, owner, clock, "pcjr_graphics_adapter", __FILE__),
m_jxkanji(nullptr)
{
diff --git a/src/mame/video/pc_t1t.h b/src/mame/video/pc_t1t.h
index 7dc6f981762..bf9fbb3781b 100644
--- a/src/mame/video/pc_t1t.h
+++ b/src/mame/video/pc_t1t.h
@@ -34,7 +34,7 @@ class pc_t1t_device : public device_t,
{
public:
// construction/destruction
- pc_t1t_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ pc_t1t_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
DECLARE_PALETTE_INIT( pcjr );
@@ -88,7 +88,7 @@ class pcvideo_t1000_device : public pc_t1t_device
{
public:
// construction/destruction
- pcvideo_t1000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pcvideo_t1000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_WRITE8_MEMBER( write );
DECLARE_READ8_MEMBER( videoram_r );
@@ -116,7 +116,7 @@ class pcvideo_pcjr_device : public pc_t1t_device
{
public:
// construction/destruction
- pcvideo_pcjr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pcvideo_pcjr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_WRITE8_MEMBER( write );
DECLARE_WRITE_LINE_MEMBER( pcjr_vsync_changed );
diff --git a/src/mame/video/pcd.cpp b/src/mame/video/pcd.cpp
index d8c6d2b95e5..9b292ea1449 100644
--- a/src/mame/video/pcd.cpp
+++ b/src/mame/video/pcd.cpp
@@ -8,7 +8,7 @@
const device_type PCD_VIDEO = &device_creator<pcd_video_device>;
const device_type PCX_VIDEO = &device_creator<pcx_video_device>;
-pcdx_video_device::pcdx_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
+pcdx_video_device::pcdx_video_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) :
device_t(mconfig, type, name, tag, owner, clock, shortname, source),
m_maincpu(*this, ":maincpu"),
m_mcu(*this, "graphics"),
@@ -19,7 +19,7 @@ pcdx_video_device::pcdx_video_device(const machine_config &mconfig, device_type
{
}
-pcd_video_device::pcd_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+pcd_video_device::pcd_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
pcdx_video_device(mconfig, PCD_VIDEO, "Siemens PC-D Video", tag, owner, clock, "pcd_video", __FILE__),
m_mouse_btn(*this, "MOUSE"),
m_mouse_x(*this, "MOUSEX"),
@@ -29,7 +29,7 @@ pcd_video_device::pcd_video_device(const machine_config &mconfig, const char *ta
{
}
-pcx_video_device::pcx_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+pcx_video_device::pcx_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
pcdx_video_device(mconfig, PCX_VIDEO, "Siemens PC-X Video", tag, owner, clock, "pcx_video", __FILE__),
device_serial_interface(mconfig, *this),
m_vram(4*1024),
diff --git a/src/mame/video/pcd.h b/src/mame/video/pcd.h
index f22c2707569..ecb22fa307e 100644
--- a/src/mame/video/pcd.h
+++ b/src/mame/video/pcd.h
@@ -14,7 +14,7 @@
class pcdx_video_device : public device_t
{
public:
- pcdx_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ pcdx_video_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
virtual DECLARE_ADDRESS_MAP(map, 16) = 0;
DECLARE_READ8_MEMBER(detect_r);
@@ -33,7 +33,7 @@ protected:
class pcd_video_device : public pcdx_video_device
{
public:
- pcd_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pcd_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual DECLARE_ADDRESS_MAP(map, 16) override;
DECLARE_WRITE8_MEMBER(vram_sw_w);
@@ -78,7 +78,7 @@ class pcx_video_device : public pcdx_video_device,
public device_serial_interface
{
public:
- pcx_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pcx_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_txd_handler(device_t &device, _Object object) { return downcast<pcx_video_device &>(device).m_txd_handler.set_callback(object); }
virtual DECLARE_ADDRESS_MAP(map, 16) override;
diff --git a/src/mame/video/powervr2.cpp b/src/mame/video/powervr2.cpp
index 4907b985f86..4942a3ab432 100644
--- a/src/mame/video/powervr2.cpp
+++ b/src/mame/video/powervr2.cpp
@@ -912,13 +912,13 @@ WRITE32_MEMBER( powervr2_device::softreset_w )
COMBINE_DATA(&softreset);
if (softreset & 1) {
#if DEBUG_PVRTA
- logerror("%s: TA soft reset\n", tag());
+ logerror("%s: TA soft reset\n", tag().c_str());
#endif
listtype_used=0;
}
if (softreset & 2) {
#if DEBUG_PVRTA
- logerror("%s: Core Pipeline soft reset\n", tag());
+ logerror("%s: Core Pipeline soft reset\n", tag().c_str());
#endif
if (start_render_received == 1) {
for (auto & elem : grab)
@@ -929,7 +929,7 @@ WRITE32_MEMBER( powervr2_device::softreset_w )
}
if (softreset & 4) {
#if DEBUG_PVRTA
- logerror("%s: sdram I/F soft reset\n", tag());
+ logerror("%s: sdram I/F soft reset\n", tag().c_str());
#endif
}
}
@@ -939,7 +939,7 @@ WRITE32_MEMBER( powervr2_device::startrender_w )
dc_state *state = machine().driver_data<dc_state>();
g_profiler.start(PROFILER_USER1);
#if DEBUG_PVRTA
- logerror("%s: Start render, region=%08x, params=%08x\n", tag(), region_base, param_base);
+ logerror("%s: Start render, region=%08x, params=%08x\n", tag().c_str(), region_base, param_base);
#endif
// select buffer to draw using param_base
@@ -1458,7 +1458,7 @@ READ32_MEMBER( powervr2_device::ta_yuv_tex_base_r )
WRITE32_MEMBER( powervr2_device::ta_yuv_tex_base_w )
{
COMBINE_DATA(&ta_yuv_tex_base);
- logerror("%s: ta_yuv_tex_base = %08x\n", tag(), ta_yuv_tex_base);
+ logerror("%s: ta_yuv_tex_base = %08x\n", tag().c_str(), ta_yuv_tex_base);
ta_yuv_index = 0;
ta_yuv_x = 0;
@@ -1476,7 +1476,7 @@ WRITE32_MEMBER( powervr2_device::ta_yuv_tex_ctrl_w )
COMBINE_DATA(&ta_yuv_tex_ctrl);
ta_yuv_x_size = ((ta_yuv_tex_ctrl & 0x3f)+1)*16;
ta_yuv_y_size = (((ta_yuv_tex_ctrl>>8) & 0x3f)+1)*16;
- logerror("%s: ta_yuv_tex_ctrl = %08x\n", tag(), ta_yuv_tex_ctrl);
+ logerror("%s: ta_yuv_tex_ctrl = %08x\n", tag().c_str(), ta_yuv_tex_ctrl);
if(ta_yuv_tex_ctrl & 0x01010000)
fatalerror("YUV with setting %08x",ta_yuv_tex_ctrl);
}
@@ -3599,7 +3599,7 @@ void powervr2_device::pvr_dma_execute(address_space &space)
machine().scheduler().timer_set(state->m_maincpu->cycles_to_attotime(m_pvr_dma.size/4), timer_expired_delegate(FUNC(powervr2_device::pvr_dma_irq), this));
}
-powervr2_device::powervr2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+powervr2_device::powervr2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, POWERVR2, "PowerVR 2", tag, owner, clock, "powervr2", __FILE__),
device_video_interface(mconfig, *this),
irq_cb(*this),
diff --git a/src/mame/video/powervr2.h b/src/mame/video/powervr2.h
index fede10e2061..1474f65455c 100644
--- a/src/mame/video/powervr2.h
+++ b/src/mame/video/powervr2.h
@@ -136,7 +136,7 @@ public:
int scanline;
int next_y;
- powervr2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ powervr2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _cb> void set_irq_cb(_cb cb) { irq_cb.set_callback(cb); }
DECLARE_READ32_MEMBER( id_r );
diff --git a/src/mame/video/ppu2c0x.cpp b/src/mame/video/ppu2c0x.cpp
index 0c15efb3c70..b7bdc9575be 100644
--- a/src/mame/video/ppu2c0x.cpp
+++ b/src/mame/video/ppu2c0x.cpp
@@ -120,7 +120,7 @@ void ppu2c0x_device::device_config_complete()
m_vidaccess_callback_proc = ppu2c0x_vidaccess_delegate();
}
-ppu2c0x_device::ppu2c0x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+ppu2c0x_device::ppu2c0x_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_memory_interface(mconfig, *this),
device_video_interface(mconfig, *this),
@@ -159,44 +159,44 @@ ppu2c0x_device::ppu2c0x_device(const machine_config &mconfig, device_type type,
// NTSC NES
-ppu2c02_device::ppu2c02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C02, "2C02 PPU", tag, owner, clock, "ppu2c02", __FILE__)
+ppu2c02_device::ppu2c02_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C02, "2C02 PPU", tag, owner, clock, "ppu2c02", __FILE__)
{
}
// Playchoice 10
-ppu2c03b_device::ppu2c03b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C03B, "2C03B PPU", tag, owner, clock, "ppu2c03b", __FILE__)
+ppu2c03b_device::ppu2c03b_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C03B, "2C03B PPU", tag, owner, clock, "ppu2c03b", __FILE__)
{
}
// Vs. Unisystem
-ppu2c04_device::ppu2c04_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C04, "2C04 PPU", tag, owner, clock, "ppu2c04", __FILE__)
+ppu2c04_device::ppu2c04_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C04, "2C04 PPU", tag, owner, clock, "ppu2c04", __FILE__)
{
}
// PAL NES
-ppu2c07_device::ppu2c07_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C07, "2C07 PPU", tag, owner, clock, "ppu2c07", __FILE__)
+ppu2c07_device::ppu2c07_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C07, "2C07 PPU", tag, owner, clock, "ppu2c07", __FILE__)
{
m_scanlines_per_frame = PPU_PAL_SCANLINES_PER_FRAME;
}
// The PPU_2C05 variants have different protection value, set at device start, but otherwise are all the same...
// Vs. Unisystem (Ninja Jajamaru Kun)
-ppu2c05_01_device::ppu2c05_01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C05_01, "2C05_01 PPU", tag, owner, clock, "ppu2c05_01", __FILE__)
+ppu2c05_01_device::ppu2c05_01_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C05_01, "2C05_01 PPU", tag, owner, clock, "ppu2c05_01", __FILE__)
{
m_security_value = 0x1b; // game (jajamaru) doesn't seem to ever actually check it
}
// Vs. Unisystem (Mighty Bomb Jack)
-ppu2c05_02_device::ppu2c05_02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C05_02, "2C05_02 PPU", tag, owner, clock, "ppu2c05_02", __FILE__)
+ppu2c05_02_device::ppu2c05_02_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C05_02, "2C05_02 PPU", tag, owner, clock, "ppu2c05_02", __FILE__)
{
m_security_value = 0x3d;
}
// Vs. Unisystem (Gumshoe)
-ppu2c05_03_device::ppu2c05_03_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C05_03, "2C05_03 PPU", tag, owner, clock, "ppu2c05_03", __FILE__)
+ppu2c05_03_device::ppu2c05_03_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C05_03, "2C05_03 PPU", tag, owner, clock, "ppu2c05_03", __FILE__)
{
m_security_value = 0x1c;
}
// Vs. Unisystem (Top Gun)
-ppu2c05_04_device::ppu2c05_04_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C05_04, "2C05_04 PPU", tag, owner, clock, "ppu2c05_04", __FILE__)
+ppu2c05_04_device::ppu2c05_04_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C05_04, "2C05_04 PPU", tag, owner, clock, "ppu2c05_04", __FILE__)
{
m_security_value = 0x1b;
}
@@ -1064,7 +1064,7 @@ READ8_MEMBER( ppu2c0x_device::read )
{
if (offset >= PPU_MAX_REG)
{
- logerror("PPU %s: Attempting to read past the chip: offset %x\n", this->tag(), offset);
+ logerror("PPU %s: Attempting to read past the chip: offset %x\n", this->tag().c_str(), offset);
offset &= PPU_MAX_REG - 1;
}
@@ -1132,7 +1132,7 @@ WRITE8_MEMBER( ppu2c0x_device::write )
if (offset >= PPU_MAX_REG)
{
- logerror("PPU %s: Attempting to write past the chip: offset %x, data %x\n", this->tag(), offset, data);
+ logerror("PPU %s: Attempting to write past the chip: offset %x, data %x\n", this->tag().c_str(), offset, data);
offset &= PPU_MAX_REG - 1;
}
diff --git a/src/mame/video/ppu2c0x.h b/src/mame/video/ppu2c0x.h
index 8a21d51f0b8..9a99fed53ff 100644
--- a/src/mame/video/ppu2c0x.h
+++ b/src/mame/video/ppu2c0x.h
@@ -137,7 +137,7 @@ class ppu2c0x_device : public device_t,
{
public:
// construction/destruction
- ppu2c0x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ ppu2c0x_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
DECLARE_READ8_MEMBER( read );
DECLARE_WRITE8_MEMBER( write );
@@ -152,7 +152,7 @@ public:
// address space configurations
const address_space_config m_space_config;
- static void set_cpu_tag(device_t &device, const char *tag) { downcast<ppu2c0x_device &>(device).m_cpu.set_tag(tag); }
+ static void set_cpu_tag(device_t &device, std::string tag) { downcast<ppu2c0x_device &>(device).m_cpu.set_tag(tag); }
static void set_color_base(device_t &device, int colorbase) { downcast<ppu2c0x_device &>(device).m_color_base = colorbase; }
static void set_nmi_delegate(device_t &device, ppu2c0x_nmi_delegate cb);
@@ -243,42 +243,42 @@ private:
class ppu2c02_device : public ppu2c0x_device {
public:
- ppu2c02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ppu2c02_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
class ppu2c03b_device : public ppu2c0x_device {
public:
- ppu2c03b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ppu2c03b_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
class ppu2c04_device : public ppu2c0x_device {
public:
- ppu2c04_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ppu2c04_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
class ppu2c07_device : public ppu2c0x_device {
public:
- ppu2c07_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ppu2c07_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
class ppu2c05_01_device : public ppu2c0x_device {
public:
- ppu2c05_01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ppu2c05_01_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
class ppu2c05_02_device : public ppu2c0x_device {
public:
- ppu2c05_02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ppu2c05_02_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
class ppu2c05_03_device : public ppu2c0x_device {
public:
- ppu2c05_03_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ppu2c05_03_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
class ppu2c05_04_device : public ppu2c0x_device {
public:
- ppu2c05_04_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ppu2c05_04_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
diff --git a/src/mame/video/sega16sp.cpp b/src/mame/video/sega16sp.cpp
index 4b7e19a1c81..389016c36d7 100644
--- a/src/mame/video/sega16sp.cpp
+++ b/src/mame/video/sega16sp.cpp
@@ -36,7 +36,7 @@ const device_type SEGA_YBOARD_SPRITES = &device_creator<sega_yboard_sprite_devic
// sega_16bit_sprite_device -- core constructor
//-------------------------------------------------
-sega_16bit_sprite_device::sega_16bit_sprite_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, const char *shortname, const char *source)
+sega_16bit_sprite_device::sega_16bit_sprite_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, const char *shortname, const char *source)
: sprite16_device_ind16(mconfig, type, name, tag, owner, shortname, source),
m_flip(false)
{
@@ -94,7 +94,7 @@ WRITE16_MEMBER( sega_16bit_sprite_device::draw_write )
// sega_hangon_sprite_device -- constructor
//-------------------------------------------------
-sega_hangon_sprite_device::sega_hangon_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_hangon_sprite_device::sega_hangon_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: sega_16bit_sprite_device(mconfig, SEGA_HANGON_SPRITES, "Sega Custom Sprites (Hang On)", tag, owner, "sega_hangon_sprite", __FILE__)
{
set_local_origin(189, -1);
@@ -270,7 +270,7 @@ void sega_hangon_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &clip
// sega_sharrier_sprite_device -- constructor
//-------------------------------------------------
-sega_sharrier_sprite_device::sega_sharrier_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_sharrier_sprite_device::sega_sharrier_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: sega_16bit_sprite_device(mconfig, SEGA_SHARRIER_SPRITES, "Sega Custom Sprites (Space Harrier)", tag, owner, "sega_sharrier_sprite", __FILE__)
{
set_local_origin(189, -1);
@@ -457,7 +457,7 @@ void sega_sharrier_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &cl
// sega_sys16a_sprite_device -- constructor
//-------------------------------------------------
-sega_sys16a_sprite_device::sega_sys16a_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_sys16a_sprite_device::sega_sys16a_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: sega_16bit_sprite_device(mconfig, SEGA_SYS16A_SPRITES, "Sega System 16A Sprites", tag, owner, "sega_sys16a_sprite", __FILE__)
{
set_local_origin(189, -1, -189, -1);
@@ -636,7 +636,7 @@ void sega_sys16a_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &clip
// bootleg_sys16a_sprite_device -- constructor
//-------------------------------------------------
-bootleg_sys16a_sprite_device::bootleg_sys16a_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+bootleg_sys16a_sprite_device::bootleg_sys16a_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: sega_16bit_sprite_device(mconfig, BOOTLEG_SYS16A_SPRITES, "Sega System 16A Sprites (Bootleg)", tag, owner, "bootleg_sys16a_sprite", __FILE__)
{
m_addrmap[0] = 0;
@@ -824,7 +824,7 @@ void bootleg_sys16a_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &c
// sega_sys16b_sprite_device -- constructor
//-------------------------------------------------
-sega_sys16b_sprite_device::sega_sys16b_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_sys16b_sprite_device::sega_sys16b_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: sega_16bit_sprite_device(mconfig, SEGA_SYS16B_SPRITES, "Sega System 16B Sprites", tag, owner, "sega_16bit_sprite", __FILE__)
{
set_local_origin(184, 0x00, -184, 0);
@@ -1019,14 +1019,14 @@ void sega_sys16b_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &clip
// sega_outrun_sprite_device -- constructor
//-------------------------------------------------
-sega_outrun_sprite_device::sega_outrun_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_outrun_sprite_device::sega_outrun_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: sega_16bit_sprite_device(mconfig, SEGA_OUTRUN_SPRITES, "Sega Custom Sprites (Out Run)", tag, owner, "sega_outrun_sprite", __FILE__),
m_is_xboard(false)
{
set_local_origin(189, 0x00);
}
-sega_outrun_sprite_device::sega_outrun_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, bool xboard_variant, const char *shortname, const char *source)
+sega_outrun_sprite_device::sega_outrun_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, bool xboard_variant, const char *shortname, const char *source)
: sega_16bit_sprite_device(mconfig, SEGA_XBOARD_SPRITES, "Sega X-Board Sprites", tag, owner, shortname, source),
m_is_xboard(true)
{
@@ -1038,7 +1038,7 @@ sega_outrun_sprite_device::sega_outrun_sprite_device(const machine_config &mconf
// sega_xboard_sprite_device -- constructor
//-------------------------------------------------
-sega_xboard_sprite_device::sega_xboard_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_xboard_sprite_device::sega_xboard_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: sega_outrun_sprite_device(mconfig, tag, owner, clock, true, "sega_xboard_sprite", __FILE__)
{
}
@@ -1232,7 +1232,7 @@ void sega_outrun_sprite_device::draw(bitmap_ind16 &bitmap, const rectangle &clip
// sega_yboard_sprite_device -- constructor
//-------------------------------------------------
-sega_yboard_sprite_device::sega_yboard_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sega_yboard_sprite_device::sega_yboard_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: sega_16bit_sprite_device(mconfig, SEGA_YBOARD_SPRITES, "Sega Y-Board Sprites", tag, owner, "sega_yboard_sprite", __FILE__)
{
set_local_origin(0x600, 0x600);
diff --git a/src/mame/video/sega16sp.h b/src/mame/video/sega16sp.h
index f0b99714bf8..9fa5f84240d 100644
--- a/src/mame/video/sega16sp.h
+++ b/src/mame/video/sega16sp.h
@@ -64,7 +64,7 @@ class sega_16bit_sprite_device : public sprite16_device_ind16
{
protected:
// construction/destruction
- sega_16bit_sprite_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, const char *shortname, const char *source);
+ sega_16bit_sprite_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, const char *shortname, const char *source);
public:
// live configuration
@@ -109,7 +109,7 @@ class sega_hangon_sprite_device : public sega_16bit_sprite_device
{
public:
// construction/destruction
- sega_hangon_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_hangon_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// subclass overrides
@@ -123,7 +123,7 @@ class sega_sharrier_sprite_device : public sega_16bit_sprite_device
{
public:
// construction/destruction
- sega_sharrier_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_sharrier_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// subclass overrides
@@ -137,9 +137,9 @@ class sega_outrun_sprite_device : public sega_16bit_sprite_device
{
public:
// construction/destruction
- sega_outrun_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_outrun_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
- sega_outrun_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, bool xboard_variant, const char *shortname, const char *source);
+ sega_outrun_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, bool xboard_variant, const char *shortname, const char *source);
// subclass overrides
virtual void draw(bitmap_ind16 &bitmap, const rectangle &cliprect) override;
@@ -152,7 +152,7 @@ class sega_xboard_sprite_device : public sega_outrun_sprite_device
{
public:
// construction/destruction
- sega_xboard_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_xboard_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
};
@@ -162,7 +162,7 @@ class sega_sys16a_sprite_device : public sega_16bit_sprite_device
{
public:
// construction/destruction
- sega_sys16a_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_sys16a_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// subclass overrides
@@ -176,7 +176,7 @@ class bootleg_sys16a_sprite_device : public sega_16bit_sprite_device
{
public:
// construction/destruction
- bootleg_sys16a_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ bootleg_sys16a_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// configuration
static void static_set_remap(device_t &device, UINT8 offs0, UINT8 offs1, UINT8 offs2, UINT8 offs3, UINT8 offs4, UINT8 offs5, UINT8 offs6, UINT8 offs7);
@@ -196,7 +196,7 @@ class sega_sys16b_sprite_device : public sega_16bit_sprite_device
{
public:
// construction/destruction
- sega_sys16b_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_sys16b_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
protected:
// subclass overrides
@@ -210,7 +210,7 @@ class sega_yboard_sprite_device : public sega_16bit_sprite_device
{
public:
// construction/destruction
- sega_yboard_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sega_yboard_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void set_rotate_ptr(rotate_info* segaic16_rotate) { m_segaic16_rotate = segaic16_rotate; }
protected:
diff --git a/src/mame/video/segaic16.cpp b/src/mame/video/segaic16.cpp
index b551707645e..6e8b5aa6f48 100644
--- a/src/mame/video/segaic16.cpp
+++ b/src/mame/video/segaic16.cpp
@@ -373,7 +373,7 @@ Quick review of the system16 hardware:
const device_type SEGAIC16VID = &device_creator<segaic16_video_device>;
-segaic16_video_device::segaic16_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+segaic16_video_device::segaic16_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEGAIC16VID, "Sega 16-bit Video", tag, owner, clock, "segaic16_video", __FILE__),
device_video_interface(mconfig, *this),
m_display_enable(0),
@@ -391,7 +391,7 @@ segaic16_video_device::segaic16_video_device(const machine_config &mconfig, cons
// gfx decoder
//-------------------------------------------------
-void segaic16_video_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void segaic16_video_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<segaic16_video_device &>(device).m_gfxdecode.set_tag(tag);
}
diff --git a/src/mame/video/segaic16.h b/src/mame/video/segaic16.h
index ff0c4f754e1..4e2fdc58409 100644
--- a/src/mame/video/segaic16.h
+++ b/src/mame/video/segaic16.h
@@ -95,11 +95,11 @@ class segaic16_video_device : public device_t,
public device_video_interface
{
public:
- segaic16_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segaic16_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~segaic16_video_device() {}
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
UINT8 m_display_enable;
optional_shared_ptr<UINT16> m_tileram;
diff --git a/src/mame/video/segaic16_road.cpp b/src/mame/video/segaic16_road.cpp
index 699370ac0c6..ae38386b7fb 100644
--- a/src/mame/video/segaic16_road.cpp
+++ b/src/mame/video/segaic16_road.cpp
@@ -8,7 +8,7 @@
const device_type SEGAIC16_ROAD = &device_creator<segaic16_road_device>;
-segaic16_road_device::segaic16_road_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+segaic16_road_device::segaic16_road_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEGAIC16_ROAD, "Sega 16-bit Road Generator", tag, owner, clock, "segaic16_road", __FILE__)
{
}
diff --git a/src/mame/video/segaic16_road.h b/src/mame/video/segaic16_road.h
index c37bb5ef279..0292ea73fc5 100644
--- a/src/mame/video/segaic16_road.h
+++ b/src/mame/video/segaic16_road.h
@@ -41,7 +41,7 @@ struct road_info
class segaic16_road_device : public device_t
{
public:
- segaic16_road_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segaic16_road_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~segaic16_road_device() {}
UINT16 *segaic16_roadram_0;
diff --git a/src/mame/video/segaic24.cpp b/src/mame/video/segaic24.cpp
index 57c848287dc..8f699286e7c 100644
--- a/src/mame/video/segaic24.cpp
+++ b/src/mame/video/segaic24.cpp
@@ -23,7 +23,7 @@ const device_type S24SPRITE = &device_creator<segas24_sprite>;
const device_type S24MIXER = &device_creator<segas24_mixer>;
-segas24_tile::segas24_tile(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+segas24_tile::segas24_tile(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, S24TILE, "Sega System 24 Tilemap", tag, owner, clock, "segas24_tile", __FILE__),
m_gfxdecode(*this),
m_palette(*this)
@@ -35,7 +35,7 @@ segas24_tile::segas24_tile(const machine_config &mconfig, const char *tag, devic
// gfx decoder
//-------------------------------------------------
-void segas24_tile::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void segas24_tile::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<segas24_tile &>(device).m_gfxdecode.set_tag(tag);
}
@@ -45,7 +45,7 @@ void segas24_tile::static_set_gfxdecode_tag(device_t &device, const char *tag)
// palette device
//-------------------------------------------------
-void segas24_tile::static_set_palette_tag(device_t &device, const char *tag)
+void segas24_tile::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<segas24_tile &>(device).m_palette.set_tag(tag);
}
@@ -602,7 +602,7 @@ WRITE32_MEMBER(segas24_tile::char32_w)
}
-segas24_sprite::segas24_sprite(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+segas24_sprite::segas24_sprite(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, S24SPRITE, "Sega System 24 Sprites", tag, owner, clock, "segas24_sprite", __FILE__)
{
}
@@ -847,7 +847,7 @@ READ16_MEMBER(segas24_sprite::read)
}
-segas24_mixer::segas24_mixer(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+segas24_mixer::segas24_mixer(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, S24MIXER, "Sega System 24 Mixer", tag, owner, clock, "segas24_mixer", __FILE__)
{
}
diff --git a/src/mame/video/segaic24.h b/src/mame/video/segaic24.h
index 51165e32ac1..cf0cee6f1b0 100644
--- a/src/mame/video/segaic24.h
+++ b/src/mame/video/segaic24.h
@@ -30,11 +30,11 @@ class segas24_tile : public device_t
friend class segas24_tile_config;
public:
- segas24_tile(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segas24_tile(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void static_set_tile_mask(device_t &device, UINT16 tile_mask);
DECLARE_READ16_MEMBER(tile_r);
@@ -88,7 +88,7 @@ class segas24_sprite : public device_t
friend class segas24_sprite_config;
public:
- segas24_sprite(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segas24_sprite(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ16_MEMBER(read);
DECLARE_WRITE16_MEMBER(write);
@@ -108,7 +108,7 @@ class segas24_mixer : public device_t
friend class segas24_mixer_config;
public:
- segas24_mixer(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ segas24_mixer(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_READ16_MEMBER(read);
DECLARE_WRITE16_MEMBER(write);
diff --git a/src/mame/video/seibu_crtc.cpp b/src/mame/video/seibu_crtc.cpp
index c0a4bdc3872..48a0c5791a8 100644
--- a/src/mame/video/seibu_crtc.cpp
+++ b/src/mame/video/seibu_crtc.cpp
@@ -220,7 +220,7 @@ WRITE16_MEMBER( seibu_crtc_device::layer_scroll_base_w)
// seibu_crtc_device - constructor
//-------------------------------------------------
-seibu_crtc_device::seibu_crtc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+seibu_crtc_device::seibu_crtc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SEIBU_CRTC, "Seibu CRT Controller", tag, owner, clock, "seibu_crtc", __FILE__),
device_memory_interface(mconfig, *this),
device_video_interface(mconfig, *this),
diff --git a/src/mame/video/seibu_crtc.h b/src/mame/video/seibu_crtc.h
index 37f04e31177..06ba7f58966 100644
--- a/src/mame/video/seibu_crtc.h
+++ b/src/mame/video/seibu_crtc.h
@@ -41,7 +41,7 @@ class seibu_crtc_device : public device_t,
{
public:
// construction/destruction
- seibu_crtc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ seibu_crtc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_layer_en_callback(device_t &device, _Object object) { return downcast<seibu_crtc_device &>(device).m_layer_en_cb.set_callback(object); }
template<class _Object> static devcb_base &set_layer_scroll_callback(device_t &device, _Object object) { return downcast<seibu_crtc_device &>(device).m_layer_scroll_cb.set_callback(object); }
diff --git a/src/mame/video/seta001.cpp b/src/mame/video/seta001.cpp
index d0ff7874fb3..dfdddb0d178 100644
--- a/src/mame/video/seta001.cpp
+++ b/src/mame/video/seta001.cpp
@@ -31,7 +31,7 @@
const device_type SETA001_SPRITE = &device_creator<seta001_device>;
-seta001_device::seta001_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+seta001_device::seta001_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SETA001_SPRITE, "Seta SETA001 Sprite", tag, owner, clock, "seta001", __FILE__),
m_gfxdecode(*this),
m_palette(*this)
@@ -43,7 +43,7 @@ seta001_device::seta001_device(const machine_config &mconfig, const char *tag, d
// gfx decoder
//-------------------------------------------------
-void seta001_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void seta001_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<seta001_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -53,7 +53,7 @@ void seta001_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
// palette device
//-------------------------------------------------
-void seta001_device::static_set_palette_tag(device_t &device, const char *tag)
+void seta001_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<seta001_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/seta001.h b/src/mame/video/seta001.h
index b7fea3ce96e..04c4af6317d 100644
--- a/src/mame/video/seta001.h
+++ b/src/mame/video/seta001.h
@@ -11,11 +11,11 @@ typedef device_delegate<int (UINT16 code, UINT8 color)> gfxbank_cb_delegate;
class seta001_device : public device_t
{
public:
- seta001_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ seta001_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void set_gfxbank_callback(device_t &device, gfxbank_cb_delegate callback) { downcast<seta001_device &>(device).m_gfxbank_cb = callback; }
DECLARE_WRITE8_MEMBER( spritebgflag_w8 );
diff --git a/src/mame/video/sknsspr.cpp b/src/mame/video/sknsspr.cpp
index 1431edd20bb..e81c023f4ac 100644
--- a/src/mame/video/sknsspr.cpp
+++ b/src/mame/video/sknsspr.cpp
@@ -21,7 +21,7 @@
const device_type SKNS_SPRITE = &device_creator<sknsspr_device>;
-sknsspr_device::sknsspr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+sknsspr_device::sknsspr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, SKNS_SPRITE, "SKNS Sprite", tag, owner, clock, "sknsspr", __FILE__),
device_video_interface(mconfig, *this)
{
diff --git a/src/mame/video/sknsspr.h b/src/mame/video/sknsspr.h
index 2e998be79ae..2195ff2ebc9 100644
--- a/src/mame/video/sknsspr.h
+++ b/src/mame/video/sknsspr.h
@@ -5,7 +5,7 @@ class sknsspr_device : public device_t,
public device_video_interface
{
public:
- sknsspr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ sknsspr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void skns_draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT32* spriteram_source, size_t spriteram_size, UINT8* gfx_source, size_t gfx_length, UINT32* sprite_regs);
void skns_sprite_kludge(int x, int y);
diff --git a/src/mame/video/st0020.cpp b/src/mame/video/st0020.cpp
index 8d61d56d56f..b0d35189a43 100644
--- a/src/mame/video/st0020.cpp
+++ b/src/mame/video/st0020.cpp
@@ -15,7 +15,7 @@
const device_type ST0020_SPRITES = &device_creator<st0020_device>;
-st0020_device::st0020_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+st0020_device::st0020_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ST0020_SPRITES, "Seta ST0020 Sprites", tag, owner, clock, "st0020", __FILE__),
m_gfxdecode(*this),
m_palette(*this)
@@ -29,7 +29,7 @@ st0020_device::st0020_device(const machine_config &mconfig, const char *tag, dev
// gfx decoder
//-------------------------------------------------
-void st0020_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void st0020_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<st0020_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -39,7 +39,7 @@ void st0020_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
// palette device
//-------------------------------------------------
-void st0020_device::static_set_palette_tag(device_t &device, const char *tag)
+void st0020_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<st0020_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/st0020.h b/src/mame/video/st0020.h
index 0282acd7699..34e2526595c 100644
--- a/src/mame/video/st0020.h
+++ b/src/mame/video/st0020.h
@@ -6,11 +6,11 @@
class st0020_device : public device_t
{
public:
- st0020_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ st0020_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void set_is_st0032(device_t &device, int is_st0032);
static void set_is_jclub2o(device_t &device, int is_jclub2o);
diff --git a/src/mame/video/stic.cpp b/src/mame/video/stic.cpp
index 350544e8f90..65d9db01eb0 100644
--- a/src/mame/video/stic.cpp
+++ b/src/mame/video/stic.cpp
@@ -17,7 +17,7 @@ const device_type STIC = &device_creator<stic_device>;
// stic_device - constructor
//-------------------------------------------------
-stic_device::stic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+stic_device::stic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, STIC, "STIC (Standard Television Interface Chip) Video Chip", tag, owner, clock, "stic", __FILE__),
m_grom(*this, "grom"),
m_x_scale(1),
diff --git a/src/mame/video/stic.h b/src/mame/video/stic.h
index 41d39a3790d..df1538cb6f2 100644
--- a/src/mame/video/stic.h
+++ b/src/mame/video/stic.h
@@ -476,7 +476,7 @@ class stic_device : public device_t
{
public:
// construction/destruction
- stic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ stic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ~stic_device();
DECLARE_READ16_MEMBER(read);
diff --git a/src/mame/video/tc0080vco.cpp b/src/mame/video/tc0080vco.cpp
index 0bf5aec9b62..7e5f8358a5c 100644
--- a/src/mame/video/tc0080vco.cpp
+++ b/src/mame/video/tc0080vco.cpp
@@ -77,7 +77,7 @@ this seems to be the only zoom feature actually used in the games.
const device_type TC0080VCO = &device_creator<tc0080vco_device>;
-tc0080vco_device::tc0080vco_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tc0080vco_device::tc0080vco_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TC0080VCO, "Taito TC0080VCO", tag, owner, clock, "tc0080vco", __FILE__),
m_ram(nullptr),
m_bg0_ram_0(nullptr),
@@ -113,7 +113,7 @@ tc0080vco_device::tc0080vco_device(const machine_config &mconfig, const char *ta
// gfx decoder
//-------------------------------------------------
-void tc0080vco_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void tc0080vco_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<tc0080vco_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -123,7 +123,7 @@ void tc0080vco_device::static_set_gfxdecode_tag(device_t &device, const char *ta
// palette device
//-------------------------------------------------
-void tc0080vco_device::static_set_palette_tag(device_t &device, const char *tag)
+void tc0080vco_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<tc0080vco_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/tc0080vco.h b/src/mame/video/tc0080vco.h
index c842e3a57b5..c51baf4eb7c 100644
--- a/src/mame/video/tc0080vco.h
+++ b/src/mame/video/tc0080vco.h
@@ -6,12 +6,12 @@
class tc0080vco_device : public device_t
{
public:
- tc0080vco_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tc0080vco_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~tc0080vco_device() {}
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void set_gfx_region(device_t &device, int gfxnum) { downcast<tc0080vco_device &>(device).m_gfxnum = gfxnum; }
static void set_tx_region(device_t &device, int txnum) { downcast<tc0080vco_device &>(device).m_txnum = txnum; }
static void set_offsets(device_t &device, int x_offset, int y_offset)
diff --git a/src/mame/video/tc0100scn.cpp b/src/mame/video/tc0100scn.cpp
index eeaf74a7dd4..772d4e2ebd7 100644
--- a/src/mame/video/tc0100scn.cpp
+++ b/src/mame/video/tc0100scn.cpp
@@ -148,7 +148,7 @@ the wide tilemap mode)
const device_type TC0100SCN = &device_creator<tc0100scn_device>;
-tc0100scn_device::tc0100scn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tc0100scn_device::tc0100scn_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TC0100SCN, "Taito TC0100SCN", tag, owner, clock, "tc0100scn", __FILE__),
m_ram(nullptr),
m_bg_ram(nullptr),
@@ -188,7 +188,7 @@ tc0100scn_device::tc0100scn_device(const machine_config &mconfig, const char *ta
// gfx decoder
//-------------------------------------------------
-void tc0100scn_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void tc0100scn_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<tc0100scn_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -198,7 +198,7 @@ void tc0100scn_device::static_set_gfxdecode_tag(device_t &device, const char *ta
// palette device
//-------------------------------------------------
-void tc0100scn_device::static_set_palette_tag(device_t &device, const char *tag)
+void tc0100scn_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<tc0100scn_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/tc0100scn.h b/src/mame/video/tc0100scn.h
index 5f07bbee7f2..9d3acb41dae 100644
--- a/src/mame/video/tc0100scn.h
+++ b/src/mame/video/tc0100scn.h
@@ -6,12 +6,12 @@
class tc0100scn_device : public device_t
{
public:
- tc0100scn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tc0100scn_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~tc0100scn_device() {}
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void set_gfx_region(device_t &device, int gfxregion) { downcast<tc0100scn_device &>(device).m_gfxnum = gfxregion; }
static void set_tx_region(device_t &device, int txregion) { downcast<tc0100scn_device &>(device).m_txnum = txregion; }
static void set_multiscr_xoffs(device_t &device, int xoffs) { downcast<tc0100scn_device &>(device).m_multiscrn_xoffs = xoffs; }
diff --git a/src/mame/video/tc0110pcr.cpp b/src/mame/video/tc0110pcr.cpp
index 19eb43d7938..203eba4da94 100644
--- a/src/mame/video/tc0110pcr.cpp
+++ b/src/mame/video/tc0110pcr.cpp
@@ -20,7 +20,7 @@ The data bus is 16 bits wide.
const device_type TC0110PCR = &device_creator<tc0110pcr_device>;
-tc0110pcr_device::tc0110pcr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tc0110pcr_device::tc0110pcr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TC0110PCR, "Taito TC0110PCR", tag, owner, clock, "tc0110pcr", __FILE__),
m_ram(nullptr),
m_type(0),
@@ -34,7 +34,7 @@ tc0110pcr_device::tc0110pcr_device(const machine_config &mconfig, const char *ta
// palette device
//-------------------------------------------------
-void tc0110pcr_device::static_set_palette_tag(device_t &device, const char *tag)
+void tc0110pcr_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<tc0110pcr_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/tc0110pcr.h b/src/mame/video/tc0110pcr.h
index 1e8df12c79f..a9e21260c6d 100644
--- a/src/mame/video/tc0110pcr.h
+++ b/src/mame/video/tc0110pcr.h
@@ -7,7 +7,7 @@
class tc0110pcr_device : public device_t
{
public:
- tc0110pcr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tc0110pcr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~tc0110pcr_device() {}
DECLARE_READ16_MEMBER( word_r );
@@ -18,7 +18,7 @@ public:
void restore_colors();
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
protected:
// device-level overrides
diff --git a/src/mame/video/tc0150rod.cpp b/src/mame/video/tc0150rod.cpp
index 6077df445e3..c37ecbaabcb 100644
--- a/src/mame/video/tc0150rod.cpp
+++ b/src/mame/video/tc0150rod.cpp
@@ -14,7 +14,7 @@ Road generator. Two roads allow for forking. Gfx data fetched from ROM. Refer to
const device_type TC0150ROD = &device_creator<tc0150rod_device>;
-tc0150rod_device::tc0150rod_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tc0150rod_device::tc0150rod_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TC0150ROD, "Taito TC0150ROD", tag, owner, clock, "tc0150rod", __FILE__),
m_roadgfx(nullptr)
{
diff --git a/src/mame/video/tc0150rod.h b/src/mame/video/tc0150rod.h
index 723e97dea7c..11f9275c6b0 100644
--- a/src/mame/video/tc0150rod.h
+++ b/src/mame/video/tc0150rod.h
@@ -6,7 +6,7 @@
class tc0150rod_device : public device_t
{
public:
- tc0150rod_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tc0150rod_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~tc0150rod_device() {}
DECLARE_READ16_MEMBER( word_r );
diff --git a/src/mame/video/tc0180vcu.cpp b/src/mame/video/tc0180vcu.cpp
index 9420114b3d9..1da84ea316c 100644
--- a/src/mame/video/tc0180vcu.cpp
+++ b/src/mame/video/tc0180vcu.cpp
@@ -11,7 +11,7 @@
const device_type TC0180VCU = &device_creator<tc0180vcu_device>;
-tc0180vcu_device::tc0180vcu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tc0180vcu_device::tc0180vcu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TC0180VCU, "Taito TC0180VCU", tag, owner, clock, "tc0180vcu", __FILE__),
m_ram(nullptr),
//m_scrollram(NULL),
@@ -32,7 +32,7 @@ tc0180vcu_device::tc0180vcu_device(const machine_config &mconfig, const char *ta
// gfx decoder
//-------------------------------------------------
-void tc0180vcu_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void tc0180vcu_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<tc0180vcu_device &>(device).m_gfxdecode.set_tag(tag);
}
diff --git a/src/mame/video/tc0180vcu.h b/src/mame/video/tc0180vcu.h
index ddd7fbe92b4..33e817f6a73 100644
--- a/src/mame/video/tc0180vcu.h
+++ b/src/mame/video/tc0180vcu.h
@@ -6,11 +6,11 @@
class tc0180vcu_device : public device_t
{
public:
- tc0180vcu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tc0180vcu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~tc0180vcu_device() {}
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
static void set_bg_colorbase(device_t &device, int color) { downcast<tc0180vcu_device &>(device).m_bg_color_base = color; }
static void set_fg_colorbase(device_t &device, int color) { downcast<tc0180vcu_device &>(device).m_fg_color_base = color; }
static void set_tx_colorbase(device_t &device, int color) { downcast<tc0180vcu_device &>(device).m_tx_color_base = color; }
diff --git a/src/mame/video/tc0280grd.cpp b/src/mame/video/tc0280grd.cpp
index d021893c1a7..ee7abe45cc6 100644
--- a/src/mame/video/tc0280grd.cpp
+++ b/src/mame/video/tc0280grd.cpp
@@ -27,7 +27,7 @@ control registers:
const device_type TC0280GRD = &device_creator<tc0280grd_device>;
-tc0280grd_device::tc0280grd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tc0280grd_device::tc0280grd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TC0280GRD, "Taito TC0280GRD & TC0430GRW", tag, owner, clock, "tc0280grd", __FILE__),
m_ram(nullptr),
//m_ctrl[8](0),
@@ -41,7 +41,7 @@ tc0280grd_device::tc0280grd_device(const machine_config &mconfig, const char *ta
// gfx decoder
//-------------------------------------------------
-void tc0280grd_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void tc0280grd_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<tc0280grd_device &>(device).m_gfxdecode.set_tag(tag);
}
diff --git a/src/mame/video/tc0280grd.h b/src/mame/video/tc0280grd.h
index d9f8ffc2ee4..ea8017e3132 100644
--- a/src/mame/video/tc0280grd.h
+++ b/src/mame/video/tc0280grd.h
@@ -6,11 +6,11 @@
class tc0280grd_device : public device_t
{
public:
- tc0280grd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tc0280grd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~tc0280grd_device() {}
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
static void set_gfx_region(device_t &device, int gfxregion) { downcast<tc0280grd_device &>(device).m_gfxnum = gfxregion; }
DECLARE_READ16_MEMBER( tc0280grd_word_r );
diff --git a/src/mame/video/tc0360pri.cpp b/src/mame/video/tc0360pri.cpp
index e3620cb74ac..4a92c24ecbe 100644
--- a/src/mame/video/tc0360pri.cpp
+++ b/src/mame/video/tc0360pri.cpp
@@ -45,7 +45,7 @@ each one of them can declare to have four different priority levels.
const device_type TC0360PRI = &device_creator<tc0360pri_device>;
-tc0360pri_device::tc0360pri_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tc0360pri_device::tc0360pri_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TC0360PRI, "Taito TC0360PRI", tag, owner, clock, "tc0360pri", __FILE__)
{
}
diff --git a/src/mame/video/tc0360pri.h b/src/mame/video/tc0360pri.h
index 3a3981a0f4c..2c871dcefa3 100644
--- a/src/mame/video/tc0360pri.h
+++ b/src/mame/video/tc0360pri.h
@@ -6,7 +6,7 @@
class tc0360pri_device : public device_t
{
public:
- tc0360pri_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tc0360pri_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~tc0360pri_device() {}
DECLARE_WRITE8_MEMBER( write );
diff --git a/src/mame/video/tc0480scp.cpp b/src/mame/video/tc0480scp.cpp
index 83b0ede8c18..d76ba1ed0a4 100644
--- a/src/mame/video/tc0480scp.cpp
+++ b/src/mame/video/tc0480scp.cpp
@@ -151,7 +151,7 @@ Control registers
const device_type TC0480SCP = &device_creator<tc0480scp_device>;
-tc0480scp_device::tc0480scp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tc0480scp_device::tc0480scp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TC0480SCP, "Taito TC0480SCP", tag, owner, clock, "tc0480scp", __FILE__),
m_tx_ram(nullptr),
m_char_ram(nullptr),
@@ -187,7 +187,7 @@ tc0480scp_device::tc0480scp_device(const machine_config &mconfig, const char *ta
// gfx decoder
//-------------------------------------------------
-void tc0480scp_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void tc0480scp_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<tc0480scp_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -197,7 +197,7 @@ void tc0480scp_device::static_set_gfxdecode_tag(device_t &device, const char *ta
// palette device
//-------------------------------------------------
-void tc0480scp_device::static_set_palette_tag(device_t &device, const char *tag)
+void tc0480scp_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<tc0480scp_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/tc0480scp.h b/src/mame/video/tc0480scp.h
index 12c83523234..4025408af78 100644
--- a/src/mame/video/tc0480scp.h
+++ b/src/mame/video/tc0480scp.h
@@ -6,12 +6,12 @@
class tc0480scp_device : public device_t
{
public:
- tc0480scp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tc0480scp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~tc0480scp_device() {}
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void set_gfx_region(device_t &device, int gfxregion) { downcast<tc0480scp_device &>(device).m_gfxnum = gfxregion; }
static void set_tx_region(device_t &device, int txregion) { downcast<tc0480scp_device &>(device).m_txnum = txregion; }
static void set_col_base(device_t &device, int col) { downcast<tc0480scp_device &>(device).m_col_base = col; }
diff --git a/src/mame/video/tc0780fpa.cpp b/src/mame/video/tc0780fpa.cpp
index 9f9dab9b92f..bad0a52bbc1 100644
--- a/src/mame/video/tc0780fpa.cpp
+++ b/src/mame/video/tc0780fpa.cpp
@@ -392,7 +392,7 @@ void tc0780fpa_renderer::render(UINT16 *polygon_fifo, int length)
const device_type TC0780FPA = &device_creator<tc0780fpa_device>;
-tc0780fpa_device::tc0780fpa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tc0780fpa_device::tc0780fpa_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TC0780FPA, "TC0780FPA Polygon Renderer", tag, owner, clock, "tc0780fpa", __FILE__),
device_video_interface(mconfig, *this)
{
diff --git a/src/mame/video/tc0780fpa.h b/src/mame/video/tc0780fpa.h
index 40d5955ef9c..314b074bd2c 100644
--- a/src/mame/video/tc0780fpa.h
+++ b/src/mame/video/tc0780fpa.h
@@ -45,7 +45,7 @@ private:
class tc0780fpa_device : public device_t, public device_video_interface
{
public:
- tc0780fpa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tc0780fpa_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~tc0780fpa_device() {}
void draw(bitmap_ind16 &bitmap, const rectangle &cliprect);
diff --git a/src/mame/video/tecmo_mix.cpp b/src/mame/video/tecmo_mix.cpp
index 7e1a4414fa5..425a8c734d2 100644
--- a/src/mame/video/tecmo_mix.cpp
+++ b/src/mame/video/tecmo_mix.cpp
@@ -7,7 +7,7 @@
const device_type TECMO_MIXER = &device_creator<tecmo_mix_device>;
-tecmo_mix_device::tecmo_mix_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tecmo_mix_device::tecmo_mix_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TECMO_MIXER, "Tecmo 16-bit Mixer", tag, owner, clock, "tecmo_mix", __FILE__),
device_video_interface(mconfig, *this),
m_sprpri_shift(0),
diff --git a/src/mame/video/tecmo_mix.h b/src/mame/video/tecmo_mix.h
index 21ac7b83bf6..9fa762b1367 100644
--- a/src/mame/video/tecmo_mix.h
+++ b/src/mame/video/tecmo_mix.h
@@ -8,7 +8,7 @@ class tecmo_mix_device : public device_t,
public device_video_interface
{
public:
- tecmo_mix_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tecmo_mix_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void mix_bitmaps(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect, palette_device* palette, bitmap_ind16* bitmap_bg, bitmap_ind16* bitmap_fg, bitmap_ind16* bitmap_tx, bitmap_ind16* bitmap_sp);
static void set_mixer_shifts(device_t &device, int sprpri_shift, int sprbln_shift, int sprcol_shift);
diff --git a/src/mame/video/tecmo_spr.cpp b/src/mame/video/tecmo_spr.cpp
index 8c763935cbd..bfc448f2a8a 100644
--- a/src/mame/video/tecmo_spr.cpp
+++ b/src/mame/video/tecmo_spr.cpp
@@ -17,7 +17,7 @@
const device_type TECMO_SPRITE = &device_creator<tecmo_spr_device>;
-tecmo_spr_device::tecmo_spr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tecmo_spr_device::tecmo_spr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TECMO_SPRITE, "Tecmo Chained Sprites", tag, owner, clock, "tecmo_spr", __FILE__),
m_gfxregion(0),
m_bootleg(0),
diff --git a/src/mame/video/tecmo_spr.h b/src/mame/video/tecmo_spr.h
index f98a09e93bc..05c5f38616b 100644
--- a/src/mame/video/tecmo_spr.h
+++ b/src/mame/video/tecmo_spr.h
@@ -7,7 +7,7 @@
class tecmo_spr_device : public device_t
{
public:
- tecmo_spr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tecmo_spr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
static void set_gfx_region(device_t &device, int gfxregion);
static void set_bootleg(device_t &device, int bootleg);
static void set_yoffset(device_t &device, int bootleg);
diff --git a/src/mame/video/tia.cpp b/src/mame/video/tia.cpp
index c616ce695b0..46caf9509d7 100644
--- a/src/mame/video/tia.cpp
+++ b/src/mame/video/tia.cpp
@@ -351,7 +351,7 @@ PALETTE_INIT_MEMBER(tia_pal_video_device, tia_pal)
extend_palette( palette );
}
-tia_video_device::tia_video_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock)
+tia_video_device::tia_video_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__),
device_video_interface(mconfig, *this),
m_read_input_port_cb(*this),
@@ -367,7 +367,7 @@ const device_type TIA_PAL_VIDEO = &device_creator<tia_pal_video_device>;
// tia_pal_video_device - constructor
//-------------------------------------------------
-tia_pal_video_device::tia_pal_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tia_pal_video_device::tia_pal_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: tia_video_device(mconfig, TIA_PAL_VIDEO, "TIA Video (PAL)", "tia_pal_video", tag, owner, clock)
{
}
@@ -394,7 +394,7 @@ const device_type TIA_NTSC_VIDEO = &device_creator<tia_ntsc_video_device>;
// tia_ntsc_video_device - constructor
//-------------------------------------------------
-tia_ntsc_video_device::tia_ntsc_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tia_ntsc_video_device::tia_ntsc_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: tia_video_device(mconfig, TIA_NTSC_VIDEO, "TIA Video (NTSC)", "tia_ntsc_video", tag, owner, clock)
{
}
diff --git a/src/mame/video/tia.h b/src/mame/video/tia.h
index 4ed1797cd2f..13d8831c8c6 100644
--- a/src/mame/video/tia.h
+++ b/src/mame/video/tia.h
@@ -61,7 +61,7 @@ public:
protected:
// construction/destruction
- tia_video_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock);
+ tia_video_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, std::string tag, device_t *owner, UINT32 clock);
// device-level overrides
virtual void device_start() override;
@@ -208,7 +208,7 @@ private:
class tia_pal_video_device : public tia_video_device
{
public:
- tia_pal_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tia_pal_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_PALETTE_INIT(tia_pal);
@@ -219,7 +219,7 @@ protected:
class tia_ntsc_video_device : public tia_video_device
{
public:
- tia_ntsc_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tia_ntsc_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
DECLARE_PALETTE_INIT(tia_ntsc);
diff --git a/src/mame/video/tigeroad_spr.cpp b/src/mame/video/tigeroad_spr.cpp
index 95c06e40e12..cb747823300 100644
--- a/src/mame/video/tigeroad_spr.cpp
+++ b/src/mame/video/tigeroad_spr.cpp
@@ -21,7 +21,7 @@
const device_type TIGEROAD_SPRITE = &device_creator<tigeroad_spr_device>;
-tigeroad_spr_device::tigeroad_spr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+tigeroad_spr_device::tigeroad_spr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TIGEROAD_SPRITE, "Simple Capcom (Tiger Road) Sprite", tag, owner, clock, "tigeroad_spr", __FILE__)
{
}
diff --git a/src/mame/video/tigeroad_spr.h b/src/mame/video/tigeroad_spr.h
index b64442f7942..68ac547b111 100644
--- a/src/mame/video/tigeroad_spr.h
+++ b/src/mame/video/tigeroad_spr.h
@@ -4,7 +4,7 @@
class tigeroad_spr_device : public device_t
{
public:
- tigeroad_spr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tigeroad_spr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, gfxdecode_device *gfxdecode, int region, UINT16* ram, UINT32 size, int flip_screen, int rev_y);
diff --git a/src/mame/video/toaplan_scu.cpp b/src/mame/video/toaplan_scu.cpp
index 0fe17964308..676034c7230 100644
--- a/src/mame/video/toaplan_scu.cpp
+++ b/src/mame/video/toaplan_scu.cpp
@@ -28,7 +28,7 @@ GFXDECODE_MEMBER( toaplan_scu_device::gfxinfo )
GFXDECODE_END
-toaplan_scu_device::toaplan_scu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+toaplan_scu_device::toaplan_scu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, TOAPLAN_SCU, "Toaplan SCU", tag, owner, clock, "toaplan_scu", __FILE__),
device_gfx_interface(mconfig, *this, gfxinfo )
{
diff --git a/src/mame/video/toaplan_scu.h b/src/mame/video/toaplan_scu.h
index 15f451f094b..f6e5f5a1fe3 100644
--- a/src/mame/video/toaplan_scu.h
+++ b/src/mame/video/toaplan_scu.h
@@ -10,7 +10,7 @@ class toaplan_scu_device : public device_t, public device_gfx_interface
DECLARE_GFXDECODE_MEMBER(gfxinfo);
public:
- toaplan_scu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ toaplan_scu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration
static void static_set_xoffsets(device_t &device, int xoffs, int xoffs_flipped);
diff --git a/src/mame/video/uv201.cpp b/src/mame/video/uv201.cpp
index ae18cee5d2d..3b2d63386df 100644
--- a/src/mame/video/uv201.cpp
+++ b/src/mame/video/uv201.cpp
@@ -96,7 +96,7 @@ const device_type UV201 = &device_creator<uv201_device>;
// uv201_device - constructor
//-------------------------------------------------
-uv201_device::uv201_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+uv201_device::uv201_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, UV201, "UV201", tag, owner, clock, "uv201", __FILE__),
device_video_interface(mconfig, *this),
m_write_ext_int(*this),
diff --git a/src/mame/video/uv201.h b/src/mame/video/uv201.h
index 873d6683d99..a4cc7ba2813 100644
--- a/src/mame/video/uv201.h
+++ b/src/mame/video/uv201.h
@@ -94,7 +94,7 @@ class uv201_device : public device_t,
{
public:
// construction/destruction
- uv201_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ uv201_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_ext_int_wr_callback(device_t &device, _Object object) { return downcast<uv201_device &>(device).m_write_ext_int.set_callback(object); }
template<class _Object> static devcb_base &set_hblank_wr_callback(device_t &device, _Object object) { return downcast<uv201_device &>(device).m_write_hblank.set_callback(object); }
diff --git a/src/mame/video/vrender0.cpp b/src/mame/video/vrender0.cpp
index 7b2af322548..6a3e3313ec7 100644
--- a/src/mame/video/vrender0.cpp
+++ b/src/mame/video/vrender0.cpp
@@ -25,7 +25,7 @@
const device_type VIDEO_VRENDER0 = &device_creator<vr0video_device>;
-vr0video_device::vr0video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+vr0video_device::vr0video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, VIDEO_VRENDER0, "VRender0 Video", tag, owner, clock, "vr0video", __FILE__),
m_cpu(*this)
{
diff --git a/src/mame/video/vrender0.h b/src/mame/video/vrender0.h
index b990afb8a45..ddb0968a49b 100644
--- a/src/mame/video/vrender0.h
+++ b/src/mame/video/vrender0.h
@@ -35,12 +35,12 @@ struct RenderStateInfo
class vr0video_device : public device_t
{
public:
- vr0video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ vr0video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~vr0video_device() {}
int vrender0_ProcessPacket(UINT32 PacketPtr, UINT16 *Dest, UINT8 *TEXTURE);
- static void set_cpu_tag(device_t &device, const char *tag) { downcast<vr0video_device &>(device).m_cpu.set_tag(tag); }
+ static void set_cpu_tag(device_t &device, std::string tag) { downcast<vr0video_device &>(device).m_cpu.set_tag(tag); }
protected:
// device-level overrides
diff --git a/src/mame/video/vs920a.cpp b/src/mame/video/vs920a.cpp
index 7d1c973af55..df5c8c2fbf7 100644
--- a/src/mame/video/vs920a.cpp
+++ b/src/mame/video/vs920a.cpp
@@ -32,7 +32,7 @@ t=tile, p=palette
const device_type VS920A = &device_creator<vs920a_text_tilemap_device>;
-vs920a_text_tilemap_device::vs920a_text_tilemap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+vs920a_text_tilemap_device::vs920a_text_tilemap_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, VS920A, "VS920A Text Tilemap", tag, owner, clock, "vs920a", __FILE__),
m_vram(nullptr),
m_pal_base(0),
@@ -68,7 +68,7 @@ void vs920a_text_tilemap_device::set_gfx_region(device_t &device, int gfxregion)
dev.m_gfx_region = gfxregion;
}
-void vs920a_text_tilemap_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void vs920a_text_tilemap_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<vs920a_text_tilemap_device &>(device).m_gfxdecode.set_tag(tag);
}
diff --git a/src/mame/video/vs920a.h b/src/mame/video/vs920a.h
index 5d945a86631..f8c810e5d97 100644
--- a/src/mame/video/vs920a.h
+++ b/src/mame/video/vs920a.h
@@ -5,8 +5,8 @@
class vs920a_text_tilemap_device : public device_t
{
public:
- vs920a_text_tilemap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
+ vs920a_text_tilemap_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
static void set_gfx_region(device_t &device, int gfxregion);
tilemap_t* m_tmap;
diff --git a/src/mame/video/vsystem_spr.cpp b/src/mame/video/vsystem_spr.cpp
index 7b74e66851c..83a50c66641 100644
--- a/src/mame/video/vsystem_spr.cpp
+++ b/src/mame/video/vsystem_spr.cpp
@@ -71,7 +71,7 @@ Abstracts the VS9210
const device_type VSYSTEM_SPR = &device_creator<vsystem_spr_device>;
-vsystem_spr_device::vsystem_spr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+vsystem_spr_device::vsystem_spr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, VSYSTEM_SPR, "Video System Sprites", tag, owner, clock, "vsystem_spr", __FILE__),
m_gfxdecode(*this),
m_palette(*this)
@@ -94,7 +94,7 @@ vsystem_spr_device::vsystem_spr_device(const machine_config &mconfig, const char
// gfx decoder
//-------------------------------------------------
-void vsystem_spr_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void vsystem_spr_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<vsystem_spr_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -104,7 +104,7 @@ void vsystem_spr_device::static_set_gfxdecode_tag(device_t &device, const char *
// palette device
//-------------------------------------------------
-void vsystem_spr_device::static_set_palette_tag(device_t &device, const char *tag)
+void vsystem_spr_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<vsystem_spr_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/vsystem_spr.h b/src/mame/video/vsystem_spr.h
index 3e8574c9350..e2e1e9596c6 100644
--- a/src/mame/video/vsystem_spr.h
+++ b/src/mame/video/vsystem_spr.h
@@ -25,11 +25,11 @@ typedef device_delegate<UINT32 (UINT32)> vsystem_tile_indirection_delegate;
class vsystem_spr_device : public device_t
{
public:
- vsystem_spr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ vsystem_spr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void set_offsets(device_t &device, int xoffs, int yoffs);
static void set_pdraw(device_t &device, bool pdraw);
static void set_tile_indirect_cb(device_t &device,vsystem_tile_indirection_delegate newtilecb);
diff --git a/src/mame/video/vsystem_spr2.cpp b/src/mame/video/vsystem_spr2.cpp
index 68d1b8ff323..2794e65bed1 100644
--- a/src/mame/video/vsystem_spr2.cpp
+++ b/src/mame/video/vsystem_spr2.cpp
@@ -29,7 +29,7 @@
const device_type VSYSTEM_SPR2 = &device_creator<vsystem_spr2_device>;
-vsystem_spr2_device::vsystem_spr2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+vsystem_spr2_device::vsystem_spr2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, VSYSTEM_SPR2, "Video System Sprites Type 2", tag, owner, clock, "vsystem_spr2", __FILE__),
m_gfxdecode(*this),
m_palette(*this)
@@ -46,7 +46,7 @@ vsystem_spr2_device::vsystem_spr2_device(const machine_config &mconfig, const ch
// gfx decoder
//-------------------------------------------------
-void vsystem_spr2_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void vsystem_spr2_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<vsystem_spr2_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -56,7 +56,7 @@ void vsystem_spr2_device::static_set_gfxdecode_tag(device_t &device, const char
// palette device
//-------------------------------------------------
-void vsystem_spr2_device::static_set_palette_tag(device_t &device, const char *tag)
+void vsystem_spr2_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<vsystem_spr2_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/vsystem_spr2.h b/src/mame/video/vsystem_spr2.h
index 967d6dc69bb..070c7635e7e 100644
--- a/src/mame/video/vsystem_spr2.h
+++ b/src/mame/video/vsystem_spr2.h
@@ -20,11 +20,11 @@ typedef device_delegate<UINT32 (UINT32)> vsystem_tile2_indirection_delegate;
class vsystem_spr2_device : public device_t
{
public:
- vsystem_spr2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ vsystem_spr2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
static void set_tile_indirect_cb(device_t &device,vsystem_tile2_indirection_delegate newtilecb);
static void set_pritype(device_t &device, int pritype);
static void set_gfx_region(device_t &device, int gfx_region);
diff --git a/src/mame/video/vtvideo.cpp b/src/mame/video/vtvideo.cpp
index b4d5b40ab55..b28f4d7d2a9 100644
--- a/src/mame/video/vtvideo.cpp
+++ b/src/mame/video/vtvideo.cpp
@@ -73,29 +73,27 @@ const device_type VT100_VIDEO = &device_creator<vt100_video_device>;
const device_type RAINBOW_VIDEO = &device_creator<rainbow_video_device>;
-vt100_video_device::vt100_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
+vt100_video_device::vt100_video_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
: device_t(mconfig, type, name, tag, owner, clock, shortname, source),
device_video_interface(mconfig, *this),
m_read_ram(*this),
m_write_clear_video_interrupt(*this),
-m_char_rom_tag(""),
m_palette(*this, "palette")
{
}
-vt100_video_device::vt100_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+vt100_video_device::vt100_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, VT100_VIDEO, "VT100 Video", tag, owner, clock, "vt100_video", __FILE__),
device_video_interface(mconfig, *this),
m_read_ram(*this),
m_write_clear_video_interrupt(*this),
-m_char_rom_tag(""),
m_palette(*this, "palette")
{
}
-rainbow_video_device::rainbow_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+rainbow_video_device::rainbow_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: vt100_video_device(mconfig, RAINBOW_VIDEO, "Rainbow Video", tag, owner, clock, "rainbow_video", __FILE__)
{
}
diff --git a/src/mame/video/vtvideo.h b/src/mame/video/vtvideo.h
index 0c29e0637e8..cc995a4357a 100644
--- a/src/mame/video/vtvideo.h
+++ b/src/mame/video/vtvideo.h
@@ -18,14 +18,14 @@ class vt100_video_device : public device_t,
public device_video_interface
{
public:
- vt100_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
- vt100_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ vt100_video_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ vt100_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~vt100_video_device() {}
template<class _Object> static devcb_base &set_ram_rd_callback(device_t &device, _Object object) { return downcast<vt100_video_device &>(device).m_read_ram.set_callback(object); }
template<class _Object> static devcb_base &set_clear_video_irq_wr_callback(device_t &device, _Object object) { return downcast<vt100_video_device &>(device).m_write_clear_video_interrupt.set_callback(object); }
- static void set_chargen_tag(device_t &device, const char *tag) { downcast<vt100_video_device &>(device).m_char_rom_tag = tag; }
+ static void set_chargen_tag(device_t &device, std::string tag) { downcast<vt100_video_device &>(device).m_char_rom_tag = tag; }
DECLARE_READ8_MEMBER(lba7_r);
DECLARE_WRITE8_MEMBER(dc012_w);
@@ -68,7 +68,7 @@ protected:
UINT8 m_frequency;
UINT8 m_interlaced;
- const char *m_char_rom_tag; /* character rom region */
+ std::string m_char_rom_tag; /* character rom region */
required_device<palette_device> m_palette;
bool m_notify_vblank;
@@ -81,7 +81,7 @@ protected:
class rainbow_video_device : public vt100_video_device
{
public:
- rainbow_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ rainbow_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual void video_update(bitmap_ind16 &bitmap, const rectangle &cliprect) override;
virtual void video_blanking(bitmap_ind16 &bitmap, const rectangle &cliprect);
diff --git a/src/mame/video/wpc_dmd.cpp b/src/mame/video/wpc_dmd.cpp
index 40047d9316d..7857c7fe7b1 100644
--- a/src/mame/video/wpc_dmd.cpp
+++ b/src/mame/video/wpc_dmd.cpp
@@ -30,7 +30,7 @@ static MACHINE_CONFIG_FRAGMENT( wpc_dmd )
MACHINE_CONFIG_END
-wpc_dmd_device::wpc_dmd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
+wpc_dmd_device::wpc_dmd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) :
device_t(mconfig, WPC_DMD, "Williams Pinball Controller Dot Matrix Display", tag, owner, clock, "wpc_dmd", __FILE__),
scanline_cb(*this),
dmd0(*this, ":dmd0"),
diff --git a/src/mame/video/wpc_dmd.h b/src/mame/video/wpc_dmd.h
index 7524e2e7e3f..1d58c2d2030 100644
--- a/src/mame/video/wpc_dmd.h
+++ b/src/mame/video/wpc_dmd.h
@@ -15,7 +15,7 @@
class wpc_dmd_device : public device_t
{
public:
- wpc_dmd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ wpc_dmd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
virtual ~wpc_dmd_device();
DECLARE_ADDRESS_MAP(registers, 8);
diff --git a/src/mame/video/wswan_video.cpp b/src/mame/video/wswan_video.cpp
index 8dbb60f0db8..a7c3e324b94 100644
--- a/src/mame/video/wswan_video.cpp
+++ b/src/mame/video/wswan_video.cpp
@@ -20,7 +20,7 @@
const device_type WSWAN_VIDEO = &device_creator<wswan_video_device>;
-wswan_video_device::wswan_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+wswan_video_device::wswan_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, WSWAN_VIDEO, "Bandai WonderSwan VDP", tag, owner, clock, "wswan_video", __FILE__),
m_vdp_type(VDP_TYPE_WSWAN)
{
diff --git a/src/mame/video/wswan_video.h b/src/mame/video/wswan_video.h
index 3cad1155075..91fc57b75a7 100644
--- a/src/mame/video/wswan_video.h
+++ b/src/mame/video/wswan_video.h
@@ -46,7 +46,7 @@ typedef device_delegate<void (void)> wswan_video_dmasnd_cb_delegate;
class wswan_video_device : public device_t
{
public:
- wswan_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ wswan_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
~wswan_video_device() {}
// static configuration
diff --git a/src/mame/video/ygv608.cpp b/src/mame/video/ygv608.cpp
index 1b70da162ee..13ec2eb4169 100644
--- a/src/mame/video/ygv608.cpp
+++ b/src/mame/video/ygv608.cpp
@@ -51,14 +51,14 @@
const device_type YGV608 = &device_creator<ygv608_device>;
-ygv608_device::ygv608_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock )
+ygv608_device::ygv608_device( const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock )
: device_t(mconfig, YGV608, "YGV608 VDP", tag, owner, clock, "ygv608", __FILE__),
m_gfxdecode(*this),
m_palette(*this)
{
}
-void ygv608_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
+void ygv608_device::static_set_gfxdecode_tag(device_t &device, std::string tag)
{
downcast<ygv608_device &>(device).m_gfxdecode.set_tag(tag);
}
@@ -68,7 +68,7 @@ void ygv608_device::static_set_gfxdecode_tag(device_t &device, const char *tag)
// palette device
//-------------------------------------------------
-void ygv608_device::static_set_palette_tag(device_t &device, const char *tag)
+void ygv608_device::static_set_palette_tag(device_t &device, std::string tag)
{
downcast<ygv608_device &>(device).m_palette.set_tag(tag);
}
diff --git a/src/mame/video/ygv608.h b/src/mame/video/ygv608.h
index b4360a4e5e4..b16888cf5c0 100644
--- a/src/mame/video/ygv608.h
+++ b/src/mame/video/ygv608.h
@@ -286,11 +286,11 @@ class ygv608_device : public device_t
{
public:
// construction/destruction
- ygv608_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ ygv608_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
// static configuration
- static void static_set_gfxdecode_tag(device_t &device, const char *tag);
- static void static_set_palette_tag(device_t &device, const char *tag);
+ static void static_set_gfxdecode_tag(device_t &device, std::string tag);
+ static void static_set_palette_tag(device_t &device, std::string tag);
DECLARE_WRITE16_MEMBER( write );
DECLARE_READ16_MEMBER( read );
diff --git a/src/mame/video/zx8301.cpp b/src/mame/video/zx8301.cpp
index 708b8c4879f..173330a1e54 100644
--- a/src/mame/video/zx8301.cpp
+++ b/src/mame/video/zx8301.cpp
@@ -104,7 +104,7 @@ inline void zx8301_device::writebyte(offs_t address, UINT8 data)
// zx8301_device - constructor
//-------------------------------------------------
-zx8301_device::zx8301_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+zx8301_device::zx8301_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ZX8301, "Sinclair ZX8301", tag, owner, clock, "zx8301", __FILE__),
device_memory_interface(mconfig, *this),
device_video_interface(mconfig, *this),
diff --git a/src/mame/video/zx8301.h b/src/mame/video/zx8301.h
index f4c402e387a..e00183a1524 100644
--- a/src/mame/video/zx8301.h
+++ b/src/mame/video/zx8301.h
@@ -62,10 +62,10 @@ class zx8301_device : public device_t,
{
public:
// construction/destruction
- zx8301_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ zx8301_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
template<class _Object> static devcb_base &set_vsync_wr_callback(device_t &device, _Object object) { return downcast<zx8301_device &>(device).m_write_vsync.set_callback(object); }
- static void static_set_cpu_tag(device_t &device, const char *tag) { downcast<zx8301_device &>(device).m_cpu.set_tag(tag); }
+ static void static_set_cpu_tag(device_t &device, std::string tag) { downcast<zx8301_device &>(device).m_cpu.set_tag(tag); }
DECLARE_WRITE8_MEMBER( control_w );
DECLARE_READ8_MEMBER( data_r );