summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-01-20 21:42:13 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-01-20 21:42:13 +0100
commit4e8e3066f847cc0fa11539f4d9ab8a63f70ca475 (patch)
tree25d48b50f2b89dd5b9e7dbbfeeb85c534ec6852a /src/mame/drivers
parent3a8ccb89b426509be06089a19c51ecf55567ed1b (diff)
reverting:
SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa * tags are now strings (nw) fix start project for custom builds in Visual Studio (nw)
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.cpp349
-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/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
1108 files changed, 1710 insertions, 1361 deletions
diff --git a/src/mame/drivers/1945kiii.cpp b/src/mame/drivers/1945kiii.cpp
index 12f7e77e69e..55b4b8c6ee3 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, std::string tag)
+ k3_state(const machine_config &mconfig, device_type type, const char *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 b56775a48b7..7a9e17d325e 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, std::string tag)
+ midcoin24cdjuke_state(const machine_config &mconfig, device_type type, const char *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 d02679367e2..d1f27dd46ab 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, std::string tag)
+ _2mindril_state(const machine_config &mconfig, device_type type, const char *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 8042713b864..c41167a52de 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, std::string tag)
+ namco_30test_state(const machine_config &mconfig, device_type type, const char *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 940fb3268a7..0c5bdcafc11 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, std::string tag)
+ _39in1_state(const machine_config &mconfig, device_type type, const char *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 30ab32776f7..38ccc0c15a6 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, std::string tag)
+ _3x3puzzle_state(const machine_config &mconfig, device_type type, const char *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 97f202d826f..224102e80ef 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, std::string tag)
+ nixieclock_state(const machine_config &mconfig, device_type type, const char *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 6a45f124855..7feead80bea 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, std::string tag)
+ sgi_ip6_state(const machine_config &mconfig, device_type type, const char *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 50c2470a174..86328de8c88 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, std::string tag)
+ _4enlinea_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock);
+ isa8_cga_4enlinea_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock) :
+isa8_cga_4enlinea_device::isa8_cga_4enlinea_device(const machine_config &mconfig, const char *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 38ed2e6ed29..acfa158233b 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, std::string tag)
+ _4roses_state(const machine_config &mconfig, device_type type, const char *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 a333f813e3d..c0d07547e2d 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, std::string tag)
+ _5clown_state(const machine_config &mconfig, device_type type, const char *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 348d9611f9f..2ff1bc85cac 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, std::string tag) :
+ c68ksbc_state(const machine_config &mconfig, device_type type, const char *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 76fe19bd74d..12f9a7447d1 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, std::string tag)
+ a1supply_state(const machine_config &mconfig, device_type type, const char *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 077f2b28404..fc0f9bc5cdf 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, std::string tag)
+ a2600_state(const machine_config &mconfig, device_type type, const char *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 01a6004f2a0..7acb2a355c9 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, std::string tag)
+ a310_state(const machine_config &mconfig, device_type type, const char *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 f0463d08d11..44222bdb920 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, std::string tag)
+ a5105_state(const machine_config &mconfig, device_type type, const char *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 9732b027e34..2284450bde4 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, std::string tag)
+ a51xx_state(const machine_config &mconfig, device_type type, const char *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 4016146f578..98b57f5af99 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, std::string tag)
+ a6809_state(const machine_config &mconfig, device_type type, const char *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 675411ffd51..3559e6548b2 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, std::string tag)
+ a7150_state(const machine_config &mconfig, device_type type, const char *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 10d18b3b3a8..eda5f74ac07 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, std::string tag)
+ a7800_state(const machine_config &mconfig, device_type type, const char *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 32d96656abe..57d96585296 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, std::string tag)
+ aceal_state(const machine_config &mconfig, device_type type, const char *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 9e4f3bcaa48..b869458ace4 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, std::string tag)
+ acefruit_state(const machine_config &mconfig, device_type type, const char *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 13a55d69216..4bc18a85aa9 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, std::string tag)
+ aces1_state(const machine_config &mconfig, device_type type, const char *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 e0011488774..1a83aa85aa4 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, std::string tag)
+ ace_sp_state(const machine_config &mconfig, device_type type, const char *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 3765aa69713..5da92a119ce 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, std::string tag)
+ acommand_state(const machine_config &mconfig, device_type type, const char *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 5622bf0865a..41efa342a61 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, std::string tag)
+ acrnsys1_state(const machine_config &mconfig, device_type type, const char *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 954030206a5..d8271bdba30 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, std::string tag)
+ adp_state(const machine_config &mconfig, device_type type, const char *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 8945e0be88a..986b9d3771c 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, std::string tag)
+ age_candy_state(const machine_config &mconfig, device_type type, const char *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 e93f88b630c..df749db8493 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, std::string tag)
+ aim65_40_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag) { }
// devices
diff --git a/src/mame/drivers/albazc.cpp b/src/mame/drivers/albazc.cpp
index 522d7fca889..febf07ebf82 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, std::string tag)
+ albazc_state(const machine_config &mconfig, device_type type, const char *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 39f478e5d13..9666975f2f3 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, std::string tag)
+ albazg_state(const machine_config &mconfig, device_type type, const char *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 b48ed8e0a35..26499c7b9b2 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, std::string tag)
+ aleck64_state(const machine_config &mconfig, device_type type, const char *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 1b8504350a9..75021c37dda 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, std::string tag)
+ sburners_state(const machine_config &mconfig, device_type type, const char *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 3f0709eb6a4..6cc10cfd788 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, std::string tag)
+ alg_state(const machine_config &mconfig, device_type type, const char *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 a401a333bfa..46daf7e6499 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, std::string tag)
+ alien_state(const machine_config &mconfig, device_type type, const char *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 1f4ea073ce7..25f378ed388 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, std::string tag)
+ alinvade_state(const machine_config &mconfig, device_type type, const char *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 6e7631653b3..9b96c72ab22 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, std::string tag)
+ allied_state(const machine_config &mconfig, device_type type, const char *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 6a6a94feff7..f7f0d58d3a5 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, std::string tag)
+ alphasmart_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ asma2k_state(const machine_config &mconfig, device_type type, const char *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 9a0aee95ed2..a5a3968d8aa 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, std::string tag)
+ alphatro_state(const machine_config &mconfig, device_type type, const char *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 e2b8d9edd97..18a9589cd03 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, std::string tag) :
+ altair_state(const machine_config &mconfig, device_type type, const char *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 bcb61750b67..c2142b0c304 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, std::string tag) :
+ alto2_state(const machine_config &mconfig, device_type type, const char *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 6ea298ec2fb..96fd75ae2e4 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, std::string tag)
+ altos5_state(const machine_config &mconfig, device_type type, const char *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 9ed9bbc978e..700561e437c 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, std::string tag)
+ alvg_state(const machine_config &mconfig, device_type type, const char *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 c3c2cf78196..3640330b2f3 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, std::string tag)
+ amaticmg_state(const machine_config &mconfig, device_type type, const char *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 94c97b27273..aa8a19ae9e2 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, std::string tag)
+ amerihok_state(const machine_config &mconfig, device_type type, const char *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 9f2e88ed7bf..0bb1952d8a3 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, std::string tag)
+ amico2k_state(const machine_config &mconfig, device_type type, const char *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 5fcb4d3dbf8..47d42f93d0b 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, std::string tag) :
+ a1000_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+ a2000_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+ a500_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+ cdtv_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+ a3000_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+ a500p_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+ a600_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+ a1200_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+ a4000_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+ cd32_state(const machine_config &mconfig, device_type type, const char *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 089a209a1ca..6aef2a6f984 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, std::string tag)
+ ampro_state(const machine_config &mconfig, device_type type, const char *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 803a8236b9e..d33fa47a6b3 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, std::string tag)
+ amstrad_pc_state(const machine_config &mconfig, device_type type, const char *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 e1a19014d27..9ed26923a71 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, std::string tag)
+ amusco_state(const machine_config &mconfig, device_type type, const char *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 a2bcdaf9536..4c1848fc548 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, std::string tag)
+ amust_state(const machine_config &mconfig, device_type type, const char *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 876a2602fad..12f978f2584 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, std::string tag)
+ apc_state(const machine_config &mconfig, device_type type, const char *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 1c804da871d..dd992f1a209 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, std::string tag)
+ apexc_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock);
+ apexc_cylinder_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+apexc_cylinder_image_device::apexc_cylinder_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock);
+ apexc_tape_puncher_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+apexc_tape_puncher_image_device::apexc_tape_puncher_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock);
+ apexc_tape_reader_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+apexc_tape_reader_image_device::apexc_tape_reader_image_device(const machine_config &mconfig, const char *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 3ecda64162e..d82f3107ace 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, std::string tag)
+ apf_state(const machine_config &mconfig, device_type type, const char *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 7e73221b6df..fec2d5608fe 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, std::string tag)
+ apogee_state(const machine_config &mconfig, device_type type, const char *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 1bdc2ab10ea..ed229a55cc1 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().c_str(), cpu->safe_pcbase());
+ sprintf(statebuf, "%d.%03d %s pc=%08x", s, ms, cpu->tag(), cpu->safe_pcbase());
} else {
strcpy(statebuf, "(no context)");
}
diff --git a/src/mame/drivers/apple2.cpp b/src/mame/drivers/apple2.cpp
index 4021d4e201e..efbd8b157ca 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, std::string tag)
+ napple2_state(const machine_config &mconfig, device_type type, const char *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 57bffb6b852..99bc10dc341 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, std::string tag)
+ apple2e_state(const machine_config &mconfig, device_type type, const char *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 b28bdd15df9..f2cd3a9650a 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, std::string tag)
+ applix_state(const machine_config &mconfig, device_type type, const char *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 edaf6719988..126cd1d6452 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, std::string tag) :
+ apricot_state(const machine_config &mconfig, device_type type, const char *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 2cca8965ff2..8c990e46c48 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, std::string tag)
+ f1_state(const machine_config &mconfig, device_type type, const char *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 9e25071da73..52107c217fb 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, std::string tag)
+ fp_state(const machine_config &mconfig, device_type type, const char *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 86fb9d7ef8b..302db21b4e4 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, std::string tag)
+ arachnid_state(const machine_config &mconfig, device_type type, const char *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 5886e808188..a9925128402 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, std::string tag)
+ argo_state(const machine_config &mconfig, device_type type, const char *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 dbe04a1ec53..6d6a2b4b7e2 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, std::string tag)
+ aristmk4_state(const machine_config &mconfig, device_type type, const char *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 217ccee0684..882fd175d2a 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, std::string tag)
+ aristmk5_state(const machine_config &mconfig, device_type type, const char *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 0669242caaf..89b03477cb7 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, std::string tag)
+ aristmk6_state(const machine_config &mconfig, device_type type, const char *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 baae3b413de..3f179e9af70 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, std::string tag)
+ arcadia_amiga_state(const machine_config &mconfig, device_type type, const char *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(std::string tag, int bit7, int bit6, int bit5, int bit4, int bit3, int bit2, int bit1, int bit0);
+ inline void generic_decode(const char *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(std::string tag, int bit7, int bit6, int bit5, int bit4, int bit3, int bit2, int bit1, int bit0)
+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)
{
UINT16 *rom = (UINT16 *)memregion(tag)->base();
int i;
diff --git a/src/mame/drivers/asst128.cpp b/src/mame/drivers/asst128.cpp
index 8c13ca858be..7ee9e464a66 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, std::string tag, device_t *owner, UINT32 clock)
+ asst128_mb_device(const machine_config &mconfig, const char *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, std::string tag)
+ asst128_state(const machine_config &mconfig, device_type type, const char *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 9481fdbad76..f98cccb3500 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, std::string tag)
+ astinvad_state(const machine_config &mconfig, device_type type, const char *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 a8aba6faff4..578ac656b8a 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, std::string tag)
+ astrafr_state(const machine_config &mconfig, device_type type, const char *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 ed53b0ff400..a82199c5d06 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, std::string tag)
+ astrocorp_state(const machine_config &mconfig, device_type type, const char *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 59f9c29d0c5..7b08a693956 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, std::string tag)
+ astrocde_mess_state(const machine_config &mconfig, device_type type, const char *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 e598d3b8731..a58eb2335eb 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, std::string tag)
+ astropc_state(const machine_config &mconfig, device_type type, const char *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 9af9098b76b..17573b3bac9 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, std::string tag)
+ a400_state(const machine_config &mconfig, device_type type, const char *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 a66ef0f7bc8..48bc91e6816 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, std::string tag)
+ atari_s1_state(const machine_config &mconfig, device_type type, const char *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 fde76dbbfab..1399a296577 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, std::string tag)
+ atari_s2_state(const machine_config &mconfig, device_type type, const char *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 075a08f267d..78af3c1417c 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, std::string tag)
+ atarisy4_state(const machine_config &mconfig, device_type type, const char *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 10cb2af51e6..39662b15b60 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, std::string tag)
+ atarikee_state(const machine_config &mconfig, device_type type, const char *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 c17428e763f..253cb8300f6 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, std::string tag)
+ atlantis_state(const machine_config &mconfig, device_type type, const char *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 2f23a1274fa..300f503d90e 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, std::string tag)
+ atm_state(const machine_config &mconfig, device_type type, const char *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 f55a5a6d50d..f366fab1187 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, std::string tag)
+ atronic_state(const machine_config &mconfig, device_type type, const char *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 e87b38eafdd..0c6a1c9d3b5 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, std::string tag)
+ attache_state(const machine_config &mconfig, device_type type, const char *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 27aa5698d91..3a099bf917f 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, std::string tag)
+ attckufo_state(const machine_config &mconfig, device_type type, const char *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 7b9d082e4c4..698afe889cb 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, std::string tag)
+ atvtrack_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ smashdrv_state(const machine_config &mconfig, device_type type, const char *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 (space.device().tag() == ":maincpu")
+ if (strcmp(space.device().tag(), ":maincpu") == 0)
#ifndef SPECIALMODE
return -1; // normal
#else
diff --git a/src/mame/drivers/avt.cpp b/src/mame/drivers/avt.cpp
index 1818a6668c1..5a752526f81 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, std::string tag)
+ avt_state(const machine_config &mconfig, device_type type, const char *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 b1619ce25e4..f51f0dc925c 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, std::string tag)
+ ax20_state(const machine_config &mconfig, device_type type, const char *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 e21e5db728f..289aea6f228 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, std::string tag)
+ b16_state(const machine_config &mconfig, device_type type, const char *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 ec72737593a..f3d9c187fc8 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, std::string tag)
+ babbage_state(const machine_config &mconfig, device_type type, const char *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 24b4de6db54..9ca90c212e8 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, std::string tag)
+ backfire_state(const machine_config &mconfig, device_type type, const char *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 680022fc6aa..15232f62605 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, std::string tag)
+ bailey_state(const machine_config &mconfig, device_type type, const char *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 f12d9664a57..071928676f0 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, std::string tag)
+ barata_state(const machine_config &mconfig, device_type type, const char *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 5d485c9eb98..af9142250a5 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, std::string tag)
+ bartop52_state(const machine_config &mconfig, device_type type, const char *tag)
: atari_common_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/basic52.cpp b/src/mame/drivers/basic52.cpp
index 57776c6585d..f641beaef04 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, std::string tag)
+ basic52_state(const machine_config &mconfig, device_type type, const char *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 338f53f3571..3c50df82697 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, std::string tag)
+ bbcbc_state(const machine_config &mconfig, device_type type, const char *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 753c31b95b0..cd885352dba 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, std::string tag)
+ bcs3_state(const machine_config &mconfig, device_type type, const char *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 5402dd1659d..4c78e8da6da 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, std::string tag)
+ beaminv_state(const machine_config &mconfig, device_type type, const char *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 3a56b10b132..e152a41cc54 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, std::string tag)
+ beehive_state(const machine_config &mconfig, device_type type, const char *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 cfa9c2b00b5..cb996f09781 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, std::string tag)
+ belatra_state(const machine_config &mconfig, device_type type, const char *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 1467d38d108..5b0ce31c816 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, std::string tag)
+ berzerk_state(const machine_config &mconfig, device_type type, const char *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 12ed33d39dc..86f81074a68 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, std::string tag)
+ besta_state(const machine_config &mconfig, device_type type, const char *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 1aea9436c1e..24310dbc504 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, std::string tag)
+ bestleag_state(const machine_config &mconfig, device_type type, const char *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 f414d788c6b..024a42d5c69 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, std::string tag)
+ beta_state(const machine_config &mconfig, device_type type, const char *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 68cabc04a2e..d26eff4d673 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, std::string tag) :
+ bfcobra_state(const machine_config &mconfig, device_type type, const char *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 4a2d709566f..ec06c83bc6c 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, std::string tag)
+ bfm_sc1_state(const machine_config &mconfig, device_type type, const char *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 2c5f1de1595..eb423c68e54 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, std::string tag)
+ bfm_sc2_state(const machine_config &mconfig, device_type type, const char *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 9254a7b5878..5198984a975 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, std::string tag)
+ bfm_swp_state(const machine_config &mconfig, device_type type, const char *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 46e39d24b49..1fbed4b72c5 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, std::string tag)
+ bfmsys83_state(const machine_config &mconfig, device_type type, const char *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 4d4e8952876..c41647ab58a 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, std::string tag) : driver_device(mconfig, type, tag),
+ bfmsys85_state(const machine_config &mconfig, device_type type, const char *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 2d7291e3fbb..740c4a48621 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, std::string tag)
+ bgt_state(const machine_config &mconfig, device_type type, const char *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 a838199fd0c..26b7c4c05e7 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, std::string tag)
+ big10_state(const machine_config &mconfig, device_type type, const char *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 622c3136b7d..8bc7191eb28 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, std::string tag)
+ bigbord2_state(const machine_config &mconfig, device_type type, const char *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 374036bb02a..ba135c2b0ed 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, std::string tag)
+ binbug_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ dg680_state(const machine_config &mconfig, device_type type, const char *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 9f7f4929bdc..a07858a1045 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, std::string tag)
+ bingo_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ seeben_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ splin_state(const machine_config &mconfig, device_type type, const char *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 fbe6950f2df..868fd3c3563 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, std::string tag)
+ bingoc_state(const machine_config &mconfig, device_type type, const char *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 acc22932547..f9551bcfd67 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, std::string tag)
+ bingoman_state(const machine_config &mconfig, device_type type, const char *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 16fd508d8c2..a02e65854cb 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, std::string tag)
+ bingor_state(const machine_config &mconfig, device_type type, const char *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 7b7b24f0281..511f4fb2a1b 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, std::string tag)
+ bitgraph_state(const machine_config &mconfig, device_type type, const char *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 bd9002d508c..ac63060d5aa 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, std::string tag)
+ blackt96_state(const machine_config &mconfig, device_type type, const char *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 1e3f4eba593..b4a5eb325f0 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, std::string tag)
+ blitz_state(const machine_config &mconfig, device_type type, const char *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 2b77e418c7d..ffa7d6215c8 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, std::string tag)
+ blitz68k_state(const machine_config &mconfig, device_type type, const char *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 ef8fecd3c5d..8cca358e26a 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, std::string tag)
+ blockhl_state(const machine_config &mconfig, device_type type, const char *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 f41f470f429..13a12271374 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, std::string tag)
+ bmcbowl_state(const machine_config &mconfig, device_type type, const char *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 33625269585..6bd9d2c6ce8 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, std::string tag)
+ bmcpokr_state(const machine_config &mconfig, device_type type, const char *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 b45699cb8b7..9778a751434 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, std::string tag)
+ bmjr_state(const machine_config &mconfig, device_type type, const char *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 c76f24a05e2..a2e405950c6 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, std::string tag) :
+ bml3_state(const machine_config &mconfig, device_type type, const char *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 eb0e9ce824a..7172817b195 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, std::string tag)
+ bnstars_state(const machine_config &mconfig, device_type type, const char *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 6a573f1f066..3d66dcb77c5 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, std::string tag)
+ bntyhunt_state(const machine_config &mconfig, device_type type, const char *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 8ab90ec2210..d0c1eb88965 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, std::string tag)
+ bob85_state(const machine_config &mconfig, device_type type, const char *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 6e0f090e6ae..73e4b83a055 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, std::string tag)
+ bowltry_state(const machine_config &mconfig, device_type type, const char *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 0874a013ab2..eb31c5dc174 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, std::string tag)
+ boxer_state(const machine_config &mconfig, device_type type, const char *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 018e02cae06..df76c9ee91b 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, std::string tag)
+ brandt8641_state(const machine_config &mconfig, device_type type, const char *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 b1a6eec73f9..f08a32eeb0a 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, std::string tag)
+ buster_state(const machine_config &mconfig, device_type type, const char *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 45d1a6b3e98..690409b5c13 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, std::string tag)
+ by17_state(const machine_config &mconfig, device_type type, const char *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 f89e94f64de..476804d398b 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, std::string tag)
+ by35_state(const machine_config &mconfig, device_type type, const char *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 08681622411..bc7ce7e9f14 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, std::string tag)
+ by6803_state(const machine_config &mconfig, device_type type, const char *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 d17e26ed2fd..4dbcec6d9b6 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, std::string tag)
+ by68701_state(const machine_config &mconfig, device_type type, const char *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 9a59640547a..bd1b267a62d 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, std::string tag)
+ by133_state(const machine_config &mconfig, device_type type, const char *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 097e94fd4fd..a2333d810b7 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, std::string tag)
+ c10_state(const machine_config &mconfig, device_type type, const char *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 f36cefb100f..4b707dfa585 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, std::string tag)
+ c64dtv_state(const machine_config &mconfig, device_type type, const char *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 5a6e9a37714..fb9f882ead7 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, std::string tag)
+ c65_state(const machine_config &mconfig, device_type type, const char *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 e3a7defd0df..18e5238c3eb 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, std::string tag)
+ c900_state(const machine_config &mconfig, device_type type, const char *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 82be78a6dc0..bdaf1aef465 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, std::string tag)
+ cabaret_state(const machine_config &mconfig, device_type type, const char *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 ed89e2a015a..18354d8e5dc 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, std::string tag)
+ calchase_state(const machine_config &mconfig, device_type type, const char *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 87da9cd5fa8..a4602d37189 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, std::string tag)
+ calorie_state(const machine_config &mconfig, device_type type, const char *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 884bc419f0a..96cc919dfb9 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, std::string tag)
+ camplynx_state(const machine_config &mconfig, device_type type, const char *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 c545f87dbf5..2ee2325ce0e 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, std::string tag)
+ canons80_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/capcom.cpp b/src/mame/drivers/capcom.cpp
index 54f07bd6d37..04c06f3f3f1 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, std::string tag)
+ capcom_state(const machine_config &mconfig, device_type type, const char *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 962f3e4ce3f..4203174914c 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, std::string tag)
+ capr1_state(const machine_config &mconfig, device_type type, const char *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 252f67a88ec..9ac04280b94 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, std::string tag)
+ caprcyc_state(const machine_config &mconfig, device_type type, const char *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 da62e39556e..740fb7e28f4 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, std::string tag)
+ cardline_state(const machine_config &mconfig, device_type type, const char *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 d2b073ea1d8..d567ecc67da 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, std::string tag)
+ carrera_state(const machine_config &mconfig, device_type type, const char *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 69c0934bb9e..c3639d185d5 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, std::string tag)
+ casloopy_state(const machine_config &mconfig, device_type type, const char *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 39a1862379d..056273db2b1 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, std::string tag)
+ castle_state(const machine_config &mconfig, device_type type, const char *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 6c61a82e882..f774057fd73 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, std::string tag)
+ caswin_state(const machine_config &mconfig, device_type type, const char *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 e60e7fab12a..fd892b3b877 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, std::string tag)
+ cat_state(const machine_config &mconfig, device_type type, const char *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 29b0a7f2673..7bd1c83b794 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, std::string tag)
+ cavepc_state(const machine_config &mconfig, device_type type, const char *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 57b1793b269..10fc8bb527a 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, std::string tag)
+ cb2001_state(const machine_config &mconfig, device_type type, const char *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 7f39ca6ac60..ecb12c186d3 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, std::string tag)
+ cball_state(const machine_config &mconfig, device_type type, const char *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 6cbca332b59..bd65fc2fc78 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, std::string tag)
+ cc40_state(const machine_config &mconfig, device_type type, const char *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 0e21b411823..0283cf99df9 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, std::string tag)
+ cchance_state(const machine_config &mconfig, device_type type, const char *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 f6a02d05b87..ab38592295a 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, std::string tag)
+ ccs_state(const machine_config &mconfig, device_type type, const char *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 c3daaaf5aed..a0842350bd2 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, std::string tag)
+ ccs300_state(const machine_config &mconfig, device_type type, const char *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 35da04fe9e8..ae40d4deaa3 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, std::string tag)
+ cd2650_state(const machine_config &mconfig, device_type type, const char *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 1e33d15d78c..497ba6d5a68 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, std::string tag)
+ cdc721_state(const machine_config &mconfig, device_type type, const char *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 320ffefb2b9..28f85f089e3 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, std::string tag)
+ cesclassic_state(const machine_config &mconfig, device_type type, const char *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 1782a100e40..30ec1e78b4b 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, std::string tag)
+ cfx9850_state(const machine_config &mconfig, device_type type, const char *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 5afce95112a..a306f55c440 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, std::string tag)
+ cgenie_state(const machine_config &mconfig, device_type type, const char *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 f2d9001e04b..0fc42e73776 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, std::string tag)
+ cham24_state(const machine_config &mconfig, device_type type, const char *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 1ee6c9585d3..745870f02bc 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, std::string tag)
+ champbwl_state(const machine_config &mconfig, device_type type, const char *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 73464cc79b5..379730cdf1a 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, std::string tag)
+ chanbara_state(const machine_config &mconfig, device_type type, const char *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 84bab3bf84a..b7831f8f159 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, std::string tag)
+ chance32_state(const machine_config &mconfig, device_type type, const char *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 26f696b2890..b03531bc362 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, std::string tag)
+ chaos_state(const machine_config &mconfig, device_type type, const char *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 fc0b057b28f..e92d94056dc 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, std::string tag)
+ chessmst_state(const machine_config &mconfig, device_type type, const char *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 616feb724f3..e34954a6af0 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, std::string tag)
+ chesstrv_state(const machine_config &mconfig, device_type type, const char *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 393e79f12d1..f32da626237 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, std::string tag)
+ chexx_state(const machine_config &mconfig, device_type type, const char *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 b0c3b8a95e7..d426f8ab8f7 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, std::string tag)
+ chicago_state(const machine_config &mconfig, device_type type, const char *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 91b8095298b..366ef73c704 100644
--- a/src/mame/drivers/chihiro.cpp
+++ b/src/mame/drivers/chihiro.cpp
@@ -382,7 +382,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, std::string tag) :
+ chihiro_state(const machine_config &mconfig, device_type type, const char *tag) :
xbox_base_state(mconfig, type, tag),
usbhack_index(-1),
usbhack_counter(0),
@@ -598,7 +598,7 @@ class ide_baseboard_device : public ata_mass_storage_device
{
public:
// construction/destruction
- ide_baseboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock);
+ ide_baseboard_device(const machine_config &mconfig, const char *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;
@@ -622,7 +622,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, std::string tag, device_t *owner, UINT32 clock)
+ide_baseboard_device::ide_baseboard_device(const machine_config &mconfig, const char *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 d8fa10c368d..946d5020f38 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, std::string tag)
+ chinagat_state(const machine_config &mconfig, device_type type, const char *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 7b24b1c0651..49d8e3e4adf 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, std::string tag)
+ chinsan_state(const machine_config &mconfig, device_type type, const char *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 9939e4fc6bc..226cf66514d 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, std::string tag)
+ chsuper_state(const machine_config &mconfig, device_type type, const char *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 862f79e636e..1db6d72efe3 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, std::string tag)
+ clayshoo_state(const machine_config &mconfig, device_type type, const char *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 11b67f29cbe..52ac6a7534a 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, std::string tag)
+ clcd_state(const machine_config &mconfig, device_type type, const char *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 17ca329861d..c9cfe5f40b1 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, std::string tag)
+ cliffhgr_state(const machine_config &mconfig, device_type type, const char *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 5f9cbd0a282..2eacdadfc44 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, std::string tag)
+ clowndwn_state(const machine_config &mconfig, device_type type, const char *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 7ae7547b722..7659e8ec41d 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, std::string tag)
+ cm1800_state(const machine_config &mconfig, device_type type, const char *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 1d27efee601..5e5da1d762a 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, std::string tag)
+ cmmb_state(const machine_config &mconfig, device_type type, const char *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 ca90eb20489..99f7dd9a200 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, std::string tag)
+ cntsteer_state(const machine_config &mconfig, device_type type, const char *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 fe19d74afa3..840feea61df 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, std::string tag, device_t *owner, UINT32 clock);
+ cobra_jvs(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+cobra_jvs::cobra_jvs(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock);
+ cobra_jvs_host(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+cobra_jvs_host::cobra_jvs_host(const machine_config &mconfig, const char *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, std::string tag)
+ cobra_state(const machine_config &mconfig, device_type type, const char *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().c_str(), const_cast<device_t *>(cpu)->safe_pc());
+ sprintf(accessor_location, "(%s) %08X", cpu->tag(), 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().c_str(), const_cast<device_t *>(cpu)->safe_pc());
+ sprintf(accessor_location, "(%s) %08X", cpu->tag(), 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().c_str(), const_cast<device_t *>(cpu)->safe_pc());
+ sprintf(accessor_location, "(%s) %08X", cpu->tag(), 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().c_str(), const_cast<device_t *>(cpu)->safe_pc());
+ sprintf(accessor_location, "(%s) %08X", cpu->tag(), const_cast<device_t *>(cpu)->safe_pc());
}
else
{
diff --git a/src/mame/drivers/cocoloco.cpp b/src/mame/drivers/cocoloco.cpp
index fba66c57ebe..3111a461866 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, std::string tag)
+ cocoloco_state(const machine_config &mconfig, device_type type, const char *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 ae49ae39d1b..9499ab38560 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, std::string tag)
+ codata_state(const machine_config &mconfig, device_type type, const char *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 2ebcc4b1944..ea5b3edf2aa 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, std::string tag)
+ coinmstr_state(const machine_config &mconfig, device_type type, const char *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 6b66da5f6ca..9b0993bca4b 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, std::string tag)
+ coinmvga_state(const machine_config &mconfig, device_type type, const char *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 f3504116061..77d1beb119e 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, std::string tag)
+ comebaby_state(const machine_config &mconfig, device_type type, const char *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 d77f6bc9d33..30f4b594ef3 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, std::string tag)
+ compucolor2_state(const machine_config &mconfig, device_type type, const char *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 294fd5384d8..b6d0b5a83fd 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, std::string tag)
+ coolridr_state(const machine_config &mconfig, device_type type, const char *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 bd5d904f40e..44529d40ae3 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, std::string tag)
+ cops_state(const machine_config &mconfig, device_type type, const char *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 0a08468a3ec..b4037863bf3 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, std::string tag)
+ corona_state(const machine_config &mconfig, device_type type, const char *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 fbbab872536..7e9d3c9a351 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, std::string tag)
+ cortex_state(const machine_config &mconfig, device_type type, const char *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 8aceeca2a8e..bf7e382819e 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, std::string tag)
+ cp1_state(const machine_config &mconfig, device_type type, const char *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 43c7bd7a0f6..af0104474a6 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().c_str(), (offset<<1));
+ logerror("read GFX flash chip %s addr %02x\n", chip0->tag(), (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().c_str(), (offset<<1));
+ logerror("read GFX flash chip %s addr %02x\n", chip1->tag(), (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().c_str(), (offset<<1)+1);
+ logerror("read GFX flash chip %s addr %02x\n", chip0->tag(), (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().c_str(), (offset<<1)+1);
+ logerror("read GFX flash chip %s addr %02x\n", chip1->tag(), (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().c_str(), (offset<<1), command);
+ logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip0->tag(), (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().c_str(), (offset<<1), command);
+ logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip1->tag(), (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().c_str(), (offset<<1)+1, command);
+ logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip0->tag(), (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().c_str(), offset, command);
+ logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][0]->tag(), 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().c_str(), offset, command);
+ logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][1]->tag(), 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().c_str(), offset, command);
+ logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][2]->tag(), 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().c_str(), offset, command);
+ logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][3]->tag(), offset, command);
m_simm[which][3]->write(offset, command);
}
diff --git a/src/mame/drivers/craft.cpp b/src/mame/drivers/craft.cpp
index e245a34365b..0601bf3659c 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, std::string tag)
+ craft_state(const machine_config &mconfig, device_type type, const char *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 911462452fe..ebe604fbe48 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, std::string tag)
+ crystal_state(const machine_config &mconfig, device_type type, const char *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
new file mode 100644
index 00000000000..11dcf7763b6
--- /dev/null
+++ b/src/mame/drivers/csc.cpp
@@ -0,0 +1,349 @@
+// license:BSD-3-Clause
+// copyright-holders:Kevin Horton,Jonathan Gevaryahu,Sandro Ronco
+/******************************************************************************
+
+WIP: plan to move to main fidelity chess driver
+
+
+
+
+ Fidelity Champion Chess Challenger (model CSC)
+
+ See drivers/fidelz80.cpp for hardware description
+
+ TODO:
+ - speech doesn't work
+ - make a better artwork
+
+******************************************************************************/
+
+#include "emu.h"
+#include "cpu/m6502/m6502.h"
+#include "machine/6821pia.h"
+#include "sound/s14001a.h"
+
+// same layout of Sensory Chess Challenger
+//extern const char layout_vsc[];
+
+class csc_state : public driver_device
+{
+public:
+ csc_state(const machine_config &mconfig, device_type type, const char *tag)
+ : driver_device(mconfig, type, tag),
+ m_maincpu(*this, "maincpu"),
+ m_speech(*this, "speech")
+ { }
+
+ required_device<cpu_device> m_maincpu;
+ required_device<s14001a_device> m_speech;
+
+ virtual void machine_start() override;
+
+ UINT16 input_read(int index);
+ DECLARE_WRITE8_MEMBER( pia0_pa_w );
+ DECLARE_WRITE8_MEMBER( pia0_pb_w );
+ DECLARE_READ8_MEMBER( pia0_pb_r );
+ DECLARE_WRITE_LINE_MEMBER( pia0_ca2_w );
+ DECLARE_WRITE8_MEMBER( pia1_pa_w );
+ DECLARE_WRITE8_MEMBER( pia1_pb_w );
+ DECLARE_READ8_MEMBER( pia1_pa_r );
+ DECLARE_WRITE_LINE_MEMBER( pia1_ca2_w );
+ DECLARE_WRITE_LINE_MEMBER( pia1_cb2_w );
+ DECLARE_READ_LINE_MEMBER( pia1_ca1_r );
+ DECLARE_READ_LINE_MEMBER( pia1_cb1_r );
+
+ UINT8 m_selector;
+ TIMER_DEVICE_CALLBACK_MEMBER(irq_timer);
+};
+
+
+UINT16 csc_state::input_read(int index)
+{
+ static const char *const col_tag[] =
+ {
+ "IN.0", "IN.1", "IN.2", "IN.3", "IN.4",
+ "IN.5", "IN.6", "IN.7", "IN.8"
+ };
+
+ return ioport(col_tag[index])->read();
+}
+
+
+WRITE8_MEMBER( csc_state::pia0_pa_w )
+{
+ UINT8 out_digit = BITSWAP8(data,0,1,5,6,7,2,3,4 );
+
+ switch (m_selector)
+ {
+ case 0:
+ output().set_digit_value(0, out_digit & 0x7f);
+ output().set_value("pm_led", BIT(out_digit, 7));
+ break;
+ case 1:
+ output().set_digit_value(1, out_digit & 0x7f);
+ break;
+ case 2:
+ output().set_digit_value(2, out_digit & 0x7f);
+ output().set_value("up_dot", BIT(out_digit, 7));
+ break;
+ case 3:
+ output().set_digit_value(3, out_digit & 0x7f);
+ output().set_value("low_dot", BIT(out_digit, 7));
+ break;
+ }
+
+// m_speech->reg_w(data & 0x3f);
+
+ // for avoid the digit flashing
+ m_selector |= 0x80;
+}
+
+WRITE8_MEMBER( csc_state::pia0_pb_w )
+{
+// m_speech->set_volume(15); // hack, s14001a core should assume a volume of 15 unless otherwise stated...
+// m_speech->rst_w(BIT(data, 1));
+}
+
+READ8_MEMBER( csc_state::pia0_pb_r )
+{
+ UINT8 data = 0x04;
+
+ if(m_speech->bsy_r())
+ data |= 0x08;
+
+ if (m_selector<9)
+ if (input_read(m_selector) & 0x100)
+ data |= 0x20;
+
+ return data;
+}
+
+WRITE_LINE_MEMBER( csc_state::pia0_ca2_w )
+{
+}
+
+WRITE8_MEMBER( csc_state::pia1_pa_w )
+{
+ m_selector = (m_selector & 0x0c) | ((data>>6) & 0x03);
+}
+
+WRITE8_MEMBER( csc_state::pia1_pb_w )
+{
+ static const char *const row_tag[] =
+ {
+ "led_a", "led_b", "led_c", "led_d",
+ "led_e", "led_f", "led_g", "led_h"
+ };
+
+ if (m_selector < 8)
+ for (int i=0; i<8; i++)
+ output().set_indexed_value(row_tag[m_selector], i+1, BIT(data, 7-i));
+}
+
+READ8_MEMBER( csc_state::pia1_pa_r )
+{
+ UINT8 data = 0xff;
+
+ if (m_selector<9)
+ data = input_read(m_selector);
+
+ return data & 0x3f;
+}
+
+WRITE_LINE_MEMBER( csc_state::pia1_ca2_w )
+{
+ m_selector = (m_selector & 0x07) | (state ? 8 : 0);
+}
+
+WRITE_LINE_MEMBER( csc_state::pia1_cb2_w )
+{
+ m_selector = (m_selector & 0x0b) | (state ? 4 : 0);
+}
+
+READ_LINE_MEMBER( csc_state::pia1_ca1_r )
+{
+ int data = 0x01;
+
+ if (m_selector<9)
+ data = BIT(input_read(m_selector), 6);
+
+ return data;
+}
+
+READ_LINE_MEMBER( csc_state::pia1_cb1_r )
+{
+ int data = 0x01;
+
+ if (m_selector<9)
+ data = BIT(input_read(m_selector),7);
+
+ return data;
+}
+
+
+TIMER_DEVICE_CALLBACK_MEMBER(csc_state::irq_timer)
+{
+ m_maincpu->set_input_line(M6502_IRQ_LINE, HOLD_LINE);
+}
+
+/* Address maps */
+static ADDRESS_MAP_START(csc_mem, AS_PROGRAM, 8, csc_state)
+ ADDRESS_MAP_UNMAP_HIGH
+ AM_RANGE( 0x0000, 0x07ff) AM_RAM AM_MIRROR(0x4000) //2K RAM
+ AM_RANGE( 0x0800, 0x0bff) AM_RAM AM_MIRROR(0x4400) //1K RAM
+ AM_RANGE( 0x1000, 0x1003) AM_DEVREADWRITE("pia0", pia6821_device, read, write) AM_MIRROR(0x47fc)
+ AM_RANGE( 0x1800, 0x1803) AM_DEVREADWRITE("pia1", pia6821_device, read, write) AM_MIRROR(0x47fc)
+ AM_RANGE( 0x2000, 0x3fff) AM_ROM AM_MIRROR(0x4000)
+ AM_RANGE( 0x8000, 0x9fff) AM_NOP
+ AM_RANGE( 0xa000, 0xffff) AM_ROM
+ADDRESS_MAP_END
+
+/* Input ports */
+static INPUT_PORTS_START( csc )
+ PORT_START("IN.0")
+ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Speak") PORT_CODE(KEYCODE_SPACE)
+ PORT_START("IN.1")
+ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("RV") PORT_CODE(KEYCODE_V)
+ PORT_START("IN.2")
+ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("TM") PORT_CODE(KEYCODE_T)
+ PORT_START("IN.3")
+ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("LV") PORT_CODE(KEYCODE_L)
+ PORT_START("IN.4")
+ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("DM") PORT_CODE(KEYCODE_M)
+ PORT_START("IN.5")
+ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("ST") PORT_CODE(KEYCODE_S)
+ PORT_START("IN.6")
+ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_UNUSED) PORT_UNUSED
+ PORT_START("IN.7")
+ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD)
+ PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_UNUSED) PORT_UNUSED
+ PORT_START("IN.8")
+ PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Pawn") PORT_CODE(KEYCODE_1)
+ PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Rook") PORT_CODE(KEYCODE_2)
+ PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Knight") PORT_CODE(KEYCODE_3)
+ PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Bishop") PORT_CODE(KEYCODE_4)
+ PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Queen") PORT_CODE(KEYCODE_5)
+ PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("King") PORT_CODE(KEYCODE_6)
+ PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("CL") PORT_CODE(KEYCODE_DEL)
+ PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("RE") PORT_CODE(KEYCODE_R)
+ PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_UNUSED) PORT_UNUSED
+INPUT_PORTS_END
+
+
+void csc_state::machine_start()
+{
+ save_item(NAME(m_selector));
+}
+
+/* Machine driver */
+static MACHINE_CONFIG_START( csc, csc_state )
+ /* basic machine hardware */
+ MCFG_CPU_ADD("maincpu", M6502, 3900000/2)
+ MCFG_CPU_PROGRAM_MAP(csc_mem)
+
+ //MCFG_DEFAULT_LAYOUT(layout_vsc)
+
+ MCFG_TIMER_DRIVER_ADD_PERIODIC("irq_timer", csc_state, irq_timer, attotime::from_hz(38400/64))
+
+ MCFG_DEVICE_ADD("pia0", PIA6821, 0)
+ MCFG_PIA_READPB_HANDLER(READ8(csc_state, pia0_pb_r))
+ MCFG_PIA_WRITEPA_HANDLER(WRITE8(csc_state, pia0_pa_w))
+ MCFG_PIA_WRITEPB_HANDLER(WRITE8(csc_state, pia0_pb_w))
+ MCFG_PIA_CA2_HANDLER(WRITELINE(csc_state, pia0_ca2_w))
+
+ MCFG_DEVICE_ADD("pia1", PIA6821, 0)
+ MCFG_PIA_READPA_HANDLER(READ8(csc_state, pia1_pa_r))
+ MCFG_PIA_READCA1_HANDLER(READLINE(csc_state, pia1_ca1_r))
+ MCFG_PIA_READCB1_HANDLER(READLINE(csc_state, pia1_cb1_r))
+ MCFG_PIA_WRITEPA_HANDLER(WRITE8(csc_state, pia1_pa_w))
+ MCFG_PIA_WRITEPB_HANDLER(WRITE8(csc_state, pia1_pb_w))
+ MCFG_PIA_CA2_HANDLER(WRITELINE(csc_state, pia1_ca2_w))
+ MCFG_PIA_CB2_HANDLER(WRITELINE(csc_state, pia1_cb2_w))
+
+ /* sound hardware */
+ MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_SOUND_ADD("speech", S14001A, 25000) // around 25khz
+ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+MACHINE_CONFIG_END
+
+/* ROM definition */
+ROM_START(csc)
+ ROM_REGION(0x10000, "maincpu", 0)
+ ROM_LOAD("101-64109.bin", 0x2000, 0x2000, CRC(08a3577c) SHA1(69fe379d21a9d4b57c84c3832d7b3e7431eec341))
+ ROM_LOAD("1025a03.bin", 0xa000, 0x2000, CRC(63982c07) SHA1(5ed4356323d5c80df216da55994abe94ba4aa94c))
+ ROM_LOAD("1025a02.bin", 0xc000, 0x2000, CRC(9e6e7c69) SHA1(4f1ed9141b6596f4d2b1217d7a4ba48229f3f1b0))
+ ROM_LOAD("1025a01.bin", 0xe000, 0x2000, CRC(57f068c3) SHA1(7d2ac4b9a2fba19556782863bdd89e2d2d94e97b))
+
+ ROM_LOAD("74s474.bin", 0xfe00, 0x0200, CRC(4511ba31) SHA1(e275b1739f8c3aa445cccb6a2b597475f507e456))
+
+ ROM_REGION(0x2000, "speech", 0)
+ ROM_LOAD("101-32107.bin", 0x0000, 0x1000, CRC(f35784f9) SHA1(348e54a7fa1e8091f89ac656b4da22f28ca2e44d))
+ROM_END
+
+/* Driver */
+
+/* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */
+COMP( 1981, csc, 0, 0, csc, csc, driver_device, 0, "Fidelity Electronics", "Champion Chess Challenger (model CSC)", MACHINE_NOT_WORKING | MACHINE_NO_SOUND | MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK)
diff --git a/src/mame/drivers/cshooter.cpp b/src/mame/drivers/cshooter.cpp
index 60716859bd2..d667d57e710 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, std::string tag)
+ cshooter_state(const machine_config &mconfig, device_type type, const char *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 0f9c3bd9fab..fa87c2f7a02 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, std::string tag)
+ csplayh5_state(const machine_config &mconfig, device_type type, const char *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 f5bbd38bd23..3db9a40c5b9 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, std::string tag)
+ cswat_state(const machine_config &mconfig, device_type type, const char *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 9119ec50e54..1af48cb802d 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, std::string tag) :
+ ct486_state(const machine_config &mconfig, device_type type, const char *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 9e94330156f..6c084f3b897 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, std::string tag)
+ cubeqst_state(const machine_config &mconfig, device_type type, const char *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 1139f7d2913..2255cc6a1d4 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, std::string tag) :
+ cubo_state(const machine_config &mconfig, device_type type, const char *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 2e4adfaef02..f9d58e31d57 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, std::string tag)
+ cultures_state(const machine_config &mconfig, device_type type, const char *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 8b31e9f2c4e..cf85470c75c 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, std::string tag)
+ cupidon_state(const machine_config &mconfig, device_type type, const char *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 20bb43d0bc5..02f4cfae416 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, std::string tag)
+ cv1k_state(const machine_config &mconfig, device_type type, const char *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 7d143e78bd7..8939702099d 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, std::string tag)
+ cvicny_state(const machine_config &mconfig, device_type type, const char *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 cba2127c11d..f38b11a5096 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, std::string tag)
+ cybertnk_state(const machine_config &mconfig, device_type type, const char *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 14724984a03..0de60e76cac 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, std::string tag)
+ cyclemb_state(const machine_config &mconfig, device_type type, const char *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 d00d166636d..1b0415d9b4f 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, std::string tag)
+ czk80_state(const machine_config &mconfig, device_type type, const char *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 770f01efd14..79c9ecab945 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, std::string tag)
+ d6800_state(const machine_config &mconfig, device_type type, const char *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 cd8b45caeb6..1d6a17aecbe 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, std::string tag)
+ d6809_state(const machine_config &mconfig, device_type type, const char *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 3a95df85a80..571b365e972 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, std::string tag)
+ d9final_state(const machine_config &mconfig, device_type type, const char *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 b8663a93a9a..9179640f006 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, std::string tag)
+ dacholer_state(const machine_config &mconfig, device_type type, const char *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 f822bbbf15c..c14016c1e49 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, std::string tag)
+ dai3wksi_state(const machine_config &mconfig, device_type type, const char *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 cdfb13279e6..13626af687b 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, std::string tag)
+ dambustr_state(const machine_config &mconfig, device_type type, const char *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 d19c7d302bb..33f3226230c 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, std::string tag)
+ daruma_state(const machine_config &mconfig, device_type type, const char *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 ba1f07daecb..ed23cd2b96b 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, std::string tag)
+ dblcrown_state(const machine_config &mconfig, device_type type, const char *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 1472e7ded5e..9076254e457 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, std::string tag)
+ dblewing_state(const machine_config &mconfig, device_type type, const char *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 92e9ed71317..6140955e06a 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, std::string tag)
+ dct11em_state(const machine_config &mconfig, device_type type, const char *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 a9af7ae1da4..39a0ad6718b 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, std::string tag)
+ ddayjlc_state(const machine_config &mconfig, device_type type, const char *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 4d6a848c66d..3d475618c26 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, std::string tag)
+ ddealer_state(const machine_config &mconfig, device_type type, const char *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 27670651372..af2113dc8a4 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, std::string tag)
+ ddenlovr_state(const machine_config &mconfig, device_type type, const char *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 423fbc6f924..6a29b3b9e62 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)
{
- std::string tag = (const char *)param;
+ const char *tag = (const char *)param;
return ioport(tag)->read() & 0x3f;
}
CUSTOM_INPUT_MEMBER(wwfwfest_state::dsw_c0_r)
{
- std::string tag = (const char *)param;
+ const char *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 fd86c59950a..d51d3d5f4a3 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, std::string tag)
+ de_2_state(const machine_config &mconfig, device_type type, const char *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 6058077618c..24793a2058b 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, std::string tag)
+ de_3_state(const machine_config &mconfig, device_type type, const char *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 764d23f2b0f..f914a4ad3a4 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, std::string tag)
+ de_3b_state(const machine_config &mconfig, device_type type, const char *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 03b2b627176..faa0f3bb6a5 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, std::string tag)
+ deco156_state(const machine_config &mconfig, device_type type, const char *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( std::string tag );
+ void descramble_sound( const char *tag );
DECO16IC_BANK_CB_MEMBER(bank_callback);
DECOSPR_PRIORITY_CB_MEMBER(pri_callback);
};
@@ -632,7 +632,7 @@ ROM_END
/**********************************************************************************/
-void deco156_state::descramble_sound( std::string tag )
+void deco156_state::descramble_sound( const char *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 a64b7213068..13beeaf905c 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, std::string tag)
+ deco_ld_state(const machine_config &mconfig, device_type type, const char *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 3dd454f80fe..5f6a9b8cba2 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, std::string tag)
+ dectalk_state(const machine_config &mconfig, device_type type, const char *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 c839117bae8..105a113d703 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, std::string tag)
+ decwriter_state(const machine_config &mconfig, device_type type, const char *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 4ce6f3c389b..c7fa5025d59 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, std::string tag)
+ destiny_state(const machine_config &mconfig, device_type type, const char *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 d149d6f725f..026e057f14b 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, std::string tag)
+ destroyr_state(const machine_config &mconfig, device_type type, const char *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 95cf86ec28a..20e459a2b3d 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, std::string tag)
+ dfruit_state(const machine_config &mconfig, device_type type, const char *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 891e5434368..d3a3f8d270e 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, std::string tag)
+ dgpix_state(const machine_config &mconfig, device_type type, const char *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 7a7a1b13e16..615b3c199c1 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, std::string tag)
+ e100_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ md6802_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ mp68a_state(const machine_config &mconfig, device_type type, const char *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 1ed5a866db2..8e56c443a0f 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, std::string tag)
+ digel804_state(const machine_config &mconfig, device_type type, const char *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 797b4ec67d7..ccbfe695144 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, std::string tag)
+ dim68k_state(const machine_config &mconfig, device_type type, const char *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 c2968e9bdc1..f127c4554e2 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, std::string tag)
+ discoboy_state(const machine_config &mconfig, device_type type, const char *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 c83c94dd26b..b4146901107 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, std::string tag)
+ diverboy_state(const machine_config &mconfig, device_type type, const char *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 54bea119a1b..016e71a5358 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, std::string tag) :
+ dlair_state(const machine_config &mconfig, device_type type, const char *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 3446c8b6d13..0b246616fe0 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, std::string tag)
+ dlair2_state(const machine_config &mconfig, device_type type, const char *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 7aecf6fd278..209ac140802 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, std::string tag)
+ dmndrby_state(const machine_config &mconfig, device_type type, const char *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 d5ed20a25a9..953f9aebe74 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, std::string tag)
+ dms5000_state(const machine_config &mconfig, device_type type, const char *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 288b13c74cb..5ce16471276 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, std::string tag)
+ dms86_state(const machine_config &mconfig, device_type type, const char *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 ed014a8b17c..8940c1263fa 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, std::string tag)
+ dmv_state(const machine_config &mconfig, device_type type, const char *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 a66f67645de..329c14b446f 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, std::string tag)
+ dauphin_state(const machine_config &mconfig, device_type type, const char *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 c1d6fa52b96..1e64e010e4e 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, std::string tag)
+ dominob_state(const machine_config &mconfig, device_type type, const char *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 39209358672..daf69583d1a 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, std::string tag)
+ dorachan_state(const machine_config &mconfig, device_type type, const char *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 b90ae380823..4d4424fd4a8 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, std::string tag)
+ dotrikun_state(const machine_config &mconfig, device_type type, const char *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 b2b9e8ea468..1250d4881c5 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, std::string tag)
+ dps1_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
{ }
};
diff --git a/src/mame/drivers/dreambal.cpp b/src/mame/drivers/dreambal.cpp
index 707fc78c869..19516ea4123 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, std::string tag)
+ dreambal_state(const machine_config &mconfig, device_type type, const char *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 403bc881d64..85725dd36ab 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, std::string tag)
+ dreamwld_state(const machine_config &mconfig, device_type type, const char *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 1536bd9ecee..bfa7a311597 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, std::string tag)
+ drtomy_state(const machine_config &mconfig, device_type type, const char *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 5a4a054d3c7..c006afbb449 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, std::string tag)
+ drw80pkr_state(const machine_config &mconfig, device_type type, const char *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 2897d13b8ce..a0066e94d80 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, std::string tag)
+ dsb46_state(const machine_config &mconfig, device_type type, const char *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 438a58e41d7..122f00090bf 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, std::string tag)
+ dual68_state(const machine_config &mconfig, device_type type, const char *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 a04485f33e0..44c44c38510 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, std::string tag)
+ dunhuang_state(const machine_config &mconfig, device_type type, const char *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 4234b1b68b0..eb2236cee5d 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, std::string tag) :
+ kcgd_state(const machine_config &mconfig, device_type type, const char *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 e05af2c96a4..a136035ca0f 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, std::string tag) :
+ ksm_state(const machine_config &mconfig, device_type type, const char *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 05b49a77fee..bea0ff9d342 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, std::string tag)
+ dwarfd_state(const machine_config &mconfig, device_type type, const char *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 b867ec9cc88..c2604827b94 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, std::string tag)
+ dynadice_state(const machine_config &mconfig, device_type type, const char *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 36c5449f56e..38e7d29c3f3 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, std::string tag)
+ eacc_state(const machine_config &mconfig, device_type type, const char *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 163822be1b3..e0a1ed23348 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, std::string tag)
+ ec184x_state(const machine_config &mconfig, device_type type, const char *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 da546879db1..8d458b174b7 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, std::string tag)
+ ec65_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ ec65k_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
{
}
diff --git a/src/mame/drivers/ecoinf1.cpp b/src/mame/drivers/ecoinf1.cpp
index b7457795589..a4ba2c64e56 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, std::string tag)
+ ecoinf1_state(const machine_config &mconfig, device_type type, const char *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 b6f00522678..88509f164dc 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, std::string tag)
+ ecoinf2_state(const machine_config &mconfig, device_type type, const char *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 2f25850c88b..a9d72e6fbc8 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, std::string tag)
+ ecoinf3_state(const machine_config &mconfig, device_type type, const char *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 9085f6d7814..030c23c0cde 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, std::string tag)
+ ecoinfr_state(const machine_config &mconfig, device_type type, const char *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 4b924a5eb7d..863d39e1a01 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, std::string tag)
+ egghunt_state(const machine_config &mconfig, device_type type, const char *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 354e365305d..c2fd45e06b8 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().c_str());
+ fatalerror("Unknown screen '%s'\n", screen.tag());
return 0;
}
diff --git a/src/mame/drivers/elecbowl.cpp b/src/mame/drivers/elecbowl.cpp
index 5110ced34b9..65a2070bc5c 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, std::string tag)
+ elecbowl_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/electra.cpp b/src/mame/drivers/electra.cpp
index eeeb9f79318..7ef23853bec 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, std::string tag)
+ electra_state(const machine_config &mconfig, device_type type, const char *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 15adab5932c..0eecbf9df4e 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, std::string tag)
+ elekscmp_state(const machine_config &mconfig, device_type type, const char *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 89efec42d52..fa377badef9 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, std::string tag)
+ elwro800_state(const machine_config &mconfig, device_type type, const char *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 f7471a23501..586b96e16af 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, std::string tag)
+ embargo_state(const machine_config &mconfig, device_type type, const char *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 e88402b8a00..081b3f8ce96 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, std::string tag)
+ enigma2_state(const machine_config &mconfig, device_type type, const char *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 2de4a9e40aa..cdea1be9d8a 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, std::string tag)
+ mirage_state(const machine_config &mconfig, device_type type, const char *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 df2b161a0aa..6fe073c131c 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, std::string tag)
+ eolith16_state(const machine_config &mconfig, device_type type, const char *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 55bf32e6b20..e3723ee91cd 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, std::string tag)
+ ertictac_state(const machine_config &mconfig, device_type type, const char *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 597eeed6cad..72dcb78dfcb 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, std::string tag)
+ esh_state(const machine_config &mconfig, device_type type, const char *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 a30a463116c..daa63b3904d 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, std::string tag, device_t *owner, UINT32 clock);
+ esq1_filters(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+esq1_filters::esq1_filters(const machine_config &mconfig, const char *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, std::string tag)
+ esq1_state(const machine_config &mconfig, device_type type, const char *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 14229a2a11a..9b3e2493894 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, std::string tag)
+ esq5505_state(const machine_config &mconfig, device_type type, const char *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 7ab4f543409..7bdcc11d521 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, std::string tag)
+ esqasr_state(const machine_config &mconfig, device_type type, const char *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 1936171d8cd..b1a40fbb732 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, std::string tag)
+ esqkt_state(const machine_config &mconfig, device_type type, const char *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 2467863c702..1de6b16b3a4 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, std::string tag)
+ esqmr_state(const machine_config &mconfig, device_type type, const char *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 316a1d83890..aa02cf5e016 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, std::string tag)
+ et3400_state(const machine_config &mconfig, device_type type, const char *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 0c911750685..76b8c8b4d12 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, std::string tag)
+ ettrivia_state(const machine_config &mconfig, device_type type, const char *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 e053665368b..8a1f92ecfb0 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, std::string tag) :
+ europc_pc_state(const machine_config &mconfig, device_type type, const char *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 40669218ced..584544ed43d 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, std::string tag)
+ evmbug_state(const machine_config &mconfig, device_type type, const char *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 c519983c67d..8565eb550ba 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, std::string tag)
+ excali64_state(const machine_config &mconfig, device_type type, const char *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 eb982cc56bb..b32bad27f73 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, std::string tag)
+ exelv_state(const machine_config &mconfig, device_type type, const char *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 b5cc32385b4..cbaef90b02a 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, std::string tag)
+ exidyttl_state(const machine_config &mconfig, device_type type, const char *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 f747e9314d5..79549bfa123 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, std::string tag)
+ expro02_state(const machine_config &mconfig, device_type type, const char *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 69ff1f4dd68..4412839f895 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, std::string tag)
+ extrema_state(const machine_config &mconfig, device_type type, const char *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 40b69d31222..a3fa89710d5 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, std::string tag)
+ mosaicf2_state(const machine_config &mconfig, device_type type, const char *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 6032785d78c..ee39a617359 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, std::string tag)
+ famibox_state(const machine_config &mconfig, device_type type, const char *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 b192756c80c..c9cb662a2f4 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, std::string tag)
+ fanucs15_state(const machine_config &mconfig, device_type type, const char *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 d5dfb3a8d2d..88eb5836d87 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, std::string tag)
+ fanucspmg_state(const machine_config &mconfig, device_type type, const char *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 c77d4f43c17..875736b1aee 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, std::string tag)
+ fastinvaders_state(const machine_config &mconfig, device_type type, const char *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 8feb3510e71..b45fbe6f036 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, std::string tag)
+ fb01_state(const machine_config &mconfig, device_type type, const char *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 79e62a1308b..7b32ffc4a18 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, std::string tag)
+ fc100_state(const machine_config &mconfig, device_type type, const char *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 cfa668a377d..eb810a83fc4 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, std::string tag)
+ feversoc_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_mainram(*this, "workram"),
m_spriteram(*this, "spriteram"),
diff --git a/src/mame/drivers/fireball.cpp b/src/mame/drivers/fireball.cpp
index c0dfc8ef058..eb73ab3ad37 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, std::string tag)
+ fireball_state(const machine_config &mconfig, device_type type, const char *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 39bdf5ab101..bdfaac9e1a6 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, std::string tag)
+ firebeat_state(const machine_config &mconfig, device_type type, const char *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 ad6caeb26ec..6d52a64e925 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, std::string tag)
+ firefox_state(const machine_config &mconfig, device_type type, const char *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 a05814054c4..e250aada256 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, std::string tag)
+ fk1_state(const machine_config &mconfig, device_type type, const char *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 8e8878ea969..09947a0f2e6 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, std::string tag)
+ flicker_state(const machine_config &mconfig, device_type type, const char *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 60ead4b5feb..777686e7b7b 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, std::string tag)
+ flipjack_state(const machine_config &mconfig, device_type type, const char *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 3f26f6ab147..f2772125a32 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, std::string tag)
+ flyball_state(const machine_config &mconfig, device_type type, const char *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 b27e05d75ed..a4ba796836e 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, std::string tag) :
+force68k_state(const machine_config &mconfig, device_type type, const char *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 a877dd42689..6f0334ef9d0 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, std::string tag)
+ forte2_state(const machine_config &mconfig, device_type type, const char *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 229f9a5ae4e..59043194bfe 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, std::string tag)
+ fortecar_state(const machine_config &mconfig, device_type type, const char *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 dcc64db9ab5..6352049278c 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, std::string tag)
+ fp1100_state(const machine_config &mconfig, device_type type, const char *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 2fd185bc7c5..0bf5c3a0239 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, std::string tag)
+ fp200_state(const machine_config &mconfig, device_type type, const char *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 82700e9337a..fba366c95d9 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, std::string tag)
+ fp6000_state(const machine_config &mconfig, device_type type, const char *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 176c77adf75..b6bb3cc636f 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, std::string tag)
+ fresh_state(const machine_config &mconfig, device_type type, const char *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 79ff60ba47a..ce459586a45 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, std::string tag)
+ fruitpc_state(const machine_config &mconfig, device_type type, const char *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 9079be64afb..e8077b58b89 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, std::string tag)
+ ft68m_state(const machine_config &mconfig, device_type type, const char *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 1e4a7e21ea3..ac526d7153c 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, std::string tag)
+ fungames_state(const machine_config &mconfig, device_type type, const char *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 4f1e54c94db..caa650705fe 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, std::string tag)
+ funkball_state(const machine_config &mconfig, device_type type, const char *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 45338341b24..e96509a1703 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, std::string tag)
+ g627_state(const machine_config &mconfig, device_type type, const char *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 2a3d41b1539..4fcb523ade2 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, std::string tag)
+ gal3_state(const machine_config &mconfig, device_type type, const char *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 765f08f084e..617ce8a3956 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, std::string tag)
+ galaxi_state(const machine_config &mconfig, device_type type, const char *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 3867dbe9672..0855699da39 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, std::string tag)
+ galaxygame_state(const machine_config &mconfig, device_type type, const char *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 38c94e02085..a658e02409b 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().c_str(),data);
+ logerror("%s : %s bank %08X\n",machine().describe_context(),tag(),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().c_str(),data);
+ logerror("%s : %s bank %08X\n",machine().describe_context(),tag(),data);
}
diff --git a/src/mame/drivers/galpani3.cpp b/src/mame/drivers/galpani3.cpp
index 00432bba273..c54af2de04d 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, std::string tag)
+ galpani3_state(const machine_config &mconfig, device_type type, const char *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 a4e05da6306..66959b13008 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, std::string tag)
+ gamate_state(const machine_config &mconfig, device_type type, const char *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 7d2336472a3..89e009743c5 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, std::string tag)
+ gambl186_state(const machine_config &mconfig, device_type type, const char *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 7c5ddda7a22..97e2e248323 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, std::string tag)
+ gamecstl_state(const machine_config &mconfig, device_type type, const char *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 596936984e9..66ce023b10b 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, std::string tag)
+ gameking_state(const machine_config &mconfig, device_type type, const char *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 8b9714bc96e..6fb03850748 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, std::string tag)
+ gammagic_state(const machine_config &mconfig, device_type type, const char *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 d64b10af4e5..adb337a720a 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, std::string tag)
+ gaminator_state(const machine_config &mconfig, device_type type, const char *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 db310d6ef83..351ff521f69 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, std::string tag)
+ gei_state(const machine_config &mconfig, device_type type, const char *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 9538ea8a34f..59775a8f130 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, std::string tag)
+ geneve_state(const machine_config &mconfig, device_type type, const char *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 e9d964cd5a1..dbfd894b9e5 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, std::string tag)
+ geniusiq_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ gl8008cx_state(const machine_config &mconfig, device_type type, const char *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 23584037770..72d267b69af 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, std::string tag)
+ genpc_state(const machine_config &mconfig, device_type type, const char *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 12eed01a657..236a5c1c21d 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, std::string tag)
+ ggconnie_state(const machine_config &mconfig, device_type type, const char *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 d729fe2ecb8..6a57e0ccba5 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, std::string tag)
+ ghosteo_state(const machine_config &mconfig, device_type type, const char *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 b13af7ae728..c951b6309cb 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, std::string tag)
+ gimix_state(const machine_config &mconfig, device_type type, const char *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 0ac24396992..4f14b5ab349 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, std::string tag)
+ gizmondo_state(const machine_config &mconfig, device_type type, const char *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 eba151c6e1c..b751be8a2fb 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, std::string tag)
+ igt_gameking_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/glasgow.cpp b/src/mame/drivers/glasgow.cpp
index a0ee00c428b..c46ef03ae1c 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, std::string tag)
+ glasgow_state(const machine_config &mconfig, device_type type, const char *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 6347c4549d7..b64b666aba7 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, std::string tag)
+ globalfr_state(const machine_config &mconfig, device_type type, const char *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 f5329a531e2..04b957b9c90 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, std::string tag)
+ globalvr_state(const machine_config &mconfig, device_type type, const char *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 fc63a987ac3..5802238eddc 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, std::string tag)
+ gluck2_state(const machine_config &mconfig, device_type type, const char *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 71d293c771a..dc586efab82 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, std::string tag)
+ gmaster_state(const machine_config &mconfig, device_type type, const char *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 798044ccd99..5bb7a58f0a3 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, std::string tag)
+ go2000_state(const machine_config &mconfig, device_type type, const char *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 37b0c8dea40..18ad31bd62d 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, std::string tag)
+ goldngam_state(const machine_config &mconfig, device_type type, const char *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 f8e973c0b5b..5c691c5922b 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, std::string tag)
+ goldnpkr_state(const machine_config &mconfig, device_type type, const char *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 bc64b5c52cc..17f9c13e191 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, std::string tag)
+ good_state(const machine_config &mconfig, device_type type, const char *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 7262009a93c..77a7aff5e94 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, std::string tag)
+ goodejan_state(const machine_config &mconfig, device_type type, const char *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 340aead7a7a..0865638044e 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, std::string tag)
+ gp2x_state(const machine_config &mconfig, device_type type, const char *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 f3919fa5421..96d4e94cb78 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, std::string tag)
+ gp_1_state(const machine_config &mconfig, device_type type, const char *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 d9420122252..b829912b939 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, std::string tag)
+ gp_2_state(const machine_config &mconfig, device_type type, const char *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 a2401258d0e..9140db8af75 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, std::string tag)
+ gpworld_state(const machine_config &mconfig, device_type type, const char *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 0d18239188e..cc9c16a74b2 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, std::string tag)
+ grfd2301_state(const machine_config &mconfig, device_type type, const char *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 b08e1363cc8..bef7f573d07 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, std::string tag)
+ gstream_state(const machine_config &mconfig, device_type type, const char *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 89bc42be2b8..b751e7fc029 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, std::string tag)
+ gticlub_state(const machine_config &mconfig, device_type type, const char *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 (screen.tag()==":lscreen")
+ if (strcmp(screen.tag(), ":lscreen") == 0)
{
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 (screen.tag()==":rscreen")
+ else if (strcmp(screen.tag(), ":rscreen") == 0)
{
device_t *voodoo = machine().device("voodoo1");
diff --git a/src/mame/drivers/gts1.cpp b/src/mame/drivers/gts1.cpp
index 17e5b781012..ffed197ba3c 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, std::string tag)
+ gts1_state(const machine_config &mconfig, device_type type, const char *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 ff618eee830..151a286c212 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, std::string tag)
+ gts3_state(const machine_config &mconfig, device_type type, const char *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 690ec7577fb..a437c38300e 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, std::string tag)
+ gts3a_state(const machine_config &mconfig, device_type type, const char *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 c9fa11f900b..f6ae1241425 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, std::string tag)
+ gts80_state(const machine_config &mconfig, device_type type, const char *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 ff0feee8879..4a399daf3e2 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, std::string tag)
+ gts80a_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ caveman_state(const machine_config &mconfig, device_type type, const char *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 422291339a9..28914a300c4 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, std::string tag)
+ gts80b_state(const machine_config &mconfig, device_type type, const char *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 0f6e9da82e1..e67cfdd7d02 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, std::string tag)
+ guab_state(const machine_config &mconfig, device_type type, const char *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 f07b7aed43d..80285fe5c1f 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, std::string tag)
+ gunpey_state(const machine_config &mconfig, device_type type, const char *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 10ee8978983..d9e7e4c3e8b 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, std::string tag)
+ h19_state(const machine_config &mconfig, device_type type, const char *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 5c05a385891..5c4eb0d305b 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, std::string tag)
+ h8_state(const machine_config &mconfig, device_type type, const char *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 decfe522856..4e50ebdae18 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, std::string tag)
+ h89_state(const machine_config &mconfig, device_type type, const char *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 a92d0bb569c..8a8737dc516 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, std::string tag)
+ halleys_state(const machine_config &mconfig, device_type type, const char *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 b2d4c82685d..10cd8f17c14 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, std::string tag)
+ hankin_state(const machine_config &mconfig, device_type type, const char *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 3b5439639d1..5f9dd079869 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, std::string tag, device_t *owner, UINT32 clock)
+harddriv_state::harddriv_state(const machine_config &mconfig, const char *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, std::string tag, d
class harddriv_new_state : public driver_device
{
public:
- harddriv_new_state(const machine_config &mconfig, device_type type, std::string tag)
+ harddriv_new_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock)
+harddriv_board_device_state::harddriv_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+harddrivc_board_device_state::harddrivc_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+racedriv_board_device_state::racedriv_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+racedrivc_board_device_state::racedrivc_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+stunrun_board_device_state::stunrun_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+steeltal_board_device_state::steeltal_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+strtdriv_board_device_state::strtdriv_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+hdrivair_board_device_state::hdrivair_board_device_state(const machine_config &mconfig, const char *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 9f36a4abf31..a589f2d51af 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, std::string tag)
+ harriet_state(const machine_config &mconfig, device_type type, const char *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 8cc64d0df47..b22c62381f9 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, std::string tag)
+ haze_state(const machine_config &mconfig, device_type type, const char *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 529f1470339..5eddfa20c66 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, std::string tag)
+ headonb_state(const machine_config &mconfig, device_type type, const char *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 9fa045f51c5..486f6882b28 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, std::string tag)
+ hh_cop400_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ ctstein_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ einvaderc_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ funjacks_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ funrlgl_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ plus1_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ lightfgt_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_cop400_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/hh_hmcs40.cpp b/src/mame/drivers/hh_hmcs40.cpp
index 28708d86516..8ded810c534 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, std::string tag)
+ hh_hmcs40_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ bambball_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ bmboxing_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ bfriskyt_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ packmon_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ msthawk_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ bzaxxon_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ zackman_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ bpengo_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ bbtime_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ bdoramon_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ bultrman_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ machiman_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ pairmtch_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ alnattck_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ cdkong_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ cgalaxn_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ cpacman_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ cmspacmn_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ egalaxn2_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ epacman2_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ eturtles_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ estargte_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ ghalien_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ gckong_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ gdigdug_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ mwcbaseb_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ pbqbert_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ kingman_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ tmtron_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ vinvader_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_hmcs40_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/hh_melps4.cpp b/src/mame/drivers/hh_melps4.cpp
index ddc2e50d70a..541352078d7 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, std::string tag)
+ hh_melps4_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ cfrogger_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ gjungler_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_melps4_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/hh_pic16.cpp b/src/mame/drivers/hh_pic16.cpp
index 7c4855944fd..bb65a69265e 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, std::string tag)
+ hh_pic16_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ maniac_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_pic16_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/hh_sm510.cpp b/src/mame/drivers/hh_sm510.cpp
index 814fddb4e2e..13c8b835fc4 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, std::string tag)
+ hh_sm510_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ ktopgun_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ ktmnt_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ gnwmndon_state(const machine_config &mconfig, device_type type, const char *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 21158dd907a..9702aded253 100644
--- a/src/mame/drivers/hh_tms1k.cpp
+++ b/src/mame/drivers/hh_tms1k.cpp
@@ -351,7 +351,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, std::string tag)
+ mathmagi_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -529,7 +529,7 @@ MACHINE_CONFIG_END
class amaztron_state : public hh_tms1k_state
{
public:
- amaztron_state(const machine_config &mconfig, device_type type, std::string tag)
+ amaztron_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -670,7 +670,7 @@ MACHINE_CONFIG_END
class h2hbaseb_state : public hh_tms1k_state
{
public:
- h2hbaseb_state(const machine_config &mconfig, device_type type, std::string tag)
+ h2hbaseb_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -808,7 +808,7 @@ MACHINE_CONFIG_END
class h2hfootb_state : public hh_tms1k_state
{
public:
- h2hfootb_state(const machine_config &mconfig, device_type type, std::string tag)
+ h2hfootb_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -946,7 +946,7 @@ MACHINE_CONFIG_END
class tc4_state : public hh_tms1k_state
{
public:
- tc4_state(const machine_config &mconfig, device_type type, std::string tag)
+ tc4_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -1101,7 +1101,7 @@ MACHINE_CONFIG_END
class ebball_state : public hh_tms1k_state
{
public:
- ebball_state(const machine_config &mconfig, device_type type, std::string tag)
+ ebball_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -1232,7 +1232,7 @@ MACHINE_CONFIG_END
class ebball2_state : public hh_tms1k_state
{
public:
- ebball2_state(const machine_config &mconfig, device_type type, std::string tag)
+ ebball2_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -1362,7 +1362,7 @@ MACHINE_CONFIG_END
class ebball3_state : public hh_tms1k_state
{
public:
- ebball3_state(const machine_config &mconfig, device_type type, std::string tag)
+ ebball3_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -1525,7 +1525,7 @@ MACHINE_CONFIG_END
class einvader_state : public hh_tms1k_state
{
public:
- einvader_state(const machine_config &mconfig, device_type type, std::string tag)
+ einvader_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -1633,7 +1633,7 @@ MACHINE_CONFIG_END
class efootb4_state : public hh_tms1k_state
{
public:
- efootb4_state(const machine_config &mconfig, device_type type, std::string tag)
+ efootb4_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -1762,7 +1762,7 @@ MACHINE_CONFIG_END
class ebaskb2_state : public hh_tms1k_state
{
public:
- ebaskb2_state(const machine_config &mconfig, device_type type, std::string tag)
+ ebaskb2_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -1888,7 +1888,7 @@ MACHINE_CONFIG_END
class raisedvl_state : public hh_tms1k_state
{
public:
- raisedvl_state(const machine_config &mconfig, device_type type, std::string tag)
+ raisedvl_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -2020,7 +2020,7 @@ MACHINE_CONFIG_END
class gpoker_state : public hh_tms1k_state
{
public:
- gpoker_state(const machine_config &mconfig, device_type type, std::string tag)
+ gpoker_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag),
m_beeper(*this, "beeper")
{ }
@@ -2165,7 +2165,7 @@ MACHINE_CONFIG_END
class gjackpot_state : public gpoker_state
{
public:
- gjackpot_state(const machine_config &mconfig, device_type type, std::string tag)
+ gjackpot_state(const machine_config &mconfig, device_type type, const char *tag)
: gpoker_state(mconfig, type, tag)
{ }
@@ -2280,7 +2280,7 @@ MACHINE_CONFIG_END
class elecdet_state : public hh_tms1k_state
{
public:
- elecdet_state(const machine_config &mconfig, device_type type, std::string tag)
+ elecdet_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -2404,7 +2404,7 @@ MACHINE_CONFIG_END
class starwbc_state : public hh_tms1k_state
{
public:
- starwbc_state(const machine_config &mconfig, device_type type, std::string tag)
+ starwbc_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -2529,7 +2529,7 @@ MACHINE_CONFIG_END
class astro_state : public hh_tms1k_state
{
public:
- astro_state(const machine_config &mconfig, device_type type, std::string tag)
+ astro_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -2653,7 +2653,7 @@ MACHINE_CONFIG_END
class mdndclab_state : public hh_tms1k_state
{
public:
- mdndclab_state(const machine_config &mconfig, device_type type, std::string tag)
+ mdndclab_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -2850,7 +2850,7 @@ MACHINE_CONFIG_END
class comp4_state : public hh_tms1k_state
{
public:
- comp4_state(const machine_config &mconfig, device_type type, std::string tag)
+ comp4_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -2949,7 +2949,7 @@ MACHINE_CONFIG_END
class simon_state : public hh_tms1k_state
{
public:
- simon_state(const machine_config &mconfig, device_type type, std::string tag)
+ simon_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -3048,7 +3048,7 @@ MACHINE_CONFIG_END
class ssimon_state : public hh_tms1k_state
{
public:
- ssimon_state(const machine_config &mconfig, device_type type, std::string tag)
+ ssimon_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -3196,7 +3196,7 @@ MACHINE_CONFIG_END
class bigtrak_state : public hh_tms1k_state
{
public:
- bigtrak_state(const machine_config &mconfig, device_type type, std::string tag)
+ bigtrak_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -3375,7 +3375,7 @@ MACHINE_CONFIG_END
class cnsector_state : public hh_tms1k_state
{
public:
- cnsector_state(const machine_config &mconfig, device_type type, std::string tag)
+ cnsector_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -3508,7 +3508,7 @@ MACHINE_CONFIG_END
class merlin_state : public hh_tms1k_state
{
public:
- merlin_state(const machine_config &mconfig, device_type type, std::string tag)
+ merlin_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -3627,7 +3627,7 @@ MACHINE_CONFIG_END
class mmerlin_state : public merlin_state
{
public:
- mmerlin_state(const machine_config &mconfig, device_type type, std::string tag)
+ mmerlin_state(const machine_config &mconfig, device_type type, const char *tag)
: merlin_state(mconfig, type, tag)
{ }
};
@@ -3681,7 +3681,7 @@ MACHINE_CONFIG_END
class stopthief_state : public hh_tms1k_state
{
public:
- stopthief_state(const machine_config &mconfig, device_type type, std::string tag)
+ stopthief_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -3802,7 +3802,7 @@ MACHINE_CONFIG_END
class bankshot_state : public hh_tms1k_state
{
public:
- bankshot_state(const machine_config &mconfig, device_type type, std::string tag)
+ bankshot_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -3925,7 +3925,7 @@ MACHINE_CONFIG_END
class splitsec_state : public hh_tms1k_state
{
public:
- splitsec_state(const machine_config &mconfig, device_type type, std::string tag)
+ splitsec_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -4026,7 +4026,7 @@ MACHINE_CONFIG_END
class tandy12_state : public hh_tms1k_state
{
public:
- tandy12_state(const machine_config &mconfig, device_type type, std::string tag)
+ tandy12_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
@@ -4198,7 +4198,7 @@ MACHINE_CONFIG_END
class tbreakup_state : public hh_tms1k_state
{
public:
- tbreakup_state(const machine_config &mconfig, device_type type, std::string tag)
+ tbreakup_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag),
m_expander(*this, "expander")
{ }
@@ -4394,7 +4394,7 @@ MACHINE_CONFIG_END
class phpball_state : public hh_tms1k_state
{
public:
- phpball_state(const machine_config &mconfig, device_type type, std::string tag)
+ phpball_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/hh_ucom4.cpp b/src/mame/drivers/hh_ucom4.cpp
index f4132559f01..1b7c020bba3 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, std::string tag)
+ ufombs_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ ssfball_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ bmsoccer_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ bmsafari_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ splasfgt_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ bcclimbr_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ tactix_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ invspace_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ efball_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ galaxy2_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ astrocmd_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ edracula_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ mvbfree_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ tccombat_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ tmtennis_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ tmpacman_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ tmscramb_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ tcaveman_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ alnchase_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_ucom4_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/hideseek.cpp b/src/mame/drivers/hideseek.cpp
index 1f9021ec75e..59ae4bd5d51 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, std::string tag)
+ hideseek_state(const machine_config &mconfig, device_type type, const char *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 85c0bac9d42..72be90d47f7 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, std::string tag)
+ highvdeo_state(const machine_config &mconfig, device_type type, const char *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 0755e84d04f..b5939d4e09e 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, std::string tag)
+ hikaru_state(const machine_config &mconfig, device_type type, const char *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 4679e485f23..5991792fb5a 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, std::string tag)
+ hitpoker_state(const machine_config &mconfig, device_type type, const char *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 2b869cd7797..a6b5a357595 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, std::string tag) :
+hk68v10_state(const machine_config &mconfig, device_type type, const char *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 6f3a5bd4a7d..0d6fc6735f1 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, std::string tag)
+ homelab_state(const machine_config &mconfig, device_type type, const char *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 0f4976cae76..ccddfcddccd 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, std::string tag)
+ homez80_state(const machine_config &mconfig, device_type type, const char *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 05c9c89a7dd..11076e517f2 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, std::string tag)
+ horizon_state(const machine_config &mconfig, device_type type, const char *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 28d358bb450..71f94ad4929 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, std::string tag)
+ hornet_state(const machine_config &mconfig, device_type type, const char *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 (screen.tag()==":lscreen")
+ if (strcmp(screen.tag(), ":lscreen") == 0)
{
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 (screen.tag()==":rscreen")
+ else if (strcmp(screen.tag(), ":rscreen") == 0)
{
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 3da421f75c0..e6fd43c2d78 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, std::string tag)
+ hotblock_state(const machine_config &mconfig, device_type type, const char *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 b891eadf90a..ac5d14e0366 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, std::string tag)
+ hotstuff_state(const machine_config &mconfig, device_type type, const char *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 10ec05cc9d8..d1783557ad7 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, std::string tag)
+ hp16500_state(const machine_config &mconfig, device_type type, const char *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 f79c01ec9d4..4dbfe0bdb56 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, std::string tag)
+ hp49gp_state(const machine_config &mconfig, device_type type, const char *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 9bd8440b9de..02f6fd696a1 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, std::string tag);
+ hp64k_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+hp64k_state::hp64k_state(const machine_config &mconfig, device_type type, const char *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 c308e890cbb..c303d1066d3 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, std::string tag) :
+ hp9845_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+ hp9845b_state(const machine_config &mconfig, device_type type, const char *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 1d9b947926a..9fa6ae09513 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, std::string tag)
+ hp9k_state(const machine_config &mconfig, device_type type, const char *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 f3117d8afcc..8bc7b1ec410 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, std::string tag)
+ hp9k3xx_state(const machine_config &mconfig, device_type type, const char *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 845a23f1958..1eddffdf46f 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, std::string tag)
+ hp_ipc_state(const machine_config &mconfig, device_type type, const char *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 e7a3c7fe7d6..dabd2b3d0f4 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, std::string tag)
+ hprot1_state(const machine_config &mconfig, device_type type, const char *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 6c82c7f0b21..db39fbcc6d6 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, std::string tag)
+ hpz80unk_state(const machine_config &mconfig, device_type type, const char *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 563229b5094..b09ae69ce60 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, std::string tag)
+ ht68k_state(const machine_config &mconfig, device_type type, const char *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 c94724f44a0..246d8fcf641 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, std::string tag)
+ hunter2_state(const machine_config &mconfig, device_type type, const char *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 8e150b0aca5..21ec09dfe4b 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, std::string tag)
+ hvyunit_state(const machine_config &mconfig, device_type type, const char *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 598af762fa7..6813997dc33 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, std::string tag)
+ hyperscan_state(const machine_config &mconfig, device_type type, const char *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 87fa0f712f3..378c585cf64 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, std::string tag)
+ i7000_state(const machine_config &mconfig, device_type type, const char *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 2caa74d04f1..93162d7a3a9 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, std::string tag)
+ ibm6580_state(const machine_config &mconfig, device_type type, const char *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 a4349857dd2..f49d500e829 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, std::string tag)
+ ibmpc_state(const machine_config &mconfig, device_type type, const char *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 37bbf9d40a7..f67bc071494 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, std::string tag)
+ pcjr_state(const machine_config &mconfig, device_type type, const char *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 10124c3727b..34e88e683fa 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, std::string tag)
+ icatel_state(const machine_config &mconfig, device_type type, const char *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 4bff01178c0..0fb674c3e0e 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, std::string tag)
+ ice_bozopail(const machine_config &mconfig, device_type type, const char *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 04f92cd74f1..1d5fada7d9d 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, std::string tag)
+ ice_tbd_state(const machine_config &mconfig, device_type type, const char *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 55a92b5f8d6..a21cb19976b 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, std::string tag)
+ icecold_state(const machine_config &mconfig, device_type type, const char *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 23db14b22c5..6ac2c0c0404 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, std::string tag)
+ ichibanjyan_state(const machine_config &mconfig, device_type type, const char *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 edadf371478..558f6402d7f 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, std::string tag) :
+ ie15_state(const machine_config &mconfig, device_type type, const char *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 d840a7fbc5a..70e04f531d1 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, std::string tag)
+ if800_state(const machine_config &mconfig, device_type type, const char *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 8ae172df9e3..effc725129c 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, std::string tag)
+ igs009_state(const machine_config &mconfig, device_type type, const char *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 1f5629ff019..5375a46d499 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, std::string tag)
+ igs011_state(const machine_config &mconfig, device_type type, const char *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 64e6a2da50d..1d1d439b3fc 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, std::string tag)
+ igs017_state(const machine_config &mconfig, device_type type, const char *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 fb74a19e951..19a3976954c 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, std::string tag)
+ igs_fear_state(const machine_config &mconfig, device_type type, const char *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 8939d49865a..48d85476b15 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, std::string tag)
+ igs_m027_state(const machine_config &mconfig, device_type type, const char *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 2dffab6d176..a101a74b3b9 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, std::string tag)
+ igs_m036_state(const machine_config &mconfig, device_type type, const char *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 c6afd16a2ca..2acd3fc9b2f 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, std::string tag)
+ speeddrv_state(const machine_config &mconfig, device_type type, const char *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 9bd844b6e27..18d32b1d5e1 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, std::string tag)
+ igspoker_state(const machine_config &mconfig, device_type type, const char *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 6de967bb957..0748c6d700f 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, std::string tag)
+ imds_state(const machine_config &mconfig, device_type type, const char *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 64694decc76..7a579f7a89b 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, std::string tag)
+imds2_state::imds2_state(const machine_config &mconfig, device_type type, const char *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 2749dc48f8f..5de4ed28812 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, std::string tag)
+ imolagp_state(const machine_config &mconfig, device_type type, const char *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 e477ba7c71b..c41ada8d586 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, std::string tag)
+ imsai_state(const machine_config &mconfig, device_type type, const char *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 259ac816d19..f0dea109f11 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, std::string tag)
+ inder_state(const machine_config &mconfig, device_type type, const char *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 f293d0e949f..7852506df7a 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, std::string tag)
+ indiana_state(const machine_config &mconfig, device_type type, const char *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 c10f7fa8c11..64a3a1c1c01 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, std::string tag)
+ indigo_state(const machine_config &mconfig, device_type type, const char *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 ed894f3e1b0..9d76f45c753 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, std::string tag) :
+ ip22_state(const machine_config &mconfig, device_type type, const char *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 c4eaca9a4fd..469203c59cc 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, std::string tag)
+ instruct_state(const machine_config &mconfig, device_type type, const char *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 e0281ecf65f..35ecbbf2276 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, std::string tag)
+ interact_state(const machine_config &mconfig, device_type type, const char *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 e30bc8223fc..9c27cd17f45 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, std::string tag)
+ intrscti_state(const machine_config &mconfig, device_type type, const char *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 05c8b7b79a8..b0daddc94f2 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, std::string tag)
+ invqix_state(const machine_config &mconfig, device_type type, const char *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 94d103fa259..04798d223a9 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, std::string tag)
+ ipc_state(const machine_config &mconfig, device_type type, const char *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 7462cf98c0c..00df139e72e 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, std::string tag)
+ ipds_state(const machine_config &mconfig, device_type type, const char *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 1214ce8e6b2..76986eae7f9 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, std::string tag)
+ iq151_state(const machine_config &mconfig, device_type type, const char *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 9a4eb17bc5e..47d8c0fb9b1 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, std::string tag)
+ sgi_ip2_state(const machine_config &mconfig, device_type type, const char *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 62e624899c2..bdb0a39dd36 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, std::string tag) :
+ irisha_state(const machine_config &mconfig, device_type type, const char *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 304bf1184cd..600b0886b74 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, std::string tag)
+ isbc_state(const machine_config &mconfig, device_type type, const char *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 45106f3743a..945415f676b 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, std::string tag)
+ iskr103x_state(const machine_config &mconfig, device_type type, const char *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 8913b15a2df..272eb7b1e9a 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, std::string tag)
+ istellar_state(const machine_config &mconfig, device_type type, const char *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 106cf700641..7346b6db62d 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, std::string tag)
+ iteagle_state(const machine_config &mconfig, device_type type, const char *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 834057e8bae..13b33bdaf1d 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 67812206cd3..1852545ccc3 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, std::string tag)
+ itgambl2_state(const machine_config &mconfig, device_type type, const char *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 d1ed0b20cac..96ac6efe2b8 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, std::string tag)
+ itgambl3_state(const machine_config &mconfig, device_type type, const char *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 d61efae2663..8c9cf972924 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, std::string tag)
+ itgamble_state(const machine_config &mconfig, device_type type, const char *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 b3f02baa35f..98a2f64c7cc 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, std::string tag)
+ itt3030_state(const machine_config &mconfig, device_type type, const char *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 3e0667632d7..26fb86afcbf 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, std::string tag)
+ jackie_state(const machine_config &mconfig, device_type type, const char *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 2d2ed3c47b0..b5528b4fc8b 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, std::string tag)
+ jackpool_state(const machine_config &mconfig, device_type type, const char *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 659075458c8..38710c20bd8 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, std::string tag)
+ jade_state(const machine_config &mconfig, device_type type, const char *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 aba346f274e..17fa609b29c 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, std::string tag, device_t *owner, UINT32 clock)
+ cojag_hdd(const machine_config &mconfig, const char *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 32b541b4357..426aab1e010 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, std::string tag)
+ jalmah_state(const machine_config &mconfig, device_type type, const char *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 75ecbb1622d..a72c7c1a9b6 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, std::string tag)
+ jangou_state(const machine_config &mconfig, device_type type, const char *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 104724ff750..f6182842d14 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, std::string tag)
+ jankenmn_state(const machine_config &mconfig, device_type type, const char *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 b42950e2db6..94a3cbd8710 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, std::string tag)
+ jantotsu_state(const machine_config &mconfig, device_type type, const char *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 d98c66aad21..a5eb0ba0699 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, std::string tag)
+ jchan_state(const machine_config &mconfig, device_type type, const char *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 777d9f82d79..e3135dcbc6e 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, std::string tag)
+ darkhors_state(const machine_config &mconfig, device_type type, const char *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 0cd387c68d8..c86dc4821e5 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, std::string tag)
+ jeutel_state(const machine_config &mconfig, device_type type, const char *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 0599f23a050..67c76df6eb8 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, std::string tag)
+ jokrwild_state(const machine_config &mconfig, device_type type, const char *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 78862f77700..8026d553914 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, std::string tag)
+ jollyjgr_state(const machine_config &mconfig, device_type type, const char *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 c8dffe3c1ac..46e762a799f 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, std::string tag)
+ jongkyo_state(const machine_config &mconfig, device_type type, const char *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 96c4b133336..657d2dca18b 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, std::string tag)
+ jonos_state(const machine_config &mconfig, device_type type, const char *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 f31cc2e1e83..a17aacc787a 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, std::string tag)
+ joystand_state(const machine_config &mconfig, device_type type, const char *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 0df22f3677a..4e25800686a 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, std::string tag)
+ jp_state(const machine_config &mconfig, device_type type, const char *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 6071aaa5d6a..c80b2c8fa64 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, std::string tag)
+ jpmmps_state(const machine_config &mconfig, device_type type, const char *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 9decebb1123..ff3edef631a 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, std::string tag)
+ jpms80_state(const machine_config &mconfig, device_type type, const char *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 2b51e6b84e1..98a3a895991 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, std::string tag)
+ jpmsru_state(const machine_config &mconfig, device_type type, const char *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 60e4c3062c7..44b8134d67e 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, std::string tag)
+ jpmsys7_state(const machine_config &mconfig, device_type type, const char *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 e9cd0ed0872..8ec6d10dfc1 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, std::string tag)
+ jr100_state(const machine_config &mconfig, device_type type, const char *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 961688c0bff..f04d8bb1c07 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, std::string tag)
+ jr200_state(const machine_config &mconfig, device_type type, const char *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 02a8fa6aacb..773a6788d4a 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, std::string tag)
+ jrpacman_state(const machine_config &mconfig, device_type type, const char *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 9b1c4c9544d..07114be0ac1 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, std::string tag)
+ jtc_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ jtces88_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ jtces23_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ jtces40_state(const machine_config &mconfig, device_type type, const char *tag)
: jtc_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/jubilee.cpp b/src/mame/drivers/jubilee.cpp
index 95ab37d9d18..cee308786cd 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, std::string tag)
+ jubilee_state(const machine_config &mconfig, device_type type, const char *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 0b1f2fb62e1..3b6a24e568c 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, std::string tag)
+ juicebox_state(const machine_config &mconfig, device_type type, const char *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 f88c2abf3ad..6a3f4c3928c 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, std::string tag)
+ junior_state(const machine_config &mconfig, device_type type, const char *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 159f94bddb8..f8a5b55b9d8 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, std::string tag)
+ junofrst_state(const machine_config &mconfig, device_type type, const char *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 85a053608e8..86ba95a41c6 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, std::string tag)
+ ace_state(const machine_config &mconfig, device_type type, const char *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 eec499e8518..68c5c44b120 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, std::string tag)
+ jvh_state(const machine_config &mconfig, device_type type, const char *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 c24017f1cca..fd95cf461d3 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, std::string tag)
+ k1003_state(const machine_config &mconfig, device_type type, const char *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 b95f0dc81ce..568851f15e0 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, std::string tag)
+ k8915_state(const machine_config &mconfig, device_type type, const char *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 54440c69c7e..96b3987b6de 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, std::string tag, int bank, size_t fixedsize, size_t bankedsize )
+void kaneko16_state::kaneko16_common_oki_bank_w( const char *bankname, const char* 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 767ade46e8a..cf7cd47487f 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, std::string tag)
+ kas89_state(const machine_config &mconfig, device_type type, const char *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 9835db8afac..e5ec6e2cd78 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, std::string tag)
+ kenseim_state(const machine_config &mconfig, device_type type, const char *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 ca0bc4073d0..828b8357805 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, std::string tag)
+ kim1_state(const machine_config &mconfig, device_type type, const char *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 2040c9281bd..ac0f42de2bd 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, std::string tag)
+ kingdrby_state(const machine_config &mconfig, device_type type, const char *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 2dc917dfc43..6f72cd2ee2c 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, std::string tag)
+ kingpin_state(const machine_config &mconfig, device_type type, const char *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 56768ff65a1..46775f6378b 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, std::string tag)
+ kinst_state(const machine_config &mconfig, device_type type, const char *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 1d2e7a674fb..4ba8f744db8 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, std::string tag)
+ kissp_state(const machine_config &mconfig, device_type type, const char *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 48c77745419..9156ec999d6 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, std::string tag)
+ koftball_state(const machine_config &mconfig, device_type type, const char *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 7dc046acee7..2e374415c5c 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, std::string tag)
+ koikoi_state(const machine_config &mconfig, device_type type, const char *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 21051c57664..458737b8556 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, std::string tag)
+ konamigq_state(const machine_config &mconfig, device_type type, const char *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 cc426022594..24a2a64cbde 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, std::string tag)
+ konamigv_state(const machine_config &mconfig, device_type type, const char *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 db61f5d8077..426556d0e95 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, std::string tag)
+ konamim2_state(const machine_config &mconfig, device_type type, const char *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 3535ddb3867..9e8f542eb65 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, std::string tag)
+ konendev_state(const machine_config &mconfig, device_type type, const char *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 e78bb1743b1..ac7c8a0d69c 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, std::string tag)
+ konin_state(const machine_config &mconfig, device_type type, const char *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 90266c31f87..f14f545f840 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, std::string tag)
+ kontest_state(const machine_config &mconfig, device_type type, const char *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 f3fa5769c29..6714aaab7dc 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, std::string tag)
+ korgm1_state(const machine_config &mconfig, device_type type, const char *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 89c464476d9..18de66cf40d 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, std::string tag ) :
+ ksys573_state( const machine_config &mconfig, device_type type, const char *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 827d11b0f3d..0a4d2b5c86c 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, std::string tag)
+ kungfur_state(const machine_config &mconfig, device_type type, const char *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 f6da4092398..ef8248de862 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, std::string tag)
+ kurukuru_state(const machine_config &mconfig, device_type type, const char *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 c39112dffa8..c8732ac239d 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, std::string tag)
+ laser3k_state(const machine_config &mconfig, device_type type, const char *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 9522234496c..77684ccfc78 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, std::string tag)
+ laserbas_state(const machine_config &mconfig, device_type type, const char *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 77a0d5e2746..75bafbb6d6c 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, std::string tag)
+ lastbank_state(const machine_config &mconfig, device_type type, const char *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 1c4e59edc8b..b4d34c73d1c 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, std::string tag)
+ lastfght_state(const machine_config &mconfig, device_type type, const char *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 f92210e0416..d9611e29dd6 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, std::string tag)
+ aftrshok_state(const machine_config &mconfig, device_type type, const char *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 cc5cf7fc40c..e0ae4697f64 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, std::string tag)
+ awetoss_state(const machine_config &mconfig, device_type type, const char *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 15cc298f44a..fde9067a7b0 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, std::string tag)
+ laz_ribrac_state(const machine_config &mconfig, device_type type, const char *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 05acb63d805..22000e3069a 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, std::string tag)
+ lbeach_state(const machine_config &mconfig, device_type type, const char *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 a633813b5c8..01daa3ce6d4 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, std::string tag)
+ lcmate2_state(const machine_config &mconfig, device_type type, const char *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 45709316727..7f53fea59d4 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, std::string tag)
+ leapster_state(const machine_config &mconfig, device_type type, const char *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 e2ee2169d4a..63479765180 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, std::string tag)
+ lft_state(const machine_config &mconfig, device_type type, const char *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 4ea7b54c03b..0ea3c2ad14a 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, std::string tag)
+ lg_dvd_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
maincpu(*this, "maincpu")
{ }
diff --git a/src/mame/drivers/lgp.cpp b/src/mame/drivers/lgp.cpp
index 58f5360f721..aa1f18ff8b6 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, std::string tag)
+ lgp_state(const machine_config &mconfig, device_type type, const char *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 d89650c3155..57c7f1df3b4 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, std::string tag)
+ limenko_state(const machine_config &mconfig, device_type type, const char *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 2bdcba66559..e83f0a37d39 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, std::string tag);
+ lindbergh_state(const machine_config &mconfig, device_type type, const char *tag);
virtual void machine_start() override;
virtual void machine_reset() override;
};
-lindbergh_state::lindbergh_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag)
+lindbergh_state::lindbergh_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag)
{
}
diff --git a/src/mame/drivers/littlerb.cpp b/src/mame/drivers/littlerb.cpp
index bbb9b862877..6ec40e52ff2 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, std::string tag)
+ littlerb_state(const machine_config &mconfig, device_type type, const char *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 095463e2478..ae8b90b6a8e 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, std::string tag)
+ lola8a_state(const machine_config &mconfig, device_type type, const char *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 897312e90a7..09ba6ffeda2 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, std::string tag)
+ looping_state(const machine_config &mconfig, device_type type, const char *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 7fe1453feb8..49bc8da5301 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, std::string tag)
+ ltcasino_state(const machine_config &mconfig, device_type type, const char *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 36f12f993e3..23749cd2313 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, std::string tag)
+ ltd_state(const machine_config &mconfig, device_type type, const char *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 0f193fe2701..56d5747a5e7 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, std::string tag)
+ luckgrln_state(const machine_config &mconfig, device_type type, const char *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 1858d42f501..7a81d5fab73 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, std::string tag)
+ m14_state(const machine_config &mconfig, device_type type, const char *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 4c16424cbbe..89e792e83ad 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, std::string tag)
+ m20_state(const machine_config &mconfig, device_type type, const char *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 810b5e1d1cd..a055e1df881 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, std::string tag) :
+ m24_state(const machine_config &mconfig, device_type type, const char *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 fb84e8be149..1a0f04752eb 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, std::string tag)
+ m63_state(const machine_config &mconfig, device_type type, const char *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 9563eee16b1..ce7ee0a89fa 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, std::string tag)
+ m6805evs_state(const machine_config &mconfig, device_type type, const char *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 99d8631b703..9cd9cb9acb8 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, std::string tag)
+ m79152pc_state(const machine_config &mconfig, device_type type, const char *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 c98675f0f73..0bcdb63d3ce 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, std::string tag)
+ macs_state(const machine_config &mconfig, device_type type, const char *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 4457c7cc3bb..6005f807aac 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, std::string tag)
+ magic10_state(const machine_config &mconfig, device_type type, const char *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 4ae38fbeb0e..3662ae30d99 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, std::string tag)
+ magicard_state(const machine_config &mconfig, device_type type, const char *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 99168421c71..bb82206dda1 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, std::string tag)
+ magicfly_state(const machine_config &mconfig, device_type type, const char *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 979101b9429..63b0df20394 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, std::string tag)
+ magictg_state(const machine_config &mconfig, device_type type, const char *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 2c5bb94981e..1e5c06922b0 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, std::string tag)
+ magtouch_state(const machine_config &mconfig, device_type type, const char *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 f10d32d5222..aed787f9459 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, std::string tag)
+ majorpkr_state(const machine_config &mconfig, device_type type, const char *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 cad7e2678ff..430413996a9 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, std::string tag)
+ _manohman_state(const machine_config &mconfig, device_type type, const char *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 194180cfbcc..0f8e24b6199 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, std::string tag)
+ marinedt_state(const machine_config &mconfig, device_type type, const char *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 a15a3e7421a..d3082af2233 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, std::string tag)
+ marywu_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
{ }
};
diff --git a/src/mame/drivers/mastboy.cpp b/src/mame/drivers/mastboy.cpp
index da377bf7ff9..5687defd7b2 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, std::string tag)
+ mastboy_state(const machine_config &mconfig, device_type type, const char *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 03092cbfce6..fce86aec694 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, std::string tag)
+ maxaflex_state(const machine_config &mconfig, device_type type, const char *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 700745f9feb..fa9c5568a3d 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, std::string tag)
+ maygayep_state(const machine_config &mconfig, device_type type, const char *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 4fa6a437017..e095ac2b885 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, std::string tag)
+ maygayew_state(const machine_config &mconfig, device_type type, const char *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 82977c59f45..256af7bbbee 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, std::string tag)
+ maygayv1_state(const machine_config &mconfig, device_type type, const char *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 e30a9926d06..06250380cf7 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, std::string tag)
+ mayumi_state(const machine_config &mconfig, device_type type, const char *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 9cb895e06bd..21b1e6951ed 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, std::string tag)
+ mazerbla_state(const machine_config &mconfig, device_type type, const char *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 73453410c77..edd010e9a07 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, std::string tag)
+ mbc200_state(const machine_config &mconfig, device_type type, const char *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 332ec6c05e7..f20f805fb5f 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, std::string tag)
+ mbdtower_state(const machine_config &mconfig, device_type type, const char *tag)
: hh_tms1k_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/mc10.cpp b/src/mame/drivers/mc10.cpp
index b77ea738e4b..5451c6ea12e 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, std::string tag)
+ mc10_state(const machine_config &mconfig, device_type type, const char *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 32a1a7870e3..05aaf8960f8 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, std::string tag)
+ mcb216_state(const machine_config &mconfig, device_type type, const char *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 af1737a8a8a..c52f9d234cd 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, std::string tag)
+ mccpm_state(const machine_config &mconfig, device_type type, const char *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 02b3bcf4aaa..0dffab0d0e7 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, std::string tag)
+ meadwttl_state(const machine_config &mconfig, device_type type, const char *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 7fdf4609fd3..1ad02146050 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, std::string tag)
+ mediagx_state(const machine_config &mconfig, device_type type, const char *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 3554d672a0f..ce22404a4b6 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, std::string tag)
+ megaphx_state(const machine_config &mconfig, device_type type, const char *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 a18c3d198cb..f7533ce8fd1 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, std::string tag)
+ mplay_state(const machine_config &mconfig, device_type type, const char *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 b2a9b782b61..52cc1bbb3dc 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, std::string tag)
+ mtech_state(const machine_config &mconfig, device_type type, const char *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 11f968ded8a..3d7d386b9b5 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, std::string tag)
+ meijinsn_state(const machine_config &mconfig, device_type type, const char *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 50263d9e5fb..3e79057964e 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, std::string tag)
+ mekd2_state(const machine_config &mconfig, device_type type, const char *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 3b8b60f1b7a..8fedccf4cd6 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, std::string tag)
+ mephisto_state(const machine_config &mconfig, device_type type, const char *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 3802734c25c..d5e44dfc3b5 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, std::string tag)
+ mephisto_pinball_state(const machine_config &mconfig, device_type type, const char *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 f013bb01839..9f5ac8f6190 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, std::string tag)
+ merit_state(const machine_config &mconfig, device_type type, const char *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 105de38a065..fad7bfa2f7f 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, std::string tag)
+ meritm_state(const machine_config &mconfig, device_type type, const char *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 dfb74571e23..00091ddf3a4 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, std::string tag)
+ mes_state(const machine_config &mconfig, device_type type, const char *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 fd07f2bc55f..f7006122d15 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, std::string tag, device_t *owner, UINT32 clock);
+ puzzlet_io_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+puzzlet_io_device::puzzlet_io_device(const machine_config &mconfig, const char *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 bb8aa5fe49d..abd0cb8f070 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, std::string tag)
+ meyc8080_state(const machine_config &mconfig, device_type type, const char *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 5511c6591f8..7e8edcf4169 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, std::string tag)
+ meyc8088_state(const machine_config &mconfig, device_type type, const char *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 6e32014a937..88e0656cdf2 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, std::string tag)
+ mgames_state(const machine_config &mconfig, device_type type, const char *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 7d9cc277815..27033c0d759 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, std::string tag)
+ mgavegas_state(const machine_config &mconfig, device_type type, const char *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 ab052eaae37..af8917139df 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, std::string tag)
+ mgolf_state(const machine_config &mconfig, device_type type, const char *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 ab2ded26c47..35b9d870589 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, std::string tag)
+ mice_state(const machine_config &mconfig, device_type type, const char *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 43b99e10fe0..0dbbbe51938 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, std::string tag)
+ micral_state(const machine_config &mconfig, device_type type, const char *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 f73bc34a6e9..c52885336e0 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, std::string tag)
+ microdec_state(const machine_config &mconfig, device_type type, const char *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 d48cca354ad..caf2207a9d2 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, std::string tag)
+ microkit_state(const machine_config &mconfig, device_type type, const char *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 bdf802b28e2..7b05d407b3e 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, std::string tag)
+ micropin_state(const machine_config &mconfig, device_type type, const char *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 6042f0cbcce..b7ff8fba4c8 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, std::string tag)
+ microvision_state(const machine_config &mconfig, device_type type, const char *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 ed633373bd7..8fbe0890bef 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, std::string tag)
+ midas_state(const machine_config &mconfig, device_type type, const char *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 1c61557ac14..35dc9607862 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, std::string tag)
+ midqslvr_state(const machine_config &mconfig, device_type type, const char *tag)
: pcat_base_state(mconfig, type, tag)
{
}
diff --git a/src/mame/drivers/mikrosha.cpp b/src/mame/drivers/mikrosha.cpp
index bfcc190a369..fa92fd38d6c 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, std::string tag)
+ mikrosha_state(const machine_config &mconfig, device_type type, const char *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 89dac135155..04aa16514a6 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, std::string tag)
+ mil4000_state(const machine_config &mconfig, device_type type, const char *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 ae57ff6866a..9a42f2951ec 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, std::string tag)
+ mini2440_state(const machine_config &mconfig, device_type type, const char *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 99029804300..461af99cb77 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, std::string tag)
+ miniboy7_state(const machine_config &mconfig, device_type type, const char *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 7f2f599a651..56a1ca2d0c9 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, std::string tag)
+ minicom_state(const machine_config &mconfig, device_type type, const char *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 0ab4dbf5d45..6d847f5468f 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, std::string tag)
+ minivadr_state(const machine_config &mconfig, device_type type, const char *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 bcec2f64464..29b275a7965 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, std::string tag)
+ miragemi_state(const machine_config &mconfig, device_type type, const char *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 7536a133ae3..ec3bdaf751c 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, std::string tag)
+ mirax_state(const machine_config &mconfig, device_type type, const char *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 2d39b638dbf..85475271f05 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, std::string tag)
+ missb2_state(const machine_config &mconfig, device_type type, const char *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 c4723204bfe..bedc5cecea2 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, std::string tag)
+ missile_state(const machine_config &mconfig, device_type type, const char *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 1367f7992d4..d42017d240e 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, std::string tag)
+ mits680b_state(const machine_config &mconfig, device_type type, const char *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 4c532fd9146..eb171d95a35 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, std::string tag)
+ mjsister_state(const machine_config &mconfig, device_type type, const char *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 a5a78326be5..ef66e66594c 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, std::string tag)
+ mk1_state(const machine_config &mconfig, device_type type, const char *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 4d61f3aca3d..6342689adc6 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, std::string tag)
+ mk14_state(const machine_config &mconfig, device_type type, const char *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 2e3439c7555..34c504a4d3e 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, std::string tag)
+ mk2_state(const machine_config &mconfig, device_type type, const char *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 e8193717cc4..5ab8197a55a 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, std::string tag)
+ mk85_state(const machine_config &mconfig, device_type type, const char *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 146f8b7209c..ce3ffa2abd2 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, std::string tag)
+ mk90_state(const machine_config &mconfig, device_type type, const char *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 b7d0e0a1a93..b3ebef1b5cd 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, std::string tag)
+ mkit09_state(const machine_config &mconfig, device_type type, const char *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 ae000606d95..a4cb4078ec7 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, std::string tag)
+ mlanding_state(const machine_config &mconfig, device_type type, const char *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 be49b99c8f0..4c21963b0f4 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, std::string tag)
+ mmagic_state(const machine_config &mconfig, device_type type, const char *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 86789a9f7ff..690a58e2568 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, std::string tag)
+ mmd1_state(const machine_config &mconfig, device_type type, const char *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 9a038e17503..1f567dced93 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, std::string tag)
+ mmm_state(const machine_config &mconfig, device_type type, const char *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 7a8651f5cc7..c9042234b6b 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, std::string tag)
+ polgar_state(const machine_config &mconfig, device_type type, const char *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 797d524512c..f3f55d7549e 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, std::string tag)
+ mod8_state(const machine_config &mconfig, device_type type, const char *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 14348c194f5..23eabd69770 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, std::string tag)
+ modellot_state(const machine_config &mconfig, device_type type, const char *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 ba4fd973acf..9310a5aee94 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, std::string tag)
+ mogura_state(const machine_config &mconfig, device_type type, const char *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 beb92a05f53..f106a68142e 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, std::string tag)
+ mole_state(const machine_config &mconfig, device_type type, const char *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 1c063b40a86..8915163ea43 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, std::string tag)
+ molecula_state(const machine_config &mconfig, device_type type, const char *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 1b42e71b7b6..d1f920be4b7 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, std::string tag)
+ monacogp_state(const machine_config &mconfig, device_type type, const char *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 132b249801d..0167938503b 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, std::string tag)
+ monty_state(const machine_config &mconfig, device_type type, const char *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 9f41960f8e5..6f08b216b86 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, std::string tag)
+ monzagp_state(const machine_config &mconfig, device_type type, const char *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 192445e7cde..d12a09470cf 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, std::string tag)
+ mps1230_state(const machine_config &mconfig, device_type type, const char *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 d5195e0699c..685aa88e1e1 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, std::string tag)
+ mpu12wbk_state(const machine_config &mconfig, device_type type, const char *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 5e753fdef1a..1ded190b0b2 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, std::string tag)
+ mpu2_state(const machine_config &mconfig, device_type type, const char *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 48da55a6848..0ebb1827f59 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, std::string tag)
+ mpu3_state(const machine_config &mconfig, device_type type, const char *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 1076221f43c..c9d3dfcdb15 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, std::string tag)
+ mpu4dealem_state(const machine_config &mconfig, device_type type, const char *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 5a136c65b3b..d0a87ae6c4a 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, std::string tag)
+ mpu4plasma_state(const machine_config &mconfig, device_type type, const char *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 2e3fd2c0151..46cd8bb571c 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, std::string tag)
+ mpu4vid_state(const machine_config &mconfig, device_type type, const char *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 7e1ffec4c63..9062fc43c81 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, std::string tag)
+ mpu5_state(const machine_config &mconfig, device_type type, const char *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 6c0bde2b788..77c38c9db88 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, std::string tag)
+ mquake_state(const machine_config &mconfig, device_type type, const char *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 7ab79b43dfb..beb0a9e0bca 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, std::string tag)
+ mrgame_state(const machine_config &mconfig, device_type type, const char *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 ef3eff6ed0c..89e38f4b16f 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, std::string tag)
+ ms0515_state(const machine_config &mconfig, device_type type, const char *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 f530d6a94dd..2be054eeb5f 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, std::string tag)
+ ms9540_state(const machine_config &mconfig, device_type type, const char *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 59c605d53fe..f1aa281aeb2 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, std::string tag)
+ mstation_state(const machine_config &mconfig, device_type type, const char *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 45fb5798920..4e642a4fa31 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, std::string tag);
+ mt735_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+mt735_state::mt735_state(const machine_config &mconfig, device_type type, const char *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 7e6f7da3ba0..0852c166970 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, std::string tag)
+ multi16_state(const machine_config &mconfig, device_type type, const char *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 d9a46826565..c9509f66e8a 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, std::string tag)
+ multi8_state(const machine_config &mconfig, device_type type, const char *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 c2920515c4c..2a1c7772b6c 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, std::string tag)
+ multigam_state(const machine_config &mconfig, device_type type, const char *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 a52618a8ace..3df8476b7d4 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, std::string tag)
+ murogem_state(const machine_config &mconfig, device_type type, const char *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 2862e276962..245f6c3953b 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, std::string tag)
+ murogmbl_state(const machine_config &mconfig, device_type type, const char *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 a154b5b22db..64f66ee8418 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, std::string tag) :
+mvme350_state(const machine_config &mconfig, device_type type, const char *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 8e258cac5a2..1b49a28f3f6 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, std::string tag)
+ mw18w_state(const machine_config &mconfig, device_type type, const char *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 726a1963338..2cfd7ca858c 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, std::string tag)
+ mwarr_state(const machine_config &mconfig, device_type type, const char *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 8505e2e9b6d..348572cda82 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, std::string tag)
+ submar_state(const machine_config &mconfig, device_type type, const char *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 e51199b4ba2..add947cbcdd 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, std::string tag) :
+ mx2178_state(const machine_config &mconfig, device_type type, const char *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 0f6a262f488..2eb5cba1dc7 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, std::string tag)
+ myb3k_state(const machine_config &mconfig, device_type type, const char *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 3f097e39d9b..efea8bc5bed 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, std::string tag)
+ mycom_state(const machine_config &mconfig, device_type type, const char *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 9ae3d75773e..e5c32a4c158 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, std::string tag)
+ myvision_state(const machine_config &mconfig, device_type type, const char *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 76cb0c1ec3e..a1fb10dc59f 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, std::string tag)
+ mz2000_state(const machine_config &mconfig, device_type type, const char *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 f0bba0394fa..2f1461c2197 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, std::string tag)
+ mz2500_state(const machine_config &mconfig, device_type type, const char *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 777193a5aa9..3ee4f6a785f 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, std::string tag)
+ mz3500_state(const machine_config &mconfig, device_type type, const char *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 13198693213..d513f30a33e 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, std::string tag)
+ mz6500_state(const machine_config &mconfig, device_type type, const char *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 b9aefcf580c..ea2049ed8cf 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, std::string tag) :
+mzr8105_state(const machine_config &mconfig, device_type type, const char *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 74d23c96b71..1d4e47a4273 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, std::string tag)
+ n64_mess_state(const machine_config &mconfig, device_type type, const char *tag)
: n64_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/nakajies.cpp b/src/mame/drivers/nakajies.cpp
index 56e6a8940a6..aeb758e17ee 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, std::string tag)
+ nakajies_state(const machine_config &mconfig, device_type type, const char *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 ab345faa2fc..a0eec46f766 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, std::string tag)
+ namcops2_state(const machine_config &mconfig, device_type type, const char *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 7f78bb9aec3..8c39ab42bd8 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, std::string tag)
+ namcos10_state(const machine_config &mconfig, device_type type, const char *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 1bd81dc27a5..4942c555e69 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, std::string tag)
+ namcos11_state(const machine_config &mconfig, device_type type, const char *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 d26414cab8c..67f164a8835 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, std::string tag)
+ namcos12_state(const machine_config &mconfig, device_type type, const char *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 4b79b0e29e5..1494bcd520f 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, std::string tag)
+ namcos23_state(const machine_config &mconfig, device_type type, const char *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("%s\n",buf);
+ logerror(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("%s",buf);
+ logerror(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("%s",buf);
+ logerror(buf);
}
m_c435_buffer_pos = 0;
diff --git a/src/mame/drivers/nanos.cpp b/src/mame/drivers/nanos.cpp
index b90f76745a5..a40db7653a9 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, std::string tag)
+ nanos_state(const machine_config &mconfig, device_type type, const char *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 225433d0a9c..fc3497f3e70 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, std::string tag)
+ nascom_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+ nascom1_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+ nascom2_state(const machine_config &mconfig, device_type type, const char *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 5886973fc5e..34a6d772df7 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, std::string tag)
+ neoprint_state(const machine_config &mconfig, device_type type, const char *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 b3ddb90becf..f5b3b4c05f0 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, std::string tag)
+ neptunp2_state(const machine_config &mconfig, device_type type, const char *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 8556892eda7..60a0446704d 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, std::string tag)
+ nexus3d_state(const machine_config &mconfig, device_type type, const char *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 2d0cdd529c0..994dfbef4e5 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, std::string tag)
+ ng_aes_state(const machine_config &mconfig, device_type type, const char *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 52addeb125f..fc02d654308 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, std::string tag)
+ ngen_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ ngen386_state(const machine_config &mconfig, device_type type, const char *tag)
: ngen_state(mconfig, type, tag)
{}
private:
diff --git a/src/mame/drivers/ngp.cpp b/src/mame/drivers/ngp.cpp
index 179ad9114f9..ce57a2ca4db 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, std::string tag)
+ ngp_state(const machine_config &mconfig, device_type type, const char *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 3a0c2d8cd05..2720f071051 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, std::string tag)
+ nightgal_state(const machine_config &mconfig, device_type type, const char *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 ea45ec49513..d513604fa96 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, std::string tag, device_t *owner, UINT32 clock);
+ subwoofer_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+subwoofer_device::subwoofer_device(const machine_config &mconfig, const char *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 e1574de518d..53b65663cf0 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, std::string tag)
+ nmg5_state(const machine_config &mconfig, device_type type, const char *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 61a27502cc6..b6dd7c934c0 100644
--- a/src/mame/drivers/nokia_3310.cpp
+++ b/src/mame/drivers/nokia_3310.cpp
@@ -26,7 +26,7 @@
class noki3310_state : public driver_device
{
public:
- noki3310_state(const machine_config &mconfig, device_type type, std::string tag)
+ noki3310_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_pcd8544(*this, "pcd8544"),
diff --git a/src/mame/drivers/nsm.cpp b/src/mame/drivers/nsm.cpp
index 8379d0f9d97..9a20fa20ee4 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, std::string tag)
+ nsm_state(const machine_config &mconfig, device_type type, const char *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 d07360058d0..823ee38b70e 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, std::string tag)
+ nsmpoker_state(const machine_config &mconfig, device_type type, const char *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 1c08d8a8770..0497f3e01d0 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, std::string tag)
+ nss_state(const machine_config &mconfig, device_type type, const char *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 41e6edde615..3d4719b95f1 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, std::string tag)
+ nwktr_state(const machine_config &mconfig, device_type type, const char *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 818378329c5..3bd05899748 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, std::string tag)
+ nyny_state(const machine_config &mconfig, device_type type, const char *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 43212fe4d1d..b219aa52261 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, std::string tag)
+ octopus_state(const machine_config &mconfig, device_type type, const char *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 e44e2f1871e..22b0404efcc 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, std::string tag)
+ odyssey2_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ g7400_state(const machine_config &mconfig, device_type type, const char *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 0aa392e713f..8ad181fe10e 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, std::string tag)
+ okean240_state(const machine_config &mconfig, device_type type, const char *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 376ee8dbdf2..8e997d897fb 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, std::string tag)
+ olibochu_state(const machine_config &mconfig, device_type type, const char *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 15a013ae10d..acf7aae26de 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, std::string tag)
+ omegrace_state(const machine_config &mconfig, device_type type, const char *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 17661043d8e..35b54cbd5b8 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, std::string tag)
+ onetwo_state(const machine_config &mconfig, device_type type, const char *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 01ce90ab486..85d02013975 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, std::string tag)
+ onyx_state(const machine_config &mconfig, device_type type, const char *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 2ba373f66e3..69dff49397b 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, std::string tag)
+ oric_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+ telestrat_state(const machine_config &mconfig, device_type type, const char *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 9f6fe5ea070..c21143bc676 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, std::string tag)
+ osbexec_state(const machine_config &mconfig, device_type type, const char *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 9d76ae1f8c5..82f8959a507 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, std::string tag)
+ othello_state(const machine_config &mconfig, device_type type, const char *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 521aa023455..f67599bcdf7 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, std::string tag)
+ p112_state(const machine_config &mconfig, device_type type, const char *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 8e52fb33895..8288f6704e9 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, std::string tag)
+ p8k_state(const machine_config &mconfig, device_type type, const char *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 fd17924f21f..ceaeaba5b4e 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, std::string tag)
+ pachifev_state(const machine_config &mconfig, device_type type, const char *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 587e7123c3d..f875f6eefe7 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, std::string tag)
+ palm_state(const machine_config &mconfig, device_type type, const char *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 62ebb15bdc1..b4efcdd2efc 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, std::string tag)
+ palmz22_state(const machine_config &mconfig, device_type type, const char *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 b4bfe4aaee7..5c676615dca 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, std::string tag)
+ pangofun_state(const machine_config &mconfig, device_type type, const char *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 81cb470504e..9229541b9ed 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, std::string tag)
+ panicr_state(const machine_config &mconfig, device_type type, const char *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 0b7d2118025..3e0fe691587 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, std::string tag)
+ paranoia_state(const machine_config &mconfig, device_type type, const char *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 f9951379013..a9036920e62 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, std::string tag)
+ pasha2_state(const machine_config &mconfig, device_type type, const char *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 33bebf42092..a9f5f025a9a 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, std::string tag)
+ paso1600_state(const machine_config &mconfig, device_type type, const char *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 6a1d163e98d..d88f121264e 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, std::string tag)
+ pasogo_state(const machine_config &mconfig, device_type type, const char *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 24f0b2f6e07..aa65d9979b9 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, std::string tag)
+ pasopia_state(const machine_config &mconfig, device_type type, const char *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 d049b826200..2a9ec18114d 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, std::string tag)
+ pasopia7_state(const machine_config &mconfig, device_type type, const char *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 25e9088e87f..e40274c884a 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, std::string tag)
+ patinho_feio_state(const machine_config &mconfig, device_type type, const char *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 a0029593807..88eafd1d1b2 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, std::string tag)
+ pb1000_state(const machine_config &mconfig, device_type type, const char *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 83c3f0e357c..b6836ab5f3a 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, std::string tag) :
+ pc_state(const machine_config &mconfig, device_type type, const char *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 d4413b1eb9f..1f8cff5ce83 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, std::string tag)
+ pc100_state(const machine_config &mconfig, device_type type, const char *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 6c140312166..a916c5658b4 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, std::string tag)
+ pc1500_state(const machine_config &mconfig, device_type type, const char *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 fe9640b114c..6329a750815 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, std::string tag)
+ pc2000_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ gl3000s_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ gl4004_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ pc1000_state(const machine_config &mconfig, device_type type, const char *tag)
: pc2000_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/pc6001.cpp b/src/mame/drivers/pc6001.cpp
index 56d867cc521..0372eec0460 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, std::string tag)
+ pc6001_state(const machine_config &mconfig, device_type type, const char *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 3260660a0b4..d9debc10f5d 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, std::string tag)
+ pc8801_state(const machine_config &mconfig, device_type type, const char *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 10dcb31acf0..a7f2590a698 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, std::string tag)
+ pc88va_state(const machine_config &mconfig, device_type type, const char *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 9fba2b45abe..420c1cc8fbf 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, std::string tag) :
+ pc9801_state(const machine_config &mconfig, device_type type, const char *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 e9ebad9e931..25fdff8943e 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, std::string tag)
+ pcat_dyn_state(const machine_config &mconfig, device_type type, const char *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 78c208b54ba..25b02276175 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, std::string tag)
+ pcat_nit_state(const machine_config &mconfig, device_type type, const char *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 a63a153457c..cda14e61f76 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, std::string tag) :
+ pcd_state(const machine_config &mconfig, device_type type, const char *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 f8a3e3146b9..ba9c8ab650d 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, std::string tag)
+ pce220_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ pcg850v_state(const machine_config &mconfig, device_type type, const char *tag)
: pce220_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/pcfx.cpp b/src/mame/drivers/pcfx.cpp
index feff094f0cd..a4ecee9b880 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, std::string tag)
+ pcfx_state(const machine_config &mconfig, device_type type, const char *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 65fc6dedc83..912256491f9 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, std::string tag)
+ pcm_state(const machine_config &mconfig, device_type type, const char *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 468e0d06bc7..f4497d6c603 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, std::string tag)
+ pcxt_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock);
+ isa8_cga_filetto_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock) :
+isa8_cga_filetto_device::isa8_cga_filetto_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock);
+ isa8_cga_tetriskr_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock) :
+isa8_cga_tetriskr_device::isa8_cga_tetriskr_device(const machine_config &mconfig, const char *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 b1075227743..c4dd15ab4cd 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, std::string tag)
+ pda600_state(const machine_config &mconfig, device_type type, const char *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 28ed3f88e0f..0c74eae9f55 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, std::string tag, device_t *owner, UINT32 clock);
+ pdp1_readtape_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+pdp1_readtape_image_device::pdp1_readtape_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock);
+ pdp1_punchtape_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+pdp1_punchtape_image_device::pdp1_punchtape_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock);
+ pdp1_printer_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+pdp1_printer_image_device::pdp1_printer_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock);
+ pdp1_cylinder_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+pdp1_cylinder_image_device::pdp1_cylinder_image_device(const machine_config &mconfig, const char *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 892dc817310..139386dfe37 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, std::string tag)
+ pdp11_state(const machine_config &mconfig, device_type type, const char *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 09b73d16e87..858c4b8249f 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, std::string tag)
+ pegasus_state(const machine_config &mconfig, device_type type, const char *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 ff08104dabd..85cb0a884b2 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, std::string tag)
+ pencil2_state(const machine_config &mconfig, device_type type, const char *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 6c181ecf11a..c831c2253ea 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, std::string tag)
+ pengadvb_state(const machine_config &mconfig, device_type type, const char *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 390d4b39f60..c47fb18f97f 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, std::string tag)
+ pengo_state(const machine_config &mconfig, device_type type, const char *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 1b6d0f27869..ea2150c2fed 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, std::string tag)
+ pentagon_state(const machine_config &mconfig, device_type type, const char *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 e59716fb2ae..ca391820999 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, std::string tag) :
+ peoplepc_state(const machine_config &mconfig, device_type type, const char *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 17c9ebf4960..216996c1464 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, std::string tag)
+ peplus_state(const machine_config &mconfig, device_type type, const char *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 729d8d4e66f..742112a6816 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, std::string tag)
+ peyper_state(const machine_config &mconfig, device_type type, const char *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 a494e8685c3..eef0fd51995 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, std::string tag)
+ pgm2_state(const machine_config &mconfig, device_type type, const char *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 315dfeff6b9..339986851b4 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, std::string tag)
+ photon_state(const machine_config &mconfig, device_type type, const char *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 194a6d29554..f0683c72413 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, std::string tag)
+ photon2_state(const machine_config &mconfig, device_type type, const char *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 f0731dd0e6a..bd4c1ff5e1f 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, std::string tag)
+ photoply_state(const machine_config &mconfig, device_type type, const char *tag)
: pcat_base_state(mconfig, type, tag)
{
}
diff --git a/src/mame/drivers/phunsy.cpp b/src/mame/drivers/phunsy.cpp
index e4392a99fea..b701d7d468e 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, std::string tag)
+ phunsy_state(const machine_config &mconfig, device_type type, const char *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 2d0b8dc6881..413f84c0bd4 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, std::string tag)
+ piggypas_state(const machine_config &mconfig, device_type type, const char *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 7a37691cbf9..331880384aa 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, std::string tag)
+ pimps_state(const machine_config &mconfig, device_type type, const char *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 acbf580c159..9dd759a082d 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, std::string tag)
+ pinball2k_state(const machine_config &mconfig, device_type type, const char *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 89de5dadbe1..2045c1fd6d8 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, std::string tag)
+ pinkiri8_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock);
+ janshi_vdp_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+janshi_vdp_device::janshi_vdp_device(const machine_config &mconfig, const char *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 d265c4fdd38..c6050fb81cf 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, std::string tag)
+ pipbug_state(const machine_config &mconfig, device_type type, const char *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 25111b72f65..0151f62c79c 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, std::string tag)
+ pipedrm_state(const machine_config &mconfig, device_type type, const char *tag)
: fromance_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/pipeline.cpp b/src/mame/drivers/pipeline.cpp
index d29cf0d42d4..0757fd1ae32 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, std::string tag)
+ pipeline_state(const machine_config &mconfig, device_type type, const char *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 70364c109fa..4049583fe15 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, std::string tag)
+ pitagjr_state(const machine_config &mconfig, device_type type, const char *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 8c71346700c..5afeecdfe21 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, std::string tag)
+ pk8000_state(const machine_config &mconfig, device_type type, const char *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 2d4bee21737..f7a32364b5e 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, std::string tag)
+ pkscram_state(const machine_config &mconfig, device_type type, const char *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 c197e9bd177..f621c73d92b 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, std::string tag)
+ plan80_state(const machine_config &mconfig, device_type type, const char *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 c2bc1b9e4c8..1f4b934c249 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, std::string tag)
+ play_1_state(const machine_config &mconfig, device_type type, const char *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 f846b176890..d9130b783ac 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, std::string tag)
+ play_2_state(const machine_config &mconfig, device_type type, const char *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 c4338453c2a..ac95103507e 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, std::string tag)
+ play_3_state(const machine_config &mconfig, device_type type, const char *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 c836212a3dc..09edd089fe3 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, std::string tag)
+ play_5_state(const machine_config &mconfig, device_type type, const char *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 7641e88bfcb..f231c634f8e 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, std::string tag)
+ pluto5_state(const machine_config &mconfig, device_type type, const char *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 17113c2f037..d35fa742d8d 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, std::string tag)
+ pm68k_state(const machine_config &mconfig, device_type type, const char *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 dbdcbcd9dbc..d58f538892a 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, std::string tag)
+ pmi80_state(const machine_config &mconfig, device_type type, const char *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 654e3ec9914..32f1f571fe2 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, std::string tag)
+ pntnpuzl_state(const machine_config &mconfig, device_type type, const char *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 19a8d53df2f..0662ab59f5b 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, std::string tag)
+ pockstat_state(const machine_config &mconfig, device_type type, const char *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 690e8ca0b41..09299dc79d5 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, std::string tag)
+ pokemini_state(const machine_config &mconfig, device_type type, const char *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 8fcb16f2dae..4867465e902 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, std::string tag)
+ poker72_state(const machine_config &mconfig, device_type type, const char *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 ffcb90b2ccc..4dbf5502166 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, std::string tag)
+ poly_state(const machine_config &mconfig, device_type type, const char *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 7aade29ed15..358b7cb35ea 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, std::string tag)
+ ttl_mono_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ pong_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ breakout_state(const machine_config &mconfig, device_type type, const char *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 3f6e31aae70..c6d1f2fed6c 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, std::string tag)
+ popobear_state(const machine_config &mconfig, device_type type, const char *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 cdf94342bb1..3e5c5a6613a 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, std::string tag)
+ potgold_state(const machine_config &mconfig, device_type type, const char *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 60d504db0ae..8c92483c44c 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, std::string tag)
+ powerbal_state(const machine_config &mconfig, device_type type, const char *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 f4f9d2bd3f1..b3d2bc556fb 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, std::string tag)
+ ppmast93_state(const machine_config &mconfig, device_type type, const char *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 bf9243e0af6..5259abb3ca5 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, std::string tag)
+ prestige_state(const machine_config &mconfig, device_type type, const char *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 e1c951f3cd9..54b519cfb0f 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, std::string tag)
+ pro80_state(const machine_config &mconfig, device_type type, const char *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 aeb01e61881..4f74c8bdf20 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, std::string tag)
+ proconn_state(const machine_config &mconfig, device_type type, const char *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 abae6a65766..213be37d7aa 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, std::string tag)
+ progolf_state(const machine_config &mconfig, device_type type, const char *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 dcaa1d7b698..c191d31d846 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, std::string tag)
+ prophet600_state(const machine_config &mconfig, device_type type, const char *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 7c2f18a5406..573b8772d52 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, std::string tag)
+ proteus3_state(const machine_config &mconfig, device_type type, const char *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 793cb680e43..298da05319a 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, std::string tag)
+ pse_state(const machine_config &mconfig, device_type type, const char *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 edd41974963..ab768f2c431 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, std::string tag)
+ psx1_state(const machine_config &mconfig, device_type type, const char *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 6632625ff9b..d76d8af7766 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, std::string tag)
+ pt68k4_state(const machine_config &mconfig, device_type type, const char *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 846e361f8d6..72384632812 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, std::string tag)
+ sol20_state(const machine_config &mconfig, device_type type, const char *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 f2d6849df2c..82d6fd2d033 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, std::string tag)
+ pturn_state(const machine_config &mconfig, device_type type, const char *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 103bbc4ab51..48030adce83 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, std::string tag) :
+ pulsar_state(const machine_config &mconfig, device_type type, const char *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 ed05f66d153..ca6f85d7c50 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, std::string tag, device_t *owner, UINT32 clock);
+ pv1000_sound_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+pv1000_sound_device::pv1000_sound_device(const machine_config &mconfig, const char *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, std::string tag)
+ pv1000_state(const machine_config &mconfig, device_type type, const char *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 4fb4dbd0324..080e6f707e8 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, std::string tag)
+ pv2000_state(const machine_config &mconfig, device_type type, const char *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 cbcdca78f3a..101dd0151cc 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, std::string tag)
+ pv9234_state(const machine_config &mconfig, device_type type, const char *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 2288ad32381..2f1274dbb1f 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, std::string tag)
+ pve500_state(const machine_config &mconfig, device_type type, const char *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 684581423a1..36925ab03b5 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, std::string tag) :
+ px4_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+ px4p_state(const machine_config &mconfig, device_type type, const char *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().c_str(), data_bit_count, device_serial_interface::parity_tostring(parity), stop_bits);
+ logerror("%s: serial frame setup: %d-%s-%d\n", tag(), 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 157ad2f5164..8da7b17d6ed 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, std::string tag)
+ pyl601_state(const machine_config &mconfig, device_type type, const char *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 8b365c5e52d..97dddf6b07b 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, std::string tag)
+ pyson_state(const machine_config &mconfig, device_type type, const char *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 a1af4ff67e0..c56a225e141 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, std::string tag)
+ pzletime_state(const machine_config &mconfig, device_type type, const char *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 321b5cca8fa..aa14373aad9 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, std::string tag)
+ qtsbc_state(const machine_config &mconfig, device_type type, const char *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 4cd2532aa8b..49c8ea6ab42 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, std::string tag)
+ quakeat_state(const machine_config &mconfig, device_type type, const char *tag)
: pcat_base_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/quantum.cpp b/src/mame/drivers/quantum.cpp
index 86d227cb7fe..256607a3ddc 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, std::string tag)
+ quantum_state(const machine_config &mconfig, device_type type, const char *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 d9b24ddbf4c..21b69043b7a 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, std::string tag)
+ queen_state(const machine_config &mconfig, device_type type, const char *tag)
: pcat_base_state(mconfig, type, tag)
{
}
diff --git a/src/mame/drivers/quizo.cpp b/src/mame/drivers/quizo.cpp
index 7ffdc9df8c6..6279c372cc2 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, std::string tag)
+ quizo_state(const machine_config &mconfig, device_type type, const char *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 93cbe2c7e0a..91743602a1d 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, std::string tag)
+ quizpun2_state(const machine_config &mconfig, device_type type, const char *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 b865d4f03cc..deda44515e0 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, std::string tag)
+ quizshow_state(const machine_config &mconfig, device_type type, const char *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 c445fd444d5..467e7fb2527 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, std::string tag)
+ qx10_state(const machine_config &mconfig, device_type type, const char *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 16cb34b7376..e40fdcbe377 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, std::string tag)
+ r2dtank_state(const machine_config &mconfig, device_type type, const char *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 f7478dbbe3f..1b6ae4510ec 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, std::string tag)
+ r2dx_v33_state(const machine_config &mconfig, device_type type, const char *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 d5243ff8e60..5ca1d8d153a 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, std::string tag)
+ r9751_state(const machine_config &mconfig, device_type type, const char *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 14b51986eac..82e8889a079 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, std::string tag)
+ rabbit_state(const machine_config &mconfig, device_type type, const char *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 644b8e6073b..d6f58b231ee 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, std::string tag) :
+ rainbow_state(const machine_config &mconfig, device_type type, const char *tag) :
driver_device(mconfig, type, tag),
#ifdef KEYBOARD_WORKAROUND
diff --git a/src/mame/drivers/rambo.cpp b/src/mame/drivers/rambo.cpp
index 580d2404a03..afe528c6b49 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, std::string tag)
+ rambo_state(const machine_config &mconfig, device_type type, const char *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 1d3ccdd0b2c..7fc1c8fc736 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, std::string tag)
+ ramtek_state(const machine_config &mconfig, device_type type, const char *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 30dc040704e..8176fb3f749 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, std::string tag)
+ rastersp_state(const machine_config &mconfig, device_type type, const char *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 8b7bc08f7a3..f9957ca5bc2 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, std::string tag)
+ ravens_state(const machine_config &mconfig, device_type type, const char *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 8354607133c..de71f98e760 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, std::string tag)
+ rbmk_state(const machine_config &mconfig, device_type type, const char *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 216bfb4156f..ca5d4b09745 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, std::string tag) :
+ rc759_state(const machine_config &mconfig, device_type type, const char *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 7911f8d04b7..e015ce6ce3a 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, std::string tag)
+ rcorsair_state(const machine_config &mconfig, device_type type, const char *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 616be636456..46c20ff62ce 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, std::string tag)
+ rd100_state(const machine_config &mconfig, device_type type, const char *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 cd24b0183ce..02da5ac1f4f 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, std::string tag);
+ d110_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+d110_state::d110_state(const machine_config &mconfig, device_type type, const char *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 9d8c191c9ad..5adaa88084f 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, std::string tag)
+ re900_state(const machine_config &mconfig, device_type type, const char *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 fc969de2ba3..b219db5fde8 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, std::string tag)
+ replicator_state(const machine_config &mconfig, device_type type, const char *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 3522ab82e8c..6407eddba62 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, std::string tag)
+ rex6000_state(const machine_config &mconfig, device_type type, const char *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 f0aacbbe575..2f6ef0e5894 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, std::string tag)
+ rgum_state(const machine_config &mconfig, device_type type, const char *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 99b497a2829..faa14e36e0f 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, std::string tag)
+ riscpc_state(const machine_config &mconfig, device_type type, const char *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 7ae7ea4397b..e5ce3256085 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, std::string tag)
+ rmhaihai_state(const machine_config &mconfig, device_type type, const char *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 5d3a5a482b8..60116d4324e 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, std::string tag);
+ mt32_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) :
+mt32_state::mt32_state(const machine_config &mconfig, device_type type, const char *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 4404da0c196..0a01fc4e26e 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, std::string tag)
+ rollext_state(const machine_config &mconfig, device_type type, const char *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 e903b59e4ad..98dcdd7810f 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, std::string tag)
+ rotaryf_state(const machine_config &mconfig, device_type type, const char *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 7f6c37668ee..e6634a6aa41 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, std::string tag)
+ roul_state(const machine_config &mconfig, device_type type, const char *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 69c1e17e9c9..b2510b66d56 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().c_str(), space.device().safe_pc());
+ logerror ("cpu '%s' (PC=%08X): unmapped prot read\n", space.device().tag(), space.device().safe_pc());
return 0x00;
}
diff --git a/src/mame/drivers/rowamet.cpp b/src/mame/drivers/rowamet.cpp
index de27f010f07..5a724c75623 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, std::string tag)
+ rowamet_state(const machine_config &mconfig, device_type type, const char *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 b9b23403de0..5a37bae7207 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, std::string tag)
+ royalmah_state(const machine_config &mconfig, device_type type, const char *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 14e2f7c4765..90779f52be5 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, std::string tag);
+ 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) :
+sc55_state::sc55_state(const machine_config &mconfig, device_type type, const char *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 46063c8267c..4e8e259192a 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, std::string tag)
+ rt1715_state(const machine_config &mconfig, device_type type, const char *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 3115e508bbb..5fc455da10e 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, std::string tag)
+ rvoice_state(const machine_config &mconfig, device_type type, const char *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 b09177a3181..3f7818c3e30 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, std::string tag)
+ rx78_state(const machine_config &mconfig, device_type type, const char *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 87ab22f4391..9d6167b9eae 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, std::string tag)
+ s3_state(const machine_config &mconfig, device_type type, const char *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 0fb44e80667..52aca8c0ce1 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, std::string tag)
+ s4_state(const machine_config &mconfig, device_type type, const char *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 84513f70e67..876c855ef8e 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, std::string tag)
+ s6_state(const machine_config &mconfig, device_type type, const char *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 6376d7d257d..e1c5567b1e4 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, std::string tag)
+ s6a_state(const machine_config &mconfig, device_type type, const char *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 5f0f357bd6a..af8704e7320 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, std::string tag)
+ s7_state(const machine_config &mconfig, device_type type, const char *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 b38ac43b9b9..5c2f2c83284 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, std::string tag)
+ s8_state(const machine_config &mconfig, device_type type, const char *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 490b62a12e5..444505d8538 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, std::string tag)
+ s8a_state(const machine_config &mconfig, device_type type, const char *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 54e7bcc3735..f72606db6f5 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, std::string tag)
+ s9_state(const machine_config &mconfig, device_type type, const char *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 45e2d11fb65..d7891cfe4e3 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, std::string tag)
+ sacstate_state(const machine_config &mconfig, device_type type, const char *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 2890c2dc41b..44e064e5188 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, std::string tag)
+ safarir_state(const machine_config &mconfig, device_type type, const char *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 8dc59b81da8..7053c7b955a 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, std::string tag)
+ sam_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag) { }
};
diff --git a/src/mame/drivers/sandscrp.cpp b/src/mame/drivers/sandscrp.cpp
index 824d0ddf96b..50937085c9b 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, std::string tag)
+ sandscrp_state(const machine_config &mconfig, device_type type, const char *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 ad78a406c5a..4f401081ef3 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, std::string tag)
+ sangho_state(const machine_config &mconfig, device_type type, const char *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 0124113c06a..baa88cbd757 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, std::string tag)
+ sanremmg_state(const machine_config &mconfig, device_type type, const char *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 7ec876c68c0..64ade62d1c0 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, std::string tag)
+ sanremo_state(const machine_config &mconfig, device_type type, const char *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 13430bcd486..2ee426af50c 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, std::string tag)
+ sansa_fuze_state(const machine_config &mconfig, device_type type, const char *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 bdb59484ef7..732baca6c3e 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, std::string tag)
+ sapi1_state(const machine_config &mconfig, device_type type, const char *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 6504828a467..13dec46c418 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, std::string tag)
+ sat_console_state(const machine_config &mconfig, device_type type, const char *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 25199eaded2..b094410cd95 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, std::string tag)
+ savia84_state(const machine_config &mconfig, device_type type, const char *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 7ebcd382dbb..784278096fa 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, std::string tag)
+ savquest_state(const machine_config &mconfig, device_type type, const char *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 0a1899443a4..9d78fe0ed0d 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, std::string tag)
+ sbc6510_state(const machine_config &mconfig, device_type type, const char *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 3026eafe625..b4869187e49 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, std::string tag)
+ sbowling_state(const machine_config &mconfig, device_type type, const char *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 b0feb4c9dd4..84439358b81 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, std::string tag) :
+ sbrain_state(const machine_config &mconfig, device_type type, const char *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 2359c45a738..54bbf6c4e6e 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, std::string tag)
+ sbrkout_state(const machine_config &mconfig, device_type type, const char *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 da6b5519c15..5c8107ea77b 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, std::string tag)
+ sc1_state(const machine_config &mconfig, device_type type, const char *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 6effde1d993..5be373bb484 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, std::string tag)
+ sc2_state(const machine_config &mconfig, device_type type, const char *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 e8d4f2423d5..1e5eac486ae 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, std::string tag)
+ scm_500_state(const machine_config &mconfig, device_type type, const char *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 b67ecc07250..08c51b55cef 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, std::string tag)
+ scobra_state(const machine_config &mconfig, device_type type, const char *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 9a59168ac84..8f8dc435c68 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, std::string tag)
+ scorpion_state(const machine_config &mconfig, device_type type, const char *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 3687309b118..652ebcbfacc 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, std::string tag)
+ scregg_state(const machine_config &mconfig, device_type type, const char *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 d903c201086..e1852162caf 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, std::string tag)
+ scv_state(const machine_config &mconfig, device_type type, const char *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 2a64a1876a1..954bf30afeb 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, std::string tag)
+ sdk80_state(const machine_config &mconfig, device_type type, const char *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 e6f24bcb536..424a921a1ae 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, std::string tag)
+ sdk85_state(const machine_config &mconfig, device_type type, const char *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 162a208784b..dd341654595 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, std::string tag) :
+ sdk86_state(const machine_config &mconfig, device_type type, const char *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 5cc956e4af1..b3f35e41ad8 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, std::string tag)
+ seabattl_state(const machine_config &mconfig, device_type type, const char *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 045dd891428..0dedecb8feb 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, std::string tag)
+ sealy_state(const machine_config &mconfig, device_type type, const char *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 ac973567438..8cb68506d8c 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, std::string tag)
+ seattle_state(const machine_config &mconfig, device_type type, const char *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 90dd3fadfb2..b6b06914492 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, std::string tag)
+ seattle_comp_state(const machine_config &mconfig, device_type type, const char *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 b6ad4a8adac..9ef349c81e4 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, std::string tag)
+ sawatte_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/segac2.cpp b/src/mame/drivers/segac2.cpp
index 01a8e67343d..d96fd2cef69 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, std::string tag)
+ segac2_state(const machine_config &mconfig, device_type type, const char *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 5f0bc6830ab..aac1d5a2969 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, std::string tag)
+ segacoin_state(const machine_config &mconfig, device_type type, const char *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 3b159a1561c..77874a36fe5 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, std::string tag)
+ systeme_state(const machine_config &mconfig, device_type type, const char *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 a72f5b74306..1bd6490ebe4 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, std::string tag)
+ segajw_state(const machine_config &mconfig, device_type type, const char *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 0cf39492735..08ab3f8ae9d 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, std::string tag)
+ segald_state(const machine_config &mconfig, device_type type, const char *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 a6284a586be..b31dbbf56fb 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, std::string tag)
+ segam1_state(const machine_config &mconfig, device_type type, const char *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 601c62e41b4..5efbeb7ceef 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, std::string tag)
+ pico_base_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ pico_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ copera_state(const machine_config &mconfig, device_type type, const char *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 5c4511ef90a..9ebc711ca4e 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, std::string tag)
+ segapm_state(const machine_config &mconfig, device_type type, const char *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 a5677013c68..729fee2197e 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().c_str(), space.device().safe_pc());
+ logerror("Protection: magic latch accessed but no table loaded (%s:%x)\n", space.device().tag(), 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().c_str(), space.device().safe_pc());
+ logerror("Magic latching %02x ^ %02x as %02x (%s:%x)\n", data & 0xff, mxor, mlatch, space.device().tag(), space.device().safe_pc());
} else {
- logerror("Magic latch reset (%s:%x)\n", space.device().tag().c_str(), space.device().safe_pc());
+ logerror("Magic latch reset (%s:%x)\n", space.device().tag(), 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().c_str(), space.device().safe_pc());
+ logerror("IO control read %02x (%s:%x)\n", offset, space.device().tag(), 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().c_str(), 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(), 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().c_str(), space.device().safe_pc());
+ logerror("IO control write %02x, %02x (%s:%x)\n", offset, data & 0xff, space.device().tag(), space.device().safe_pc());
}
}
}
diff --git a/src/mame/drivers/segas32.cpp b/src/mame/drivers/segas32.cpp
index 0a9d4a13484..db1fb7a3d24 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, std::string tag, device_t *owner, UINT32 clock)
+segas32_state::segas32_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+segas32_regular_state::segas32_regular_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+segas32_v25_state::segas32_v25_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+sega_multi32_state::sega_multi32_state(const machine_config &mconfig, const char *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, std::string tag)
+ segas32_new_state(const machine_config &mconfig, device_type type, const char *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 ee74ee9aabd..1263d6daafb 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, std::string tag)
+ ufo_state(const machine_config &mconfig, device_type type, const char *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 924366868ed..8366d3b10b2 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, std::string tag, device_t *owner, UINT32 clock)
+segaxbd_state::segaxbd_state(const machine_config &mconfig, const char *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, std::string tag)
+ segaxbd_new_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ segaxbd_new_state_double(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock)
+segaxbd_regular_state::segaxbd_regular_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+segaxbd_fd1094_state::segaxbd_fd1094_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+segaxbd_lastsurv_fd1094_state::segaxbd_lastsurv_fd1094_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+segaxbd_lastsurv_state::segaxbd_lastsurv_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+segaxbd_smgp_fd1094_state::segaxbd_smgp_fd1094_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+segaxbd_smgp_state::segaxbd_smgp_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+segaxbd_rascot_state::segaxbd_rascot_state(const machine_config &mconfig, const char *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 c4e6d21b1a0..2666bf7d59c 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, std::string tag)
+ selz80_state(const machine_config &mconfig, device_type type, const char *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 523cd4bf5a9..3a95d926d9e 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, std::string tag)
+ sengokmj_state(const machine_config &mconfig, device_type type, const char *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 866207b49a7..15ddc8f6622 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, std::string tag, device_t *owner, UINT32 clock);
+ funcube_touchscreen_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock) :
+funcube_touchscreen_device::funcube_touchscreen_device(const machine_config &mconfig, const char *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 23ec46a9780..46843e34271 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, std::string tag)
+ sfbonus_state(const machine_config &mconfig, device_type type, const char *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 944c74b706a..d8c8534e5ae 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, std::string tag)
+ sfcbox_state(const machine_config &mconfig, device_type type, const char *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 9c00afe6e5a..e94210e21fb 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, std::string tag)
+ sfkick_state(const machine_config &mconfig, device_type type, const char *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 0fe2f55055f..509146b18b9 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, std::string tag)
+ sg1000a_state(const machine_config &mconfig, device_type type, const char *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 ff829c87105..5ebe20f7530 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, std::string tag)
+ sh4robot_state(const machine_config &mconfig, device_type type, const char *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 68f37121809..1aeb26c541f 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, std::string tag)
+ shanghai_state(const machine_config &mconfig, device_type type, const char *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 c2d04c30d64..3d8a4a56374 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, std::string tag)
+ shougi_state(const machine_config &mconfig, device_type type, const char *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 32e51a0e847..59307b24c42 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, std::string tag)
+ shtzone_state(const machine_config &mconfig, device_type type, const char *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 c43e1498578..75299bfd274 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, std::string tag)
+ sigmab52_state(const machine_config &mconfig, device_type type, const char *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 bcf3b037f80..e0cdabeedaf 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, std::string tag)
+ sigmab98_state(const machine_config &mconfig, device_type type, const char *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 2d796c98ac3..bff90fc7b16 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, std::string tag)
+ silvmil_state(const machine_config &mconfig, device_type type, const char *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 4c7bcff671c..d257bd69076 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, std::string tag)
+ sitcom_state(const machine_config &mconfig, device_type type, const char *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 59d935c0f05..cb1b7a054c5 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, std::string tag)
+ skeetsht_state(const machine_config &mconfig, device_type type, const char *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 7a1bb30c449..439f0cc874a 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, std::string tag)
+ skimaxx_state(const machine_config &mconfig, device_type type, const char *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 2cb6292cdf0..525b33ff8cb 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, std::string tag)
+ skyarmy_state(const machine_config &mconfig, device_type type, const char *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 76ec91b18a7..514df8d8100 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, std::string tag)
+ skylncr_state(const machine_config &mconfig, device_type type, const char *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 f92bea1cda0..f367e3b1705 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, std::string tag)
+ slc1_state(const machine_config &mconfig, device_type type, const char *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 bb5db385349..a78e6b1e604 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, std::string tag)
+ sleic_state(const machine_config &mconfig, device_type type, const char *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 e4720c8fe55..ce294cfcea4 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, std::string tag) :
+ slicer_state(const machine_config &mconfig, device_type type, const char *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 8a94a2074f3..db675b6ab99 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, std::string tag)
+ sliver_state(const machine_config &mconfig, device_type type, const char *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 a736bedfb83..643f696b7fe 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, std::string tag)
+ slotcarn_state(const machine_config &mconfig, device_type type, const char *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 63d80ce4664..f4baab35368 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, std::string tag)
+ sm1800_state(const machine_config &mconfig, device_type type, const char *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 aea71a4b232..c4d6902b299 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, std::string tag)
+ smc777_state(const machine_config &mconfig, device_type type, const char *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 8c3d428ea17..50f15e55cc1 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, std::string tag)
+ smsmfg_state(const machine_config &mconfig, device_type type, const char *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 0fb9bb97b59..55f81e89d75 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, std::string tag)
+ snes_console_state(const machine_config &mconfig, device_type type, const char *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 4ba27b621b9..e5980a70314 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, std::string tag)
+ snesb_state(const machine_config &mconfig, device_type type, const char *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 966f7e5a999..ca422bc5d8b 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, std::string tag)
+ socrates_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ iqunlim_state(const machine_config &mconfig, device_type type, const char *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 6016c86a669..c72767f767b 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, std::string tag)
+ sothello_state(const machine_config &mconfig, device_type type, const char *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 80678652642..e7b81a0ac7b 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, std::string tag)
+ spaceg_state(const machine_config &mconfig, device_type type, const char *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 447ffe44af5..c64a9effff6 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, std::string tag)
+ spc1000_state(const machine_config &mconfig, device_type type, const char *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 c56b41661d9..2017c27f3e7 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, std::string tag)
+ spc1500_state(const machine_config &mconfig, device_type type, const char *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 f09e607ead9..3bcc3054252 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, std::string tag)
+ spectra_state(const machine_config &mconfig, device_type type, const char *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 3a326b79473..74aee52aee1 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, std::string tag)
+ speglsht_state(const machine_config &mconfig, device_type type, const char *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 ff63a3f702f..77c995501b3 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, std::string tag)
+ spinb_state(const machine_config &mconfig, device_type type, const char *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 e16eed9b257..195303ac413 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, std::string tag)
+ splus_state(const machine_config &mconfig, device_type type, const char *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 a2a01911c7d..6c7b74529e9 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, std::string tag)
+ spoker_state(const machine_config &mconfig, device_type type, const char *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 26f449aaa55..7b331e14ccd 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, std::string tag)
+ spool99_state(const machine_config &mconfig, device_type type, const char *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 39b85285bd2..81f215526b4 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, std::string tag)
+ squale_state(const machine_config &mconfig, device_type type, const char *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 ef6b4c23cc0..1ecfd8a1f0a 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, std::string tag)
+ srmp5_state(const machine_config &mconfig, device_type type, const char *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 91a1dac4a96..d6a1eb8af64 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, std::string tag)
+ srmp6_state(const machine_config &mconfig, device_type type, const char *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 6d726f8ce3b..56090713130 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, std::string tag)
+ ssem_state(const machine_config &mconfig, device_type type, const char *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 8137f6c5f14..ae392906118 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, std::string tag)
+ ssfindo_state(const machine_config &mconfig, device_type type, const char *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 174722abdfc..97075424ff0 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, std::string tag)
+ supershot_state(const machine_config &mconfig, device_type type, const char *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 5da182aa15e..fddf894e050 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, std::string tag)
+ ssingles_state(const machine_config &mconfig, device_type type, const char *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 fdd53ae7b3c..c0d114c0abf 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, std::string tag)
+ sstrangr_state(const machine_config &mconfig, device_type type, const char *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 c2dba467366..f3ba9428aea 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, std::string tag)
+ st17xx_state(const machine_config &mconfig, device_type type, const char *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 2927e008b81..7319daffee8 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, std::string tag)
+ st_mp100_state(const machine_config &mconfig, device_type type, const char *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 175ce486d1e..1a15b5dc249 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, std::string tag)
+ st_mp200_state(const machine_config &mconfig, device_type type, const char *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 2d57cece8e8..6546425f10c 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, std::string tag)
+ statriv2_state(const machine_config &mconfig, device_type type, const char *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 fcecf713e22..af12d541c47 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, std::string tag)
+ stellafr_state(const machine_config &mconfig, device_type type, const char *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 a27df35718f..62de51b640c 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, std::string tag)
+ stratos_state(const machine_config &mconfig, device_type type, const char *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 590ca454ccb..99b8cf5738b 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, std::string tag)
+ studio2_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ visicom_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ mpt02_state(const machine_config &mconfig, device_type type, const char *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 f5019cdfc3b..749416a13c5 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, std::string tag)
+ stuntair_state(const machine_config &mconfig, device_type type, const char *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 273a88a0f7e..2beaf6623ca 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, std::string tag)
+ su2000_state(const machine_config &mconfig, device_type type, const char *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 0c5658b684d..9b2487ce495 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, std::string tag)
+ sub_state(const machine_config &mconfig, device_type type, const char *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 5335497355d..aaa95c647d5 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, std::string tag)
+ subhuntr_state(const machine_config &mconfig, device_type type, const char *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 5b884f68e6d..716d1955f2c 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, std::string tag)
+ subsino_state(const machine_config &mconfig, device_type type, const char *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 ec0aed454b7..62a727e4b8f 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, std::string tag)
+ subsino2_state(const machine_config &mconfig, device_type type, const char *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 9622d4652d1..9058af8401e 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, std::string tag)
+ summit_state(const machine_config &mconfig, device_type type, const char *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 4aac950f85e..9de2d25a847 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, std::string tag)
+ sumt8035_state(const machine_config &mconfig, device_type type, const char *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 8a9f492eb06..7f8b109f207 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, std::string tag)
+ sun1_state(const machine_config &mconfig, device_type type, const char *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 7b7ca221219..80862bcf5ec 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, std::string tag)
+ sun2_state(const machine_config &mconfig, device_type type, const char *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 7e41e2954d4..00126ba93a9 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, std::string tag)
+ sun3_state(const machine_config &mconfig, device_type type, const char *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 5e117a73a84..91c0edf530f 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, std::string tag)
+ sun4_state(const machine_config &mconfig, device_type type, const char *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 9fcf5d579aa..447e0736208 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, std::string tag)
+ supdrapo_state(const machine_config &mconfig, device_type type, const char *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 a0f0f7c9bd7..1c297de8966 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, std::string tag)
+ supduck_state(const machine_config &mconfig, device_type type, const char *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 97e8ef20821..be2198189f1 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, std::string tag)
+ supercon_state(const machine_config &mconfig, device_type type, const char *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 1aa7b9cc67a..d76082e7266 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, std::string tag)
+ supercrd_state(const machine_config &mconfig, device_type type, const char *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 c5dd0bb2801..800684765ee 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, std::string tag)
+ superdq_state(const machine_config &mconfig, device_type type, const char *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 633d00f5085..938ab46a2fc 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, std::string tag)
+ supertnk_state(const machine_config &mconfig, device_type type, const char *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 f4bd6b7c623..cf599bd80dd 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, std::string tag)
+ superwng_state(const machine_config &mconfig, device_type type, const char *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 872ef866cc3..b342c846295 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, std::string tag)
+ supracan_state(const machine_config &mconfig, device_type type, const char *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(std::string tag, int n_level, const char *s_fmt, ...) ATTR_PRINTF(4,5);
+ inline void verboselog(const char *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(std::string tag, int n_level, const char *s_fmt, ...)
+inline void supracan_state::verboselog(const char *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(std::string 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.c_str(), buf );
+ logerror( "%06x: %s: %s", machine().device(tag)->safe_pc(), tag, buf );
}
#endif
}
diff --git a/src/mame/drivers/suprgolf.cpp b/src/mame/drivers/suprgolf.cpp
index 4e6b3770e8c..c83dbb32a0c 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, std::string tag)
+ suprgolf_state(const machine_config &mconfig, device_type type, const char *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 e89caa7259c..95d08b082c5 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)
{
- std::string tag = (const char *)param;
+ const char *tag = (const char *)param;
return ioport(tag)->read();
}
diff --git a/src/mame/drivers/sv8000.cpp b/src/mame/drivers/sv8000.cpp
index 8c61fc1d78e..dcb9db8cec5 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, std::string tag)
+ sv8000_state(const machine_config &mconfig, device_type type, const char *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 74000caa19f..da2ff7e3765 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, std::string tag)
+ svmu_state(const machine_config &mconfig, device_type type, const char *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 382bd7af65c..f36476d6a62 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, std::string tag)
+ swtpc_state(const machine_config &mconfig, device_type type, const char *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 2383362d21e..27827228b3b 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, std::string tag)
+ swyft_state(const machine_config &mconfig, device_type type, const char *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 3587635b4aa..231703d1df1 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, std::string tag)
+ sym1_state(const machine_config &mconfig, device_type type, const char *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 9934419f601..848ec90ff58 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, std::string tag)
+ sys2900_state(const machine_config &mconfig, device_type type, const char *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 d87257355cd..de504cfa90e 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, std::string tag)
+ systec_state(const machine_config &mconfig, device_type type, const char *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 774498c3e02..74ed96d8703 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, std::string tag)
+ taito_state(const machine_config &mconfig, device_type type, const char *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 084b752f707..16fbc1beb8c 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 };
- std::string tag = (const char *)param;
+ const char *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 e7701789710..1077996e020 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, std::string tag) :
+ taitogn_state(const machine_config &mconfig, device_type type, const char *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 dcb6434add3..c9e6807add9 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, std::string tag)
+ taitopjc_state(const machine_config &mconfig, device_type type, const char *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 8d66b5ece4f..c8dda24ca9f 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, std::string tag)
+ taitottl_state(const machine_config &mconfig, device_type type, const char *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 d56aa687645..1e45b8e9422 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, std::string tag)
+ taito_type_x_state(const machine_config &mconfig, device_type type, const char *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 6e11d26665c..6e047292565 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, std::string tag)
+ taitotz_state(const machine_config &mconfig, device_type type, const char *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 ff7c842fbf8..eba6d93fed2 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, std::string tag)
+ taitowlf_state(const machine_config &mconfig, device_type type, const char *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 d260ba91f34..1275d33f0c7 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, std::string tag)
+ tamag1_state(const machine_config &mconfig, device_type type, const char *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 4da19fbfc2e..3ba893c7610 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, std::string tag)
+ tandy1000_state(const machine_config &mconfig, device_type type, const char *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 8d4da5a660d..e02844b555f 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, std::string tag)
+ tapatune_state(const machine_config &mconfig, device_type type, const char *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 ccec37f5450..a9c65694c9b 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, std::string tag)
+ kongambl_state(const machine_config &mconfig, device_type type, const char *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 d652c617423..71c2b5fba29 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, std::string tag)
+ tattack_state(const machine_config &mconfig, device_type type, const char *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 7414675058e..4733eacb843 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, std::string tag) :
+ tavernie_state(const machine_config &mconfig, device_type type, const char *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 82431a736a7..6788bb1257d 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, std::string tag)
+ tb303_state(const machine_config &mconfig, device_type type, const char *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 b92747ae63f..cf5fe80f93a 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, std::string tag)
+ tcl_state(const machine_config &mconfig, device_type type, const char *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 9dbcaaf376e..99714f7e97a 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, std::string tag)
+ tec1_state(const machine_config &mconfig, device_type type, const char *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 e7926eeb245..7448583160b 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, std::string tag)
+ techno_state(const machine_config &mconfig, device_type type, const char *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 12cb87e492d..0d566901141 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, std::string tag)
+ tecnbras_state(const machine_config &mconfig, device_type type, const char *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 0bee49b90ef..b4677554dff 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, std::string tag)
+ tek4107a_state(const machine_config &mconfig, device_type type, const char *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 24f61d03b37..5e90c391c22 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, std::string tag)
+ tekxp330_state(const machine_config &mconfig, device_type type, const char *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 994d27b5865..514f705cdbf 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, std::string tag)
+ tempest_state(const machine_config &mconfig, device_type type, const char *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 f192ed613cc..714a2d3fcfb 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, std::string tag)
+ terak_state(const machine_config &mconfig, device_type type, const char *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 c3e5afdfdd7..b577d3c77a4 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, std::string tag)
+ t400_test_suite_state(const machine_config &mconfig, device_type type, const char *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 f67d4834df4..da033c37e05 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, std::string tag)
+ tgtpanic_state(const machine_config &mconfig, device_type type, const char *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 b8d864601d5..88db79b9569 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, std::string tag)
+ thayers_state(const machine_config &mconfig, device_type type, const char *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 2c86fadfed1..d6e9698474a 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, std::string tag)
+ thedealr_state(const machine_config &mconfig, device_type type, const char *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 4b09e2e6ded..910fecc3aae 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, std::string tag)
+ ti630_state(const machine_config &mconfig, device_type type, const char *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 96502dfc9e0..9c01b6ceea2 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, std::string tag)
+ ti74_state(const machine_config &mconfig, device_type type, const char *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 0ec7684f6a8..58264bae51f 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, std::string tag)
+ ti990_10_state(const machine_config &mconfig, device_type type, const char *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 5fbde711493..c922b662394 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, std::string tag)
+ ti990_4_state(const machine_config &mconfig, device_type type, const char *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 3ee254090f3..2eaf0250d68 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, std::string tag)
+ ti99_2_state(const machine_config &mconfig, device_type type, const char *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 2459d674177..f934677565e 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, std::string tag)
+ ti99_4p_state(const machine_config &mconfig, device_type type, const char *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 98c45d1fdda..2d9e11f4dc2 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, std::string tag)
+ ti99_4x_state(const machine_config &mconfig, device_type type, const char *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 755f8e3c798..02d94b6614a 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, std::string tag)
+ ti99_8_state(const machine_config &mconfig, device_type type, const char *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 714aa09b967..cbc16d3d7b2 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, std::string tag)
+ ticalc1x_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ tisr16_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ ti1250_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ ti1000_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ wizatron_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ lilprof_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ lilprof78_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ dataman_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ ti30_state(const machine_config &mconfig, device_type type, const char *tag)
: ticalc1x_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/tickee.cpp b/src/mame/drivers/tickee.cpp
index ad49e9050c4..3d1f78faa9d 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, std::string tag)
+ tickee_state(const machine_config &mconfig, device_type type, const char *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 42f0a887f6a..42e644bba84 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, std::string tag)
+ tim011_state(const machine_config &mconfig, device_type type, const char *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 0de2be552b2..d21b88dabb4 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, std::string tag)
+ tim100_state(const machine_config &mconfig, device_type type, const char *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 47d477454de..c3677eb3b2d 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, std::string tag)
+ timetrv_state(const machine_config &mconfig, device_type type, const char *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 f4828822d2f..6726b44f29e 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, std::string tag)
+ tispeak_state(const machine_config &mconfig, device_type type, const char *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 bc8f7e1b196..0afe81d0a49 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, std::string tag)
+ tispellb_state(const machine_config &mconfig, device_type type, const char *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 54d2e4aa2b6..8af716b28a9 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, std::string tag)
+ tk2000_state(const machine_config &mconfig, device_type type, const char *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 64cdf623da5..b7872fc2d8f 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, std::string tag)
+ tk80_state(const machine_config &mconfig, device_type type, const char *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 51f4d556ce5..99d6f1f1db5 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, std::string tag)
+ tk80bs_state(const machine_config &mconfig, device_type type, const char *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 2b359f513fe..033e9f8fa1a 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, std::string tag)
+ tm990189_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock);
+ tm990_189_rs232_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+tm990_189_rs232_image_device::tm990_189_rs232_image_device(const machine_config &mconfig, const char *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 5a339b4fd29..40858fa6df1 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, std::string tag)
+ tmaster_state(const machine_config &mconfig, device_type type, const char *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 c51c0b82e82..358867c6e82 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, std::string tag)
+ tmmjprd_state(const machine_config &mconfig, device_type type, const char *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 74a921d4f0b..70351f63c69 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, std::string tag)
+ tmspoker_state(const machine_config &mconfig, device_type type, const char *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 62889ca6a7b..4f28338400d 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, std::string tag)
+ tokyocop_state(const machine_config &mconfig, device_type type, const char *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 a40b3db2e14..4b3919afdc1 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, std::string tag)
+ tomcat_state(const machine_config &mconfig, device_type type, const char *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 27966982f13..36770d448a8 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, std::string tag)
+ tonton_state(const machine_config &mconfig, device_type type, const char *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 826912e3986..e265b3130f4 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 };
- std::string tag = (const char *)param;
+ const char *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 ff7cda5b6c9..b422680e6f9 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, std::string tag)
+ toratora_state(const machine_config &mconfig, device_type type, const char *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 5aad75b35b5..c2b2fa57696 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, std::string tag)
+ tourtabl_state(const machine_config &mconfig, device_type type, const char *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 f674084504c..60bdcc72630 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, std::string tag)
+ tourvision_state(const machine_config &mconfig, device_type type, const char *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 8e04cfb485f..ecadeb6667d 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, std::string tag)
+ tricep_state(const machine_config &mconfig, device_type type, const char *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 68b99351089..a433cce2c09 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, std::string tag)
+ triforce_state(const machine_config &mconfig, device_type type, const char *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 89723355948..aabba09848a 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, std::string tag)
+ trvmadns_state(const machine_config &mconfig, device_type type, const char *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 d8c20c27769..19680c956cb 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, std::string tag)
+ ts802_state(const machine_config &mconfig, device_type type, const char *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 e2395816abc..7c8eec2f7ae 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, std::string tag)
+ ts803_state(const machine_config &mconfig, device_type type, const char *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 88f17d88332..6bf818a2163 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, std::string tag)
+ ts816_state(const machine_config &mconfig, device_type type, const char *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 d8919696780..8021db87042 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, std::string tag)
+ ttchamp_state(const machine_config &mconfig, device_type type, const char *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 71c89ed81b1..0fd80a9e45d 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, std::string tag)
+ tugboat_state(const machine_config &mconfig, device_type type, const char *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 807a4129f0b..a37bf36cfe2 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, std::string tag, device_t *owner, UINT32 clock)
+ turrett_hdd(const machine_config &mconfig, const char *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 8ced99cb997..7d651eaacef 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, std::string tag)
+ tutor_state(const machine_config &mconfig, device_type type, const char *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 009be46e463..7fe87623194 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, std::string tag)
+ tv950_state(const machine_config &mconfig, device_type type, const char *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 435ce22dde3..20ffc65710f 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, std::string tag)
+ tvc_state(const machine_config &mconfig, device_type type, const char *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 1f490782416..29e5508ce32 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, std::string tag)
+ tvcapcom_state(const machine_config &mconfig, device_type type, const char *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 59aebdec53e..44ede341caf 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, std::string tag)
+ tvgame_state(const machine_config &mconfig, device_type type, const char *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 afd0e0b16ad..5b38a3dd019 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, std::string tag)
+ twinkle_state(const machine_config &mconfig, device_type type, const char *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 d369f2e2fdd..bf4468e5dd4 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, std::string tag)
+ twins_state(const machine_config &mconfig, device_type type, const char *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 d57ac7300fd..d95ef46b796 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, std::string tag, device_t *owner, UINT32 clock);
+ tx0_readtape_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+tx0_readtape_image_device::tx0_readtape_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock);
+ tx0_punchtape_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+tx0_punchtape_image_device::tx0_punchtape_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock);
+ tx0_printer_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+tx0_printer_image_device::tx0_printer_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock);
+ tx0_magtape_image_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock)
+tx0_magtape_image_device::tx0_magtape_image_device(const machine_config &mconfig, const char *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 1b0906ffc02..8d95ceb1eb5 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, std::string tag)
+ uapce_state(const machine_config &mconfig, device_type type, const char *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 c0a5b7bd08b..af546c28b6e 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, std::string tag)
+ uknc_state(const machine_config &mconfig, device_type type, const char *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 81143ada34e..b79c9784b1d 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, std::string tag)
+ ultrsprt_state(const machine_config &mconfig, device_type type, const char *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 9cabc077ba0..8d4f49b7db7 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, std::string tag)
+ umipoker_state(const machine_config &mconfig, device_type type, const char *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 b398545cbce..4c566f96619 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, std::string tag)
+ unichamp_state(const machine_config &mconfig, device_type type, const char *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 b70f82c8122..64bf30e97d4 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, std::string tag) :
+ unior_state(const machine_config &mconfig, device_type type, const char *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 ad45711f00f..59537dd11b0 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, std::string tag)
+ unistar_state(const machine_config &mconfig, device_type type, const char *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 9aa2cf09da0..588b2a1bc39 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, std::string tag)
+ univac_state(const machine_config &mconfig, device_type type, const char *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 3da660ee821..1e08d3b6574 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, std::string tag)
+ unixpc_state(const machine_config &mconfig, device_type type, const char *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 705e9f61030..296f58b3cbd 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, std::string tag)
+ unkfr_state(const machine_config &mconfig, device_type type, const char *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 231e02ffeaf..5ac829908cc 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, std::string tag)
+ horse_state(const machine_config &mconfig, device_type type, const char *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 ea227920eac..8454f0c135e 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, std::string tag)
+ upscope_state(const machine_config &mconfig, device_type type, const char *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 85e0e02dbc1..424f530e8e4 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, std::string tag)
+ uzebox_state(const machine_config &mconfig, device_type type, const char *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 de42b245068..6acbf18954e 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, std::string tag)
+ v6809_state(const machine_config &mconfig, device_type type, const char *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 8411c003f84..97640e10076 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, std::string tag)
+ vamphalf_state(const machine_config &mconfig, device_type type, const char *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 977975e01f2..acf6e607316 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, std::string tag)
+ vax11_state(const machine_config &mconfig, device_type type, const char *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 7924e2416a7..1524849c555 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, std::string tag)
+ vboy_state(const machine_config &mconfig, device_type type, const char *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 ee56ced6336..ad72f7770b8 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, std::string tag)
+ vcombat_state(const machine_config &mconfig, device_type type, const char *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().c_str());
+ fprintf(stderr, "M0 asserting bus HOLD to i860 %s\n", device->tag());
device->i860_set_pin(DEC_PIN_BUS_HOLD, 1);
}
else
{
- fprintf(stderr, "M0 clearing bus HOLD to i860 %s\n", device->tag().c_str());
+ fprintf(stderr, "M0 clearing bus HOLD to i860 %s\n", device->tag());
device->i860_set_pin(DEC_PIN_BUS_HOLD, 0);
}
if (reset)
{
- fprintf(stderr, "M0 asserting RESET to i860 %s\n", device->tag().c_str());
+ fprintf(stderr, "M0 asserting RESET to i860 %s\n", device->tag());
device->i860_set_pin(DEC_PIN_RESET, 1);
}
else
diff --git a/src/mame/drivers/vd.cpp b/src/mame/drivers/vd.cpp
index 4b215191f2c..f2d17a2d6fa 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, std::string tag)
+ vd_state(const machine_config &mconfig, device_type type, const char *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 ca61fbf71e6..69275ba90fd 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, std::string tag)
+ vector4_state(const machine_config &mconfig, device_type type, const char *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 8d0bb044421..12497b386ab 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, std::string tag)
+ vega_state(const machine_config &mconfig, device_type type, const char *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 a7ccb3708f3..9d366595ed8 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, std::string tag)
+ vegaeo_state(const machine_config &mconfig, device_type type, const char *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 c984065e8d2..c71cff65f1a 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, std::string tag)
+ vegas_state(const machine_config &mconfig, device_type type, const char *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 4ac34148c9c..5cfa9528dd4 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, std::string tag)
+ vg5k_state(const machine_config &mconfig, device_type type, const char *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 dda469941ed..e73ff6d5883 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, std::string tag)
+ videopkr_state(const machine_config &mconfig, device_type type, const char *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 ce962427f13..bdac38aecc0 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, std::string tag)
+ vii_state(const machine_config &mconfig, device_type type, const char *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 36dd89d224f..36325bcb1f2 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, std::string tag)
+ viper_state(const machine_config &mconfig, device_type type, const char *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 c8e334ba15a..7864083b066 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, std::string tag) :
+ vk100_state(const machine_config &mconfig, device_type type, const char *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 0d930fd853f..9af970eb247 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, std::string tag)
+ nevada_state(const machine_config &mconfig, device_type type, const char *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 8f80a246bc5..d74006139d3 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, std::string tag)
+ votrpss_state(const machine_config &mconfig, device_type type, const char *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 ca3d1f0107b..7d7c007ee35 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, std::string tag) :
+ votrtnt_state(const machine_config &mconfig, device_type type, const char *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 9ea134b030d..7afe5159636 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, std::string tag)
+ voyager_state(const machine_config &mconfig, device_type type, const char *tag)
: pcat_base_state(mconfig, type, tag)
{
}
diff --git a/src/mame/drivers/vp101.cpp b/src/mame/drivers/vp101.cpp
index 55a4973c254..a1b66a5e1b8 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, std::string tag)
+ vp10x_state(const machine_config &mconfig, device_type type, const char *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 30959a2a085..1a23190c002 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, std::string tag)
+ vpoker_state(const machine_config &mconfig, device_type type, const char *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 2f3cbabb21e..dcbf7a37c29 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, std::string tag)
+ vroulet_state(const machine_config &mconfig, device_type type, const char *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 bb3a17de81e..1d655600979 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, std::string tag) :
+ vt100_state(const machine_config &mconfig, device_type type, const char *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 edbeb00cc3a..42fcb2ea2c1 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, std::string tag)
+ vt220_state(const machine_config &mconfig, device_type type, const char *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 665f47bb13b..153cc6f249f 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, std::string tag)
+ vt240_state(const machine_config &mconfig, device_type type, const char *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 1da204444cb..5a661b962b6 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, std::string tag)
+ vt320_state(const machine_config &mconfig, device_type type, const char *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 1a04168a161..c65c7ebe5ee 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, std::string tag)
+ vt520_state(const machine_config &mconfig, device_type type, const char *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 e99dc5f67bc..c301e5bcd18 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, std::string tag)
+ vta2000_state(const machine_config &mconfig, device_type type, const char *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 342b55a5262..01ea9d775bb 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, std::string tag) :
+ vtech1_state(const machine_config &mconfig, device_type type, const char *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 4125daa610d..77f67d7165e 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, std::string tag)
+ wackygtr_state(const machine_config &mconfig, device_type type, const char *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 d75c6e092f5..7e6243e6f60 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, std::string tag)
+ wallc_state(const machine_config &mconfig, device_type type, const char *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 3b3b3648689..da4e7c078b7 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, std::string tag)
+ wardner_state(const machine_config &mconfig, device_type type, const char *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 d58fb2a9c23..8601b04879b 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, std::string tag)
+ warpspeed_state(const machine_config &mconfig, device_type type, const char *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 5693a98bfd5..e2f2c10c88c 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, std::string tag)
+ wheelfir_state(const machine_config &mconfig, device_type type, const char *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 35f1751b898..b6a606f2412 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, std::string tag)
+ whitestar_mod_state(const machine_config &mconfig, device_type type, const char *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 de9fdc4f51e..2eb20073da7 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, std::string tag)
+ whitestar_state(const machine_config &mconfig, device_type type, const char *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 486b336f94c..81b17bb1bb2 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, std::string tag)
+ wicat_state(const machine_config &mconfig, device_type type, const char *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 cb9f742d9d1..d5c3e13a649 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, std::string tag)
+ wico_state(const machine_config &mconfig, device_type type, const char *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 7ff8b168076..d9e7a036bfe 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, std::string tag)
+ wildfire_state(const machine_config &mconfig, device_type type, const char *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 356af480052..c3f35668fdc 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, std::string tag)
+ wildpkr_state(const machine_config &mconfig, device_type type, const char *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 1c2237ae0cd..df9e42a26f7 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, std::string tag)
+ wink_state(const machine_config &mconfig, device_type type, const char *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 851156984fd..1eaa13ce0ee 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, std::string tag)
+ witch_state(const machine_config &mconfig, device_type type, const char *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 bbc1729e94b..53084fc46f8 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, std::string tag)
+ wmg_state(const machine_config &mconfig, device_type type, const char *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 8a1a6b65a8e..21f56ca3a3d 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, std::string tag)
+ wms_state(const machine_config &mconfig, device_type type, const char *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 4473fcc56dd..eb305804a4c 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, std::string tag)
+ wpc_95_state(const machine_config &mconfig, device_type type, const char *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 4670b8ea007..893b2331747 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, std::string tag)
+ wpc_an_state(const machine_config &mconfig, device_type type, const char *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 3ed2ca03e65..daff3ed55d0 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, std::string tag)
+ wpc_dcs_state(const machine_config &mconfig, device_type type, const char *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 4b29462a0c4..ce4126b6db1 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, std::string tag)
+ wpc_s_state(const machine_config &mconfig, device_type type, const char *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 4a28b0f01b3..01c7bbd83ae 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, std::string tag)
+ wyvernf0_state(const machine_config &mconfig, device_type type, const char *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 075a24c0e2a..41783de4e28 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, std::string tag)
+ x1twin_state(const machine_config &mconfig, device_type type, const char *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 688f8b89d92..faa669cd547 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, std::string tag)
+ xavix_state(const machine_config &mconfig, device_type type, const char *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 d664e2fe5dd..04cfb3b9a56 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, std::string tag) :
+ xbox_state(const machine_config &mconfig, device_type type, const char *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 59b8c9968da..f08785b3726 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, std::string tag)
+ xtheball_state(const machine_config &mconfig, device_type type, const char *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 ff513cf08a9..c017d160442 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, std::string tag)
+ xtom3d_state(const machine_config &mconfig, device_type type, const char *tag)
: pcat_base_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/ymmu100.cpp b/src/mame/drivers/ymmu100.cpp
index 105dbc1ca60..a109418b62e 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, std::string tag)
+ mu100_state(const machine_config &mconfig, device_type type, const char *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, std::string tag)
+ mu100r_state(const machine_config &mconfig, device_type type, const char *tag)
: mu100_state(mconfig, type, tag)
{ }
diff --git a/src/mame/drivers/z100.cpp b/src/mame/drivers/z100.cpp
index 0ec67548ddc..7addd6407cd 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, std::string tag)
+ z100_state(const machine_config &mconfig, device_type type, const char *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 aff7677cddd..ca1d5c3a3bf 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, std::string tag)
+ z1013_state(const machine_config &mconfig, device_type type, const char *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 9b57ea427c9..b18d93529a8 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, std::string tag)
+ z80dev_state(const machine_config &mconfig, device_type type, const char *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 85dc16e8148..8c824b53f87 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, std::string tag)
+ z9001_state(const machine_config &mconfig, device_type type, const char *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 f033114f6c6..ae94d5a5b96 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, std::string tag)
+ zac_1_state(const machine_config &mconfig, device_type type, const char *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 1bb7e8e62e7..659e38ae6aa 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, std::string tag)
+ zac_2_state(const machine_config &mconfig, device_type type, const char *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 c68c4609344..af6b1f604e5 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, std::string tag)
+ zac_proto_state(const machine_config &mconfig, device_type type, const char *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 57207743114..f6dab84cc73 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, std::string tag)
+ zapcomp_state(const machine_config &mconfig, device_type type, const char *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 95ef7eac4c3..cf19f15c8ff 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, std::string tag)
+ zaurus_state(const machine_config &mconfig, device_type type, const char *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 4d1fe464b4e..4ca777e18dd 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, std::string tag)
+ zexall_state(const machine_config &mconfig, device_type type, const char *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 d6447089a64..79d6ea77855 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, std::string tag) :
+ zn_state(const machine_config &mconfig, device_type type, const char *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 278547ce547..647ef396c0f 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, std::string tag)
+ zorba_state(const machine_config &mconfig, device_type type, const char *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 8db49ba17a3..f838f3e21e2 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, std::string tag)
+ zr107_state(const machine_config &mconfig, device_type type, const char *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 25586391175..940a0ce6acc 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, std::string tag)
+ zrt80_state(const machine_config &mconfig, device_type type, const char *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 4e28ad55038..9d4588785c7 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, std::string tag)
+ zsbc3_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_terminal(*this, TERMINAL_TAG)