From 1f90ceab075c4869298e963bf0a14a0aac2f1caa Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 16 Jan 2016 12:24:11 +0100 Subject: tags are now strings (nw) fix start project for custom builds in Visual Studio (nw) --- src/mame/includes/1942.h | 2 +- src/mame/includes/1943.h | 2 +- src/mame/includes/20pacgal.h | 4 ++-- src/mame/includes/3do.h | 2 +- src/mame/includes/40love.h | 2 +- src/mame/includes/4enraya.h | 2 +- src/mame/includes/8080bw.h | 2 +- src/mame/includes/88games.h | 2 +- src/mame/includes/abc1600.h | 2 +- src/mame/includes/abc80.h | 2 +- src/mame/includes/abc80x.h | 10 +++++----- src/mame/includes/ac1.h | 2 +- src/mame/includes/actfancr.h | 2 +- src/mame/includes/adam.h | 2 +- src/mame/includes/advision.h | 2 +- src/mame/includes/aeroboto.h | 2 +- src/mame/includes/aerofgt.h | 2 +- src/mame/includes/aim65.h | 2 +- src/mame/includes/airbustr.h | 2 +- src/mame/includes/ajax.h | 2 +- src/mame/includes/alesis.h | 4 ++-- src/mame/includes/aliens.h | 2 +- src/mame/includes/alpha68k.h | 2 +- src/mame/includes/ambush.h | 2 +- src/mame/includes/amiga.h | 2 +- src/mame/includes/ampoker2.h | 2 +- src/mame/includes/amspdwy.h | 2 +- src/mame/includes/amstrad.h | 2 +- src/mame/includes/angelkds.h | 2 +- src/mame/includes/apollo.h | 18 +++++++++--------- src/mame/includes/apple1.h | 2 +- src/mame/includes/apple2.h | 2 +- src/mame/includes/apple2gs.h | 2 +- src/mame/includes/apple3.h | 2 +- src/mame/includes/appoooh.h | 2 +- src/mame/includes/aquarium.h | 2 +- src/mame/includes/aquarius.h | 2 +- src/mame/includes/arabian.h | 2 +- src/mame/includes/arcadecl.h | 2 +- src/mame/includes/arcadia.h | 2 +- src/mame/includes/archimds.h | 2 +- src/mame/includes/argus.h | 2 +- src/mame/includes/arkanoid.h | 2 +- src/mame/includes/armedf.h | 4 ++-- src/mame/includes/artmagic.h | 2 +- src/mame/includes/ashnojoe.h | 2 +- src/mame/includes/asterix.h | 2 +- src/mame/includes/asteroid.h | 2 +- src/mame/includes/astrocde.h | 2 +- src/mame/includes/astrof.h | 2 +- src/mame/includes/asuka.h | 2 +- src/mame/includes/at.h | 6 +++--- src/mame/includes/atari.h | 2 +- src/mame/includes/atarifb.h | 2 +- src/mame/includes/atarig1.h | 2 +- src/mame/includes/atarig42.h | 2 +- src/mame/includes/atarigt.h | 2 +- src/mame/includes/atarigx2.h | 2 +- src/mame/includes/atarist.h | 10 +++++----- src/mame/includes/atarisy1.h | 2 +- src/mame/includes/atarisy2.h | 2 +- src/mame/includes/atetris.h | 2 +- src/mame/includes/atom.h | 4 ++-- src/mame/includes/aussiebyte.h | 2 +- src/mame/includes/avalnche.h | 2 +- src/mame/includes/avigo.h | 2 +- src/mame/includes/aztarac.h | 2 +- src/mame/includes/b2m.h | 2 +- src/mame/includes/badlands.h | 2 +- src/mame/includes/bagman.h | 2 +- src/mame/includes/balsente.h | 2 +- src/mame/includes/banctec.h | 2 +- src/mame/includes/bankp.h | 2 +- src/mame/includes/baraduke.h | 2 +- src/mame/includes/batman.h | 2 +- src/mame/includes/battlane.h | 2 +- src/mame/includes/battlera.h | 2 +- src/mame/includes/battlex.h | 2 +- src/mame/includes/battlnts.h | 2 +- src/mame/includes/bbc.h | 2 +- src/mame/includes/bbusters.h | 2 +- src/mame/includes/beathead.h | 2 +- src/mame/includes/bebox.h | 2 +- src/mame/includes/beezer.h | 4 ++-- src/mame/includes/bfm_ad5.h | 2 +- src/mame/includes/bfm_sc45.h | 6 +++--- src/mame/includes/bfm_sc5.h | 2 +- src/mame/includes/bigevglf.h | 2 +- src/mame/includes/bigstrkb.h | 2 +- src/mame/includes/bionicc.h | 2 +- src/mame/includes/bishi.h | 2 +- src/mame/includes/bk.h | 2 +- src/mame/includes/bking.h | 2 +- src/mame/includes/bladestl.h | 2 +- src/mame/includes/blktiger.h | 2 +- src/mame/includes/blmbycar.h | 2 +- src/mame/includes/blockade.h | 2 +- src/mame/includes/blockout.h | 2 +- src/mame/includes/bloodbro.h | 2 +- src/mame/includes/blstroid.h | 2 +- src/mame/includes/blueprnt.h | 2 +- src/mame/includes/bogeyman.h | 2 +- src/mame/includes/bombjack.h | 2 +- src/mame/includes/boogwing.h | 2 +- src/mame/includes/bottom9.h | 2 +- src/mame/includes/brkthru.h | 2 +- src/mame/includes/bsktball.h | 2 +- src/mame/includes/btime.h | 2 +- src/mame/includes/btoads.h | 2 +- src/mame/includes/bublbobl.h | 2 +- src/mame/includes/buggychl.h | 2 +- src/mame/includes/bullet.h | 4 ++-- src/mame/includes/busicom.h | 2 +- src/mame/includes/bw12.h | 2 +- src/mame/includes/bw2.h | 2 +- src/mame/includes/bwidow.h | 2 +- src/mame/includes/bwing.h | 2 +- src/mame/includes/bzone.h | 2 +- src/mame/includes/c128.h | 2 +- src/mame/includes/c64.h | 8 ++++---- src/mame/includes/c80.h | 2 +- src/mame/includes/cabal.h | 2 +- src/mame/includes/calomega.h | 2 +- src/mame/includes/canyon.h | 2 +- src/mame/includes/capbowl.h | 2 +- src/mame/includes/carjmbre.h | 2 +- src/mame/includes/carpolo.h | 2 +- src/mame/includes/cave.h | 2 +- src/mame/includes/cbasebal.h | 2 +- src/mame/includes/cbm2.h | 6 +++--- src/mame/includes/cbuster.h | 2 +- src/mame/includes/ccastles.h | 2 +- src/mame/includes/cchasm.h | 2 +- src/mame/includes/cclimber.h | 2 +- src/mame/includes/cdi.h | 2 +- src/mame/includes/centiped.h | 2 +- src/mame/includes/cgc7900.h | 2 +- src/mame/includes/chaknpop.h | 2 +- src/mame/includes/champbas.h | 2 +- src/mame/includes/changela.h | 2 +- src/mame/includes/channelf.h | 2 +- src/mame/includes/cheekyms.h | 2 +- src/mame/includes/chqflag.h | 2 +- src/mame/includes/cidelsa.h | 4 ++-- src/mame/includes/cinemat.h | 2 +- src/mame/includes/circus.h | 2 +- src/mame/includes/circusc.h | 2 +- src/mame/includes/cischeat.h | 2 +- src/mame/includes/citycon.h | 2 +- src/mame/includes/cloak.h | 2 +- src/mame/includes/cloud9.h | 2 +- src/mame/includes/clshroad.h | 2 +- src/mame/includes/cninja.h | 2 +- src/mame/includes/coco.h | 2 +- src/mame/includes/coco12.h | 2 +- src/mame/includes/coco3.h | 2 +- src/mame/includes/coleco.h | 2 +- src/mame/includes/combatsc.h | 2 +- src/mame/includes/commando.h | 2 +- src/mame/includes/compgolf.h | 2 +- src/mame/includes/compis.h | 2 +- src/mame/includes/comquest.h | 2 +- src/mame/includes/comx35.h | 2 +- src/mame/includes/concept.h | 2 +- src/mame/includes/contra.h | 2 +- src/mame/includes/coolpool.h | 2 +- src/mame/includes/cop01.h | 2 +- src/mame/includes/copsnrob.h | 2 +- src/mame/includes/cosmic.h | 2 +- src/mame/includes/cosmicos.h | 2 +- src/mame/includes/cps1.h | 2 +- src/mame/includes/cps3.h | 2 +- src/mame/includes/crbaloon.h | 2 +- src/mame/includes/crgolf.h | 2 +- src/mame/includes/crimfght.h | 2 +- src/mame/includes/crospang.h | 2 +- src/mame/includes/crshrace.h | 2 +- src/mame/includes/crvision.h | 6 +++--- src/mame/includes/cvs.h | 2 +- src/mame/includes/cxhumax.h | 2 +- src/mame/includes/cyberbal.h | 2 +- src/mame/includes/cybiko.h | 2 +- src/mame/includes/dai.h | 2 +- src/mame/includes/darius.h | 2 +- src/mame/includes/darkmist.h | 2 +- src/mame/includes/darkseal.h | 2 +- src/mame/includes/dassault.h | 2 +- src/mame/includes/dbz.h | 2 +- src/mame/includes/dc.h | 2 +- src/mame/includes/dccons.h | 2 +- src/mame/includes/dcheese.h | 2 +- src/mame/includes/dcon.h | 2 +- src/mame/includes/dday.h | 2 +- src/mame/includes/ddragon.h | 2 +- src/mame/includes/ddragon3.h | 4 ++-- src/mame/includes/ddribble.h | 2 +- src/mame/includes/deadang.h | 2 +- src/mame/includes/dec0.h | 4 ++-- src/mame/includes/dec8.h | 2 +- src/mame/includes/deco32.h | 4 ++-- src/mame/includes/deco_mlc.h | 2 +- src/mame/includes/decocass.h | 2 +- src/mame/includes/decocrpt.h | 6 +++--- src/mame/includes/deniam.h | 2 +- src/mame/includes/dgn_beta.h | 2 +- src/mame/includes/dgnalpha.h | 2 +- src/mame/includes/dietgo.h | 2 +- src/mame/includes/djboy.h | 2 +- src/mame/includes/djmain.h | 2 +- src/mame/includes/dkong.h | 2 +- src/mame/includes/dm7000.h | 2 +- src/mame/includes/docastle.h | 2 +- src/mame/includes/dogfgt.h | 2 +- src/mame/includes/dooyong.h | 8 ++++---- src/mame/includes/dragon.h | 4 ++-- src/mame/includes/dragrace.h | 2 +- src/mame/includes/drgnmst.h | 2 +- src/mame/includes/dribling.h | 2 +- src/mame/includes/drmicro.h | 2 +- src/mame/includes/dynax.h | 2 +- src/mame/includes/dynduke.h | 2 +- src/mame/includes/ec184x.h | 2 +- src/mame/includes/einstein.h | 8 ++++---- src/mame/includes/electron.h | 2 +- src/mame/includes/elf.h | 2 +- src/mame/includes/eolith.h | 2 +- src/mame/includes/ep64.h | 2 +- src/mame/includes/epos.h | 2 +- src/mame/includes/eprom.h | 2 +- src/mame/includes/equites.h | 2 +- src/mame/includes/esd16.h | 2 +- src/mame/includes/espial.h | 2 +- src/mame/includes/esripsys.h | 2 +- src/mame/includes/eti660.h | 2 +- src/mame/includes/exedexes.h | 2 +- src/mame/includes/exerion.h | 2 +- src/mame/includes/exidy.h | 2 +- src/mame/includes/exidy440.h | 2 +- src/mame/includes/exp85.h | 2 +- src/mame/includes/exprraid.h | 2 +- src/mame/includes/exterm.h | 2 +- src/mame/includes/exzisus.h | 2 +- src/mame/includes/f1gp.h | 2 +- src/mame/includes/fantland.h | 2 +- src/mame/includes/fastfred.h | 2 +- src/mame/includes/fastlane.h | 2 +- src/mame/includes/fcombat.h | 2 +- src/mame/includes/fgoal.h | 2 +- src/mame/includes/finalizr.h | 2 +- src/mame/includes/firetrap.h | 2 +- src/mame/includes/firetrk.h | 2 +- src/mame/includes/fitfight.h | 2 +- src/mame/includes/flkatck.h | 2 +- src/mame/includes/flower.h | 4 ++-- src/mame/includes/flstory.h | 2 +- src/mame/includes/fm7.h | 2 +- src/mame/includes/fmtowns.h | 6 +++--- src/mame/includes/foodf.h | 2 +- src/mame/includes/freekick.h | 2 +- src/mame/includes/fromanc2.h | 2 +- src/mame/includes/fromance.h | 2 +- src/mame/includes/funkybee.h | 2 +- src/mame/includes/funkyjet.h | 2 +- src/mame/includes/funworld.h | 2 +- src/mame/includes/funybubl.h | 2 +- src/mame/includes/fuukifg2.h | 2 +- src/mame/includes/fuukifg3.h | 2 +- src/mame/includes/gaelco.h | 2 +- src/mame/includes/gaelco2.h | 6 +++--- src/mame/includes/gaelco3d.h | 2 +- src/mame/includes/gaiden.h | 2 +- src/mame/includes/galaga.h | 8 ++++---- src/mame/includes/galastrm.h | 2 +- src/mame/includes/galaxia.h | 2 +- src/mame/includes/galaxian.h | 2 +- src/mame/includes/galaxold.h | 2 +- src/mame/includes/galaxy.h | 2 +- src/mame/includes/galeb.h | 2 +- src/mame/includes/galivan.h | 2 +- src/mame/includes/galpani2.h | 2 +- src/mame/includes/galpanic.h | 2 +- src/mame/includes/galspnbl.h | 2 +- src/mame/includes/gamate.h | 2 +- src/mame/includes/gamecom.h | 2 +- src/mame/includes/gameplan.h | 2 +- src/mame/includes/gamepock.h | 2 +- src/mame/includes/gaplus.h | 2 +- src/mame/includes/gatron.h | 2 +- src/mame/includes/gauntlet.h | 2 +- src/mame/includes/gb.h | 4 ++-- src/mame/includes/gba.h | 2 +- src/mame/includes/gberet.h | 2 +- src/mame/includes/gcpinbal.h | 2 +- src/mame/includes/genpc.h | 12 ++++++------ src/mame/includes/gijoe.h | 2 +- src/mame/includes/ginganin.h | 2 +- src/mame/includes/gladiatr.h | 2 +- src/mame/includes/glass.h | 2 +- src/mame/includes/gng.h | 2 +- src/mame/includes/goal92.h | 2 +- src/mame/includes/goindol.h | 2 +- src/mame/includes/goldstar.h | 12 ++++++------ src/mame/includes/gomoku.h | 4 ++-- src/mame/includes/gotcha.h | 2 +- src/mame/includes/gottlieb.h | 2 +- src/mame/includes/gotya.h | 2 +- src/mame/includes/gp32.h | 2 +- src/mame/includes/gradius3.h | 2 +- src/mame/includes/grchamp.h | 2 +- src/mame/includes/gridlee.h | 4 ++-- src/mame/includes/groundfx.h | 2 +- src/mame/includes/gstriker.h | 2 +- src/mame/includes/gsword.h | 2 +- src/mame/includes/gumbo.h | 2 +- src/mame/includes/gunbustr.h | 2 +- src/mame/includes/gundealr.h | 2 +- src/mame/includes/gunsmoke.h | 2 +- src/mame/includes/gyruss.h | 2 +- src/mame/includes/hanaawas.h | 2 +- src/mame/includes/harddriv.h | 32 ++++++++++++++++---------------- src/mame/includes/hcastle.h | 2 +- src/mame/includes/hec2hrp.h | 2 +- src/mame/includes/hexion.h | 2 +- src/mame/includes/hh_tms1k.h | 2 +- src/mame/includes/hh_ucom4.h | 2 +- src/mame/includes/higemaru.h | 2 +- src/mame/includes/himesiki.h | 2 +- src/mame/includes/hitme.h | 2 +- src/mame/includes/hnayayoi.h | 2 +- src/mame/includes/hng64.h | 2 +- src/mame/includes/holeland.h | 2 +- src/mame/includes/homedata.h | 2 +- src/mame/includes/homerun.h | 2 +- src/mame/includes/hp48.h | 4 ++-- src/mame/includes/huebler.h | 2 +- src/mame/includes/hx20.h | 2 +- src/mame/includes/hyhoo.h | 2 +- src/mame/includes/hyperspt.h | 2 +- src/mame/includes/hyprduel.h | 2 +- src/mame/includes/ikki.h | 2 +- src/mame/includes/imds2.h | 2 +- src/mame/includes/intv.h | 2 +- src/mame/includes/inufuku.h | 2 +- src/mame/includes/iqblock.h | 2 +- src/mame/includes/irobot.h | 2 +- src/mame/includes/ironhors.h | 2 +- src/mame/includes/itech32.h | 4 ++-- src/mame/includes/itech8.h | 2 +- src/mame/includes/jack.h | 2 +- src/mame/includes/jackal.h | 2 +- src/mame/includes/jaguar.h | 2 +- src/mame/includes/jailbrek.h | 2 +- src/mame/includes/jedi.h | 2 +- src/mame/includes/jpmimpct.h | 2 +- src/mame/includes/jpmsys5.h | 2 +- src/mame/includes/jupiter.h | 4 ++-- src/mame/includes/kaneko16.h | 10 +++++----- src/mame/includes/kangaroo.h | 2 +- src/mame/includes/karnov.h | 2 +- src/mame/includes/kaypro.h | 2 +- src/mame/includes/kc.h | 4 ++-- src/mame/includes/kchamp.h | 2 +- src/mame/includes/kickgoal.h | 2 +- src/mame/includes/kingobox.h | 2 +- src/mame/includes/klax.h | 2 +- src/mame/includes/kncljoe.h | 2 +- src/mame/includes/konamigx.h | 2 +- src/mame/includes/kopunch.h | 2 +- src/mame/includes/kramermc.h | 2 +- src/mame/includes/ksayakyu.h | 2 +- src/mame/includes/kyocera.h | 8 ++++---- src/mame/includes/kyugo.h | 2 +- src/mame/includes/labyrunr.h | 2 +- src/mame/includes/ladybug.h | 2 +- src/mame/includes/ladyfrog.h | 2 +- src/mame/includes/laserbat.h | 6 +++--- src/mame/includes/lasso.h | 2 +- src/mame/includes/lastduel.h | 2 +- src/mame/includes/lazercmd.h | 2 +- src/mame/includes/lc80.h | 2 +- src/mame/includes/legionna.h | 2 +- src/mame/includes/leland.h | 12 ++++++------ src/mame/includes/lemmings.h | 2 +- src/mame/includes/lethal.h | 2 +- src/mame/includes/lethalj.h | 2 +- src/mame/includes/liberate.h | 2 +- src/mame/includes/liberatr.h | 2 +- src/mame/includes/lisa.h | 2 +- src/mame/includes/lkage.h | 2 +- src/mame/includes/llc.h | 2 +- src/mame/includes/lockon.h | 2 +- src/mame/includes/lordgun.h | 2 +- src/mame/includes/lsasquad.h | 2 +- src/mame/includes/lucky74.h | 2 +- src/mame/includes/lvcards.h | 2 +- src/mame/includes/lviv.h | 2 +- src/mame/includes/lwings.h | 2 +- src/mame/includes/lynx.h | 2 +- src/mame/includes/m10.h | 2 +- src/mame/includes/m107.h | 2 +- src/mame/includes/m5.h | 2 +- src/mame/includes/m52.h | 2 +- src/mame/includes/m57.h | 2 +- src/mame/includes/m58.h | 2 +- src/mame/includes/m62.h | 2 +- src/mame/includes/m72.h | 2 +- src/mame/includes/m79amb.h | 2 +- src/mame/includes/m90.h | 2 +- src/mame/includes/m92.h | 2 +- src/mame/includes/mac.h | 4 ++-- src/mame/includes/macpci.h | 2 +- src/mame/includes/macrossp.h | 2 +- src/mame/includes/madalien.h | 2 +- src/mame/includes/madmotor.h | 2 +- src/mame/includes/magmax.h | 2 +- src/mame/includes/mainevt.h | 2 +- src/mame/includes/mainsnk.h | 2 +- src/mame/includes/malzak.h | 2 +- src/mame/includes/mappy.h | 2 +- src/mame/includes/marineb.h | 2 +- src/mame/includes/mario.h | 2 +- src/mame/includes/markham.h | 2 +- src/mame/includes/matmania.h | 2 +- src/mame/includes/maygay1b.h | 2 +- src/mame/includes/mbc55x.h | 2 +- src/mame/includes/mbee.h | 2 +- src/mame/includes/mboard.h | 2 +- src/mame/includes/mc1000.h | 2 +- src/mame/includes/mc1502.h | 2 +- src/mame/includes/mc80.h | 2 +- src/mame/includes/mcatadv.h | 2 +- src/mame/includes/mcr.h | 2 +- src/mame/includes/mcr3.h | 2 +- src/mame/includes/mcr68.h | 2 +- src/mame/includes/md_cons.h | 2 +- src/mame/includes/meadows.h | 2 +- src/mame/includes/megadriv.h | 4 ++-- src/mame/includes/megasys1.h | 2 +- src/mame/includes/megazone.h | 2 +- src/mame/includes/mermaid.h | 2 +- src/mame/includes/metalmx.h | 2 +- src/mame/includes/metlclsh.h | 2 +- src/mame/includes/metro.h | 2 +- src/mame/includes/mexico86.h | 2 +- src/mame/includes/mhavoc.h | 2 +- src/mame/includes/micro3d.h | 4 ++-- src/mame/includes/micronic.h | 2 +- src/mame/includes/microtan.h | 2 +- src/mame/includes/midtunit.h | 2 +- src/mame/includes/midvunit.h | 2 +- src/mame/includes/midwunit.h | 2 +- src/mame/includes/midxunit.h | 2 +- src/mame/includes/midyunit.h | 2 +- src/mame/includes/midzeus.h | 4 ++-- src/mame/includes/mikie.h | 2 +- src/mame/includes/mikro80.h | 2 +- src/mame/includes/mikromik.h | 2 +- src/mame/includes/mitchell.h | 2 +- src/mame/includes/mjkjidai.h | 2 +- src/mame/includes/model1.h | 2 +- src/mame/includes/model2.h | 2 +- src/mame/includes/model3.h | 2 +- src/mame/includes/momoko.h | 2 +- src/mame/includes/moo.h | 2 +- src/mame/includes/mosaic.h | 2 +- src/mame/includes/mouser.h | 2 +- src/mame/includes/mpf1.h | 2 +- src/mame/includes/mpu4.h | 2 +- src/mame/includes/mpz80.h | 2 +- src/mame/includes/mrdo.h | 2 +- src/mame/includes/mrflea.h | 2 +- src/mame/includes/mrjong.h | 2 +- src/mame/includes/ms32.h | 2 +- src/mame/includes/msbc1.h | 2 +- src/mame/includes/msisaac.h | 2 +- src/mame/includes/msx.h | 2 +- src/mame/includes/mtx.h | 2 +- src/mame/includes/mugsmash.h | 2 +- src/mame/includes/multfish.h | 2 +- src/mame/includes/munchmo.h | 2 +- src/mame/includes/mustache.h | 2 +- src/mame/includes/mw8080bw.h | 2 +- src/mame/includes/mystston.h | 2 +- src/mame/includes/mystwarr.h | 2 +- src/mame/includes/mz700.h | 2 +- src/mame/includes/mz80.h | 2 +- src/mame/includes/n64.h | 4 ++-- src/mame/includes/n8080.h | 2 +- src/mame/includes/namcofl.h | 2 +- src/mame/includes/namcona1.h | 2 +- src/mame/includes/namconb1.h | 2 +- src/mame/includes/namcond1.h | 2 +- src/mame/includes/namcos1.h | 2 +- src/mame/includes/namcos2.h | 4 ++-- src/mame/includes/namcos21.h | 2 +- src/mame/includes/namcos22.h | 2 +- src/mame/includes/namcos86.h | 2 +- src/mame/includes/naomi.h | 2 +- src/mame/includes/naughtyb.h | 2 +- src/mame/includes/nb1413m3.h | 2 +- src/mame/includes/nb1414m4.h | 2 +- src/mame/includes/nbmj8688.h | 2 +- src/mame/includes/nbmj8891.h | 2 +- src/mame/includes/nbmj8900.h | 2 +- src/mame/includes/nbmj8991.h | 2 +- src/mame/includes/nbmj9195.h | 2 +- src/mame/includes/nc.h | 2 +- src/mame/includes/nemesis.h | 2 +- src/mame/includes/neogeo.h | 6 +++--- src/mame/includes/nes.h | 2 +- src/mame/includes/newbrain.h | 4 ++-- src/mame/includes/news.h | 2 +- src/mame/includes/next.h | 2 +- src/mame/includes/ninjakd2.h | 2 +- src/mame/includes/ninjaw.h | 2 +- src/mame/includes/nitedrvr.h | 2 +- src/mame/includes/niyanpai.h | 2 +- src/mame/includes/nmk16.h | 2 +- src/mame/includes/norautp.h | 2 +- src/mame/includes/nova2001.h | 2 +- src/mame/includes/nycaptor.h | 2 +- src/mame/includes/ob68k1a.h | 2 +- src/mame/includes/offtwall.h | 2 +- src/mame/includes/ohmygod.h | 2 +- src/mame/includes/ojankohs.h | 2 +- src/mame/includes/ondra.h | 2 +- src/mame/includes/oneshot.h | 2 +- src/mame/includes/opwolf.h | 2 +- src/mame/includes/orao.h | 2 +- src/mame/includes/orbit.h | 2 +- src/mame/includes/orion.h | 2 +- src/mame/includes/osborne1.h | 2 +- src/mame/includes/osi.h | 8 ++++---- src/mame/includes/othunder.h | 2 +- src/mame/includes/overdriv.h | 2 +- src/mame/includes/p2000t.h | 2 +- src/mame/includes/pacland.h | 2 +- src/mame/includes/pacman.h | 2 +- src/mame/includes/pandoras.h | 2 +- src/mame/includes/paradise.h | 2 +- src/mame/includes/parodius.h | 2 +- src/mame/includes/partner.h | 2 +- src/mame/includes/pass.h | 2 +- src/mame/includes/pastelg.h | 2 +- src/mame/includes/pbaction.h | 2 +- src/mame/includes/pc1251.h | 2 +- src/mame/includes/pc1350.h | 2 +- src/mame/includes/pc1401.h | 2 +- src/mame/includes/pc1403.h | 2 +- src/mame/includes/pc1512.h | 4 ++-- src/mame/includes/pc4.h | 2 +- src/mame/includes/pc8001.h | 4 ++-- src/mame/includes/pc8401a.h | 4 ++-- src/mame/includes/pce.h | 2 +- src/mame/includes/pcktgal.h | 2 +- src/mame/includes/pcw.h | 2 +- src/mame/includes/pcw16.h | 2 +- src/mame/includes/pdp1.h | 2 +- src/mame/includes/pecom.h | 2 +- src/mame/includes/pes.h | 2 +- src/mame/includes/pet.h | 12 ++++++------ src/mame/includes/pgm.h | 16 ++++++++-------- src/mame/includes/phc25.h | 2 +- src/mame/includes/phoenix.h | 4 ++-- src/mame/includes/pingpong.h | 2 +- src/mame/includes/pirates.h | 2 +- src/mame/includes/pitnrun.h | 2 +- src/mame/includes/pk8000.h | 2 +- src/mame/includes/pk8020.h | 2 +- src/mame/includes/pktgaldx.h | 2 +- src/mame/includes/playch10.h | 2 +- src/mame/includes/playmark.h | 2 +- src/mame/includes/plus4.h | 4 ++-- src/mame/includes/plygonet.h | 2 +- src/mame/includes/pmd85.h | 2 +- src/mame/includes/pocketc.h | 2 +- src/mame/includes/poisk1.h | 2 +- src/mame/includes/pokechmp.h | 2 +- src/mame/includes/polepos.h | 4 ++-- src/mame/includes/policetr.h | 2 +- src/mame/includes/poly88.h | 2 +- src/mame/includes/poly880.h | 2 +- src/mame/includes/polyplay.h | 2 +- src/mame/includes/poolshrk.h | 2 +- src/mame/includes/pooyan.h | 2 +- src/mame/includes/popeye.h | 2 +- src/mame/includes/popper.h | 2 +- src/mame/includes/portfoli.h | 2 +- src/mame/includes/portrait.h | 2 +- src/mame/includes/powerins.h | 2 +- src/mame/includes/pp01.h | 2 +- src/mame/includes/prehisle.h | 2 +- src/mame/includes/primo.h | 2 +- src/mame/includes/prof180x.h | 2 +- src/mame/includes/prof80.h | 2 +- src/mame/includes/psikyo.h | 2 +- src/mame/includes/psikyo4.h | 2 +- src/mame/includes/psikyosh.h | 2 +- src/mame/includes/psion.h | 4 ++-- src/mame/includes/psychic5.h | 2 +- src/mame/includes/punchout.h | 2 +- src/mame/includes/px8.h | 2 +- src/mame/includes/qdrmfgp.h | 2 +- src/mame/includes/qix.h | 2 +- src/mame/includes/ql.h | 2 +- src/mame/includes/quasar.h | 2 +- src/mame/includes/quizdna.h | 2 +- src/mame/includes/quizpani.h | 2 +- src/mame/includes/radio86.h | 2 +- src/mame/includes/raiden.h | 2 +- src/mame/includes/raiden2.h | 2 +- src/mame/includes/rallyx.h | 2 +- src/mame/includes/rampart.h | 2 +- src/mame/includes/rastan.h | 2 +- src/mame/includes/rbisland.h | 2 +- src/mame/includes/realbrk.h | 2 +- src/mame/includes/redalert.h | 2 +- src/mame/includes/relief.h | 2 +- src/mame/includes/renegade.h | 2 +- src/mame/includes/retofinv.h | 2 +- src/mame/includes/rltennis.h | 2 +- src/mame/includes/rm380z.h | 2 +- src/mame/includes/rmnimbus.h | 2 +- src/mame/includes/rockrage.h | 2 +- src/mame/includes/rocnrope.h | 2 +- src/mame/includes/rohga.h | 2 +- src/mame/includes/rollerg.h | 2 +- src/mame/includes/rollrace.h | 2 +- src/mame/includes/route16.h | 2 +- src/mame/includes/rpunch.h | 2 +- src/mame/includes/runaway.h | 2 +- src/mame/includes/rungun.h | 2 +- src/mame/includes/s11.h | 8 ++++---- src/mame/includes/sage2.h | 2 +- src/mame/includes/samcoupe.h | 2 +- src/mame/includes/sauro.h | 2 +- src/mame/includes/sbasketb.h | 2 +- src/mame/includes/sbugger.h | 2 +- src/mame/includes/scotrsht.h | 2 +- src/mame/includes/scramble.h | 2 +- src/mame/includes/sderby.h | 2 +- src/mame/includes/segag80r.h | 4 ++-- src/mame/includes/segag80v.h | 2 +- src/mame/includes/segahang.h | 2 +- src/mame/includes/segaorun.h | 2 +- src/mame/includes/segas16a.h | 2 +- src/mame/includes/segas16b.h | 4 ++-- src/mame/includes/segas18.h | 2 +- src/mame/includes/segas24.h | 2 +- src/mame/includes/segas32.h | 8 ++++---- src/mame/includes/segasp.h | 2 +- src/mame/includes/segaxbd.h | 16 ++++++++-------- src/mame/includes/segaybd.h | 2 +- src/mame/includes/seibuspi.h | 2 +- src/mame/includes/seicross.h | 2 +- src/mame/includes/senjyo.h | 2 +- src/mame/includes/seta.h | 2 +- src/mame/includes/seta2.h | 2 +- src/mame/includes/sf.h | 2 +- src/mame/includes/sg1000.h | 6 +++--- src/mame/includes/shadfrce.h | 2 +- src/mame/includes/shangha3.h | 2 +- src/mame/includes/shangkid.h | 2 +- src/mame/includes/shaolins.h | 2 +- src/mame/includes/shisen.h | 2 +- src/mame/includes/shootout.h | 2 +- src/mame/includes/shuuz.h | 2 +- src/mame/includes/sidearms.h | 2 +- src/mame/includes/sidepckt.h | 2 +- src/mame/includes/silkroad.h | 2 +- src/mame/includes/simpl156.h | 2 +- src/mame/includes/simple_st0016.h | 2 +- src/mame/includes/simpsons.h | 2 +- src/mame/includes/skullxbo.h | 2 +- src/mame/includes/skydiver.h | 2 +- src/mame/includes/skyfox.h | 2 +- src/mame/includes/skykid.h | 2 +- src/mame/includes/skyraid.h | 2 +- src/mame/includes/slapfght.h | 2 +- src/mame/includes/slapshot.h | 2 +- src/mame/includes/slapstic.h | 2 +- src/mame/includes/sms.h | 4 ++-- src/mame/includes/snes.h | 2 +- src/mame/includes/snk.h | 2 +- src/mame/includes/snk6502.h | 4 ++-- src/mame/includes/snk68.h | 2 +- src/mame/includes/snookr10.h | 2 +- src/mame/includes/snowbros.h | 2 +- src/mame/includes/softbox.h | 2 +- src/mame/includes/solomon.h | 2 +- src/mame/includes/sonson.h | 2 +- src/mame/includes/sorcerer.h | 2 +- src/mame/includes/spacefb.h | 2 +- src/mame/includes/spbactn.h | 2 +- src/mame/includes/spcforce.h | 2 +- src/mame/includes/spdodgeb.h | 2 +- src/mame/includes/special.h | 2 +- src/mame/includes/spectrum.h | 2 +- src/mame/includes/speedatk.h | 2 +- src/mame/includes/speedbal.h | 2 +- src/mame/includes/speedspn.h | 2 +- src/mame/includes/spiders.h | 2 +- src/mame/includes/splash.h | 2 +- src/mame/includes/sprcros2.h | 2 +- src/mame/includes/sprint2.h | 2 +- src/mame/includes/sprint4.h | 2 +- src/mame/includes/sprint8.h | 2 +- src/mame/includes/spy.h | 2 +- src/mame/includes/srmp2.h | 2 +- src/mame/includes/srumbler.h | 2 +- src/mame/includes/sshangha.h | 2 +- src/mame/includes/sslam.h | 2 +- src/mame/includes/ssozumo.h | 2 +- src/mame/includes/sspeedr.h | 2 +- src/mame/includes/ssrj.h | 2 +- src/mame/includes/ssv.h | 2 +- src/mame/includes/ssystem3.h | 2 +- src/mame/includes/stactics.h | 2 +- src/mame/includes/stadhero.h | 2 +- src/mame/includes/starcrus.h | 2 +- src/mame/includes/starfire.h | 2 +- src/mame/includes/starshp1.h | 2 +- src/mame/includes/starwars.h | 2 +- src/mame/includes/stfight.h | 2 +- src/mame/includes/stlforce.h | 2 +- src/mame/includes/strnskil.h | 2 +- src/mame/includes/stv.h | 4 ++-- src/mame/includes/subs.h | 2 +- src/mame/includes/suna16.h | 2 +- src/mame/includes/suna8.h | 2 +- src/mame/includes/supbtime.h | 2 +- src/mame/includes/super6.h | 2 +- src/mame/includes/super80.h | 2 +- src/mame/includes/superchs.h | 2 +- src/mame/includes/superqix.h | 2 +- src/mame/includes/superslave.h | 2 +- src/mame/includes/suprloco.h | 2 +- src/mame/includes/suprnova.h | 2 +- src/mame/includes/suprridr.h | 2 +- src/mame/includes/suprslam.h | 2 +- src/mame/includes/surpratk.h | 2 +- src/mame/includes/svi318.h | 2 +- src/mame/includes/svision.h | 2 +- src/mame/includes/swtpc09.h | 2 +- src/mame/includes/system1.h | 2 +- src/mame/includes/system16.h | 2 +- src/mame/includes/tagteam.h | 2 +- src/mame/includes/tail2nos.h | 2 +- src/mame/includes/taito_b.h | 2 +- src/mame/includes/taito_f2.h | 2 +- src/mame/includes/taito_f3.h | 2 +- src/mame/includes/taito_h.h | 2 +- src/mame/includes/taito_l.h | 2 +- src/mame/includes/taito_o.h | 2 +- src/mame/includes/taito_x.h | 2 +- src/mame/includes/taito_z.h | 2 +- src/mame/includes/taitoair.h | 2 +- src/mame/includes/taitojc.h | 2 +- src/mame/includes/taitosj.h | 2 +- src/mame/includes/tandy2k.h | 2 +- src/mame/includes/tank8.h | 2 +- src/mame/includes/tankbatt.h | 2 +- src/mame/includes/tankbust.h | 2 +- src/mame/includes/taotaido.h | 2 +- src/mame/includes/targeth.h | 2 +- src/mame/includes/tatsumi.h | 2 +- src/mame/includes/taxidriv.h | 2 +- src/mame/includes/tbowl.h | 2 +- src/mame/includes/tceptor.h | 2 +- src/mame/includes/tdv2324.h | 2 +- src/mame/includes/tecmo.h | 2 +- src/mame/includes/tecmo16.h | 2 +- src/mame/includes/tecmosys.h | 2 +- src/mame/includes/tehkanwc.h | 2 +- src/mame/includes/tek405x.h | 4 ++-- src/mame/includes/terracre.h | 2 +- src/mame/includes/tetrisp2.h | 4 ++-- src/mame/includes/thedeep.h | 2 +- src/mame/includes/thepit.h | 2 +- src/mame/includes/thief.h | 2 +- src/mame/includes/thomson.h | 4 ++-- src/mame/includes/thoop2.h | 2 +- src/mame/includes/thunderj.h | 2 +- src/mame/includes/thunderx.h | 2 +- src/mame/includes/ti85.h | 2 +- src/mame/includes/ti89.h | 2 +- src/mame/includes/tiamc1.h | 4 ++-- src/mame/includes/tigeroad.h | 2 +- src/mame/includes/tiki100.h | 2 +- src/mame/includes/timelimt.h | 2 +- src/mame/includes/timeplt.h | 2 +- src/mame/includes/tmc1800.h | 10 +++++----- src/mame/includes/tmc2000e.h | 2 +- src/mame/includes/tmc600.h | 2 +- src/mame/includes/tmnt.h | 2 +- src/mame/includes/tnzs.h | 2 +- src/mame/includes/toaplan1.h | 4 ++-- src/mame/includes/toaplan2.h | 2 +- src/mame/includes/toki.h | 2 +- src/mame/includes/toobin.h | 2 +- src/mame/includes/topspeed.h | 2 +- src/mame/includes/toypop.h | 2 +- src/mame/includes/tp84.h | 2 +- src/mame/includes/trackfld.h | 2 +- src/mame/includes/travrusa.h | 2 +- src/mame/includes/triplhnt.h | 2 +- src/mame/includes/trs80.h | 2 +- src/mame/includes/trs80m2.h | 4 ++-- src/mame/includes/truco.h | 2 +- src/mame/includes/trucocl.h | 2 +- src/mame/includes/tryout.h | 2 +- src/mame/includes/tsamurai.h | 2 +- src/mame/includes/tsispch.h | 2 +- src/mame/includes/tubep.h | 2 +- src/mame/includes/tumbleb.h | 2 +- src/mame/includes/tumblep.h | 2 +- src/mame/includes/tunhunt.h | 2 +- src/mame/includes/turbo.h | 2 +- src/mame/includes/turrett.h | 4 ++-- src/mame/includes/tutankhm.h | 2 +- src/mame/includes/twin16.h | 6 +++--- src/mame/includes/twincobr.h | 2 +- src/mame/includes/tx0.h | 2 +- src/mame/includes/tx1.h | 8 ++++---- src/mame/includes/ultraman.h | 2 +- src/mame/includes/ultratnk.h | 2 +- src/mame/includes/undrfire.h | 2 +- src/mame/includes/unico.h | 2 +- src/mame/includes/usgames.h | 2 +- src/mame/includes/ut88.h | 2 +- src/mame/includes/v1050.h | 2 +- src/mame/includes/vaportra.h | 2 +- src/mame/includes/vastar.h | 2 +- src/mame/includes/vball.h | 2 +- src/mame/includes/vc4000.h | 2 +- src/mame/includes/vcs80.h | 2 +- src/mame/includes/vector06.h | 2 +- src/mame/includes/vectrex.h | 2 +- src/mame/includes/vendetta.h | 2 +- src/mame/includes/vertigo.h | 2 +- src/mame/includes/vic10.h | 2 +- src/mame/includes/vic20.h | 2 +- src/mame/includes/vicdual.h | 2 +- src/mame/includes/victor9k.h | 2 +- src/mame/includes/victory.h | 2 +- src/mame/includes/vidbrain.h | 2 +- src/mame/includes/videopin.h | 2 +- src/mame/includes/vigilant.h | 2 +- src/mame/includes/vindictr.h | 2 +- src/mame/includes/vip.h | 2 +- src/mame/includes/vixen.h | 2 +- src/mame/includes/volfied.h | 2 +- src/mame/includes/vsnes.h | 2 +- src/mame/includes/vtech2.h | 2 +- src/mame/includes/vulgus.h | 2 +- src/mame/includes/wangpc.h | 2 +- src/mame/includes/warpwarp.h | 2 +- src/mame/includes/warriorb.h | 2 +- src/mame/includes/wc90.h | 2 +- src/mame/includes/wc90b.h | 2 +- src/mame/includes/wecleman.h | 2 +- src/mame/includes/welltris.h | 2 +- src/mame/includes/wgp.h | 2 +- src/mame/includes/williams.h | 8 ++++---- src/mame/includes/wiping.h | 2 +- src/mame/includes/wiz.h | 2 +- src/mame/includes/wolfpack.h | 2 +- src/mame/includes/wpc_pin.h | 8 ++++---- src/mame/includes/wrally.h | 2 +- src/mame/includes/wswan.h | 2 +- src/mame/includes/wwfsstar.h | 2 +- src/mame/includes/x07.h | 4 ++-- src/mame/includes/x1.h | 4 ++-- src/mame/includes/x68k.h | 2 +- src/mame/includes/xain.h | 2 +- src/mame/includes/xbox.h | 2 +- src/mame/includes/xerox820.h | 6 +++--- src/mame/includes/xexex.h | 2 +- src/mame/includes/xmen.h | 2 +- src/mame/includes/xor100.h | 2 +- src/mame/includes/xorworld.h | 2 +- src/mame/includes/xxmissio.h | 2 +- src/mame/includes/xybots.h | 2 +- src/mame/includes/xyonix.h | 2 +- src/mame/includes/yiear.h | 2 +- src/mame/includes/yunsun16.h | 2 +- src/mame/includes/yunsung8.h | 2 +- src/mame/includes/z80ne.h | 2 +- src/mame/includes/z88.h | 2 +- src/mame/includes/zac2650.h | 2 +- src/mame/includes/zaccaria.h | 2 +- src/mame/includes/zaxxon.h | 2 +- src/mame/includes/zerozone.h | 2 +- src/mame/includes/zodiack.h | 2 +- src/mame/includes/zx.h | 2 +- 895 files changed, 1072 insertions(+), 1072 deletions(-) (limited to 'src/mame/includes') diff --git a/src/mame/includes/1942.h b/src/mame/includes/1942.h index 2a35641950f..0a3bf182c5d 100644 --- a/src/mame/includes/1942.h +++ b/src/mame/includes/1942.h @@ -9,7 +9,7 @@ class _1942_state : public driver_device { public: - _1942_state(const machine_config &mconfig, device_type type, const char *tag) + _1942_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_fg_videoram(*this, "fg_videoram"), diff --git a/src/mame/includes/1943.h b/src/mame/includes/1943.h index 9e926cbf8b6..2deeb9b269a 100644 --- a/src/mame/includes/1943.h +++ b/src/mame/includes/1943.h @@ -9,7 +9,7 @@ class _1943_state : public driver_device { public: - _1943_state(const machine_config &mconfig, device_type type, const char *tag) + _1943_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/20pacgal.h b/src/mame/includes/20pacgal.h index b9043dd26d2..a29a26ab46e 100644 --- a/src/mame/includes/20pacgal.h +++ b/src/mame/includes/20pacgal.h @@ -14,7 +14,7 @@ class _20pacgal_state : public driver_device { public: - _20pacgal_state(const machine_config &mconfig, device_type type, const char *tag) + _20pacgal_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_video_ram(*this, "video_ram"), m_char_gfx_ram(*this, "char_gfx_ram"), @@ -77,7 +77,7 @@ public: class _25pacman_state : public _20pacgal_state { public: - _25pacman_state(const machine_config &mconfig, device_type type, const char *tag) + _25pacman_state(const machine_config &mconfig, device_type type, std::string tag) : _20pacgal_state(mconfig, type, tag) { } diff --git a/src/mame/includes/3do.h b/src/mame/includes/3do.h index c826052faa4..a3be5eb1302 100644 --- a/src/mame/includes/3do.h +++ b/src/mame/includes/3do.h @@ -139,7 +139,7 @@ struct DSPP { class _3do_state : public driver_device { public: - _3do_state(const machine_config &mconfig, device_type type, const char *tag) + _3do_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dram(*this, "dram"), diff --git a/src/mame/includes/40love.h b/src/mame/includes/40love.h index f40e4b338f3..78dc572c6a2 100644 --- a/src/mame/includes/40love.h +++ b/src/mame/includes/40love.h @@ -6,7 +6,7 @@ class fortyl_state : public driver_device { public: - fortyl_state(const machine_config &mconfig, device_type type, const char *tag) + fortyl_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_video_ctrl(*this, "video_ctrl"), diff --git a/src/mame/includes/4enraya.h b/src/mame/includes/4enraya.h index fbc92212515..ad01080c9c9 100644 --- a/src/mame/includes/4enraya.h +++ b/src/mame/includes/4enraya.h @@ -11,7 +11,7 @@ class _4enraya_state : public driver_device { public: - _4enraya_state(const machine_config &mconfig, device_type type, const char *tag) + _4enraya_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ay(*this, "aysnd"), diff --git a/src/mame/includes/8080bw.h b/src/mame/includes/8080bw.h index da298c9174d..04d37a12018 100644 --- a/src/mame/includes/8080bw.h +++ b/src/mame/includes/8080bw.h @@ -18,7 +18,7 @@ class _8080bw_state : public mw8080bw_state { public: - _8080bw_state(const machine_config &mconfig, device_type type, const char *tag) + _8080bw_state(const machine_config &mconfig, device_type type, std::string tag) : mw8080bw_state(mconfig, type, tag), m_schaser_effect_555_timer(*this, "schaser_sh_555"), m_claybust_gun_on(*this, "claybust_gun"), diff --git a/src/mame/includes/88games.h b/src/mame/includes/88games.h index 892b05883df..ef8565451e8 100644 --- a/src/mame/includes/88games.h +++ b/src/mame/includes/88games.h @@ -14,7 +14,7 @@ class _88games_state : public driver_device { public: - _88games_state(const machine_config &mconfig, device_type type, const char *tag) + _88games_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/abc1600.h b/src/mame/includes/abc1600.h index 5269a352c47..6c76362197c 100644 --- a/src/mame/includes/abc1600.h +++ b/src/mame/includes/abc1600.h @@ -57,7 +57,7 @@ class abc1600_state : public driver_device { public: - abc1600_state(const machine_config &mconfig, device_type type, const char *tag) + abc1600_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, MC68008P8_TAG), m_dma0(*this, Z8410AB1_0_TAG), diff --git a/src/mame/includes/abc80.h b/src/mame/includes/abc80.h index 794ce95d141..ee9c032486f 100644 --- a/src/mame/includes/abc80.h +++ b/src/mame/includes/abc80.h @@ -65,7 +65,7 @@ class abc80_state : public driver_device { public: - abc80_state(const machine_config &mconfig, device_type type, const char *tag) : + abc80_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_pio(*this, Z80PIO_TAG), diff --git a/src/mame/includes/abc80x.h b/src/mame/includes/abc80x.h index ff688fd9702..c56f698438c 100644 --- a/src/mame/includes/abc80x.h +++ b/src/mame/includes/abc80x.h @@ -70,7 +70,7 @@ class abc800_state : public driver_device { public: - abc800_state(const machine_config &mconfig, device_type type, const char *tag) : + abc800_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_ctc(*this, Z80CTC_TAG), @@ -160,7 +160,7 @@ public: class abc800m_state : public abc800_state { public: - abc800m_state(const machine_config &mconfig, device_type type, const char *tag) : + abc800m_state(const machine_config &mconfig, device_type type, std::string tag) : abc800_state(mconfig, type, tag), m_crtc(*this, MC6845_TAG), m_palette(*this, "palette"), @@ -189,7 +189,7 @@ public: class abc800c_state : public abc800_state { public: - abc800c_state(const machine_config &mconfig, device_type type, const char *tag) : + abc800c_state(const machine_config &mconfig, device_type type, std::string tag) : abc800_state(mconfig, type, tag), m_trom(*this, SAA5052_TAG), m_palette(*this, "palette"), @@ -218,7 +218,7 @@ public: class abc802_state : public abc800_state { public: - abc802_state(const machine_config &mconfig, device_type type, const char *tag) : + abc802_state(const machine_config &mconfig, device_type type, std::string tag) : abc800_state(mconfig, type, tag), m_crtc(*this, MC6845_TAG), m_palette(*this, "palette"), @@ -262,7 +262,7 @@ public: class abc806_state : public abc800_state { public: - abc806_state(const machine_config &mconfig, device_type type, const char *tag) : + abc806_state(const machine_config &mconfig, device_type type, std::string tag) : abc800_state(mconfig, type, tag), m_crtc(*this, MC6845_TAG), m_palette(*this, "palette"), diff --git a/src/mame/includes/ac1.h b/src/mame/includes/ac1.h index b127b882a2b..c29e2d960fd 100644 --- a/src/mame/includes/ac1.h +++ b/src/mame/includes/ac1.h @@ -15,7 +15,7 @@ class ac1_state : public driver_device { public: - ac1_state(const machine_config &mconfig, device_type type, const char *tag) + ac1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_cassette(*this, "cassette"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/actfancr.h b/src/mame/includes/actfancr.h index f26d9843b3f..00c10c48986 100644 --- a/src/mame/includes/actfancr.h +++ b/src/mame/includes/actfancr.h @@ -12,7 +12,7 @@ class actfancr_state : public driver_device { public: - actfancr_state(const machine_config &mconfig, device_type type, const char *tag) + actfancr_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_main_ram(*this, "main_ram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/adam.h b/src/mame/includes/adam.h index 604b14782d6..4596c0be499 100644 --- a/src/mame/includes/adam.h +++ b/src/mame/includes/adam.h @@ -28,7 +28,7 @@ class adam_state : public driver_device { public: - adam_state(const machine_config &mconfig, device_type type, const char *tag) : + adam_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_netcpu(*this, M6801_TAG), diff --git a/src/mame/includes/advision.h b/src/mame/includes/advision.h index 67182a92163..d4db761cf54 100644 --- a/src/mame/includes/advision.h +++ b/src/mame/includes/advision.h @@ -20,7 +20,7 @@ class advision_state : public driver_device { public: - advision_state(const machine_config &mconfig, device_type type, const char *tag) + advision_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, I8048_TAG), m_soundcpu(*this, COP411_TAG), diff --git a/src/mame/includes/aeroboto.h b/src/mame/includes/aeroboto.h index 81510561b29..fe895521236 100644 --- a/src/mame/includes/aeroboto.h +++ b/src/mame/includes/aeroboto.h @@ -9,7 +9,7 @@ class aeroboto_state : public driver_device { public: - aeroboto_state(const machine_config &mconfig, device_type type, const char *tag) + aeroboto_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_mainram(*this, "mainram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/aerofgt.h b/src/mame/includes/aerofgt.h index 194640f805c..bc721632e6f 100644 --- a/src/mame/includes/aerofgt.h +++ b/src/mame/includes/aerofgt.h @@ -7,7 +7,7 @@ class aerofgt_state : public driver_device { public: - aerofgt_state(const machine_config &mconfig, device_type type, const char *tag) + aerofgt_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bg1videoram(*this, "bg1videoram"), m_bg2videoram(*this, "bg2videoram"), diff --git a/src/mame/includes/aim65.h b/src/mame/includes/aim65.h index 8ef3a8e98c2..e4893f92885 100644 --- a/src/mame/includes/aim65.h +++ b/src/mame/includes/aim65.h @@ -36,7 +36,7 @@ class aim65_state : public driver_device { public: - aim65_state(const machine_config &mconfig, device_type type, const char *tag) + aim65_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cassette1(*this, "cassette"), diff --git a/src/mame/includes/airbustr.h b/src/mame/includes/airbustr.h index ae570085a3e..63e34f4a535 100644 --- a/src/mame/includes/airbustr.h +++ b/src/mame/includes/airbustr.h @@ -11,7 +11,7 @@ class airbustr_state : public driver_device { public: - airbustr_state(const machine_config &mconfig, device_type type, const char *tag) + airbustr_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_devram(*this, "devram"), m_videoram2(*this, "videoram2"), diff --git a/src/mame/includes/ajax.h b/src/mame/includes/ajax.h index 3f633044eae..0cbba802a88 100644 --- a/src/mame/includes/ajax.h +++ b/src/mame/includes/ajax.h @@ -9,7 +9,7 @@ class ajax_state : public driver_device { public: - ajax_state(const machine_config &mconfig, device_type type, const char *tag) + ajax_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/alesis.h b/src/mame/includes/alesis.h index c22899efdd3..0424cc09c0e 100644 --- a/src/mame/includes/alesis.h +++ b/src/mame/includes/alesis.h @@ -28,7 +28,7 @@ class alesis_dm3ag_device : public device_t { public: // construction/destruction - alesis_dm3ag_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + alesis_dm3ag_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; @@ -61,7 +61,7 @@ private: class alesis_state : public driver_device { public: - alesis_state(const machine_config &mconfig, device_type type, const char *tag) + alesis_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_lcdc(*this, "hd44780"), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/aliens.h b/src/mame/includes/aliens.h index 8d78eb14660..635e4b9b366 100644 --- a/src/mame/includes/aliens.h +++ b/src/mame/includes/aliens.h @@ -14,7 +14,7 @@ class aliens_state : public driver_device { public: - aliens_state(const machine_config &mconfig, device_type type, const char *tag) + aliens_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/alpha68k.h b/src/mame/includes/alpha68k.h index 22fb75f2d21..367829de950 100644 --- a/src/mame/includes/alpha68k.h +++ b/src/mame/includes/alpha68k.h @@ -9,7 +9,7 @@ class alpha68k_state : public driver_device { public: - alpha68k_state(const machine_config &mconfig, device_type type, const char *tag) + alpha68k_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_shared_ram(*this, "shared_ram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/ambush.h b/src/mame/includes/ambush.h index bb67a139dda..b77804f8cef 100644 --- a/src/mame/includes/ambush.h +++ b/src/mame/includes/ambush.h @@ -9,7 +9,7 @@ class ambush_state : public driver_device { public: - ambush_state(const machine_config &mconfig, device_type type, const char *tag) + ambush_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/amiga.h b/src/mame/includes/amiga.h index 680dcffdb5e..212f4de451f 100644 --- a/src/mame/includes/amiga.h +++ b/src/mame/includes/amiga.h @@ -326,7 +326,7 @@ Ernesto Corvi & Mariusz Wojcieszek class amiga_state : public driver_device { public: - amiga_state(const machine_config &mconfig, device_type type, const char *tag) : + amiga_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_agnus_id(AGNUS_NTSC), m_denise_id(DENISE), diff --git a/src/mame/includes/ampoker2.h b/src/mame/includes/ampoker2.h index 2270da2dc3e..b30db6e1306 100644 --- a/src/mame/includes/ampoker2.h +++ b/src/mame/includes/ampoker2.h @@ -3,7 +3,7 @@ class ampoker2_state : public driver_device { public: - ampoker2_state(const machine_config &mconfig, device_type type, const char *tag) + ampoker2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/amspdwy.h b/src/mame/includes/amspdwy.h index 079b811b7f6..14becd93b66 100644 --- a/src/mame/includes/amspdwy.h +++ b/src/mame/includes/amspdwy.h @@ -11,7 +11,7 @@ class amspdwy_state : public driver_device { public: - amspdwy_state(const machine_config &mconfig, device_type type, const char *tag) + amspdwy_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/amstrad.h b/src/mame/includes/amstrad.h index ce09d777428..4c3b524e15a 100644 --- a/src/mame/includes/amstrad.h +++ b/src/mame/includes/amstrad.h @@ -125,7 +125,7 @@ public: TIMER_SET_RESOLUTION }; - amstrad_state(const machine_config &mconfig, device_type type, const char *tag) + amstrad_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ay(*this, "ay"), diff --git a/src/mame/includes/angelkds.h b/src/mame/includes/angelkds.h index ecd59f1e4e5..ab0c5000cd5 100644 --- a/src/mame/includes/angelkds.h +++ b/src/mame/includes/angelkds.h @@ -9,7 +9,7 @@ class angelkds_state : public driver_device { public: - angelkds_state(const machine_config &mconfig, device_type type, const char *tag) + angelkds_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bgtopvideoram(*this, "bgtopvideoram"), m_bgbotvideoram(*this, "bgbotvideoram"), diff --git a/src/mame/includes/apollo.h b/src/mame/includes/apollo.h index 978d2ef0257..f300aff3d0d 100644 --- a/src/mame/includes/apollo.h +++ b/src/mame/includes/apollo.h @@ -38,10 +38,10 @@ #define LOG(x) { logerror x; logerror ("\n"); apollo_check_log(); } #define LOG1(x) { if (VERBOSE > 0) LOG(x) } #define LOG2(x) { if (VERBOSE > 1) LOG(x) } -#define CLOG(x) { machine().logerror ("%s - %s: ", apollo_cpu_context(machine().device(MAINCPU)), tag()); machine().logerror x; machine().logerror ("\n"); apollo_check_log(); } +#define CLOG(x) { machine().logerror ("%s - %s: ", apollo_cpu_context(machine().device(MAINCPU)), tag().c_str()); machine().logerror x; machine().logerror ("\n"); apollo_check_log(); } #define CLOG1(x) { if (VERBOSE > 0) CLOG(x) } #define CLOG2(x) { if (VERBOSE > 1) CLOG(x) } -#define DLOG(x) { device->logerror ("%s - %s: ", apollo_cpu_context(device->machine().device(MAINCPU)), device->tag()); device->logerror x; device->logerror ("\n"); apollo_check_log(); } +#define DLOG(x) { device->logerror ("%s - %s: ", apollo_cpu_context(device->machine().device(MAINCPU)), device->tag().c_str()); device->logerror x; device->logerror ("\n"); apollo_check_log(); } #define DLOG1(x) { if (VERBOSE > 0) DLOG(x) } #define DLOG2(x) { if (VERBOSE > 1) DLOG(x) } #define MLOG(x) { machine().logerror ("%s: ", apollo_cpu_context(machine().device(MAINCPU))); machine().logerror x; machine().logerror ("\n"); apollo_check_log(); } @@ -112,7 +112,7 @@ class apollo_ni; class apollo_state : public driver_device { public: - apollo_state(const machine_config &mconfig, device_type type, const char *tag) + apollo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, MAINCPU), m_messram_ptr(*this, "messram"), @@ -326,7 +326,7 @@ void apollo_csr_set_status_register(UINT16 mask, UINT16 data); class apollo_sio: public mc68681_device { public: - apollo_sio(const machine_config &mconfig, const char *tag, + apollo_sio(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); DECLARE_READ8_MEMBER(read); @@ -353,7 +353,7 @@ class apollo_ni: public device_t, public device_image_interface { public: // construction/destruction - apollo_ni(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + apollo_ni(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); virtual ~apollo_ni(); virtual iodevice_t image_type() const override { return IO_ROM; } @@ -398,8 +398,8 @@ extern const device_type APOLLO_NI; class apollo_graphics_15i : public device_t { public: - apollo_graphics_15i(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - apollo_graphics_15i(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, device_type type, const char *name, const char *shortname, const char *source); + apollo_graphics_15i(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + apollo_graphics_15i(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, device_type type, const char *name, const char *shortname, const char *source); ~apollo_graphics_15i(); UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); @@ -637,7 +637,7 @@ MACHINE_CONFIG_EXTERN( apollo_graphics ); class apollo_graphics_19i : public apollo_graphics_15i { public: - apollo_graphics_19i(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + apollo_graphics_19i(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: // device-level overrides virtual void device_config_complete() override; @@ -676,7 +676,7 @@ class apollo_stdio_device: public device_t, public device_serial_interface { public: // construction/destruction - apollo_stdio_device(const machine_config &mconfig, const char *tag, + apollo_stdio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); template static devcb_base &set_tx_cb(device_t &device, _Object object) diff --git a/src/mame/includes/apple1.h b/src/mame/includes/apple1.h index 35215b9e9a3..b1010cb6313 100644 --- a/src/mame/includes/apple1.h +++ b/src/mame/includes/apple1.h @@ -32,7 +32,7 @@ struct terminal_t class apple1_state : public driver_device { public: - apple1_state(const machine_config &mconfig, device_type type, const char *tag) + apple1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/apple2.h b/src/mame/includes/apple2.h index 0216a80236e..ff01bd53410 100644 --- a/src/mame/includes/apple2.h +++ b/src/mame/includes/apple2.h @@ -125,7 +125,7 @@ struct apple2_memmap_config class apple2_state : public driver_device { public: - apple2_state(const machine_config &mconfig, device_type type, const char *tag) + apple2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/apple2gs.h b/src/mame/includes/apple2gs.h index 6812cc2b466..e50d9faa041 100644 --- a/src/mame/includes/apple2gs.h +++ b/src/mame/includes/apple2gs.h @@ -90,7 +90,7 @@ void apple2gs_remove_irq(running_machine &machine, UINT16 irq_mask); class apple2gs_state : public apple2_state { public: - apple2gs_state(const machine_config &mconfig, device_type type, const char *tag) + apple2gs_state(const machine_config &mconfig, device_type type, std::string tag) : apple2_state(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_es5503(*this, "es5503"), diff --git a/src/mame/includes/apple3.h b/src/mame/includes/apple3.h index 4d53b0bba56..896aaac8671 100644 --- a/src/mame/includes/apple3.h +++ b/src/mame/includes/apple3.h @@ -40,7 +40,7 @@ class apple3_state : public driver_device { public: - apple3_state(const machine_config &mconfig, device_type type, const char *tag) + apple3_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/appoooh.h b/src/mame/includes/appoooh.h index 34e49e02c8b..5200de8cc94 100644 --- a/src/mame/includes/appoooh.h +++ b/src/mame/includes/appoooh.h @@ -5,7 +5,7 @@ class appoooh_state : public driver_device { public: - appoooh_state(const machine_config &mconfig, device_type type, const char *tag) + appoooh_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_fg_videoram(*this, "fg_videoram"), diff --git a/src/mame/includes/aquarium.h b/src/mame/includes/aquarium.h index 2741a17be17..d0e7da92199 100644 --- a/src/mame/includes/aquarium.h +++ b/src/mame/includes/aquarium.h @@ -6,7 +6,7 @@ class aquarium_state : public driver_device { public: - aquarium_state(const machine_config &mconfig, device_type type, const char *tag) + aquarium_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_mid_videoram(*this, "mid_videoram"), m_bak_videoram(*this, "bak_videoram"), diff --git a/src/mame/includes/aquarius.h b/src/mame/includes/aquarius.h index c9325f074b6..a5ea8517ccc 100644 --- a/src/mame/includes/aquarius.h +++ b/src/mame/includes/aquarius.h @@ -22,7 +22,7 @@ class aquarius_state : public driver_device { public: - aquarius_state(const machine_config &mconfig, device_type type, const char *tag) + aquarius_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/arabian.h b/src/mame/includes/arabian.h index 0dc5fc7fde2..96ca38c5e20 100644 --- a/src/mame/includes/arabian.h +++ b/src/mame/includes/arabian.h @@ -11,7 +11,7 @@ class arabian_state : public driver_device { public: - arabian_state(const machine_config &mconfig, device_type type, const char *tag) + arabian_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_custom_cpu_ram(*this, "custom_cpu_ram"), m_blitter(*this, "blitter"), diff --git a/src/mame/includes/arcadecl.h b/src/mame/includes/arcadecl.h index 7a580d012c1..480c7f20073 100644 --- a/src/mame/includes/arcadecl.h +++ b/src/mame/includes/arcadecl.h @@ -12,7 +12,7 @@ class arcadecl_state : public atarigen_state { public: - arcadecl_state(const machine_config &mconfig, device_type type, const char *tag) + arcadecl_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_mob(*this, "mob"), m_bitmap(*this, "bitmap") { } diff --git a/src/mame/includes/arcadia.h b/src/mame/includes/arcadia.h index 164c095852c..f9f7931ee66 100644 --- a/src/mame/includes/arcadia.h +++ b/src/mame/includes/arcadia.h @@ -29,7 +29,7 @@ class arcadia_state : public driver_device { public: - arcadia_state(const machine_config &mconfig, device_type type, const char *tag) + arcadia_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_custom(*this, "custom"), m_panel(*this, "panel"), diff --git a/src/mame/includes/archimds.h b/src/mame/includes/archimds.h index 9156fa255eb..8158adb5418 100644 --- a/src/mame/includes/archimds.h +++ b/src/mame/includes/archimds.h @@ -44,7 +44,7 @@ class archimedes_state : public driver_device { public: - archimedes_state(const machine_config &mconfig, device_type type, const char *tag) + archimedes_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_kart(*this, "kart"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/argus.h b/src/mame/includes/argus.h index 1274f9a5d58..1f3f136726a 100644 --- a/src/mame/includes/argus.h +++ b/src/mame/includes/argus.h @@ -5,7 +5,7 @@ class argus_state : public driver_device { public: - argus_state(const machine_config &mconfig, device_type type, const char *tag) + argus_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/arkanoid.h b/src/mame/includes/arkanoid.h index 05d3ab53400..7da89d7e72d 100644 --- a/src/mame/includes/arkanoid.h +++ b/src/mame/includes/arkanoid.h @@ -20,7 +20,7 @@ public: TIMER_68705_PRESCALER_EXPIRED, }; - arkanoid_state(const machine_config &mconfig, device_type type, const char *tag) + arkanoid_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this,"videoram"), m_spriteram(*this,"spriteram"), diff --git a/src/mame/includes/armedf.h b/src/mame/includes/armedf.h index b09b256ee45..8c58a01cef3 100644 --- a/src/mame/includes/armedf.h +++ b/src/mame/includes/armedf.h @@ -6,7 +6,7 @@ class armedf_state : public driver_device { public: - armedf_state(const machine_config &mconfig, device_type type, const char *tag) + armedf_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_extra(*this, "extra"), @@ -104,7 +104,7 @@ public: class bigfghtr_state : public armedf_state { public: - bigfghtr_state(const machine_config &mconfig, device_type type, const char *tag) + bigfghtr_state(const machine_config &mconfig, device_type type, std::string tag) : armedf_state(mconfig, type, tag), m_sharedram(*this, "sharedram") { } diff --git a/src/mame/includes/artmagic.h b/src/mame/includes/artmagic.h index 32f56fd2747..d02da1fcd7b 100644 --- a/src/mame/includes/artmagic.h +++ b/src/mame/includes/artmagic.h @@ -16,7 +16,7 @@ public: TIMER_IRQ_OFF }; - artmagic_state(const machine_config &mconfig, device_type type, const char *tag) + artmagic_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki(*this, "oki"), diff --git a/src/mame/includes/ashnojoe.h b/src/mame/includes/ashnojoe.h index 028ccdd650a..5de4adc05d2 100644 --- a/src/mame/includes/ashnojoe.h +++ b/src/mame/includes/ashnojoe.h @@ -10,7 +10,7 @@ class ashnojoe_state : public driver_device { public: - ashnojoe_state(const machine_config &mconfig, device_type type, const char *tag) + ashnojoe_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_tileram_3(*this, "tileram_3"), m_tileram_4(*this, "tileram_4"), diff --git a/src/mame/includes/asterix.h b/src/mame/includes/asterix.h index 04a65a6aee3..05acbea623b 100644 --- a/src/mame/includes/asterix.h +++ b/src/mame/includes/asterix.h @@ -18,7 +18,7 @@ public: TIMER_NMI }; - asterix_state(const machine_config &mconfig, device_type type, const char *tag) + asterix_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/asteroid.h b/src/mame/includes/asteroid.h index 3929311d0c9..6ce78646fe0 100644 --- a/src/mame/includes/asteroid.h +++ b/src/mame/includes/asteroid.h @@ -12,7 +12,7 @@ class asteroid_state : public driver_device { public: - asteroid_state(const machine_config &mconfig, device_type type, const char *tag) + asteroid_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dvg(*this, "dvg"), diff --git a/src/mame/includes/astrocde.h b/src/mame/includes/astrocde.h index 99ec5cc7e39..c6901fcfcf1 100644 --- a/src/mame/includes/astrocde.h +++ b/src/mame/includes/astrocde.h @@ -29,7 +29,7 @@ public: TIMER_SCANLINE }; - astrocde_state(const machine_config &mconfig, device_type type, const char *tag) + astrocde_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/astrof.h b/src/mame/includes/astrof.h index f45a3681777..11a69a7aed8 100644 --- a/src/mame/includes/astrof.h +++ b/src/mame/includes/astrof.h @@ -12,7 +12,7 @@ class astrof_state : public driver_device { public: - astrof_state(const machine_config &mconfig, device_type type, const char *tag) + astrof_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_astrof_color(*this, "astrof_color"), diff --git a/src/mame/includes/asuka.h b/src/mame/includes/asuka.h index 5e824c3da78..963a0ba5daa 100644 --- a/src/mame/includes/asuka.h +++ b/src/mame/includes/asuka.h @@ -20,7 +20,7 @@ public: TIMER_CADASH_INTERRUPT5 }; - asuka_state(const machine_config &mconfig, device_type type, const char *tag) + asuka_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_cadash_shared_ram(*this, "sharedram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/at.h b/src/mame/includes/at.h index 7d1d8e84d4b..34d213537d4 100644 --- a/src/mame/includes/at.h +++ b/src/mame/includes/at.h @@ -50,7 +50,7 @@ class at586_state : public driver_device { public: - at586_state(const machine_config &mconfig, device_type type, const char *tag) + at586_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } required_device m_maincpu; @@ -61,7 +61,7 @@ public: class at_state : public driver_device { public: - at_state(const machine_config &mconfig, device_type type, const char *tag) + at_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pic8259_master(*this, "pic8259_master"), @@ -170,7 +170,7 @@ public: class megapc_state : public driver_device { public: - megapc_state(const machine_config &mconfig, device_type type, const char *tag) + megapc_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_wd7600(*this, "wd7600"), diff --git a/src/mame/includes/atari.h b/src/mame/includes/atari.h index ed899fc5386..e7df9e30db6 100644 --- a/src/mame/includes/atari.h +++ b/src/mame/includes/atari.h @@ -23,7 +23,7 @@ class atari_common_state : public driver_device { public: - atari_common_state(const machine_config &mconfig, device_type type, const char *tag) + atari_common_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gtia(*this, "gtia"), diff --git a/src/mame/includes/atarifb.h b/src/mame/includes/atarifb.h index 445ab76f18a..5bfe589dcd2 100644 --- a/src/mame/includes/atarifb.h +++ b/src/mame/includes/atarifb.h @@ -20,7 +20,7 @@ class atarifb_state : public driver_device { public: - atarifb_state(const machine_config &mconfig, device_type type, const char *tag) + atarifb_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_alphap1_videoram(*this, "p1_videoram"), m_alphap2_videoram(*this, "p2_videoram"), diff --git a/src/mame/includes/atarig1.h b/src/mame/includes/atarig1.h index 3cef67afe31..7b17b33b571 100644 --- a/src/mame/includes/atarig1.h +++ b/src/mame/includes/atarig1.h @@ -13,7 +13,7 @@ class atarig1_state : public atarigen_state { public: - atarig1_state(const machine_config &mconfig, device_type type, const char *tag) + atarig1_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_jsa(*this, "jsa"), diff --git a/src/mame/includes/atarig42.h b/src/mame/includes/atarig42.h index 048d0c5384e..05880a6675e 100644 --- a/src/mame/includes/atarig42.h +++ b/src/mame/includes/atarig42.h @@ -14,7 +14,7 @@ class atarig42_state : public atarigen_state { public: - atarig42_state(const machine_config &mconfig, device_type type, const char *tag) + atarig42_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_jsa(*this, "jsa"), diff --git a/src/mame/includes/atarigt.h b/src/mame/includes/atarigt.h index b2bc558eb1f..6f6ee9f5d7a 100644 --- a/src/mame/includes/atarigt.h +++ b/src/mame/includes/atarigt.h @@ -18,7 +18,7 @@ class atarigt_state : public atarigen_state { public: - atarigt_state(const machine_config &mconfig, device_type type, const char *tag) + atarigt_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_colorram(*this, "colorram", 32), m_playfield_tilemap(*this, "playfield"), diff --git a/src/mame/includes/atarigx2.h b/src/mame/includes/atarigx2.h index e0393e3b22e..4ef3932f41c 100644 --- a/src/mame/includes/atarigx2.h +++ b/src/mame/includes/atarigx2.h @@ -14,7 +14,7 @@ class atarigx2_state : public atarigen_state { public: - atarigx2_state(const machine_config &mconfig, device_type type, const char *tag) + atarigx2_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_jsa(*this, "jsa"), m_mo_command(*this, "mo_command"), diff --git a/src/mame/includes/atarist.h b/src/mame/includes/atarist.h index 34a6be7972e..c9499ac7895 100644 --- a/src/mame/includes/atarist.h +++ b/src/mame/includes/atarist.h @@ -80,7 +80,7 @@ public: TIMER_BLITTER_TICK }; - st_state(const machine_config &mconfig, device_type type, const char *tag) + st_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, M68000_TAG), m_fdc(*this, WD1772_TAG), @@ -341,7 +341,7 @@ protected: class megast_state : public st_state { public: - megast_state(const machine_config &mconfig, device_type type, const char *tag) + megast_state(const machine_config &mconfig, device_type type, std::string tag) : st_state(mconfig, type, tag) { } @@ -358,7 +358,7 @@ public: TIMER_MICROWIRE_TICK }; - ste_state(const machine_config &mconfig, device_type type, const char *tag) + ste_state(const machine_config &mconfig, device_type type, std::string tag) : st_state(mconfig, type, tag), m_lmc1992(*this, LMC1992_TAG) { } @@ -433,7 +433,7 @@ protected: class megaste_state : public ste_state { public: - megaste_state(const machine_config &mconfig, device_type type, const char *tag) + megaste_state(const machine_config &mconfig, device_type type, std::string tag) : ste_state(mconfig, type, tag) { } @@ -448,7 +448,7 @@ public: class stbook_state : public ste_state { public: - stbook_state(const machine_config &mconfig, device_type type, const char *tag) + stbook_state(const machine_config &mconfig, device_type type, std::string tag) : ste_state(mconfig, type, tag), m_sw400(*this, "SW400") { } diff --git a/src/mame/includes/atarisy1.h b/src/mame/includes/atarisy1.h index a2e27c24704..71e8da26e6c 100644 --- a/src/mame/includes/atarisy1.h +++ b/src/mame/includes/atarisy1.h @@ -13,7 +13,7 @@ class atarisy1_state : public atarigen_state { public: - atarisy1_state(const machine_config &mconfig, device_type type, const char *tag) + atarisy1_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_bankselect(*this, "bankselect"), m_mob(*this, "mob"), diff --git a/src/mame/includes/atarisy2.h b/src/mame/includes/atarisy2.h index 21be1d85549..793a4834d59 100644 --- a/src/mame/includes/atarisy2.h +++ b/src/mame/includes/atarisy2.h @@ -15,7 +15,7 @@ class atarisy2_state : public atarigen_state { public: - atarisy2_state(const machine_config &mconfig, device_type type, const char *tag) + atarisy2_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/atetris.h b/src/mame/includes/atetris.h index e35b6b9e62c..07e85aa679d 100644 --- a/src/mame/includes/atetris.h +++ b/src/mame/includes/atetris.h @@ -11,7 +11,7 @@ class atetris_state : public driver_device { public: - atetris_state(const machine_config &mconfig, device_type type, const char *tag) + atetris_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/atom.h b/src/mame/includes/atom.h index af9ecff57cf..b593f66be3a 100644 --- a/src/mame/includes/atom.h +++ b/src/mame/includes/atom.h @@ -41,7 +41,7 @@ class atom_state : public driver_device { public: - atom_state(const machine_config &mconfig, device_type type, const char *tag) + atom_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, SY6502_TAG), m_vdg(*this, MC6847_TAG), @@ -120,7 +120,7 @@ public: class atomeb_state : public atom_state { public: - atomeb_state(const machine_config &mconfig, device_type type, const char *tag) + atomeb_state(const machine_config &mconfig, device_type type, std::string tag) : atom_state(mconfig, type, tag), m_e0(*this, "rom_e0"), m_e1(*this, "rom_e1") diff --git a/src/mame/includes/aussiebyte.h b/src/mame/includes/aussiebyte.h index 0f798e1a99f..6fe92a61538 100644 --- a/src/mame/includes/aussiebyte.h +++ b/src/mame/includes/aussiebyte.h @@ -30,7 +30,7 @@ class aussiebyte_state : public driver_device { public: - aussiebyte_state(const machine_config &mconfig, device_type type, const char *tag) + aussiebyte_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_maincpu(*this, "maincpu") diff --git a/src/mame/includes/avalnche.h b/src/mame/includes/avalnche.h index e1884176ae1..373327ce4d7 100644 --- a/src/mame/includes/avalnche.h +++ b/src/mame/includes/avalnche.h @@ -12,7 +12,7 @@ class avalnche_state : public driver_device { public: - avalnche_state(const machine_config &mconfig, device_type type, const char *tag) + avalnche_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_discrete(*this, "discrete"), diff --git a/src/mame/includes/avigo.h b/src/mame/includes/avigo.h index 6ef813906b6..ec1d82310c8 100644 --- a/src/mame/includes/avigo.h +++ b/src/mame/includes/avigo.h @@ -29,7 +29,7 @@ class avigo_state : public driver_device { public: - avigo_state(const machine_config &mconfig, device_type type, const char *tag) + avigo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/aztarac.h b/src/mame/includes/aztarac.h index 45cb076ec3c..6786c3cba26 100644 --- a/src/mame/includes/aztarac.h +++ b/src/mame/includes/aztarac.h @@ -11,7 +11,7 @@ class aztarac_state : public driver_device { public: - aztarac_state(const machine_config &mconfig, device_type type, const char *tag) + aztarac_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/b2m.h b/src/mame/includes/b2m.h index a267a2b7538..fb1d50e6e49 100644 --- a/src/mame/includes/b2m.h +++ b/src/mame/includes/b2m.h @@ -20,7 +20,7 @@ class b2m_state : public driver_device { public: - b2m_state(const machine_config &mconfig, device_type type, const char *tag) + b2m_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/includes/badlands.h b/src/mame/includes/badlands.h index dca560b4466..1ed276ecf0f 100644 --- a/src/mame/includes/badlands.h +++ b/src/mame/includes/badlands.h @@ -12,7 +12,7 @@ class badlands_state : public atarigen_state { public: - badlands_state(const machine_config &mconfig, device_type type, const char *tag) + badlands_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_playfield_tilemap(*this, "playfield"), m_mob(*this, "mob") { } diff --git a/src/mame/includes/bagman.h b/src/mame/includes/bagman.h index f38bb7e361d..fca8de986c9 100644 --- a/src/mame/includes/bagman.h +++ b/src/mame/includes/bagman.h @@ -5,7 +5,7 @@ class bagman_state : public driver_device { public: - bagman_state(const machine_config &mconfig, device_type type, const char *tag) + bagman_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/balsente.h b/src/mame/includes/balsente.h index c3bd5218959..126ac063087 100644 --- a/src/mame/includes/balsente.h +++ b/src/mame/includes/balsente.h @@ -31,7 +31,7 @@ class balsente_state : public driver_device { public: - balsente_state(const machine_config &mconfig, device_type type, const char *tag) + balsente_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_scanline_timer(*this, "scan_timer"), m_counter_0_timer(*this, "8253_0_timer"), diff --git a/src/mame/includes/banctec.h b/src/mame/includes/banctec.h index d41e87c777e..ab8744ca894 100644 --- a/src/mame/includes/banctec.h +++ b/src/mame/includes/banctec.h @@ -14,7 +14,7 @@ class banctec_state : public driver_device { public: - banctec_state(const machine_config &mconfig, device_type type, const char *tag) + banctec_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/bankp.h b/src/mame/includes/bankp.h index 9eb8b731cd0..ec7aefe74f7 100644 --- a/src/mame/includes/bankp.h +++ b/src/mame/includes/bankp.h @@ -9,7 +9,7 @@ class bankp_state : public driver_device { public: - bankp_state(const machine_config &mconfig, device_type type, const char *tag) + bankp_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/baraduke.h b/src/mame/includes/baraduke.h index fb468780ea9..f8940e08551 100644 --- a/src/mame/includes/baraduke.h +++ b/src/mame/includes/baraduke.h @@ -5,7 +5,7 @@ class baraduke_state : public driver_device { public: - baraduke_state(const machine_config &mconfig, device_type type, const char *tag) + baraduke_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/batman.h b/src/mame/includes/batman.h index f98632ee177..666ce66f2ba 100644 --- a/src/mame/includes/batman.h +++ b/src/mame/includes/batman.h @@ -13,7 +13,7 @@ class batman_state : public atarigen_state { public: - batman_state(const machine_config &mconfig, device_type type, const char *tag) + batman_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_jsa(*this, "jsa"), m_vad(*this, "vad") { } diff --git a/src/mame/includes/battlane.h b/src/mame/includes/battlane.h index 1a6e6124a12..e676679ce9c 100644 --- a/src/mame/includes/battlane.h +++ b/src/mame/includes/battlane.h @@ -9,7 +9,7 @@ class battlane_state : public driver_device { public: - battlane_state(const machine_config &mconfig, device_type type, const char *tag) + battlane_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_tileram(*this, "tileram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/battlera.h b/src/mame/includes/battlera.h index 3c1c72b4806..7bbaf80ee50 100644 --- a/src/mame/includes/battlera.h +++ b/src/mame/includes/battlera.h @@ -9,7 +9,7 @@ class battlera_state : public driver_device { public: - battlera_state(const machine_config &mconfig, device_type type, const char *tag) + battlera_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/battlex.h b/src/mame/includes/battlex.h index cf4ac5ead7f..298dfd83cdf 100644 --- a/src/mame/includes/battlex.h +++ b/src/mame/includes/battlex.h @@ -9,7 +9,7 @@ class battlex_state : public driver_device { public: - battlex_state(const machine_config &mconfig, device_type type, const char *tag) + battlex_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/battlnts.h b/src/mame/includes/battlnts.h index b6eff358b79..a036fbf34d6 100644 --- a/src/mame/includes/battlnts.h +++ b/src/mame/includes/battlnts.h @@ -12,7 +12,7 @@ class battlnts_state : public driver_device { public: - battlnts_state(const machine_config &mconfig, device_type type, const char *tag) + battlnts_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/bbc.h b/src/mame/includes/bbc.h index 8a5851a664f..a8cffc7c5ac 100644 --- a/src/mame/includes/bbc.h +++ b/src/mame/includes/bbc.h @@ -46,7 +46,7 @@ enum machine_type_t class bbc_state : public driver_device { public: - bbc_state(const machine_config &mconfig, device_type type, const char *tag) : + bbc_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/bbusters.h b/src/mame/includes/bbusters.h index c2c4526502f..48cd5206084 100644 --- a/src/mame/includes/bbusters.h +++ b/src/mame/includes/bbusters.h @@ -5,7 +5,7 @@ class bbusters_state : public driver_device { public: - bbusters_state(const machine_config &mconfig, device_type type, const char *tag) + bbusters_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/beathead.h b/src/mame/includes/beathead.h index 5913cb4a997..88ae6dc91a4 100644 --- a/src/mame/includes/beathead.h +++ b/src/mame/includes/beathead.h @@ -13,7 +13,7 @@ class beathead_state : public atarigen_state { public: - beathead_state(const machine_config &mconfig, device_type type, const char *tag) + beathead_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_jsa(*this, "jsa"), diff --git a/src/mame/includes/bebox.h b/src/mame/includes/bebox.h index 80ace184a53..27c64903fa7 100644 --- a/src/mame/includes/bebox.h +++ b/src/mame/includes/bebox.h @@ -32,7 +32,7 @@ public: TIMER_GET_DEVICES }; - bebox_state(const machine_config &mconfig, device_type type, const char *tag) + bebox_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_ppc1(*this, "ppc1"), m_ppc2(*this, "ppc2"), diff --git a/src/mame/includes/beezer.h b/src/mame/includes/beezer.h index a4afe9f6d30..9fcd8496215 100644 --- a/src/mame/includes/beezer.h +++ b/src/mame/includes/beezer.h @@ -8,7 +8,7 @@ class beezer_sound_device; class beezer_state : public driver_device { public: - beezer_state(const machine_config &mconfig, device_type type, const char *tag) + beezer_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), @@ -70,7 +70,7 @@ class beezer_sound_device : public device_t, public device_sound_interface { public: - beezer_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + beezer_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); ~beezer_sound_device() {} DECLARE_READ8_MEMBER( sh6840_r ); diff --git a/src/mame/includes/bfm_ad5.h b/src/mame/includes/bfm_ad5.h index 39f01c25739..6950d970e3d 100644 --- a/src/mame/includes/bfm_ad5.h +++ b/src/mame/includes/bfm_ad5.h @@ -7,7 +7,7 @@ class adder5_state : public driver_device { public: - adder5_state(const machine_config &mconfig, device_type type, const char *tag) + adder5_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/includes/bfm_sc45.h b/src/mame/includes/bfm_sc45.h index 5844cdc9a1b..cd4bf707f74 100644 --- a/src/mame/includes/bfm_sc45.h +++ b/src/mame/includes/bfm_sc45.h @@ -63,7 +63,7 @@ class bfm_sc45_state : public driver_device { public: - bfm_sc45_state(const machine_config &mconfig, device_type type, const char *tag) + bfm_sc45_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_duart(*this, "duart68681"), m_vfd0(*this, "vfd0"), @@ -98,7 +98,7 @@ void bfm_sc45_write_serial_vfd(running_machine &machine, bool cs, bool clock, bo class sc4_state : public bfm_sc45_state { public: - sc4_state(const machine_config &mconfig, device_type type, const char *tag) + sc4_state(const machine_config &mconfig, device_type type, std::string tag) : bfm_sc45_state(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cpuregion(*this, "maincpu"), @@ -623,7 +623,7 @@ protected: class sc4_adder4_state : public sc4_state { public: - sc4_adder4_state(const machine_config &mconfig, device_type type, const char *tag) + sc4_adder4_state(const machine_config &mconfig, device_type type, std::string tag) : sc4_state(mconfig, type, tag), m_adder4cpu(*this, "adder4") { } diff --git a/src/mame/includes/bfm_sc5.h b/src/mame/includes/bfm_sc5.h index 004a727ce04..e8d815fea76 100644 --- a/src/mame/includes/bfm_sc5.h +++ b/src/mame/includes/bfm_sc5.h @@ -6,7 +6,7 @@ class bfm_sc5_state : public bfm_sc45_state { public: - bfm_sc5_state(const machine_config &mconfig, device_type type, const char *tag) + bfm_sc5_state(const machine_config &mconfig, device_type type, std::string tag) : bfm_sc45_state(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/includes/bigevglf.h b/src/mame/includes/bigevglf.h index d0bd4a3cea5..5907235db8d 100644 --- a/src/mame/includes/bigevglf.h +++ b/src/mame/includes/bigevglf.h @@ -5,7 +5,7 @@ class bigevglf_state : public driver_device { public: - bigevglf_state(const machine_config &mconfig, device_type type, const char *tag) + bigevglf_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_paletteram(*this, "paletteram"), m_spriteram1(*this, "spriteram1"), diff --git a/src/mame/includes/bigstrkb.h b/src/mame/includes/bigstrkb.h index dd7bf0cb86c..43925568e6f 100644 --- a/src/mame/includes/bigstrkb.h +++ b/src/mame/includes/bigstrkb.h @@ -3,7 +3,7 @@ class bigstrkb_state : public driver_device { public: - bigstrkb_state(const machine_config &mconfig, device_type type, const char *tag) + bigstrkb_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/bionicc.h b/src/mame/includes/bionicc.h index afe83c076cb..1c138a84cac 100644 --- a/src/mame/includes/bionicc.h +++ b/src/mame/includes/bionicc.h @@ -13,7 +13,7 @@ class bionicc_state : public driver_device { public: - bionicc_state(const machine_config &mconfig, device_type type, const char *tag) + bionicc_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram") , m_txvideoram(*this, "txvideoram"), diff --git a/src/mame/includes/bishi.h b/src/mame/includes/bishi.h index f2421b3b3b9..a68c0456f3c 100644 --- a/src/mame/includes/bishi.h +++ b/src/mame/includes/bishi.h @@ -18,7 +18,7 @@ class bishi_state : public driver_device { public: - bishi_state(const machine_config &mconfig, device_type type, const char *tag) + bishi_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/bk.h b/src/mame/includes/bk.h index cd872bcaa88..f65dd632436 100644 --- a/src/mame/includes/bk.h +++ b/src/mame/includes/bk.h @@ -13,7 +13,7 @@ class bk_state : public driver_device { public: - bk_state(const machine_config &mconfig, device_type type, const char *tag) + bk_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bk0010_video_ram(*this, "video_ram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/bking.h b/src/mame/includes/bking.h index ffd455d3421..081a632f244 100644 --- a/src/mame/includes/bking.h +++ b/src/mame/includes/bking.h @@ -5,7 +5,7 @@ class bking_state : public driver_device { public: - bking_state(const machine_config &mconfig, device_type type, const char *tag) + bking_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_playfield_ram(*this, "playfield_ram"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/bladestl.h b/src/mame/includes/bladestl.h index e95eac874e8..ac53b37a3a3 100644 --- a/src/mame/includes/bladestl.h +++ b/src/mame/includes/bladestl.h @@ -14,7 +14,7 @@ class bladestl_state : public driver_device { public: - bladestl_state(const machine_config &mconfig, device_type type, const char *tag) + bladestl_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/blktiger.h b/src/mame/includes/blktiger.h index c464103385e..30eeb0b999d 100644 --- a/src/mame/includes/blktiger.h +++ b/src/mame/includes/blktiger.h @@ -11,7 +11,7 @@ class blktiger_state : public driver_device { public: - blktiger_state(const machine_config &mconfig, device_type type, const char *tag) + blktiger_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram") , m_txvideoram(*this, "txvideoram"), diff --git a/src/mame/includes/blmbycar.h b/src/mame/includes/blmbycar.h index 2fbc5390e01..b195e9bcc18 100644 --- a/src/mame/includes/blmbycar.h +++ b/src/mame/includes/blmbycar.h @@ -9,7 +9,7 @@ class blmbycar_state : public driver_device { public: - blmbycar_state(const machine_config &mconfig, device_type type, const char *tag) + blmbycar_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_vram_1(*this, "vram_1"), m_vram_0(*this, "vram_0"), diff --git a/src/mame/includes/blockade.h b/src/mame/includes/blockade.h index d0b40e1f628..5133478053b 100644 --- a/src/mame/includes/blockade.h +++ b/src/mame/includes/blockade.h @@ -6,7 +6,7 @@ class blockade_state : public driver_device { public: - blockade_state(const machine_config &mconfig, device_type type, const char *tag) + blockade_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_discrete(*this, "discrete"), diff --git a/src/mame/includes/blockout.h b/src/mame/includes/blockout.h index 81758b92397..3360004f49f 100644 --- a/src/mame/includes/blockout.h +++ b/src/mame/includes/blockout.h @@ -9,7 +9,7 @@ class blockout_state : public driver_device { public: - blockout_state(const machine_config &mconfig, device_type type, const char *tag) + blockout_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_frontvideoram(*this, "frontvideoram"), diff --git a/src/mame/includes/bloodbro.h b/src/mame/includes/bloodbro.h index a4bfc21a918..6254f731b20 100644 --- a/src/mame/includes/bloodbro.h +++ b/src/mame/includes/bloodbro.h @@ -3,7 +3,7 @@ class bloodbro_state : public driver_device { public: - bloodbro_state(const machine_config &mconfig, device_type type, const char *tag) + bloodbro_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/blstroid.h b/src/mame/includes/blstroid.h index d1cedbeead6..f22f40144f1 100644 --- a/src/mame/includes/blstroid.h +++ b/src/mame/includes/blstroid.h @@ -19,7 +19,7 @@ public: TIMER_IRQ_ON }; - blstroid_state(const machine_config &mconfig, device_type type, const char *tag) + blstroid_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_playfield_tilemap(*this, "playfield"), m_jsa(*this, "jsa"), diff --git a/src/mame/includes/blueprnt.h b/src/mame/includes/blueprnt.h index f515e0c6ed1..3e9022da8a4 100644 --- a/src/mame/includes/blueprnt.h +++ b/src/mame/includes/blueprnt.h @@ -9,7 +9,7 @@ class blueprnt_state : public driver_device { public: - blueprnt_state(const machine_config &mconfig, device_type type, const char *tag) + blueprnt_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_audiocpu(*this, "audiocpu"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/bogeyman.h b/src/mame/includes/bogeyman.h index d5bd855fac3..acc163f58f7 100644 --- a/src/mame/includes/bogeyman.h +++ b/src/mame/includes/bogeyman.h @@ -11,7 +11,7 @@ class bogeyman_state : public driver_device { public: - bogeyman_state(const machine_config &mconfig, device_type type, const char *tag) + bogeyman_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/bombjack.h b/src/mame/includes/bombjack.h index db58222ccea..a1f32ad899e 100644 --- a/src/mame/includes/bombjack.h +++ b/src/mame/includes/bombjack.h @@ -9,7 +9,7 @@ class bombjack_state : public driver_device { public: - bombjack_state(const machine_config &mconfig, device_type type, const char *tag) + bombjack_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/boogwing.h b/src/mame/includes/boogwing.h index 9b28449b41b..2093f989597 100644 --- a/src/mame/includes/boogwing.h +++ b/src/mame/includes/boogwing.h @@ -17,7 +17,7 @@ class boogwing_state : public driver_device { public: - boogwing_state(const machine_config &mconfig, device_type type, const char *tag) + boogwing_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/bottom9.h b/src/mame/includes/bottom9.h index cfaa72de2b0..18ead5f59bb 100644 --- a/src/mame/includes/bottom9.h +++ b/src/mame/includes/bottom9.h @@ -14,7 +14,7 @@ class bottom9_state : public driver_device { public: - bottom9_state(const machine_config &mconfig, device_type type, const char *tag) + bottom9_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/brkthru.h b/src/mame/includes/brkthru.h index c3cfd0d6daa..fa100f8d896 100644 --- a/src/mame/includes/brkthru.h +++ b/src/mame/includes/brkthru.h @@ -9,7 +9,7 @@ class brkthru_state : public driver_device { public: - brkthru_state(const machine_config &mconfig, device_type type, const char *tag) + brkthru_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_fg_videoram(*this, "fg_videoram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/bsktball.h b/src/mame/includes/bsktball.h index 5ef6ba53321..a1bfc588e1b 100644 --- a/src/mame/includes/bsktball.h +++ b/src/mame/includes/bsktball.h @@ -18,7 +18,7 @@ class bsktball_state : public driver_device { public: - bsktball_state(const machine_config &mconfig, device_type type, const char *tag) + bsktball_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_motion(*this, "motion"), diff --git a/src/mame/includes/btime.h b/src/mame/includes/btime.h index fb27d1722cc..4ded4c99674 100644 --- a/src/mame/includes/btime.h +++ b/src/mame/includes/btime.h @@ -9,7 +9,7 @@ class btime_state : public driver_device { public: - btime_state(const machine_config &mconfig, device_type type, const char *tag) + btime_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_rambase(*this, "rambase"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/btoads.h b/src/mame/includes/btoads.h index 065137c3262..fcf90b3d214 100644 --- a/src/mame/includes/btoads.h +++ b/src/mame/includes/btoads.h @@ -17,7 +17,7 @@ class btoads_state : public driver_device { public: - btoads_state(const machine_config &mconfig, device_type type, const char *tag) + btoads_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_audiocpu(*this, "audiocpu"), m_bsmt(*this, "bsmt"), diff --git a/src/mame/includes/bublbobl.h b/src/mame/includes/bublbobl.h index c308ac921b5..d24e31b9d30 100644 --- a/src/mame/includes/bublbobl.h +++ b/src/mame/includes/bublbobl.h @@ -10,7 +10,7 @@ public: TIMER_M68705_IRQ_ACK }; - bublbobl_state(const machine_config &mconfig, device_type type, const char *tag) + bublbobl_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_objectram(*this, "objectram"), diff --git a/src/mame/includes/buggychl.h b/src/mame/includes/buggychl.h index f55343b1122..4abdde02a2e 100644 --- a/src/mame/includes/buggychl.h +++ b/src/mame/includes/buggychl.h @@ -10,7 +10,7 @@ class buggychl_state : public driver_device { public: - buggychl_state(const machine_config &mconfig, device_type type, const char *tag) + buggychl_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_charram(*this, "charram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/bullet.h b/src/mame/includes/bullet.h index 206b5dac222..978f810e1b3 100644 --- a/src/mame/includes/bullet.h +++ b/src/mame/includes/bullet.h @@ -30,7 +30,7 @@ class bullet_state : public driver_device { public: - bullet_state(const machine_config &mconfig, device_type type, const char *tag) + bullet_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_ctc(*this, Z80CTC_TAG), @@ -131,7 +131,7 @@ public: class bulletf_state : public bullet_state { public: - bulletf_state(const machine_config &mconfig, device_type type, const char *tag) : + bulletf_state(const machine_config &mconfig, device_type type, std::string tag) : bullet_state(mconfig, type, tag), m_floppy8(*this, MB8877_TAG":8"), m_floppy9(*this, MB8877_TAG":9"), diff --git a/src/mame/includes/busicom.h b/src/mame/includes/busicom.h index d6a5423808f..3b04f20c5d0 100644 --- a/src/mame/includes/busicom.h +++ b/src/mame/includes/busicom.h @@ -14,7 +14,7 @@ class busicom_state : public driver_device { public: - busicom_state(const machine_config &mconfig, device_type type, const char *tag) + busicom_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette") { } diff --git a/src/mame/includes/bw12.h b/src/mame/includes/bw12.h index 39330c20fcb..0916575a16c 100644 --- a/src/mame/includes/bw12.h +++ b/src/mame/includes/bw12.h @@ -38,7 +38,7 @@ class bw12_state : public driver_device { public: - bw12_state(const machine_config &mconfig, device_type type, const char *tag) + bw12_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_pia(*this, PIA6821_TAG), diff --git a/src/mame/includes/bw2.h b/src/mame/includes/bw2.h index 041e8e4d5e5..42531a11146 100644 --- a/src/mame/includes/bw2.h +++ b/src/mame/includes/bw2.h @@ -31,7 +31,7 @@ class bw2_state : public driver_device { public: - bw2_state(const machine_config &mconfig, device_type type, const char *tag) + bw2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_uart(*this, I8251_TAG), diff --git a/src/mame/includes/bwidow.h b/src/mame/includes/bwidow.h index 48c53e2c87c..dc357b45979 100644 --- a/src/mame/includes/bwidow.h +++ b/src/mame/includes/bwidow.h @@ -11,7 +11,7 @@ class bwidow_state : public driver_device { public: - bwidow_state(const machine_config &mconfig, device_type type, const char *tag) + bwidow_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/includes/bwing.h b/src/mame/includes/bwing.h index 215cb663122..ee249399cf9 100644 --- a/src/mame/includes/bwing.h +++ b/src/mame/includes/bwing.h @@ -13,7 +13,7 @@ class bwing_state : public driver_device { public: - bwing_state(const machine_config &mconfig, device_type type, const char *tag) + bwing_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/bzone.h b/src/mame/includes/bzone.h index 98894644a3c..b9ab8687de9 100644 --- a/src/mame/includes/bzone.h +++ b/src/mame/includes/bzone.h @@ -16,7 +16,7 @@ class bzone_state : public driver_device { public: - bzone_state(const machine_config &mconfig, device_type type, const char *tag) + bzone_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mathbox(*this, "mathbox"), diff --git a/src/mame/includes/c128.h b/src/mame/includes/c128.h index 03d72b42db5..edb95947442 100644 --- a/src/mame/includes/c128.h +++ b/src/mame/includes/c128.h @@ -42,7 +42,7 @@ class c128_state : public driver_device { public: - c128_state(const machine_config &mconfig, device_type type, const char *tag) : + c128_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80A_TAG), m_subcpu(*this, M8502_TAG), diff --git a/src/mame/includes/c64.h b/src/mame/includes/c64.h index 2bf654f9080..4394e447213 100644 --- a/src/mame/includes/c64.h +++ b/src/mame/includes/c64.h @@ -34,7 +34,7 @@ class c64_state : public driver_device { public: - c64_state(const machine_config &mconfig, device_type type, const char *tag) : + c64_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, M6510_TAG), m_pla(*this, PLA_TAG), @@ -179,7 +179,7 @@ public: class sx64_state : public c64_state { public: - sx64_state(const machine_config &mconfig, device_type type, const char *tag) + sx64_state(const machine_config &mconfig, device_type type, std::string tag) : c64_state(mconfig, type, tag) { } @@ -191,7 +191,7 @@ public: class c64c_state : public c64_state { public: - c64c_state(const machine_config &mconfig, device_type type, const char *tag) + c64c_state(const machine_config &mconfig, device_type type, std::string tag) : c64_state(mconfig, type, tag) { } }; @@ -200,7 +200,7 @@ public: class c64gs_state : public c64c_state { public: - c64gs_state(const machine_config &mconfig, device_type type, const char *tag) + c64gs_state(const machine_config &mconfig, device_type type, std::string tag) : c64c_state(mconfig, type, tag) { } diff --git a/src/mame/includes/c80.h b/src/mame/includes/c80.h index 0f96980fc8d..2b6ad92b41d 100644 --- a/src/mame/includes/c80.h +++ b/src/mame/includes/c80.h @@ -19,7 +19,7 @@ class c80_state : public driver_device { public: - c80_state(const machine_config &mconfig, device_type type, const char *tag) + c80_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_pio1(*this, Z80PIO1_TAG), diff --git a/src/mame/includes/cabal.h b/src/mame/includes/cabal.h index 6f5a3e71cfb..02314f73e4a 100644 --- a/src/mame/includes/cabal.h +++ b/src/mame/includes/cabal.h @@ -6,7 +6,7 @@ class cabal_state : public driver_device { public: - cabal_state(const machine_config &mconfig, device_type type, const char *tag) + cabal_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/calomega.h b/src/mame/includes/calomega.h index 8667ed87797..0d483bde85f 100644 --- a/src/mame/includes/calomega.h +++ b/src/mame/includes/calomega.h @@ -6,7 +6,7 @@ class calomega_state : public driver_device { public: - calomega_state(const machine_config &mconfig, device_type type, const char *tag) : + calomega_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_acia6850_0(*this, "acia6850_0"), diff --git a/src/mame/includes/canyon.h b/src/mame/includes/canyon.h index 316a8dc2d2c..4cff3850a0a 100644 --- a/src/mame/includes/canyon.h +++ b/src/mame/includes/canyon.h @@ -22,7 +22,7 @@ class canyon_state : public driver_device { public: - canyon_state(const machine_config &mconfig, device_type type, const char *tag) + canyon_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_discrete(*this, "discrete"), diff --git a/src/mame/includes/capbowl.h b/src/mame/includes/capbowl.h index cb63080bc17..ace918c14b7 100644 --- a/src/mame/includes/capbowl.h +++ b/src/mame/includes/capbowl.h @@ -17,7 +17,7 @@ public: TIMER_UPDATE }; - capbowl_state(const machine_config &mconfig, device_type type, const char *tag) + capbowl_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/carjmbre.h b/src/mame/includes/carjmbre.h index e19917b9f43..0d01cdda918 100644 --- a/src/mame/includes/carjmbre.h +++ b/src/mame/includes/carjmbre.h @@ -9,7 +9,7 @@ class carjmbre_state : public driver_device { public: - carjmbre_state(const machine_config &mconfig, device_type type, const char *tag) + carjmbre_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/carpolo.h b/src/mame/includes/carpolo.h index 62978cef335..c0ba199c24d 100644 --- a/src/mame/includes/carpolo.h +++ b/src/mame/includes/carpolo.h @@ -16,7 +16,7 @@ class carpolo_state : public driver_device { public: - carpolo_state(const machine_config &mconfig, device_type type, const char *tag) + carpolo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_alpharam(*this, "alpharam"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/cave.h b/src/mame/includes/cave.h index 938a4757559..dbd41997233 100644 --- a/src/mame/includes/cave.h +++ b/src/mame/includes/cave.h @@ -29,7 +29,7 @@ struct sprite_cave class cave_state : public driver_device { public: - cave_state(const machine_config &mconfig, device_type type, const char *tag) + cave_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoregs(*this, "videoregs"), m_vram(*this, "vram"), diff --git a/src/mame/includes/cbasebal.h b/src/mame/includes/cbasebal.h index b64eb70e6f8..823d59e804c 100644 --- a/src/mame/includes/cbasebal.h +++ b/src/mame/includes/cbasebal.h @@ -9,7 +9,7 @@ class cbasebal_state : public driver_device { public: - cbasebal_state(const machine_config &mconfig, device_type type, const char *tag) + cbasebal_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/cbm2.h b/src/mame/includes/cbm2.h index 78ddb7824da..78333352213 100644 --- a/src/mame/includes/cbm2.h +++ b/src/mame/includes/cbm2.h @@ -54,7 +54,7 @@ class cbm2_state : public driver_device { public: - cbm2_state(const machine_config &mconfig, device_type type, const char *tag) + cbm2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, M6509_TAG), m_pla1(*this, PLA1_TAG), @@ -247,7 +247,7 @@ public: class cbm2hp_state : public cbm2_state { public: - cbm2hp_state(const machine_config &mconfig, device_type type, const char *tag) + cbm2hp_state(const machine_config &mconfig, device_type type, std::string tag) : cbm2_state(mconfig, type, tag) { } @@ -261,7 +261,7 @@ public: class p500_state : public cbm2_state { public: - p500_state(const machine_config &mconfig, device_type type, const char *tag) + p500_state(const machine_config &mconfig, device_type type, std::string tag) : cbm2_state(mconfig, type, tag), m_pla2(*this, PLA2_TAG), m_vic(*this, MOS6569_TAG), diff --git a/src/mame/includes/cbuster.h b/src/mame/includes/cbuster.h index 51b2f20543b..eea7d7dc425 100644 --- a/src/mame/includes/cbuster.h +++ b/src/mame/includes/cbuster.h @@ -12,7 +12,7 @@ class cbuster_state : public driver_device { public: - cbuster_state(const machine_config &mconfig, device_type type, const char *tag) + cbuster_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_ram(*this, "ram"), m_pf1_rowscroll(*this, "pf1_rowscroll"), diff --git a/src/mame/includes/ccastles.h b/src/mame/includes/ccastles.h index d690dc7f839..d374f9ae2fc 100644 --- a/src/mame/includes/ccastles.h +++ b/src/mame/includes/ccastles.h @@ -12,7 +12,7 @@ class ccastles_state : public driver_device { public: - ccastles_state(const machine_config &mconfig, device_type type, const char *tag) + ccastles_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_nvram_4b(*this, "nvram_4b"), diff --git a/src/mame/includes/cchasm.h b/src/mame/includes/cchasm.h index 444b05c3b5e..f57fde2e70c 100644 --- a/src/mame/includes/cchasm.h +++ b/src/mame/includes/cchasm.h @@ -18,7 +18,7 @@ public: TIMER_REFRESH_END }; - cchasm_state(const machine_config &mconfig, device_type type, const char *tag) + cchasm_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ctc(*this, "ctc"), diff --git a/src/mame/includes/cclimber.h b/src/mame/includes/cclimber.h index 2d0b64f566a..2bd38b7f1ee 100644 --- a/src/mame/includes/cclimber.h +++ b/src/mame/includes/cclimber.h @@ -3,7 +3,7 @@ class cclimber_state : public driver_device { public: - cclimber_state(const machine_config &mconfig, device_type type, const char *tag) + cclimber_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/cdi.h b/src/mame/includes/cdi.h index 2e7b13ada04..19266b57e77 100644 --- a/src/mame/includes/cdi.h +++ b/src/mame/includes/cdi.h @@ -17,7 +17,7 @@ class cdi_state : public driver_device { public: - cdi_state(const machine_config &mconfig, device_type type, const char *tag) + cdi_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_planea(*this, "planea") diff --git a/src/mame/includes/centiped.h b/src/mame/includes/centiped.h index 74eb06ad0c6..e3f385e9846 100644 --- a/src/mame/includes/centiped.h +++ b/src/mame/includes/centiped.h @@ -11,7 +11,7 @@ class centiped_state : public driver_device { public: - centiped_state(const machine_config &mconfig, device_type type, const char *tag) + centiped_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_rambase(*this, "rambase"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/cgc7900.h b/src/mame/includes/cgc7900.h index defea5ddad9..ea5e318a81b 100644 --- a/src/mame/includes/cgc7900.h +++ b/src/mame/includes/cgc7900.h @@ -26,7 +26,7 @@ class cgc7900_state : public driver_device { public: - cgc7900_state(const machine_config &mconfig, device_type type, const char *tag) + cgc7900_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, M68000_TAG), m_palette(*this, "palette"), diff --git a/src/mame/includes/chaknpop.h b/src/mame/includes/chaknpop.h index dc457388e66..822732d8626 100644 --- a/src/mame/includes/chaknpop.h +++ b/src/mame/includes/chaknpop.h @@ -8,7 +8,7 @@ class chaknpop_state : public driver_device { public: - chaknpop_state(const machine_config &mconfig, device_type type, const char *tag) + chaknpop_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/champbas.h b/src/mame/includes/champbas.h index 6c409a7a708..62bd63df748 100644 --- a/src/mame/includes/champbas.h +++ b/src/mame/includes/champbas.h @@ -13,7 +13,7 @@ class champbas_state : public driver_device { public: - champbas_state(const machine_config &mconfig, device_type type, const char *tag) + champbas_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/changela.h b/src/mame/includes/changela.h index 2b0d9b24db7..c020b917620 100644 --- a/src/mame/includes/changela.h +++ b/src/mame/includes/changela.h @@ -5,7 +5,7 @@ class changela_state : public driver_device { public: - changela_state(const machine_config &mconfig, device_type type, const char *tag) + changela_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/channelf.h b/src/mame/includes/channelf.h index 41c7e70cd7e..c9f41bc38f6 100644 --- a/src/mame/includes/channelf.h +++ b/src/mame/includes/channelf.h @@ -20,7 +20,7 @@ class channelf_state : public driver_device { public: - channelf_state(const machine_config &mconfig, device_type type, const char *tag) + channelf_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_custom(*this,"custom"), diff --git a/src/mame/includes/cheekyms.h b/src/mame/includes/cheekyms.h index 7957a0802f6..cc15368f8a4 100644 --- a/src/mame/includes/cheekyms.h +++ b/src/mame/includes/cheekyms.h @@ -10,7 +10,7 @@ class cheekyms_state : public driver_device { public: - cheekyms_state(const machine_config &mconfig, device_type type, const char *tag) + cheekyms_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), diff --git a/src/mame/includes/chqflag.h b/src/mame/includes/chqflag.h index 269d95edc36..450b072409a 100644 --- a/src/mame/includes/chqflag.h +++ b/src/mame/includes/chqflag.h @@ -15,7 +15,7 @@ class chqflag_state : public driver_device { public: - chqflag_state(const machine_config &mconfig, device_type type, const char *tag) + chqflag_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/cidelsa.h b/src/mame/includes/cidelsa.h index a6f77e9eb2d..40e49c063cb 100644 --- a/src/mame/includes/cidelsa.h +++ b/src/mame/includes/cidelsa.h @@ -44,7 +44,7 @@ public: TIMER_SET_CPU_MODE }; - cidelsa_state(const machine_config &mconfig, device_type type, const char *tag) + cidelsa_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, CDP1802_TAG), m_vis(*this, CDP1869_TAG) @@ -90,7 +90,7 @@ protected: class draco_state : public cidelsa_state { public: - draco_state(const machine_config &mconfig, device_type type, const char *tag) + draco_state(const machine_config &mconfig, device_type type, std::string tag) : cidelsa_state(mconfig, type, tag), m_psg(*this, AY8910_TAG) { } diff --git a/src/mame/includes/cinemat.h b/src/mame/includes/cinemat.h index 6f860f51b29..268e2c4723d 100644 --- a/src/mame/includes/cinemat.h +++ b/src/mame/includes/cinemat.h @@ -13,7 +13,7 @@ class cinemat_state : public driver_device { public: - cinemat_state(const machine_config &mconfig, device_type type, const char *tag) + cinemat_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ay1(*this, "ay1"), diff --git a/src/mame/includes/circus.h b/src/mame/includes/circus.h index d02896de619..2426ac0ef44 100644 --- a/src/mame/includes/circus.h +++ b/src/mame/includes/circus.h @@ -5,7 +5,7 @@ class circus_state : public driver_device { public: - circus_state(const machine_config &mconfig, device_type type, const char *tag) + circus_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/circusc.h b/src/mame/includes/circusc.h index 782a605243d..b95b032acb7 100644 --- a/src/mame/includes/circusc.h +++ b/src/mame/includes/circusc.h @@ -12,7 +12,7 @@ class circusc_state : public driver_device { public: - circusc_state(const machine_config &mconfig, device_type type, const char *tag) + circusc_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spritebank(*this, "spritebank"), m_scroll(*this, "scroll"), diff --git a/src/mame/includes/cischeat.h b/src/mame/includes/cischeat.h index 30b7bb40e27..c042dc1d55c 100644 --- a/src/mame/includes/cischeat.h +++ b/src/mame/includes/cischeat.h @@ -7,7 +7,7 @@ class cischeat_state : public driver_device { public: - cischeat_state(const machine_config &mconfig, device_type type, const char *tag) + cischeat_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_vregs(*this, "vregs"), m_scrollram(*this, "scrollram"), diff --git a/src/mame/includes/citycon.h b/src/mame/includes/citycon.h index bda3dd426cc..eb9b34d8b58 100644 --- a/src/mame/includes/citycon.h +++ b/src/mame/includes/citycon.h @@ -9,7 +9,7 @@ class citycon_state : public driver_device { public: - citycon_state(const machine_config &mconfig, device_type type, const char *tag) + citycon_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_linecolor(*this, "linecolor"), diff --git a/src/mame/includes/cloak.h b/src/mame/includes/cloak.h index c3f3c127b49..7fcc6d76ec0 100644 --- a/src/mame/includes/cloak.h +++ b/src/mame/includes/cloak.h @@ -9,7 +9,7 @@ class cloak_state : public driver_device { public: - cloak_state(const machine_config &mconfig, device_type type, const char *tag) + cloak_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/cloud9.h b/src/mame/includes/cloud9.h index b1f4e70f12f..27d8f2c1c7e 100644 --- a/src/mame/includes/cloud9.h +++ b/src/mame/includes/cloud9.h @@ -12,7 +12,7 @@ class cloud9_state : public driver_device { public: - cloud9_state(const machine_config &mconfig, device_type type, const char *tag) + cloud9_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_nvram(*this, "nvram") , diff --git a/src/mame/includes/clshroad.h b/src/mame/includes/clshroad.h index 4f03741f5af..24d89babb3f 100644 --- a/src/mame/includes/clshroad.h +++ b/src/mame/includes/clshroad.h @@ -3,7 +3,7 @@ class clshroad_state : public driver_device { public: - clshroad_state(const machine_config &mconfig, device_type type, const char *tag) + clshroad_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/cninja.h b/src/mame/includes/cninja.h index 8acd4730ddf..5948333cc3a 100644 --- a/src/mame/includes/cninja.h +++ b/src/mame/includes/cninja.h @@ -17,7 +17,7 @@ class cninja_state : public driver_device { public: - cninja_state(const machine_config &mconfig, device_type type, const char *tag) + cninja_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/coco.h b/src/mame/includes/coco.h index f083911afbc..7bcf0146f98 100644 --- a/src/mame/includes/coco.h +++ b/src/mame/includes/coco.h @@ -88,7 +88,7 @@ MACHINE_CONFIG_EXTERN( coco_sound ); class coco_state : public driver_device { public: - coco_state(const machine_config &mconfig, device_type type, const char *tag); + coco_state(const machine_config &mconfig, device_type type, std::string tag); required_device m_maincpu; required_device m_pia_0; diff --git a/src/mame/includes/coco12.h b/src/mame/includes/coco12.h index bfc2149e4c2..c97cac0e23b 100644 --- a/src/mame/includes/coco12.h +++ b/src/mame/includes/coco12.h @@ -36,7 +36,7 @@ class coco12_state : public coco_state { public: - coco12_state(const machine_config &mconfig, device_type type, const char *tag) + coco12_state(const machine_config &mconfig, device_type type, std::string tag) : coco_state(mconfig, type, tag), m_sam(*this, SAM_TAG), m_vdg(*this, VDG_TAG) diff --git a/src/mame/includes/coco3.h b/src/mame/includes/coco3.h index 9cc9a8d9d35..271ce2c7ca1 100644 --- a/src/mame/includes/coco3.h +++ b/src/mame/includes/coco3.h @@ -37,7 +37,7 @@ class coco3_state : public coco_state { public: - coco3_state(const machine_config &mconfig, device_type type, const char *tag) + coco3_state(const machine_config &mconfig, device_type type, std::string tag) : coco_state(mconfig, type, tag), m_gime(*this, GIME_TAG) { } diff --git a/src/mame/includes/coleco.h b/src/mame/includes/coleco.h index 2886f18b9a8..cbd90172800 100644 --- a/src/mame/includes/coleco.h +++ b/src/mame/includes/coleco.h @@ -16,7 +16,7 @@ class coleco_state : public driver_device { public: - coleco_state(const machine_config &mconfig, device_type type, const char *tag) + coleco_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cart(*this, COLECOVISION_CARTRIDGE_SLOT_TAG), diff --git a/src/mame/includes/combatsc.h b/src/mame/includes/combatsc.h index 6d5871da384..784c3f8d4a4 100644 --- a/src/mame/includes/combatsc.h +++ b/src/mame/includes/combatsc.h @@ -12,7 +12,7 @@ class combatsc_state : public driver_device { public: - combatsc_state(const machine_config &mconfig, device_type type, const char *tag) + combatsc_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_audiocpu(*this, "audiocpu"), m_k007121_1(*this, "k007121_1"), diff --git a/src/mame/includes/commando.h b/src/mame/includes/commando.h index 6888a612a0a..23ce611a526 100644 --- a/src/mame/includes/commando.h +++ b/src/mame/includes/commando.h @@ -11,7 +11,7 @@ class commando_state : public driver_device { public: - commando_state(const machine_config &mconfig, device_type type, const char *tag) + commando_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram") , m_videoram2(*this, "videoram2"), diff --git a/src/mame/includes/compgolf.h b/src/mame/includes/compgolf.h index d2d8c2e5816..4048ba940ef 100644 --- a/src/mame/includes/compgolf.h +++ b/src/mame/includes/compgolf.h @@ -9,7 +9,7 @@ class compgolf_state : public driver_device { public: - compgolf_state(const machine_config &mconfig, device_type type, const char *tag) + compgolf_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_bg_ram(*this, "bg_ram"), diff --git a/src/mame/includes/compis.h b/src/mame/includes/compis.h index 8a8e48eb53e..3047f5a545f 100644 --- a/src/mame/includes/compis.h +++ b/src/mame/includes/compis.h @@ -52,7 +52,7 @@ class compis_state : public driver_device { public: - compis_state(const machine_config &mconfig, device_type type, const char *tag) + compis_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, I80186_TAG), m_osp(*this, I80130_TAG), diff --git a/src/mame/includes/comquest.h b/src/mame/includes/comquest.h index 32b6ef2c935..3321b549ca0 100644 --- a/src/mame/includes/comquest.h +++ b/src/mame/includes/comquest.h @@ -13,7 +13,7 @@ class comquest_state : public driver_device { public: - comquest_state(const machine_config &mconfig, device_type type, const char *tag) + comquest_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/includes/comx35.h b/src/mame/includes/comx35.h index b1dfa88abbe..66a6f09dd54 100644 --- a/src/mame/includes/comx35.h +++ b/src/mame/includes/comx35.h @@ -31,7 +31,7 @@ class comx35_state : public driver_device { public: - comx35_state(const machine_config &mconfig, device_type type, const char *tag) + comx35_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, CDP1802_TAG), m_vis(*this, CDP1869_TAG), diff --git a/src/mame/includes/concept.h b/src/mame/includes/concept.h index d6b0c3cab04..8eee3b9858a 100644 --- a/src/mame/includes/concept.h +++ b/src/mame/includes/concept.h @@ -29,7 +29,7 @@ class concept_state : public driver_device { public: - concept_state(const machine_config &mconfig, device_type type, const char *tag) + concept_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_acia0(*this, ACIA_0_TAG), diff --git a/src/mame/includes/contra.h b/src/mame/includes/contra.h index 454a3ca21f9..a230d8d5c99 100644 --- a/src/mame/includes/contra.h +++ b/src/mame/includes/contra.h @@ -11,7 +11,7 @@ class contra_state : public driver_device { public: - contra_state(const machine_config &mconfig, device_type type, const char *tag) + contra_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_fg_cram(*this, "fg_cram"), m_fg_vram(*this, "fg_vram"), diff --git a/src/mame/includes/coolpool.h b/src/mame/includes/coolpool.h index 6730f624cba..8047db24489 100644 --- a/src/mame/includes/coolpool.h +++ b/src/mame/includes/coolpool.h @@ -6,7 +6,7 @@ class coolpool_state : public driver_device { public: - coolpool_state(const machine_config &mconfig, device_type type, const char *tag) + coolpool_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dsp(*this, "dsp"), diff --git a/src/mame/includes/cop01.h b/src/mame/includes/cop01.h index 447775fab34..eb19ca52166 100644 --- a/src/mame/includes/cop01.h +++ b/src/mame/includes/cop01.h @@ -9,7 +9,7 @@ class cop01_state : public driver_device { public: - cop01_state(const machine_config &mconfig, device_type type, const char *tag) + cop01_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bgvideoram(*this, "bgvideoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/copsnrob.h b/src/mame/includes/copsnrob.h index 3030a7ed13e..7034d9eef22 100644 --- a/src/mame/includes/copsnrob.h +++ b/src/mame/includes/copsnrob.h @@ -12,7 +12,7 @@ class copsnrob_state : public driver_device { public: - copsnrob_state(const machine_config &mconfig, device_type type, const char *tag) + copsnrob_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_trucky(*this, "trucky"), m_truckram(*this, "truckram"), diff --git a/src/mame/includes/cosmic.h b/src/mame/includes/cosmic.h index 706b69befea..8dce651e8f2 100644 --- a/src/mame/includes/cosmic.h +++ b/src/mame/includes/cosmic.h @@ -16,7 +16,7 @@ class cosmic_state : public driver_device { public: - cosmic_state(const machine_config &mconfig, device_type type, const char *tag) + cosmic_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/cosmicos.h b/src/mame/includes/cosmicos.h index d152bf22b85..b818063dd71 100644 --- a/src/mame/includes/cosmicos.h +++ b/src/mame/includes/cosmicos.h @@ -41,7 +41,7 @@ enum class cosmicos_state : public driver_device { public: - cosmicos_state(const machine_config &mconfig, device_type type, const char *tag) + cosmicos_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, CDP1802_TAG), m_cti(*this, CDP1864_TAG), diff --git a/src/mame/includes/cps1.h b/src/mame/includes/cps1.h index 6e3354de437..b7cc1dcc02c 100644 --- a/src/mame/includes/cps1.h +++ b/src/mame/includes/cps1.h @@ -97,7 +97,7 @@ struct CPS1config class cps_state : public driver_device { public: - cps_state(const machine_config &mconfig, device_type type, const char *tag) + cps_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_mainram(*this, "mainram"), m_gfxram(*this, "gfxram"), diff --git a/src/mame/includes/cps3.h b/src/mame/includes/cps3.h index 4f954dbdb9d..41ad4faa808 100644 --- a/src/mame/includes/cps3.h +++ b/src/mame/includes/cps3.h @@ -14,7 +14,7 @@ class cps3_state : public driver_device { public: - cps3_state(const machine_config &mconfig, device_type type, const char *tag) + cps3_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/crbaloon.h b/src/mame/includes/crbaloon.h index a1cb75fe79a..689c58c2a41 100644 --- a/src/mame/includes/crbaloon.h +++ b/src/mame/includes/crbaloon.h @@ -15,7 +15,7 @@ Crazy Ballooon class crbaloon_state : public driver_device { public: - crbaloon_state(const machine_config &mconfig, device_type type, const char *tag) + crbaloon_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/crgolf.h b/src/mame/includes/crgolf.h index c337a5f8263..24bae8ec46b 100644 --- a/src/mame/includes/crgolf.h +++ b/src/mame/includes/crgolf.h @@ -12,7 +12,7 @@ class crgolf_state : public driver_device { public: - crgolf_state(const machine_config &mconfig, device_type type, const char *tag) + crgolf_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_color_select(*this, "color_select"), m_screen_flip(*this, "screen_flip"), diff --git a/src/mame/includes/crimfght.h b/src/mame/includes/crimfght.h index b7d2b3afa00..bf9f949d4ee 100644 --- a/src/mame/includes/crimfght.h +++ b/src/mame/includes/crimfght.h @@ -13,7 +13,7 @@ class crimfght_state : public driver_device { public: - crimfght_state(const machine_config &mconfig, device_type type, const char *tag) + crimfght_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/crospang.h b/src/mame/includes/crospang.h index a5aecdada51..95e025c3073 100644 --- a/src/mame/includes/crospang.h +++ b/src/mame/includes/crospang.h @@ -11,7 +11,7 @@ class crospang_state : public driver_device { public: - crospang_state(const machine_config &mconfig, device_type type, const char *tag) + crospang_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_fg_videoram(*this, "fg_videoram"), m_bg_videoram(*this, "bg_videoram"), diff --git a/src/mame/includes/crshrace.h b/src/mame/includes/crshrace.h index eb809fbceba..4b5b928c059 100644 --- a/src/mame/includes/crshrace.h +++ b/src/mame/includes/crshrace.h @@ -8,7 +8,7 @@ class crshrace_state : public driver_device { public: - crshrace_state(const machine_config &mconfig, device_type type, const char *tag) + crshrace_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram1(*this, "videoram1"), m_videoram2(*this, "videoram2"), diff --git a/src/mame/includes/crvision.h b/src/mame/includes/crvision.h index 53cdc1fc7a4..91cae1f4825 100644 --- a/src/mame/includes/crvision.h +++ b/src/mame/includes/crvision.h @@ -31,7 +31,7 @@ class crvision_state : public driver_device { public: - crvision_state(const machine_config &mconfig, device_type type, const char *tag) + crvision_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, M6502_TAG), m_pia(*this, PIA6821_TAG), @@ -73,7 +73,7 @@ protected: class crvision_pal_state : public crvision_state { public: - crvision_pal_state(const machine_config &mconfig, device_type type, const char *tag) + crvision_pal_state(const machine_config &mconfig, device_type type, std::string tag) : crvision_state(mconfig, type, tag) { } }; @@ -81,7 +81,7 @@ public: class laser2001_state : public crvision_state { public: - laser2001_state(const machine_config &mconfig, device_type type, const char *tag) + laser2001_state(const machine_config &mconfig, device_type type, std::string tag) : crvision_state(mconfig, type, tag), m_centronics(*this, CENTRONICS_TAG), m_inp_y(*this, "Y"), diff --git a/src/mame/includes/cvs.h b/src/mame/includes/cvs.h index de9dee5a059..83a04f69eb5 100644 --- a/src/mame/includes/cvs.h +++ b/src/mame/includes/cvs.h @@ -22,7 +22,7 @@ struct cvs_star class cvs_state : public driver_device { public: - cvs_state(const machine_config &mconfig, device_type type, const char *tag) + cvs_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_video_ram(*this, "video_ram"), m_bullet_ram(*this, "bullet_ram"), diff --git a/src/mame/includes/cxhumax.h b/src/mame/includes/cxhumax.h index dfa85b1720f..0aad8fb69ba 100644 --- a/src/mame/includes/cxhumax.h +++ b/src/mame/includes/cxhumax.h @@ -31,7 +31,7 @@ struct cx_timer_regs_t class cxhumax_state : public driver_device { public: - cxhumax_state(const machine_config &mconfig, device_type type, const char *tag) + cxhumax_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_flash(*this, "flash"), diff --git a/src/mame/includes/cyberbal.h b/src/mame/includes/cyberbal.h index 0bc65bccb57..1e578ee769c 100644 --- a/src/mame/includes/cyberbal.h +++ b/src/mame/includes/cyberbal.h @@ -16,7 +16,7 @@ class cyberbal_state : public atarigen_state { public: - cyberbal_state(const machine_config &mconfig, device_type type, const char *tag) + cyberbal_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/cybiko.h b/src/mame/includes/cybiko.h index 0c6ad30b5aa..5dd0cb7d47a 100644 --- a/src/mame/includes/cybiko.h +++ b/src/mame/includes/cybiko.h @@ -49,7 +49,7 @@ struct CYBIKO_RS232 class cybiko_state : public driver_device { public: - cybiko_state(const machine_config &mconfig, device_type type, const char *tag) + cybiko_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_crtc(*this, "hd66421"), diff --git a/src/mame/includes/dai.h b/src/mame/includes/dai.h index dd05267a394..937c7083244 100644 --- a/src/mame/includes/dai.h +++ b/src/mame/includes/dai.h @@ -28,7 +28,7 @@ public: TIMER_TMS5501 }; - dai_state(const machine_config &mconfig, device_type type, const char *tag) + dai_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pit(*this, "pit8253"), diff --git a/src/mame/includes/darius.h b/src/mame/includes/darius.h index 13f037f0ca0..d2fbbfd2e85 100644 --- a/src/mame/includes/darius.h +++ b/src/mame/includes/darius.h @@ -17,7 +17,7 @@ class darius_state : public driver_device { public: - darius_state(const machine_config &mconfig, device_type type, const char *tag) + darius_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_fg_ram(*this, "fg_ram"), diff --git a/src/mame/includes/darkmist.h b/src/mame/includes/darkmist.h index 224c1fc2ac6..d053615cde7 100644 --- a/src/mame/includes/darkmist.h +++ b/src/mame/includes/darkmist.h @@ -5,7 +5,7 @@ class darkmist_state : public driver_device { public: - darkmist_state(const machine_config &mconfig, device_type type, const char *tag) + darkmist_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_t5182(*this, "t5182"), diff --git a/src/mame/includes/darkseal.h b/src/mame/includes/darkseal.h index c08602d56db..633201ac43a 100644 --- a/src/mame/includes/darkseal.h +++ b/src/mame/includes/darkseal.h @@ -7,7 +7,7 @@ class darkseal_state : public driver_device { public: - darkseal_state(const machine_config &mconfig, device_type type, const char *tag) + darkseal_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/dassault.h b/src/mame/includes/dassault.h index 257778ba849..93752e8580c 100644 --- a/src/mame/includes/dassault.h +++ b/src/mame/includes/dassault.h @@ -15,7 +15,7 @@ class dassault_state : public driver_device { public: - dassault_state(const machine_config &mconfig, device_type type, const char *tag) + dassault_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/dbz.h b/src/mame/includes/dbz.h index 734a9a0b2d3..c70a6e2e26a 100644 --- a/src/mame/includes/dbz.h +++ b/src/mame/includes/dbz.h @@ -16,7 +16,7 @@ class dbz_state : public driver_device { public: - dbz_state(const machine_config &mconfig, device_type type, const char *tag) + dbz_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bg1_videoram(*this, "bg1_videoram"), m_bg2_videoram(*this, "bg2_videoram"), diff --git a/src/mame/includes/dc.h b/src/mame/includes/dc.h index a45e2e506d3..d932fdeb0af 100644 --- a/src/mame/includes/dc.h +++ b/src/mame/includes/dc.h @@ -17,7 +17,7 @@ class dc_state : public driver_device { public: - dc_state(const machine_config &mconfig, device_type type, const char *tag) + dc_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), dc_framebuffer_ram(*this, "frameram"), dc_texture_ram(*this, "dc_texture_ram"), diff --git a/src/mame/includes/dccons.h b/src/mame/includes/dccons.h index 47b47d72f6c..7950f9ee0db 100644 --- a/src/mame/includes/dccons.h +++ b/src/mame/includes/dccons.h @@ -8,7 +8,7 @@ class dc_cons_state : public dc_state { public: - dc_cons_state(const machine_config &mconfig, device_type type, const char *tag) + dc_cons_state(const machine_config &mconfig, device_type type, std::string tag) : dc_state(mconfig, type, tag), m_ata(*this, "ata") // m_dcflash(*this, "dcflash") diff --git a/src/mame/includes/dcheese.h b/src/mame/includes/dcheese.h index d8c9455f899..dafec4f1d42 100644 --- a/src/mame/includes/dcheese.h +++ b/src/mame/includes/dcheese.h @@ -16,7 +16,7 @@ public: TIMER_SIGNAL_IRQ }; - dcheese_state(const machine_config &mconfig, device_type type, const char *tag) + dcheese_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/dcon.h b/src/mame/includes/dcon.h index ffff5c97c3e..e0a0fed9867 100644 --- a/src/mame/includes/dcon.h +++ b/src/mame/includes/dcon.h @@ -3,7 +3,7 @@ class dcon_state : public driver_device { public: - dcon_state(const machine_config &mconfig, device_type type, const char *tag) + dcon_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/dday.h b/src/mame/includes/dday.h index a6b1c498f1b..58b105f381f 100644 --- a/src/mame/includes/dday.h +++ b/src/mame/includes/dday.h @@ -10,7 +10,7 @@ class dday_state : public driver_device { public: - dday_state(const machine_config &mconfig, device_type type, const char *tag) + dday_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_textvideoram(*this, "textvideoram"), m_fgvideoram(*this, "fgvideoram"), diff --git a/src/mame/includes/ddragon.h b/src/mame/includes/ddragon.h index 1c5d203856d..03f7f7a3449 100644 --- a/src/mame/includes/ddragon.h +++ b/src/mame/includes/ddragon.h @@ -10,7 +10,7 @@ class ddragon_state : public driver_device { public: - ddragon_state(const machine_config &mconfig, device_type type, const char *tag) + ddragon_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_rambase(*this, "rambase"), m_bgvideoram(*this, "bgvideoram"), diff --git a/src/mame/includes/ddragon3.h b/src/mame/includes/ddragon3.h index 5513ca9076f..37d7ada1b4e 100644 --- a/src/mame/includes/ddragon3.h +++ b/src/mame/includes/ddragon3.h @@ -12,7 +12,7 @@ class ddragon3_state : public driver_device { public: - ddragon3_state(const machine_config &mconfig, device_type type, const char *tag) + ddragon3_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bg_videoram(*this, "bg_videoram"), m_fg_videoram(*this, "fg_videoram"), @@ -85,7 +85,7 @@ public: class wwfwfest_state : public ddragon3_state { public: - wwfwfest_state(const machine_config &mconfig, device_type type, const char *tag) + wwfwfest_state(const machine_config &mconfig, device_type type, std::string tag) : ddragon3_state(mconfig, type, tag), m_fg0_videoram(*this, "fg0_videoram"), m_paletteram(*this, "palette") diff --git a/src/mame/includes/ddribble.h b/src/mame/includes/ddribble.h index bb9a508717d..2a5e1b1b9ff 100644 --- a/src/mame/includes/ddribble.h +++ b/src/mame/includes/ddribble.h @@ -12,7 +12,7 @@ class ddribble_state : public driver_device { public: - ddribble_state(const machine_config &mconfig, device_type type, const char *tag) + ddribble_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_fg_videoram(*this, "fg_videoram"), m_spriteram_1(*this, "spriteram_1"), diff --git a/src/mame/includes/deadang.h b/src/mame/includes/deadang.h index eb82b28ad15..01058c3a43f 100644 --- a/src/mame/includes/deadang.h +++ b/src/mame/includes/deadang.h @@ -5,7 +5,7 @@ class deadang_state : public driver_device { public: - deadang_state(const machine_config &mconfig, device_type type, const char *tag) + deadang_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/dec0.h b/src/mame/includes/dec0.h index c48444662a0..e4948131ec4 100644 --- a/src/mame/includes/dec0.h +++ b/src/mame/includes/dec0.h @@ -8,7 +8,7 @@ class dec0_state : public driver_device { public: - dec0_state(const machine_config &mconfig, device_type type, const char *tag) + dec0_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), @@ -113,7 +113,7 @@ public: class dec0_automat_state : public dec0_state { public: - dec0_automat_state(const machine_config &mconfig, device_type type, const char *tag) + dec0_automat_state(const machine_config &mconfig, device_type type, std::string tag) : dec0_state(mconfig, type, tag) { } diff --git a/src/mame/includes/dec8.h b/src/mame/includes/dec8.h index 746bfb35f1c..aea1334722b 100644 --- a/src/mame/includes/dec8.h +++ b/src/mame/includes/dec8.h @@ -14,7 +14,7 @@ public: TIMER_DEC8_I8751 }; - dec8_state(const machine_config &mconfig, device_type type, const char *tag) + dec8_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/deco32.h b/src/mame/includes/deco32.h index c1ce644b7d1..597539512fc 100644 --- a/src/mame/includes/deco32.h +++ b/src/mame/includes/deco32.h @@ -13,7 +13,7 @@ class deco32_state : public driver_device { public: - deco32_state(const machine_config &mconfig, device_type type, const char *tag) + deco32_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), @@ -189,7 +189,7 @@ public: class dragngun_state : public deco32_state { public: - dragngun_state(const machine_config &mconfig, device_type type, const char *tag) + dragngun_state(const machine_config &mconfig, device_type type, std::string tag) : deco32_state(mconfig, type, tag), m_sprite_layout_0_ram(*this, "lay0"), m_sprite_layout_1_ram(*this, "lay1"), diff --git a/src/mame/includes/deco_mlc.h b/src/mame/includes/deco_mlc.h index e9bde7e7bb7..a661e166ec6 100644 --- a/src/mame/includes/deco_mlc.h +++ b/src/mame/includes/deco_mlc.h @@ -8,7 +8,7 @@ class deco_mlc_state : public driver_device { public: - deco_mlc_state(const machine_config &mconfig, device_type type, const char *tag) + deco_mlc_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_deco146(*this, "ioprot"), m_mlc_ram(*this, "mlc_ram"), diff --git a/src/mame/includes/decocass.h b/src/mame/includes/decocass.h index 37ff50c3784..16e6a2d6621 100644 --- a/src/mame/includes/decocass.h +++ b/src/mame/includes/decocass.h @@ -18,7 +18,7 @@ class decocass_state : public driver_device { public: - decocass_state(const machine_config &mconfig, device_type type, const char *tag) + decocass_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/decocrpt.h b/src/mame/includes/decocrpt.h index 6ea05a3b7a0..41b855bf0e6 100644 --- a/src/mame/includes/decocrpt.h +++ b/src/mame/includes/decocrpt.h @@ -2,9 +2,9 @@ // copyright-holders:Nicola Salmoria /*----------- defined in machine/decocrpt.c -----------*/ -void deco56_decrypt_gfx(running_machine &machine, const char *tag); -void deco74_decrypt_gfx(running_machine &machine, const char *tag); -void deco56_remap_gfx(running_machine &machine, const char *tag); +void deco56_decrypt_gfx(running_machine &machine, std::string tag); +void deco74_decrypt_gfx(running_machine &machine, std::string tag); +void deco56_remap_gfx(running_machine &machine, std::string tag); /*----------- defined in machine/deco102.c -----------*/ diff --git a/src/mame/includes/deniam.h b/src/mame/includes/deniam.h index 6f3d91de158..fd0afe16581 100644 --- a/src/mame/includes/deniam.h +++ b/src/mame/includes/deniam.h @@ -10,7 +10,7 @@ class deniam_state : public driver_device { public: - deniam_state(const machine_config &mconfig, device_type type, const char *tag) + deniam_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_textram(*this, "textram"), diff --git a/src/mame/includes/dgn_beta.h b/src/mame/includes/dgn_beta.h index a55d157aaa1..e5eb58621e0 100644 --- a/src/mame/includes/dgn_beta.h +++ b/src/mame/includes/dgn_beta.h @@ -81,7 +81,7 @@ struct PageReg class dgn_beta_state : public driver_device { public: - dgn_beta_state(const machine_config &mconfig, device_type type, const char *tag) + dgn_beta_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_mc6845(*this, "crtc"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/dgnalpha.h b/src/mame/includes/dgnalpha.h index 220bc334137..08e6c8c0907 100644 --- a/src/mame/includes/dgnalpha.h +++ b/src/mame/includes/dgnalpha.h @@ -38,7 +38,7 @@ class dragon_alpha_state : public dragon64_state { public: - dragon_alpha_state(const machine_config &mconfig, device_type type, const char *tag) + dragon_alpha_state(const machine_config &mconfig, device_type type, std::string tag) : dragon64_state(mconfig, type, tag), m_pia_2(*this, PIA2_TAG), m_ay8912(*this, AY8912_TAG), diff --git a/src/mame/includes/dietgo.h b/src/mame/includes/dietgo.h index 71d9c2341f6..d84111b4366 100644 --- a/src/mame/includes/dietgo.h +++ b/src/mame/includes/dietgo.h @@ -14,7 +14,7 @@ class dietgo_state : public driver_device { public: - dietgo_state(const machine_config &mconfig, device_type type, const char *tag) + dietgo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_deco104(*this, "ioprot104"), m_pf1_rowscroll(*this, "pf1_rowscroll"), diff --git a/src/mame/includes/djboy.h b/src/mame/includes/djboy.h index 1a32b0a9733..e952d7a9aa6 100644 --- a/src/mame/includes/djboy.h +++ b/src/mame/includes/djboy.h @@ -13,7 +13,7 @@ class djboy_state : public driver_device { public: - djboy_state(const machine_config &mconfig, device_type type, const char *tag) + djboy_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_paletteram(*this, "paletteram"), diff --git a/src/mame/includes/djmain.h b/src/mame/includes/djmain.h index cbc65036a39..50d5dade85e 100644 --- a/src/mame/includes/djmain.h +++ b/src/mame/includes/djmain.h @@ -8,7 +8,7 @@ class djmain_state : public driver_device { public: - djmain_state(const machine_config &mconfig, device_type type, const char *tag) + djmain_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_obj_ram(*this, "obj_ram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/dkong.h b/src/mame/includes/dkong.h index 2033bf96bbe..44908d3d90a 100644 --- a/src/mame/includes/dkong.h +++ b/src/mame/includes/dkong.h @@ -93,7 +93,7 @@ enum class dkong_state : public driver_device { public: - dkong_state(const machine_config &mconfig, device_type type, const char *tag) + dkong_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/dm7000.h b/src/mame/includes/dm7000.h index 4306f4619e4..d9a7a3a46b9 100644 --- a/src/mame/includes/dm7000.h +++ b/src/mame/includes/dm7000.h @@ -12,7 +12,7 @@ class dm7000_state : public driver_device { public: - dm7000_state(const machine_config &mconfig, device_type type, const char *tag) + dm7000_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/includes/docastle.h b/src/mame/includes/docastle.h index 13913392953..e482176a03f 100644 --- a/src/mame/includes/docastle.h +++ b/src/mame/includes/docastle.h @@ -12,7 +12,7 @@ class docastle_state : public driver_device { public: - docastle_state(const machine_config &mconfig, device_type type, const char *tag) + docastle_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_slave(*this, "slave"), diff --git a/src/mame/includes/dogfgt.h b/src/mame/includes/dogfgt.h index c63ff99abc2..debe0184be2 100644 --- a/src/mame/includes/dogfgt.h +++ b/src/mame/includes/dogfgt.h @@ -8,7 +8,7 @@ class dogfgt_state : public driver_device { public: - dogfgt_state(const machine_config &mconfig, device_type type, const char *tag) + dogfgt_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bgvideoram(*this, "bgvideoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/dooyong.h b/src/mame/includes/dooyong.h index 4c51451c986..e0239c81219 100644 --- a/src/mame/includes/dooyong.h +++ b/src/mame/includes/dooyong.h @@ -5,7 +5,7 @@ class dooyong_state : public driver_device { public: - dooyong_state(const machine_config &mconfig, device_type type, const char *tag) + dooyong_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), @@ -54,7 +54,7 @@ public: class dooyong_z80_state : public dooyong_state { public: - dooyong_z80_state(const machine_config &mconfig, device_type type, const char *tag) + dooyong_z80_state(const machine_config &mconfig, device_type type, std::string tag) : dooyong_state(mconfig, type, tag), m_txvideoram(*this, "txvideoram"), m_spriteram(*this, "spriteram") @@ -98,7 +98,7 @@ public: class dooyong_z80_ym2203_state : public dooyong_z80_state { public: - dooyong_z80_ym2203_state(const machine_config &mconfig, device_type type, const char *tag) + dooyong_z80_ym2203_state(const machine_config &mconfig, device_type type, std::string tag) : dooyong_z80_state(mconfig, type, tag) { } @@ -122,7 +122,7 @@ public: class dooyong_68k_state : public dooyong_state { public: - dooyong_68k_state(const machine_config &mconfig, device_type type, const char *tag) + dooyong_68k_state(const machine_config &mconfig, device_type type, std::string tag) : dooyong_state(mconfig, type, tag), m_spriteram(*this, "spriteram") { } diff --git a/src/mame/includes/dragon.h b/src/mame/includes/dragon.h index 20a6877d6f5..ccad20e38eb 100644 --- a/src/mame/includes/dragon.h +++ b/src/mame/includes/dragon.h @@ -36,7 +36,7 @@ class dragon_state : public coco12_state { public: - dragon_state(const machine_config &mconfig, device_type type, const char *tag) + dragon_state(const machine_config &mconfig, device_type type, std::string tag) : coco12_state(mconfig, type, tag), m_printer(*this, PRINTER_TAG) { @@ -53,7 +53,7 @@ protected: class dragon64_state : public dragon_state { public: - dragon64_state(const machine_config &mconfig, device_type type, const char *tag) + dragon64_state(const machine_config &mconfig, device_type type, std::string tag) : dragon_state(mconfig, type, tag), m_acia(*this, ACIA_TAG) { diff --git a/src/mame/includes/dragrace.h b/src/mame/includes/dragrace.h index 1fb1f52a4ec..0fa73abcce8 100644 --- a/src/mame/includes/dragrace.h +++ b/src/mame/includes/dragrace.h @@ -27,7 +27,7 @@ class dragrace_state : public driver_device { public: - dragrace_state(const machine_config &mconfig, device_type type, const char *tag) + dragrace_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_playfield_ram(*this, "playfield_ram"), m_position_ram(*this, "position_ram"), diff --git a/src/mame/includes/drgnmst.h b/src/mame/includes/drgnmst.h index 5bd5f712888..2833c65b1da 100644 --- a/src/mame/includes/drgnmst.h +++ b/src/mame/includes/drgnmst.h @@ -7,7 +7,7 @@ class drgnmst_state : public driver_device { public: - drgnmst_state(const machine_config &mconfig, device_type type, const char *tag) + drgnmst_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_vidregs(*this, "vidregs"), m_fg_videoram(*this, "fg_videoram"), diff --git a/src/mame/includes/dribling.h b/src/mame/includes/dribling.h index 5287cc19519..9f822f92ed9 100644 --- a/src/mame/includes/dribling.h +++ b/src/mame/includes/dribling.h @@ -12,7 +12,7 @@ class dribling_state : public driver_device { public: - dribling_state(const machine_config &mconfig, device_type type, const char *tag) + dribling_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ppi8255_0(*this, "ppi8255_0"), diff --git a/src/mame/includes/drmicro.h b/src/mame/includes/drmicro.h index 2494ef9557a..91f1e2b97de 100644 --- a/src/mame/includes/drmicro.h +++ b/src/mame/includes/drmicro.h @@ -10,7 +10,7 @@ class drmicro_state : public driver_device { public: - drmicro_state(const machine_config &mconfig, device_type type, const char *tag) + drmicro_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_msm(*this, "msm"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/dynax.h b/src/mame/includes/dynax.h index 7d84e0cc86e..8c4a9ff7aeb 100644 --- a/src/mame/includes/dynax.h +++ b/src/mame/includes/dynax.h @@ -13,7 +13,7 @@ class dynax_state : public driver_device { public: - dynax_state(const machine_config &mconfig, device_type type, const char *tag) + dynax_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/dynduke.h b/src/mame/includes/dynduke.h index 218b0d3ea88..1520b9b2b3c 100644 --- a/src/mame/includes/dynduke.h +++ b/src/mame/includes/dynduke.h @@ -6,7 +6,7 @@ class dynduke_state : public driver_device { public: - dynduke_state(const machine_config &mconfig, device_type type, const char *tag) + dynduke_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_seibu_sound(*this, "seibu_sound"), diff --git a/src/mame/includes/ec184x.h b/src/mame/includes/ec184x.h index 7921bf5b97e..0b57913a32d 100644 --- a/src/mame/includes/ec184x.h +++ b/src/mame/includes/ec184x.h @@ -20,7 +20,7 @@ class ec1841_mb_device : public ibm5160_mb_device { public: // construction/destruction - ec1841_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + ec1841_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const; diff --git a/src/mame/includes/einstein.h b/src/mame/includes/einstein.h index 027b2370ba3..306b40d5547 100644 --- a/src/mame/includes/einstein.h +++ b/src/mame/includes/einstein.h @@ -49,7 +49,7 @@ class einstein_state : public driver_device { public: - einstein_state(const machine_config &mconfig, device_type type, const char *tag) + einstein_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_fdc(*this, IC_I042), m_color_screen(*this, "screen"), @@ -166,7 +166,7 @@ class einstein_keyboard_daisy_device : public device_t, { public: // construction/destruction - einstein_keyboard_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + einstein_keyboard_daisy_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); private: virtual void device_start() override; @@ -186,7 +186,7 @@ class einstein_adc_daisy_device : public device_t, { public: // construction/destruction - einstein_adc_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + einstein_adc_daisy_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); private: virtual void device_start() override; @@ -206,7 +206,7 @@ class einstein_fire_daisy_device : public device_t, { public: // construction/destruction - einstein_fire_daisy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + einstein_fire_daisy_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); private: virtual void device_start() override; diff --git a/src/mame/includes/electron.h b/src/mame/includes/electron.h index 81d6b9ca171..393a90b555f 100644 --- a/src/mame/includes/electron.h +++ b/src/mame/includes/electron.h @@ -68,7 +68,7 @@ public: TIMER_SCANLINE_INTERRUPT }; - electron_state(const machine_config &mconfig, device_type type, const char *tag) + electron_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/elf.h b/src/mame/includes/elf.h index 750d63e7367..766487e1058 100644 --- a/src/mame/includes/elf.h +++ b/src/mame/includes/elf.h @@ -26,7 +26,7 @@ class elf2_state : public driver_device { public: - elf2_state(const machine_config &mconfig, device_type type, const char *tag) + elf2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, CDP1802_TAG), m_vdc(*this, CDP1861_TAG), diff --git a/src/mame/includes/eolith.h b/src/mame/includes/eolith.h index 3269f784949..273947d310f 100644 --- a/src/mame/includes/eolith.h +++ b/src/mame/includes/eolith.h @@ -7,7 +7,7 @@ class eolith_state : public driver_device { public: - eolith_state(const machine_config &mconfig, device_type type, const char *tag) + eolith_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/ep64.h b/src/mame/includes/ep64.h index 85c0ae27a97..c81d60b1fd3 100644 --- a/src/mame/includes/ep64.h +++ b/src/mame/includes/ep64.h @@ -34,7 +34,7 @@ class ep64_state : public driver_device { public: - ep64_state(const machine_config &mconfig, device_type type, const char *tag) + ep64_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_dave(*this, DAVE_TAG), diff --git a/src/mame/includes/epos.h b/src/mame/includes/epos.h index da411ad52a1..8c0e3977bae 100644 --- a/src/mame/includes/epos.h +++ b/src/mame/includes/epos.h @@ -9,7 +9,7 @@ class epos_state : public driver_device { public: - epos_state(const machine_config &mconfig, device_type type, const char *tag) + epos_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/includes/eprom.h b/src/mame/includes/eprom.h index 4ae11d35d18..6fe28444127 100644 --- a/src/mame/includes/eprom.h +++ b/src/mame/includes/eprom.h @@ -13,7 +13,7 @@ class eprom_state : public atarigen_state { public: - eprom_state(const machine_config &mconfig, device_type type, const char *tag) + eprom_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_playfield_tilemap(*this, "playfield"), m_alpha_tilemap(*this, "alpha"), diff --git a/src/mame/includes/equites.h b/src/mame/includes/equites.h index a3808e6265a..d1f14f95d9e 100644 --- a/src/mame/includes/equites.h +++ b/src/mame/includes/equites.h @@ -15,7 +15,7 @@ class equites_state : public driver_device { public: - equites_state(const machine_config &mconfig, device_type type, const char *tag) + equites_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bg_videoram(*this, "bg_videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/esd16.h b/src/mame/includes/esd16.h index 7a683d5d39b..ee35bd65bfd 100644 --- a/src/mame/includes/esd16.h +++ b/src/mame/includes/esd16.h @@ -12,7 +12,7 @@ class esd16_state : public driver_device { public: - esd16_state(const machine_config &mconfig, device_type type, const char *tag) + esd16_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_vram_0(*this, "vram_0"), m_vram_1(*this, "vram_1"), diff --git a/src/mame/includes/espial.h b/src/mame/includes/espial.h index 5b764363c4d..63bae188852 100644 --- a/src/mame/includes/espial.h +++ b/src/mame/includes/espial.h @@ -9,7 +9,7 @@ class espial_state : public driver_device { public: - espial_state(const machine_config &mconfig, device_type type, const char *tag) + espial_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_attributeram(*this, "attributeram"), diff --git a/src/mame/includes/esripsys.h b/src/mame/includes/esripsys.h index 43994ec4ada..522204d2827 100644 --- a/src/mame/includes/esripsys.h +++ b/src/mame/includes/esripsys.h @@ -37,7 +37,7 @@ struct line_buffer_t class esripsys_state : public driver_device { public: - esripsys_state(const machine_config &mconfig, device_type type, const char *tag) + esripsys_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_framecpu(*this, "frame_cpu"), m_videocpu(*this, "video_cpu"), diff --git a/src/mame/includes/eti660.h b/src/mame/includes/eti660.h index 783f46eb414..de731e2638c 100644 --- a/src/mame/includes/eti660.h +++ b/src/mame/includes/eti660.h @@ -28,7 +28,7 @@ enum class eti660_state : public driver_device { public: - eti660_state(const machine_config &mconfig, device_type type, const char *tag) + eti660_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_p_videoram(*this, "videoram") , m_maincpu(*this, CDP1802_TAG) diff --git a/src/mame/includes/exedexes.h b/src/mame/includes/exedexes.h index cb7097c66a6..d6a5a3dc1f8 100644 --- a/src/mame/includes/exedexes.h +++ b/src/mame/includes/exedexes.h @@ -11,7 +11,7 @@ class exedexes_state : public driver_device { public: - exedexes_state(const machine_config &mconfig, device_type type, const char *tag) + exedexes_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram") , m_videoram(*this, "videoram"), diff --git a/src/mame/includes/exerion.h b/src/mame/includes/exerion.h index 7bf606e2180..0dbe5cbc0e1 100644 --- a/src/mame/includes/exerion.h +++ b/src/mame/includes/exerion.h @@ -23,7 +23,7 @@ class exerion_state : public driver_device { public: - exerion_state(const machine_config &mconfig, device_type type, const char *tag) + exerion_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_main_ram(*this, "main_ram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/exidy.h b/src/mame/includes/exidy.h index 9c825383c76..6c8620f4a6c 100644 --- a/src/mame/includes/exidy.h +++ b/src/mame/includes/exidy.h @@ -32,7 +32,7 @@ public: TIMER_COLLISION_IRQ }; - exidy_state(const machine_config &mconfig, device_type type, const char *tag) + exidy_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), diff --git a/src/mame/includes/exidy440.h b/src/mame/includes/exidy440.h index e6f7048ac8a..a1cf7dbc901 100644 --- a/src/mame/includes/exidy440.h +++ b/src/mame/includes/exidy440.h @@ -14,7 +14,7 @@ class exidy440_state : public driver_device { public: - exidy440_state(const machine_config &mconfig, device_type type, const char *tag) + exidy440_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_imageram(*this, "imageram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/exp85.h b/src/mame/includes/exp85.h index 3e53385eb25..e42257f41bb 100644 --- a/src/mame/includes/exp85.h +++ b/src/mame/includes/exp85.h @@ -15,7 +15,7 @@ class exp85_state : public driver_device { public: - exp85_state(const machine_config &mconfig, device_type type, const char *tag) + exp85_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, I8085A_TAG), m_rs232(*this, "rs232"), diff --git a/src/mame/includes/exprraid.h b/src/mame/includes/exprraid.h index 833c3c351b1..27f70a3b4b2 100644 --- a/src/mame/includes/exprraid.h +++ b/src/mame/includes/exprraid.h @@ -10,7 +10,7 @@ class exprraid_state : public driver_device { public: - exprraid_state(const machine_config &mconfig, device_type type, const char *tag) + exprraid_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_slave(*this, "slave"), diff --git a/src/mame/includes/exterm.h b/src/mame/includes/exterm.h index cf1f601913b..8d6e15f640f 100644 --- a/src/mame/includes/exterm.h +++ b/src/mame/includes/exterm.h @@ -11,7 +11,7 @@ class exterm_state : public driver_device { public: - exterm_state(const machine_config &mconfig, device_type type, const char *tag) + exterm_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/exzisus.h b/src/mame/includes/exzisus.h index 65a74141141..3c355145375 100644 --- a/src/mame/includes/exzisus.h +++ b/src/mame/includes/exzisus.h @@ -3,7 +3,7 @@ class exzisus_state : public driver_device { public: - exzisus_state(const machine_config &mconfig, device_type type, const char *tag) + exzisus_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_cpuc(*this, "cpuc"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/f1gp.h b/src/mame/includes/f1gp.h index ac790335d6f..1f392a5aea2 100644 --- a/src/mame/includes/f1gp.h +++ b/src/mame/includes/f1gp.h @@ -7,7 +7,7 @@ class f1gp_state : public driver_device { public: - f1gp_state(const machine_config &mconfig, device_type type, const char *tag) + f1gp_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_sharedram(*this, "sharedram"), m_spr1vram(*this, "spr1vram"), diff --git a/src/mame/includes/fantland.h b/src/mame/includes/fantland.h index bce1ffa5140..1b8777eadf8 100644 --- a/src/mame/includes/fantland.h +++ b/src/mame/includes/fantland.h @@ -5,7 +5,7 @@ class fantland_state : public driver_device { public: - fantland_state(const machine_config &mconfig, device_type type, const char *tag) + fantland_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_msm1(*this, "msm1"), m_msm2(*this, "msm2"), diff --git a/src/mame/includes/fastfred.h b/src/mame/includes/fastfred.h index 4b7cdb4cbdc..659ffab49a4 100644 --- a/src/mame/includes/fastfred.h +++ b/src/mame/includes/fastfred.h @@ -12,7 +12,7 @@ class fastfred_state : public galaxold_state { public: - fastfred_state(const machine_config &mconfig, device_type type, const char *tag) + fastfred_state(const machine_config &mconfig, device_type type, std::string tag) : galaxold_state(mconfig, type, tag), m_gfxdecode(*this, "gfxdecode"), m_palette(*this, "palette"), diff --git a/src/mame/includes/fastlane.h b/src/mame/includes/fastlane.h index d6c7fe0ac79..97f7656f22b 100644 --- a/src/mame/includes/fastlane.h +++ b/src/mame/includes/fastlane.h @@ -12,7 +12,7 @@ class fastlane_state : public driver_device { public: - fastlane_state(const machine_config &mconfig, device_type type, const char *tag) + fastlane_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_k007121_regs(*this, "k007121_regs"), diff --git a/src/mame/includes/fcombat.h b/src/mame/includes/fcombat.h index 53f1c49e5be..c3d129905b4 100644 --- a/src/mame/includes/fcombat.h +++ b/src/mame/includes/fcombat.h @@ -27,7 +27,7 @@ class fcombat_state : public driver_device { public: - fcombat_state(const machine_config &mconfig, device_type type, const char *tag) + fcombat_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/fgoal.h b/src/mame/includes/fgoal.h index 3271bc56f2d..fe7c3508b4f 100644 --- a/src/mame/includes/fgoal.h +++ b/src/mame/includes/fgoal.h @@ -10,7 +10,7 @@ public: TIMER_INTERRUPT }; - fgoal_state(const machine_config &mconfig, device_type type, const char *tag) + fgoal_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mb14241(*this, "mb14241"), diff --git a/src/mame/includes/finalizr.h b/src/mame/includes/finalizr.h index b308af73ad5..27f06c24f47 100644 --- a/src/mame/includes/finalizr.h +++ b/src/mame/includes/finalizr.h @@ -9,7 +9,7 @@ class finalizr_state : public driver_device { public: - finalizr_state(const machine_config &mconfig, device_type type, const char *tag) + finalizr_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/firetrap.h b/src/mame/includes/firetrap.h index 74fb677fa63..02bbcd72e38 100644 --- a/src/mame/includes/firetrap.h +++ b/src/mame/includes/firetrap.h @@ -10,7 +10,7 @@ class firetrap_state : public driver_device { public: - firetrap_state(const machine_config &mconfig, device_type type, const char *tag) + firetrap_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bg1videoram(*this, "bg1videoram"), m_bg2videoram(*this, "bg2videoram"), diff --git a/src/mame/includes/firetrk.h b/src/mame/includes/firetrk.h index 953be5d11f0..fcc6d03fe85 100644 --- a/src/mame/includes/firetrk.h +++ b/src/mame/includes/firetrk.h @@ -35,7 +35,7 @@ Atari Fire Truck + Super Bug + Monte Carlo driver class firetrk_state : public driver_device { public: - firetrk_state(const machine_config &mconfig, device_type type, const char *tag) + firetrk_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_discrete(*this, "discrete"), diff --git a/src/mame/includes/fitfight.h b/src/mame/includes/fitfight.h index ccae2455504..e51a07dfe23 100644 --- a/src/mame/includes/fitfight.h +++ b/src/mame/includes/fitfight.h @@ -4,7 +4,7 @@ class fitfight_state : public driver_device { public: - fitfight_state(const machine_config &mconfig, device_type type, const char *tag) + fitfight_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_fof_100000(*this, "fof_100000"), m_fof_600000(*this, "fof_600000"), diff --git a/src/mame/includes/flkatck.h b/src/mame/includes/flkatck.h index 8cc05b8858f..f77f3b0fc6c 100644 --- a/src/mame/includes/flkatck.h +++ b/src/mame/includes/flkatck.h @@ -11,7 +11,7 @@ class flkatck_state : public driver_device { public: - flkatck_state(const machine_config &mconfig, device_type type, const char *tag) + flkatck_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_k007121_ram(*this, "k007121_ram"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/flower.h b/src/mame/includes/flower.h index cc2ff96ced2..7e201d56ebe 100644 --- a/src/mame/includes/flower.h +++ b/src/mame/includes/flower.h @@ -3,7 +3,7 @@ class flower_state : public driver_device { public: - flower_state(const machine_config &mconfig, device_type type, const char *tag) + flower_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_sn_nmi_enable(*this, "sn_nmi_enable"), m_spriteram(*this, "spriteram"), @@ -76,7 +76,7 @@ class flower_sound_device : public device_t, public device_sound_interface { public: - flower_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + flower_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); ~flower_sound_device() {} enum diff --git a/src/mame/includes/flstory.h b/src/mame/includes/flstory.h index f8ec570fa43..4f035151e4c 100644 --- a/src/mame/includes/flstory.h +++ b/src/mame/includes/flstory.h @@ -5,7 +5,7 @@ class flstory_state : public driver_device { public: - flstory_state(const machine_config &mconfig, device_type type, const char *tag) + flstory_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/fm7.h b/src/mame/includes/fm7.h index cdc22c6e092..746bec5dc80 100644 --- a/src/mame/includes/fm7.h +++ b/src/mame/includes/fm7.h @@ -119,7 +119,7 @@ public: TIMER_FM77AV_VSYNC }; - fm7_state(const machine_config &mconfig, device_type type, const char *tag) + fm7_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_shared_ram(*this, "shared_ram"), m_boot_ram(*this, "boot_ram"), diff --git a/src/mame/includes/fmtowns.h b/src/mame/includes/fmtowns.h index 1989b2ea3a9..f3ad5a0d9d5 100644 --- a/src/mame/includes/fmtowns.h +++ b/src/mame/includes/fmtowns.h @@ -78,7 +78,7 @@ struct towns_video_controller class towns_state : public driver_device { public: - towns_state(const machine_config &mconfig, device_type type, const char *tag) + towns_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), @@ -363,7 +363,7 @@ public: class towns16_state : public towns_state { public: - towns16_state(const machine_config &mconfig, device_type type, const char *tag) + towns16_state(const machine_config &mconfig, device_type type, std::string tag) : towns_state(mconfig, type, tag) { } }; @@ -371,7 +371,7 @@ class towns16_state : public towns_state class marty_state : public towns_state { public: - marty_state(const machine_config &mconfig, device_type type, const char *tag) + marty_state(const machine_config &mconfig, device_type type, std::string tag) : towns_state(mconfig, type, tag) { } diff --git a/src/mame/includes/foodf.h b/src/mame/includes/foodf.h index 286427b43c8..98bd7b5f483 100644 --- a/src/mame/includes/foodf.h +++ b/src/mame/includes/foodf.h @@ -12,7 +12,7 @@ class foodf_state : public atarigen_state { public: - foodf_state(const machine_config &mconfig, device_type type, const char *tag) + foodf_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_nvram(*this, "nvram"), m_playfield_tilemap(*this, "playfield"), diff --git a/src/mame/includes/freekick.h b/src/mame/includes/freekick.h index 40ab4f90f4e..498535e2c8e 100644 --- a/src/mame/includes/freekick.h +++ b/src/mame/includes/freekick.h @@ -5,7 +5,7 @@ class freekick_state : public driver_device { public: - freekick_state(const machine_config &mconfig, device_type type, const char *tag) + freekick_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/fromanc2.h b/src/mame/includes/fromanc2.h index 8041c7974f3..11e3d19440d 100644 --- a/src/mame/includes/fromanc2.h +++ b/src/mame/includes/fromanc2.h @@ -5,7 +5,7 @@ class fromanc2_state : public driver_device { public: - fromanc2_state(const machine_config &mconfig, device_type type, const char *tag) + fromanc2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/fromance.h b/src/mame/includes/fromance.h index d8562d4deb9..879abfab987 100644 --- a/src/mame/includes/fromance.h +++ b/src/mame/includes/fromance.h @@ -14,7 +14,7 @@ class fromance_state : public driver_device { public: - fromance_state(const machine_config &mconfig, device_type type, const char *tag) + fromance_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/funkybee.h b/src/mame/includes/funkybee.h index ae8f2523a19..c4db163553e 100644 --- a/src/mame/includes/funkybee.h +++ b/src/mame/includes/funkybee.h @@ -5,7 +5,7 @@ class funkybee_state : public driver_device { public: - funkybee_state(const machine_config &mconfig, device_type type, const char *tag) + funkybee_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/funkyjet.h b/src/mame/includes/funkyjet.h index ce8c0294554..f1b810746fe 100644 --- a/src/mame/includes/funkyjet.h +++ b/src/mame/includes/funkyjet.h @@ -14,7 +14,7 @@ class funkyjet_state : public driver_device { public: - funkyjet_state(const machine_config &mconfig, device_type type, const char *tag) + funkyjet_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_deco146(*this, "ioprot"), diff --git a/src/mame/includes/funworld.h b/src/mame/includes/funworld.h index ebc3c2df912..05fcc29b763 100644 --- a/src/mame/includes/funworld.h +++ b/src/mame/includes/funworld.h @@ -3,7 +3,7 @@ class funworld_state : public driver_device { public: - funworld_state(const machine_config &mconfig, device_type type, const char *tag) + funworld_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/funybubl.h b/src/mame/includes/funybubl.h index 1a1818158c7..b574ad9d042 100644 --- a/src/mame/includes/funybubl.h +++ b/src/mame/includes/funybubl.h @@ -5,7 +5,7 @@ class funybubl_state : public driver_device { public: - funybubl_state(const machine_config &mconfig, device_type type, const char *tag) + funybubl_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_paletteram(*this, "paletteram"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/fuukifg2.h b/src/mame/includes/fuukifg2.h index ba0c6eeaa33..f8183141e2d 100644 --- a/src/mame/includes/fuukifg2.h +++ b/src/mame/includes/fuukifg2.h @@ -13,7 +13,7 @@ public: TIMER_RASTER_INTERRUPT }; - fuuki16_state(const machine_config &mconfig, device_type type, const char *tag) + fuuki16_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/fuukifg3.h b/src/mame/includes/fuukifg3.h index 90af6ad1893..37d88a1c93f 100644 --- a/src/mame/includes/fuukifg3.h +++ b/src/mame/includes/fuukifg3.h @@ -21,7 +21,7 @@ public: TIMER_RASTER_INTERRUPT }; - fuuki32_state(const machine_config &mconfig, device_type type, const char *tag) + fuuki32_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/gaelco.h b/src/mame/includes/gaelco.h index ea275b50248..48cc7a24937 100644 --- a/src/mame/includes/gaelco.h +++ b/src/mame/includes/gaelco.h @@ -9,7 +9,7 @@ class gaelco_state : public driver_device { public: - gaelco_state(const machine_config &mconfig, device_type type, const char *tag) + gaelco_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_vregs(*this, "vregs"), diff --git a/src/mame/includes/gaelco2.h b/src/mame/includes/gaelco2.h index ab458342036..9673ea5f195 100644 --- a/src/mame/includes/gaelco2.h +++ b/src/mame/includes/gaelco2.h @@ -7,7 +7,7 @@ class gaelco2_state : public driver_device { public: - gaelco2_state(const machine_config &mconfig, device_type type, const char *tag) + gaelco2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_spriteram(*this,"spriteram"), @@ -66,7 +66,7 @@ public: class bang_state : public gaelco2_state { public: - bang_state(const machine_config &mconfig, device_type type, const char *tag) + bang_state(const machine_config &mconfig, device_type type, std::string tag) : gaelco2_state(mconfig, type, tag) , m_light0_x(*this, "LIGHT0_X") , m_light0_y(*this, "LIGHT0_Y") @@ -94,7 +94,7 @@ public: class wrally2_state : public gaelco2_state { public: - wrally2_state(const machine_config &mconfig, device_type type, const char *tag) + wrally2_state(const machine_config &mconfig, device_type type, std::string tag) : gaelco2_state(mconfig, type, tag) , m_analog0(*this, "ANALOG0") , m_analog1(*this, "ANALOG1") diff --git a/src/mame/includes/gaelco3d.h b/src/mame/includes/gaelco3d.h index 8aaf90e1dc9..a0ce45bb7a8 100644 --- a/src/mame/includes/gaelco3d.h +++ b/src/mame/includes/gaelco3d.h @@ -55,7 +55,7 @@ private: class gaelco3d_state : public driver_device { public: - gaelco3d_state(const machine_config &mconfig, device_type type, const char *tag) + gaelco3d_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_adsp_ram_base(*this,"adsp_ram_base"), m_m68k_ram_base(*this,"m68k_ram_base",0), diff --git a/src/mame/includes/gaiden.h b/src/mame/includes/gaiden.h index d96d1e27826..cdc15d0f471 100644 --- a/src/mame/includes/gaiden.h +++ b/src/mame/includes/gaiden.h @@ -12,7 +12,7 @@ class gaiden_state : public driver_device { public: - gaiden_state(const machine_config &mconfig, device_type type, const char *tag) + gaiden_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_videoram2(*this, "videoram2"), diff --git a/src/mame/includes/galaga.h b/src/mame/includes/galaga.h index 5a417fe44a7..19db57d0bca 100644 --- a/src/mame/includes/galaga.h +++ b/src/mame/includes/galaga.h @@ -7,7 +7,7 @@ class galaga_state : public driver_device { public: - galaga_state(const machine_config &mconfig, device_type type, const char *tag) + galaga_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_galaga_ram1(*this, "galaga_ram1"), @@ -93,7 +93,7 @@ public: class xevious_state : public galaga_state { public: - xevious_state(const machine_config &mconfig, device_type type, const char *tag) + xevious_state(const machine_config &mconfig, device_type type, std::string tag) : galaga_state(mconfig, type, tag), m_xevious_sr1(*this, "xevious_sr1"), m_xevious_sr2(*this, "xevious_sr2"), @@ -167,7 +167,7 @@ public: class bosco_state : public galaga_state { public: - bosco_state(const machine_config &mconfig, device_type type, const char *tag) + bosco_state(const machine_config &mconfig, device_type type, std::string tag) : galaga_state(mconfig, type, tag), m_bosco_radarattr(*this, "bosco_radarattr"), m_bosco_starcontrol(*this, "starcontrol"), @@ -206,7 +206,7 @@ public: class digdug_state : public galaga_state { public: - digdug_state(const machine_config &mconfig, device_type type, const char *tag) + digdug_state(const machine_config &mconfig, device_type type, std::string tag) : galaga_state(mconfig, type, tag), m_digdug_objram(*this, "digdug_objram"), m_digdug_posram(*this, "digdug_posram"), diff --git a/src/mame/includes/galastrm.h b/src/mame/includes/galastrm.h index c2413a6d11d..ad5d80afe5d 100644 --- a/src/mame/includes/galastrm.h +++ b/src/mame/includes/galastrm.h @@ -48,7 +48,7 @@ public: TIMER_GALASTRM_INTERRUPT6 }; - galastrm_state(const machine_config &mconfig, device_type type, const char *tag) + galastrm_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_ram(*this,"ram"), m_spriteram(*this,"spriteram") , diff --git a/src/mame/includes/galaxia.h b/src/mame/includes/galaxia.h index a582157d5df..6333926a87d 100644 --- a/src/mame/includes/galaxia.h +++ b/src/mame/includes/galaxia.h @@ -11,7 +11,7 @@ class galaxia_state : public cvs_state { public: - galaxia_state(const machine_config &mconfig, device_type type, const char *tag) + galaxia_state(const machine_config &mconfig, device_type type, std::string tag) : cvs_state(mconfig, type, tag) { } diff --git a/src/mame/includes/galaxian.h b/src/mame/includes/galaxian.h index ac1e84a7b33..cc310e39fea 100644 --- a/src/mame/includes/galaxian.h +++ b/src/mame/includes/galaxian.h @@ -36,7 +36,7 @@ class galaxian_state : public driver_device { public: - galaxian_state(const machine_config &mconfig, device_type type, const char *tag) + galaxian_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/galaxold.h b/src/mame/includes/galaxold.h index 6159915b451..2592c4bbb00 100644 --- a/src/mame/includes/galaxold.h +++ b/src/mame/includes/galaxold.h @@ -27,7 +27,7 @@ struct star_gold class galaxold_state : public driver_device { public: - galaxold_state(const machine_config &mconfig, device_type type, const char *tag) + galaxold_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/galaxy.h b/src/mame/includes/galaxy.h index 1a0e27a4841..8fdceb366bd 100644 --- a/src/mame/includes/galaxy.h +++ b/src/mame/includes/galaxy.h @@ -17,7 +17,7 @@ class galaxy_state : public driver_device { public: - galaxy_state(const machine_config &mconfig, device_type type, const char *tag) + galaxy_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/galeb.h b/src/mame/includes/galeb.h index 0c25b29d759..6a1fc7f2839 100644 --- a/src/mame/includes/galeb.h +++ b/src/mame/includes/galeb.h @@ -13,7 +13,7 @@ class galeb_state : public driver_device { public: - galeb_state(const machine_config &mconfig, device_type type, const char *tag) + galeb_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_video_ram(*this, "video_ram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/galivan.h b/src/mame/includes/galivan.h index 5f098ff890f..987b15deb69 100644 --- a/src/mame/includes/galivan.h +++ b/src/mame/includes/galivan.h @@ -12,7 +12,7 @@ class galivan_state : public driver_device { public: - galivan_state(const machine_config &mconfig, device_type type, const char *tag) + galivan_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/galpani2.h b/src/mame/includes/galpani2.h index a4697d9775e..f9c53d5c804 100644 --- a/src/mame/includes/galpani2.h +++ b/src/mame/includes/galpani2.h @@ -7,7 +7,7 @@ class galpani2_state : public driver_device { public: - galpani2_state(const machine_config &mconfig, device_type type, const char *tag) + galpani2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_subcpu(*this,"sub"), diff --git a/src/mame/includes/galpanic.h b/src/mame/includes/galpanic.h index 788ca087540..a5bd2903f34 100644 --- a/src/mame/includes/galpanic.h +++ b/src/mame/includes/galpanic.h @@ -5,7 +5,7 @@ class galpanic_state : public driver_device { public: - galpanic_state(const machine_config &mconfig, device_type type, const char *tag) + galpanic_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_bgvideoram(*this, "bgvideoram"), diff --git a/src/mame/includes/galspnbl.h b/src/mame/includes/galspnbl.h index 7b934043a7e..82de7f47339 100644 --- a/src/mame/includes/galspnbl.h +++ b/src/mame/includes/galspnbl.h @@ -12,7 +12,7 @@ class galspnbl_state : public driver_device { public: - galspnbl_state(const machine_config &mconfig, device_type type, const char *tag) + galspnbl_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/gamate.h b/src/mame/includes/gamate.h index 868df1157a6..0973d940ba5 100644 --- a/src/mame/includes/gamate.h +++ b/src/mame/includes/gamate.h @@ -19,7 +19,7 @@ class gamate_sound_device : public device_t, public device_sound_interface { public: - gamate_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + gamate_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); ~gamate_sound_device() { } DECLARE_WRITE8_MEMBER( device_w ); diff --git a/src/mame/includes/gamecom.h b/src/mame/includes/gamecom.h index e9f8829ab79..799d16dbc2a 100644 --- a/src/mame/includes/gamecom.h +++ b/src/mame/includes/gamecom.h @@ -212,7 +212,7 @@ struct gamecom_sound_t class gamecom_state : public driver_device { public: - gamecom_state(const machine_config &mconfig, device_type type, const char *tag) + gamecom_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_p_videoram(*this,"videoram") , m_p_nvram(*this,"nvram") diff --git a/src/mame/includes/gameplan.h b/src/mame/includes/gameplan.h index d01d6d969a9..e3576a60d29 100644 --- a/src/mame/includes/gameplan.h +++ b/src/mame/includes/gameplan.h @@ -34,7 +34,7 @@ public: TIMER_VIA_0_CAL }; - gameplan_state(const machine_config &mconfig, device_type type, const char *tag) + gameplan_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_trvquest_question(*this, "trvquest_q"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/gamepock.h b/src/mame/includes/gamepock.h index 9b842d6405a..038080853c7 100644 --- a/src/mame/includes/gamepock.h +++ b/src/mame/includes/gamepock.h @@ -16,7 +16,7 @@ struct HD44102CH { class gamepock_state : public driver_device { public: - gamepock_state(const machine_config &mconfig, device_type type, const char *tag) + gamepock_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/includes/gaplus.h b/src/mame/includes/gaplus.h index 7f4e92a75f0..00568d662ba 100644 --- a/src/mame/includes/gaplus.h +++ b/src/mame/includes/gaplus.h @@ -27,7 +27,7 @@ public: GAME_GALAGA3 }; - gaplus_state(const machine_config &mconfig, device_type type, const char *tag) + gaplus_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/gatron.h b/src/mame/includes/gatron.h index 4d1b8a73836..28dfbad1834 100644 --- a/src/mame/includes/gatron.h +++ b/src/mame/includes/gatron.h @@ -3,7 +3,7 @@ class gatron_state : public driver_device { public: - gatron_state(const machine_config &mconfig, device_type type, const char *tag) + gatron_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/gauntlet.h b/src/mame/includes/gauntlet.h index 685021ebaa8..596ccc85f00 100644 --- a/src/mame/includes/gauntlet.h +++ b/src/mame/includes/gauntlet.h @@ -12,7 +12,7 @@ class gauntlet_state : public atarigen_state { public: - gauntlet_state(const machine_config &mconfig, device_type type, const char *tag) + gauntlet_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_playfield_tilemap(*this, "playfield"), m_alpha_tilemap(*this, "alpha"), diff --git a/src/mame/includes/gb.h b/src/mame/includes/gb.h index 59f5ee91de3..90d18a78346 100644 --- a/src/mame/includes/gb.h +++ b/src/mame/includes/gb.h @@ -46,7 +46,7 @@ class gb_state : public driver_device { public: - gb_state(const machine_config &mconfig, device_type type, const char *tag) + gb_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_cartslot(*this, "gbslot"), m_maincpu(*this, "maincpu"), @@ -143,7 +143,7 @@ protected: class megaduck_state : public gb_state { public: - megaduck_state(const machine_config &mconfig, device_type type, const char *tag) + megaduck_state(const machine_config &mconfig, device_type type, std::string tag) : gb_state(mconfig, type, tag) , m_cartslot(*this, "duckslot") { } diff --git a/src/mame/includes/gba.h b/src/mame/includes/gba.h index 8037ecb5795..1e79e284c33 100644 --- a/src/mame/includes/gba.h +++ b/src/mame/includes/gba.h @@ -129,7 +129,7 @@ class gba_state : public driver_device { public: - gba_state(const machine_config &mconfig, device_type type, const char *tag) + gba_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gba_pram(*this, "gba_pram"), diff --git a/src/mame/includes/gberet.h b/src/mame/includes/gberet.h index 6911d47fc40..fc5ff97bf7a 100644 --- a/src/mame/includes/gberet.h +++ b/src/mame/includes/gberet.h @@ -11,7 +11,7 @@ class gberet_state : public driver_device { public: - gberet_state(const machine_config &mconfig, device_type type, const char *tag) + gberet_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_colorram(*this, "colorram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/gcpinbal.h b/src/mame/includes/gcpinbal.h index fa32062eb1c..7b383d0af41 100644 --- a/src/mame/includes/gcpinbal.h +++ b/src/mame/includes/gcpinbal.h @@ -14,7 +14,7 @@ public: TIMER_GCPINBAL_INTERRUPT3 }; - gcpinbal_state(const machine_config &mconfig, device_type type, const char *tag) + gcpinbal_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki(*this, "oki"), diff --git a/src/mame/includes/genpc.h b/src/mame/includes/genpc.h index b3353de35d6..8d83d3ad320 100644 --- a/src/mame/includes/genpc.h +++ b/src/mame/includes/genpc.h @@ -29,9 +29,9 @@ class ibm5160_mb_device : public device_t { public: // construction/destruction - ibm5160_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + ibm5160_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); // inline configuration - static void static_set_cputag(device_t &device, const char *tag); + static void static_set_cputag(device_t &device, std::string tag); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; @@ -108,7 +108,7 @@ public: DECLARE_WRITE8_MEMBER(pc_page_w); DECLARE_WRITE8_MEMBER(nmi_enable_w); - const char *m_cputag; + std::string m_cputag; private: void pc_select_dma_channel(int channel, bool state); @@ -128,7 +128,7 @@ class ibm5150_mb_device : public ibm5160_mb_device { public: // construction/destruction - ibm5150_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + ibm5150_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; @@ -160,7 +160,7 @@ class ec1841_mb_device : public ibm5160_mb_device { public: // construction/destruction - ec1841_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + ec1841_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; @@ -188,7 +188,7 @@ class pc_noppi_mb_device : public ibm5160_mb_device { public: // construction/destruction - pc_noppi_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + pc_noppi_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); virtual machine_config_constructor device_mconfig_additions() const override; virtual ioport_constructor device_input_ports() const override; diff --git a/src/mame/includes/gijoe.h b/src/mame/includes/gijoe.h index d4c417bcd01..0946bf876e9 100644 --- a/src/mame/includes/gijoe.h +++ b/src/mame/includes/gijoe.h @@ -14,7 +14,7 @@ class gijoe_state : public driver_device { public: - gijoe_state(const machine_config &mconfig, device_type type, const char *tag) + gijoe_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_workram(*this, "workram"), diff --git a/src/mame/includes/ginganin.h b/src/mame/includes/ginganin.h index 33d09944529..f115c432fe2 100644 --- a/src/mame/includes/ginganin.h +++ b/src/mame/includes/ginganin.h @@ -9,7 +9,7 @@ class ginganin_state : public driver_device { public: - ginganin_state(const machine_config &mconfig, device_type type, const char *tag) + ginganin_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_txtram(*this, "txtram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/gladiatr.h b/src/mame/includes/gladiatr.h index 06813718742..fec39aac173 100644 --- a/src/mame/includes/gladiatr.h +++ b/src/mame/includes/gladiatr.h @@ -5,7 +5,7 @@ class gladiatr_state : public driver_device { public: - gladiatr_state(const machine_config &mconfig, device_type type, const char *tag) + gladiatr_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/glass.h b/src/mame/includes/glass.h index 4fc0cbe59ee..6a39446acee 100644 --- a/src/mame/includes/glass.h +++ b/src/mame/includes/glass.h @@ -9,7 +9,7 @@ class glass_state : public driver_device { public: - glass_state(const machine_config &mconfig, device_type type, const char *tag) + glass_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_vregs(*this, "vregs"), diff --git a/src/mame/includes/gng.h b/src/mame/includes/gng.h index 83a245748e0..91ae35476da 100644 --- a/src/mame/includes/gng.h +++ b/src/mame/includes/gng.h @@ -11,7 +11,7 @@ class gng_state : public driver_device { public: - gng_state(const machine_config &mconfig, device_type type, const char *tag) + gng_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram") , m_fgvideoram(*this, "fgvideoram"), diff --git a/src/mame/includes/goal92.h b/src/mame/includes/goal92.h index a1b6a996e0f..ff4d57bdd77 100644 --- a/src/mame/includes/goal92.h +++ b/src/mame/includes/goal92.h @@ -9,7 +9,7 @@ class goal92_state : public driver_device { public: - goal92_state(const machine_config &mconfig, device_type type, const char *tag) + goal92_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bg_data(*this, "bg_data"), m_fg_data(*this, "fg_data"), diff --git a/src/mame/includes/goindol.h b/src/mame/includes/goindol.h index a7ef567182a..80ae9952952 100644 --- a/src/mame/includes/goindol.h +++ b/src/mame/includes/goindol.h @@ -9,7 +9,7 @@ class goindol_state : public driver_device { public: - goindol_state(const machine_config &mconfig, device_type type, const char *tag) + goindol_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_ram(*this, "ram"), m_fg_scrolly(*this, "fg_scrolly"), diff --git a/src/mame/includes/goldstar.h b/src/mame/includes/goldstar.h index 2eb7e47df05..29ac9699d87 100644 --- a/src/mame/includes/goldstar.h +++ b/src/mame/includes/goldstar.h @@ -8,7 +8,7 @@ class goldstar_state : public driver_device { public: - goldstar_state(const machine_config &mconfig, device_type type, const char *tag) : + goldstar_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_fg_vidram(*this, "fg_vidram"), m_fg_atrram(*this, "fg_atrram"), @@ -96,7 +96,7 @@ protected: class cmaster_state : public goldstar_state { public: - cmaster_state(const machine_config &mconfig, device_type type, const char *tag) : + cmaster_state(const machine_config &mconfig, device_type type, std::string tag) : goldstar_state(mconfig, type, tag) { } @@ -152,7 +152,7 @@ protected: class wingco_state : public goldstar_state { public: - wingco_state(const machine_config &mconfig, device_type type, const char *tag) : + wingco_state(const machine_config &mconfig, device_type type, std::string tag) : goldstar_state(mconfig, type, tag) { } @@ -188,7 +188,7 @@ private: class cb3_state : public goldstar_state { public: - cb3_state(const machine_config &mconfig, device_type type, const char *tag) : + cb3_state(const machine_config &mconfig, device_type type, std::string tag) : goldstar_state(mconfig, type, tag) { } @@ -211,7 +211,7 @@ protected: class sanghopm_state : public goldstar_state { public: - sanghopm_state(const machine_config &mconfig, device_type type, const char *tag) : + sanghopm_state(const machine_config &mconfig, device_type type, std::string tag) : goldstar_state(mconfig, type, tag), m_reel1_attrram(*this, "reel1_attrram"), m_reel2_attrram(*this, "reel2_attrram"), @@ -252,7 +252,7 @@ private: class unkch_state : public goldstar_state { public: - unkch_state(const machine_config &mconfig, device_type type, const char *tag) : + unkch_state(const machine_config &mconfig, device_type type, std::string tag) : goldstar_state(mconfig, type, tag), m_reel1_attrram(*this, "reel1_attrram"), m_reel2_attrram(*this, "reel2_attrram"), diff --git a/src/mame/includes/gomoku.h b/src/mame/includes/gomoku.h index 375a08f7f5c..12a9d53d84e 100644 --- a/src/mame/includes/gomoku.h +++ b/src/mame/includes/gomoku.h @@ -4,7 +4,7 @@ class gomoku_state : public driver_device { public: - gomoku_state(const machine_config &mconfig, device_type type, const char *tag) + gomoku_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), @@ -68,7 +68,7 @@ class gomoku_sound_device : public device_t, public device_sound_interface { public: - gomoku_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + gomoku_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); ~gomoku_sound_device() { } protected: diff --git a/src/mame/includes/gotcha.h b/src/mame/includes/gotcha.h index c053588e91c..e47d3fbad3c 100644 --- a/src/mame/includes/gotcha.h +++ b/src/mame/includes/gotcha.h @@ -11,7 +11,7 @@ class gotcha_state : public driver_device { public: - gotcha_state(const machine_config &mconfig, device_type type, const char *tag) + gotcha_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_fgvideoram(*this, "fgvideoram"), m_bgvideoram(*this, "bgvideoram"), diff --git a/src/mame/includes/gottlieb.h b/src/mame/includes/gottlieb.h index 8f539ff234f..02898163ef0 100644 --- a/src/mame/includes/gottlieb.h +++ b/src/mame/includes/gottlieb.h @@ -36,7 +36,7 @@ public: TIMER_NMI_CLEAR }; - gottlieb_state(const machine_config &mconfig, device_type type, const char *tag) + gottlieb_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_laserdisc(*this, "laserdisc"), diff --git a/src/mame/includes/gotya.h b/src/mame/includes/gotya.h index 6ad087b0242..a32d50d723b 100644 --- a/src/mame/includes/gotya.h +++ b/src/mame/includes/gotya.h @@ -5,7 +5,7 @@ class gotya_state : public driver_device { public: - gotya_state(const machine_config &mconfig, device_type type, const char *tag) + gotya_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_scroll(*this, "scroll"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/gp32.h b/src/mame/includes/gp32.h index 65ae4f28ed0..d2e9ea3d5d2 100644 --- a/src/mame/includes/gp32.h +++ b/src/mame/includes/gp32.h @@ -92,7 +92,7 @@ struct s3c240x_iis_t class gp32_state : public driver_device { public: - gp32_state(const machine_config &mconfig, device_type type, const char *tag) + gp32_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_s3c240x_ram(*this, "s3c240x_ram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/gradius3.h b/src/mame/includes/gradius3.h index 98061d26ece..bd7e6b99863 100644 --- a/src/mame/includes/gradius3.h +++ b/src/mame/includes/gradius3.h @@ -13,7 +13,7 @@ class gradius3_state : public driver_device { public: - gradius3_state(const machine_config &mconfig, device_type type, const char *tag) + gradius3_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_gfxram(*this, "k052109"), m_gfxrom(*this, "k051960"), diff --git a/src/mame/includes/grchamp.h b/src/mame/includes/grchamp.h index 3e654dcfd50..83e4195aafb 100644 --- a/src/mame/includes/grchamp.h +++ b/src/mame/includes/grchamp.h @@ -11,7 +11,7 @@ class grchamp_state : public driver_device { public: - grchamp_state(const machine_config &mconfig, device_type type, const char *tag) + grchamp_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/gridlee.h b/src/mame/includes/gridlee.h index 4aea8304969..3c3a3c0cb46 100644 --- a/src/mame/includes/gridlee.h +++ b/src/mame/includes/gridlee.h @@ -25,7 +25,7 @@ class gridlee_state : public driver_device { public: - gridlee_state(const machine_config &mconfig, device_type type, const char *tag) + gridlee_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_videoram(*this, "videoram"), @@ -79,7 +79,7 @@ class gridlee_sound_device : public device_t, public device_sound_interface { public: - gridlee_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + gridlee_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); ~gridlee_sound_device() { } protected: diff --git a/src/mame/includes/groundfx.h b/src/mame/includes/groundfx.h index 60c8e76ac43..c33955d99db 100644 --- a/src/mame/includes/groundfx.h +++ b/src/mame/includes/groundfx.h @@ -21,7 +21,7 @@ public: TIMER_GROUNDFX_INTERRUPT5 }; - groundfx_state(const machine_config &mconfig, device_type type, const char *tag) + groundfx_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_ram(*this,"ram"), m_spriteram(*this,"spriteram") , diff --git a/src/mame/includes/gstriker.h b/src/mame/includes/gstriker.h index 7491fe1aa40..117b86874b0 100644 --- a/src/mame/includes/gstriker.h +++ b/src/mame/includes/gstriker.h @@ -12,7 +12,7 @@ class gstriker_state : public driver_device { public: - gstriker_state(const machine_config &mconfig, device_type type, const char *tag) + gstriker_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/gsword.h b/src/mame/includes/gsword.h index 014cc175082..1bd7f127e77 100644 --- a/src/mame/includes/gsword.h +++ b/src/mame/includes/gsword.h @@ -6,7 +6,7 @@ class gsword_state : public driver_device { public: - gsword_state(const machine_config &mconfig, device_type type, const char *tag) + gsword_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/gumbo.h b/src/mame/includes/gumbo.h index d95628aacfb..03e20b24a5d 100644 --- a/src/mame/includes/gumbo.h +++ b/src/mame/includes/gumbo.h @@ -9,7 +9,7 @@ class gumbo_state : public driver_device { public: - gumbo_state(const machine_config &mconfig, device_type type, const char *tag) + gumbo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bg_videoram(*this, "bg_videoram"), m_fg_videoram(*this, "fg_videoram"), diff --git a/src/mame/includes/gunbustr.h b/src/mame/includes/gunbustr.h index 95aef16b0e3..3317109412d 100644 --- a/src/mame/includes/gunbustr.h +++ b/src/mame/includes/gunbustr.h @@ -21,7 +21,7 @@ public: TIMER_GUNBUSTR_INTERRUPT5 }; - gunbustr_state(const machine_config &mconfig, device_type type, const char *tag) + gunbustr_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_tc0480scp(*this, "tc0480scp"), diff --git a/src/mame/includes/gundealr.h b/src/mame/includes/gundealr.h index 5afbcf87317..1dfe357d399 100644 --- a/src/mame/includes/gundealr.h +++ b/src/mame/includes/gundealr.h @@ -9,7 +9,7 @@ class gundealr_state : public driver_device { public: - gundealr_state(const machine_config &mconfig, device_type type, const char *tag) + gundealr_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_paletteram(*this, "paletteram"), m_bg_videoram(*this, "bg_videoram"), diff --git a/src/mame/includes/gunsmoke.h b/src/mame/includes/gunsmoke.h index 2c5d43e0446..eae70b7a54a 100644 --- a/src/mame/includes/gunsmoke.h +++ b/src/mame/includes/gunsmoke.h @@ -9,7 +9,7 @@ class gunsmoke_state : public driver_device { public: - gunsmoke_state(const machine_config &mconfig, device_type type, const char *tag) + gunsmoke_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/gyruss.h b/src/mame/includes/gyruss.h index 1c9bfd88e02..38b929fb574 100644 --- a/src/mame/includes/gyruss.h +++ b/src/mame/includes/gyruss.h @@ -11,7 +11,7 @@ class gyruss_state : public driver_device { public: - gyruss_state(const machine_config &mconfig, device_type type, const char *tag) + gyruss_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/hanaawas.h b/src/mame/includes/hanaawas.h index dd09c9229ac..6ac93fc2ffb 100644 --- a/src/mame/includes/hanaawas.h +++ b/src/mame/includes/hanaawas.h @@ -9,7 +9,7 @@ class hanaawas_state : public driver_device { public: - hanaawas_state(const machine_config &mconfig, device_type type, const char *tag) + hanaawas_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/harddriv.h b/src/mame/includes/harddriv.h index c887c8a2597..4dab01a1f4b 100644 --- a/src/mame/includes/harddriv.h +++ b/src/mame/includes/harddriv.h @@ -44,7 +44,7 @@ class harddriv_state : public device_t /* public device_video_interface */ { public: - harddriv_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + harddriv_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); required_device m_maincpu; @@ -438,7 +438,7 @@ class harddriv_sound_board_device : public device_t { public: // construction/destruction - harddriv_sound_board_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + harddriv_sound_board_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); ~harddriv_sound_board_device() {} DECLARE_READ16_MEMBER(hd68k_snd_data_r); @@ -506,7 +506,7 @@ private: class harddriv_board_device_state : public harddriv_state { public: - harddriv_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + harddriv_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -519,7 +519,7 @@ protected: class harddrivc_board_device_state : public harddriv_state { public: - harddrivc_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + harddrivc_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -532,7 +532,7 @@ protected: class racedriv_board_device_state : public harddriv_state { public: - racedriv_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + racedriv_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -543,7 +543,7 @@ protected: class racedrivb1_board_device_state : public racedriv_board_device_state { public: - racedrivb1_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : + racedrivb1_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : racedriv_board_device_state(mconfig, tag, owner, clock) {}; @@ -556,7 +556,7 @@ protected: class racedrivc_board_device_state : public harddriv_state { public: - racedrivc_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + racedrivc_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -567,7 +567,7 @@ protected: class racedrivc1_board_device_state : public racedrivc_board_device_state { public: - racedrivc1_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : + racedrivc1_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : racedrivc_board_device_state(mconfig, tag, owner, clock) {}; protected: @@ -577,7 +577,7 @@ protected: class racedrivc_panorama_side_board_device_state : public racedrivc_board_device_state { public: - racedrivc_panorama_side_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : + racedrivc_panorama_side_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : racedrivc_board_device_state(mconfig, tag, owner, clock) {}; protected: @@ -591,7 +591,7 @@ protected: class stunrun_board_device_state : public harddriv_state { public: - stunrun_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + stunrun_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -604,7 +604,7 @@ protected: class steeltal_board_device_state : public harddriv_state { public: - steeltal_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + steeltal_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -615,7 +615,7 @@ protected: class steeltal1_board_device_state : public steeltal_board_device_state { public: - steeltal1_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : + steeltal1_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : steeltal_board_device_state(mconfig, tag, owner, clock) {}; @@ -626,7 +626,7 @@ protected: class steeltalp_board_device_state : public steeltal_board_device_state { public: - steeltalp_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : + steeltalp_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : steeltal_board_device_state(mconfig, tag, owner, clock) {}; @@ -641,7 +641,7 @@ protected: class strtdriv_board_device_state : public harddriv_state { public: - strtdriv_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + strtdriv_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -654,7 +654,7 @@ protected: class hdrivair_board_device_state : public harddriv_state { public: - hdrivair_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + hdrivair_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -665,7 +665,7 @@ protected: class hdrivairp_board_device_state : public hdrivair_board_device_state { public: - hdrivairp_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : + hdrivairp_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : hdrivair_board_device_state(mconfig, tag, owner, clock) {}; diff --git a/src/mame/includes/hcastle.h b/src/mame/includes/hcastle.h index 12874f11e62..e6fac151ace 100644 --- a/src/mame/includes/hcastle.h +++ b/src/mame/includes/hcastle.h @@ -13,7 +13,7 @@ class hcastle_state : public driver_device { public: - hcastle_state(const machine_config &mconfig, device_type type, const char *tag) + hcastle_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_spriteram2(*this, "spriteram2") , diff --git a/src/mame/includes/hec2hrp.h b/src/mame/includes/hec2hrp.h index c30b7bfccd3..4f05db2cb4f 100644 --- a/src/mame/includes/hec2hrp.h +++ b/src/mame/includes/hec2hrp.h @@ -74,7 +74,7 @@ enum class hec2hrp_state : public driver_device { public: - hec2hrp_state(const machine_config &mconfig, device_type type, const char *tag) + hec2hrp_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_disc2cpu(*this, "disc2cpu"), diff --git a/src/mame/includes/hexion.h b/src/mame/includes/hexion.h index e341d1f7687..aae9686cac9 100644 --- a/src/mame/includes/hexion.h +++ b/src/mame/includes/hexion.h @@ -5,7 +5,7 @@ class hexion_state : public driver_device { public: - hexion_state(const machine_config &mconfig, device_type type, const char *tag) + hexion_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_k053252(*this, "k053252"), diff --git a/src/mame/includes/hh_tms1k.h b/src/mame/includes/hh_tms1k.h index 4a7ccb99467..cd184ddcb35 100644 --- a/src/mame/includes/hh_tms1k.h +++ b/src/mame/includes/hh_tms1k.h @@ -18,7 +18,7 @@ class hh_tms1k_state : public driver_device { public: - hh_tms1k_state(const machine_config &mconfig, device_type type, const char *tag) + hh_tms1k_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_inp_matrix(*this, "IN"), diff --git a/src/mame/includes/hh_ucom4.h b/src/mame/includes/hh_ucom4.h index 76b3a5d7a02..db52dea405c 100644 --- a/src/mame/includes/hh_ucom4.h +++ b/src/mame/includes/hh_ucom4.h @@ -18,7 +18,7 @@ class hh_ucom4_state : public driver_device { public: - hh_ucom4_state(const machine_config &mconfig, device_type type, const char *tag) + hh_ucom4_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_inp_matrix(*this, "IN"), diff --git a/src/mame/includes/higemaru.h b/src/mame/includes/higemaru.h index a39d0c5a251..39bad782d07 100644 --- a/src/mame/includes/higemaru.h +++ b/src/mame/includes/higemaru.h @@ -9,7 +9,7 @@ class higemaru_state : public driver_device { public: - higemaru_state(const machine_config &mconfig, device_type type, const char *tag) + higemaru_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/himesiki.h b/src/mame/includes/himesiki.h index 65cf5bbcba2..3a65cd7b53f 100644 --- a/src/mame/includes/himesiki.h +++ b/src/mame/includes/himesiki.h @@ -9,7 +9,7 @@ class himesiki_state : public driver_device { public: - himesiki_state(const machine_config &mconfig, device_type type, const char *tag) + himesiki_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bg_ram(*this, "bg_ram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/hitme.h b/src/mame/includes/hitme.h index 4a2a4aa48a4..d085942855d 100644 --- a/src/mame/includes/hitme.h +++ b/src/mame/includes/hitme.h @@ -17,7 +17,7 @@ class hitme_state : public driver_device { public: - hitme_state(const machine_config &mconfig, device_type type, const char *tag) + hitme_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/hnayayoi.h b/src/mame/includes/hnayayoi.h index fa22619a317..1040019a740 100644 --- a/src/mame/includes/hnayayoi.h +++ b/src/mame/includes/hnayayoi.h @@ -10,7 +10,7 @@ class hnayayoi_state : public driver_device { public: - hnayayoi_state(const machine_config &mconfig, device_type type, const char *tag) + hnayayoi_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_msm(*this, "msm") { } diff --git a/src/mame/includes/hng64.h b/src/mame/includes/hng64.h index 7da413bf645..cb8247d91e5 100644 --- a/src/mame/includes/hng64.h +++ b/src/mame/includes/hng64.h @@ -132,7 +132,7 @@ private: class hng64_state : public driver_device { public: - hng64_state(const machine_config &mconfig, device_type type, const char *tag) + hng64_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/holeland.h b/src/mame/includes/holeland.h index 02b6da3a281..6c58029e335 100644 --- a/src/mame/includes/holeland.h +++ b/src/mame/includes/holeland.h @@ -9,7 +9,7 @@ class holeland_state : public driver_device { public: - holeland_state(const machine_config &mconfig, device_type type, const char *tag) + holeland_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/homedata.h b/src/mame/includes/homedata.h index 084bdecb8cb..98d46483fd9 100644 --- a/src/mame/includes/homedata.h +++ b/src/mame/includes/homedata.h @@ -7,7 +7,7 @@ class homedata_state : public driver_device { public: - homedata_state(const machine_config &mconfig, device_type type, const char *tag) + homedata_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_vreg(*this, "vreg"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/homerun.h b/src/mame/includes/homerun.h index 14fc6659840..1ff24611d8b 100644 --- a/src/mame/includes/homerun.h +++ b/src/mame/includes/homerun.h @@ -12,7 +12,7 @@ class homerun_state : public driver_device { public: - homerun_state(const machine_config &mconfig, device_type type, const char *tag) + homerun_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/hp48.h b/src/mame/includes/hp48.h index 748a81bee55..68c30acc7e6 100644 --- a/src/mame/includes/hp48.h +++ b/src/mame/includes/hp48.h @@ -44,7 +44,7 @@ typedef struct class hp48_state : public driver_device { public: - hp48_state(const machine_config &mconfig, device_type type, const char *tag) + hp48_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), @@ -173,7 +173,7 @@ class hp48_port_image_device : public device_t, { public: // construction/destruction - hp48_port_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + hp48_port_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); static void set_port_config(device_t &device, int port, int module, int max_size) { diff --git a/src/mame/includes/huebler.h b/src/mame/includes/huebler.h index bb6b4c29344..24c8b392f81 100644 --- a/src/mame/includes/huebler.h +++ b/src/mame/includes/huebler.h @@ -22,7 +22,7 @@ class amu880_state : public driver_device { public: - amu880_state(const machine_config &mconfig, device_type type, const char *tag) + amu880_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_cassette(*this, "cassette"), m_z80sio(*this, Z80SIO_TAG), diff --git a/src/mame/includes/hx20.h b/src/mame/includes/hx20.h index 8f7ab801e0d..52c33b6d64f 100644 --- a/src/mame/includes/hx20.h +++ b/src/mame/includes/hx20.h @@ -32,7 +32,7 @@ class hx20_state : public driver_device { public: - hx20_state(const machine_config &mconfig, device_type type, const char *tag) + hx20_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, HD6301V1_MAIN_TAG), m_subcpu(*this, HD6301V1_SLAVE_TAG), diff --git a/src/mame/includes/hyhoo.h b/src/mame/includes/hyhoo.h index 4b0d2c520b9..3ced5525000 100644 --- a/src/mame/includes/hyhoo.h +++ b/src/mame/includes/hyhoo.h @@ -10,7 +10,7 @@ public: TIMER_BLITTER }; - hyhoo_state(const machine_config &mconfig, device_type type, const char *tag) + hyhoo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_nb1413m3(*this, "nb1413m3"), diff --git a/src/mame/includes/hyperspt.h b/src/mame/includes/hyperspt.h index 0e4b848de5a..fde19f07fd2 100644 --- a/src/mame/includes/hyperspt.h +++ b/src/mame/includes/hyperspt.h @@ -7,7 +7,7 @@ class hyperspt_state : public driver_device { public: - hyperspt_state(const machine_config &mconfig, device_type type, const char *tag) + hyperspt_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_scroll(*this, "scroll"), diff --git a/src/mame/includes/hyprduel.h b/src/mame/includes/hyprduel.h index f037f61c555..a3d8f3bd26b 100644 --- a/src/mame/includes/hyprduel.h +++ b/src/mame/includes/hyprduel.h @@ -7,7 +7,7 @@ class hyprduel_state : public driver_device { public: - hyprduel_state(const machine_config &mconfig, device_type type, const char *tag) + hyprduel_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_vram_0(*this, "vram_0"), m_vram_1(*this, "vram_1"), diff --git a/src/mame/includes/ikki.h b/src/mame/includes/ikki.h index bfd7039db1a..bfa58940759 100644 --- a/src/mame/includes/ikki.h +++ b/src/mame/includes/ikki.h @@ -9,7 +9,7 @@ class ikki_state : public driver_device { public: - ikki_state(const machine_config &mconfig, device_type type, const char *tag) + ikki_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/imds2.h b/src/mame/includes/imds2.h index c5e93b4f9bd..8e7192063df 100644 --- a/src/mame/includes/imds2.h +++ b/src/mame/includes/imds2.h @@ -22,7 +22,7 @@ class imds2_state : public driver_device { public: - imds2_state(const machine_config &mconfig, device_type type, const char *tag); + imds2_state(const machine_config &mconfig, device_type type, std::string tag); DECLARE_READ8_MEMBER(ipc_mem_read); DECLARE_WRITE8_MEMBER(ipc_mem_write); diff --git a/src/mame/includes/intv.h b/src/mame/includes/intv.h index 7f14c7fb55a..1ef652f1aa4 100644 --- a/src/mame/includes/intv.h +++ b/src/mame/includes/intv.h @@ -30,7 +30,7 @@ public: TIMER_INTV_BTB_FILL }; - intv_state(const machine_config &mconfig, device_type type, const char *tag) + intv_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_sound(*this, "ay8914"), diff --git a/src/mame/includes/inufuku.h b/src/mame/includes/inufuku.h index 24ed3325158..5a59cb9a2a9 100644 --- a/src/mame/includes/inufuku.h +++ b/src/mame/includes/inufuku.h @@ -4,7 +4,7 @@ class inufuku_state : public driver_device { public: - inufuku_state(const machine_config &mconfig, device_type type, const char *tag) + inufuku_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bg_videoram(*this, "bg_videoram"), m_bg_rasterram(*this, "bg_rasterram"), diff --git a/src/mame/includes/iqblock.h b/src/mame/includes/iqblock.h index be63ef229b1..0b2d2726768 100644 --- a/src/mame/includes/iqblock.h +++ b/src/mame/includes/iqblock.h @@ -3,7 +3,7 @@ class iqblock_state : public driver_device { public: - iqblock_state(const machine_config &mconfig, device_type type, const char *tag) + iqblock_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/irobot.h b/src/mame/includes/irobot.h index a2fc05d6fea..9a33d824006 100644 --- a/src/mame/includes/irobot.h +++ b/src/mame/includes/irobot.h @@ -26,7 +26,7 @@ struct irmb_ops class irobot_state : public driver_device { public: - irobot_state(const machine_config &mconfig, device_type type, const char *tag) + irobot_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_nvram(*this, "nvram") , m_videoram(*this, "videoram"), diff --git a/src/mame/includes/ironhors.h b/src/mame/includes/ironhors.h index b0c78ebf6e3..c731696a0d1 100644 --- a/src/mame/includes/ironhors.h +++ b/src/mame/includes/ironhors.h @@ -9,7 +9,7 @@ class ironhors_state : public driver_device { public: - ironhors_state(const machine_config &mconfig, device_type type, const char *tag) + ironhors_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/itech32.h b/src/mame/includes/itech32.h index 3c7be2530f1..04fd43bdcf1 100644 --- a/src/mame/includes/itech32.h +++ b/src/mame/includes/itech32.h @@ -19,7 +19,7 @@ class itech32_state : public driver_device { public: - itech32_state(const machine_config &mconfig, device_type type, const char *tag) + itech32_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_main_ram(*this, "main_ram", 0), m_nvram(*this, "nvram", 0), @@ -167,7 +167,7 @@ public: inline offs_t compute_safe_address(int x, int y); inline void disable_clipping(); inline void enable_clipping(); - void logblit(const char *tag); + void logblit(std::string tag); void update_interrupts(int fast); void draw_raw(UINT16 *base, UINT16 color); void draw_raw_drivedge(UINT16 *base, UINT16 *zbase, UINT16 color); diff --git a/src/mame/includes/itech8.h b/src/mame/includes/itech8.h index 2e35ffd95ad..5ea16f0bd3f 100644 --- a/src/mame/includes/itech8.h +++ b/src/mame/includes/itech8.h @@ -16,7 +16,7 @@ class itech8_state : public driver_device { public: - itech8_state(const machine_config &mconfig, device_type type, const char *tag) + itech8_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/jack.h b/src/mame/includes/jack.h index c3292723845..f9d4d0a99d0 100644 --- a/src/mame/includes/jack.h +++ b/src/mame/includes/jack.h @@ -9,7 +9,7 @@ class jack_state : public driver_device { public: - jack_state(const machine_config &mconfig, device_type type, const char *tag) + jack_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/jackal.h b/src/mame/includes/jackal.h index 84f1da6eebe..fffdb19875c 100644 --- a/src/mame/includes/jackal.h +++ b/src/mame/includes/jackal.h @@ -9,7 +9,7 @@ class jackal_state : public driver_device { public: - jackal_state(const machine_config &mconfig, device_type type, const char *tag) + jackal_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoctrl(*this, "videoctrl"), m_mastercpu(*this, "master"), diff --git a/src/mame/includes/jaguar.h b/src/mame/includes/jaguar.h index cbee2eafd21..dcd43a32598 100644 --- a/src/mame/includes/jaguar.h +++ b/src/mame/includes/jaguar.h @@ -27,7 +27,7 @@ class jaguar_state : public driver_device { public: - jaguar_state(const machine_config &mconfig, device_type type, const char *tag) + jaguar_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gpu(*this, "gpu"), diff --git a/src/mame/includes/jailbrek.h b/src/mame/includes/jailbrek.h index 2a191f5360b..c7cb3bcaf6c 100644 --- a/src/mame/includes/jailbrek.h +++ b/src/mame/includes/jailbrek.h @@ -14,7 +14,7 @@ class jailbrek_state : public driver_device { public: - jailbrek_state(const machine_config &mconfig, device_type type, const char *tag) + jailbrek_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_colorram(*this, "colorram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/jedi.h b/src/mame/includes/jedi.h index a5f233a283c..96b82650351 100644 --- a/src/mame/includes/jedi.h +++ b/src/mame/includes/jedi.h @@ -19,7 +19,7 @@ class jedi_state : public driver_device { public: - jedi_state(const machine_config &mconfig, device_type type, const char *tag) + jedi_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_nvram(*this, "nvram") , m_foreground_bank(*this, "foreground_bank"), diff --git a/src/mame/includes/jpmimpct.h b/src/mame/includes/jpmimpct.h index 8be7a680e5a..b6cfa133088 100644 --- a/src/mame/includes/jpmimpct.h +++ b/src/mame/includes/jpmimpct.h @@ -59,7 +59,7 @@ struct bt477_t class jpmimpct_state : public driver_device { public: - jpmimpct_state(const machine_config &mconfig, device_type type, const char *tag) + jpmimpct_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_vfd(*this, "vfd"), m_vram(*this, "vram") , diff --git a/src/mame/includes/jpmsys5.h b/src/mame/includes/jpmsys5.h index d63877f4aba..16eaedcadc2 100644 --- a/src/mame/includes/jpmsys5.h +++ b/src/mame/includes/jpmsys5.h @@ -17,7 +17,7 @@ class jpmsys5_state : public driver_device { public: - jpmsys5_state(const machine_config &mconfig, device_type type, const char *tag) : + jpmsys5_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_acia6850_0(*this, "acia6850_0"), diff --git a/src/mame/includes/jupiter.h b/src/mame/includes/jupiter.h index ad89bc97a82..71643260d60 100644 --- a/src/mame/includes/jupiter.h +++ b/src/mame/includes/jupiter.h @@ -16,7 +16,7 @@ class jupiter2_state : public driver_device { public: - jupiter2_state(const machine_config &mconfig, device_type type, const char *tag) + jupiter2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, MCM6571AP_TAG) { } @@ -30,7 +30,7 @@ public: class jupiter3_state : public driver_device { public: - jupiter3_state(const machine_config &mconfig, device_type type, const char *tag) + jupiter3_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_p_videoram(*this, "p_videoram"), diff --git a/src/mame/includes/kaneko16.h b/src/mame/includes/kaneko16.h index cc8ae0ed4dd..422832ded6b 100644 --- a/src/mame/includes/kaneko16.h +++ b/src/mame/includes/kaneko16.h @@ -23,7 +23,7 @@ class kaneko16_state : public driver_device { public: - kaneko16_state(const machine_config &mconfig, device_type type, const char *tag) + kaneko16_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), @@ -98,7 +98,7 @@ public: template void kaneko16_fill_bitmap(palette_device* palette, _BitmapClass &bitmap, const rectangle &cliprect); - void kaneko16_common_oki_bank_w( const char *bankname, const char* tag, int bank, size_t fixedsize, size_t bankedsize ); + void kaneko16_common_oki_bank_w( const char *bankname, std::string tag, int bank, size_t fixedsize, size_t bankedsize ); void kaneko16_unscramble_tiles(const char *region); void kaneko16_expand_sample_banks(const char *region); }; @@ -106,7 +106,7 @@ public: class kaneko16_gtmr_state : public kaneko16_state { public: - kaneko16_gtmr_state(const machine_config &mconfig, device_type type, const char *tag) + kaneko16_gtmr_state(const machine_config &mconfig, device_type type, std::string tag) : kaneko16_state(mconfig, type, tag) { } @@ -130,7 +130,7 @@ public: class kaneko16_berlwall_state : public kaneko16_state { public: - kaneko16_berlwall_state(const machine_config &mconfig, device_type type, const char *tag) + kaneko16_berlwall_state(const machine_config &mconfig, device_type type, std::string tag) : kaneko16_state(mconfig, type, tag), m_bg15_select(*this, "bg15_select"), m_bg15_scroll(*this, "bg15_scroll"), @@ -170,7 +170,7 @@ public: class kaneko16_shogwarr_state : public kaneko16_state { public: - kaneko16_shogwarr_state(const machine_config &mconfig, device_type type, const char *tag) + kaneko16_shogwarr_state(const machine_config &mconfig, device_type type, std::string tag) : kaneko16_state(mconfig, type, tag), m_calc3_prot(*this, "calc3_prot") { diff --git a/src/mame/includes/kangaroo.h b/src/mame/includes/kangaroo.h index 2b73a14c28e..c7003cdee97 100644 --- a/src/mame/includes/kangaroo.h +++ b/src/mame/includes/kangaroo.h @@ -11,7 +11,7 @@ class kangaroo_state : public driver_device { public: - kangaroo_state(const machine_config &mconfig, device_type type, const char *tag) + kangaroo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_video_control(*this, "video_control"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/karnov.h b/src/mame/includes/karnov.h index 12d44893b99..24b767f2299 100644 --- a/src/mame/includes/karnov.h +++ b/src/mame/includes/karnov.h @@ -12,7 +12,7 @@ class karnov_state : public driver_device { public: - karnov_state(const machine_config &mconfig, device_type type, const char *tag) + karnov_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/kaypro.h b/src/mame/includes/kaypro.h index f2b5cc3df29..f30c5d76469 100644 --- a/src/mame/includes/kaypro.h +++ b/src/mame/includes/kaypro.h @@ -22,7 +22,7 @@ public: TIMER_FLOPPY }; - kaypro_state(const machine_config &mconfig, device_type type, const char *tag) + kaypro_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_maincpu(*this, "maincpu") diff --git a/src/mame/includes/kc.h b/src/mame/includes/kc.h index 65af7aeedb7..69d400e609b 100644 --- a/src/mame/includes/kc.h +++ b/src/mame/includes/kc.h @@ -57,7 +57,7 @@ class kc_state : public driver_device { public: - kc_state(const machine_config &mconfig, device_type type, const char *tag) + kc_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_z80pio(*this, "z80pio"), @@ -158,7 +158,7 @@ public: class kc85_4_state : public kc_state { public: - kc85_4_state(const machine_config &mconfig, device_type type, const char *tag) + kc85_4_state(const machine_config &mconfig, device_type type, std::string tag) : kc_state(mconfig, type, tag) { } diff --git a/src/mame/includes/kchamp.h b/src/mame/includes/kchamp.h index eec986424d7..56697036e51 100644 --- a/src/mame/includes/kchamp.h +++ b/src/mame/includes/kchamp.h @@ -10,7 +10,7 @@ class kchamp_state : public driver_device { public: - kchamp_state(const machine_config &mconfig, device_type type, const char *tag) + kchamp_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/kickgoal.h b/src/mame/includes/kickgoal.h index 94ddc5d3bd9..a475b5d3722 100644 --- a/src/mame/includes/kickgoal.h +++ b/src/mame/includes/kickgoal.h @@ -12,7 +12,7 @@ class kickgoal_state : public driver_device { public: - kickgoal_state(const machine_config &mconfig, device_type type, const char *tag) + kickgoal_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_fgram(*this, "fgram"), m_bgram(*this, "bgram"), diff --git a/src/mame/includes/kingobox.h b/src/mame/includes/kingobox.h index 9a7ee062627..ae1cd7cd16a 100644 --- a/src/mame/includes/kingobox.h +++ b/src/mame/includes/kingobox.h @@ -9,7 +9,7 @@ class kingofb_state : public driver_device { public: - kingofb_state(const machine_config &mconfig, device_type type, const char *tag) + kingofb_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_scroll_y(*this, "scroll_y"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/klax.h b/src/mame/includes/klax.h index d94cccd0714..f9aeb7492df 100644 --- a/src/mame/includes/klax.h +++ b/src/mame/includes/klax.h @@ -12,7 +12,7 @@ class klax_state : public atarigen_state { public: - klax_state(const machine_config &mconfig, device_type type, const char *tag) + klax_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_playfield_tilemap(*this, "playfield"), m_mob(*this, "mob") { } diff --git a/src/mame/includes/kncljoe.h b/src/mame/includes/kncljoe.h index cafa96ed3da..70db30803b1 100644 --- a/src/mame/includes/kncljoe.h +++ b/src/mame/includes/kncljoe.h @@ -9,7 +9,7 @@ class kncljoe_state : public driver_device { public: - kncljoe_state(const machine_config &mconfig, device_type type, const char *tag) + kncljoe_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_scrollregs(*this, "scrollregs"), diff --git a/src/mame/includes/konamigx.h b/src/mame/includes/konamigx.h index f5ee6f795d5..06f8de401ff 100644 --- a/src/mame/includes/konamigx.h +++ b/src/mame/includes/konamigx.h @@ -14,7 +14,7 @@ class konamigx_state : public driver_device { public: - konamigx_state(const machine_config &mconfig, device_type type, const char *tag) + konamigx_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/kopunch.h b/src/mame/includes/kopunch.h index 3d0e6d0fce3..87a197b3b25 100644 --- a/src/mame/includes/kopunch.h +++ b/src/mame/includes/kopunch.h @@ -9,7 +9,7 @@ class kopunch_state : public driver_device { public: - kopunch_state(const machine_config &mconfig, device_type type, const char *tag) + kopunch_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/kramermc.h b/src/mame/includes/kramermc.h index 7a0dbd6020e..e9b31d20bef 100644 --- a/src/mame/includes/kramermc.h +++ b/src/mame/includes/kramermc.h @@ -14,7 +14,7 @@ class kramermc_state : public driver_device { public: - kramermc_state(const machine_config &mconfig, device_type type, const char *tag) + kramermc_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/ksayakyu.h b/src/mame/includes/ksayakyu.h index 0f6873d8e7a..df22a15e076 100644 --- a/src/mame/includes/ksayakyu.h +++ b/src/mame/includes/ksayakyu.h @@ -9,7 +9,7 @@ class ksayakyu_state : public driver_device { public: - ksayakyu_state(const machine_config &mconfig, device_type type, const char *tag) + ksayakyu_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/kyocera.h b/src/mame/includes/kyocera.h index 43a1c835670..b642c03b206 100644 --- a/src/mame/includes/kyocera.h +++ b/src/mame/includes/kyocera.h @@ -55,7 +55,7 @@ class kc85_state : public driver_device { public: - kc85_state(const machine_config &mconfig, device_type type, const char *tag) + kc85_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, I8085_TAG), m_rtc(*this, UPD1990A_TAG), @@ -160,7 +160,7 @@ public: class trsm100_state : public kc85_state { public: - trsm100_state(const machine_config &mconfig, device_type type, const char *tag) + trsm100_state(const machine_config &mconfig, device_type type, std::string tag) : kc85_state(mconfig, type, tag) { } virtual void machine_start() override; @@ -169,7 +169,7 @@ public: class pc8201_state : public kc85_state { public: - pc8201_state(const machine_config &mconfig, device_type type, const char *tag) + pc8201_state(const machine_config &mconfig, device_type type, std::string tag) : kc85_state(mconfig, type, tag), m_cas_cart(*this, "cas_cartslot") { } @@ -199,7 +199,7 @@ public: class tandy200_state : public driver_device { public: - tandy200_state(const machine_config &mconfig, device_type type, const char *tag) + tandy200_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, I8085_TAG), m_rtc(*this, RP5C01A_TAG), diff --git a/src/mame/includes/kyugo.h b/src/mame/includes/kyugo.h index 3c3b113c1d9..bda0de526c6 100644 --- a/src/mame/includes/kyugo.h +++ b/src/mame/includes/kyugo.h @@ -9,7 +9,7 @@ class kyugo_state : public driver_device { public: - kyugo_state(const machine_config &mconfig, device_type type, const char *tag) + kyugo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_fgvideoram(*this, "fgvideoram"), m_bgvideoram(*this, "bgvideoram"), diff --git a/src/mame/includes/labyrunr.h b/src/mame/includes/labyrunr.h index 092b28a7503..e614f052311 100644 --- a/src/mame/includes/labyrunr.h +++ b/src/mame/includes/labyrunr.h @@ -12,7 +12,7 @@ class labyrunr_state : public driver_device { public: - labyrunr_state(const machine_config &mconfig, device_type type, const char *tag) + labyrunr_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_k007121(*this, "k007121"), m_maincpu(*this,"maincpu"), diff --git a/src/mame/includes/ladybug.h b/src/mame/includes/ladybug.h index 8b7308edf5c..42481ba3d48 100644 --- a/src/mame/includes/ladybug.h +++ b/src/mame/includes/ladybug.h @@ -11,7 +11,7 @@ class ladybug_state : public driver_device { public: - ladybug_state(const machine_config &mconfig, device_type type, const char *tag) + ladybug_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/ladyfrog.h b/src/mame/includes/ladyfrog.h index 39114c577dd..e75ae0b9185 100644 --- a/src/mame/includes/ladyfrog.h +++ b/src/mame/includes/ladyfrog.h @@ -11,7 +11,7 @@ class ladyfrog_state : public driver_device { public: - ladyfrog_state(const machine_config &mconfig, device_type type, const char *tag) + ladyfrog_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_scrlram(*this, "scrlram"), diff --git a/src/mame/includes/laserbat.h b/src/mame/includes/laserbat.h index f50cd4e1bd9..901f100b070 100644 --- a/src/mame/includes/laserbat.h +++ b/src/mame/includes/laserbat.h @@ -19,7 +19,7 @@ class laserbat_state_base : public driver_device { public: - laserbat_state_base(const machine_config &mconfig, device_type type, const char *tag) + laserbat_state_base(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_row0(*this, "ROW0") , m_row1(*this, "ROW1") @@ -153,7 +153,7 @@ protected: class laserbat_state : public laserbat_state_base { public: - laserbat_state(const machine_config &mconfig, device_type type, const char *tag) + laserbat_state(const machine_config &mconfig, device_type type, std::string tag) : laserbat_state_base(mconfig, type, tag) , m_csg(*this, "csg") , m_synth_low(*this, "synth_low") @@ -183,7 +183,7 @@ protected: class catnmous_state : public laserbat_state_base { public: - catnmous_state(const machine_config &mconfig, device_type type, const char *tag) + catnmous_state(const machine_config &mconfig, device_type type, std::string tag) : laserbat_state_base(mconfig, type, tag) , m_audiocpu(*this, "audiocpu") , m_pia(*this, "pia") diff --git a/src/mame/includes/lasso.h b/src/mame/includes/lasso.h index 617f03aeba9..1a00c99109f 100644 --- a/src/mame/includes/lasso.h +++ b/src/mame/includes/lasso.h @@ -11,7 +11,7 @@ class lasso_state : public driver_device { public: - lasso_state(const machine_config &mconfig, device_type type, const char *tag) + lasso_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/lastduel.h b/src/mame/includes/lastduel.h index 615bafd2a8d..48f4fa7b071 100644 --- a/src/mame/includes/lastduel.h +++ b/src/mame/includes/lastduel.h @@ -11,7 +11,7 @@ class lastduel_state : public driver_device { public: - lastduel_state(const machine_config &mconfig, device_type type, const char *tag) + lastduel_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/lazercmd.h b/src/mame/includes/lazercmd.h index 58134751943..34d952de1b1 100644 --- a/src/mame/includes/lazercmd.h +++ b/src/mame/includes/lazercmd.h @@ -25,7 +25,7 @@ class lazercmd_state : public driver_device { public: - lazercmd_state(const machine_config &mconfig, device_type type, const char *tag) + lazercmd_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), diff --git a/src/mame/includes/lc80.h b/src/mame/includes/lc80.h index 36788b37f00..6f7306b8a8f 100644 --- a/src/mame/includes/lc80.h +++ b/src/mame/includes/lc80.h @@ -23,7 +23,7 @@ class lc80_state : public driver_device { public: - lc80_state(const machine_config &mconfig, device_type type, const char *tag) + lc80_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_pio2(*this, Z80PIO2_TAG), diff --git a/src/mame/includes/legionna.h b/src/mame/includes/legionna.h index 456c28508e1..2bb5e29906f 100644 --- a/src/mame/includes/legionna.h +++ b/src/mame/includes/legionna.h @@ -8,7 +8,7 @@ class legionna_state : public driver_device { public: - legionna_state(const machine_config &mconfig, device_type type, const char *tag) + legionna_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), /*m_back_data(*this, "back_data"), diff --git a/src/mame/includes/leland.h b/src/mame/includes/leland.h index ab2133cef3b..c0b2a5dbdfc 100644 --- a/src/mame/includes/leland.h +++ b/src/mame/includes/leland.h @@ -27,7 +27,7 @@ class leland_80186_sound_device; class leland_state : public driver_device { public: - leland_state(const machine_config &mconfig, device_type type, const char *tag) + leland_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_master(*this, "master"), m_slave(*this, "slave"), @@ -210,8 +210,8 @@ public: class leland_80186_sound_device : public device_t { public: - leland_80186_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - leland_80186_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + leland_80186_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + leland_80186_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); virtual machine_config_constructor device_mconfig_additions() const override; DECLARE_WRITE16_MEMBER(peripheral_ctrl); @@ -284,7 +284,7 @@ extern const device_type LELAND_80186; class redline_80186_sound_device : public leland_80186_sound_device { public: - redline_80186_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + redline_80186_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); DECLARE_WRITE16_MEMBER(redline_dac_w); virtual machine_config_constructor device_mconfig_additions() const override; }; @@ -294,7 +294,7 @@ extern const device_type REDLINE_80186; class ataxx_80186_sound_device : public leland_80186_sound_device { public: - ataxx_80186_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + ataxx_80186_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); virtual machine_config_constructor device_mconfig_additions() const override; }; @@ -303,7 +303,7 @@ extern const device_type ATAXX_80186; class wsf_80186_sound_device : public leland_80186_sound_device { public: - wsf_80186_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + wsf_80186_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); virtual machine_config_constructor device_mconfig_additions() const override; }; diff --git a/src/mame/includes/lemmings.h b/src/mame/includes/lemmings.h index 2e91c0d7250..ebe68cbe291 100644 --- a/src/mame/includes/lemmings.h +++ b/src/mame/includes/lemmings.h @@ -7,7 +7,7 @@ class lemmings_state : public driver_device { public: - lemmings_state(const machine_config &mconfig, device_type type, const char *tag) + lemmings_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bitmap0(2048, 256), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/lethal.h b/src/mame/includes/lethal.h index f53c540f38d..adeeaa06841 100644 --- a/src/mame/includes/lethal.h +++ b/src/mame/includes/lethal.h @@ -16,7 +16,7 @@ class lethal_state : public driver_device { public: - lethal_state(const machine_config &mconfig, device_type type, const char *tag) + lethal_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/lethalj.h b/src/mame/includes/lethalj.h index eb501e82122..c2f54d4ed02 100644 --- a/src/mame/includes/lethalj.h +++ b/src/mame/includes/lethalj.h @@ -17,7 +17,7 @@ public: TIMER_GEN_EXT1_INT }; - lethalj_state(const machine_config &mconfig, device_type type, const char *tag) + lethalj_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_screen(*this, "screen"), diff --git a/src/mame/includes/liberate.h b/src/mame/includes/liberate.h index c57acc02391..1ef009a4388 100644 --- a/src/mame/includes/liberate.h +++ b/src/mame/includes/liberate.h @@ -3,7 +3,7 @@ class liberate_state : public driver_device { public: - liberate_state(const machine_config &mconfig, device_type type, const char *tag) + liberate_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bg_vram(*this, "bg_vram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/liberatr.h b/src/mame/includes/liberatr.h index 39e3c11b967..871fe96ff96 100644 --- a/src/mame/includes/liberatr.h +++ b/src/mame/includes/liberatr.h @@ -13,7 +13,7 @@ class liberatr_state : public atarigen_state { public: - liberatr_state(const machine_config &mconfig, device_type type, const char *tag) + liberatr_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_base_ram(*this, "base_ram"), m_planet_frame(*this, "planet_frame"), diff --git a/src/mame/includes/lisa.h b/src/mame/includes/lisa.h index f359191d605..0c7db6081e2 100644 --- a/src/mame/includes/lisa.h +++ b/src/mame/includes/lisa.h @@ -101,7 +101,7 @@ struct lisa_features_t class lisa_state : public driver_device { public: - lisa_state(const machine_config &mconfig, device_type type, const char *tag) + lisa_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_via0(*this, "via6522_0"), diff --git a/src/mame/includes/lkage.h b/src/mame/includes/lkage.h index 863e84b1f5e..fc87e89b2cc 100644 --- a/src/mame/includes/lkage.h +++ b/src/mame/includes/lkage.h @@ -4,7 +4,7 @@ class lkage_state : public driver_device { public: - lkage_state(const machine_config &mconfig, device_type type, const char *tag) + lkage_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_vreg(*this, "vreg"), m_scroll(*this, "scroll"), diff --git a/src/mame/includes/llc.h b/src/mame/includes/llc.h index e74bf7f5acc..f79d0245c6a 100644 --- a/src/mame/includes/llc.h +++ b/src/mame/includes/llc.h @@ -21,7 +21,7 @@ class llc_state : public driver_device { public: - llc_state(const machine_config &mconfig, device_type type, const char *tag) + llc_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_speaker(*this, "speaker"), m_p_videoram(*this, "videoram"), diff --git a/src/mame/includes/lockon.h b/src/mame/includes/lockon.h index 86407bd3671..83e2df256f3 100644 --- a/src/mame/includes/lockon.h +++ b/src/mame/includes/lockon.h @@ -22,7 +22,7 @@ class lockon_state : public driver_device { public: - lockon_state(const machine_config &mconfig, device_type type, const char *tag) + lockon_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_char_ram(*this, "char_ram"), m_hud_ram(*this, "hud_ram"), diff --git a/src/mame/includes/lordgun.h b/src/mame/includes/lordgun.h index fbc1b57227e..9dd8826ffea 100644 --- a/src/mame/includes/lordgun.h +++ b/src/mame/includes/lordgun.h @@ -17,7 +17,7 @@ struct lordgun_gun_data class lordgun_state : public driver_device { public: - lordgun_state(const machine_config &mconfig, device_type type, const char *tag) + lordgun_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/lsasquad.h b/src/mame/includes/lsasquad.h index 17f4c2faf16..adeafdb133d 100644 --- a/src/mame/includes/lsasquad.h +++ b/src/mame/includes/lsasquad.h @@ -4,7 +4,7 @@ class lsasquad_state : public driver_device { public: - lsasquad_state(const machine_config &mconfig, device_type type, const char *tag) + lsasquad_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_scrollram(*this, "scrollram"), diff --git a/src/mame/includes/lucky74.h b/src/mame/includes/lucky74.h index 64f2e25322e..763c0c1f48c 100644 --- a/src/mame/includes/lucky74.h +++ b/src/mame/includes/lucky74.h @@ -5,7 +5,7 @@ class lucky74_state : public driver_device { public: - lucky74_state(const machine_config &mconfig, device_type type, const char *tag) + lucky74_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_fg_videoram(*this, "fg_videoram"), m_fg_colorram(*this, "fg_colorram"), diff --git a/src/mame/includes/lvcards.h b/src/mame/includes/lvcards.h index 851559d18bb..bd24205ae11 100644 --- a/src/mame/includes/lvcards.h +++ b/src/mame/includes/lvcards.h @@ -3,7 +3,7 @@ class lvcards_state : public driver_device { public: - lvcards_state(const machine_config &mconfig, device_type type, const char *tag) + lvcards_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/lviv.h b/src/mame/includes/lviv.h index f0634fc237d..a1f387223c3 100644 --- a/src/mame/includes/lviv.h +++ b/src/mame/includes/lviv.h @@ -18,7 +18,7 @@ class lviv_state : public driver_device { public: - lviv_state(const machine_config &mconfig, device_type type, const char *tag) + lviv_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/includes/lwings.h b/src/mame/includes/lwings.h index 6a7dedb889c..0c9f08dfd47 100644 --- a/src/mame/includes/lwings.h +++ b/src/mame/includes/lwings.h @@ -6,7 +6,7 @@ class lwings_state : public driver_device { public: - lwings_state(const machine_config &mconfig, device_type type, const char *tag) + lwings_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram") , m_fgvideoram(*this, "fgvideoram"), diff --git a/src/mame/includes/lynx.h b/src/mame/includes/lynx.h index f11b34bd69f..61cf1efd015 100644 --- a/src/mame/includes/lynx.h +++ b/src/mame/includes/lynx.h @@ -106,7 +106,7 @@ public: TIMER_UART }; - lynx_state(const machine_config &mconfig, device_type type, const char *tag) + lynx_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_mem_0000(*this, "mem_0000"), m_mem_fc00(*this, "mem_fc00"), diff --git a/src/mame/includes/m10.h b/src/mame/includes/m10.h index 7f9ff1a4557..d5e403e4343 100644 --- a/src/mame/includes/m10.h +++ b/src/mame/includes/m10.h @@ -39,7 +39,7 @@ public: TIMER_INTERRUPT }; - m10_state(const machine_config &mconfig, device_type type, const char *tag) + m10_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_memory(*this, "memory"), m_rom(*this, "rom"), diff --git a/src/mame/includes/m107.h b/src/mame/includes/m107.h index f34df43c638..cd50e8c0a15 100644 --- a/src/mame/includes/m107.h +++ b/src/mame/includes/m107.h @@ -17,7 +17,7 @@ struct pf_layer_info class m107_state : public driver_device { public: - m107_state(const machine_config &mconfig, device_type type, const char *tag) + m107_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/m5.h b/src/mame/includes/m5.h index 7ba55be8172..bedd52c0940 100644 --- a/src/mame/includes/m5.h +++ b/src/mame/includes/m5.h @@ -19,7 +19,7 @@ class m5_state : public driver_device { public: - m5_state(const machine_config &mconfig, device_type type, const char *tag) + m5_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_fd5cpu(*this, Z80_FD5_TAG), diff --git a/src/mame/includes/m52.h b/src/mame/includes/m52.h index d1efe7dc698..1564cd64f57 100644 --- a/src/mame/includes/m52.h +++ b/src/mame/includes/m52.h @@ -3,7 +3,7 @@ class m52_state : public driver_device { public: - m52_state(const machine_config &mconfig, device_type type, const char *tag) + m52_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/m57.h b/src/mame/includes/m57.h index c54442ee974..43fa6483ebb 100644 --- a/src/mame/includes/m57.h +++ b/src/mame/includes/m57.h @@ -3,7 +3,7 @@ class m57_state : public driver_device { public: - m57_state(const machine_config &mconfig, device_type type, const char *tag) + m57_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_scrollram(*this, "scrollram"), diff --git a/src/mame/includes/m58.h b/src/mame/includes/m58.h index 6254d3e86d5..e47aaa9ab05 100644 --- a/src/mame/includes/m58.h +++ b/src/mame/includes/m58.h @@ -4,7 +4,7 @@ class m58_state : public driver_device { public: - m58_state(const machine_config &mconfig, device_type type, const char *tag) + m58_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/m62.h b/src/mame/includes/m62.h index 40d09120cab..e5dfeb2b4e6 100644 --- a/src/mame/includes/m62.h +++ b/src/mame/includes/m62.h @@ -6,7 +6,7 @@ class m62_state : public driver_device { public: - m62_state(const machine_config &mconfig, device_type type, const char *tag) + m62_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_m62_tileram(*this, "m62_tileram"), diff --git a/src/mame/includes/m72.h b/src/mame/includes/m72.h index 29afaea26c7..3966d25f6ad 100644 --- a/src/mame/includes/m72.h +++ b/src/mame/includes/m72.h @@ -24,7 +24,7 @@ class m72_state : public driver_device { public: - m72_state(const machine_config &mconfig, device_type type, const char *tag) + m72_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/m79amb.h b/src/mame/includes/m79amb.h index 22574023cf5..46024b05624 100644 --- a/src/mame/includes/m79amb.h +++ b/src/mame/includes/m79amb.h @@ -5,7 +5,7 @@ class m79amb_state : public driver_device { public: - m79amb_state(const machine_config &mconfig, device_type type, const char *tag) + m79amb_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_mask(*this, "mask"), diff --git a/src/mame/includes/m90.h b/src/mame/includes/m90.h index 20412db5fe2..a5926e06189 100644 --- a/src/mame/includes/m90.h +++ b/src/mame/includes/m90.h @@ -5,7 +5,7 @@ class m90_state : public driver_device { public: - m90_state(const machine_config &mconfig, device_type type, const char *tag) + m90_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_video_data(*this, "video_data"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/m92.h b/src/mame/includes/m92.h index ceff8595f12..37246141a96 100644 --- a/src/mame/includes/m92.h +++ b/src/mame/includes/m92.h @@ -26,7 +26,7 @@ public: TIMER_SPRITEBUFFER }; - m92_state(const machine_config &mconfig, device_type type, const char *tag) + m92_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_vram_data(*this, "vram_data"), diff --git a/src/mame/includes/mac.h b/src/mame/includes/mac.h index 8b093993abc..18fba9b90c0 100644 --- a/src/mame/includes/mac.h +++ b/src/mame/includes/mac.h @@ -151,7 +151,7 @@ class mac_sound_device : public device_t, public device_sound_interface { public: - mac_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + mac_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); ~mac_sound_device() {} void enable_sound(int on); @@ -190,7 +190,7 @@ extern const device_type MAC_SOUND; class mac_state : public driver_device { public: - mac_state(const machine_config &mconfig, device_type type, const char *tag) + mac_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_via1(*this, "via6522_0"), diff --git a/src/mame/includes/macpci.h b/src/mame/includes/macpci.h index 5494942a6d2..e42790a90dd 100644 --- a/src/mame/includes/macpci.h +++ b/src/mame/includes/macpci.h @@ -76,7 +76,7 @@ enum model_t class macpci_state : public driver_device { public: - macpci_state(const machine_config &mconfig, device_type type, const char *tag) + macpci_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_via1(*this, "via6522_0"), diff --git a/src/mame/includes/macrossp.h b/src/mame/includes/macrossp.h index ffcbb5e89f5..d578e07af15 100644 --- a/src/mame/includes/macrossp.h +++ b/src/mame/includes/macrossp.h @@ -9,7 +9,7 @@ class macrossp_state : public driver_device { public: - macrossp_state(const machine_config &mconfig, device_type type, const char *tag) + macrossp_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_scra_videoram(*this, "scra_videoram"), diff --git a/src/mame/includes/madalien.h b/src/mame/includes/madalien.h index 475823d53a9..eeb3229ed5c 100644 --- a/src/mame/includes/madalien.h +++ b/src/mame/includes/madalien.h @@ -17,7 +17,7 @@ class madalien_state : public driver_device { public: - madalien_state(const machine_config &mconfig, device_type type, const char *tag) + madalien_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_charram(*this, "charram"), diff --git a/src/mame/includes/madmotor.h b/src/mame/includes/madmotor.h index bb8c3c288e2..07d6a360df9 100644 --- a/src/mame/includes/madmotor.h +++ b/src/mame/includes/madmotor.h @@ -12,7 +12,7 @@ class madmotor_state : public driver_device { public: - madmotor_state(const machine_config &mconfig, device_type type, const char *tag) + madmotor_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/magmax.h b/src/mame/includes/magmax.h index 36199b3c49c..41b3f635ab2 100644 --- a/src/mame/includes/magmax.h +++ b/src/mame/includes/magmax.h @@ -3,7 +3,7 @@ class magmax_state : public driver_device { public: - magmax_state(const machine_config &mconfig, device_type type, const char *tag) + magmax_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/mainevt.h b/src/mame/includes/mainevt.h index 32973d75bc7..cfb36fdf4c3 100644 --- a/src/mame/includes/mainevt.h +++ b/src/mame/includes/mainevt.h @@ -15,7 +15,7 @@ class mainevt_state : public driver_device { public: - mainevt_state(const machine_config &mconfig, device_type type, const char *tag) + mainevt_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/mainsnk.h b/src/mame/includes/mainsnk.h index e1240a8d8c2..80461f64b53 100644 --- a/src/mame/includes/mainsnk.h +++ b/src/mame/includes/mainsnk.h @@ -3,7 +3,7 @@ class mainsnk_state : public driver_device { public: - mainsnk_state(const machine_config &mconfig, device_type type, const char *tag) + mainsnk_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/malzak.h b/src/mame/includes/malzak.h index 00f4e3a2afb..778141d9817 100644 --- a/src/mame/includes/malzak.h +++ b/src/mame/includes/malzak.h @@ -12,7 +12,7 @@ class malzak_state : public driver_device { public: - malzak_state(const machine_config &mconfig, device_type type, const char *tag) + malzak_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_s2636_0(*this, "s2636_0"), diff --git a/src/mame/includes/mappy.h b/src/mame/includes/mappy.h index 8bbfcf8ff25..f2851c03e2b 100644 --- a/src/mame/includes/mappy.h +++ b/src/mame/includes/mappy.h @@ -30,7 +30,7 @@ public: GAME_MOTOS }; - mappy_state(const machine_config &mconfig, device_type type, const char *tag) + mappy_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/marineb.h b/src/mame/includes/marineb.h index c96b4b91165..f77bda2a8e5 100644 --- a/src/mame/includes/marineb.h +++ b/src/mame/includes/marineb.h @@ -3,7 +3,7 @@ class marineb_state : public driver_device { public: - marineb_state(const machine_config &mconfig, device_type type, const char *tag) + marineb_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/mario.h b/src/mame/includes/mario.h index b19a4faa211..0d7ccfa0301 100644 --- a/src/mame/includes/mario.h +++ b/src/mame/includes/mario.h @@ -44,7 +44,7 @@ class mario_state : public driver_device { public: - mario_state(const machine_config &mconfig, device_type type, const char *tag) + mario_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/markham.h b/src/mame/includes/markham.h index c64bfadd5da..301b2d9a815 100644 --- a/src/mame/includes/markham.h +++ b/src/mame/includes/markham.h @@ -9,7 +9,7 @@ class markham_state : public driver_device { public: - markham_state(const machine_config &mconfig, device_type type, const char *tag) + markham_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/matmania.h b/src/mame/includes/matmania.h index af41168bed5..155afef4849 100644 --- a/src/mame/includes/matmania.h +++ b/src/mame/includes/matmania.h @@ -4,7 +4,7 @@ class matmania_state : public driver_device { public: - matmania_state(const machine_config &mconfig, device_type type, const char *tag) + matmania_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_videoram2(*this, "videoram2"), diff --git a/src/mame/includes/maygay1b.h b/src/mame/includes/maygay1b.h index b76f3192a33..8e4dca521f9 100644 --- a/src/mame/includes/maygay1b.h +++ b/src/mame/includes/maygay1b.h @@ -29,7 +29,7 @@ class maygay1b_state : public driver_device { public: - maygay1b_state(const machine_config &mconfig, device_type type, const char *tag) + maygay1b_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_vfd(*this, "vfd"), diff --git a/src/mame/includes/mbc55x.h b/src/mame/includes/mbc55x.h index 7069084d83e..a1646f5375d 100644 --- a/src/mame/includes/mbc55x.h +++ b/src/mame/includes/mbc55x.h @@ -89,7 +89,7 @@ struct keyboard_t class mbc55x_state : public driver_device { public: - mbc55x_state(const machine_config &mconfig, device_type type, const char *tag) + mbc55x_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, MAINCPU_TAG), m_crtc(*this, VID_MC6845_NAME), diff --git a/src/mame/includes/mbee.h b/src/mame/includes/mbee.h index 57ae0501ec0..81295cf11fd 100644 --- a/src/mame/includes/mbee.h +++ b/src/mame/includes/mbee.h @@ -33,7 +33,7 @@ public: TIMER_MBEE_NEWKB }; - mbee_state(const machine_config &mconfig, device_type type, const char *tag) + mbee_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_maincpu(*this, "maincpu") diff --git a/src/mame/includes/mboard.h b/src/mame/includes/mboard.h index b6e8c5028f4..4c292c055ac 100644 --- a/src/mame/includes/mboard.h +++ b/src/mame/includes/mboard.h @@ -41,7 +41,7 @@ enum class mboard_state : public driver_device { public: - mboard_state(const machine_config &mconfig, device_type type, const char *tag) + mboard_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_line(*this, "LINE"), diff --git a/src/mame/includes/mc1000.h b/src/mame/includes/mc1000.h index 32ba93e2fe0..36e90ea8501 100644 --- a/src/mame/includes/mc1000.h +++ b/src/mame/includes/mc1000.h @@ -27,7 +27,7 @@ class mc1000_state : public driver_device { public: - mc1000_state(const machine_config &mconfig, device_type type, const char *tag) + mc1000_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_vdg(*this, MC6847_TAG), diff --git a/src/mame/includes/mc1502.h b/src/mame/includes/mc1502.h index 28b38aca85e..80bf80d65cd 100644 --- a/src/mame/includes/mc1502.h +++ b/src/mame/includes/mc1502.h @@ -23,7 +23,7 @@ class mc1502_state : public driver_device { public: - mc1502_state(const machine_config &mconfig, device_type type, const char *tag) + mc1502_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_upd8251(*this, "upd8251"), diff --git a/src/mame/includes/mc80.h b/src/mame/includes/mc80.h index 74699a2327c..f530175a058 100644 --- a/src/mame/includes/mc80.h +++ b/src/mame/includes/mc80.h @@ -18,7 +18,7 @@ class mc80_state : public driver_device { public: - mc80_state(const machine_config &mconfig, device_type type, const char *tag) + mc80_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_p_videoram(*this, "videoram"), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/includes/mcatadv.h b/src/mame/includes/mcatadv.h index 9e382505896..42ea7b1f535 100644 --- a/src/mame/includes/mcatadv.h +++ b/src/mame/includes/mcatadv.h @@ -4,7 +4,7 @@ class mcatadv_state : public driver_device { public: - mcatadv_state(const machine_config &mconfig, device_type type, const char *tag) + mcatadv_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram1(*this, "videoram1"), m_videoram2(*this, "videoram2"), diff --git a/src/mame/includes/mcr.h b/src/mame/includes/mcr.h index ff7937f669c..0826c0ee263 100644 --- a/src/mame/includes/mcr.h +++ b/src/mame/includes/mcr.h @@ -21,7 +21,7 @@ class mcr_state : public driver_device { public: - mcr_state(const machine_config &mconfig, device_type type, const char *tag) + mcr_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ipu(*this, "ipu"), diff --git a/src/mame/includes/mcr3.h b/src/mame/includes/mcr3.h index 8f4bf006bc7..8a3d86c581f 100644 --- a/src/mame/includes/mcr3.h +++ b/src/mame/includes/mcr3.h @@ -3,7 +3,7 @@ class mcr3_state : public mcr_state { public: - mcr3_state(const machine_config &mconfig, device_type type, const char *tag) + mcr3_state(const machine_config &mconfig, device_type type, std::string tag) : mcr_state(mconfig, type, tag), m_spyhunt_alpharam(*this, "spyhunt_alpha"), m_screen(*this, "screen") { } diff --git a/src/mame/includes/mcr68.h b/src/mame/includes/mcr68.h index 56f4f10a94e..17ac3e492d7 100644 --- a/src/mame/includes/mcr68.h +++ b/src/mame/includes/mcr68.h @@ -17,7 +17,7 @@ struct counter_state class mcr68_state : public driver_device { public: - mcr68_state(const machine_config &mconfig, device_type type, const char *tag) + mcr68_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_chip_squeak_deluxe(*this, "csd"), m_sounds_good(*this, "sg"), diff --git a/src/mame/includes/md_cons.h b/src/mame/includes/md_cons.h index f7fc4e5054c..51a0920ec0c 100644 --- a/src/mame/includes/md_cons.h +++ b/src/mame/includes/md_cons.h @@ -11,7 +11,7 @@ class md_cons_state : public md_base_state { public: - md_cons_state(const machine_config &mconfig, device_type type, const char *tag) + md_cons_state(const machine_config &mconfig, device_type type, std::string tag) : md_base_state(mconfig, type, tag), m_32x(*this,"sega32x"), m_segacd(*this,"segacd"), diff --git a/src/mame/includes/meadows.h b/src/mame/includes/meadows.h index f8c0e47fa94..65ba0b0def9 100644 --- a/src/mame/includes/meadows.h +++ b/src/mame/includes/meadows.h @@ -13,7 +13,7 @@ class meadows_state : public driver_device { public: - meadows_state(const machine_config &mconfig, device_type type, const char *tag) + meadows_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/megadriv.h b/src/mame/includes/megadriv.h index b2461c802c5..2240034e12c 100644 --- a/src/mame/includes/megadriv.h +++ b/src/mame/includes/megadriv.h @@ -40,7 +40,7 @@ struct genesis_z80_vars class md_base_state : public driver_device { public: - md_base_state(const machine_config &mconfig, device_type type, const char *tag) + md_base_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_z80snd(*this,"genesis_snd_z80"), @@ -135,7 +135,7 @@ public: class md_boot_state : public md_base_state { public: - md_boot_state(const machine_config &mconfig, device_type type, const char *tag) + md_boot_state(const machine_config &mconfig, device_type type, std::string tag) : md_base_state(mconfig, type, tag) { m_protcount = 0;} // bootleg specific diff --git a/src/mame/includes/megasys1.h b/src/mame/includes/megasys1.h index 414b670cc36..bc034b102da 100644 --- a/src/mame/includes/megasys1.h +++ b/src/mame/includes/megasys1.h @@ -21,7 +21,7 @@ class megasys1_state : public driver_device { public: - megasys1_state(const machine_config &mconfig, device_type type, const char *tag) + megasys1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_vregs(*this, "vregs"), m_objectram(*this, "objectram"), diff --git a/src/mame/includes/megazone.h b/src/mame/includes/megazone.h index 8621b5c90af..2a312eaae00 100644 --- a/src/mame/includes/megazone.h +++ b/src/mame/includes/megazone.h @@ -9,7 +9,7 @@ class megazone_state : public driver_device { public: - megazone_state(const machine_config &mconfig, device_type type, const char *tag) + megazone_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_scrolly(*this, "scrolly"), m_scrollx(*this, "scrollx"), diff --git a/src/mame/includes/mermaid.h b/src/mame/includes/mermaid.h index bbe17d2e161..e4dcaf228fb 100644 --- a/src/mame/includes/mermaid.h +++ b/src/mame/includes/mermaid.h @@ -11,7 +11,7 @@ class mermaid_state : public driver_device { public: - mermaid_state(const machine_config &mconfig, device_type type, const char *tag) + mermaid_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram2(*this, "videoram2"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/metalmx.h b/src/mame/includes/metalmx.h index 9c321e209c6..646b8ca79a3 100644 --- a/src/mame/includes/metalmx.h +++ b/src/mame/includes/metalmx.h @@ -8,7 +8,7 @@ class metalmx_state : public driver_device { public: - metalmx_state(const machine_config &mconfig, device_type type, const char *tag) + metalmx_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gsp(*this, "gsp"), diff --git a/src/mame/includes/metlclsh.h b/src/mame/includes/metlclsh.h index b8783156faa..1c667f9d8c4 100644 --- a/src/mame/includes/metlclsh.h +++ b/src/mame/includes/metlclsh.h @@ -9,7 +9,7 @@ class metlclsh_state : public driver_device { public: - metlclsh_state(const machine_config &mconfig, device_type type, const char *tag) + metlclsh_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_fgram(*this, "fgram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/metro.h b/src/mame/includes/metro.h index e47da64dfaa..7bfaaab6cdb 100644 --- a/src/mame/includes/metro.h +++ b/src/mame/includes/metro.h @@ -22,7 +22,7 @@ public: TIMER_METRO_BLIT_DONE }; - metro_state(const machine_config &mconfig, device_type type, const char *tag) + metro_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/mexico86.h b/src/mame/includes/mexico86.h index 7083c202795..2a44f786995 100644 --- a/src/mame/includes/mexico86.h +++ b/src/mame/includes/mexico86.h @@ -5,7 +5,7 @@ class mexico86_state : public driver_device { public: - mexico86_state(const machine_config &mconfig, device_type type, const char *tag) + mexico86_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_objectram(*this, "objectram"), m_protection_ram(*this, "protection_ram"), diff --git a/src/mame/includes/mhavoc.h b/src/mame/includes/mhavoc.h index 1758ebcd67b..aa3900940f7 100644 --- a/src/mame/includes/mhavoc.h +++ b/src/mame/includes/mhavoc.h @@ -20,7 +20,7 @@ class mhavoc_state : public driver_device { public: - mhavoc_state(const machine_config &mconfig, device_type type, const char *tag) + mhavoc_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_zram0(*this, "zram0"), m_zram1(*this, "zram1"), diff --git a/src/mame/includes/micro3d.h b/src/mame/includes/micro3d.h index e6295b78ae0..2b9a826a8d2 100644 --- a/src/mame/includes/micro3d.h +++ b/src/mame/includes/micro3d.h @@ -50,7 +50,7 @@ public: TIMER_ADC_DONE }; - micro3d_state(const machine_config &mconfig, device_type type, const char *tag) + micro3d_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), @@ -229,7 +229,7 @@ class micro3d_sound_device : public device_t, public device_sound_interface { public: - micro3d_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + micro3d_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); ~micro3d_sound_device() {} void noise_sh_w(UINT8 data); diff --git a/src/mame/includes/micronic.h b/src/mame/includes/micronic.h index 2284e875dbe..999e1c38691 100644 --- a/src/mame/includes/micronic.h +++ b/src/mame/includes/micronic.h @@ -25,7 +25,7 @@ class micronic_state : public driver_device { public: - micronic_state(const machine_config &mconfig, device_type type, const char *tag) + micronic_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_lcdc(*this, HD61830_TAG), diff --git a/src/mame/includes/microtan.h b/src/mame/includes/microtan.h index c9e990ea472..d8ae616a6e1 100644 --- a/src/mame/includes/microtan.h +++ b/src/mame/includes/microtan.h @@ -30,7 +30,7 @@ public: TIMER_PULSE_NMI }; - microtan_state(const machine_config &mconfig, device_type type, const char *tag) + microtan_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/midtunit.h b/src/mame/includes/midtunit.h index e64a7992611..1707fa91c61 100644 --- a/src/mame/includes/midtunit.h +++ b/src/mame/includes/midtunit.h @@ -18,7 +18,7 @@ public: TIMER_DMA }; - midtunit_state(const machine_config &mconfig, device_type type, const char *tag) + midtunit_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette"), diff --git a/src/mame/includes/midvunit.h b/src/mame/includes/midvunit.h index 196f4e64bb4..bbf3f2e3a84 100644 --- a/src/mame/includes/midvunit.h +++ b/src/mame/includes/midvunit.h @@ -47,7 +47,7 @@ public: TIMER_SCANLINE }; - midvunit_state(const machine_config &mconfig, device_type type, const char *tag) + midvunit_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_nvram(*this, "nvram"), m_ram_base(*this, "ram_base"), diff --git a/src/mame/includes/midwunit.h b/src/mame/includes/midwunit.h index c9a210bca9a..775086484ae 100644 --- a/src/mame/includes/midwunit.h +++ b/src/mame/includes/midwunit.h @@ -11,7 +11,7 @@ class midwunit_state : public midtunit_state { public: - midwunit_state(const machine_config &mconfig, device_type type, const char *tag) + midwunit_state(const machine_config &mconfig, device_type type, std::string tag) : midtunit_state(mconfig, type, tag), m_midway_serial_pic(*this, "serial_pic"), m_nvram(*this, "nvram"), diff --git a/src/mame/includes/midxunit.h b/src/mame/includes/midxunit.h index 1f25950dc9f..a9288ee8685 100644 --- a/src/mame/includes/midxunit.h +++ b/src/mame/includes/midxunit.h @@ -11,7 +11,7 @@ class midxunit_state : public midtunit_state { public: - midxunit_state(const machine_config &mconfig, device_type type, const char *tag) + midxunit_state(const machine_config &mconfig, device_type type, std::string tag) : midtunit_state(mconfig, type, tag), m_nvram(*this, "nvram"), m_midway_serial_pic(*this, "serial_pic") { } diff --git a/src/mame/includes/midyunit.h b/src/mame/includes/midyunit.h index b6b03c975bf..2cfd5bc43b3 100644 --- a/src/mame/includes/midyunit.h +++ b/src/mame/includes/midyunit.h @@ -41,7 +41,7 @@ public: TIMER_AUTOERASE_LINE }; - midyunit_state(const machine_config &mconfig, device_type type, const char *tag) + midyunit_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/midzeus.h b/src/mame/includes/midzeus.h index 54850ec49d3..e9574f20fc2 100644 --- a/src/mame/includes/midzeus.h +++ b/src/mame/includes/midzeus.h @@ -13,7 +13,7 @@ class midzeus_state : public driver_device { public: - midzeus_state(const machine_config &mconfig, device_type type, const char *tag) + midzeus_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_nvram(*this, "nvram"), m_ram_base(*this, "ram_base"), @@ -89,7 +89,7 @@ private: class midzeus2_state : public midzeus_state { public: - midzeus2_state(const machine_config &mconfig, device_type type, const char *tag) + midzeus2_state(const machine_config &mconfig, device_type type, std::string tag) : midzeus_state(mconfig, type, tag) { } DECLARE_VIDEO_START(midzeus2); diff --git a/src/mame/includes/mikie.h b/src/mame/includes/mikie.h index cdd6a8887bc..8bf9b52c0a1 100644 --- a/src/mame/includes/mikie.h +++ b/src/mame/includes/mikie.h @@ -9,7 +9,7 @@ class mikie_state : public driver_device { public: - mikie_state(const machine_config &mconfig, device_type type, const char *tag) + mikie_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/mikro80.h b/src/mame/includes/mikro80.h index 441ca98bcda..43605587be3 100644 --- a/src/mame/includes/mikro80.h +++ b/src/mame/includes/mikro80.h @@ -20,7 +20,7 @@ public: TIMER_RESET }; - mikro80_state(const machine_config &mconfig, device_type type, const char *tag) + mikro80_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_cursor_ram(*this, "cursor_ram"), m_video_ram(*this, "video_ram"), diff --git a/src/mame/includes/mikromik.h b/src/mame/includes/mikromik.h index fd87077d48c..0dfa8412ceb 100644 --- a/src/mame/includes/mikromik.h +++ b/src/mame/includes/mikromik.h @@ -35,7 +35,7 @@ class mm1_state : public driver_device { public: - mm1_state(const machine_config &mconfig, device_type type, const char *tag) : + mm1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, I8085A_TAG), m_iop(*this, I8212_TAG), diff --git a/src/mame/includes/mitchell.h b/src/mame/includes/mitchell.h index b94aad312e0..0a0d6aa5f0e 100644 --- a/src/mame/includes/mitchell.h +++ b/src/mame/includes/mitchell.h @@ -14,7 +14,7 @@ class mitchell_state : public driver_device { public: - mitchell_state(const machine_config &mconfig, device_type type, const char *tag) + mitchell_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/mjkjidai.h b/src/mame/includes/mjkjidai.h index d3b2946bb2c..6cf0e86f082 100644 --- a/src/mame/includes/mjkjidai.h +++ b/src/mame/includes/mjkjidai.h @@ -6,7 +6,7 @@ class mjkjidai_state : public driver_device { public: - mjkjidai_state(const machine_config &mconfig, device_type type, const char *tag) + mjkjidai_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_msm(*this, "msm"), diff --git a/src/mame/includes/model1.h b/src/mame/includes/model1.h index 824766648e5..fd627b33376 100644 --- a/src/mame/includes/model1.h +++ b/src/mame/includes/model1.h @@ -13,7 +13,7 @@ enum {MAT_STACK_SIZE = 32}; class model1_state : public driver_device { public: - model1_state(const machine_config &mconfig, device_type type, const char *tag) + model1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_m1audio(*this, "m1audio"), diff --git a/src/mame/includes/model2.h b/src/mame/includes/model2.h index 1f4bbcaa6d5..80454133bf7 100644 --- a/src/mame/includes/model2.h +++ b/src/mame/includes/model2.h @@ -16,7 +16,7 @@ struct geo_state; class model2_state : public driver_device { public: - model2_state(const machine_config &mconfig, device_type type, const char *tag) + model2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_workram(*this, "workram"), m_bufferram(*this, "bufferram"), diff --git a/src/mame/includes/model3.h b/src/mame/includes/model3.h index 1c66bf531c9..5afa3887cd9 100644 --- a/src/mame/includes/model3.h +++ b/src/mame/includes/model3.h @@ -51,7 +51,7 @@ class model3_renderer; class model3_state : public driver_device { public: - model3_state(const machine_config &mconfig, device_type type, const char *tag) + model3_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_lsi53c810(*this, "lsi53c810"), diff --git a/src/mame/includes/momoko.h b/src/mame/includes/momoko.h index 51eb27a061b..77cf58e984b 100644 --- a/src/mame/includes/momoko.h +++ b/src/mame/includes/momoko.h @@ -9,7 +9,7 @@ class momoko_state : public driver_device { public: - momoko_state(const machine_config &mconfig, device_type type, const char *tag) + momoko_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/moo.h b/src/mame/includes/moo.h index 28cb1e9ffef..fefd94d6fdd 100644 --- a/src/mame/includes/moo.h +++ b/src/mame/includes/moo.h @@ -18,7 +18,7 @@ class moo_state : public driver_device { public: - moo_state(const machine_config &mconfig, device_type type, const char *tag) + moo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_workram(*this, "workram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/mosaic.h b/src/mame/includes/mosaic.h index 53deb5cf82f..2e7b18449b9 100644 --- a/src/mame/includes/mosaic.h +++ b/src/mame/includes/mosaic.h @@ -9,7 +9,7 @@ class mosaic_state : public driver_device { public: - mosaic_state(const machine_config &mconfig, device_type type, const char *tag) + mosaic_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/mouser.h b/src/mame/includes/mouser.h index 8e23e7d80b1..2c00ac20ab7 100644 --- a/src/mame/includes/mouser.h +++ b/src/mame/includes/mouser.h @@ -9,7 +9,7 @@ class mouser_state : public driver_device { public: - mouser_state(const machine_config &mconfig, device_type type, const char *tag) + mouser_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/mpf1.h b/src/mame/includes/mpf1.h index 603dd68f838..7945e00513b 100644 --- a/src/mame/includes/mpf1.h +++ b/src/mame/includes/mpf1.h @@ -26,7 +26,7 @@ class mpf1_state : public driver_device { public: - mpf1_state(const machine_config &mconfig, device_type type, const char *tag) + mpf1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_ctc(*this, Z80CTC_TAG), diff --git a/src/mame/includes/mpu4.h b/src/mame/includes/mpu4.h index 3a79b1c0ce0..73f50049e60 100644 --- a/src/mame/includes/mpu4.h +++ b/src/mame/includes/mpu4.h @@ -94,7 +94,7 @@ struct bwb_chr_table//dynamically populated table for BwB protection class mpu4_state : public driver_device { public: - mpu4_state(const machine_config &mconfig, device_type type, const char *tag) + mpu4_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_vfd(*this, "vfd"), diff --git a/src/mame/includes/mpz80.h b/src/mame/includes/mpz80.h index 5477c9c156c..df7d2191b06 100644 --- a/src/mame/includes/mpz80.h +++ b/src/mame/includes/mpz80.h @@ -16,7 +16,7 @@ class mpz80_state : public driver_device { public: - mpz80_state(const machine_config &mconfig, device_type type, const char *tag) + mpz80_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/mrdo.h b/src/mame/includes/mrdo.h index 0a83c779498..b307b723c7c 100644 --- a/src/mame/includes/mrdo.h +++ b/src/mame/includes/mrdo.h @@ -9,7 +9,7 @@ class mrdo_state : public driver_device { public: - mrdo_state(const machine_config &mconfig, device_type type, const char *tag) + mrdo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bgvideoram(*this, "bgvideoram"), m_fgvideoram(*this, "fgvideoram"), diff --git a/src/mame/includes/mrflea.h b/src/mame/includes/mrflea.h index 89a139fabcf..356536ace7b 100644 --- a/src/mame/includes/mrflea.h +++ b/src/mame/includes/mrflea.h @@ -9,7 +9,7 @@ class mrflea_state : public driver_device { public: - mrflea_state(const machine_config &mconfig, device_type type, const char *tag) + mrflea_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/mrjong.h b/src/mame/includes/mrjong.h index ba39ef942a6..ce77d7cbd50 100644 --- a/src/mame/includes/mrjong.h +++ b/src/mame/includes/mrjong.h @@ -9,7 +9,7 @@ class mrjong_state : public driver_device { public: - mrjong_state(const machine_config &mconfig, device_type type, const char *tag) + mrjong_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/ms32.h b/src/mame/includes/ms32.h index 87fe602a7de..66d15e35f88 100644 --- a/src/mame/includes/ms32.h +++ b/src/mame/includes/ms32.h @@ -3,7 +3,7 @@ class ms32_state : public driver_device { public: - ms32_state(const machine_config &mconfig, device_type type, const char *tag) + ms32_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_mainram(*this, "mainram"), m_roz_ctrl(*this, "roz_ctrl"), diff --git a/src/mame/includes/msbc1.h b/src/mame/includes/msbc1.h index 75cf55060e6..ce77734cf80 100644 --- a/src/mame/includes/msbc1.h +++ b/src/mame/includes/msbc1.h @@ -13,7 +13,7 @@ class msbc1_state : public driver_device { public: - msbc1_state(const machine_config &mconfig, device_type type, const char *tag) + msbc1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,MC68000R12_TAG) { diff --git a/src/mame/includes/msisaac.h b/src/mame/includes/msisaac.h index d2f94f51e41..613529a5ea9 100644 --- a/src/mame/includes/msisaac.h +++ b/src/mame/includes/msisaac.h @@ -8,7 +8,7 @@ class msisaac_state : public driver_device { public: - msisaac_state(const machine_config &mconfig, device_type type, const char *tag) + msisaac_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/msx.h b/src/mame/includes/msx.h index 284f13c77b8..5792de2b551 100644 --- a/src/mame/includes/msx.h +++ b/src/mame/includes/msx.h @@ -114,7 +114,7 @@ class msx_state : public driver_device { public: - msx_state(const machine_config &mconfig, device_type type, const char *tag) + msx_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_v9938(*this, "v9938") diff --git a/src/mame/includes/mtx.h b/src/mame/includes/mtx.h index 5558e1fcd15..c9706471021 100644 --- a/src/mame/includes/mtx.h +++ b/src/mame/includes/mtx.h @@ -30,7 +30,7 @@ class mtx_state : public driver_device { public: - mtx_state(const machine_config &mconfig, device_type type, const char *tag) + mtx_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_sn(*this, SN76489A_TAG), diff --git a/src/mame/includes/mugsmash.h b/src/mame/includes/mugsmash.h index e670686d9c4..23e4744578f 100644 --- a/src/mame/includes/mugsmash.h +++ b/src/mame/includes/mugsmash.h @@ -4,7 +4,7 @@ class mugsmash_state : public driver_device { public: - mugsmash_state(const machine_config &mconfig, device_type type, const char *tag) + mugsmash_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram1(*this, "videoram1"), m_videoram2(*this, "videoram2"), diff --git a/src/mame/includes/multfish.h b/src/mame/includes/multfish.h index ed6d3fae67a..3ca20f5ef87 100644 --- a/src/mame/includes/multfish.h +++ b/src/mame/includes/multfish.h @@ -14,7 +14,7 @@ class igrosoft_gamble_state : public driver_device { public: - igrosoft_gamble_state(const machine_config &mconfig, device_type type, const char *tag) + igrosoft_gamble_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_m48t35(*this, "m48t35" ), diff --git a/src/mame/includes/munchmo.h b/src/mame/includes/munchmo.h index 6606f5591ab..37a9fc88ef7 100644 --- a/src/mame/includes/munchmo.h +++ b/src/mame/includes/munchmo.h @@ -9,7 +9,7 @@ class munchmo_state : public driver_device { public: - munchmo_state(const machine_config &mconfig, device_type type, const char *tag) + munchmo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_sprite_xpos(*this, "sprite_xpos"), m_sprite_tile(*this, "sprite_tile"), diff --git a/src/mame/includes/mustache.h b/src/mame/includes/mustache.h index 160f2398d16..7f4fe7db0ee 100644 --- a/src/mame/includes/mustache.h +++ b/src/mame/includes/mustache.h @@ -5,7 +5,7 @@ class mustache_state : public driver_device { public: - mustache_state(const machine_config &mconfig, device_type type, const char *tag) + mustache_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/mw8080bw.h b/src/mame/includes/mw8080bw.h index 1641d3a1086..7438b124f96 100644 --- a/src/mame/includes/mw8080bw.h +++ b/src/mame/includes/mw8080bw.h @@ -38,7 +38,7 @@ class mw8080bw_state : public driver_device { public: - mw8080bw_state(const machine_config &mconfig, device_type type, const char *tag) + mw8080bw_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_mb14241(*this,"mb14241"), diff --git a/src/mame/includes/mystston.h b/src/mame/includes/mystston.h index 6e311814bba..79290a664b5 100644 --- a/src/mame/includes/mystston.h +++ b/src/mame/includes/mystston.h @@ -15,7 +15,7 @@ class mystston_state : public driver_device { public: - mystston_state(const machine_config &mconfig, device_type type, const char *tag) + mystston_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_ay8910_data(*this, "ay8910_data"), m_ay8910_select(*this, "ay8910_select"), diff --git a/src/mame/includes/mystwarr.h b/src/mame/includes/mystwarr.h index 0ea09731627..16a712d9c87 100644 --- a/src/mame/includes/mystwarr.h +++ b/src/mame/includes/mystwarr.h @@ -9,7 +9,7 @@ class mystwarr_state : public konamigx_state { public: - mystwarr_state(const machine_config &mconfig, device_type type, const char *tag) + mystwarr_state(const machine_config &mconfig, device_type type, std::string tag) : konamigx_state(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_k053252(*this, "k053252"), diff --git a/src/mame/includes/mz700.h b/src/mame/includes/mz700.h index 552dd9a20c0..59d6482e4ae 100644 --- a/src/mame/includes/mz700.h +++ b/src/mame/includes/mz700.h @@ -22,7 +22,7 @@ class mz_state : public driver_device { public: - mz_state(const machine_config &mconfig, device_type type, const char *tag) + mz_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_speaker(*this, "speaker") diff --git a/src/mame/includes/mz80.h b/src/mame/includes/mz80.h index 93dd6c09b9d..2cf8a6da018 100644 --- a/src/mame/includes/mz80.h +++ b/src/mame/includes/mz80.h @@ -20,7 +20,7 @@ class mz80_state : public driver_device { public: - mz80_state(const machine_config &mconfig, device_type type, const char *tag) + mz80_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pit(*this, "pit8253"), diff --git a/src/mame/includes/n64.h b/src/mame/includes/n64.h index 783efd70a12..4f4d96449c4 100644 --- a/src/mame/includes/n64.h +++ b/src/mame/includes/n64.h @@ -15,7 +15,7 @@ class n64_rdp; class n64_state : public driver_device { public: - n64_state(const machine_config &mconfig, device_type type, const char *tag) + n64_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } @@ -58,7 +58,7 @@ private: public: // construction/destruction - n64_periphs(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + n64_periphs(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); DECLARE_READ32_MEMBER( is64_r ); DECLARE_WRITE32_MEMBER( is64_w ); diff --git a/src/mame/includes/n8080.h b/src/mame/includes/n8080.h index 9e5926ced41..1b123c71095 100644 --- a/src/mame/includes/n8080.h +++ b/src/mame/includes/n8080.h @@ -7,7 +7,7 @@ class n8080_state : public driver_device { public: - n8080_state(const machine_config &mconfig, device_type type, const char *tag) + n8080_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/namcofl.h b/src/mame/includes/namcofl.h index eeb702ae58e..94512e846d7 100644 --- a/src/mame/includes/namcofl.h +++ b/src/mame/includes/namcofl.h @@ -21,7 +21,7 @@ class namcofl_state : public namcos2_shared_state { public: - namcofl_state(const machine_config &mconfig, device_type type, const char *tag) + namcofl_state(const machine_config &mconfig, device_type type, std::string tag) : namcos2_shared_state(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_mcu(*this,"mcu"), diff --git a/src/mame/includes/namcona1.h b/src/mame/includes/namcona1.h index 17b4b79009f..1af5a81b5f3 100644 --- a/src/mame/includes/namcona1.h +++ b/src/mame/includes/namcona1.h @@ -28,7 +28,7 @@ enum class namcona1_state : public driver_device { public: - namcona1_state(const machine_config &mconfig, device_type type, const char *tag) + namcona1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_mcu(*this,"mcu"), diff --git a/src/mame/includes/namconb1.h b/src/mame/includes/namconb1.h index 02930edb0e0..4e2439f672d 100644 --- a/src/mame/includes/namconb1.h +++ b/src/mame/includes/namconb1.h @@ -28,7 +28,7 @@ class namconb1_state : public namcos2_shared_state { public: - namconb1_state(const machine_config &mconfig, device_type type, const char *tag) + namconb1_state(const machine_config &mconfig, device_type type, std::string tag) : namcos2_shared_state(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mcu(*this, "mcu"), diff --git a/src/mame/includes/namcond1.h b/src/mame/includes/namcond1.h index 979bf93bf05..5c30cb9e81c 100644 --- a/src/mame/includes/namcond1.h +++ b/src/mame/includes/namcond1.h @@ -13,7 +13,7 @@ class namcond1_state : public driver_device { public: - namcond1_state(const machine_config &mconfig, device_type type, const char *tag) + namcond1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mcu(*this, "mcu"), diff --git a/src/mame/includes/namcos1.h b/src/mame/includes/namcos1.h index 7c0146bdaa7..f88c32b8c16 100644 --- a/src/mame/includes/namcos1.h +++ b/src/mame/includes/namcos1.h @@ -8,7 +8,7 @@ class namcos1_state : public driver_device { public: - namcos1_state(const machine_config &mconfig, device_type type, const char *tag) + namcos1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "subcpu"), diff --git a/src/mame/includes/namcos2.h b/src/mame/includes/namcos2.h index b26aff34a91..2cb1b5741c8 100644 --- a/src/mame/includes/namcos2.h +++ b/src/mame/includes/namcos2.h @@ -96,7 +96,7 @@ enum class namcos2_shared_state : public driver_device { public: - namcos2_shared_state(const machine_config &mconfig, device_type type, const char *tag) + namcos2_shared_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_dspmaster(*this, "dspmaster"), m_dspslave(*this, "dspslave"), @@ -259,7 +259,7 @@ public: class namcos2_state : public namcos2_shared_state { public: - namcos2_state(const machine_config &mconfig, device_type type, const char *tag) + namcos2_state(const machine_config &mconfig, device_type type, std::string tag) : namcos2_shared_state(mconfig, type, tag), m_dpram(*this, "dpram"), m_paletteram(*this, "paletteram"), diff --git a/src/mame/includes/namcos21.h b/src/mame/includes/namcos21.h index e35265aa830..e50f1210583 100644 --- a/src/mame/includes/namcos21.h +++ b/src/mame/includes/namcos21.h @@ -43,7 +43,7 @@ struct edge class namcos21_state : public namcos2_shared_state { public: - namcos21_state(const machine_config &mconfig, device_type type, const char *tag) + namcos21_state(const machine_config &mconfig, device_type type, std::string tag) : namcos2_shared_state(mconfig, type, tag), m_winrun_dspbios(*this,"winrun_dspbios"), m_winrun_polydata(*this,"winrun_polydata"), diff --git a/src/mame/includes/namcos22.h b/src/mame/includes/namcos22.h index 28a01852fbf..8a51c0e9963 100644 --- a/src/mame/includes/namcos22.h +++ b/src/mame/includes/namcos22.h @@ -171,7 +171,7 @@ enum namcos22_dsp_upload_state class namcos22_state : public driver_device { public: - namcos22_state(const machine_config &mconfig, device_type type, const char *tag) + namcos22_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_master(*this, "master"), diff --git a/src/mame/includes/namcos86.h b/src/mame/includes/namcos86.h index 5842c5c570e..4120413e9e5 100644 --- a/src/mame/includes/namcos86.h +++ b/src/mame/includes/namcos86.h @@ -5,7 +5,7 @@ class namcos86_state : public driver_device { public: - namcos86_state(const machine_config &mconfig, device_type type, const char *tag) + namcos86_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_cpu1(*this, "cpu1"), m_cpu2(*this, "cpu2"), diff --git a/src/mame/includes/naomi.h b/src/mame/includes/naomi.h index 3e1e6c80eb0..60123e45f6c 100644 --- a/src/mame/includes/naomi.h +++ b/src/mame/includes/naomi.h @@ -37,7 +37,7 @@ enum { class naomi_state : public dc_state { public: - naomi_state(const machine_config &mconfig, device_type type, const char *tag) + naomi_state(const machine_config &mconfig, device_type type, std::string tag) : dc_state(mconfig, type, tag), pvr2_texture_ram(*this, "textureram2"), pvr2_framebuffer_ram(*this, "frameram2"), diff --git a/src/mame/includes/naughtyb.h b/src/mame/includes/naughtyb.h index 5e0075719b0..ebd56bd4924 100644 --- a/src/mame/includes/naughtyb.h +++ b/src/mame/includes/naughtyb.h @@ -5,7 +5,7 @@ class naughtyb_state : public driver_device { public: - naughtyb_state(const machine_config &mconfig, device_type type, const char *tag) + naughtyb_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_naughtyb_custom(*this, "naughtyb_custom"), diff --git a/src/mame/includes/nb1413m3.h b/src/mame/includes/nb1413m3.h index 0408c2009cc..3170b92c319 100644 --- a/src/mame/includes/nb1413m3.h +++ b/src/mame/includes/nb1413m3.h @@ -126,7 +126,7 @@ enum { class nb1413m3_device : public device_t { public: - nb1413m3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + nb1413m3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); ~nb1413m3_device() {} // (static) configuration helpers diff --git a/src/mame/includes/nb1414m4.h b/src/mame/includes/nb1414m4.h index 20e392f6f2e..032eeaa7fde 100644 --- a/src/mame/includes/nb1414m4.h +++ b/src/mame/includes/nb1414m4.h @@ -4,7 +4,7 @@ class nb1414m4_device : public device_t, public device_video_interface { public: - nb1414m4_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + nb1414m4_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); ~nb1414m4_device() {} void exec(UINT16 mcu_cmd, UINT8 *vram, UINT16 &scrollx, UINT16 &scrolly, tilemap_t *tilemap); diff --git a/src/mame/includes/nbmj8688.h b/src/mame/includes/nbmj8688.h index c08991c7f7c..426afc6e337 100644 --- a/src/mame/includes/nbmj8688.h +++ b/src/mame/includes/nbmj8688.h @@ -11,7 +11,7 @@ public: TIMER_BLITTER }; - nbmj8688_state(const machine_config &mconfig, device_type type, const char *tag) : + nbmj8688_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_nb1413m3(*this, "nb1413m3"), diff --git a/src/mame/includes/nbmj8891.h b/src/mame/includes/nbmj8891.h index 6c636e289cb..5ba748835dc 100644 --- a/src/mame/includes/nbmj8891.h +++ b/src/mame/includes/nbmj8891.h @@ -10,7 +10,7 @@ public: TIMER_BLITTER }; - nbmj8891_state(const machine_config &mconfig, device_type type, const char *tag) + nbmj8891_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_nb1413m3(*this, "nb1413m3"), diff --git a/src/mame/includes/nbmj8900.h b/src/mame/includes/nbmj8900.h index 2a51f2ae112..cab6f296c47 100644 --- a/src/mame/includes/nbmj8900.h +++ b/src/mame/includes/nbmj8900.h @@ -10,7 +10,7 @@ public: TIMER_BLITTER }; - nbmj8900_state(const machine_config &mconfig, device_type type, const char *tag) + nbmj8900_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_nb1413m3(*this, "nb1413m3"), diff --git a/src/mame/includes/nbmj8991.h b/src/mame/includes/nbmj8991.h index 74920f3555f..384371a4437 100644 --- a/src/mame/includes/nbmj8991.h +++ b/src/mame/includes/nbmj8991.h @@ -5,7 +5,7 @@ class nbmj8991_state : public driver_device { public: - nbmj8991_state(const machine_config &mconfig, device_type type, const char *tag) + nbmj8991_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/nbmj9195.h b/src/mame/includes/nbmj9195.h index ec36eb8f168..ee3fef9048e 100644 --- a/src/mame/includes/nbmj9195.h +++ b/src/mame/includes/nbmj9195.h @@ -23,7 +23,7 @@ public: TIMER_BLITTER }; - nbmj9195_state(const machine_config &mconfig, device_type type, const char *tag) + nbmj9195_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_dac1(*this, "dac1"), diff --git a/src/mame/includes/nc.h b/src/mame/includes/nc.h index 76652a70c61..19eff645869 100644 --- a/src/mame/includes/nc.h +++ b/src/mame/includes/nc.h @@ -39,7 +39,7 @@ enum class nc_state : public driver_device { public: - nc_state(const machine_config &mconfig, device_type type, const char *tag) : + nc_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/nemesis.h b/src/mame/includes/nemesis.h index 1d86132e94c..f8bfa3ea72e 100644 --- a/src/mame/includes/nemesis.h +++ b/src/mame/includes/nemesis.h @@ -8,7 +8,7 @@ class nemesis_state : public driver_device { public: - nemesis_state(const machine_config &mconfig, device_type type, const char *tag) + nemesis_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_charram(*this, "charram"), m_xscroll1(*this, "xscroll1"), diff --git a/src/mame/includes/neogeo.h b/src/mame/includes/neogeo.h index da50cb62765..ede20034bd6 100644 --- a/src/mame/includes/neogeo.h +++ b/src/mame/includes/neogeo.h @@ -30,7 +30,7 @@ class neogeo_state : public driver_device { public: - neogeo_state(const machine_config &mconfig, device_type type, const char *tag) + neogeo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_banked_cart(*this, "banked_cart"), m_maincpu(*this, "maincpu"), @@ -228,7 +228,7 @@ public: class neogeo_noslot_state : public neogeo_state { public: - neogeo_noslot_state(const machine_config &mconfig, device_type type, const char *tag) + neogeo_noslot_state(const machine_config &mconfig, device_type type, std::string tag) : neogeo_state(mconfig, type, tag), /* legacy cartridge specifics */ m_mslugx_prot(*this, "mslugx_prot"), @@ -331,7 +331,7 @@ class neogeo_noslot_state : public neogeo_state class neogeo_noslot_kog_state : public neogeo_state { public: - neogeo_noslot_kog_state(const machine_config &mconfig, device_type type, const char *tag) + neogeo_noslot_kog_state(const machine_config &mconfig, device_type type, std::string tag) : neogeo_state(mconfig, type, tag), /* legacy cartridge specifics */ m_bootleg_prot(*this, "bootleg_prot"), diff --git a/src/mame/includes/nes.h b/src/mame/includes/nes.h index b3ba8450829..d7393de9fc1 100644 --- a/src/mame/includes/nes.h +++ b/src/mame/includes/nes.h @@ -52,7 +52,7 @@ class nes_state : public driver_device { public: - nes_state(const machine_config &mconfig, device_type type, const char *tag) + nes_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ppu(*this, "ppu"), diff --git a/src/mame/includes/newbrain.h b/src/mame/includes/newbrain.h index 72edaf3b451..3ad7112dedb 100644 --- a/src/mame/includes/newbrain.h +++ b/src/mame/includes/newbrain.h @@ -56,7 +56,7 @@ class newbrain_state : public driver_device { public: - newbrain_state(const machine_config &mconfig, device_type type, const char *tag) : + newbrain_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_copcpu(*this, COP420_TAG), @@ -206,7 +206,7 @@ protected: class newbrain_eim_state : public newbrain_state { public: - newbrain_eim_state(const machine_config &mconfig, device_type type, const char *tag) + newbrain_eim_state(const machine_config &mconfig, device_type type, std::string tag) : newbrain_state(mconfig, type, tag), m_fdccpu(*this, FDC_Z80_TAG), m_ctc(*this, Z80CTC_TAG), diff --git a/src/mame/includes/news.h b/src/mame/includes/news.h index e2d380a7cd3..3bc3c6657dc 100644 --- a/src/mame/includes/news.h +++ b/src/mame/includes/news.h @@ -4,7 +4,7 @@ class news_state : public driver_device { public: - news_state(const machine_config &mconfig, device_type type, const char *tag) + news_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bgram(*this, "bgram"), m_fgram(*this, "fgram"), diff --git a/src/mame/includes/next.h b/src/mame/includes/next.h index 09e221be65f..83f9ac25866 100644 --- a/src/mame/includes/next.h +++ b/src/mame/includes/next.h @@ -21,7 +21,7 @@ class next_state : public driver_device { public: - next_state(const machine_config &mconfig, device_type type, const char *tag) + next_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), maincpu(*this, "maincpu"), rtc(*this, "rtc"), diff --git a/src/mame/includes/ninjakd2.h b/src/mame/includes/ninjakd2.h index 45f35a3d42c..e52b077500e 100644 --- a/src/mame/includes/ninjakd2.h +++ b/src/mame/includes/ninjakd2.h @@ -11,7 +11,7 @@ class ninjakd2_state : public driver_device { public: - ninjakd2_state(const machine_config &mconfig, device_type type, const char *tag) + ninjakd2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/ninjaw.h b/src/mame/includes/ninjaw.h index 2c1dc94e902..e65b0e03f65 100644 --- a/src/mame/includes/ninjaw.h +++ b/src/mame/includes/ninjaw.h @@ -16,7 +16,7 @@ class ninjaw_state : public driver_device { public: - ninjaw_state(const machine_config &mconfig, device_type type, const char *tag) + ninjaw_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/nitedrvr.h b/src/mame/includes/nitedrvr.h index 7084c08c077..4ad7fcf3540 100644 --- a/src/mame/includes/nitedrvr.h +++ b/src/mame/includes/nitedrvr.h @@ -20,7 +20,7 @@ class nitedrvr_state : public driver_device { public: - nitedrvr_state(const machine_config &mconfig, device_type type, const char *tag) + nitedrvr_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_hvc(*this, "hvc"), diff --git a/src/mame/includes/niyanpai.h b/src/mame/includes/niyanpai.h index 2115240a0da..27ba0ed18ca 100644 --- a/src/mame/includes/niyanpai.h +++ b/src/mame/includes/niyanpai.h @@ -12,7 +12,7 @@ public: TIMER_BLITTER }; - niyanpai_state(const machine_config &mconfig, device_type type, const char *tag) + niyanpai_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_tmp68301(*this, "tmp68301"), diff --git a/src/mame/includes/nmk16.h b/src/mame/includes/nmk16.h index 269db67fc82..dc71e964979 100644 --- a/src/mame/includes/nmk16.h +++ b/src/mame/includes/nmk16.h @@ -8,7 +8,7 @@ class nmk16_state : public driver_device { public: - nmk16_state(const machine_config &mconfig, device_type type, const char *tag) + nmk16_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/norautp.h b/src/mame/includes/norautp.h index 0053087ec91..1f9a4aa6e01 100644 --- a/src/mame/includes/norautp.h +++ b/src/mame/includes/norautp.h @@ -11,7 +11,7 @@ class norautp_state : public driver_device { public: - norautp_state(const machine_config &mconfig, device_type type, const char *tag) + norautp_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_discrete(*this, "discrete"), diff --git a/src/mame/includes/nova2001.h b/src/mame/includes/nova2001.h index 497a337c4e5..16a93407536 100644 --- a/src/mame/includes/nova2001.h +++ b/src/mame/includes/nova2001.h @@ -3,7 +3,7 @@ class nova2001_state : public driver_device { public: - nova2001_state(const machine_config &mconfig, device_type type, const char *tag) + nova2001_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/nycaptor.h b/src/mame/includes/nycaptor.h index 893014050cd..d51429d6c1b 100644 --- a/src/mame/includes/nycaptor.h +++ b/src/mame/includes/nycaptor.h @@ -5,7 +5,7 @@ class nycaptor_state : public driver_device { public: - nycaptor_state(const machine_config &mconfig, device_type type, const char *tag) + nycaptor_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_scrlram(*this, "scrlram"), diff --git a/src/mame/includes/ob68k1a.h b/src/mame/includes/ob68k1a.h index 88f57f52d82..d178cef7570 100644 --- a/src/mame/includes/ob68k1a.h +++ b/src/mame/includes/ob68k1a.h @@ -26,7 +26,7 @@ class ob68k1a_state : public driver_device { public: - ob68k1a_state(const machine_config &mconfig, device_type type, const char *tag) + ob68k1a_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, MC68000L10_TAG), m_dbrg(*this, COM8116_TAG), diff --git a/src/mame/includes/offtwall.h b/src/mame/includes/offtwall.h index 1e8ce7c8441..5505c76c1eb 100644 --- a/src/mame/includes/offtwall.h +++ b/src/mame/includes/offtwall.h @@ -13,7 +13,7 @@ class offtwall_state : public atarigen_state { public: - offtwall_state(const machine_config &mconfig, device_type type, const char *tag) + offtwall_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_jsa(*this, "jsa"), m_vad(*this, "vad"), diff --git a/src/mame/includes/ohmygod.h b/src/mame/includes/ohmygod.h index 86986de1b99..183206e0d8c 100644 --- a/src/mame/includes/ohmygod.h +++ b/src/mame/includes/ohmygod.h @@ -9,7 +9,7 @@ class ohmygod_state : public driver_device { public: - ohmygod_state(const machine_config &mconfig, device_type type, const char *tag) + ohmygod_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/ojankohs.h b/src/mame/includes/ojankohs.h index 65c7e36bd9c..b7ae669091a 100644 --- a/src/mame/includes/ojankohs.h +++ b/src/mame/includes/ojankohs.h @@ -10,7 +10,7 @@ class ojankohs_state : public driver_device { public: - ojankohs_state(const machine_config &mconfig, device_type type, const char *tag) + ojankohs_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/ondra.h b/src/mame/includes/ondra.h index 9277b907e4f..035ac0c2c32 100644 --- a/src/mame/includes/ondra.h +++ b/src/mame/includes/ondra.h @@ -15,7 +15,7 @@ class ondra_state : public driver_device { public: - ondra_state(const machine_config &mconfig, device_type type, const char *tag) + ondra_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/oneshot.h b/src/mame/includes/oneshot.h index c7f854e6a09..4c04370bad3 100644 --- a/src/mame/includes/oneshot.h +++ b/src/mame/includes/oneshot.h @@ -5,7 +5,7 @@ class oneshot_state : public driver_device { public: - oneshot_state(const machine_config &mconfig, device_type type, const char *tag) + oneshot_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_sprites(*this, "sprites"), m_bg_videoram(*this, "bg_videoram"), diff --git a/src/mame/includes/opwolf.h b/src/mame/includes/opwolf.h index e93ab442abd..8443deaa84e 100644 --- a/src/mame/includes/opwolf.h +++ b/src/mame/includes/opwolf.h @@ -18,7 +18,7 @@ public: TIMER_CCHIP }; - opwolf_state(const machine_config &mconfig, device_type type, const char *tag) + opwolf_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_cchip_ram(*this, "cchip_ram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/orao.h b/src/mame/includes/orao.h index 9707d6019f1..df0a5f767ef 100644 --- a/src/mame/includes/orao.h +++ b/src/mame/includes/orao.h @@ -14,7 +14,7 @@ class orao_state : public driver_device { public: - orao_state(const machine_config &mconfig, device_type type, const char *tag) + orao_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_memory(*this, "memory"), m_video_ram(*this, "video_ram"), diff --git a/src/mame/includes/orbit.h b/src/mame/includes/orbit.h index 1095f531f04..a29afdd96c1 100644 --- a/src/mame/includes/orbit.h +++ b/src/mame/includes/orbit.h @@ -20,7 +20,7 @@ class orbit_state : public driver_device { public: - orbit_state(const machine_config &mconfig, device_type type, const char *tag) + orbit_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_playfield_ram(*this, "playfield_ram"), m_sprite_ram(*this, "sprite_ram"), diff --git a/src/mame/includes/orion.h b/src/mame/includes/orion.h index 5d6a57058be..286d43af94e 100644 --- a/src/mame/includes/orion.h +++ b/src/mame/includes/orion.h @@ -24,7 +24,7 @@ class orion_state : public radio86_state { public: - orion_state(const machine_config &mconfig, device_type type, const char *tag) + orion_state(const machine_config &mconfig, device_type type, std::string tag) : radio86_state(mconfig, type, tag) , m_fdc(*this, "fd1793") , m_ram(*this, RAM_TAG) diff --git a/src/mame/includes/osborne1.h b/src/mame/includes/osborne1.h index 7a7e6d64a84..ee7da6ae3d4 100644 --- a/src/mame/includes/osborne1.h +++ b/src/mame/includes/osborne1.h @@ -27,7 +27,7 @@ public: TIMER_ACIA_RXC_TXC }; - osborne1_state(const machine_config &mconfig, device_type type, const char *tag) : + osborne1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/osi.h b/src/mame/includes/osi.h index 43485a7a5f4..bac2769faa7 100644 --- a/src/mame/includes/osi.h +++ b/src/mame/includes/osi.h @@ -30,7 +30,7 @@ class sb2m600_state : public driver_device { public: - sb2m600_state(const machine_config &mconfig, device_type type, const char *tag) : + sb2m600_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, M6502_TAG), m_acia_0(*this, "acia_0"), @@ -108,7 +108,7 @@ protected: class c1p_state : public sb2m600_state { public: - c1p_state(const machine_config &mconfig, device_type type, const char *tag) : + c1p_state(const machine_config &mconfig, device_type type, std::string tag) : sb2m600_state(mconfig, type, tag), m_beep(*this, "beeper") { @@ -126,7 +126,7 @@ public: class c1pmf_state : public c1p_state { public: - c1pmf_state(const machine_config &mconfig, device_type type, const char *tag) : + c1pmf_state(const machine_config &mconfig, device_type type, std::string tag) : c1p_state(mconfig, type, tag), m_floppy0(*this, "floppy0"), m_floppy1(*this, "floppy1") @@ -148,7 +148,7 @@ private: class uk101_state : public sb2m600_state { public: - uk101_state(const machine_config &mconfig, device_type type, const char *tag) : + uk101_state(const machine_config &mconfig, device_type type, std::string tag) : sb2m600_state(mconfig, type, tag) { } diff --git a/src/mame/includes/othunder.h b/src/mame/includes/othunder.h index d730f4fbc7b..86bad52e905 100644 --- a/src/mame/includes/othunder.h +++ b/src/mame/includes/othunder.h @@ -33,7 +33,7 @@ public: TIMER_AD_INTERRUPT }; - othunder_state(const machine_config &mconfig, device_type type, const char *tag) + othunder_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this,"spriteram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/overdriv.h b/src/mame/includes/overdriv.h index ad0cceba7a7..892caddc3c7 100644 --- a/src/mame/includes/overdriv.h +++ b/src/mame/includes/overdriv.h @@ -14,7 +14,7 @@ class overdriv_state : public driver_device { public: - overdriv_state(const machine_config &mconfig, device_type type, const char *tag) + overdriv_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/p2000t.h b/src/mame/includes/p2000t.h index 0548f661356..062d386cc4a 100644 --- a/src/mame/includes/p2000t.h +++ b/src/mame/includes/p2000t.h @@ -18,7 +18,7 @@ class p2000t_state : public driver_device { public: - p2000t_state(const machine_config &mconfig, device_type type, const char *tag) + p2000t_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/includes/pacland.h b/src/mame/includes/pacland.h index 9c4eee41deb..7b3a24ad68b 100644 --- a/src/mame/includes/pacland.h +++ b/src/mame/includes/pacland.h @@ -5,7 +5,7 @@ class pacland_state : public driver_device { public: - pacland_state(const machine_config &mconfig, device_type type, const char *tag) + pacland_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mcu(*this, "mcu"), diff --git a/src/mame/includes/pacman.h b/src/mame/includes/pacman.h index d62272914f5..970f94cbff9 100644 --- a/src/mame/includes/pacman.h +++ b/src/mame/includes/pacman.h @@ -11,7 +11,7 @@ class pacman_state : public driver_device { public: - pacman_state(const machine_config &mconfig, device_type type, const char *tag) + pacman_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_namco_sound(*this, "namco"), diff --git a/src/mame/includes/pandoras.h b/src/mame/includes/pandoras.h index 8fb440f473f..9f623307f88 100644 --- a/src/mame/includes/pandoras.h +++ b/src/mame/includes/pandoras.h @@ -9,7 +9,7 @@ class pandoras_state : public driver_device { public: - pandoras_state(const machine_config &mconfig, device_type type, const char *tag) + pandoras_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/paradise.h b/src/mame/includes/paradise.h index 0d63f4f3ee0..98b27c4360a 100644 --- a/src/mame/includes/paradise.h +++ b/src/mame/includes/paradise.h @@ -5,7 +5,7 @@ class paradise_state : public driver_device { public: - paradise_state(const machine_config &mconfig, device_type type, const char *tag) + paradise_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki2(*this, "oki2"), diff --git a/src/mame/includes/parodius.h b/src/mame/includes/parodius.h index e9fa82faa35..945b63a9ce2 100644 --- a/src/mame/includes/parodius.h +++ b/src/mame/includes/parodius.h @@ -20,7 +20,7 @@ public: TIMER_NMI }; - parodius_state(const machine_config &mconfig, device_type type, const char *tag) + parodius_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/partner.h b/src/mame/includes/partner.h index f5eba1168f8..0d19898a1f1 100644 --- a/src/mame/includes/partner.h +++ b/src/mame/includes/partner.h @@ -16,7 +16,7 @@ class partner_state : public radio86_state { public: - partner_state(const machine_config &mconfig, device_type type, const char *tag) + partner_state(const machine_config &mconfig, device_type type, std::string tag) : radio86_state(mconfig, type, tag), m_ram(*this, RAM_TAG), m_fdc(*this, "wd1793") { } diff --git a/src/mame/includes/pass.h b/src/mame/includes/pass.h index e54f385787c..6f65fb91fc7 100644 --- a/src/mame/includes/pass.h +++ b/src/mame/includes/pass.h @@ -3,7 +3,7 @@ class pass_state : public driver_device { public: - pass_state(const machine_config &mconfig, device_type type, const char *tag) + pass_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bg_videoram(*this, "bg_videoram"), m_fg_videoram(*this, "fg_videoram"), diff --git a/src/mame/includes/pastelg.h b/src/mame/includes/pastelg.h index af0d87dc1f6..6e8eed670cc 100644 --- a/src/mame/includes/pastelg.h +++ b/src/mame/includes/pastelg.h @@ -10,7 +10,7 @@ public: TIMER_BLITTER }; - pastelg_state(const machine_config &mconfig, device_type type, const char *tag) + pastelg_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_nb1413m3(*this, "nb1413m3"), diff --git a/src/mame/includes/pbaction.h b/src/mame/includes/pbaction.h index 4fcd6b64574..92497a9df77 100644 --- a/src/mame/includes/pbaction.h +++ b/src/mame/includes/pbaction.h @@ -9,7 +9,7 @@ class pbaction_state : public driver_device { public: - pbaction_state(const machine_config &mconfig, device_type type, const char *tag) + pbaction_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_videoram2(*this, "videoram2"), diff --git a/src/mame/includes/pc1251.h b/src/mame/includes/pc1251.h index 653342b6d17..53666cdeb62 100644 --- a/src/mame/includes/pc1251.h +++ b/src/mame/includes/pc1251.h @@ -26,7 +26,7 @@ public: TIMER_POWER_UP }; - pc1251_state(const machine_config &mconfig, device_type type, const char *tag) + pc1251_state(const machine_config &mconfig, device_type type, std::string tag) : pocketc_state(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/pc1350.h b/src/mame/includes/pc1350.h index b52b8a53304..f6eaec4ef34 100644 --- a/src/mame/includes/pc1350.h +++ b/src/mame/includes/pc1350.h @@ -27,7 +27,7 @@ public: TIMER_POWER_UP }; - pc1350_state(const machine_config &mconfig, device_type type, const char *tag) + pc1350_state(const machine_config &mconfig, device_type type, std::string tag) : pocketc_state(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG) { } diff --git a/src/mame/includes/pc1401.h b/src/mame/includes/pc1401.h index 0ce077476ad..eb277f57797 100644 --- a/src/mame/includes/pc1401.h +++ b/src/mame/includes/pc1401.h @@ -26,7 +26,7 @@ public: TIMER_POWER_UP }; - pc1401_state(const machine_config &mconfig, device_type type, const char *tag) + pc1401_state(const machine_config &mconfig, device_type type, std::string tag) : pocketc_state(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/pc1403.h b/src/mame/includes/pc1403.h index c5bdf2f943f..dcd836eceb0 100644 --- a/src/mame/includes/pc1403.h +++ b/src/mame/includes/pc1403.h @@ -26,7 +26,7 @@ public: TIMER_POWER_UP }; - pc1403_state(const machine_config &mconfig, device_type type, const char *tag) + pc1403_state(const machine_config &mconfig, device_type type, std::string tag) : pocketc_state(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/pc1512.h b/src/mame/includes/pc1512.h index 2334e8c92d5..005ce1336bb 100644 --- a/src/mame/includes/pc1512.h +++ b/src/mame/includes/pc1512.h @@ -44,7 +44,7 @@ class pc1512_state : public driver_device { public: - pc1512_state(const machine_config &mconfig, device_type type, const char *tag) + pc1512_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, I8086_TAG), m_dmac(*this, I8237A5_TAG), @@ -230,7 +230,7 @@ public: class pc1640_state : public pc1512_state { public: - pc1640_state(const machine_config &mconfig, device_type type, const char *tag) + pc1640_state(const machine_config &mconfig, device_type type, std::string tag) : pc1512_state(mconfig, type, tag), m_sw(*this, "SW"), m_opt(0) diff --git a/src/mame/includes/pc4.h b/src/mame/includes/pc4.h index f2d6a8519b9..5327e0f774e 100644 --- a/src/mame/includes/pc4.h +++ b/src/mame/includes/pc4.h @@ -17,7 +17,7 @@ class pc4_state : public driver_device { public: - pc4_state(const machine_config &mconfig, device_type type, const char *tag) + pc4_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_beep(*this, "beeper"), diff --git a/src/mame/includes/pc8001.h b/src/mame/includes/pc8001.h index 76d3bafb529..5d708f6129c 100644 --- a/src/mame/includes/pc8001.h +++ b/src/mame/includes/pc8001.h @@ -31,7 +31,7 @@ class pc8001_state : public driver_device { public: - pc8001_state(const machine_config &mconfig, device_type type, const char *tag) + pc8001_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_rtc(*this, UPD1990A_TAG), @@ -82,7 +82,7 @@ public: class pc8001mk2_state : public pc8001_state { public: - pc8001mk2_state(const machine_config &mconfig, device_type type, const char *tag) + pc8001mk2_state(const machine_config &mconfig, device_type type, std::string tag) : pc8001_state(mconfig, type, tag), m_kanji_rom(*this, "kanji") { } diff --git a/src/mame/includes/pc8401a.h b/src/mame/includes/pc8401a.h index e7f63d2cad4..8df422b8fa3 100644 --- a/src/mame/includes/pc8401a.h +++ b/src/mame/includes/pc8401a.h @@ -35,7 +35,7 @@ class pc8401a_state : public driver_device { public: - pc8401a_state(const machine_config &mconfig, device_type type, const char *tag) + pc8401a_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_rtc(*this, UPD1990A_TAG), @@ -99,7 +99,7 @@ public: class pc8500_state : public pc8401a_state { public: - pc8500_state(const machine_config &mconfig, device_type type, const char *tag) + pc8500_state(const machine_config &mconfig, device_type type, std::string tag) : pc8401a_state(mconfig, type, tag) { } diff --git a/src/mame/includes/pce.h b/src/mame/includes/pce.h index 9d9a7d34b56..7958cf0f16c 100644 --- a/src/mame/includes/pce.h +++ b/src/mame/includes/pce.h @@ -33,7 +33,7 @@ class pce_state : public driver_device { public: - pce_state(const machine_config &mconfig, device_type type, const char *tag) + pce_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cd_ram(*this, "cd_ram"), diff --git a/src/mame/includes/pcktgal.h b/src/mame/includes/pcktgal.h index 83133b3f612..92a581e422e 100644 --- a/src/mame/includes/pcktgal.h +++ b/src/mame/includes/pcktgal.h @@ -6,7 +6,7 @@ class pcktgal_state : public driver_device { public: - pcktgal_state(const machine_config &mconfig, device_type type, const char *tag) + pcktgal_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/pcw.h b/src/mame/includes/pcw.h index fb9b35b96e9..540d0970c0a 100644 --- a/src/mame/includes/pcw.h +++ b/src/mame/includes/pcw.h @@ -28,7 +28,7 @@ class pcw_state : public driver_device { public: - pcw_state(const machine_config &mconfig, device_type type, const char *tag) + pcw_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_fdc(*this, "upd765"), diff --git a/src/mame/includes/pcw16.h b/src/mame/includes/pcw16.h index 3f611f878d5..d937ecc1eb4 100644 --- a/src/mame/includes/pcw16.h +++ b/src/mame/includes/pcw16.h @@ -34,7 +34,7 @@ class pcw16_state : public driver_device { public: - pcw16_state(const machine_config &mconfig, device_type type, const char *tag) + pcw16_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_flash0(*this, "flash0"), diff --git a/src/mame/includes/pdp1.h b/src/mame/includes/pdp1.h index c1745369736..9f03942367b 100644 --- a/src/mame/includes/pdp1.h +++ b/src/mame/includes/pdp1.h @@ -235,7 +235,7 @@ struct lightpen_t class pdp1_state : public driver_device { public: - pdp1_state(const machine_config &mconfig, device_type type, const char *tag) + pdp1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/pecom.h b/src/mame/includes/pecom.h index c8b9768bb31..81c92979992 100644 --- a/src/mame/includes/pecom.h +++ b/src/mame/includes/pecom.h @@ -16,7 +16,7 @@ class pecom_state : public driver_device { public: - pecom_state(const machine_config &mconfig, device_type type, const char *tag) + pecom_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_cdp1802(*this, CDP1802_TAG), m_cdp1869(*this, CDP1869_TAG), diff --git a/src/mame/includes/pes.h b/src/mame/includes/pes.h index cd57dc3f772..8149037b4d0 100644 --- a/src/mame/includes/pes.h +++ b/src/mame/includes/pes.h @@ -20,7 +20,7 @@ class pes_state : public driver_device { public: - pes_state(const machine_config &mconfig, device_type type, const char *tag) + pes_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG), diff --git a/src/mame/includes/pet.h b/src/mame/includes/pet.h index d4572a99c05..2324b149b85 100644 --- a/src/mame/includes/pet.h +++ b/src/mame/includes/pet.h @@ -36,7 +36,7 @@ class pet_state : public driver_device { public: - pet_state(const machine_config &mconfig, device_type type, const char *tag) : + pet_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, M6502_TAG), m_via(*this, M6522_TAG), @@ -201,7 +201,7 @@ public: class pet2001b_state : public pet_state { public: - pet2001b_state(const machine_config &mconfig, device_type type, const char *tag) : + pet2001b_state(const machine_config &mconfig, device_type type, std::string tag) : pet_state(mconfig, type, tag) { } @@ -212,7 +212,7 @@ public: class pet80_state : public pet2001b_state { public: - pet80_state(const machine_config &mconfig, device_type type, const char *tag) : + pet80_state(const machine_config &mconfig, device_type type, std::string tag) : pet2001b_state(mconfig, type, tag) { } @@ -227,7 +227,7 @@ public: class superpet_state : public pet80_state { public: - superpet_state(const machine_config &mconfig, device_type type, const char *tag) + superpet_state(const machine_config &mconfig, device_type type, std::string tag) : pet80_state(mconfig, type, tag) { } }; @@ -236,7 +236,7 @@ public: class cbm8096_state : public pet80_state { public: - cbm8096_state(const machine_config &mconfig, device_type type, const char *tag) : + cbm8096_state(const machine_config &mconfig, device_type type, std::string tag) : pet80_state(mconfig, type, tag) { } }; @@ -245,7 +245,7 @@ public: class cbm8296_state : public pet80_state { public: - cbm8296_state(const machine_config &mconfig, device_type type, const char *tag) : + cbm8296_state(const machine_config &mconfig, device_type type, std::string tag) : pet80_state(mconfig, type, tag), m_basic_rom(*this, "basic"), m_editor_rom(*this, "editor"), diff --git a/src/mame/includes/pgm.h b/src/mame/includes/pgm.h index 23f43937ff3..fec59357bcd 100644 --- a/src/mame/includes/pgm.h +++ b/src/mame/includes/pgm.h @@ -19,7 +19,7 @@ class pgm_state : public driver_device { public: - pgm_state(const machine_config &mconfig, device_type type, const char *tag) + pgm_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoregs(*this, "videoregs"), m_videoram(*this, "videoram"), @@ -115,7 +115,7 @@ public: class pgm_asic3_state : public pgm_state { public: - pgm_asic3_state(const machine_config &mconfig, device_type type, const char *tag) + pgm_asic3_state(const machine_config &mconfig, device_type type, std::string tag) : pgm_state(mconfig, type, tag) { } @@ -137,7 +137,7 @@ public: class pgm_arm_type1_state : public pgm_state { public: - pgm_arm_type1_state(const machine_config &mconfig, device_type type, const char *tag) + pgm_arm_type1_state(const machine_config &mconfig, device_type type, std::string tag) : pgm_state(mconfig, type, tag), m_arm7_shareram(*this, "arm7_shareram"), m_prot(*this, "prot") { @@ -263,7 +263,7 @@ public: class pgm_arm_type2_state : public pgm_state { public: - pgm_arm_type2_state(const machine_config &mconfig, device_type type, const char *tag) + pgm_arm_type2_state(const machine_config &mconfig, device_type type, std::string tag) : pgm_state(mconfig, type, tag), m_arm_ram(*this, "arm_ram"), m_arm7_shareram(*this, "arm7_shareram"), @@ -307,7 +307,7 @@ public: class pgm_arm_type3_state : public pgm_state { public: - pgm_arm_type3_state(const machine_config &mconfig, device_type type, const char *tag) + pgm_arm_type3_state(const machine_config &mconfig, device_type type, std::string tag) : pgm_state(mconfig, type, tag), m_arm_ram(*this, "arm_ram"), m_arm_ram2(*this, "arm_ram2"), @@ -367,7 +367,7 @@ public: class pgm_022_025_state : public pgm_state { public: - pgm_022_025_state(const machine_config &mconfig, device_type type, const char *tag) + pgm_022_025_state(const machine_config &mconfig, device_type type, std::string tag) : pgm_state(mconfig, type, tag), m_sharedprotram(*this, "sharedprotram"), m_igs025(*this,"igs025"), @@ -395,7 +395,7 @@ public: class pgm_012_025_state : public pgm_state { public: - pgm_012_025_state(const machine_config &mconfig, device_type type, const char *tag) + pgm_012_025_state(const machine_config &mconfig, device_type type, std::string tag) : pgm_state(mconfig, type, tag), m_igs025(*this,"igs025") { @@ -422,7 +422,7 @@ public: class pgm_028_025_state : public pgm_state { public: - pgm_028_025_state(const machine_config &mconfig, device_type type, const char *tag) + pgm_028_025_state(const machine_config &mconfig, device_type type, std::string tag) : pgm_state(mconfig, type, tag), m_sharedprotram(*this, "sharedprotram"), m_igs025(*this,"igs025"), diff --git a/src/mame/includes/phc25.h b/src/mame/includes/phc25.h index 635e7cbeb70..545b5e705d7 100644 --- a/src/mame/includes/phc25.h +++ b/src/mame/includes/phc25.h @@ -27,7 +27,7 @@ class phc25_state : public driver_device { public: - phc25_state(const machine_config &mconfig, device_type type, const char *tag) + phc25_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_video_ram(*this, "video_ram") , m_maincpu(*this, Z80_TAG) diff --git a/src/mame/includes/phoenix.h b/src/mame/includes/phoenix.h index 0f423efea69..36ccbde6663 100644 --- a/src/mame/includes/phoenix.h +++ b/src/mame/includes/phoenix.h @@ -7,7 +7,7 @@ class phoenix_state : public driver_device { public: - phoenix_state(const machine_config &mconfig, device_type type, const char *tag) + phoenix_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_pleiads_custom(*this, "pleiads_custom"), @@ -83,7 +83,7 @@ class phoenix_sound_device : public device_t, public device_sound_interface { public: - phoenix_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + phoenix_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); ~phoenix_sound_device() {} DECLARE_WRITE8_MEMBER( control_a_w ); diff --git a/src/mame/includes/pingpong.h b/src/mame/includes/pingpong.h index afc47ef6ccc..63fc900ef73 100644 --- a/src/mame/includes/pingpong.h +++ b/src/mame/includes/pingpong.h @@ -3,7 +3,7 @@ class pingpong_state : public driver_device { public: - pingpong_state(const machine_config &mconfig, device_type type, const char *tag) + pingpong_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/pirates.h b/src/mame/includes/pirates.h index 20486d5b541..1767907a7b6 100644 --- a/src/mame/includes/pirates.h +++ b/src/mame/includes/pirates.h @@ -6,7 +6,7 @@ class pirates_state : public driver_device { public: - pirates_state(const machine_config &mconfig, device_type type, const char *tag) + pirates_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_eeprom(*this, "eeprom"), diff --git a/src/mame/includes/pitnrun.h b/src/mame/includes/pitnrun.h index 91dadd7172e..96c407148f8 100644 --- a/src/mame/includes/pitnrun.h +++ b/src/mame/includes/pitnrun.h @@ -3,7 +3,7 @@ class pitnrun_state : public driver_device { public: - pitnrun_state(const machine_config &mconfig, device_type type, const char *tag) + pitnrun_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mcu(*this, "mcu"), diff --git a/src/mame/includes/pk8000.h b/src/mame/includes/pk8000.h index ad895850537..4bff9b5b0c3 100644 --- a/src/mame/includes/pk8000.h +++ b/src/mame/includes/pk8000.h @@ -3,7 +3,7 @@ class pk8000_base_state : public driver_device { public: - pk8000_base_state(const machine_config &mconfig, device_type type, const char *tag) + pk8000_base_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/includes/pk8020.h b/src/mame/includes/pk8020.h index d8de9284db6..34d96f4766e 100644 --- a/src/mame/includes/pk8020.h +++ b/src/mame/includes/pk8020.h @@ -23,7 +23,7 @@ class pk8020_state : public driver_device { public: - pk8020_state(const machine_config &mconfig, device_type type, const char *tag) + pk8020_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ppi8255_1(*this, "ppi8255_1"), diff --git a/src/mame/includes/pktgaldx.h b/src/mame/includes/pktgaldx.h index 5f0b0e76b94..0eacd97cd01 100644 --- a/src/mame/includes/pktgaldx.h +++ b/src/mame/includes/pktgaldx.h @@ -14,7 +14,7 @@ class pktgaldx_state : public driver_device { public: - pktgaldx_state(const machine_config &mconfig, device_type type, const char *tag) + pktgaldx_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_deco104(*this, "ioprot104"), m_pf1_rowscroll(*this, "pf1_rowscroll"), diff --git a/src/mame/includes/playch10.h b/src/mame/includes/playch10.h index c69f07cd514..efad96194a3 100644 --- a/src/mame/includes/playch10.h +++ b/src/mame/includes/playch10.h @@ -12,7 +12,7 @@ struct chr_bank class playch10_state : public driver_device { public: - playch10_state(const machine_config &mconfig, device_type type, const char *tag) + playch10_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ppu(*this, "ppu"), diff --git a/src/mame/includes/playmark.h b/src/mame/includes/playmark.h index 2d609ea518f..aafef470b2b 100644 --- a/src/mame/includes/playmark.h +++ b/src/mame/includes/playmark.h @@ -7,7 +7,7 @@ class playmark_state : public driver_device { public: - playmark_state(const machine_config &mconfig, device_type type, const char *tag) + playmark_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bgvideoram(*this, "bgvideoram"), m_videoram1(*this, "videoram1"), diff --git a/src/mame/includes/plus4.h b/src/mame/includes/plus4.h index fbd590c9601..a59d0f59aee 100644 --- a/src/mame/includes/plus4.h +++ b/src/mame/includes/plus4.h @@ -36,7 +36,7 @@ class plus4_state : public driver_device { public: - plus4_state(const machine_config &mconfig, device_type type, const char *tag) + plus4_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, MOS7501_TAG), m_pla(*this, PLA_TAG), @@ -161,7 +161,7 @@ public: class c16_state : public plus4_state { public: - c16_state(const machine_config &mconfig, device_type type, const char *tag) + c16_state(const machine_config &mconfig, device_type type, std::string tag) : plus4_state(mconfig, type, tag) { } diff --git a/src/mame/includes/plygonet.h b/src/mame/includes/plygonet.h index 91caec85865..76fdd5c8650 100644 --- a/src/mame/includes/plygonet.h +++ b/src/mame/includes/plygonet.h @@ -14,7 +14,7 @@ static const UINT16 dsp56k_bank04_size = 0x1fc0; class polygonet_state : public driver_device { public: - polygonet_state(const machine_config &mconfig, device_type type, const char *tag) + polygonet_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/pmd85.h b/src/mame/includes/pmd85.h index 691b382a478..8b02cfedcaf 100644 --- a/src/mame/includes/pmd85.h +++ b/src/mame/includes/pmd85.h @@ -24,7 +24,7 @@ public: TIMER_CASSETTE }; - pmd85_state(const machine_config &mconfig, device_type type, const char *tag) + pmd85_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/pocketc.h b/src/mame/includes/pocketc.h index 5edc361dc70..02d193b4750 100644 --- a/src/mame/includes/pocketc.h +++ b/src/mame/includes/pocketc.h @@ -14,7 +14,7 @@ typedef const char *POCKETC_FIGURE[]; class pocketc_state : public driver_device { public: - pocketc_state(const machine_config &mconfig, device_type type, const char *tag) + pocketc_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) { } DECLARE_PALETTE_INIT(pocketc); diff --git a/src/mame/includes/poisk1.h b/src/mame/includes/poisk1.h index 57a24f0c052..aae7313b172 100644 --- a/src/mame/includes/poisk1.h +++ b/src/mame/includes/poisk1.h @@ -24,7 +24,7 @@ class p1_state : public driver_device { public: - p1_state(const machine_config &mconfig, device_type type, const char *tag) + p1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pic8259(*this, "pic8259"), diff --git a/src/mame/includes/pokechmp.h b/src/mame/includes/pokechmp.h index a4cf94fd34f..6650b73209d 100644 --- a/src/mame/includes/pokechmp.h +++ b/src/mame/includes/pokechmp.h @@ -3,7 +3,7 @@ class pokechmp_state : public driver_device { public: - pokechmp_state(const machine_config &mconfig, device_type type, const char *tag) + pokechmp_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/polepos.h b/src/mame/includes/polepos.h index 16f0963c709..09fc149b6c9 100644 --- a/src/mame/includes/polepos.h +++ b/src/mame/includes/polepos.h @@ -15,7 +15,7 @@ class polepos_state : public driver_device { public: - polepos_state(const machine_config &mconfig, device_type type, const char *tag) + polepos_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), @@ -114,7 +114,7 @@ class polepos_sound_device : public device_t, public device_sound_interface { public: - polepos_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + polepos_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); ~polepos_sound_device() { } protected: diff --git a/src/mame/includes/policetr.h b/src/mame/includes/policetr.h index 9525c9a21a7..8efab248691 100644 --- a/src/mame/includes/policetr.h +++ b/src/mame/includes/policetr.h @@ -14,7 +14,7 @@ public: TIMER_IRQ5_GEN }; - policetr_state(const machine_config &mconfig, device_type type, const char *tag) + policetr_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_rambase(*this, "rambase"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/poly88.h b/src/mame/includes/poly88.h index 9a3dc93f135..a654e77e15f 100644 --- a/src/mame/includes/poly88.h +++ b/src/mame/includes/poly88.h @@ -23,7 +23,7 @@ public: TIMER_CASSETTE }; - poly88_state(const machine_config &mconfig, device_type type, const char *tag) + poly88_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_video_ram(*this, "video_ram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/poly880.h b/src/mame/includes/poly880.h index 6245a728a9c..6362dd2324a 100644 --- a/src/mame/includes/poly880.h +++ b/src/mame/includes/poly880.h @@ -23,7 +23,7 @@ class poly880_state : public driver_device { public: - poly880_state(const machine_config &mconfig, device_type type, const char *tag) + poly880_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/polyplay.h b/src/mame/includes/polyplay.h index fd223ee5026..08d7f4af167 100644 --- a/src/mame/includes/polyplay.h +++ b/src/mame/includes/polyplay.h @@ -7,7 +7,7 @@ class polyplay_state : public driver_device { public: - polyplay_state(const machine_config &mconfig, device_type type, const char *tag) + polyplay_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_characterram(*this, "characterram"), diff --git a/src/mame/includes/poolshrk.h b/src/mame/includes/poolshrk.h index c6196e08d55..cfd0b910869 100644 --- a/src/mame/includes/poolshrk.h +++ b/src/mame/includes/poolshrk.h @@ -13,7 +13,7 @@ class poolshrk_state : public driver_device { public: - poolshrk_state(const machine_config &mconfig, device_type type, const char *tag) + poolshrk_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/pooyan.h b/src/mame/includes/pooyan.h index 3eb5fb91808..fc9b87870c1 100644 --- a/src/mame/includes/pooyan.h +++ b/src/mame/includes/pooyan.h @@ -3,7 +3,7 @@ class pooyan_state : public driver_device { public: - pooyan_state(const machine_config &mconfig, device_type type, const char *tag) + pooyan_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/popeye.h b/src/mame/includes/popeye.h index c7eee33bf4d..85219661996 100644 --- a/src/mame/includes/popeye.h +++ b/src/mame/includes/popeye.h @@ -3,7 +3,7 @@ class popeye_state : public driver_device { public: - popeye_state(const machine_config &mconfig, device_type type, const char *tag) + popeye_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_background_pos(*this, "background_pos"), m_palettebank(*this, "palettebank"), diff --git a/src/mame/includes/popper.h b/src/mame/includes/popper.h index 9ef9f287e95..4dd2efc481d 100644 --- a/src/mame/includes/popper.h +++ b/src/mame/includes/popper.h @@ -9,7 +9,7 @@ class popper_state : public driver_device { public: - popper_state(const machine_config &mconfig, device_type type, const char *tag) + popper_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_ol_videoram(*this, "ol_videoram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/portfoli.h b/src/mame/includes/portfoli.h index 7070f734e42..00de2679edc 100644 --- a/src/mame/includes/portfoli.h +++ b/src/mame/includes/portfoli.h @@ -30,7 +30,7 @@ class portfolio_state : public driver_device { public: - portfolio_state(const machine_config &mconfig, device_type type, const char *tag) + portfolio_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, M80C88A_TAG), m_lcdc(*this, HD61830_TAG), diff --git a/src/mame/includes/portrait.h b/src/mame/includes/portrait.h index 6d978f630fd..e5b789e8a3d 100644 --- a/src/mame/includes/portrait.h +++ b/src/mame/includes/portrait.h @@ -5,7 +5,7 @@ class portrait_state : public driver_device { public: - portrait_state(const machine_config &mconfig, device_type type, const char *tag) + portrait_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/powerins.h b/src/mame/includes/powerins.h index 1b6e5a65f99..fdfcf81201e 100644 --- a/src/mame/includes/powerins.h +++ b/src/mame/includes/powerins.h @@ -5,7 +5,7 @@ class powerins_state : public driver_device { public: - powerins_state(const machine_config &mconfig, device_type type, const char *tag) + powerins_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/pp01.h b/src/mame/includes/pp01.h index e8e15fce57e..7a0905ba6cb 100644 --- a/src/mame/includes/pp01.h +++ b/src/mame/includes/pp01.h @@ -22,7 +22,7 @@ class pp01_state : public driver_device { public: - pp01_state(const machine_config &mconfig, device_type type, const char *tag) + pp01_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pit(*this, "pit8253"), diff --git a/src/mame/includes/prehisle.h b/src/mame/includes/prehisle.h index 1b3d1c0a35d..c45d25bba48 100644 --- a/src/mame/includes/prehisle.h +++ b/src/mame/includes/prehisle.h @@ -5,7 +5,7 @@ class prehisle_state : public driver_device { public: - prehisle_state(const machine_config &mconfig, device_type type, const char *tag) + prehisle_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_tx_vram(*this, "tx_vram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/primo.h b/src/mame/includes/primo.h index ee12938af28..34d9c50f34d 100644 --- a/src/mame/includes/primo.h +++ b/src/mame/includes/primo.h @@ -20,7 +20,7 @@ class primo_state : public driver_device { public: - primo_state(const machine_config &mconfig, device_type type, const char *tag) + primo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_iec(*this, CBM_IEC_TAG), diff --git a/src/mame/includes/prof180x.h b/src/mame/includes/prof180x.h index 7caadfc1345..0ceb6a09b48 100644 --- a/src/mame/includes/prof180x.h +++ b/src/mame/includes/prof180x.h @@ -15,7 +15,7 @@ class prof180x_state : public driver_device { public: - prof180x_state(const machine_config &mconfig, device_type type, const char *tag) + prof180x_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_centronics(*this, CENTRONICS_TAG) { diff --git a/src/mame/includes/prof80.h b/src/mame/includes/prof80.h index faa9d7be323..efe43d1d1d8 100644 --- a/src/mame/includes/prof80.h +++ b/src/mame/includes/prof80.h @@ -33,7 +33,7 @@ class prof80_state : public driver_device { public: - prof80_state(const machine_config &mconfig, device_type type, const char *tag) + prof80_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_mmu(*this, MMU_TAG), diff --git a/src/mame/includes/psikyo.h b/src/mame/includes/psikyo.h index 9d0f2f6b69e..d87e36ef2a8 100644 --- a/src/mame/includes/psikyo.h +++ b/src/mame/includes/psikyo.h @@ -10,7 +10,7 @@ class psikyo_state : public driver_device { public: - psikyo_state(const machine_config &mconfig, device_type type, const char *tag) + psikyo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_vram_0(*this, "vram_0"), diff --git a/src/mame/includes/psikyo4.h b/src/mame/includes/psikyo4.h index 6005905e38a..20f986aa3a5 100644 --- a/src/mame/includes/psikyo4.h +++ b/src/mame/includes/psikyo4.h @@ -16,7 +16,7 @@ class psikyo4_state : public driver_device { public: - psikyo4_state(const machine_config &mconfig, device_type type, const char *tag) + psikyo4_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_vidregs(*this, "vidregs"), diff --git a/src/mame/includes/psikyosh.h b/src/mame/includes/psikyosh.h index 4332eb98ab6..47531c5fbf1 100644 --- a/src/mame/includes/psikyosh.h +++ b/src/mame/includes/psikyosh.h @@ -25,7 +25,7 @@ class psikyosh_state : public driver_device { public: - psikyosh_state(const machine_config &mconfig, device_type type, const char *tag) + psikyosh_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram") , m_bgram(*this, "bgram"), diff --git a/src/mame/includes/psion.h b/src/mame/includes/psion.h index bf09325add0..9371e168326 100644 --- a/src/mame/includes/psion.h +++ b/src/mame/includes/psion.h @@ -23,7 +23,7 @@ class psion_state : public driver_device { public: - psion_state(const machine_config &mconfig, device_type type, const char *tag) + psion_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_lcdc(*this, "hd44780"), @@ -88,7 +88,7 @@ public: class psion1_state : public psion_state { public: - psion1_state(const machine_config &mconfig, device_type type, const char *tag) + psion1_state(const machine_config &mconfig, device_type type, std::string tag) : psion_state(mconfig, type, tag) { } diff --git a/src/mame/includes/psychic5.h b/src/mame/includes/psychic5.h index 3430fb2d3aa..b5c173d5092 100644 --- a/src/mame/includes/psychic5.h +++ b/src/mame/includes/psychic5.h @@ -6,7 +6,7 @@ class psychic5_state : public driver_device { public: - psychic5_state(const machine_config &mconfig, device_type type, const char *tag) + psychic5_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/punchout.h b/src/mame/includes/punchout.h index b8e3bf4cd43..ca0fad05d3b 100644 --- a/src/mame/includes/punchout.h +++ b/src/mame/includes/punchout.h @@ -13,7 +13,7 @@ class punchout_state : public driver_device { public: - punchout_state(const machine_config &mconfig, device_type type, const char *tag) + punchout_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/px8.h b/src/mame/includes/px8.h index 8ce81932b28..3ad1cb54650 100644 --- a/src/mame/includes/px8.h +++ b/src/mame/includes/px8.h @@ -31,7 +31,7 @@ class px8_state : public driver_device { public: - px8_state(const machine_config &mconfig, device_type type, const char *tag) + px8_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, UPD70008_TAG), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/qdrmfgp.h b/src/mame/includes/qdrmfgp.h index 5c8968e12ee..2a696cb7288 100644 --- a/src/mame/includes/qdrmfgp.h +++ b/src/mame/includes/qdrmfgp.h @@ -9,7 +9,7 @@ class qdrmfgp_state : public driver_device { public: - qdrmfgp_state(const machine_config &mconfig, device_type type, const char *tag) + qdrmfgp_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_nvram(*this, "nvram"), diff --git a/src/mame/includes/qix.h b/src/mame/includes/qix.h index 9ac434a1f85..7960e03d5ae 100644 --- a/src/mame/includes/qix.h +++ b/src/mame/includes/qix.h @@ -24,7 +24,7 @@ class qix_state : public driver_device { public: - qix_state(const machine_config &mconfig, device_type type, const char *tag) + qix_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/ql.h b/src/mame/includes/ql.h index 3e0d2d082ee..c0a7a032350 100644 --- a/src/mame/includes/ql.h +++ b/src/mame/includes/ql.h @@ -37,7 +37,7 @@ class ql_state : public driver_device { public: - ql_state(const machine_config &mconfig, device_type type, const char *tag) : + ql_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, M68008_TAG), m_ipc(*this, I8749_TAG), diff --git a/src/mame/includes/quasar.h b/src/mame/includes/quasar.h index 3c8569c4626..7a206207cb3 100644 --- a/src/mame/includes/quasar.h +++ b/src/mame/includes/quasar.h @@ -11,7 +11,7 @@ class quasar_state : public cvs_state { public: - quasar_state(const machine_config &mconfig, device_type type, const char *tag) + quasar_state(const machine_config &mconfig, device_type type, std::string tag) : cvs_state(mconfig, type, tag) { } std::unique_ptr m_effectram; diff --git a/src/mame/includes/quizdna.h b/src/mame/includes/quizdna.h index 7d4bf69ac9c..ae38db454ea 100644 --- a/src/mame/includes/quizdna.h +++ b/src/mame/includes/quizdna.h @@ -3,7 +3,7 @@ class quizdna_state : public driver_device { public: - quizdna_state(const machine_config &mconfig, device_type type, const char *tag) + quizdna_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/quizpani.h b/src/mame/includes/quizpani.h index 12ae17965d1..592851bc921 100644 --- a/src/mame/includes/quizpani.h +++ b/src/mame/includes/quizpani.h @@ -5,7 +5,7 @@ class quizpani_state : public driver_device { public: - quizpani_state(const machine_config &mconfig, device_type type, const char *tag) + quizpani_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/radio86.h b/src/mame/includes/radio86.h index 8985e1692f6..5f57cd339b6 100644 --- a/src/mame/includes/radio86.h +++ b/src/mame/includes/radio86.h @@ -25,7 +25,7 @@ public: TIMER_RESET }; - radio86_state(const machine_config &mconfig, device_type type, const char *tag) + radio86_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/raiden.h b/src/mame/includes/raiden.h index ab809bc8552..02eed6b9f42 100644 --- a/src/mame/includes/raiden.h +++ b/src/mame/includes/raiden.h @@ -12,7 +12,7 @@ class raiden_state : public driver_device { public: - raiden_state(const machine_config &mconfig, device_type type, const char *tag) + raiden_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_seibu_sound(*this, "seibu_sound"), diff --git a/src/mame/includes/raiden2.h b/src/mame/includes/raiden2.h index 0cedfb94a78..17f87813ee4 100644 --- a/src/mame/includes/raiden2.h +++ b/src/mame/includes/raiden2.h @@ -7,7 +7,7 @@ class raiden2_state : public driver_device { public: - raiden2_state(const machine_config &mconfig, device_type type, const char *tag) + raiden2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), /* back_data(*this, "back_data"), diff --git a/src/mame/includes/rallyx.h b/src/mame/includes/rallyx.h index cf56d22ef3a..e9f6ca68bac 100644 --- a/src/mame/includes/rallyx.h +++ b/src/mame/includes/rallyx.h @@ -14,7 +14,7 @@ struct jungler_star class rallyx_state : public driver_device { public: - rallyx_state(const machine_config &mconfig, device_type type, const char *tag) + rallyx_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_radarattr(*this, "radarattr"), diff --git a/src/mame/includes/rampart.h b/src/mame/includes/rampart.h index d7e62bc9b39..b275d145c8f 100644 --- a/src/mame/includes/rampart.h +++ b/src/mame/includes/rampart.h @@ -13,7 +13,7 @@ class rampart_state : public atarigen_state { public: - rampart_state(const machine_config &mconfig, device_type type, const char *tag) + rampart_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_mob(*this, "mob"), m_oki(*this, "oki"), diff --git a/src/mame/includes/rastan.h b/src/mame/includes/rastan.h index 4d4771a407d..b06cd58b0f8 100644 --- a/src/mame/includes/rastan.h +++ b/src/mame/includes/rastan.h @@ -12,7 +12,7 @@ class rastan_state : public driver_device { public: - rastan_state(const machine_config &mconfig, device_type type, const char *tag) + rastan_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/rbisland.h b/src/mame/includes/rbisland.h index 0fa8a251740..f98ecba0ab7 100644 --- a/src/mame/includes/rbisland.h +++ b/src/mame/includes/rbisland.h @@ -12,7 +12,7 @@ class rbisland_state : public driver_device { public: - rbisland_state(const machine_config &mconfig, device_type type, const char *tag) + rbisland_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/realbrk.h b/src/mame/includes/realbrk.h index 4b3c3d9689a..eb037452d28 100644 --- a/src/mame/includes/realbrk.h +++ b/src/mame/includes/realbrk.h @@ -5,7 +5,7 @@ class realbrk_state : public driver_device { public: - realbrk_state(const machine_config &mconfig, device_type type, const char *tag) + realbrk_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_tmp68301(*this, "tmp68301"), diff --git a/src/mame/includes/redalert.h b/src/mame/includes/redalert.h index c3aeb7be441..908448882e4 100644 --- a/src/mame/includes/redalert.h +++ b/src/mame/includes/redalert.h @@ -14,7 +14,7 @@ class redalert_state : public driver_device { public: - redalert_state(const machine_config &mconfig, device_type type, const char *tag) + redalert_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bitmap_videoram(*this, "bitmap_videoram"), m_charmap_videoram(*this, "charram"), diff --git a/src/mame/includes/relief.h b/src/mame/includes/relief.h index cae4ad37e3d..7727a3f336a 100644 --- a/src/mame/includes/relief.h +++ b/src/mame/includes/relief.h @@ -12,7 +12,7 @@ class relief_state : public atarigen_state { public: - relief_state(const machine_config &mconfig, device_type type, const char *tag) + relief_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_vad(*this, "vad"), m_okibank(*this, "okibank") diff --git a/src/mame/includes/renegade.h b/src/mame/includes/renegade.h index fc619d2c8be..fd4273a0065 100644 --- a/src/mame/includes/renegade.h +++ b/src/mame/includes/renegade.h @@ -7,7 +7,7 @@ class renegade_state : public driver_device { public: - renegade_state(const machine_config &mconfig, device_type type, const char *tag) + renegade_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/retofinv.h b/src/mame/includes/retofinv.h index 9e35b0455b0..52fc230a84c 100644 --- a/src/mame/includes/retofinv.h +++ b/src/mame/includes/retofinv.h @@ -3,7 +3,7 @@ class retofinv_state : public driver_device { public: - retofinv_state(const machine_config &mconfig, device_type type, const char *tag) + retofinv_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/rltennis.h b/src/mame/includes/rltennis.h index 321a778d689..2a8fcdf99e0 100644 --- a/src/mame/includes/rltennis.h +++ b/src/mame/includes/rltennis.h @@ -9,7 +9,7 @@ class rltennis_state : public driver_device { public: - rltennis_state(const machine_config &mconfig, device_type type, const char *tag) + rltennis_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac_1(*this, "dac1"), diff --git a/src/mame/includes/rm380z.h b/src/mame/includes/rm380z.h index 616dbb06da9..3d36c2f0238 100644 --- a/src/mame/includes/rm380z.h +++ b/src/mame/includes/rm380z.h @@ -93,7 +93,7 @@ public: required_device m_floppy0; required_device m_floppy1; - rm380z_state(const machine_config &mconfig, device_type type, const char *tag) + rm380z_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, RM380Z_MAINCPU_TAG), m_messram(*this, RAM_TAG), diff --git a/src/mame/includes/rmnimbus.h b/src/mame/includes/rmnimbus.h index 692d6eb338a..6e1c6dfafd1 100644 --- a/src/mame/includes/rmnimbus.h +++ b/src/mame/includes/rmnimbus.h @@ -51,7 +51,7 @@ class rmnimbus_state : public driver_device { public: - rmnimbus_state(const machine_config &mconfig, device_type type, const char *tag) : + rmnimbus_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_msm(*this, MSM5205_TAG), diff --git a/src/mame/includes/rockrage.h b/src/mame/includes/rockrage.h index 52c34236776..71dc4eb69cd 100644 --- a/src/mame/includes/rockrage.h +++ b/src/mame/includes/rockrage.h @@ -13,7 +13,7 @@ class rockrage_state : public driver_device { public: - rockrage_state(const machine_config &mconfig, device_type type, const char *tag) + rockrage_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/rocnrope.h b/src/mame/includes/rocnrope.h index db48d923c8f..3cc2851abc6 100644 --- a/src/mame/includes/rocnrope.h +++ b/src/mame/includes/rocnrope.h @@ -3,7 +3,7 @@ class rocnrope_state : public driver_device { public: - rocnrope_state(const machine_config &mconfig, device_type type, const char *tag) + rocnrope_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/rohga.h b/src/mame/includes/rohga.h index 6861c53fff2..ee60bbcaa42 100644 --- a/src/mame/includes/rohga.h +++ b/src/mame/includes/rohga.h @@ -17,7 +17,7 @@ class rohga_state : public driver_device { public: - rohga_state(const machine_config &mconfig, device_type type, const char *tag) + rohga_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/rollerg.h b/src/mame/includes/rollerg.h index edaba1ab1cc..361d97cc84a 100644 --- a/src/mame/includes/rollerg.h +++ b/src/mame/includes/rollerg.h @@ -18,7 +18,7 @@ public: TIMER_NMI }; - rollerg_state(const machine_config &mconfig, device_type type, const char *tag) + rollerg_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/rollrace.h b/src/mame/includes/rollrace.h index a1860032610..4d8ab3d588b 100644 --- a/src/mame/includes/rollrace.h +++ b/src/mame/includes/rollrace.h @@ -3,7 +3,7 @@ class rollrace_state : public driver_device { public: - rollrace_state(const machine_config &mconfig, device_type type, const char *tag) + rollrace_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/route16.h b/src/mame/includes/route16.h index 32eb59800b6..ce0ef31f66f 100644 --- a/src/mame/includes/route16.h +++ b/src/mame/includes/route16.h @@ -5,7 +5,7 @@ class route16_state : public driver_device { public: - route16_state(const machine_config &mconfig, device_type type, const char *tag) + route16_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_sn(*this, "snsnd"), m_sharedram(*this, "sharedram"), diff --git a/src/mame/includes/rpunch.h b/src/mame/includes/rpunch.h index e71ad1c73b4..cd0f47dea38 100644 --- a/src/mame/includes/rpunch.h +++ b/src/mame/includes/rpunch.h @@ -5,7 +5,7 @@ class rpunch_state : public driver_device { public: - rpunch_state(const machine_config &mconfig, device_type type, const char *tag) + rpunch_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/runaway.h b/src/mame/includes/runaway.h index ae07cd6a322..397e46257a7 100644 --- a/src/mame/includes/runaway.h +++ b/src/mame/includes/runaway.h @@ -3,7 +3,7 @@ class runaway_state : public driver_device { public: - runaway_state(const machine_config &mconfig, device_type type, const char *tag) + runaway_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_video_ram(*this, "video_ram"), m_sprite_ram(*this, "sprite_ram"), diff --git a/src/mame/includes/rungun.h b/src/mame/includes/rungun.h index 2819bbde4a9..5de0323bede 100644 --- a/src/mame/includes/rungun.h +++ b/src/mame/includes/rungun.h @@ -14,7 +14,7 @@ class rungun_state : public driver_device { public: - rungun_state(const machine_config &mconfig, device_type type, const char *tag) + rungun_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/s11.h b/src/mame/includes/s11.h index 1d8f355ec0a..cba85ff87ec 100644 --- a/src/mame/includes/s11.h +++ b/src/mame/includes/s11.h @@ -22,7 +22,7 @@ class s11_state : public genpin_class { public: - s11_state(const machine_config &mconfig, device_type type, const char *tag) + s11_state(const machine_config &mconfig, device_type type, std::string tag) : genpin_class(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), @@ -123,7 +123,7 @@ private: class s11a_state : public s11_state { public: - s11a_state(const machine_config &mconfig, device_type type, const char *tag) + s11a_state(const machine_config &mconfig, device_type type, std::string tag) : s11_state(mconfig, type, tag) { } @@ -141,7 +141,7 @@ private: class s11b_state : public s11a_state { public: - s11b_state(const machine_config &mconfig, device_type type, const char *tag) + s11b_state(const machine_config &mconfig, device_type type, std::string tag) : s11a_state(mconfig, type, tag), m_bg_hc55516(*this, "hc55516_bg") @@ -174,7 +174,7 @@ private: class s11c_state : public s11b_state { public: - s11c_state(const machine_config &mconfig, device_type type, const char *tag) + s11c_state(const machine_config &mconfig, device_type type, std::string tag) : s11b_state(mconfig, type, tag) { } diff --git a/src/mame/includes/sage2.h b/src/mame/includes/sage2.h index 2a80606aa20..713603c8371 100644 --- a/src/mame/includes/sage2.h +++ b/src/mame/includes/sage2.h @@ -29,7 +29,7 @@ class sage2_state : public driver_device { public: - sage2_state(const machine_config &mconfig, device_type type, const char *tag) + sage2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, M68000_TAG), m_pic(*this, I8259_TAG), diff --git a/src/mame/includes/samcoupe.h b/src/mame/includes/samcoupe.h index 201754c993d..8e1d96be416 100644 --- a/src/mame/includes/samcoupe.h +++ b/src/mame/includes/samcoupe.h @@ -50,7 +50,7 @@ public: TIMER_VIDEO_UPDATE }; - samcoupe_state(const machine_config &mconfig, device_type type, const char *tag) + samcoupe_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/includes/sauro.h b/src/mame/includes/sauro.h index dfa69ed44f2..7e2e87eda1c 100644 --- a/src/mame/includes/sauro.h +++ b/src/mame/includes/sauro.h @@ -7,7 +7,7 @@ class sauro_state : public driver_device { public: - sauro_state(const machine_config &mconfig, device_type type, const char *tag) + sauro_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/sbasketb.h b/src/mame/includes/sbasketb.h index f1a7db9b7b0..05463cefd68 100644 --- a/src/mame/includes/sbasketb.h +++ b/src/mame/includes/sbasketb.h @@ -7,7 +7,7 @@ class sbasketb_state : public driver_device { public: - sbasketb_state(const machine_config &mconfig, device_type type, const char *tag) + sbasketb_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_colorram(*this, "colorram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/sbugger.h b/src/mame/includes/sbugger.h index 9df4807e9be..2767c1772dd 100644 --- a/src/mame/includes/sbugger.h +++ b/src/mame/includes/sbugger.h @@ -3,7 +3,7 @@ class sbugger_state : public driver_device { public: - sbugger_state(const machine_config &mconfig, device_type type, const char *tag) + sbugger_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/scotrsht.h b/src/mame/includes/scotrsht.h index 288d67822ac..43a44704753 100644 --- a/src/mame/includes/scotrsht.h +++ b/src/mame/includes/scotrsht.h @@ -3,7 +3,7 @@ class scotrsht_state : public driver_device { public: - scotrsht_state(const machine_config &mconfig, device_type type, const char *tag) + scotrsht_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/scramble.h b/src/mame/includes/scramble.h index 2648ce25237..23964fb491f 100644 --- a/src/mame/includes/scramble.h +++ b/src/mame/includes/scramble.h @@ -8,7 +8,7 @@ class scramble_state : public galaxold_state { public: - scramble_state(const machine_config &mconfig, device_type type, const char *tag) + scramble_state(const machine_config &mconfig, device_type type, std::string tag) : galaxold_state(mconfig, type, tag), m_konami_7474(*this, "konami_7474"), m_ppi8255_0(*this, "ppi8255_0"), diff --git a/src/mame/includes/sderby.h b/src/mame/includes/sderby.h index 0261ea14a7a..c490d72a175 100644 --- a/src/mame/includes/sderby.h +++ b/src/mame/includes/sderby.h @@ -3,7 +3,7 @@ class sderby_state : public driver_device { public: - sderby_state(const machine_config &mconfig, device_type type, const char *tag) + sderby_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_md_videoram(*this, "md_videoram"), diff --git a/src/mame/includes/segag80r.h b/src/mame/includes/segag80r.h index 77e690fc86e..a1c3300d691 100644 --- a/src/mame/includes/segag80r.h +++ b/src/mame/includes/segag80r.h @@ -21,7 +21,7 @@ public: TIMER_VBLANK_LATCH_CLEAR }; - segag80r_state(const machine_config &mconfig, device_type type, const char *tag) + segag80r_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_mainram(*this, "mainram"), m_videoram(*this, "videoram"), @@ -164,7 +164,7 @@ class sega005_sound_device : public device_t, public device_sound_interface { public: - sega005_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + sega005_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); emu_timer *m_sega005_sound_timer; sound_stream *m_sega005_stream; diff --git a/src/mame/includes/segag80v.h b/src/mame/includes/segag80v.h index b9c74242fbd..e1d0f1f2864 100644 --- a/src/mame/includes/segag80v.h +++ b/src/mame/includes/segag80v.h @@ -13,7 +13,7 @@ class segag80v_state : public driver_device { public: - segag80v_state(const machine_config &mconfig, device_type type, const char *tag) + segag80v_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_mainram(*this, "mainram"), m_vectorram(*this, "vectorram"), diff --git a/src/mame/includes/segahang.h b/src/mame/includes/segahang.h index 6de20b3b774..f490ca3a0b5 100644 --- a/src/mame/includes/segahang.h +++ b/src/mame/includes/segahang.h @@ -22,7 +22,7 @@ class segahang_state : public sega_16bit_common_base { public: // construction/destruction - segahang_state(const machine_config &mconfig, device_type type, const char *tag) + segahang_state(const machine_config &mconfig, device_type type, std::string tag) : sega_16bit_common_base(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "subcpu"), diff --git a/src/mame/includes/segaorun.h b/src/mame/includes/segaorun.h index 6343dd07835..ef1c7b6d075 100644 --- a/src/mame/includes/segaorun.h +++ b/src/mame/includes/segaorun.h @@ -22,7 +22,7 @@ class segaorun_state : public sega_16bit_common_base { public: // construction/destruction - segaorun_state(const machine_config &mconfig, device_type type, const char *tag) + segaorun_state(const machine_config &mconfig, device_type type, std::string tag) : sega_16bit_common_base(mconfig, type, tag), m_mapper(*this, "mapper"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/segas16a.h b/src/mame/includes/segas16a.h index f34c9ae1b8b..37075bd0384 100644 --- a/src/mame/includes/segas16a.h +++ b/src/mame/includes/segas16a.h @@ -25,7 +25,7 @@ class segas16a_state : public sega_16bit_common_base { public: // construction/destruction - segas16a_state(const machine_config &mconfig, device_type type, const char *tag) + segas16a_state(const machine_config &mconfig, device_type type, std::string tag) : sega_16bit_common_base(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/segas16b.h b/src/mame/includes/segas16b.h index 498c4fb86d1..bb190513c99 100644 --- a/src/mame/includes/segas16b.h +++ b/src/mame/includes/segas16b.h @@ -24,7 +24,7 @@ class segas16b_state : public sega_16bit_common_base { public: // construction/destruction - segas16b_state(const machine_config &mconfig, device_type type, const char *tag) + segas16b_state(const machine_config &mconfig, device_type type, std::string tag) : sega_16bit_common_base(mconfig, type, tag), m_mapper(*this, "mapper"), m_maincpu(*this, "maincpu"), @@ -221,7 +221,7 @@ class isgsm_state : public segas16b_state { public: // construction/destruction - isgsm_state(const machine_config &mconfig, device_type type, const char *tag) + isgsm_state(const machine_config &mconfig, device_type type, std::string tag) : segas16b_state(mconfig, type, tag), m_read_xor(0), m_cart_addrlatch(0), diff --git a/src/mame/includes/segas18.h b/src/mame/includes/segas18.h index 44e66be4fb4..cf6043576fb 100644 --- a/src/mame/includes/segas18.h +++ b/src/mame/includes/segas18.h @@ -23,7 +23,7 @@ class segas18_state : public sega_16bit_common_base { public: // construction/destruction - segas18_state(const machine_config &mconfig, device_type type, const char *tag) + segas18_state(const machine_config &mconfig, device_type type, std::string tag) : sega_16bit_common_base(mconfig, type, tag), m_mapper(*this, "mapper"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/segas24.h b/src/mame/includes/segas24.h index f2633b12632..f5e3f473939 100644 --- a/src/mame/includes/segas24.h +++ b/src/mame/includes/segas24.h @@ -11,7 +11,7 @@ class segas24_state : public driver_device { public: - segas24_state(const machine_config &mconfig, device_type type, const char *tag) + segas24_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_subcpu(*this, "subcpu"), diff --git a/src/mame/includes/segas32.h b/src/mame/includes/segas32.h index 32392914aad..422b54a5c83 100644 --- a/src/mame/includes/segas32.h +++ b/src/mame/includes/segas32.h @@ -16,7 +16,7 @@ class segas32_state : public device_t { public: - segas32_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + segas32_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); required_shared_ptr m_z80_shared_ram; optional_shared_ptr m_ga2_dpram; @@ -266,7 +266,7 @@ protected: class segas32_regular_state : public segas32_state { public: - segas32_regular_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + segas32_regular_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -277,7 +277,7 @@ protected: class segas32_v25_state : public segas32_state { public: - segas32_v25_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + segas32_v25_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -288,7 +288,7 @@ protected: class sega_multi32_state : public segas32_state { public: - sega_multi32_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + sega_multi32_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; diff --git a/src/mame/includes/segasp.h b/src/mame/includes/segasp.h index ee952a7dcd9..3896e4ce040 100644 --- a/src/mame/includes/segasp.h +++ b/src/mame/includes/segasp.h @@ -11,7 +11,7 @@ class segasp_state : public naomi_state { public: - segasp_state(const machine_config &mconfig, device_type type, const char *tag) + segasp_state(const machine_config &mconfig, device_type type, std::string tag) : naomi_state(mconfig, type, tag), m_sp_eeprom(*this, "sp_eeprom") { } diff --git a/src/mame/includes/segaxbd.h b/src/mame/includes/segaxbd.h index 0625ceb619b..b2391c14ed9 100644 --- a/src/mame/includes/segaxbd.h +++ b/src/mame/includes/segaxbd.h @@ -22,7 +22,7 @@ class segaxbd_state : public device_t { public: // construction/destruction - segaxbd_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + segaxbd_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); // compare/timer chip callbacks void timer_ack_callback(); @@ -158,7 +158,7 @@ protected: class segaxbd_regular_state : public segaxbd_state { public: - segaxbd_regular_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + segaxbd_regular_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -171,7 +171,7 @@ protected: class segaxbd_fd1094_state : public segaxbd_state { public: - segaxbd_fd1094_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + segaxbd_fd1094_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -182,7 +182,7 @@ protected: class segaxbd_lastsurv_fd1094_state : public segaxbd_state { public: - segaxbd_lastsurv_fd1094_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + segaxbd_lastsurv_fd1094_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -193,7 +193,7 @@ protected: class segaxbd_lastsurv_state : public segaxbd_state { public: - segaxbd_lastsurv_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + segaxbd_lastsurv_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -205,7 +205,7 @@ protected: class segaxbd_smgp_fd1094_state : public segaxbd_state { public: - segaxbd_smgp_fd1094_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + segaxbd_smgp_fd1094_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -217,7 +217,7 @@ protected: class segaxbd_smgp_state : public segaxbd_state { public: - segaxbd_smgp_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + segaxbd_smgp_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -229,7 +229,7 @@ protected: class segaxbd_rascot_state : public segaxbd_state { public: - segaxbd_rascot_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + segaxbd_rascot_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; diff --git a/src/mame/includes/segaybd.h b/src/mame/includes/segaybd.h index baf0b1d7c37..d8d2062e8e7 100644 --- a/src/mame/includes/segaybd.h +++ b/src/mame/includes/segaybd.h @@ -19,7 +19,7 @@ class segaybd_state : public sega_16bit_common_base { public: // construction/destruction - segaybd_state(const machine_config &mconfig, device_type type, const char *tag) + segaybd_state(const machine_config &mconfig, device_type type, std::string tag) : sega_16bit_common_base(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subx(*this, "subx"), diff --git a/src/mame/includes/seibuspi.h b/src/mame/includes/seibuspi.h index e3cd7d82f67..e6aa8f43b46 100644 --- a/src/mame/includes/seibuspi.h +++ b/src/mame/includes/seibuspi.h @@ -14,7 +14,7 @@ class seibuspi_state : public driver_device { public: - seibuspi_state(const machine_config &mconfig, device_type type, const char *tag) + seibuspi_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/seicross.h b/src/mame/includes/seicross.h index 77b8e5a6708..df64c838d5b 100644 --- a/src/mame/includes/seicross.h +++ b/src/mame/includes/seicross.h @@ -5,7 +5,7 @@ class seicross_state : public driver_device { public: - seicross_state(const machine_config &mconfig, device_type type, const char *tag) + seicross_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mcu(*this, "mcu"), diff --git a/src/mame/includes/senjyo.h b/src/mame/includes/senjyo.h index 39d42ea5b01..f54536d12d4 100644 --- a/src/mame/includes/senjyo.h +++ b/src/mame/includes/senjyo.h @@ -8,7 +8,7 @@ class senjyo_state : public driver_device { public: - senjyo_state(const machine_config &mconfig, device_type type, const char *tag) + senjyo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pio(*this, "z80pio"), diff --git a/src/mame/includes/seta.h b/src/mame/includes/seta.h index 1f1c5d0a920..ebb83ab522d 100644 --- a/src/mame/includes/seta.h +++ b/src/mame/includes/seta.h @@ -30,7 +30,7 @@ struct game_offset class seta_state : public driver_device { public: - seta_state(const machine_config &mconfig, device_type type, const char *tag) + seta_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/seta2.h b/src/mame/includes/seta2.h index 1c48610d9e9..7cc4aef598d 100644 --- a/src/mame/includes/seta2.h +++ b/src/mame/includes/seta2.h @@ -8,7 +8,7 @@ class seta2_state : public driver_device { public: - seta2_state(const machine_config &mconfig, device_type type, const char *tag) + seta2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_tmp68301(*this, "tmp68301"), diff --git a/src/mame/includes/sf.h b/src/mame/includes/sf.h index b6964d9cf8f..1e42b1f3ce8 100644 --- a/src/mame/includes/sf.h +++ b/src/mame/includes/sf.h @@ -11,7 +11,7 @@ class sf_state : public driver_device { public: - sf_state(const machine_config &mconfig, device_type type, const char *tag) + sf_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/sg1000.h b/src/mame/includes/sg1000.h index 6cfd014433f..27f6104772f 100644 --- a/src/mame/includes/sg1000.h +++ b/src/mame/includes/sg1000.h @@ -43,7 +43,7 @@ public: TIMER_LIGHTGUN_TICK }; - sg1000_state(const machine_config &mconfig, device_type type, const char *tag) + sg1000_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_ram(*this, RAM_TAG), @@ -73,7 +73,7 @@ public: class sc3000_state : public sg1000_state { public: - sc3000_state(const machine_config &mconfig, device_type type, const char *tag) + sc3000_state(const machine_config &mconfig, device_type type, std::string tag) : sg1000_state(mconfig, type, tag), m_cassette(*this, "cassette"), m_pa0(*this, "PA0"), @@ -124,7 +124,7 @@ public: class sf7000_state : public sc3000_state { public: - sf7000_state(const machine_config &mconfig, device_type type, const char *tag) + sf7000_state(const machine_config &mconfig, device_type type, std::string tag) : sc3000_state(mconfig, type, tag), m_fdc(*this, UPD765_TAG), m_centronics(*this, CENTRONICS_TAG), diff --git a/src/mame/includes/shadfrce.h b/src/mame/includes/shadfrce.h index 82ce0cba31b..1c49ac5171b 100644 --- a/src/mame/includes/shadfrce.h +++ b/src/mame/includes/shadfrce.h @@ -5,7 +5,7 @@ class shadfrce_state : public driver_device { public: - shadfrce_state(const machine_config &mconfig, device_type type, const char *tag) + shadfrce_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/shangha3.h b/src/mame/includes/shangha3.h index 1a75aaa8cfb..32ba9f72ee2 100644 --- a/src/mame/includes/shangha3.h +++ b/src/mame/includes/shangha3.h @@ -5,7 +5,7 @@ class shangha3_state : public driver_device { public: - shangha3_state(const machine_config &mconfig, device_type type, const char *tag) + shangha3_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/shangkid.h b/src/mame/includes/shangkid.h index 6680c6c1748..2224e8a67cf 100644 --- a/src/mame/includes/shangkid.h +++ b/src/mame/includes/shangkid.h @@ -3,7 +3,7 @@ class shangkid_state : public driver_device { public: - shangkid_state(const machine_config &mconfig, device_type type, const char *tag) + shangkid_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/shaolins.h b/src/mame/includes/shaolins.h index 06c7a60df76..57b077cafa5 100644 --- a/src/mame/includes/shaolins.h +++ b/src/mame/includes/shaolins.h @@ -3,7 +3,7 @@ class shaolins_state : public driver_device { public: - shaolins_state(const machine_config &mconfig, device_type type, const char *tag) + shaolins_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/shisen.h b/src/mame/includes/shisen.h index a77429e2798..4c76c00af48 100644 --- a/src/mame/includes/shisen.h +++ b/src/mame/includes/shisen.h @@ -5,7 +5,7 @@ class shisen_state : public driver_device { public: - shisen_state(const machine_config &mconfig, device_type type, const char *tag) + shisen_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audio (*this, "m72"), diff --git a/src/mame/includes/shootout.h b/src/mame/includes/shootout.h index 8615df3be8b..511a8745f35 100644 --- a/src/mame/includes/shootout.h +++ b/src/mame/includes/shootout.h @@ -3,7 +3,7 @@ class shootout_state : public driver_device { public: - shootout_state(const machine_config &mconfig, device_type type, const char *tag) + shootout_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/shuuz.h b/src/mame/includes/shuuz.h index 8f0e20ac876..79b580c1aca 100644 --- a/src/mame/includes/shuuz.h +++ b/src/mame/includes/shuuz.h @@ -12,7 +12,7 @@ class shuuz_state : public atarigen_state { public: - shuuz_state(const machine_config &mconfig, device_type type, const char *tag) + shuuz_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_vad(*this, "vad") { } diff --git a/src/mame/includes/sidearms.h b/src/mame/includes/sidearms.h index bd82050f486..4c2cb3f24bf 100644 --- a/src/mame/includes/sidearms.h +++ b/src/mame/includes/sidearms.h @@ -5,7 +5,7 @@ class sidearms_state : public driver_device { public: - sidearms_state(const machine_config &mconfig, device_type type, const char *tag) + sidearms_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/sidepckt.h b/src/mame/includes/sidepckt.h index 214521b87cc..d4237509d34 100644 --- a/src/mame/includes/sidepckt.h +++ b/src/mame/includes/sidepckt.h @@ -9,7 +9,7 @@ class sidepckt_state : public driver_device { public: - sidepckt_state(const machine_config &mconfig, device_type type, const char *tag) + sidepckt_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/silkroad.h b/src/mame/includes/silkroad.h index 12fee36f2e0..f03450cea4f 100644 --- a/src/mame/includes/silkroad.h +++ b/src/mame/includes/silkroad.h @@ -5,7 +5,7 @@ class silkroad_state : public driver_device { public: - silkroad_state(const machine_config &mconfig, device_type type, const char *tag) + silkroad_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki1(*this, "oki1"), diff --git a/src/mame/includes/simpl156.h b/src/mame/includes/simpl156.h index 7fc91654160..6de98cdff21 100644 --- a/src/mame/includes/simpl156.h +++ b/src/mame/includes/simpl156.h @@ -14,7 +14,7 @@ class simpl156_state : public driver_device { public: - simpl156_state(const machine_config &mconfig, device_type type, const char *tag) + simpl156_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_deco_tilegen1(*this, "tilegen1"), diff --git a/src/mame/includes/simple_st0016.h b/src/mame/includes/simple_st0016.h index 21c30ac560d..3609d948b27 100644 --- a/src/mame/includes/simple_st0016.h +++ b/src/mame/includes/simple_st0016.h @@ -6,7 +6,7 @@ class st0016_state : public driver_device { public: - st0016_state(const machine_config &mconfig, device_type type, const char *tag) + st0016_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/simpsons.h b/src/mame/includes/simpsons.h index 2762f4da138..b24edca6f4b 100644 --- a/src/mame/includes/simpsons.h +++ b/src/mame/includes/simpsons.h @@ -15,7 +15,7 @@ public: TIMER_DMAEND }; - simpsons_state(const machine_config &mconfig, device_type type, const char *tag) + simpsons_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/skullxbo.h b/src/mame/includes/skullxbo.h index 4cabfa061aa..72dba56a9bd 100644 --- a/src/mame/includes/skullxbo.h +++ b/src/mame/includes/skullxbo.h @@ -13,7 +13,7 @@ class skullxbo_state : public atarigen_state { public: - skullxbo_state(const machine_config &mconfig, device_type type, const char *tag) + skullxbo_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_jsa(*this, "jsa"), m_scanline_timer(*this, "scan_timer"), diff --git a/src/mame/includes/skydiver.h b/src/mame/includes/skydiver.h index 8e287c5b04f..b7163b8c35d 100644 --- a/src/mame/includes/skydiver.h +++ b/src/mame/includes/skydiver.h @@ -24,7 +24,7 @@ class skydiver_state : public driver_device { public: - skydiver_state(const machine_config &mconfig, device_type type, const char *tag) + skydiver_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_discrete(*this, "discrete"), diff --git a/src/mame/includes/skyfox.h b/src/mame/includes/skyfox.h index c45be86567e..a221001bb29 100644 --- a/src/mame/includes/skyfox.h +++ b/src/mame/includes/skyfox.h @@ -9,7 +9,7 @@ class skyfox_state : public driver_device { public: - skyfox_state(const machine_config &mconfig, device_type type, const char *tag) + skyfox_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/skykid.h b/src/mame/includes/skykid.h index 929298e2ea6..f595370e3e6 100644 --- a/src/mame/includes/skykid.h +++ b/src/mame/includes/skykid.h @@ -5,7 +5,7 @@ class skykid_state : public driver_device { public: - skykid_state(const machine_config &mconfig, device_type type, const char *tag) + skykid_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_textram(*this, "textram"), diff --git a/src/mame/includes/skyraid.h b/src/mame/includes/skyraid.h index b4258ad37ef..e117a127e35 100644 --- a/src/mame/includes/skyraid.h +++ b/src/mame/includes/skyraid.h @@ -5,7 +5,7 @@ class skyraid_state : public driver_device { public: - skyraid_state(const machine_config &mconfig, device_type type, const char *tag) + skyraid_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_pos_ram(*this, "pos_ram"), m_alpha_num_ram(*this, "alpha_num_ram"), diff --git a/src/mame/includes/slapfght.h b/src/mame/includes/slapfght.h index 32f14f281df..cda95c57914 100644 --- a/src/mame/includes/slapfght.h +++ b/src/mame/includes/slapfght.h @@ -13,7 +13,7 @@ class slapfght_state : public driver_device { public: - slapfght_state(const machine_config &mconfig, device_type type, const char *tag) + slapfght_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/slapshot.h b/src/mame/includes/slapshot.h index 6a200b524ab..4aad8cc35e8 100644 --- a/src/mame/includes/slapshot.h +++ b/src/mame/includes/slapshot.h @@ -29,7 +29,7 @@ public: TIMER_SLAPSHOT_INTERRUPT6 }; - slapshot_state(const machine_config &mconfig, device_type type, const char *tag) + slapshot_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_tc0140syt(*this, "tc0140syt"), diff --git a/src/mame/includes/slapstic.h b/src/mame/includes/slapstic.h index cfcfcce890e..0d3283fec7e 100644 --- a/src/mame/includes/slapstic.h +++ b/src/mame/includes/slapstic.h @@ -132,7 +132,7 @@ class atari_slapstic_device : public device_t { public: // construction/destruction - atari_slapstic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + atari_slapstic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); void slapstic_init(running_machine &machine, int chip); void slapstic_reset(void); diff --git a/src/mame/includes/sms.h b/src/mame/includes/sms.h index ec9ae688698..e25e243515b 100644 --- a/src/mame/includes/sms.h +++ b/src/mame/includes/sms.h @@ -30,7 +30,7 @@ class sms_state : public driver_device { public: - sms_state(const machine_config &mconfig, device_type type, const char *tag) + sms_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_vdp(*this, "sms_vdp"), @@ -220,7 +220,7 @@ protected: class smssdisp_state : public sms_state { public: - smssdisp_state(const machine_config &mconfig, device_type type, const char *tag) + smssdisp_state(const machine_config &mconfig, device_type type, std::string tag) : sms_state(mconfig, type, tag), m_control_cpu(*this, "control") { } diff --git a/src/mame/includes/snes.h b/src/mame/includes/snes.h index 238ad7efcc9..76a58b73081 100644 --- a/src/mame/includes/snes.h +++ b/src/mame/includes/snes.h @@ -309,7 +309,7 @@ public: TIMER_SNES_LAST }; - snes_state(const machine_config &mconfig, device_type type, const char *tag) + snes_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/snk.h b/src/mame/includes/snk.h index 7e6469d6f3b..d6fcc6a7939 100644 --- a/src/mame/includes/snk.h +++ b/src/mame/includes/snk.h @@ -10,7 +10,7 @@ class snk_state : public driver_device { public: - snk_state(const machine_config &mconfig, device_type type, const char *tag) + snk_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/snk6502.h b/src/mame/includes/snk6502.h index 2c66853510d..b01a5c400e3 100644 --- a/src/mame/includes/snk6502.h +++ b/src/mame/includes/snk6502.h @@ -15,7 +15,7 @@ class snk6502_sound_device; class snk6502_state : public driver_device { public: - snk6502_state(const machine_config &mconfig, device_type type, const char *tag) + snk6502_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_sound(*this, "snk6502"), @@ -107,7 +107,7 @@ class snk6502_sound_device : public device_t, public device_sound_interface { public: - snk6502_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + snk6502_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); ~snk6502_sound_device() {} DECLARE_WRITE8_MEMBER( sasuke_sound_w ); diff --git a/src/mame/includes/snk68.h b/src/mame/includes/snk68.h index f9c8d59e71f..7021488b02a 100644 --- a/src/mame/includes/snk68.h +++ b/src/mame/includes/snk68.h @@ -5,7 +5,7 @@ class snk68_state : public driver_device { public: - snk68_state(const machine_config &mconfig, device_type type, const char *tag) + snk68_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/snookr10.h b/src/mame/includes/snookr10.h index b15623e61d0..7441c7e2a2c 100644 --- a/src/mame/includes/snookr10.h +++ b/src/mame/includes/snookr10.h @@ -3,7 +3,7 @@ class snookr10_state : public driver_device { public: - snookr10_state(const machine_config &mconfig, device_type type, const char *tag) + snookr10_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/snowbros.h b/src/mame/includes/snowbros.h index a1102dbd7a8..135b413c37e 100644 --- a/src/mame/includes/snowbros.h +++ b/src/mame/includes/snowbros.h @@ -7,7 +7,7 @@ class snowbros_state : public driver_device { public: - snowbros_state(const machine_config &mconfig, device_type type, const char *tag) + snowbros_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/softbox.h b/src/mame/includes/softbox.h index 1ebd857424c..0f3df723cc8 100644 --- a/src/mame/includes/softbox.h +++ b/src/mame/includes/softbox.h @@ -26,7 +26,7 @@ class softbox_state : public driver_device { public: - softbox_state(const machine_config &mconfig, device_type type, const char *tag) + softbox_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_dbrg(*this, COM8116_TAG), diff --git a/src/mame/includes/solomon.h b/src/mame/includes/solomon.h index 0d8ab74ce02..881d8b579ac 100644 --- a/src/mame/includes/solomon.h +++ b/src/mame/includes/solomon.h @@ -3,7 +3,7 @@ class solomon_state : public driver_device { public: - solomon_state(const machine_config &mconfig, device_type type, const char *tag) + solomon_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/sonson.h b/src/mame/includes/sonson.h index 343ae432944..bc81bb1a5f3 100644 --- a/src/mame/includes/sonson.h +++ b/src/mame/includes/sonson.h @@ -9,7 +9,7 @@ class sonson_state : public driver_device { public: - sonson_state(const machine_config &mconfig, device_type type, const char *tag) + sonson_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/sorcerer.h b/src/mame/includes/sorcerer.h index 9e49370b514..fde3950b749 100644 --- a/src/mame/includes/sorcerer.h +++ b/src/mame/includes/sorcerer.h @@ -51,7 +51,7 @@ public: TIMER_RESET }; - sorcerer_state(const machine_config &mconfig, device_type type, const char *tag) + sorcerer_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_cassette1(*this, "cassette") diff --git a/src/mame/includes/spacefb.h b/src/mame/includes/spacefb.h index 4bd39f33338..c43b55ab2e5 100644 --- a/src/mame/includes/spacefb.h +++ b/src/mame/includes/spacefb.h @@ -29,7 +29,7 @@ class spacefb_state : public driver_device { public: - spacefb_state(const machine_config &mconfig, device_type type, const char *tag) + spacefb_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/spbactn.h b/src/mame/includes/spbactn.h index 9924a0e46fe..1dbaa6748c3 100644 --- a/src/mame/includes/spbactn.h +++ b/src/mame/includes/spbactn.h @@ -7,7 +7,7 @@ class spbactn_state : public driver_device { public: - spbactn_state(const machine_config &mconfig, device_type type, const char *tag) + spbactn_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/spcforce.h b/src/mame/includes/spcforce.h index fc572a6dbfa..b230fdfdc86 100644 --- a/src/mame/includes/spcforce.h +++ b/src/mame/includes/spcforce.h @@ -5,7 +5,7 @@ class spcforce_state : public driver_device { public: - spcforce_state(const machine_config &mconfig, device_type type, const char *tag) + spcforce_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/spdodgeb.h b/src/mame/includes/spdodgeb.h index 04b6362c12a..b2060ee4afd 100644 --- a/src/mame/includes/spdodgeb.h +++ b/src/mame/includes/spdodgeb.h @@ -11,7 +11,7 @@ class spdodgeb_state : public driver_device { public: - spdodgeb_state(const machine_config &mconfig, device_type type, const char *tag) + spdodgeb_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/special.h b/src/mame/includes/special.h index 6c9a369b922..ab1e671e184 100644 --- a/src/mame/includes/special.h +++ b/src/mame/includes/special.h @@ -33,7 +33,7 @@ public: TIMER_PIT8253_GATES }; - special_state(const machine_config &mconfig, device_type type, const char *tag) + special_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ppi(*this, "ppi8255"), diff --git a/src/mame/includes/spectrum.h b/src/mame/includes/spectrum.h index bd4d0511cab..41208d99e06 100644 --- a/src/mame/includes/spectrum.h +++ b/src/mame/includes/spectrum.h @@ -84,7 +84,7 @@ enum class spectrum_state : public driver_device { public: - spectrum_state(const machine_config &mconfig, device_type type, const char *tag) + spectrum_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_video_ram(*this, "video_ram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/speedatk.h b/src/mame/includes/speedatk.h index d0ed37db6da..6cf70ced45b 100644 --- a/src/mame/includes/speedatk.h +++ b/src/mame/includes/speedatk.h @@ -5,7 +5,7 @@ class speedatk_state : public driver_device { public: - speedatk_state(const machine_config &mconfig, device_type type, const char *tag) + speedatk_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_crtc(*this, "crtc"), diff --git a/src/mame/includes/speedbal.h b/src/mame/includes/speedbal.h index c6cc7e5e4f9..75d1ffadad5 100644 --- a/src/mame/includes/speedbal.h +++ b/src/mame/includes/speedbal.h @@ -3,7 +3,7 @@ class speedbal_state : public driver_device { public: - speedbal_state(const machine_config &mconfig, device_type type, const char *tag) + speedbal_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/speedspn.h b/src/mame/includes/speedspn.h index 9167d0192d4..4c7bfbfc5c2 100644 --- a/src/mame/includes/speedspn.h +++ b/src/mame/includes/speedspn.h @@ -5,7 +5,7 @@ class speedspn_state : public driver_device { public: - speedspn_state(const machine_config &mconfig, device_type type, const char *tag) + speedspn_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/spiders.h b/src/mame/includes/spiders.h index ba29815a7de..11e99d044c5 100644 --- a/src/mame/includes/spiders.h +++ b/src/mame/includes/spiders.h @@ -11,7 +11,7 @@ class spiders_state : public driver_device { public: - spiders_state(const machine_config &mconfig, device_type type, const char *tag) + spiders_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_ram(*this, "ram"), m_discrete(*this, "discrete"), diff --git a/src/mame/includes/splash.h b/src/mame/includes/splash.h index 872d52643a6..a4201619f9e 100644 --- a/src/mame/includes/splash.h +++ b/src/mame/includes/splash.h @@ -5,7 +5,7 @@ class splash_state : public driver_device { public: - splash_state(const machine_config &mconfig, device_type type, const char *tag) + splash_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/sprcros2.h b/src/mame/includes/sprcros2.h index bc3a468306c..e7c1149ea2e 100644 --- a/src/mame/includes/sprcros2.h +++ b/src/mame/includes/sprcros2.h @@ -3,7 +3,7 @@ class sprcros2_state : public driver_device { public: - sprcros2_state(const machine_config &mconfig, device_type type, const char *tag) + sprcros2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_master(*this,"master"), m_slave(*this,"slave"), diff --git a/src/mame/includes/sprint2.h b/src/mame/includes/sprint2.h index 991ad99025c..47f0300429f 100644 --- a/src/mame/includes/sprint2.h +++ b/src/mame/includes/sprint2.h @@ -26,7 +26,7 @@ class sprint2_state : public driver_device { public: - sprint2_state(const machine_config &mconfig, device_type type, const char *tag) + sprint2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_video_ram(*this, "video_ram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/sprint4.h b/src/mame/includes/sprint4.h index 79def94ada0..dccbb817743 100644 --- a/src/mame/includes/sprint4.h +++ b/src/mame/includes/sprint4.h @@ -8,7 +8,7 @@ public: TIMER_NMI }; - sprint4_state(const machine_config &mconfig, device_type type, const char *tag) + sprint4_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/sprint8.h b/src/mame/includes/sprint8.h index 4db1fca0fa2..9228fcbb385 100644 --- a/src/mame/includes/sprint8.h +++ b/src/mame/includes/sprint8.h @@ -5,7 +5,7 @@ class sprint8_state : public driver_device { public: - sprint8_state(const machine_config &mconfig, device_type type, const char *tag) + sprint8_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_video_ram(*this, "video_ram"), m_pos_h_ram(*this, "pos_h_ram"), diff --git a/src/mame/includes/spy.h b/src/mame/includes/spy.h index a77b8669af6..6f7f414025e 100644 --- a/src/mame/includes/spy.h +++ b/src/mame/includes/spy.h @@ -13,7 +13,7 @@ class spy_state : public driver_device { public: - spy_state(const machine_config &mconfig, device_type type, const char *tag) + spy_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_ram(*this, "ram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/srmp2.h b/src/mame/includes/srmp2.h index d0cab87ce67..2447f113a20 100644 --- a/src/mame/includes/srmp2.h +++ b/src/mame/includes/srmp2.h @@ -14,7 +14,7 @@ struct iox_t class srmp2_state : public driver_device { public: - srmp2_state(const machine_config &mconfig, device_type type, const char *tag) + srmp2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_seta001(*this, "spritegen"), diff --git a/src/mame/includes/srumbler.h b/src/mame/includes/srumbler.h index 0e6b320fcfc..4fd7a43eaa5 100644 --- a/src/mame/includes/srumbler.h +++ b/src/mame/includes/srumbler.h @@ -5,7 +5,7 @@ class srumbler_state : public driver_device { public: - srumbler_state(const machine_config &mconfig, device_type type, const char *tag) + srumbler_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_spriteram(*this,"spriteram"), diff --git a/src/mame/includes/sshangha.h b/src/mame/includes/sshangha.h index 056dd91bf3a..ed882bc2361 100644 --- a/src/mame/includes/sshangha.h +++ b/src/mame/includes/sshangha.h @@ -7,7 +7,7 @@ class sshangha_state : public driver_device { public: - sshangha_state(const machine_config &mconfig, device_type type, const char *tag) + sshangha_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_deco146(*this, "ioprot"), m_deco_tilegen1(*this, "tilegen1"), diff --git a/src/mame/includes/sslam.h b/src/mame/includes/sslam.h index c52ee6f3672..a86e9d1bdb8 100644 --- a/src/mame/includes/sslam.h +++ b/src/mame/includes/sslam.h @@ -5,7 +5,7 @@ class sslam_state : public driver_device { public: - sslam_state(const machine_config &mconfig, device_type type, const char *tag) + sslam_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/ssozumo.h b/src/mame/includes/ssozumo.h index eee0334c406..7257a2b532a 100644 --- a/src/mame/includes/ssozumo.h +++ b/src/mame/includes/ssozumo.h @@ -3,7 +3,7 @@ class ssozumo_state : public driver_device { public: - ssozumo_state(const machine_config &mconfig, device_type type, const char *tag) + ssozumo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/sspeedr.h b/src/mame/includes/sspeedr.h index 54978416da1..a2d91c77fb5 100644 --- a/src/mame/includes/sspeedr.h +++ b/src/mame/includes/sspeedr.h @@ -3,7 +3,7 @@ class sspeedr_state : public driver_device { public: - sspeedr_state(const machine_config &mconfig, device_type type, const char *tag) + sspeedr_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/ssrj.h b/src/mame/includes/ssrj.h index f17223aca95..bc256b0c69a 100644 --- a/src/mame/includes/ssrj.h +++ b/src/mame/includes/ssrj.h @@ -3,7 +3,7 @@ class ssrj_state : public driver_device { public: - ssrj_state(const machine_config &mconfig, device_type type, const char *tag) + ssrj_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/ssv.h b/src/mame/includes/ssv.h index 611ff3b66ee..d0aa3ff0c64 100644 --- a/src/mame/includes/ssv.h +++ b/src/mame/includes/ssv.h @@ -8,7 +8,7 @@ class ssv_state : public driver_device { public: - ssv_state(const machine_config &mconfig, device_type type, const char *tag) + ssv_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ensoniq(*this, "ensoniq"), diff --git a/src/mame/includes/ssystem3.h b/src/mame/includes/ssystem3.h index 79a5e7d4591..ff8da0c6a60 100644 --- a/src/mame/includes/ssystem3.h +++ b/src/mame/includes/ssystem3.h @@ -41,7 +41,7 @@ struct lcd_t class ssystem3_state : public driver_device { public: - ssystem3_state(const machine_config &mconfig, device_type type, const char *tag) + ssystem3_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_palette(*this, "palette") diff --git a/src/mame/includes/stactics.h b/src/mame/includes/stactics.h index 989f7f262fc..44ef3ee78ef 100644 --- a/src/mame/includes/stactics.h +++ b/src/mame/includes/stactics.h @@ -12,7 +12,7 @@ class stactics_state : public driver_device { public: - stactics_state(const machine_config &mconfig, device_type type, const char *tag) + stactics_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette_val(*this, "paletteram"), diff --git a/src/mame/includes/stadhero.h b/src/mame/includes/stadhero.h index d9aa358e551..0eba88cfb97 100644 --- a/src/mame/includes/stadhero.h +++ b/src/mame/includes/stadhero.h @@ -6,7 +6,7 @@ class stadhero_state : public driver_device { public: - stadhero_state(const machine_config &mconfig, device_type type, const char *tag) + stadhero_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/starcrus.h b/src/mame/includes/starcrus.h index 3de1b75301f..e045d8234cf 100644 --- a/src/mame/includes/starcrus.h +++ b/src/mame/includes/starcrus.h @@ -4,7 +4,7 @@ class starcrus_state : public driver_device { public: - starcrus_state(const machine_config &mconfig, device_type type, const char *tag) + starcrus_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_samples(*this, "samples"), diff --git a/src/mame/includes/starfire.h b/src/mame/includes/starfire.h index 66ed55ce031..f7f2aeb10ff 100644 --- a/src/mame/includes/starfire.h +++ b/src/mame/includes/starfire.h @@ -24,7 +24,7 @@ class starfire_state : public driver_device { public: - starfire_state(const machine_config &mconfig, device_type type, const char *tag) + starfire_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_starfire_colorram(*this, "colorram"), m_starfire_videoram(*this, "videoram"), diff --git a/src/mame/includes/starshp1.h b/src/mame/includes/starshp1.h index b4fa955bc80..d1c86b7172b 100644 --- a/src/mame/includes/starshp1.h +++ b/src/mame/includes/starshp1.h @@ -35,7 +35,7 @@ class starshp1_state : public driver_device { public: - starshp1_state(const machine_config &mconfig, device_type type, const char *tag) + starshp1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_playfield_ram(*this, "playfield_ram"), m_hpos_ram(*this, "hpos_ram"), diff --git a/src/mame/includes/starwars.h b/src/mame/includes/starwars.h index 6baec75153a..08748127f9b 100644 --- a/src/mame/includes/starwars.h +++ b/src/mame/includes/starwars.h @@ -13,7 +13,7 @@ class starwars_state : public driver_device { public: - starwars_state(const machine_config &mconfig, device_type type, const char *tag) + starwars_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_riot(*this, "riot"), m_mathram(*this, "mathram"), diff --git a/src/mame/includes/stfight.h b/src/mame/includes/stfight.h index 31af9a7ac2e..1ac79eb205f 100644 --- a/src/mame/includes/stfight.h +++ b/src/mame/includes/stfight.h @@ -10,7 +10,7 @@ public: TIMER_STFIGHT_INTERRUPT_1 }; - stfight_state(const machine_config &mconfig, device_type type, const char *tag) + stfight_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/stlforce.h b/src/mame/includes/stlforce.h index 7c43ad56e93..5ac160ffd1c 100644 --- a/src/mame/includes/stlforce.h +++ b/src/mame/includes/stlforce.h @@ -6,7 +6,7 @@ class stlforce_state : public driver_device { public: - stlforce_state(const machine_config &mconfig, device_type type, const char *tag) + stlforce_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki(*this, "oki"), diff --git a/src/mame/includes/strnskil.h b/src/mame/includes/strnskil.h index 7f0e4699cad..c2201809d0d 100644 --- a/src/mame/includes/strnskil.h +++ b/src/mame/includes/strnskil.h @@ -3,7 +3,7 @@ class strnskil_state : public driver_device { public: - strnskil_state(const machine_config &mconfig, device_type type, const char *tag) + strnskil_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_subcpu(*this,"sub"), diff --git a/src/mame/includes/stv.h b/src/mame/includes/stv.h index db8329f9ecc..4457aae3b93 100644 --- a/src/mame/includes/stv.h +++ b/src/mame/includes/stv.h @@ -21,7 +21,7 @@ class saturn_state : public driver_device { public: - saturn_state(const machine_config &mconfig, device_type type, const char *tag) + saturn_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_rom(*this, "share6"), m_workram_l(*this, "workram_l"), @@ -699,7 +699,7 @@ public: class stv_state : public saturn_state { public: - stv_state(const machine_config &mconfig, device_type type, const char *tag) + stv_state(const machine_config &mconfig, device_type type, std::string tag) : saturn_state(mconfig, type, tag), m_adsp(*this, "adsp"), m_adsp_pram(*this, "adsp_pram"), diff --git a/src/mame/includes/subs.h b/src/mame/includes/subs.h index 853cb24d1e8..799992c42ef 100644 --- a/src/mame/includes/subs.h +++ b/src/mame/includes/subs.h @@ -21,7 +21,7 @@ class subs_state : public driver_device { public: - subs_state(const machine_config &mconfig, device_type type, const char *tag) + subs_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/suna16.h b/src/mame/includes/suna16.h index d7f7ed7d029..5a0ab3dd0f8 100644 --- a/src/mame/includes/suna16.h +++ b/src/mame/includes/suna16.h @@ -5,7 +5,7 @@ class suna16_state : public driver_device { public: - suna16_state(const machine_config &mconfig, device_type type, const char *tag) + suna16_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_dac1(*this, "dac1"), diff --git a/src/mame/includes/suna8.h b/src/mame/includes/suna8.h index 1ee773edb15..185892358ef 100644 --- a/src/mame/includes/suna8.h +++ b/src/mame/includes/suna8.h @@ -7,7 +7,7 @@ class suna8_state : public driver_device { public: - suna8_state(const machine_config &mconfig, device_type type, const char *tag) + suna8_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_hardhead_ip(*this, "hardhead_ip"), diff --git a/src/mame/includes/supbtime.h b/src/mame/includes/supbtime.h index 2f067a11765..8dfd7666bbb 100644 --- a/src/mame/includes/supbtime.h +++ b/src/mame/includes/supbtime.h @@ -12,7 +12,7 @@ class supbtime_state : public driver_device { public: - supbtime_state(const machine_config &mconfig, device_type type, const char *tag) + supbtime_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_pf1_rowscroll(*this, "pf1_rowscroll"), diff --git a/src/mame/includes/super6.h b/src/mame/includes/super6.h index 6edce116cb4..dae98735656 100644 --- a/src/mame/includes/super6.h +++ b/src/mame/includes/super6.h @@ -30,7 +30,7 @@ class super6_state : public driver_device { public: - super6_state(const machine_config &mconfig, device_type type, const char *tag) + super6_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_ctc(*this, Z80CTC_TAG), diff --git a/src/mame/includes/super80.h b/src/mame/includes/super80.h index 34b6a2c94eb..4063aafc6f2 100644 --- a/src/mame/includes/super80.h +++ b/src/mame/includes/super80.h @@ -24,7 +24,7 @@ class super80_state : public driver_device { public: - super80_state(const machine_config &mconfig, device_type type, const char *tag) + super80_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_maincpu(*this, "maincpu") diff --git a/src/mame/includes/superchs.h b/src/mame/includes/superchs.h index a3d45791548..7fd559010be 100644 --- a/src/mame/includes/superchs.h +++ b/src/mame/includes/superchs.h @@ -17,7 +17,7 @@ struct schs_tempsprite class superchs_state : public driver_device { public: - superchs_state(const machine_config &mconfig, device_type type, const char *tag) + superchs_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_ram(*this,"ram"), m_spriteram(*this,"spriteram"), diff --git a/src/mame/includes/superqix.h b/src/mame/includes/superqix.h index 82729e52e86..5ed88def28a 100644 --- a/src/mame/includes/superqix.h +++ b/src/mame/includes/superqix.h @@ -5,7 +5,7 @@ class superqix_state : public driver_device { public: - superqix_state(const machine_config &mconfig, device_type type, const char *tag) + superqix_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_mcu(*this,"mcu"), diff --git a/src/mame/includes/superslave.h b/src/mame/includes/superslave.h index ef84899e5c4..67f3a85493f 100644 --- a/src/mame/includes/superslave.h +++ b/src/mame/includes/superslave.h @@ -28,7 +28,7 @@ class superslave_state : public driver_device { public: - superslave_state(const machine_config &mconfig, device_type type, const char *tag) + superslave_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_dart0(*this, Z80DART_0_TAG), diff --git a/src/mame/includes/suprloco.h b/src/mame/includes/suprloco.h index 4db13e5ea33..4e7b0631e89 100644 --- a/src/mame/includes/suprloco.h +++ b/src/mame/includes/suprloco.h @@ -3,7 +3,7 @@ class suprloco_state : public driver_device { public: - suprloco_state(const machine_config &mconfig, device_type type, const char *tag) + suprloco_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/suprnova.h b/src/mame/includes/suprnova.h index 672ceb3efd5..b3d163a91ce 100644 --- a/src/mame/includes/suprnova.h +++ b/src/mame/includes/suprnova.h @@ -23,7 +23,7 @@ struct hit_t class skns_state : public driver_device { public: - skns_state(const machine_config &mconfig, device_type type, const char *tag) + skns_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_spritegen(*this, "spritegen"), diff --git a/src/mame/includes/suprridr.h b/src/mame/includes/suprridr.h index 74a32a47f07..ce3e11502da 100644 --- a/src/mame/includes/suprridr.h +++ b/src/mame/includes/suprridr.h @@ -9,7 +9,7 @@ class suprridr_state : public driver_device { public: - suprridr_state(const machine_config &mconfig, device_type type, const char *tag) + suprridr_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/suprslam.h b/src/mame/includes/suprslam.h index ffe87dd36bf..95ead745c10 100644 --- a/src/mame/includes/suprslam.h +++ b/src/mame/includes/suprslam.h @@ -11,7 +11,7 @@ class suprslam_state : public driver_device { public: - suprslam_state(const machine_config &mconfig, device_type type, const char *tag) + suprslam_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_screen_videoram(*this, "screen_videoram"), m_bg_videoram(*this, "bg_videoram"), diff --git a/src/mame/includes/surpratk.h b/src/mame/includes/surpratk.h index 021fa7bbd09..3fceb25a4b8 100644 --- a/src/mame/includes/surpratk.h +++ b/src/mame/includes/surpratk.h @@ -15,7 +15,7 @@ class surpratk_state : public driver_device { public: - surpratk_state(const machine_config &mconfig, device_type type, const char *tag) + surpratk_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_bank0000(*this, "bank0000"), diff --git a/src/mame/includes/svi318.h b/src/mame/includes/svi318.h index 1e0fc0d0d30..5eb96aedd27 100644 --- a/src/mame/includes/svi318.h +++ b/src/mame/includes/svi318.h @@ -31,7 +31,7 @@ class svi318_state : public driver_device { public: - svi318_state(const machine_config &mconfig, device_type type, const char *tag) + svi318_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/svision.h b/src/mame/includes/svision.h index 43292b36702..9381e65667c 100644 --- a/src/mame/includes/svision.h +++ b/src/mame/includes/svision.h @@ -37,7 +37,7 @@ struct tvlink_t class svision_state : public driver_device { public: - svision_state(const machine_config &mconfig, device_type type, const char *tag) + svision_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_sound(*this, "custom"), diff --git a/src/mame/includes/swtpc09.h b/src/mame/includes/swtpc09.h index 10667f44a34..9b71fe6d5e2 100644 --- a/src/mame/includes/swtpc09.h +++ b/src/mame/includes/swtpc09.h @@ -29,7 +29,7 @@ class swtpc09_state : public driver_device { public: - swtpc09_state(const machine_config &mconfig, device_type type, const char *tag) + swtpc09_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pia(*this, "pia"), diff --git a/src/mame/includes/system1.h b/src/mame/includes/system1.h index 8f3cf559276..96869c4ede5 100644 --- a/src/mame/includes/system1.h +++ b/src/mame/includes/system1.h @@ -6,7 +6,7 @@ class system1_state : public driver_device { public: - system1_state(const machine_config &mconfig, device_type type, const char *tag) + system1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_ppi8255(*this, "ppi8255"), m_ram(*this, "ram"), diff --git a/src/mame/includes/system16.h b/src/mame/includes/system16.h index 5173524b89e..b63a9b9e5b4 100644 --- a/src/mame/includes/system16.h +++ b/src/mame/includes/system16.h @@ -11,7 +11,7 @@ class segas1x_bootleg_state : public sega_16bit_common_base { public: - segas1x_bootleg_state(const machine_config &mconfig, device_type type, const char *tag) + segas1x_bootleg_state(const machine_config &mconfig, device_type type, std::string tag) : sega_16bit_common_base(mconfig, type, tag) , m_textram(*this, "textram"), m_bg0_tileram(*this, "bg0_tileram"), diff --git a/src/mame/includes/tagteam.h b/src/mame/includes/tagteam.h index a39e95dcc4f..e2702ed6f2a 100644 --- a/src/mame/includes/tagteam.h +++ b/src/mame/includes/tagteam.h @@ -3,7 +3,7 @@ class tagteam_state : public driver_device { public: - tagteam_state(const machine_config &mconfig, device_type type, const char *tag) + tagteam_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/tail2nos.h b/src/mame/includes/tail2nos.h index f4eb8bb919f..ebc17b48451 100644 --- a/src/mame/includes/tail2nos.h +++ b/src/mame/includes/tail2nos.h @@ -11,7 +11,7 @@ class tail2nos_state : public driver_device { public: - tail2nos_state(const machine_config &mconfig, device_type type, const char *tag) + tail2nos_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_txvideoram(*this, "txvideoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/taito_b.h b/src/mame/includes/taito_b.h index 9a317f2eea9..3b7bb963b03 100644 --- a/src/mame/includes/taito_b.h +++ b/src/mame/includes/taito_b.h @@ -23,7 +23,7 @@ public: REALPUNC_INTERRUPT3 }; - taitob_state(const machine_config &mconfig, device_type type, const char *tag) + taitob_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_pixelram(*this, "pixelram"), diff --git a/src/mame/includes/taito_f2.h b/src/mame/includes/taito_f2.h index 1d75ce57e28..c2a30abb330 100644 --- a/src/mame/includes/taito_f2.h +++ b/src/mame/includes/taito_f2.h @@ -25,7 +25,7 @@ public: TIMER_TAITOF2_INTERRUPT6 }; - taitof2_state(const machine_config &mconfig, device_type type, const char *tag) + taitof2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_sprite_extension(*this, "sprite_ext"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/taito_f3.h b/src/mame/includes/taito_f3.h index 5b31c9db98c..9ce6338c18d 100644 --- a/src/mame/includes/taito_f3.h +++ b/src/mame/includes/taito_f3.h @@ -52,7 +52,7 @@ public: TIMER_F3_INTERRUPT3 }; - taito_f3_state(const machine_config &mconfig, device_type type, const char *tag) + taito_f3_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/taito_h.h b/src/mame/includes/taito_h.h index d90434f5d24..a638937801f 100644 --- a/src/mame/includes/taito_h.h +++ b/src/mame/includes/taito_h.h @@ -12,7 +12,7 @@ class taitoh_state : public driver_device { public: - taitoh_state(const machine_config &mconfig, device_type type, const char *tag) + taitoh_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_m68000_mainram(*this, "m68000_mainram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/taito_l.h b/src/mame/includes/taito_l.h index 9ddecdb0c03..1ef46ed0b4b 100644 --- a/src/mame/includes/taito_l.h +++ b/src/mame/includes/taito_l.h @@ -8,7 +8,7 @@ class taitol_state : public driver_device { public: - taitol_state(const machine_config &mconfig, device_type type, const char *tag) + taitol_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/taito_o.h b/src/mame/includes/taito_o.h index 249c83b158f..53d76964852 100644 --- a/src/mame/includes/taito_o.h +++ b/src/mame/includes/taito_o.h @@ -11,7 +11,7 @@ class taitoo_state : public driver_device { public: - taitoo_state(const machine_config &mconfig, device_type type, const char *tag) + taitoo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_tc0080vco(*this, "tc0080vco"), diff --git a/src/mame/includes/taito_x.h b/src/mame/includes/taito_x.h index 110777c878e..d9f2b9f394c 100644 --- a/src/mame/includes/taito_x.h +++ b/src/mame/includes/taito_x.h @@ -6,7 +6,7 @@ class taitox_state : public seta_state { public: - taitox_state(const machine_config &mconfig, device_type type, const char *tag) + taitox_state(const machine_config &mconfig, device_type type, std::string tag) : seta_state(mconfig, type, tag) { } DECLARE_READ16_MEMBER(superman_dsw_input_r); diff --git a/src/mame/includes/taito_z.h b/src/mame/includes/taito_z.h index f14335f4b7b..e9847be2d22 100644 --- a/src/mame/includes/taito_z.h +++ b/src/mame/includes/taito_z.h @@ -25,7 +25,7 @@ public: TIMER_TAITOZ_CPUB_INTERRUPT5 }; - taitoz_state(const machine_config &mconfig, device_type type, const char *tag) + taitoz_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/taitoair.h b/src/mame/includes/taitoair.h index 2a0bc94cd12..285829b34f7 100644 --- a/src/mame/includes/taitoair.h +++ b/src/mame/includes/taitoair.h @@ -25,7 +25,7 @@ struct taitoair_poly { class taitoair_state : public driver_device { public: - taitoair_state(const machine_config &mconfig, device_type type, const char *tag) + taitoair_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_m68000_mainram(*this, "m68000_mainram"), m_line_ram(*this, "line_ram"), diff --git a/src/mame/includes/taitojc.h b/src/mame/includes/taitojc.h index f334077dddb..8668da0b928 100644 --- a/src/mame/includes/taitojc.h +++ b/src/mame/includes/taitojc.h @@ -12,7 +12,7 @@ class taitojc_state : public driver_device { public: - taitojc_state(const machine_config &mconfig, device_type type, const char *tag) + taitojc_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_dsp(*this,"dsp"), diff --git a/src/mame/includes/taitosj.h b/src/mame/includes/taitosj.h index b99a071d025..2936218f93d 100644 --- a/src/mame/includes/taitosj.h +++ b/src/mame/includes/taitosj.h @@ -5,7 +5,7 @@ class taitosj_state : public driver_device { public: - taitosj_state(const machine_config &mconfig, device_type type, const char *tag) + taitosj_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram_1(*this, "videoram_1"), m_videoram_2(*this, "videoram_2"), diff --git a/src/mame/includes/tandy2k.h b/src/mame/includes/tandy2k.h index 57a96efd607..c90ef642478 100644 --- a/src/mame/includes/tandy2k.h +++ b/src/mame/includes/tandy2k.h @@ -42,7 +42,7 @@ class tandy2k_state : public driver_device { public: - tandy2k_state(const machine_config &mconfig, device_type type, const char *tag) : + tandy2k_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, I80186_TAG), m_uart(*this, I8251A_TAG), diff --git a/src/mame/includes/tank8.h b/src/mame/includes/tank8.h index 2f9eac715c4..60fc2d87eb8 100644 --- a/src/mame/includes/tank8.h +++ b/src/mame/includes/tank8.h @@ -33,7 +33,7 @@ public: TIMER_COLLISION }; - tank8_state(const machine_config &mconfig, device_type type, const char *tag) + tank8_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_discrete(*this, "discrete"), diff --git a/src/mame/includes/tankbatt.h b/src/mame/includes/tankbatt.h index 2359153c3e6..92c57a2cb2d 100644 --- a/src/mame/includes/tankbatt.h +++ b/src/mame/includes/tankbatt.h @@ -4,7 +4,7 @@ class tankbatt_state : public driver_device { public: - tankbatt_state(const machine_config &mconfig, device_type type, const char *tag) + tankbatt_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_samples(*this, "samples"), diff --git a/src/mame/includes/tankbust.h b/src/mame/includes/tankbust.h index aa1501e59d0..e252a6da119 100644 --- a/src/mame/includes/tankbust.h +++ b/src/mame/includes/tankbust.h @@ -3,7 +3,7 @@ class tankbust_state : public driver_device { public: - tankbust_state(const machine_config &mconfig, device_type type, const char *tag) + tankbust_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/taotaido.h b/src/mame/includes/taotaido.h index 3c7e566469c..c33acd3ed3b 100644 --- a/src/mame/includes/taotaido.h +++ b/src/mame/includes/taotaido.h @@ -3,7 +3,7 @@ class taotaido_state : public driver_device { public: - taotaido_state(const machine_config &mconfig, device_type type, const char *tag) + taotaido_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/targeth.h b/src/mame/includes/targeth.h index 946f95325c6..ce2c9a8d0e8 100644 --- a/src/mame/includes/targeth.h +++ b/src/mame/includes/targeth.h @@ -3,7 +3,7 @@ class targeth_state : public driver_device { public: - targeth_state(const machine_config &mconfig, device_type type, const char *tag) + targeth_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/tatsumi.h b/src/mame/includes/tatsumi.h index 0b1aac7f23f..9ff7633953d 100644 --- a/src/mame/includes/tatsumi.h +++ b/src/mame/includes/tatsumi.h @@ -6,7 +6,7 @@ class tatsumi_state : public driver_device { public: - tatsumi_state(const machine_config &mconfig, device_type type, const char *tag) + tatsumi_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/taxidriv.h b/src/mame/includes/taxidriv.h index 2884053df30..73e37bde51c 100644 --- a/src/mame/includes/taxidriv.h +++ b/src/mame/includes/taxidriv.h @@ -3,7 +3,7 @@ class taxidriv_state : public driver_device { public: - taxidriv_state(const machine_config &mconfig, device_type type, const char *tag) + taxidriv_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/tbowl.h b/src/mame/includes/tbowl.h index 523cf8c0595..1a37fde1b8d 100644 --- a/src/mame/includes/tbowl.h +++ b/src/mame/includes/tbowl.h @@ -6,7 +6,7 @@ class tbowl_state : public driver_device { public: - tbowl_state(const machine_config &mconfig, device_type type, const char *tag) + tbowl_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/tceptor.h b/src/mame/includes/tceptor.h index 5ec6d58a36d..47866949fd5 100644 --- a/src/mame/includes/tceptor.h +++ b/src/mame/includes/tceptor.h @@ -7,7 +7,7 @@ class tceptor_state : public driver_device { public: - tceptor_state(const machine_config &mconfig, device_type type, const char *tag) + tceptor_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cus30(*this, "namco"), diff --git a/src/mame/includes/tdv2324.h b/src/mame/includes/tdv2324.h index 8e4ad412197..a4e82a79fa0 100644 --- a/src/mame/includes/tdv2324.h +++ b/src/mame/includes/tdv2324.h @@ -47,7 +47,7 @@ class tdv2324_state : public driver_device { public: - tdv2324_state(const machine_config &mconfig, device_type type, const char *tag) + tdv2324_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, P8085AH_0_TAG), m_subcpu(*this, P8085AH_1_TAG), diff --git a/src/mame/includes/tecmo.h b/src/mame/includes/tecmo.h index aed50ccd174..4d42d3c8939 100644 --- a/src/mame/includes/tecmo.h +++ b/src/mame/includes/tecmo.h @@ -6,7 +6,7 @@ class tecmo_state : public driver_device { public: - tecmo_state(const machine_config &mconfig, device_type type, const char *tag) + tecmo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/tecmo16.h b/src/mame/includes/tecmo16.h index cfdbb55acf1..355eca5cdee 100644 --- a/src/mame/includes/tecmo16.h +++ b/src/mame/includes/tecmo16.h @@ -6,7 +6,7 @@ class tecmo16_state : public driver_device { public: - tecmo16_state(const machine_config &mconfig, device_type type, const char *tag) + tecmo16_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/tecmosys.h b/src/mame/includes/tecmosys.h index b2af39ab37a..a99f341a9be 100644 --- a/src/mame/includes/tecmosys.h +++ b/src/mame/includes/tecmosys.h @@ -10,7 +10,7 @@ class tecmosys_state : public driver_device { public: - tecmosys_state(const machine_config &mconfig, device_type type, const char *tag) + tecmosys_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/tehkanwc.h b/src/mame/includes/tehkanwc.h index 22f98d76586..8eec719c09d 100644 --- a/src/mame/includes/tehkanwc.h +++ b/src/mame/includes/tehkanwc.h @@ -10,7 +10,7 @@ public: TIMER_RESET }; - tehkanwc_state(const machine_config &mconfig, device_type type, const char *tag) + tehkanwc_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/tek405x.h b/src/mame/includes/tek405x.h index 018c3835c65..6bee3736581 100644 --- a/src/mame/includes/tek405x.h +++ b/src/mame/includes/tek405x.h @@ -34,7 +34,7 @@ class tek4051_state : public driver_device { public: - tek4051_state(const machine_config &mconfig, device_type type, const char *tag) : + tek4051_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, MC6800_TAG), m_gpib_pia(*this, MC6820_GPIB_TAG), @@ -145,7 +145,7 @@ public: class tek4052_state : public driver_device { public: - tek4052_state(const machine_config &mconfig, device_type type, const char *tag) + tek4052_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, AM2901A_TAG), m_ram(*this, RAM_TAG) diff --git a/src/mame/includes/terracre.h b/src/mame/includes/terracre.h index d055fa142a5..f61bcd1d5be 100644 --- a/src/mame/includes/terracre.h +++ b/src/mame/includes/terracre.h @@ -5,7 +5,7 @@ class terracre_state : public driver_device { public: - terracre_state(const machine_config &mconfig, device_type type, const char *tag) + terracre_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/tetrisp2.h b/src/mame/includes/tetrisp2.h index 9f65ee2fa19..ffdfe1367e4 100644 --- a/src/mame/includes/tetrisp2.h +++ b/src/mame/includes/tetrisp2.h @@ -3,7 +3,7 @@ class tetrisp2_state : public driver_device { public: - tetrisp2_state(const machine_config &mconfig, device_type type, const char *tag) + tetrisp2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), @@ -138,7 +138,7 @@ public: class stepstag_state : public tetrisp2_state { public: - stepstag_state(const machine_config &mconfig, device_type type, const char *tag) + stepstag_state(const machine_config &mconfig, device_type type, std::string tag) : tetrisp2_state(mconfig, type, tag), m_spriteram3(*this, "spriteram3") { } diff --git a/src/mame/includes/thedeep.h b/src/mame/includes/thedeep.h index c95574628b9..e07763ae2b7 100644 --- a/src/mame/includes/thedeep.h +++ b/src/mame/includes/thedeep.h @@ -6,7 +6,7 @@ class thedeep_state : public driver_device { public: - thedeep_state(const machine_config &mconfig, device_type type, const char *tag) + thedeep_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/thepit.h b/src/mame/includes/thepit.h index 11852faab9e..b21f82bd522 100644 --- a/src/mame/includes/thepit.h +++ b/src/mame/includes/thepit.h @@ -3,7 +3,7 @@ class thepit_state : public driver_device { public: - thepit_state(const machine_config &mconfig, device_type type, const char *tag) + thepit_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/thief.h b/src/mame/includes/thief.h index bc1d57ae8a8..8f57393af11 100644 --- a/src/mame/includes/thief.h +++ b/src/mame/includes/thief.h @@ -13,7 +13,7 @@ struct coprocessor_t { class thief_state : public driver_device { public: - thief_state(const machine_config &mconfig, device_type type, const char *tag) + thief_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_samples(*this, "samples"), diff --git a/src/mame/includes/thomson.h b/src/mame/includes/thomson.h index f8047501e7c..33708d48d65 100644 --- a/src/mame/includes/thomson.h +++ b/src/mame/includes/thomson.h @@ -96,7 +96,7 @@ struct thom_vsignal { class thomson_state : public driver_device { public: - thomson_state(const machine_config &mconfig, device_type type, const char *tag) : + thomson_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_mc6854(*this, "mc6854"), m_maincpu(*this, "maincpu"), @@ -674,7 +674,7 @@ class to7_io_line_device : public device_t { public: // construction/destruction - to7_io_line_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + to7_io_line_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); /* read data register */ DECLARE_READ8_MEMBER(porta_in); diff --git a/src/mame/includes/thoop2.h b/src/mame/includes/thoop2.h index 066f4ffbde2..3202ddd5229 100644 --- a/src/mame/includes/thoop2.h +++ b/src/mame/includes/thoop2.h @@ -3,7 +3,7 @@ class thoop2_state : public driver_device { public: - thoop2_state(const machine_config &mconfig, device_type type, const char *tag) + thoop2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_vregs(*this, "vregs"), diff --git a/src/mame/includes/thunderj.h b/src/mame/includes/thunderj.h index ebcaff632ed..7a8ea1ee72c 100644 --- a/src/mame/includes/thunderj.h +++ b/src/mame/includes/thunderj.h @@ -13,7 +13,7 @@ class thunderj_state : public atarigen_state { public: - thunderj_state(const machine_config &mconfig, device_type type, const char *tag) + thunderj_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_jsa(*this, "jsa"), m_vad(*this, "vad"), diff --git a/src/mame/includes/thunderx.h b/src/mame/includes/thunderx.h index 2ea60729e11..e19f38e39fd 100644 --- a/src/mame/includes/thunderx.h +++ b/src/mame/includes/thunderx.h @@ -20,7 +20,7 @@ public: TIMER_THUNDERX_FIRQ }; - thunderx_state(const machine_config &mconfig, device_type type, const char *tag) + thunderx_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/ti85.h b/src/mame/includes/ti85.h index 4eff29fff9b..bf60dbf5c95 100644 --- a/src/mame/includes/ti85.h +++ b/src/mame/includes/ti85.h @@ -53,7 +53,7 @@ typedef enum TI83PSE_CTIMER class ti85_state : public driver_device { public: - ti85_state(const machine_config &mconfig, device_type type, const char *tag) + ti85_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/includes/ti89.h b/src/mame/includes/ti89.h index 67b1707e8bc..b7616d23042 100644 --- a/src/mame/includes/ti89.h +++ b/src/mame/includes/ti89.h @@ -14,7 +14,7 @@ class ti68k_state : public driver_device { public: - ti68k_state(const machine_config &mconfig, device_type type, const char *tag) + ti68k_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_flash(*this, "flash"), diff --git a/src/mame/includes/tiamc1.h b/src/mame/includes/tiamc1.h index a6a7096efb7..2eb976ebc55 100644 --- a/src/mame/includes/tiamc1.h +++ b/src/mame/includes/tiamc1.h @@ -4,7 +4,7 @@ class tiamc1_state : public driver_device { public: - tiamc1_state(const machine_config &mconfig, device_type type, const char *tag) + tiamc1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), @@ -89,7 +89,7 @@ class tiamc1_sound_device : public device_t, public device_sound_interface { public: - tiamc1_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + tiamc1_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); ~tiamc1_sound_device() { } protected: diff --git a/src/mame/includes/tigeroad.h b/src/mame/includes/tigeroad.h index b54f8a6d2dd..cca95a073c7 100644 --- a/src/mame/includes/tigeroad.h +++ b/src/mame/includes/tigeroad.h @@ -12,7 +12,7 @@ class tigeroad_state : public driver_device { public: - tigeroad_state(const machine_config &mconfig, device_type type, const char *tag) + tigeroad_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram") , m_videoram(*this, "videoram"), diff --git a/src/mame/includes/tiki100.h b/src/mame/includes/tiki100.h index b4e837adba3..78b7858eaac 100644 --- a/src/mame/includes/tiki100.h +++ b/src/mame/includes/tiki100.h @@ -42,7 +42,7 @@ class tiki100_state : public driver_device { public: - tiki100_state(const machine_config &mconfig, device_type type, const char *tag) : + tiki100_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_ctc(*this, Z80CTC_TAG), diff --git a/src/mame/includes/timelimt.h b/src/mame/includes/timelimt.h index 7b7af434c15..2dc9aab9867 100644 --- a/src/mame/includes/timelimt.h +++ b/src/mame/includes/timelimt.h @@ -3,7 +3,7 @@ class timelimt_state : public driver_device { public: - timelimt_state(const machine_config &mconfig, device_type type, const char *tag) + timelimt_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/timeplt.h b/src/mame/includes/timeplt.h index 3a9de0d64c1..07dd87c49af 100644 --- a/src/mame/includes/timeplt.h +++ b/src/mame/includes/timeplt.h @@ -11,7 +11,7 @@ class timeplt_state : public driver_device { public: - timeplt_state(const machine_config &mconfig, device_type type, const char *tag) + timeplt_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_tc8830f(*this, "tc8830f"), diff --git a/src/mame/includes/tmc1800.h b/src/mame/includes/tmc1800.h index 6e7c80c1c03..7b51cdfa295 100644 --- a/src/mame/includes/tmc1800.h +++ b/src/mame/includes/tmc1800.h @@ -26,7 +26,7 @@ class tmc1800_base_state : public driver_device { public: - tmc1800_base_state(const machine_config &mconfig, device_type type, const char *tag) + tmc1800_base_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, CDP1802_TAG), m_cassette(*this, "cassette"), @@ -55,7 +55,7 @@ public: TIMER_SETUP_BEEP }; - tmc1800_state(const machine_config &mconfig, device_type type, const char *tag) + tmc1800_state(const machine_config &mconfig, device_type type, std::string tag) : tmc1800_base_state(mconfig, type, tag), m_vdc(*this, CDP1861_TAG) { } @@ -84,7 +84,7 @@ protected: class osc1000b_state : public tmc1800_base_state { public: - osc1000b_state(const machine_config &mconfig, device_type type, const char *tag) + osc1000b_state(const machine_config &mconfig, device_type type, std::string tag) : tmc1800_base_state(mconfig, type, tag) { } @@ -107,7 +107,7 @@ public: class tmc2000_state : public tmc1800_base_state { public: - tmc2000_state(const machine_config &mconfig, device_type type, const char *tag) + tmc2000_state(const machine_config &mconfig, device_type type, std::string tag) : tmc1800_base_state(mconfig, type, tag), m_cti(*this, CDP1864_TAG), m_colorram(*this, "color_ram"), @@ -164,7 +164,7 @@ public: class nano_state : public tmc1800_base_state { public: - nano_state(const machine_config &mconfig, device_type type, const char *tag) + nano_state(const machine_config &mconfig, device_type type, std::string tag) : tmc1800_base_state(mconfig, type, tag), m_cti(*this, CDP1864_TAG), m_ny0(*this, "NY0"), diff --git a/src/mame/includes/tmc2000e.h b/src/mame/includes/tmc2000e.h index 29974e3a233..8b1cb6f2837 100644 --- a/src/mame/includes/tmc2000e.h +++ b/src/mame/includes/tmc2000e.h @@ -22,7 +22,7 @@ class tmc2000e_state : public driver_device { public: - tmc2000e_state(const machine_config &mconfig, device_type type, const char *tag) + tmc2000e_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, CDP1802_TAG), m_cti(*this, CDP1864_TAG), diff --git a/src/mame/includes/tmc600.h b/src/mame/includes/tmc600.h index 9fa19ca227a..ca7fc806b1c 100644 --- a/src/mame/includes/tmc600.h +++ b/src/mame/includes/tmc600.h @@ -25,7 +25,7 @@ class tmc600_state : public driver_device { public: - tmc600_state(const machine_config &mconfig, device_type type, const char *tag) + tmc600_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, CDP1802_TAG), m_vis(*this, CDP1869_TAG), diff --git a/src/mame/includes/tmnt.h b/src/mame/includes/tmnt.h index 8b6d18a7c78..082a4f099d1 100644 --- a/src/mame/includes/tmnt.h +++ b/src/mame/includes/tmnt.h @@ -21,7 +21,7 @@ public: TIMER_NMI }; - tmnt_state(const machine_config &mconfig, device_type type, const char *tag) + tmnt_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_tmnt2_rom(*this, "tmnt2_rom"), diff --git a/src/mame/includes/tnzs.h b/src/mame/includes/tnzs.h index 9ac5c6688da..ed5470d309c 100644 --- a/src/mame/includes/tnzs.h +++ b/src/mame/includes/tnzs.h @@ -25,7 +25,7 @@ enum class tnzs_state : public driver_device { public: - tnzs_state(const machine_config &mconfig, device_type type, const char *tag) + tnzs_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/toaplan1.h b/src/mame/includes/toaplan1.h index 7c67523b40a..9c0b12075b2 100644 --- a/src/mame/includes/toaplan1.h +++ b/src/mame/includes/toaplan1.h @@ -11,7 +11,7 @@ class toaplan1_state : public driver_device { public: - toaplan1_state(const machine_config &mconfig, device_type type, const char *tag) + toaplan1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_bgpaletteram(*this, "bgpalette"), m_fgpaletteram(*this, "fgpalette"), @@ -164,7 +164,7 @@ public: class toaplan1_rallybik_state : public toaplan1_state { public: - toaplan1_rallybik_state(const machine_config &mconfig, device_type type, const char *tag) + toaplan1_rallybik_state(const machine_config &mconfig, device_type type, std::string tag) : toaplan1_state(mconfig, type, tag), m_spritegen(*this, "scu") { diff --git a/src/mame/includes/toaplan2.h b/src/mame/includes/toaplan2.h index 198cd1ce6ec..98b0a0beb8f 100644 --- a/src/mame/includes/toaplan2.h +++ b/src/mame/includes/toaplan2.h @@ -22,7 +22,7 @@ public: TIMER_RAISE_IRQ }; - toaplan2_state(const machine_config &mconfig, device_type type, const char *tag) + toaplan2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_shared_ram(*this, "shared_ram"), m_shared_ram16(*this, "shared_ram16"), diff --git a/src/mame/includes/toki.h b/src/mame/includes/toki.h index 23718749380..842fb2d8bc1 100644 --- a/src/mame/includes/toki.h +++ b/src/mame/includes/toki.h @@ -7,7 +7,7 @@ class toki_state : public driver_device { public: - toki_state(const machine_config &mconfig, device_type type, const char *tag) + toki_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/toobin.h b/src/mame/includes/toobin.h index 38d50d41c60..e9c1604acd0 100644 --- a/src/mame/includes/toobin.h +++ b/src/mame/includes/toobin.h @@ -13,7 +13,7 @@ class toobin_state : public atarigen_state { public: - toobin_state(const machine_config &mconfig, device_type type, const char *tag) + toobin_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_jsa(*this, "jsa"), m_playfield_tilemap(*this, "playfield"), diff --git a/src/mame/includes/topspeed.h b/src/mame/includes/topspeed.h index 139543e69b6..be73f58e8f0 100644 --- a/src/mame/includes/topspeed.h +++ b/src/mame/includes/topspeed.h @@ -14,7 +14,7 @@ class topspeed_state : public driver_device { public: - topspeed_state(const machine_config &mconfig, device_type type, const char *tag) + topspeed_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spritemap(*this, "spritemap"), m_raster_ctrl(*this, "raster_ctrl"), diff --git a/src/mame/includes/toypop.h b/src/mame/includes/toypop.h index 7669fecd778..969667fb3c3 100644 --- a/src/mame/includes/toypop.h +++ b/src/mame/includes/toypop.h @@ -11,7 +11,7 @@ public: TIMER_NAMCOIO_RUN }; - toypop_state(const machine_config &mconfig, device_type type, const char *tag) + toypop_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/tp84.h b/src/mame/includes/tp84.h index 928450edc0c..914aa6d4fce 100644 --- a/src/mame/includes/tp84.h +++ b/src/mame/includes/tp84.h @@ -3,7 +3,7 @@ class tp84_state : public driver_device { public: - tp84_state(const machine_config &mconfig, device_type type, const char *tag) + tp84_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_audiocpu(*this, "audiocpu"), m_palette_bank(*this, "palette_bank"), diff --git a/src/mame/includes/trackfld.h b/src/mame/includes/trackfld.h index bac83ad0c3e..c11de6b25db 100644 --- a/src/mame/includes/trackfld.h +++ b/src/mame/includes/trackfld.h @@ -12,7 +12,7 @@ class trackfld_state : public driver_device { public: - trackfld_state(const machine_config &mconfig, device_type type, const char *tag) + trackfld_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram2(*this, "spriteram2"), m_scroll(*this, "scroll"), diff --git a/src/mame/includes/travrusa.h b/src/mame/includes/travrusa.h index 58f36622450..72057146a90 100644 --- a/src/mame/includes/travrusa.h +++ b/src/mame/includes/travrusa.h @@ -4,7 +4,7 @@ class travrusa_state : public driver_device { public: - travrusa_state(const machine_config &mconfig, device_type type, const char *tag) + travrusa_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/triplhnt.h b/src/mame/includes/triplhnt.h index 9d145c591a9..8f0dfee3004 100644 --- a/src/mame/includes/triplhnt.h +++ b/src/mame/includes/triplhnt.h @@ -26,7 +26,7 @@ public: TIMER_HIT }; - triplhnt_state(const machine_config &mconfig, device_type type, const char *tag) + triplhnt_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_playfield_ram(*this, "playfield_ram"), m_vpos_ram(*this, "vpos_ram"), diff --git a/src/mame/includes/trs80.h b/src/mame/includes/trs80.h index d6868eb2fca..d43e2a01f3b 100644 --- a/src/mame/includes/trs80.h +++ b/src/mame/includes/trs80.h @@ -26,7 +26,7 @@ class trs80_state : public driver_device { public: - trs80_state(const machine_config &mconfig, device_type type, const char *tag) + trs80_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_centronics(*this, "centronics"), diff --git a/src/mame/includes/trs80m2.h b/src/mame/includes/trs80m2.h index 305fd2bab49..1bfbbc82047 100644 --- a/src/mame/includes/trs80m2.h +++ b/src/mame/includes/trs80m2.h @@ -38,7 +38,7 @@ class trs80m2_state : public driver_device { public: - trs80m2_state(const machine_config &mconfig, device_type type, const char *tag) + trs80m2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_ctc(*this, Z80CTC_TAG), @@ -142,7 +142,7 @@ public: class trs80m16_state : public trs80m2_state { public: - trs80m16_state(const machine_config &mconfig, device_type type, const char *tag) + trs80m16_state(const machine_config &mconfig, device_type type, std::string tag) : trs80m2_state(mconfig, type, tag), m_subcpu(*this, M68000_TAG), m_pic(*this, AM9519A_TAG) diff --git a/src/mame/includes/truco.h b/src/mame/includes/truco.h index c79319efbb9..cce6429cb87 100644 --- a/src/mame/includes/truco.h +++ b/src/mame/includes/truco.h @@ -5,7 +5,7 @@ class truco_state : public driver_device { public: - truco_state(const machine_config &mconfig, device_type type, const char *tag) + truco_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), diff --git a/src/mame/includes/trucocl.h b/src/mame/includes/trucocl.h index f851f627130..81b51471923 100644 --- a/src/mame/includes/trucocl.h +++ b/src/mame/includes/trucocl.h @@ -10,7 +10,7 @@ public: TIMER_DAC_IRQ }; - trucocl_state(const machine_config &mconfig, device_type type, const char *tag) + trucocl_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/tryout.h b/src/mame/includes/tryout.h index e2ef35ded3e..e5ee84df31d 100644 --- a/src/mame/includes/tryout.h +++ b/src/mame/includes/tryout.h @@ -3,7 +3,7 @@ class tryout_state : public driver_device { public: - tryout_state(const machine_config &mconfig, device_type type, const char *tag) + tryout_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/tsamurai.h b/src/mame/includes/tsamurai.h index 2db05642d68..db646323640 100644 --- a/src/mame/includes/tsamurai.h +++ b/src/mame/includes/tsamurai.h @@ -3,7 +3,7 @@ class tsamurai_state : public driver_device { public: - tsamurai_state(const machine_config &mconfig, device_type type, const char *tag) + tsamurai_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/tsispch.h b/src/mame/includes/tsispch.h index 797eca02687..35f1a7b94b6 100644 --- a/src/mame/includes/tsispch.h +++ b/src/mame/includes/tsispch.h @@ -20,7 +20,7 @@ class tsispch_state : public driver_device { public: - tsispch_state(const machine_config &mconfig, device_type type, const char *tag) + tsispch_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dsp(*this, "dsp"), diff --git a/src/mame/includes/tubep.h b/src/mame/includes/tubep.h index 5e86965aac6..4f80f077222 100644 --- a/src/mame/includes/tubep.h +++ b/src/mame/includes/tubep.h @@ -12,7 +12,7 @@ public: TIMER_SPRITE }; - tubep_state(const machine_config &mconfig, device_type type, const char *tag) + tubep_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_textram(*this, "textram"), m_backgroundram(*this, "backgroundram"), diff --git a/src/mame/includes/tumbleb.h b/src/mame/includes/tumbleb.h index a3b528310d6..f8d16b7b584 100644 --- a/src/mame/includes/tumbleb.h +++ b/src/mame/includes/tumbleb.h @@ -7,7 +7,7 @@ class tumbleb_state : public driver_device { public: - tumbleb_state(const machine_config &mconfig, device_type type, const char *tag) + tumbleb_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_mainram(*this, "mainram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/tumblep.h b/src/mame/includes/tumblep.h index 291fdffcbe2..2a125dddd99 100644 --- a/src/mame/includes/tumblep.h +++ b/src/mame/includes/tumblep.h @@ -12,7 +12,7 @@ class tumblep_state : public driver_device { public: - tumblep_state(const machine_config &mconfig, device_type type, const char *tag) + tumblep_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_pf1_rowscroll(*this, "pf1_rowscroll"), diff --git a/src/mame/includes/tunhunt.h b/src/mame/includes/tunhunt.h index 5ac558adead..e0cdd158772 100644 --- a/src/mame/includes/tunhunt.h +++ b/src/mame/includes/tunhunt.h @@ -3,7 +3,7 @@ class tunhunt_state : public driver_device { public: - tunhunt_state(const machine_config &mconfig, device_type type, const char *tag) + tunhunt_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/turbo.h b/src/mame/includes/turbo.h index e2d0ea2ab2d..921fd9e6d70 100644 --- a/src/mame/includes/turbo.h +++ b/src/mame/includes/turbo.h @@ -19,7 +19,7 @@ class turbo_state : public driver_device { public: - turbo_state(const machine_config &mconfig, device_type type, const char *tag) + turbo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "subcpu"), diff --git a/src/mame/includes/turrett.h b/src/mame/includes/turrett.h index f883913f695..1ff3486f482 100644 --- a/src/mame/includes/turrett.h +++ b/src/mame/includes/turrett.h @@ -12,7 +12,7 @@ class turrett_state : public driver_device { public: - turrett_state(const machine_config &mconfig, device_type type, const char *tag) + turrett_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ata(*this, "ata"), @@ -94,7 +94,7 @@ class turrett_device : public device_t, public: // construction/destruction - turrett_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + turrett_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); DECLARE_READ32_MEMBER(read); DECLARE_WRITE32_MEMBER(write); diff --git a/src/mame/includes/tutankhm.h b/src/mame/includes/tutankhm.h index b5748db47b0..6540178d98d 100644 --- a/src/mame/includes/tutankhm.h +++ b/src/mame/includes/tutankhm.h @@ -3,7 +3,7 @@ class tutankhm_state : public driver_device { public: - tutankhm_state(const machine_config &mconfig, device_type type, const char *tag) + tutankhm_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_scroll(*this, "scroll"), diff --git a/src/mame/includes/twin16.h b/src/mame/includes/twin16.h index 1a3bc02fd73..077b49b61d5 100644 --- a/src/mame/includes/twin16.h +++ b/src/mame/includes/twin16.h @@ -7,7 +7,7 @@ class twin16_state : public driver_device { public: - twin16_state(const machine_config &mconfig, device_type type, const char *tag) + twin16_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), @@ -97,7 +97,7 @@ private: class fround_state : public twin16_state { public: - fround_state(const machine_config &mconfig, device_type type, const char *tag) + fround_state(const machine_config &mconfig, device_type type, std::string tag) : twin16_state(mconfig, type, tag) {} @@ -116,7 +116,7 @@ private: class cuebrickj_state : public twin16_state { public: - cuebrickj_state(const machine_config &mconfig, device_type type, const char *tag) + cuebrickj_state(const machine_config &mconfig, device_type type, std::string tag) : twin16_state(mconfig, type, tag) {} diff --git a/src/mame/includes/twincobr.h b/src/mame/includes/twincobr.h index 6f6c603af24..c0ad03da365 100644 --- a/src/mame/includes/twincobr.h +++ b/src/mame/includes/twincobr.h @@ -12,7 +12,7 @@ class twincobr_state : public driver_device { public: - twincobr_state(const machine_config &mconfig, device_type type, const char *tag) + twincobr_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_sharedram(*this, "sharedram"), m_spriteram8(*this, "spriteram8"), diff --git a/src/mame/includes/tx0.h b/src/mame/includes/tx0.h index 8b96e52ff65..2ed82d147d8 100644 --- a/src/mame/includes/tx0.h +++ b/src/mame/includes/tx0.h @@ -132,7 +132,7 @@ struct magtape_t class tx0_state : public driver_device { public: - tx0_state(const machine_config &mconfig, device_type type, const char *tag) + tx0_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/tx1.h b/src/mame/includes/tx1.h index 68f9a37739d..e4b6c70c96c 100644 --- a/src/mame/includes/tx1.h +++ b/src/mame/includes/tx1.h @@ -99,7 +99,7 @@ struct vregs_t class tx1_state : public driver_device { public: - tx1_state(const machine_config &mconfig, device_type type, const char *tag) + tx1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "main_cpu"), m_mathcpu(*this, "math_cpu"), @@ -255,8 +255,8 @@ class tx1_sound_device : public device_t, public device_sound_interface { public: - tx1_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - tx1_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + tx1_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tx1_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); ~tx1_sound_device() {} DECLARE_READ8_MEMBER( pit8253_r ); @@ -312,7 +312,7 @@ extern const device_type TX1; class buggyboy_sound_device : public tx1_sound_device { public: - buggyboy_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + buggyboy_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); DECLARE_WRITE8_MEMBER( ym1_a_w ); DECLARE_WRITE8_MEMBER( ym2_a_w ); diff --git a/src/mame/includes/ultraman.h b/src/mame/includes/ultraman.h index 9e6e2853275..285bc486593 100644 --- a/src/mame/includes/ultraman.h +++ b/src/mame/includes/ultraman.h @@ -13,7 +13,7 @@ class ultraman_state : public driver_device { public: - ultraman_state(const machine_config &mconfig, device_type type, const char *tag) + ultraman_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/ultratnk.h b/src/mame/includes/ultratnk.h index 09bc0408fdd..203fa7e07a4 100644 --- a/src/mame/includes/ultratnk.h +++ b/src/mame/includes/ultratnk.h @@ -16,7 +16,7 @@ public: TIMER_NMI }; - ultratnk_state(const machine_config &mconfig, device_type type, const char *tag) + ultratnk_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/undrfire.h b/src/mame/includes/undrfire.h index b2cf973f6b2..a22b49e94d9 100644 --- a/src/mame/includes/undrfire.h +++ b/src/mame/includes/undrfire.h @@ -22,7 +22,7 @@ public: TIMER_INTERRUPT5 }; - undrfire_state(const machine_config &mconfig, device_type type, const char *tag) + undrfire_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/unico.h b/src/mame/includes/unico.h index 26ac4e35f26..0a988d4ea75 100644 --- a/src/mame/includes/unico.h +++ b/src/mame/includes/unico.h @@ -6,7 +6,7 @@ class unico_state : public driver_device { public: - unico_state(const machine_config &mconfig, device_type type, const char *tag) + unico_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki(*this, "oki"), diff --git a/src/mame/includes/usgames.h b/src/mame/includes/usgames.h index 1de018636cc..4514519bace 100644 --- a/src/mame/includes/usgames.h +++ b/src/mame/includes/usgames.h @@ -3,7 +3,7 @@ class usgames_state : public driver_device { public: - usgames_state(const machine_config &mconfig, device_type type, const char *tag) + usgames_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/ut88.h b/src/mame/includes/ut88.h index a394965f096..e0b6374e18c 100644 --- a/src/mame/includes/ut88.h +++ b/src/mame/includes/ut88.h @@ -26,7 +26,7 @@ public: TIMER_UPDATE_DISPLAY }; - ut88_state(const machine_config &mconfig, device_type type, const char *tag) + ut88_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_cassette(*this, "cassette"), m_ppi(*this, "ppi8255"), diff --git a/src/mame/includes/v1050.h b/src/mame/includes/v1050.h index deecd9cf61b..6151b2eca69 100644 --- a/src/mame/includes/v1050.h +++ b/src/mame/includes/v1050.h @@ -61,7 +61,7 @@ class v1050_state : public driver_device { public: - v1050_state(const machine_config &mconfig, device_type type, const char *tag) + v1050_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_subcpu(*this, M6502_TAG), diff --git a/src/mame/includes/vaportra.h b/src/mame/includes/vaportra.h index 3ea7e4568db..8894c49502d 100644 --- a/src/mame/includes/vaportra.h +++ b/src/mame/includes/vaportra.h @@ -13,7 +13,7 @@ class vaportra_state : public driver_device { public: - vaportra_state(const machine_config &mconfig, device_type type, const char *tag) + vaportra_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/vastar.h b/src/mame/includes/vastar.h index b12600180b6..e0bdc234185 100644 --- a/src/mame/includes/vastar.h +++ b/src/mame/includes/vastar.h @@ -3,7 +3,7 @@ class vastar_state : public driver_device { public: - vastar_state(const machine_config &mconfig, device_type type, const char *tag) + vastar_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/vball.h b/src/mame/includes/vball.h index ad1c41d9a07..1a924055232 100644 --- a/src/mame/includes/vball.h +++ b/src/mame/includes/vball.h @@ -3,7 +3,7 @@ class vball_state : public driver_device { public: - vball_state(const machine_config &mconfig, device_type type, const char *tag) + vball_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/vc4000.h b/src/mame/includes/vc4000.h index ca19737872f..27d83802c7b 100644 --- a/src/mame/includes/vc4000.h +++ b/src/mame/includes/vc4000.h @@ -77,7 +77,7 @@ struct vc4000_video_t class vc4000_state : public driver_device { public: - vc4000_state(const machine_config &mconfig, device_type type, const char *tag) + vc4000_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_screen(*this, "screen"), diff --git a/src/mame/includes/vcs80.h b/src/mame/includes/vcs80.h index 19cd0b18c7a..d54ed82b82a 100644 --- a/src/mame/includes/vcs80.h +++ b/src/mame/includes/vcs80.h @@ -19,7 +19,7 @@ class vcs80_state : public driver_device { public: - vcs80_state(const machine_config &mconfig, device_type type, const char *tag) + vcs80_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_pio(*this, Z80PIO_TAG), diff --git a/src/mame/includes/vector06.h b/src/mame/includes/vector06.h index e6bf99fa7da..23d0f0fadc8 100644 --- a/src/mame/includes/vector06.h +++ b/src/mame/includes/vector06.h @@ -25,7 +25,7 @@ class vector06_state : public driver_device { public: - vector06_state(const machine_config &mconfig, device_type type, const char *tag) + vector06_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/vectrex.h b/src/mame/includes/vectrex.h index a79b893a996..838406c93eb 100644 --- a/src/mame/includes/vectrex.h +++ b/src/mame/includes/vectrex.h @@ -40,7 +40,7 @@ public: TIMER_UPDATE_SIGNAL }; - vectrex_state(const machine_config &mconfig, device_type type, const char *tag) + vectrex_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_gce_vectorram(*this, "gce_vectorram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/vendetta.h b/src/mame/includes/vendetta.h index f32c7cc9f61..9374808b23d 100644 --- a/src/mame/includes/vendetta.h +++ b/src/mame/includes/vendetta.h @@ -20,7 +20,7 @@ public: TIMER_Z80_NMI }; - vendetta_state(const machine_config &mconfig, device_type type, const char *tag) + vendetta_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/vertigo.h b/src/mame/includes/vertigo.h index 25d88a6ce72..bea0725dbd1 100644 --- a/src/mame/includes/vertigo.h +++ b/src/mame/includes/vertigo.h @@ -85,7 +85,7 @@ struct vproc class vertigo_state : public driver_device { public: - vertigo_state(const machine_config &mconfig, device_type type, const char *tag) + vertigo_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/vic10.h b/src/mame/includes/vic10.h index efcaeeaded0..17d48040300 100644 --- a/src/mame/includes/vic10.h +++ b/src/mame/includes/vic10.h @@ -28,7 +28,7 @@ class vic10_state : public driver_device { public: - vic10_state(const machine_config &mconfig, device_type type, const char *tag) + vic10_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, M6510_TAG), m_vic(*this, MOS6566_TAG), diff --git a/src/mame/includes/vic20.h b/src/mame/includes/vic20.h index f90108165aa..9cb800557ea 100644 --- a/src/mame/includes/vic20.h +++ b/src/mame/includes/vic20.h @@ -31,7 +31,7 @@ class vic20_state : public driver_device { public: - vic20_state(const machine_config &mconfig, device_type type, const char *tag) + vic20_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, M6502_TAG), m_via1(*this, M6522_1_TAG), diff --git a/src/mame/includes/vicdual.h b/src/mame/includes/vicdual.h index c0ae21c289a..78a937da480 100644 --- a/src/mame/includes/vicdual.h +++ b/src/mame/includes/vicdual.h @@ -14,7 +14,7 @@ class vicdual_state : public driver_device { public: - vicdual_state(const machine_config &mconfig, device_type type, const char *tag) + vicdual_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/victor9k.h b/src/mame/includes/victor9k.h index c37b5a78d70..2f0f4f62745 100644 --- a/src/mame/includes/victor9k.h +++ b/src/mame/includes/victor9k.h @@ -51,7 +51,7 @@ class victor9k_state : public driver_device { public: - victor9k_state(const machine_config &mconfig, device_type type, const char *tag) : + victor9k_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, I8088_TAG), m_ieee488(*this, IEEE488_TAG), diff --git a/src/mame/includes/victory.h b/src/mame/includes/victory.h index 499432ec87f..006a9d08ea4 100644 --- a/src/mame/includes/victory.h +++ b/src/mame/includes/victory.h @@ -34,7 +34,7 @@ struct micro_t class victory_state : public driver_device { public: - victory_state(const machine_config &mconfig, device_type type, const char *tag) + victory_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_screen(*this, "screen"), diff --git a/src/mame/includes/vidbrain.h b/src/mame/includes/vidbrain.h index cb3905ff674..bd4abc362d2 100644 --- a/src/mame/includes/vidbrain.h +++ b/src/mame/includes/vidbrain.h @@ -25,7 +25,7 @@ class vidbrain_state : public driver_device { public: - vidbrain_state(const machine_config &mconfig, device_type type, const char *tag) + vidbrain_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, F3850_TAG), m_smi(*this, F3853_TAG), diff --git a/src/mame/includes/videopin.h b/src/mame/includes/videopin.h index 93831beddad..b5ce3f448f1 100644 --- a/src/mame/includes/videopin.h +++ b/src/mame/includes/videopin.h @@ -25,7 +25,7 @@ public: TIMER_INTERRUPT }; - videopin_state(const machine_config &mconfig, device_type type, const char *tag) + videopin_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_discrete(*this, "discrete"), diff --git a/src/mame/includes/vigilant.h b/src/mame/includes/vigilant.h index a83bea427eb..74af1295f7b 100644 --- a/src/mame/includes/vigilant.h +++ b/src/mame/includes/vigilant.h @@ -5,7 +5,7 @@ class vigilant_state : public driver_device { public: - vigilant_state(const machine_config &mconfig, device_type type, const char *tag) + vigilant_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audio(*this, "m72"), diff --git a/src/mame/includes/vindictr.h b/src/mame/includes/vindictr.h index 1a12da72cce..23ee6702e81 100644 --- a/src/mame/includes/vindictr.h +++ b/src/mame/includes/vindictr.h @@ -13,7 +13,7 @@ class vindictr_state : public atarigen_state { public: - vindictr_state(const machine_config &mconfig, device_type type, const char *tag) + vindictr_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_playfield_tilemap(*this, "playfield"), m_alpha_tilemap(*this, "alpha"), diff --git a/src/mame/includes/vip.h b/src/mame/includes/vip.h index eed5c690285..74a6b27db1b 100644 --- a/src/mame/includes/vip.h +++ b/src/mame/includes/vip.h @@ -24,7 +24,7 @@ class vip_state : public driver_device { public: - vip_state(const machine_config &mconfig, device_type type, const char *tag) + vip_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, CDP1802_TAG), m_vdc(*this, CDP1861_TAG), diff --git a/src/mame/includes/vixen.h b/src/mame/includes/vixen.h index 0091d3ee9d8..e7bc78c58fc 100644 --- a/src/mame/includes/vixen.h +++ b/src/mame/includes/vixen.h @@ -26,7 +26,7 @@ class vixen_state : public driver_device { public: - vixen_state(const machine_config &mconfig, device_type type, const char *tag) + vixen_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z8400A_TAG), m_fdc(*this, FDC1797_TAG), diff --git a/src/mame/includes/volfied.h b/src/mame/includes/volfied.h index b809e001d8c..7fac0492e5e 100644 --- a/src/mame/includes/volfied.h +++ b/src/mame/includes/volfied.h @@ -16,7 +16,7 @@ public: TIMER_VOLFIED }; - volfied_state(const machine_config &mconfig, device_type type, const char *tag) + volfied_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/vsnes.h b/src/mame/includes/vsnes.h index 064919f66ff..305ae626ce2 100644 --- a/src/mame/includes/vsnes.h +++ b/src/mame/includes/vsnes.h @@ -5,7 +5,7 @@ class vsnes_state : public driver_device { public: - vsnes_state(const machine_config &mconfig, device_type type, const char *tag) + vsnes_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/vtech2.h b/src/mame/includes/vtech2.h index abec6288158..a36751c650a 100644 --- a/src/mame/includes/vtech2.h +++ b/src/mame/includes/vtech2.h @@ -18,7 +18,7 @@ class vtech2_state : public driver_device { public: - vtech2_state(const machine_config &mconfig, device_type type, const char *tag) + vtech2_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/includes/vulgus.h b/src/mame/includes/vulgus.h index a6152923ec7..6b2731a34d8 100644 --- a/src/mame/includes/vulgus.h +++ b/src/mame/includes/vulgus.h @@ -9,7 +9,7 @@ class vulgus_state : public driver_device { public: - vulgus_state(const machine_config &mconfig, device_type type, const char *tag) + vulgus_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/wangpc.h b/src/mame/includes/wangpc.h index 05278e32671..2f872285eee 100644 --- a/src/mame/includes/wangpc.h +++ b/src/mame/includes/wangpc.h @@ -36,7 +36,7 @@ class wangpc_state : public driver_device { public: // constructor - wangpc_state(const machine_config &mconfig, device_type type, const char *tag) : + wangpc_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, I8086_TAG), m_dmac(*this, AM9517A_TAG), diff --git a/src/mame/includes/warpwarp.h b/src/mame/includes/warpwarp.h index 62e8cde7937..7e2e184173d 100644 --- a/src/mame/includes/warpwarp.h +++ b/src/mame/includes/warpwarp.h @@ -5,7 +5,7 @@ class warpwarp_state : public driver_device { public: - warpwarp_state(const machine_config &mconfig, device_type type, const char *tag) + warpwarp_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/warriorb.h b/src/mame/includes/warriorb.h index aedbd75704b..8fa1f057900 100644 --- a/src/mame/includes/warriorb.h +++ b/src/mame/includes/warriorb.h @@ -16,7 +16,7 @@ class warriorb_state : public driver_device { public: - warriorb_state(const machine_config &mconfig, device_type type, const char *tag) + warriorb_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_tc0140syt(*this, "tc0140syt"), diff --git a/src/mame/includes/wc90.h b/src/mame/includes/wc90.h index 46944d5da83..03ac90ee525 100644 --- a/src/mame/includes/wc90.h +++ b/src/mame/includes/wc90.h @@ -5,7 +5,7 @@ class wc90_state : public driver_device { public: - wc90_state(const machine_config &mconfig, device_type type, const char *tag) + wc90_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/wc90b.h b/src/mame/includes/wc90b.h index c4c81289a3a..9bb6b04a6e4 100644 --- a/src/mame/includes/wc90b.h +++ b/src/mame/includes/wc90b.h @@ -5,7 +5,7 @@ class wc90b_state : public driver_device { public: - wc90b_state(const machine_config &mconfig, device_type type, const char *tag) + wc90b_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/wecleman.h b/src/mame/includes/wecleman.h index 80acb529dcb..792a7c4d35f 100644 --- a/src/mame/includes/wecleman.h +++ b/src/mame/includes/wecleman.h @@ -6,7 +6,7 @@ class wecleman_state : public driver_device { public: - wecleman_state(const machine_config &mconfig, device_type type, const char *tag) + wecleman_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_videostatus(*this, "videostatus"), m_protection_ram(*this, "protection_ram"), diff --git a/src/mame/includes/welltris.h b/src/mame/includes/welltris.h index cedd5ab7385..6558f158157 100644 --- a/src/mame/includes/welltris.h +++ b/src/mame/includes/welltris.h @@ -5,7 +5,7 @@ class welltris_state : public driver_device { public: - welltris_state(const machine_config &mconfig, device_type type, const char *tag) + welltris_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/wgp.h b/src/mame/includes/wgp.h index d5298b6eaac..c2a026eb945 100644 --- a/src/mame/includes/wgp.h +++ b/src/mame/includes/wgp.h @@ -21,7 +21,7 @@ public: TIMER_WGP_CPUB_INTERRUPT6 }; - wgp_state(const machine_config &mconfig, device_type type, const char *tag) + wgp_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spritemap(*this, "spritemap"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/williams.h b/src/mame/includes/williams.h index a647edc287d..4ec73f3e03f 100644 --- a/src/mame/includes/williams.h +++ b/src/mame/includes/williams.h @@ -14,7 +14,7 @@ class williams_state : public driver_device { public: - williams_state(const machine_config &mconfig, device_type type, const char *tag) + williams_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_nvram(*this, "nvram"), m_videoram(*this, "videoram"), @@ -118,7 +118,7 @@ public: class blaster_state : public williams_state { public: - blaster_state(const machine_config &mconfig, device_type type, const char *tag) + blaster_state(const machine_config &mconfig, device_type type, std::string tag) : williams_state(mconfig, type, tag), m_soundcpu_b(*this, "soundcpu_b"), m_blaster_palette_0(*this, "blaster_pal0"), @@ -154,7 +154,7 @@ public: class williams2_state : public williams_state { public: - williams2_state(const machine_config &mconfig, device_type type, const char *tag) + williams2_state(const machine_config &mconfig, device_type type, std::string tag) : williams_state(mconfig, type, tag), m_bank8000(*this, "bank8000"), m_gfxdecode(*this, "gfxdecode"), @@ -204,7 +204,7 @@ public: class joust2_state : public williams2_state { public: - joust2_state(const machine_config &mconfig, device_type type, const char *tag) + joust2_state(const machine_config &mconfig, device_type type, std::string tag) : williams2_state(mconfig, type, tag), m_cvsd_sound(*this, "cvsd") { } diff --git a/src/mame/includes/wiping.h b/src/mame/includes/wiping.h index 59cabdcf27d..bd5e679b233 100644 --- a/src/mame/includes/wiping.h +++ b/src/mame/includes/wiping.h @@ -3,7 +3,7 @@ class wiping_state : public driver_device { public: - wiping_state(const machine_config &mconfig, device_type type, const char *tag) + wiping_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/wiz.h b/src/mame/includes/wiz.h index d4cb1f39f36..75297a39453 100644 --- a/src/mame/includes/wiz.h +++ b/src/mame/includes/wiz.h @@ -11,7 +11,7 @@ class wiz_state : public driver_device { public: - wiz_state(const machine_config &mconfig, device_type type, const char *tag) + wiz_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/wolfpack.h b/src/mame/includes/wolfpack.h index 59f513f3969..4aa1f347331 100644 --- a/src/mame/includes/wolfpack.h +++ b/src/mame/includes/wolfpack.h @@ -10,7 +10,7 @@ public: TIMER_PERIODIC }; - wolfpack_state(const machine_config &mconfig, device_type type, const char *tag) + wolfpack_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_alpha_num_ram(*this, "alpha_num_ram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/wpc_pin.h b/src/mame/includes/wpc_pin.h index 27cf5cfc588..f4002879e96 100644 --- a/src/mame/includes/wpc_pin.h +++ b/src/mame/includes/wpc_pin.h @@ -20,7 +20,7 @@ class wpc_dot_state : public driver_device { public: - wpc_dot_state(const machine_config &mconfig, device_type type, const char *tag) + wpc_dot_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_wpcsnd(*this,"wpcsnd"), @@ -84,7 +84,7 @@ private: class wpc_flip1_state : public wpc_dot_state { public: - wpc_flip1_state(const machine_config &mconfig, device_type type, const char *tag) + wpc_flip1_state(const machine_config &mconfig, device_type type, std::string tag) : wpc_dot_state(mconfig, type, tag) { } public: @@ -95,7 +95,7 @@ public: class wpc_flip2_state : public wpc_flip1_state { public: - wpc_flip2_state(const machine_config &mconfig, device_type type, const char *tag) + wpc_flip2_state(const machine_config &mconfig, device_type type, std::string tag) : wpc_flip1_state(mconfig, type, tag) { } public: @@ -105,7 +105,7 @@ public: class wpc_dcs_state : public wpc_flip2_state { public: - wpc_dcs_state(const machine_config &mconfig, device_type type, const char *tag) + wpc_dcs_state(const machine_config &mconfig, device_type type, std::string tag) : wpc_flip2_state(mconfig, type, tag), m_dcs(*this, "dcs") { } diff --git a/src/mame/includes/wrally.h b/src/mame/includes/wrally.h index 641ec7c4b11..0099494f29a 100644 --- a/src/mame/includes/wrally.h +++ b/src/mame/includes/wrally.h @@ -3,7 +3,7 @@ class wrally_state : public driver_device { public: - wrally_state(const machine_config &mconfig, device_type type, const char *tag) + wrally_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/wswan.h b/src/mame/includes/wswan.h index 5cdc8336f04..c83c7ad8bc1 100644 --- a/src/mame/includes/wswan.h +++ b/src/mame/includes/wswan.h @@ -34,7 +34,7 @@ struct SoundDMA class wswan_state : public driver_device { public: - wswan_state(const machine_config &mconfig, device_type type, const char *tag) + wswan_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_vdp(*this, "vdp"), diff --git a/src/mame/includes/wwfsstar.h b/src/mame/includes/wwfsstar.h index 70fdd5dfab3..b8bb6ead7b3 100644 --- a/src/mame/includes/wwfsstar.h +++ b/src/mame/includes/wwfsstar.h @@ -3,7 +3,7 @@ class wwfsstar_state : public driver_device { public: - wwfsstar_state(const machine_config &mconfig, device_type type, const char *tag) + wwfsstar_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/x07.h b/src/mame/includes/x07.h index acea6f55260..c081fdc6d51 100644 --- a/src/mame/includes/x07.h +++ b/src/mame/includes/x07.h @@ -92,7 +92,7 @@ static const UINT8 t6834_cmd_len[0x47] = struct x07_kb { - const char *tag; //input port tag + std::string tag; //input port tag UINT8 mask; //bit mask UINT8 codes[7]; //port codes }; @@ -160,7 +160,7 @@ static const x07_kb x07_keycodes[56] = class x07_state : public driver_device { public: - x07_state(const machine_config &mconfig, device_type type, const char *tag) + x07_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_printer(*this, "printer"), diff --git a/src/mame/includes/x1.h b/src/mame/includes/x1.h index eb8d63182cd..1453a6fb4fe 100644 --- a/src/mame/includes/x1.h +++ b/src/mame/includes/x1.h @@ -35,7 +35,7 @@ class x1_keyboard_device : public device_t, { public: // construction/destruction - x1_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + x1_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); private: virtual void device_start() override; @@ -74,7 +74,7 @@ struct x1_rtc_t class x1_state : public driver_device { public: - x1_state(const machine_config &mconfig, device_type type, const char *tag) + x1_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"x1_cpu"), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/x68k.h b/src/mame/includes/x68k.h index f1aee48d2f0..b80dfa5d88a 100644 --- a/src/mame/includes/x68k.h +++ b/src/mame/includes/x68k.h @@ -48,7 +48,7 @@ public: TIMER_X68K_ADPCM }; - x68k_state(const machine_config &mconfig, device_type type, const char *tag) + x68k_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_okim6258(*this, "okim6258"), diff --git a/src/mame/includes/xain.h b/src/mame/includes/xain.h index ad7c14cfdb9..4bfda55531a 100644 --- a/src/mame/includes/xain.h +++ b/src/mame/includes/xain.h @@ -3,7 +3,7 @@ class xain_state : public driver_device { public: - xain_state(const machine_config &mconfig, device_type type, const char *tag) + xain_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/xbox.h b/src/mame/includes/xbox.h index ea4db5c7db4..30e2d41e3e1 100644 --- a/src/mame/includes/xbox.h +++ b/src/mame/includes/xbox.h @@ -207,7 +207,7 @@ private: class xbox_base_state : public driver_device { public: - xbox_base_state(const machine_config &mconfig, device_type type, const char *tag) : + xbox_base_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), nvidia_nv2a(nullptr), debug_irq_active(false), diff --git a/src/mame/includes/xerox820.h b/src/mame/includes/xerox820.h index cbac30d79da..90e3ec79a60 100644 --- a/src/mame/includes/xerox820.h +++ b/src/mame/includes/xerox820.h @@ -44,7 +44,7 @@ class xerox820_state : public driver_device { public: - xerox820_state(const machine_config &mconfig, device_type type, const char *tag) : + xerox820_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_kbpio(*this, Z80PIO_KB_TAG), @@ -118,7 +118,7 @@ public: class bigboard_state : public xerox820_state { public: - bigboard_state(const machine_config &mconfig, device_type type, const char *tag) + bigboard_state(const machine_config &mconfig, device_type type, std::string tag) : xerox820_state(mconfig, type, tag), m_beeper(*this, "beeper") { } @@ -137,7 +137,7 @@ public: class xerox820ii_state : public xerox820_state { public: - xerox820ii_state(const machine_config &mconfig, device_type type, const char *tag) : + xerox820ii_state(const machine_config &mconfig, device_type type, std::string tag) : xerox820_state(mconfig, type, tag), m_speaker(*this, "speaker"), m_sasibus(*this, SASIBUS_TAG) diff --git a/src/mame/includes/xexex.h b/src/mame/includes/xexex.h index 9cf2b53ae37..588a863d4c7 100644 --- a/src/mame/includes/xexex.h +++ b/src/mame/includes/xexex.h @@ -19,7 +19,7 @@ class xexex_state : public driver_device { public: - xexex_state(const machine_config &mconfig, device_type type, const char *tag) + xexex_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_workram(*this, "workram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/xmen.h b/src/mame/includes/xmen.h index d7bdceb6a65..f285eed9bde 100644 --- a/src/mame/includes/xmen.h +++ b/src/mame/includes/xmen.h @@ -9,7 +9,7 @@ class xmen_state : public driver_device { public: - xmen_state(const machine_config &mconfig, device_type type, const char *tag) + xmen_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_xmen6p_spriteramleft(*this, "spriteramleft"), m_xmen6p_spriteramright(*this, "spriteramright"), diff --git a/src/mame/includes/xor100.h b/src/mame/includes/xor100.h index 8229a479044..384d312d1e4 100644 --- a/src/mame/includes/xor100.h +++ b/src/mame/includes/xor100.h @@ -31,7 +31,7 @@ class xor100_state : public driver_device { public: - xor100_state(const machine_config &mconfig, device_type type, const char *tag) + xor100_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_dbrg(*this, COM5016_TAG), diff --git a/src/mame/includes/xorworld.h b/src/mame/includes/xorworld.h index bccde997aeb..75a6b53030f 100644 --- a/src/mame/includes/xorworld.h +++ b/src/mame/includes/xorworld.h @@ -5,7 +5,7 @@ class xorworld_state : public driver_device { public: - xorworld_state(const machine_config &mconfig, device_type type, const char *tag) + xorworld_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_eeprom(*this, "eeprom"), diff --git a/src/mame/includes/xxmissio.h b/src/mame/includes/xxmissio.h index 0ef1763792e..60a6298cba3 100644 --- a/src/mame/includes/xxmissio.h +++ b/src/mame/includes/xxmissio.h @@ -3,7 +3,7 @@ class xxmissio_state : public driver_device { public: - xxmissio_state(const machine_config &mconfig, device_type type, const char *tag) + xxmissio_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/xybots.h b/src/mame/includes/xybots.h index 7a039c8805d..c7f2cb27106 100644 --- a/src/mame/includes/xybots.h +++ b/src/mame/includes/xybots.h @@ -13,7 +13,7 @@ class xybots_state : public atarigen_state { public: - xybots_state(const machine_config &mconfig, device_type type, const char *tag) + xybots_state(const machine_config &mconfig, device_type type, std::string tag) : atarigen_state(mconfig, type, tag), m_jsa(*this, "jsa"), m_playfield_tilemap(*this, "playfield"), diff --git a/src/mame/includes/xyonix.h b/src/mame/includes/xyonix.h index 8fd3aa576c1..35bd02f89ba 100644 --- a/src/mame/includes/xyonix.h +++ b/src/mame/includes/xyonix.h @@ -3,7 +3,7 @@ class xyonix_state : public driver_device { public: - xyonix_state(const machine_config &mconfig, device_type type, const char *tag) + xyonix_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/yiear.h b/src/mame/includes/yiear.h index 1c495709603..8ec25e449e6 100644 --- a/src/mame/includes/yiear.h +++ b/src/mame/includes/yiear.h @@ -6,7 +6,7 @@ class yiear_state : public driver_device { public: - yiear_state(const machine_config &mconfig, device_type type, const char *tag) + yiear_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_spriteram2(*this, "spriteram2"), diff --git a/src/mame/includes/yunsun16.h b/src/mame/includes/yunsun16.h index 0e21a85b962..d6497417ad1 100644 --- a/src/mame/includes/yunsun16.h +++ b/src/mame/includes/yunsun16.h @@ -9,7 +9,7 @@ class yunsun16_state : public driver_device { public: - yunsun16_state(const machine_config &mconfig, device_type type, const char *tag) + yunsun16_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/yunsung8.h b/src/mame/includes/yunsung8.h index 9fb440e8d9a..f45698d4e35 100644 --- a/src/mame/includes/yunsung8.h +++ b/src/mame/includes/yunsung8.h @@ -10,7 +10,7 @@ class yunsung8_state : public driver_device { public: - yunsung8_state(const machine_config &mconfig, device_type type, const char *tag) + yunsung8_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_audiocpu(*this, "audiocpu") , m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/z80ne.h b/src/mame/includes/z80ne.h index b6d77971981..7ba2d826ece 100644 --- a/src/mame/includes/z80ne.h +++ b/src/mame/includes/z80ne.h @@ -67,7 +67,7 @@ struct wd17xx_state_t { class z80ne_state : public driver_device { public: - z80ne_state(const machine_config &mconfig, device_type type, const char *tag) + z80ne_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_vdg(*this, "mc6847"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/z88.h b/src/mame/includes/z88.h index 7ce8cbd7e75..20d3942eaaa 100644 --- a/src/mame/includes/z88.h +++ b/src/mame/includes/z88.h @@ -45,7 +45,7 @@ enum class z88_state : public driver_device { public: - z88_state(const machine_config &mconfig, device_type type, const char *tag) + z88_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/zac2650.h b/src/mame/includes/zac2650.h index e4d91c83f90..74152c79a21 100644 --- a/src/mame/includes/zac2650.h +++ b/src/mame/includes/zac2650.h @@ -5,7 +5,7 @@ class zac2650_state : public driver_device { public: - zac2650_state(const machine_config &mconfig, device_type type, const char *tag) + zac2650_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_s2636(*this, "s2636"), diff --git a/src/mame/includes/zaccaria.h b/src/mame/includes/zaccaria.h index 8371e6b6fb0..c35151091a6 100644 --- a/src/mame/includes/zaccaria.h +++ b/src/mame/includes/zaccaria.h @@ -7,7 +7,7 @@ class zaccaria_state : public driver_device { public: - zaccaria_state(const machine_config &mconfig, device_type type, const char *tag) + zaccaria_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audio2(*this, "audio2"), diff --git a/src/mame/includes/zaxxon.h b/src/mame/includes/zaxxon.h index e5942968e44..c7f34e6ea75 100644 --- a/src/mame/includes/zaxxon.h +++ b/src/mame/includes/zaxxon.h @@ -10,7 +10,7 @@ class zaxxon_state : public driver_device { public: - zaxxon_state(const machine_config &mconfig, device_type type, const char *tag) + zaxxon_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_samples(*this, "samples"), diff --git a/src/mame/includes/zerozone.h b/src/mame/includes/zerozone.h index b6f51039a7f..a0686927722 100644 --- a/src/mame/includes/zerozone.h +++ b/src/mame/includes/zerozone.h @@ -12,7 +12,7 @@ class zerozone_state : public driver_device { public: - zerozone_state(const machine_config &mconfig, device_type type, const char *tag) + zerozone_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/zodiack.h b/src/mame/includes/zodiack.h index 2497ecb3651..4675c99dc48 100644 --- a/src/mame/includes/zodiack.h +++ b/src/mame/includes/zodiack.h @@ -6,7 +6,7 @@ class zodiack_state : public driver_device { public: - zodiack_state(const machine_config &mconfig, device_type type, const char *tag) + zodiack_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/zx.h b/src/mame/includes/zx.h index 20ccaa5d1c6..52d48a0858c 100644 --- a/src/mame/includes/zx.h +++ b/src/mame/includes/zx.h @@ -21,7 +21,7 @@ class zx_state : public driver_device { public: - zx_state(const machine_config &mconfig, device_type type, const char *tag) + zx_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), -- cgit v1.2.3