summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers')
-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
1109 files changed, 1363 insertions, 1363 deletions
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)