From 4e8e3066f847cc0fa11539f4d9ab8a63f70ca475 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 20 Jan 2016 21:42:13 +0100 Subject: reverting: SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa * tags are now strings (nw) fix start project for custom builds in Visual Studio (nw) --- src/mame/audio/alesis.cpp | 10 +- src/mame/audio/arcadia.cpp | 2 +- src/mame/audio/arcadia.h | 2 +- src/mame/audio/atarijsa.cpp | 14 +- src/mame/audio/atarijsa.h | 14 +- src/mame/audio/beezer.cpp | 2 +- src/mame/audio/cage.cpp | 6 +- src/mame/audio/cage.h | 6 +- src/mame/audio/cclimber.cpp | 2 +- src/mame/audio/cclimber.h | 2 +- src/mame/audio/channelf.cpp | 2 +- src/mame/audio/channelf.h | 2 +- src/mame/audio/cps3.cpp | 2 +- src/mame/audio/cps3.h | 2 +- src/mame/audio/dai_snd.cpp | 2 +- src/mame/audio/dai_snd.h | 2 +- src/mame/audio/dave.cpp | 2 +- src/mame/audio/dave.h | 2 +- src/mame/audio/dcs.cpp | 20 +- src/mame/audio/dcs.h | 20 +- src/mame/audio/decobsmt.cpp | 2 +- src/mame/audio/decobsmt.h | 2 +- src/mame/audio/dsbz80.cpp | 2 +- src/mame/audio/dsbz80.h | 2 +- src/mame/audio/exidy.cpp | 8 +- src/mame/audio/exidy.h | 8 +- src/mame/audio/exidy440.cpp | 2 +- src/mame/audio/exidy440.h | 2 +- src/mame/audio/flower.cpp | 2 +- src/mame/audio/galaxian.cpp | 2 +- src/mame/audio/galaxian.h | 2 +- src/mame/audio/gamate.cpp | 2 +- src/mame/audio/gb.cpp | 2 +- src/mame/audio/gb.h | 2 +- src/mame/audio/geebee.cpp | 2 +- src/mame/audio/gomoku.cpp | 2 +- src/mame/audio/gottlieb.cpp | 10 +- src/mame/audio/gottlieb.h | 10 +- src/mame/audio/gridlee.cpp | 2 +- src/mame/audio/harddriv.cpp | 2 +- src/mame/audio/hyprolyb.cpp | 2 +- src/mame/audio/hyprolyb.h | 2 +- src/mame/audio/irem.cpp | 8 +- src/mame/audio/irem.h | 8 +- src/mame/audio/leland.cpp | 10 +- src/mame/audio/lynx.cpp | 6 +- src/mame/audio/lynx.h | 6 +- src/mame/audio/m72.cpp | 2 +- src/mame/audio/m72.h | 2 +- src/mame/audio/mac.cpp | 2 +- src/mame/audio/mea8000.cpp | 2 +- src/mame/audio/mea8000.h | 4 +- src/mame/audio/micro3d.cpp | 2 +- src/mame/audio/midway.cpp | 10 +- src/mame/audio/midway.h | 10 +- src/mame/audio/namco52.cpp | 2 +- src/mame/audio/namco52.h | 4 +- src/mame/audio/namco54.cpp | 2 +- src/mame/audio/namco54.h | 4 +- src/mame/audio/phoenix.cpp | 2 +- src/mame/audio/pleiads.cpp | 8 +- src/mame/audio/pleiads.h | 8 +- src/mame/audio/polepos.cpp | 2 +- src/mame/audio/redbaron.cpp | 2 +- src/mame/audio/redbaron.h | 2 +- src/mame/audio/s11c_bg.cpp | 4 +- src/mame/audio/s11c_bg.h | 6 +- src/mame/audio/segag80r.cpp | 2 +- src/mame/audio/segam1audio.cpp | 2 +- src/mame/audio/segam1audio.h | 2 +- src/mame/audio/segasnd.cpp | 8 +- src/mame/audio/segasnd.h | 8 +- src/mame/audio/seibu.cpp | 7 +- src/mame/audio/seibu.h | 8 +- src/mame/audio/snes_snd.cpp | 2 +- src/mame/audio/snes_snd.h | 2 +- src/mame/audio/snk6502.cpp | 2 +- src/mame/audio/socrates.cpp | 2 +- src/mame/audio/socrates.h | 2 +- src/mame/audio/specimx_snd.cpp | 2 +- src/mame/audio/specimx_snd.h | 2 +- src/mame/audio/svis_snd.cpp | 2 +- src/mame/audio/svis_snd.h | 2 +- src/mame/audio/t5182.cpp | 2 +- src/mame/audio/t5182.h | 2 +- src/mame/audio/taito_en.cpp | 2 +- src/mame/audio/taito_en.h | 2 +- src/mame/audio/taito_zm.cpp | 2 +- src/mame/audio/taito_zm.h | 2 +- src/mame/audio/taitosnd.cpp | 2 +- src/mame/audio/taitosnd.h | 6 +- src/mame/audio/tiamc1.cpp | 2 +- src/mame/audio/timeplt.cpp | 2 +- src/mame/audio/timeplt.h | 2 +- src/mame/audio/trackfld.cpp | 2 +- src/mame/audio/trackfld.h | 2 +- src/mame/audio/turrett.cpp | 2 +- src/mame/audio/tvc_snd.cpp | 2 +- src/mame/audio/tvc_snd.h | 2 +- src/mame/audio/tx1.cpp | 6 +- src/mame/audio/upd1771.cpp | 2 +- src/mame/audio/upd1771.h | 2 +- src/mame/audio/vboy.cpp | 2 +- src/mame/audio/vboy.h | 2 +- src/mame/audio/vc4000snd.cpp | 2 +- src/mame/audio/vc4000snd.h | 2 +- src/mame/audio/warpwarp.cpp | 2 +- src/mame/audio/warpwarp.h | 4 +- src/mame/audio/williams.cpp | 6 +- src/mame/audio/williams.h | 6 +- src/mame/audio/wiping.cpp | 2 +- src/mame/audio/wiping.h | 2 +- src/mame/audio/wpcsnd.cpp | 4 +- src/mame/audio/wpcsnd.h | 6 +- src/mame/audio/wswan_snd.cpp | 2 +- src/mame/audio/wswan_snd.h | 2 +- src/mame/drivers/1945kiii.cpp | 2 +- src/mame/drivers/24cdjuke.cpp | 2 +- src/mame/drivers/2mindril.cpp | 2 +- src/mame/drivers/30test.cpp | 2 +- src/mame/drivers/39in1.cpp | 2 +- src/mame/drivers/3x3puzzl.cpp | 2 +- src/mame/drivers/4004clk.cpp | 2 +- src/mame/drivers/4dpi.cpp | 2 +- src/mame/drivers/4enlinea.cpp | 6 +- src/mame/drivers/4roses.cpp | 2 +- src/mame/drivers/5clown.cpp | 2 +- src/mame/drivers/68ksbc.cpp | 2 +- src/mame/drivers/a1supply.cpp | 2 +- src/mame/drivers/a2600.cpp | 2 +- src/mame/drivers/a310.cpp | 2 +- src/mame/drivers/a5105.cpp | 2 +- src/mame/drivers/a51xx.cpp | 2 +- src/mame/drivers/a6809.cpp | 2 +- src/mame/drivers/a7150.cpp | 2 +- src/mame/drivers/a7800.cpp | 2 +- src/mame/drivers/ace.cpp | 2 +- src/mame/drivers/acefruit.cpp | 2 +- src/mame/drivers/aces1.cpp | 2 +- src/mame/drivers/acesp.cpp | 2 +- src/mame/drivers/acommand.cpp | 2 +- src/mame/drivers/acrnsys1.cpp | 2 +- src/mame/drivers/adp.cpp | 2 +- src/mame/drivers/age_candy.cpp | 2 +- src/mame/drivers/aim65_40.cpp | 2 +- src/mame/drivers/albazc.cpp | 2 +- src/mame/drivers/albazg.cpp | 2 +- src/mame/drivers/aleck64.cpp | 2 +- src/mame/drivers/aleisttl.cpp | 2 +- src/mame/drivers/alg.cpp | 2 +- src/mame/drivers/alien.cpp | 2 +- src/mame/drivers/alinvade.cpp | 2 +- src/mame/drivers/allied.cpp | 2 +- src/mame/drivers/alphasma.cpp | 4 +- src/mame/drivers/alphatro.cpp | 2 +- src/mame/drivers/altair.cpp | 2 +- src/mame/drivers/alto2.cpp | 2 +- src/mame/drivers/altos5.cpp | 2 +- src/mame/drivers/alvg.cpp | 2 +- src/mame/drivers/amaticmg.cpp | 2 +- src/mame/drivers/amerihok.cpp | 2 +- src/mame/drivers/amico2k.cpp | 2 +- src/mame/drivers/amiga.cpp | 20 +- src/mame/drivers/ampro.cpp | 2 +- src/mame/drivers/amstr_pc.cpp | 2 +- src/mame/drivers/amusco.cpp | 2 +- src/mame/drivers/amust.cpp | 2 +- src/mame/drivers/apc.cpp | 2 +- src/mame/drivers/apexc.cpp | 14 +- src/mame/drivers/apf.cpp | 2 +- src/mame/drivers/apogee.cpp | 2 +- src/mame/drivers/apollo.cpp | 2 +- src/mame/drivers/apple2.cpp | 2 +- src/mame/drivers/apple2e.cpp | 2 +- src/mame/drivers/applix.cpp | 2 +- src/mame/drivers/apricot.cpp | 2 +- src/mame/drivers/apricotf.cpp | 2 +- src/mame/drivers/apricotp.cpp | 2 +- src/mame/drivers/arachnid.cpp | 2 +- src/mame/drivers/argo.cpp | 2 +- src/mame/drivers/aristmk4.cpp | 2 +- src/mame/drivers/aristmk5.cpp | 2 +- src/mame/drivers/aristmk6.cpp | 2 +- src/mame/drivers/arsystems.cpp | 6 +- src/mame/drivers/asst128.cpp | 4 +- src/mame/drivers/astinvad.cpp | 2 +- src/mame/drivers/astrafr.cpp | 2 +- src/mame/drivers/astrcorp.cpp | 2 +- src/mame/drivers/astrohome.cpp | 2 +- src/mame/drivers/astropc.cpp | 2 +- src/mame/drivers/atari400.cpp | 2 +- src/mame/drivers/atari_s1.cpp | 2 +- src/mame/drivers/atari_s2.cpp | 2 +- src/mame/drivers/atarisy4.cpp | 2 +- src/mame/drivers/atarittl.cpp | 2 +- src/mame/drivers/atlantis.cpp | 2 +- src/mame/drivers/atm.cpp | 2 +- src/mame/drivers/atronic.cpp | 2 +- src/mame/drivers/attache.cpp | 2 +- src/mame/drivers/attckufo.cpp | 2 +- src/mame/drivers/atvtrack.cpp | 6 +- src/mame/drivers/avt.cpp | 2 +- src/mame/drivers/ax20.cpp | 2 +- src/mame/drivers/b16.cpp | 2 +- src/mame/drivers/babbage.cpp | 2 +- src/mame/drivers/backfire.cpp | 2 +- src/mame/drivers/bailey.cpp | 2 +- src/mame/drivers/barata.cpp | 2 +- src/mame/drivers/bartop52.cpp | 2 +- src/mame/drivers/basic52.cpp | 2 +- src/mame/drivers/bbcbc.cpp | 2 +- src/mame/drivers/bcs3.cpp | 2 +- src/mame/drivers/beaminv.cpp | 2 +- src/mame/drivers/beehive.cpp | 2 +- src/mame/drivers/belatra.cpp | 2 +- src/mame/drivers/berzerk.cpp | 2 +- src/mame/drivers/besta.cpp | 2 +- src/mame/drivers/bestleag.cpp | 2 +- src/mame/drivers/beta.cpp | 2 +- src/mame/drivers/bfcobra.cpp | 2 +- src/mame/drivers/bfm_sc1.cpp | 2 +- src/mame/drivers/bfm_sc2.cpp | 2 +- src/mame/drivers/bfm_swp.cpp | 2 +- src/mame/drivers/bfmsys83.cpp | 2 +- src/mame/drivers/bfmsys85.cpp | 2 +- src/mame/drivers/bgt.cpp | 2 +- src/mame/drivers/big10.cpp | 2 +- src/mame/drivers/bigbord2.cpp | 2 +- src/mame/drivers/binbug.cpp | 4 +- src/mame/drivers/bingo.cpp | 6 +- src/mame/drivers/bingoc.cpp | 2 +- src/mame/drivers/bingoman.cpp | 2 +- src/mame/drivers/bingor.cpp | 2 +- src/mame/drivers/bitgraph.cpp | 2 +- src/mame/drivers/blackt96.cpp | 2 +- src/mame/drivers/blitz.cpp | 2 +- src/mame/drivers/blitz68k.cpp | 2 +- src/mame/drivers/blockhl.cpp | 2 +- src/mame/drivers/bmcbowl.cpp | 2 +- src/mame/drivers/bmcpokr.cpp | 2 +- src/mame/drivers/bmjr.cpp | 2 +- src/mame/drivers/bml3.cpp | 2 +- src/mame/drivers/bnstars.cpp | 2 +- src/mame/drivers/bntyhunt.cpp | 2 +- src/mame/drivers/bob85.cpp | 2 +- src/mame/drivers/bowltry.cpp | 2 +- src/mame/drivers/boxer.cpp | 2 +- src/mame/drivers/br8641.cpp | 2 +- src/mame/drivers/buster.cpp | 2 +- src/mame/drivers/by17.cpp | 2 +- src/mame/drivers/by35.cpp | 2 +- src/mame/drivers/by6803.cpp | 2 +- src/mame/drivers/by68701.cpp | 2 +- src/mame/drivers/byvid.cpp | 2 +- src/mame/drivers/c10.cpp | 2 +- src/mame/drivers/c64dtv.cpp | 2 +- src/mame/drivers/c65.cpp | 2 +- src/mame/drivers/c900.cpp | 2 +- src/mame/drivers/cabaret.cpp | 2 +- src/mame/drivers/calchase.cpp | 2 +- src/mame/drivers/calorie.cpp | 2 +- src/mame/drivers/camplynx.cpp | 2 +- src/mame/drivers/canon_s80.cpp | 2 +- src/mame/drivers/capcom.cpp | 2 +- src/mame/drivers/capr1.cpp | 2 +- src/mame/drivers/caprcyc.cpp | 2 +- src/mame/drivers/cardline.cpp | 2 +- src/mame/drivers/carrera.cpp | 2 +- src/mame/drivers/casloopy.cpp | 2 +- src/mame/drivers/castle.cpp | 2 +- src/mame/drivers/caswin.cpp | 2 +- src/mame/drivers/cat.cpp | 2 +- src/mame/drivers/cavepc.cpp | 2 +- src/mame/drivers/cb2001.cpp | 2 +- src/mame/drivers/cball.cpp | 2 +- src/mame/drivers/cc40.cpp | 2 +- src/mame/drivers/cchance.cpp | 2 +- src/mame/drivers/ccs2810.cpp | 2 +- src/mame/drivers/ccs300.cpp | 2 +- src/mame/drivers/cd2650.cpp | 2 +- src/mame/drivers/cdc721.cpp | 2 +- src/mame/drivers/cesclass.cpp | 2 +- src/mame/drivers/cfx9850.cpp | 2 +- src/mame/drivers/cgenie.cpp | 2 +- src/mame/drivers/cham24.cpp | 2 +- src/mame/drivers/champbwl.cpp | 2 +- src/mame/drivers/chanbara.cpp | 2 +- src/mame/drivers/chance32.cpp | 2 +- src/mame/drivers/chaos.cpp | 2 +- src/mame/drivers/chessmst.cpp | 2 +- src/mame/drivers/chesstrv.cpp | 2 +- src/mame/drivers/chexx.cpp | 2 +- src/mame/drivers/chicago.cpp | 2 +- src/mame/drivers/chihiro.cpp | 6 +- src/mame/drivers/chinagat.cpp | 2 +- src/mame/drivers/chinsan.cpp | 2 +- src/mame/drivers/chsuper.cpp | 2 +- src/mame/drivers/clayshoo.cpp | 2 +- src/mame/drivers/clcd.cpp | 2 +- src/mame/drivers/cliffhgr.cpp | 2 +- src/mame/drivers/clowndwn.cpp | 2 +- src/mame/drivers/cm1800.cpp | 2 +- src/mame/drivers/cmmb.cpp | 2 +- src/mame/drivers/cntsteer.cpp | 2 +- src/mame/drivers/cobra.cpp | 18 +- src/mame/drivers/cocoloco.cpp | 2 +- src/mame/drivers/codata.cpp | 2 +- src/mame/drivers/coinmstr.cpp | 2 +- src/mame/drivers/coinmvga.cpp | 2 +- src/mame/drivers/comebaby.cpp | 2 +- src/mame/drivers/compucolor.cpp | 2 +- src/mame/drivers/coolridr.cpp | 2 +- src/mame/drivers/cops.cpp | 2 +- src/mame/drivers/corona.cpp | 2 +- src/mame/drivers/cortex.cpp | 2 +- src/mame/drivers/cp1.cpp | 2 +- src/mame/drivers/cps3.cpp | 22 +- src/mame/drivers/craft.cpp | 2 +- src/mame/drivers/crystal.cpp | 2 +- src/mame/drivers/csc.cpp | 349 ++++++++++++++++++++++++++++ src/mame/drivers/cshooter.cpp | 2 +- src/mame/drivers/csplayh5.cpp | 2 +- src/mame/drivers/cswat.cpp | 2 +- src/mame/drivers/ct486.cpp | 2 +- src/mame/drivers/cubeqst.cpp | 2 +- src/mame/drivers/cubo.cpp | 2 +- src/mame/drivers/cultures.cpp | 2 +- src/mame/drivers/cupidon.cpp | 2 +- src/mame/drivers/cv1k.cpp | 2 +- src/mame/drivers/cvicny.cpp | 2 +- src/mame/drivers/cybertnk.cpp | 2 +- src/mame/drivers/cyclemb.cpp | 2 +- src/mame/drivers/czk80.cpp | 2 +- src/mame/drivers/d6800.cpp | 2 +- src/mame/drivers/d6809.cpp | 2 +- src/mame/drivers/d9final.cpp | 2 +- src/mame/drivers/dacholer.cpp | 2 +- src/mame/drivers/dai3wksi.cpp | 2 +- src/mame/drivers/dambustr.cpp | 2 +- src/mame/drivers/daruma.cpp | 2 +- src/mame/drivers/dblcrown.cpp | 2 +- src/mame/drivers/dblewing.cpp | 2 +- src/mame/drivers/dct11em.cpp | 2 +- src/mame/drivers/ddayjlc.cpp | 2 +- src/mame/drivers/ddealer.cpp | 2 +- src/mame/drivers/ddenlovr.cpp | 2 +- src/mame/drivers/ddragon3.cpp | 4 +- src/mame/drivers/de_2.cpp | 2 +- src/mame/drivers/de_3.cpp | 2 +- src/mame/drivers/de_3b.cpp | 2 +- src/mame/drivers/deco156.cpp | 6 +- src/mame/drivers/deco_ld.cpp | 2 +- src/mame/drivers/dectalk.cpp | 2 +- src/mame/drivers/decwritr.cpp | 2 +- src/mame/drivers/deshoros.cpp | 2 +- src/mame/drivers/destroyr.cpp | 2 +- src/mame/drivers/dfruit.cpp | 2 +- src/mame/drivers/dgpix.cpp | 2 +- src/mame/drivers/didact.cpp | 6 +- src/mame/drivers/digel804.cpp | 2 +- src/mame/drivers/dim68k.cpp | 2 +- src/mame/drivers/discoboy.cpp | 2 +- src/mame/drivers/diverboy.cpp | 2 +- src/mame/drivers/dlair.cpp | 2 +- src/mame/drivers/dlair2.cpp | 2 +- src/mame/drivers/dmndrby.cpp | 2 +- src/mame/drivers/dms5000.cpp | 2 +- src/mame/drivers/dms86.cpp | 2 +- src/mame/drivers/dmv.cpp | 2 +- src/mame/drivers/dolphunk.cpp | 2 +- src/mame/drivers/dominob.cpp | 2 +- src/mame/drivers/dorachan.cpp | 2 +- src/mame/drivers/dotrikun.cpp | 2 +- src/mame/drivers/dps1.cpp | 2 +- src/mame/drivers/dreambal.cpp | 2 +- src/mame/drivers/dreamwld.cpp | 2 +- src/mame/drivers/drtomy.cpp | 2 +- src/mame/drivers/drw80pkr.cpp | 2 +- src/mame/drivers/dsb46.cpp | 2 +- src/mame/drivers/dual68.cpp | 2 +- src/mame/drivers/dunhuang.cpp | 2 +- src/mame/drivers/dvk_kcgd.cpp | 2 +- src/mame/drivers/dvk_ksm.cpp | 2 +- src/mame/drivers/dwarfd.cpp | 2 +- src/mame/drivers/dynadice.cpp | 2 +- src/mame/drivers/eacc.cpp | 2 +- src/mame/drivers/ec184x.cpp | 2 +- src/mame/drivers/ec65.cpp | 4 +- src/mame/drivers/ecoinf1.cpp | 2 +- src/mame/drivers/ecoinf2.cpp | 2 +- src/mame/drivers/ecoinf3.cpp | 2 +- src/mame/drivers/ecoinfr.cpp | 2 +- src/mame/drivers/egghunt.cpp | 2 +- src/mame/drivers/einstein.cpp | 2 +- src/mame/drivers/elecbowl.cpp | 2 +- src/mame/drivers/electra.cpp | 2 +- src/mame/drivers/elekscmp.cpp | 2 +- src/mame/drivers/elwro800.cpp | 2 +- src/mame/drivers/embargo.cpp | 2 +- src/mame/drivers/enigma2.cpp | 2 +- src/mame/drivers/enmirage.cpp | 2 +- src/mame/drivers/eolith16.cpp | 2 +- src/mame/drivers/ertictac.cpp | 2 +- src/mame/drivers/esh.cpp | 2 +- src/mame/drivers/esq1.cpp | 6 +- src/mame/drivers/esq5505.cpp | 2 +- src/mame/drivers/esqasr.cpp | 2 +- src/mame/drivers/esqkt.cpp | 2 +- src/mame/drivers/esqmr.cpp | 2 +- src/mame/drivers/et3400.cpp | 2 +- src/mame/drivers/ettrivia.cpp | 2 +- src/mame/drivers/europc.cpp | 2 +- src/mame/drivers/evmbug.cpp | 2 +- src/mame/drivers/excali64.cpp | 2 +- src/mame/drivers/exelv.cpp | 2 +- src/mame/drivers/exidyttl.cpp | 2 +- src/mame/drivers/expro02.cpp | 2 +- src/mame/drivers/extrema.cpp | 2 +- src/mame/drivers/f-32.cpp | 2 +- src/mame/drivers/famibox.cpp | 2 +- src/mame/drivers/fanucs15.cpp | 2 +- src/mame/drivers/fanucspmg.cpp | 2 +- src/mame/drivers/fastinvaders.cpp | 4 +- src/mame/drivers/fb01.cpp | 2 +- src/mame/drivers/fc100.cpp | 2 +- src/mame/drivers/feversoc.cpp | 2 +- src/mame/drivers/fireball.cpp | 2 +- src/mame/drivers/firebeat.cpp | 2 +- src/mame/drivers/firefox.cpp | 2 +- src/mame/drivers/fk1.cpp | 2 +- src/mame/drivers/flicker.cpp | 2 +- src/mame/drivers/flipjack.cpp | 2 +- src/mame/drivers/flyball.cpp | 2 +- src/mame/drivers/force68k.cpp | 2 +- src/mame/drivers/forte2.cpp | 2 +- src/mame/drivers/fortecar.cpp | 2 +- src/mame/drivers/fp1100.cpp | 2 +- src/mame/drivers/fp200.cpp | 2 +- src/mame/drivers/fp6000.cpp | 2 +- src/mame/drivers/fresh.cpp | 2 +- src/mame/drivers/fruitpc.cpp | 2 +- src/mame/drivers/ft68m.cpp | 2 +- src/mame/drivers/fungames.cpp | 2 +- src/mame/drivers/funkball.cpp | 2 +- src/mame/drivers/g627.cpp | 2 +- src/mame/drivers/gal3.cpp | 2 +- src/mame/drivers/galaxi.cpp | 2 +- src/mame/drivers/galgame.cpp | 2 +- src/mame/drivers/galpani2.cpp | 4 +- src/mame/drivers/galpani3.cpp | 2 +- src/mame/drivers/gamate.cpp | 2 +- src/mame/drivers/gambl186.cpp | 2 +- src/mame/drivers/gamecstl.cpp | 2 +- src/mame/drivers/gameking.cpp | 2 +- src/mame/drivers/gammagic.cpp | 2 +- src/mame/drivers/gamtor.cpp | 2 +- src/mame/drivers/gei.cpp | 2 +- src/mame/drivers/geneve.cpp | 2 +- src/mame/drivers/geniusiq.cpp | 4 +- src/mame/drivers/genpc.cpp | 2 +- src/mame/drivers/ggconnie.cpp | 2 +- src/mame/drivers/ghosteo.cpp | 2 +- src/mame/drivers/gimix.cpp | 2 +- src/mame/drivers/gizmondo.cpp | 2 +- src/mame/drivers/gkigt.cpp | 2 +- src/mame/drivers/glasgow.cpp | 2 +- src/mame/drivers/globalfr.cpp | 2 +- src/mame/drivers/globalvr.cpp | 2 +- src/mame/drivers/gluck2.cpp | 2 +- src/mame/drivers/gmaster.cpp | 2 +- src/mame/drivers/go2000.cpp | 2 +- src/mame/drivers/goldngam.cpp | 2 +- src/mame/drivers/goldnpkr.cpp | 2 +- src/mame/drivers/good.cpp | 2 +- src/mame/drivers/goodejan.cpp | 2 +- src/mame/drivers/gp2x.cpp | 2 +- src/mame/drivers/gp_1.cpp | 2 +- src/mame/drivers/gp_2.cpp | 2 +- src/mame/drivers/gpworld.cpp | 2 +- src/mame/drivers/grfd2301.cpp | 2 +- src/mame/drivers/gstream.cpp | 2 +- src/mame/drivers/gticlub.cpp | 6 +- src/mame/drivers/gts1.cpp | 2 +- src/mame/drivers/gts3.cpp | 2 +- src/mame/drivers/gts3a.cpp | 2 +- src/mame/drivers/gts80.cpp | 2 +- src/mame/drivers/gts80a.cpp | 4 +- src/mame/drivers/gts80b.cpp | 2 +- src/mame/drivers/guab.cpp | 2 +- src/mame/drivers/gunpey.cpp | 2 +- src/mame/drivers/h19.cpp | 2 +- src/mame/drivers/h8.cpp | 2 +- src/mame/drivers/h89.cpp | 2 +- src/mame/drivers/halleys.cpp | 2 +- src/mame/drivers/hankin.cpp | 2 +- src/mame/drivers/harddriv.cpp | 20 +- src/mame/drivers/harriet.cpp | 2 +- src/mame/drivers/hazelgr.cpp | 2 +- src/mame/drivers/headonb.cpp | 2 +- src/mame/drivers/hh_cop400.cpp | 14 +- src/mame/drivers/hh_hmcs40.cpp | 62 ++--- src/mame/drivers/hh_melps4.cpp | 6 +- src/mame/drivers/hh_pic16.cpp | 4 +- src/mame/drivers/hh_sm510.cpp | 8 +- src/mame/drivers/hh_tms1k.cpp | 62 ++--- src/mame/drivers/hh_ucom4.cpp | 38 +-- src/mame/drivers/hideseek.cpp | 2 +- src/mame/drivers/highvdeo.cpp | 2 +- src/mame/drivers/hikaru.cpp | 2 +- src/mame/drivers/hitpoker.cpp | 2 +- src/mame/drivers/hk68v10.cpp | 2 +- src/mame/drivers/homelab.cpp | 2 +- src/mame/drivers/homez80.cpp | 2 +- src/mame/drivers/horizon.cpp | 2 +- src/mame/drivers/hornet.cpp | 6 +- src/mame/drivers/hotblock.cpp | 2 +- src/mame/drivers/hotstuff.cpp | 2 +- src/mame/drivers/hp16500.cpp | 2 +- src/mame/drivers/hp49gp.cpp | 2 +- src/mame/drivers/hp64k.cpp | 4 +- src/mame/drivers/hp9845.cpp | 4 +- src/mame/drivers/hp9k.cpp | 2 +- src/mame/drivers/hp9k_3xx.cpp | 2 +- src/mame/drivers/hp_ipc.cpp | 2 +- src/mame/drivers/hprot1.cpp | 2 +- src/mame/drivers/hpz80unk.cpp | 2 +- src/mame/drivers/ht68k.cpp | 2 +- src/mame/drivers/hunter2.cpp | 2 +- src/mame/drivers/hvyunit.cpp | 2 +- src/mame/drivers/hyperscan.cpp | 2 +- src/mame/drivers/i7000.cpp | 2 +- src/mame/drivers/ibm6580.cpp | 2 +- src/mame/drivers/ibmpc.cpp | 2 +- src/mame/drivers/ibmpcjr.cpp | 2 +- src/mame/drivers/icatel.cpp | 2 +- src/mame/drivers/ice_bozopail.cpp | 2 +- src/mame/drivers/ice_tbd.cpp | 2 +- src/mame/drivers/icecold.cpp | 2 +- src/mame/drivers/ichiban.cpp | 2 +- src/mame/drivers/ie15.cpp | 2 +- src/mame/drivers/if800.cpp | 2 +- src/mame/drivers/igs009.cpp | 2 +- src/mame/drivers/igs011.cpp | 2 +- src/mame/drivers/igs017.cpp | 2 +- src/mame/drivers/igs_fear.cpp | 2 +- src/mame/drivers/igs_m027.cpp | 2 +- src/mame/drivers/igs_m036.cpp | 2 +- src/mame/drivers/igspc.cpp | 2 +- src/mame/drivers/igspoker.cpp | 2 +- src/mame/drivers/imds.cpp | 2 +- src/mame/drivers/imds2.cpp | 2 +- src/mame/drivers/imolagp.cpp | 2 +- src/mame/drivers/imsai.cpp | 2 +- src/mame/drivers/inder.cpp | 2 +- src/mame/drivers/indiana.cpp | 2 +- src/mame/drivers/indigo.cpp | 2 +- src/mame/drivers/indy_indigo2.cpp | 2 +- src/mame/drivers/instruct.cpp | 2 +- src/mame/drivers/interact.cpp | 2 +- src/mame/drivers/intrscti.cpp | 2 +- src/mame/drivers/invqix.cpp | 2 +- src/mame/drivers/ipc.cpp | 2 +- src/mame/drivers/ipds.cpp | 2 +- src/mame/drivers/iq151.cpp | 2 +- src/mame/drivers/iris3130.cpp | 2 +- src/mame/drivers/irisha.cpp | 2 +- src/mame/drivers/isbc.cpp | 2 +- src/mame/drivers/iskr103x.cpp | 2 +- src/mame/drivers/istellar.cpp | 2 +- src/mame/drivers/iteagle.cpp | 2 +- src/mame/drivers/itech8.cpp | 4 +- src/mame/drivers/itgambl2.cpp | 2 +- src/mame/drivers/itgambl3.cpp | 2 +- src/mame/drivers/itgamble.cpp | 2 +- src/mame/drivers/itt3030.cpp | 2 +- src/mame/drivers/jackie.cpp | 2 +- src/mame/drivers/jackpool.cpp | 2 +- src/mame/drivers/jade.cpp | 2 +- src/mame/drivers/jaguar.cpp | 2 +- src/mame/drivers/jalmah.cpp | 2 +- src/mame/drivers/jangou.cpp | 2 +- src/mame/drivers/jankenmn.cpp | 2 +- src/mame/drivers/jantotsu.cpp | 2 +- src/mame/drivers/jchan.cpp | 2 +- src/mame/drivers/jclub2.cpp | 2 +- src/mame/drivers/jeutel.cpp | 2 +- src/mame/drivers/jokrwild.cpp | 2 +- src/mame/drivers/jollyjgr.cpp | 2 +- src/mame/drivers/jongkyo.cpp | 2 +- src/mame/drivers/jonos.cpp | 2 +- src/mame/drivers/joystand.cpp | 2 +- src/mame/drivers/jp.cpp | 2 +- src/mame/drivers/jpmmps.cpp | 2 +- src/mame/drivers/jpms80.cpp | 2 +- src/mame/drivers/jpmsru.cpp | 2 +- src/mame/drivers/jpmsys7.cpp | 2 +- src/mame/drivers/jr100.cpp | 2 +- src/mame/drivers/jr200.cpp | 2 +- src/mame/drivers/jrpacman.cpp | 2 +- src/mame/drivers/jtc.cpp | 8 +- src/mame/drivers/jubilee.cpp | 2 +- src/mame/drivers/juicebox.cpp | 2 +- src/mame/drivers/junior.cpp | 2 +- src/mame/drivers/junofrst.cpp | 2 +- src/mame/drivers/jupace.cpp | 2 +- src/mame/drivers/jvh.cpp | 2 +- src/mame/drivers/k1003.cpp | 2 +- src/mame/drivers/k8915.cpp | 2 +- src/mame/drivers/kaneko16.cpp | 2 +- src/mame/drivers/kas89.cpp | 2 +- src/mame/drivers/kenseim.cpp | 2 +- src/mame/drivers/kim1.cpp | 2 +- src/mame/drivers/kingdrby.cpp | 2 +- src/mame/drivers/kingpin.cpp | 2 +- src/mame/drivers/kinst.cpp | 2 +- src/mame/drivers/kissproto.cpp | 2 +- src/mame/drivers/koftball.cpp | 2 +- src/mame/drivers/koikoi.cpp | 2 +- src/mame/drivers/konamigq.cpp | 2 +- src/mame/drivers/konamigv.cpp | 2 +- src/mame/drivers/konamim2.cpp | 2 +- src/mame/drivers/konendev.cpp | 2 +- src/mame/drivers/konin.cpp | 2 +- src/mame/drivers/kontest.cpp | 2 +- src/mame/drivers/korgm1.cpp | 2 +- src/mame/drivers/ksys573.cpp | 2 +- src/mame/drivers/kungfur.cpp | 2 +- src/mame/drivers/kurukuru.cpp | 2 +- src/mame/drivers/laser3k.cpp | 2 +- src/mame/drivers/laserbas.cpp | 2 +- src/mame/drivers/lastbank.cpp | 2 +- src/mame/drivers/lastfght.cpp | 2 +- src/mame/drivers/laz_aftrshok.cpp | 2 +- src/mame/drivers/laz_awetoss.cpp | 2 +- src/mame/drivers/laz_ribrac.cpp | 2 +- src/mame/drivers/lbeach.cpp | 2 +- src/mame/drivers/lcmate2.cpp | 2 +- src/mame/drivers/leapster.cpp | 2 +- src/mame/drivers/lft.cpp | 2 +- src/mame/drivers/lg-dvd.cpp | 2 +- src/mame/drivers/lgp.cpp | 2 +- src/mame/drivers/limenko.cpp | 2 +- src/mame/drivers/lindbergh.cpp | 4 +- src/mame/drivers/littlerb.cpp | 2 +- src/mame/drivers/lola8a.cpp | 2 +- src/mame/drivers/looping.cpp | 2 +- src/mame/drivers/ltcasino.cpp | 2 +- src/mame/drivers/ltd.cpp | 2 +- src/mame/drivers/luckgrln.cpp | 2 +- src/mame/drivers/m14.cpp | 2 +- src/mame/drivers/m20.cpp | 2 +- src/mame/drivers/m24.cpp | 2 +- src/mame/drivers/m63.cpp | 2 +- src/mame/drivers/m6805evs.cpp | 2 +- src/mame/drivers/m79152pc.cpp | 2 +- src/mame/drivers/macs.cpp | 2 +- src/mame/drivers/magic10.cpp | 2 +- src/mame/drivers/magicard.cpp | 2 +- src/mame/drivers/magicfly.cpp | 2 +- src/mame/drivers/magictg.cpp | 2 +- src/mame/drivers/magtouch.cpp | 2 +- src/mame/drivers/majorpkr.cpp | 2 +- src/mame/drivers/manohman.cpp | 2 +- src/mame/drivers/marinedt.cpp | 2 +- src/mame/drivers/marywu.cpp | 2 +- src/mame/drivers/mastboy.cpp | 2 +- src/mame/drivers/maxaflex.cpp | 2 +- src/mame/drivers/maygayep.cpp | 2 +- src/mame/drivers/maygaysw.cpp | 2 +- src/mame/drivers/maygayv1.cpp | 2 +- src/mame/drivers/mayumi.cpp | 2 +- src/mame/drivers/mazerbla.cpp | 2 +- src/mame/drivers/mbc200.cpp | 2 +- src/mame/drivers/mbdtower.cpp | 2 +- src/mame/drivers/mc10.cpp | 2 +- src/mame/drivers/mcb216.cpp | 2 +- src/mame/drivers/mccpm.cpp | 2 +- src/mame/drivers/meadwttl.cpp | 2 +- src/mame/drivers/mediagx.cpp | 2 +- src/mame/drivers/megaphx.cpp | 2 +- src/mame/drivers/megaplay.cpp | 2 +- src/mame/drivers/megatech.cpp | 2 +- src/mame/drivers/meijinsn.cpp | 2 +- src/mame/drivers/mekd2.cpp | 2 +- src/mame/drivers/mephisto.cpp | 2 +- src/mame/drivers/mephistp.cpp | 2 +- src/mame/drivers/merit.cpp | 2 +- src/mame/drivers/meritm.cpp | 2 +- src/mame/drivers/mes.cpp | 2 +- src/mame/drivers/metro.cpp | 4 +- src/mame/drivers/meyc8080.cpp | 2 +- src/mame/drivers/meyc8088.cpp | 2 +- src/mame/drivers/mgames.cpp | 2 +- src/mame/drivers/mgavegas.cpp | 2 +- src/mame/drivers/mgolf.cpp | 2 +- src/mame/drivers/mice.cpp | 2 +- src/mame/drivers/micral.cpp | 2 +- src/mame/drivers/microdec.cpp | 2 +- src/mame/drivers/microkit.cpp | 2 +- src/mame/drivers/micropin.cpp | 2 +- src/mame/drivers/microvsn.cpp | 2 +- src/mame/drivers/midas.cpp | 2 +- src/mame/drivers/midqslvr.cpp | 2 +- src/mame/drivers/mikrosha.cpp | 2 +- src/mame/drivers/mil4000.cpp | 2 +- src/mame/drivers/mini2440.cpp | 2 +- src/mame/drivers/miniboy7.cpp | 2 +- src/mame/drivers/minicom.cpp | 2 +- src/mame/drivers/minivadr.cpp | 2 +- src/mame/drivers/mirage.cpp | 2 +- src/mame/drivers/mirax.cpp | 2 +- src/mame/drivers/missb2.cpp | 2 +- src/mame/drivers/missile.cpp | 2 +- src/mame/drivers/mits680b.cpp | 2 +- src/mame/drivers/mjsister.cpp | 2 +- src/mame/drivers/mk1.cpp | 2 +- src/mame/drivers/mk14.cpp | 2 +- src/mame/drivers/mk2.cpp | 2 +- src/mame/drivers/mk85.cpp | 2 +- src/mame/drivers/mk90.cpp | 2 +- src/mame/drivers/mkit09.cpp | 2 +- src/mame/drivers/mlanding.cpp | 2 +- src/mame/drivers/mmagic.cpp | 2 +- src/mame/drivers/mmd1.cpp | 2 +- src/mame/drivers/mmm.cpp | 2 +- src/mame/drivers/mmodular.cpp | 2 +- src/mame/drivers/mod8.cpp | 2 +- src/mame/drivers/modellot.cpp | 2 +- src/mame/drivers/mogura.cpp | 2 +- src/mame/drivers/mole.cpp | 2 +- src/mame/drivers/molecular.cpp | 2 +- src/mame/drivers/monacogp.cpp | 2 +- src/mame/drivers/monty.cpp | 2 +- src/mame/drivers/monzagp.cpp | 2 +- src/mame/drivers/mps1230.cpp | 2 +- src/mame/drivers/mpu12wbk.cpp | 2 +- src/mame/drivers/mpu2.cpp | 2 +- src/mame/drivers/mpu3.cpp | 2 +- src/mame/drivers/mpu4dealem.cpp | 2 +- src/mame/drivers/mpu4plasma.cpp | 2 +- src/mame/drivers/mpu4vid.cpp | 2 +- src/mame/drivers/mpu5hw.cpp | 2 +- src/mame/drivers/mquake.cpp | 2 +- src/mame/drivers/mrgame.cpp | 2 +- src/mame/drivers/ms0515.cpp | 2 +- src/mame/drivers/ms9540.cpp | 2 +- src/mame/drivers/mstation.cpp | 2 +- src/mame/drivers/mt735.cpp | 4 +- src/mame/drivers/multi16.cpp | 2 +- src/mame/drivers/multi8.cpp | 2 +- src/mame/drivers/multigam.cpp | 2 +- src/mame/drivers/murogem.cpp | 2 +- src/mame/drivers/murogmbl.cpp | 2 +- src/mame/drivers/mvme350.cpp | 2 +- src/mame/drivers/mw18w.cpp | 2 +- src/mame/drivers/mwarr.cpp | 2 +- src/mame/drivers/mwsub.cpp | 2 +- src/mame/drivers/mx2178.cpp | 2 +- src/mame/drivers/myb3k.cpp | 2 +- src/mame/drivers/mycom.cpp | 2 +- src/mame/drivers/myvision.cpp | 2 +- src/mame/drivers/mz2000.cpp | 2 +- src/mame/drivers/mz2500.cpp | 2 +- src/mame/drivers/mz3500.cpp | 2 +- src/mame/drivers/mz6500.cpp | 2 +- src/mame/drivers/mzr8105.cpp | 2 +- src/mame/drivers/n64.cpp | 2 +- src/mame/drivers/nakajies.cpp | 2 +- src/mame/drivers/namcops2.cpp | 2 +- src/mame/drivers/namcos10.cpp | 2 +- src/mame/drivers/namcos11.cpp | 2 +- src/mame/drivers/namcos12.cpp | 2 +- src/mame/drivers/namcos23.cpp | 8 +- src/mame/drivers/nanos.cpp | 2 +- src/mame/drivers/nascom1.cpp | 6 +- src/mame/drivers/neoprint.cpp | 2 +- src/mame/drivers/neptunp2.cpp | 2 +- src/mame/drivers/nexus3d.cpp | 2 +- src/mame/drivers/ng_aes.cpp | 2 +- src/mame/drivers/ngen.cpp | 4 +- src/mame/drivers/ngp.cpp | 2 +- src/mame/drivers/nightgal.cpp | 2 +- src/mame/drivers/ninjaw.cpp | 4 +- src/mame/drivers/nmg5.cpp | 2 +- src/mame/drivers/nokia_3310.cpp | 2 +- src/mame/drivers/nsm.cpp | 2 +- src/mame/drivers/nsmpoker.cpp | 2 +- src/mame/drivers/nss.cpp | 2 +- src/mame/drivers/nwk-tr.cpp | 2 +- src/mame/drivers/nyny.cpp | 2 +- src/mame/drivers/octopus.cpp | 2 +- src/mame/drivers/odyssey2.cpp | 4 +- src/mame/drivers/okean240.cpp | 2 +- src/mame/drivers/olibochu.cpp | 2 +- src/mame/drivers/omegrace.cpp | 2 +- src/mame/drivers/onetwo.cpp | 2 +- src/mame/drivers/onyx.cpp | 2 +- src/mame/drivers/oric.cpp | 4 +- src/mame/drivers/osbexec.cpp | 2 +- src/mame/drivers/othello.cpp | 2 +- src/mame/drivers/p112.cpp | 2 +- src/mame/drivers/p8k.cpp | 2 +- src/mame/drivers/pachifev.cpp | 2 +- src/mame/drivers/palm.cpp | 2 +- src/mame/drivers/palmz22.cpp | 2 +- src/mame/drivers/pangofun.cpp | 2 +- src/mame/drivers/panicr.cpp | 2 +- src/mame/drivers/paranoia.cpp | 2 +- src/mame/drivers/pasha2.cpp | 2 +- src/mame/drivers/paso1600.cpp | 2 +- src/mame/drivers/pasogo.cpp | 2 +- src/mame/drivers/pasopia.cpp | 2 +- src/mame/drivers/pasopia7.cpp | 2 +- src/mame/drivers/patinho_feio.cpp | 2 +- src/mame/drivers/pb1000.cpp | 2 +- src/mame/drivers/pc.cpp | 2 +- src/mame/drivers/pc100.cpp | 2 +- src/mame/drivers/pc1500.cpp | 2 +- src/mame/drivers/pc2000.cpp | 8 +- src/mame/drivers/pc6001.cpp | 2 +- src/mame/drivers/pc8801.cpp | 2 +- src/mame/drivers/pc88va.cpp | 2 +- src/mame/drivers/pc9801.cpp | 2 +- src/mame/drivers/pcat_dyn.cpp | 2 +- src/mame/drivers/pcat_nit.cpp | 2 +- src/mame/drivers/pcd.cpp | 2 +- src/mame/drivers/pce220.cpp | 4 +- src/mame/drivers/pcfx.cpp | 2 +- src/mame/drivers/pcm.cpp | 2 +- src/mame/drivers/pcxt.cpp | 10 +- src/mame/drivers/pda600.cpp | 2 +- src/mame/drivers/pdp1.cpp | 16 +- src/mame/drivers/pdp11.cpp | 2 +- src/mame/drivers/pegasus.cpp | 2 +- src/mame/drivers/pencil2.cpp | 2 +- src/mame/drivers/pengadvb.cpp | 2 +- src/mame/drivers/pengo.cpp | 2 +- src/mame/drivers/pentagon.cpp | 2 +- src/mame/drivers/peoplepc.cpp | 2 +- src/mame/drivers/peplus.cpp | 2 +- src/mame/drivers/peyper.cpp | 2 +- src/mame/drivers/pgm2.cpp | 2 +- src/mame/drivers/photon.cpp | 2 +- src/mame/drivers/photon2.cpp | 2 +- src/mame/drivers/photoply.cpp | 2 +- src/mame/drivers/phunsy.cpp | 2 +- src/mame/drivers/piggypas.cpp | 2 +- src/mame/drivers/pimps.cpp | 2 +- src/mame/drivers/pinball2k.cpp | 2 +- src/mame/drivers/pinkiri8.cpp | 6 +- src/mame/drivers/pipbug.cpp | 2 +- src/mame/drivers/pipedrm.cpp | 2 +- src/mame/drivers/pipeline.cpp | 2 +- src/mame/drivers/pitagjr.cpp | 2 +- src/mame/drivers/pk8000.cpp | 2 +- src/mame/drivers/pkscram.cpp | 2 +- src/mame/drivers/plan80.cpp | 2 +- src/mame/drivers/play_1.cpp | 2 +- src/mame/drivers/play_2.cpp | 2 +- src/mame/drivers/play_3.cpp | 2 +- src/mame/drivers/play_5.cpp | 2 +- src/mame/drivers/pluto5.cpp | 2 +- src/mame/drivers/pm68k.cpp | 2 +- src/mame/drivers/pmi80.cpp | 2 +- src/mame/drivers/pntnpuzl.cpp | 2 +- src/mame/drivers/pockstat.cpp | 2 +- src/mame/drivers/pokemini.cpp | 2 +- src/mame/drivers/poker72.cpp | 2 +- src/mame/drivers/poly.cpp | 2 +- src/mame/drivers/pong.cpp | 6 +- src/mame/drivers/popobear.cpp | 2 +- src/mame/drivers/potgoldu.cpp | 2 +- src/mame/drivers/powerbal.cpp | 2 +- src/mame/drivers/ppmast93.cpp | 2 +- src/mame/drivers/prestige.cpp | 2 +- src/mame/drivers/pro80.cpp | 2 +- src/mame/drivers/proconn.cpp | 2 +- src/mame/drivers/progolf.cpp | 2 +- src/mame/drivers/prophet600.cpp | 2 +- src/mame/drivers/proteus3.cpp | 2 +- src/mame/drivers/pse.cpp | 2 +- src/mame/drivers/psx.cpp | 2 +- src/mame/drivers/pt68k4.cpp | 2 +- src/mame/drivers/ptcsol.cpp | 2 +- src/mame/drivers/pturn.cpp | 2 +- src/mame/drivers/pulsar.cpp | 2 +- src/mame/drivers/pv1000.cpp | 6 +- src/mame/drivers/pv2000.cpp | 2 +- src/mame/drivers/pv9234.cpp | 2 +- src/mame/drivers/pve500.cpp | 2 +- src/mame/drivers/px4.cpp | 6 +- src/mame/drivers/pyl601.cpp | 2 +- src/mame/drivers/pyson.cpp | 2 +- src/mame/drivers/pzletime.cpp | 2 +- src/mame/drivers/qtsbc.cpp | 2 +- src/mame/drivers/quakeat.cpp | 2 +- src/mame/drivers/quantum.cpp | 2 +- src/mame/drivers/queen.cpp | 2 +- src/mame/drivers/quizo.cpp | 2 +- src/mame/drivers/quizpun2.cpp | 2 +- src/mame/drivers/quizshow.cpp | 2 +- src/mame/drivers/qx10.cpp | 2 +- src/mame/drivers/r2dtank.cpp | 2 +- src/mame/drivers/r2dx_v33.cpp | 2 +- src/mame/drivers/r9751.cpp | 2 +- src/mame/drivers/rabbit.cpp | 2 +- src/mame/drivers/rainbow.cpp | 2 +- src/mame/drivers/rambo.cpp | 2 +- src/mame/drivers/ramtek.cpp | 2 +- src/mame/drivers/rastersp.cpp | 2 +- src/mame/drivers/ravens.cpp | 2 +- src/mame/drivers/rbmk.cpp | 2 +- src/mame/drivers/rc759.cpp | 2 +- src/mame/drivers/rcorsair.cpp | 2 +- src/mame/drivers/rd100.cpp | 2 +- src/mame/drivers/rd110.cpp | 4 +- src/mame/drivers/re900.cpp | 2 +- src/mame/drivers/replicator.cpp | 2 +- src/mame/drivers/rex6000.cpp | 2 +- src/mame/drivers/rgum.cpp | 2 +- src/mame/drivers/riscpc.cpp | 2 +- src/mame/drivers/rmhaihai.cpp | 2 +- src/mame/drivers/rmt32.cpp | 4 +- src/mame/drivers/rollext.cpp | 2 +- src/mame/drivers/rotaryf.cpp | 2 +- src/mame/drivers/roul.cpp | 2 +- src/mame/drivers/route16.cpp | 2 +- src/mame/drivers/rowamet.cpp | 2 +- src/mame/drivers/royalmah.cpp | 2 +- src/mame/drivers/rsc55.cpp | 4 +- src/mame/drivers/rt1715.cpp | 2 +- src/mame/drivers/rvoice.cpp | 2 +- src/mame/drivers/rx78.cpp | 2 +- src/mame/drivers/s3.cpp | 2 +- src/mame/drivers/s4.cpp | 2 +- src/mame/drivers/s6.cpp | 2 +- src/mame/drivers/s6a.cpp | 2 +- src/mame/drivers/s7.cpp | 2 +- src/mame/drivers/s8.cpp | 2 +- src/mame/drivers/s8a.cpp | 2 +- src/mame/drivers/s9.cpp | 2 +- src/mame/drivers/sacstate.cpp | 2 +- src/mame/drivers/safarir.cpp | 2 +- src/mame/drivers/sam.cpp | 2 +- src/mame/drivers/sandscrp.cpp | 2 +- src/mame/drivers/sangho.cpp | 2 +- src/mame/drivers/sanremmg.cpp | 2 +- src/mame/drivers/sanremo.cpp | 2 +- src/mame/drivers/sansa_fuze.cpp | 2 +- src/mame/drivers/sapi1.cpp | 2 +- src/mame/drivers/saturn.cpp | 2 +- src/mame/drivers/savia84.cpp | 2 +- src/mame/drivers/savquest.cpp | 2 +- src/mame/drivers/sbc6510.cpp | 2 +- src/mame/drivers/sbowling.cpp | 2 +- src/mame/drivers/sbrain.cpp | 2 +- src/mame/drivers/sbrkout.cpp | 2 +- src/mame/drivers/sc1.cpp | 2 +- src/mame/drivers/sc2.cpp | 2 +- src/mame/drivers/scm_500.cpp | 2 +- src/mame/drivers/scobra.cpp | 2 +- src/mame/drivers/scorpion.cpp | 2 +- src/mame/drivers/scregg.cpp | 2 +- src/mame/drivers/scv.cpp | 2 +- src/mame/drivers/sdk80.cpp | 2 +- src/mame/drivers/sdk85.cpp | 2 +- src/mame/drivers/sdk86.cpp | 2 +- src/mame/drivers/seabattl.cpp | 2 +- src/mame/drivers/sealy.cpp | 2 +- src/mame/drivers/seattle.cpp | 2 +- src/mame/drivers/seattlecmp.cpp | 2 +- src/mame/drivers/sega_sawatte.cpp | 2 +- src/mame/drivers/segac2.cpp | 2 +- src/mame/drivers/segacoin.cpp | 2 +- src/mame/drivers/segae.cpp | 2 +- src/mame/drivers/segajw.cpp | 2 +- src/mame/drivers/segald.cpp | 2 +- src/mame/drivers/segam1.cpp | 2 +- src/mame/drivers/segapico.cpp | 6 +- src/mame/drivers/segapm.cpp | 2 +- src/mame/drivers/segas24.cpp | 12 +- src/mame/drivers/segas32.cpp | 10 +- src/mame/drivers/segaufo.cpp | 2 +- src/mame/drivers/segaxbd.cpp | 20 +- src/mame/drivers/selz80.cpp | 2 +- src/mame/drivers/sengokmj.cpp | 2 +- src/mame/drivers/seta2.cpp | 4 +- src/mame/drivers/sfbonus.cpp | 2 +- src/mame/drivers/sfcbox.cpp | 2 +- src/mame/drivers/sfkick.cpp | 2 +- src/mame/drivers/sg1000a.cpp | 2 +- src/mame/drivers/sh4robot.cpp | 2 +- src/mame/drivers/shanghai.cpp | 2 +- src/mame/drivers/shougi.cpp | 2 +- src/mame/drivers/shtzone.cpp | 2 +- src/mame/drivers/sigmab52.cpp | 2 +- src/mame/drivers/sigmab98.cpp | 2 +- src/mame/drivers/silvmil.cpp | 2 +- src/mame/drivers/sitcom.cpp | 2 +- src/mame/drivers/skeetsht.cpp | 2 +- src/mame/drivers/skimaxx.cpp | 2 +- src/mame/drivers/skyarmy.cpp | 2 +- src/mame/drivers/skylncr.cpp | 2 +- src/mame/drivers/slc1.cpp | 2 +- src/mame/drivers/sleic.cpp | 2 +- src/mame/drivers/slicer.cpp | 2 +- src/mame/drivers/sliver.cpp | 2 +- src/mame/drivers/slotcarn.cpp | 2 +- src/mame/drivers/sm1800.cpp | 2 +- src/mame/drivers/smc777.cpp | 2 +- src/mame/drivers/smsmcorp.cpp | 2 +- src/mame/drivers/snes.cpp | 2 +- src/mame/drivers/snesb.cpp | 2 +- src/mame/drivers/socrates.cpp | 4 +- src/mame/drivers/sothello.cpp | 2 +- src/mame/drivers/spaceg.cpp | 2 +- src/mame/drivers/spc1000.cpp | 2 +- src/mame/drivers/spc1500.cpp | 2 +- src/mame/drivers/spectra.cpp | 2 +- src/mame/drivers/speglsht.cpp | 2 +- src/mame/drivers/spinb.cpp | 2 +- src/mame/drivers/splus.cpp | 2 +- src/mame/drivers/spoker.cpp | 2 +- src/mame/drivers/spool99.cpp | 2 +- src/mame/drivers/squale.cpp | 2 +- src/mame/drivers/srmp5.cpp | 2 +- src/mame/drivers/srmp6.cpp | 2 +- src/mame/drivers/ssem.cpp | 2 +- src/mame/drivers/ssfindo.cpp | 2 +- src/mame/drivers/sshot.cpp | 2 +- src/mame/drivers/ssingles.cpp | 2 +- src/mame/drivers/sstrangr.cpp | 2 +- src/mame/drivers/st17xx.cpp | 2 +- src/mame/drivers/st_mp100.cpp | 2 +- src/mame/drivers/st_mp200.cpp | 2 +- src/mame/drivers/statriv2.cpp | 2 +- src/mame/drivers/stellafr.cpp | 2 +- src/mame/drivers/stratos.cpp | 2 +- src/mame/drivers/studio2.cpp | 6 +- src/mame/drivers/stuntair.cpp | 2 +- src/mame/drivers/su2000.cpp | 2 +- src/mame/drivers/sub.cpp | 2 +- src/mame/drivers/subhuntr.cpp | 2 +- src/mame/drivers/subsino.cpp | 2 +- src/mame/drivers/subsino2.cpp | 2 +- src/mame/drivers/summit.cpp | 2 +- src/mame/drivers/sumt8035.cpp | 2 +- src/mame/drivers/sun1.cpp | 2 +- src/mame/drivers/sun2.cpp | 2 +- src/mame/drivers/sun3.cpp | 2 +- src/mame/drivers/sun4.cpp | 2 +- src/mame/drivers/supdrapo.cpp | 2 +- src/mame/drivers/supduck.cpp | 2 +- src/mame/drivers/supercon.cpp | 2 +- src/mame/drivers/supercrd.cpp | 2 +- src/mame/drivers/superdq.cpp | 2 +- src/mame/drivers/supertnk.cpp | 2 +- src/mame/drivers/superwng.cpp | 2 +- src/mame/drivers/supracan.cpp | 8 +- src/mame/drivers/suprgolf.cpp | 2 +- src/mame/drivers/suprnova.cpp | 2 +- src/mame/drivers/sv8000.cpp | 2 +- src/mame/drivers/svmu.cpp | 2 +- src/mame/drivers/swtpc.cpp | 2 +- src/mame/drivers/swyft.cpp | 2 +- src/mame/drivers/sym1.cpp | 2 +- src/mame/drivers/sys2900.cpp | 2 +- src/mame/drivers/systec.cpp | 2 +- src/mame/drivers/taito.cpp | 2 +- src/mame/drivers/taito_z.cpp | 2 +- src/mame/drivers/taitogn.cpp | 2 +- src/mame/drivers/taitopjc.cpp | 2 +- src/mame/drivers/taitottl.cpp | 2 +- src/mame/drivers/taitotx.cpp | 2 +- src/mame/drivers/taitotz.cpp | 2 +- src/mame/drivers/taitowlf.cpp | 2 +- src/mame/drivers/tamag1.cpp | 2 +- src/mame/drivers/tandy1t.cpp | 2 +- src/mame/drivers/tapatune.cpp | 2 +- src/mame/drivers/tasman.cpp | 2 +- src/mame/drivers/tattack.cpp | 2 +- src/mame/drivers/tavernie.cpp | 2 +- src/mame/drivers/tb303.cpp | 2 +- src/mame/drivers/tcl.cpp | 2 +- src/mame/drivers/tec1.cpp | 2 +- src/mame/drivers/techno.cpp | 2 +- src/mame/drivers/tecnbras.cpp | 2 +- src/mame/drivers/tek410x.cpp | 2 +- src/mame/drivers/tekxp33x.cpp | 2 +- src/mame/drivers/tempest.cpp | 2 +- src/mame/drivers/terak.cpp | 2 +- src/mame/drivers/test_t400.cpp | 2 +- src/mame/drivers/tgtpanic.cpp | 2 +- src/mame/drivers/thayers.cpp | 2 +- src/mame/drivers/thedealr.cpp | 2 +- src/mame/drivers/ti630.cpp | 2 +- src/mame/drivers/ti74.cpp | 2 +- src/mame/drivers/ti990_10.cpp | 2 +- src/mame/drivers/ti990_4.cpp | 2 +- src/mame/drivers/ti99_2.cpp | 2 +- src/mame/drivers/ti99_4p.cpp | 2 +- src/mame/drivers/ti99_4x.cpp | 2 +- src/mame/drivers/ti99_8.cpp | 2 +- src/mame/drivers/ticalc1x.cpp | 18 +- src/mame/drivers/tickee.cpp | 2 +- src/mame/drivers/tim011.cpp | 2 +- src/mame/drivers/tim100.cpp | 2 +- src/mame/drivers/timetrv.cpp | 2 +- src/mame/drivers/tispeak.cpp | 2 +- src/mame/drivers/tispellb.cpp | 2 +- src/mame/drivers/tk2000.cpp | 2 +- src/mame/drivers/tk80.cpp | 2 +- src/mame/drivers/tk80bs.cpp | 2 +- src/mame/drivers/tm990189.cpp | 6 +- src/mame/drivers/tmaster.cpp | 2 +- src/mame/drivers/tmmjprd.cpp | 2 +- src/mame/drivers/tmspoker.cpp | 2 +- src/mame/drivers/tokyocop.cpp | 2 +- src/mame/drivers/tomcat.cpp | 2 +- src/mame/drivers/tonton.cpp | 2 +- src/mame/drivers/topspeed.cpp | 2 +- src/mame/drivers/toratora.cpp | 2 +- src/mame/drivers/tourtabl.cpp | 2 +- src/mame/drivers/tourvis.cpp | 2 +- src/mame/drivers/tricep.cpp | 2 +- src/mame/drivers/triforce.cpp | 2 +- src/mame/drivers/trvmadns.cpp | 2 +- src/mame/drivers/ts802.cpp | 2 +- src/mame/drivers/ts803.cpp | 2 +- src/mame/drivers/ts816.cpp | 2 +- src/mame/drivers/ttchamp.cpp | 2 +- src/mame/drivers/tugboat.cpp | 2 +- src/mame/drivers/turrett.cpp | 2 +- src/mame/drivers/tutor.cpp | 2 +- src/mame/drivers/tv950.cpp | 2 +- src/mame/drivers/tvc.cpp | 2 +- src/mame/drivers/tvcapcom.cpp | 2 +- src/mame/drivers/tvgame.cpp | 2 +- src/mame/drivers/twinkle.cpp | 2 +- src/mame/drivers/twins.cpp | 2 +- src/mame/drivers/tx0.cpp | 16 +- src/mame/drivers/uapce.cpp | 2 +- src/mame/drivers/uknc.cpp | 2 +- src/mame/drivers/ultrsprt.cpp | 2 +- src/mame/drivers/umipoker.cpp | 2 +- src/mame/drivers/unichamp.cpp | 2 +- src/mame/drivers/unior.cpp | 2 +- src/mame/drivers/unistar.cpp | 2 +- src/mame/drivers/univac.cpp | 2 +- src/mame/drivers/unixpc.cpp | 2 +- src/mame/drivers/unkfr.cpp | 2 +- src/mame/drivers/unkhorse.cpp | 2 +- src/mame/drivers/upscope.cpp | 2 +- src/mame/drivers/uzebox.cpp | 2 +- src/mame/drivers/v6809.cpp | 2 +- src/mame/drivers/vamphalf.cpp | 2 +- src/mame/drivers/vax11.cpp | 2 +- src/mame/drivers/vboy.cpp | 2 +- src/mame/drivers/vcombat.cpp | 8 +- src/mame/drivers/vd.cpp | 2 +- src/mame/drivers/vector4.cpp | 2 +- src/mame/drivers/vega.cpp | 2 +- src/mame/drivers/vegaeo.cpp | 2 +- src/mame/drivers/vegas.cpp | 2 +- src/mame/drivers/vg5k.cpp | 2 +- src/mame/drivers/videopkr.cpp | 2 +- src/mame/drivers/vii.cpp | 2 +- src/mame/drivers/viper.cpp | 2 +- src/mame/drivers/vk100.cpp | 2 +- src/mame/drivers/vlc.cpp | 2 +- src/mame/drivers/votrpss.cpp | 2 +- src/mame/drivers/votrtnt.cpp | 2 +- src/mame/drivers/voyager.cpp | 2 +- src/mame/drivers/vp101.cpp | 2 +- src/mame/drivers/vpoker.cpp | 2 +- src/mame/drivers/vroulet.cpp | 2 +- src/mame/drivers/vt100.cpp | 2 +- src/mame/drivers/vt220.cpp | 2 +- src/mame/drivers/vt240.cpp | 2 +- src/mame/drivers/vt320.cpp | 2 +- src/mame/drivers/vt520.cpp | 2 +- src/mame/drivers/vta2000.cpp | 2 +- src/mame/drivers/vtech1.cpp | 2 +- src/mame/drivers/wacky_gator.cpp | 2 +- src/mame/drivers/wallc.cpp | 2 +- src/mame/drivers/wardner.cpp | 2 +- src/mame/drivers/warpsped.cpp | 2 +- src/mame/drivers/wheelfir.cpp | 2 +- src/mame/drivers/white_mod.cpp | 2 +- src/mame/drivers/whitestar.cpp | 2 +- src/mame/drivers/wicat.cpp | 2 +- src/mame/drivers/wico.cpp | 2 +- src/mame/drivers/wildfire.cpp | 2 +- src/mame/drivers/wildpkr.cpp | 2 +- src/mame/drivers/wink.cpp | 2 +- src/mame/drivers/witch.cpp | 2 +- src/mame/drivers/wmg.cpp | 4 +- src/mame/drivers/wms.cpp | 2 +- src/mame/drivers/wpc_95.cpp | 2 +- src/mame/drivers/wpc_an.cpp | 2 +- src/mame/drivers/wpc_dcs.cpp | 2 +- src/mame/drivers/wpc_s.cpp | 2 +- src/mame/drivers/wyvernf0.cpp | 2 +- src/mame/drivers/x1twin.cpp | 2 +- src/mame/drivers/xavix.cpp | 2 +- src/mame/drivers/xbox.cpp | 2 +- src/mame/drivers/xtheball.cpp | 2 +- src/mame/drivers/xtom3d.cpp | 2 +- src/mame/drivers/ymmu100.cpp | 4 +- src/mame/drivers/z100.cpp | 2 +- src/mame/drivers/z1013.cpp | 2 +- src/mame/drivers/z80dev.cpp | 2 +- src/mame/drivers/z9001.cpp | 2 +- src/mame/drivers/zac_1.cpp | 2 +- src/mame/drivers/zac_2.cpp | 2 +- src/mame/drivers/zac_proto.cpp | 2 +- src/mame/drivers/zapcomputer.cpp | 2 +- src/mame/drivers/zaurus.cpp | 2 +- src/mame/drivers/zexall.cpp | 2 +- src/mame/drivers/zn.cpp | 2 +- src/mame/drivers/zorba.cpp | 2 +- src/mame/drivers/zr107.cpp | 2 +- src/mame/drivers/zrt80.cpp | 2 +- src/mame/drivers/zsbc3.cpp | 2 +- src/mame/etc/template_cpu.cpp | 2 +- src/mame/etc/template_device.cpp | 2 +- src/mame/etc/template_device.h | 2 +- src/mame/etc/template_driver.cpp | 2 +- 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 +- src/mame/machine/315-5838_317-0229_comp.cpp | 2 +- src/mame/machine/315-5838_317-0229_comp.h | 2 +- src/mame/machine/315-5881_crypt.cpp | 4 +- src/mame/machine/315-5881_crypt.h | 2 +- src/mame/machine/315_5296.cpp | 2 +- src/mame/machine/315_5296.h | 2 +- src/mame/machine/6883sam.cpp | 3 +- src/mame/machine/6883sam.h | 6 +- src/mame/machine/abc1600mac.cpp | 2 +- src/mame/machine/abc1600mac.h | 2 +- src/mame/machine/abc80kb.cpp | 2 +- src/mame/machine/abc80kb.h | 2 +- src/mame/machine/alpha8201.cpp | 4 +- src/mame/machine/alpha8201.h | 2 +- src/mame/machine/amigakbd.cpp | 2 +- src/mame/machine/amigakbd.h | 2 +- src/mame/machine/amstrad.cpp | 2 +- src/mame/machine/apollo.cpp | 10 +- src/mame/machine/apollo_kbd.cpp | 6 +- src/mame/machine/apollo_kbd.h | 2 +- src/mame/machine/appldriv.cpp | 2 +- src/mame/machine/appldriv.h | 2 +- src/mame/machine/applefdc.cpp | 6 +- src/mame/machine/applefdc.h | 6 +- src/mame/machine/apricotkb.cpp | 2 +- src/mame/machine/apricotkb.h | 2 +- src/mame/machine/apricotkb_hle.cpp | 2 +- src/mame/machine/apricotkb_hle.h | 2 +- src/mame/machine/arkanoid.cpp | 4 +- src/mame/machine/asic65.cpp | 2 +- src/mame/machine/asic65.h | 2 +- src/mame/machine/atari_vg.cpp | 2 +- src/mame/machine/atari_vg.h | 2 +- src/mame/machine/atarifdc.cpp | 2 +- src/mame/machine/atarifdc.h | 2 +- src/mame/machine/atarigen.cpp | 15 +- src/mame/machine/atarigen.h | 12 +- src/mame/machine/awboard.cpp | 4 +- src/mame/machine/awboard.h | 2 +- src/mame/machine/bbc.cpp | 4 +- src/mame/machine/beta.cpp | 2 +- src/mame/machine/beta.h | 2 +- src/mame/machine/bfm_bd1.cpp | 2 +- src/mame/machine/bfm_bd1.h | 2 +- src/mame/machine/bfm_bda.cpp | 2 +- src/mame/machine/bfm_bda.h | 2 +- src/mame/machine/buggychl.cpp | 2 +- src/mame/machine/buggychl.h | 2 +- src/mame/machine/c117.cpp | 6 +- src/mame/machine/c117.h | 2 +- src/mame/machine/cat702.cpp | 2 +- src/mame/machine/cat702.h | 2 +- src/mame/machine/cdi070.cpp | 2 +- src/mame/machine/cdi070.h | 2 +- src/mame/machine/cdicdic.cpp | 2 +- src/mame/machine/cdicdic.h | 2 +- src/mame/machine/cdislave.cpp | 2 +- src/mame/machine/cdislave.h | 2 +- src/mame/machine/coco.cpp | 2 +- src/mame/machine/coco3.cpp | 6 +- src/mame/machine/coco_vhd.cpp | 2 +- src/mame/machine/coco_vhd.h | 2 +- src/mame/machine/compiskb.cpp | 2 +- src/mame/machine/compiskb.h | 2 +- src/mame/machine/cuda.cpp | 2 +- src/mame/machine/cuda.h | 2 +- src/mame/machine/dc-ctrl.cpp | 6 +- src/mame/machine/dc-ctrl.h | 6 +- src/mame/machine/dec_lk201.cpp | 2 +- src/mame/machine/dec_lk201.h | 2 +- src/mame/machine/deco104.cpp | 2 +- src/mame/machine/deco104.h | 2 +- src/mame/machine/deco146.cpp | 4 +- src/mame/machine/deco146.h | 6 +- src/mame/machine/deco222.cpp | 4 +- src/mame/machine/deco222.h | 4 +- src/mame/machine/decocass.cpp | 14 +- src/mame/machine/decocass_tape.cpp | 2 +- src/mame/machine/decocass_tape.h | 2 +- src/mame/machine/decocpu6.cpp | 2 +- src/mame/machine/decocpu6.h | 2 +- src/mame/machine/decocpu7.cpp | 2 +- src/mame/machine/decocpu7.h | 2 +- src/mame/machine/decocrpt.cpp | 8 +- src/mame/machine/decopincpu.cpp | 16 +- src/mame/machine/decopincpu.h | 18 +- src/mame/machine/dmv_keyb.cpp | 2 +- src/mame/machine/dmv_keyb.h | 2 +- src/mame/machine/docg3.cpp | 2 +- src/mame/machine/docg3.h | 2 +- src/mame/machine/egret.cpp | 2 +- src/mame/machine/egret.h | 2 +- src/mame/machine/einstein.cpp | 6 +- src/mame/machine/esqpanel.cpp | 8 +- src/mame/machine/esqpanel.h | 8 +- src/mame/machine/esqvfd.cpp | 8 +- src/mame/machine/esqvfd.h | 8 +- src/mame/machine/fd1089.cpp | 6 +- src/mame/machine/fd1089.h | 6 +- src/mame/machine/fd1094.cpp | 2 +- src/mame/machine/fd1094.h | 2 +- src/mame/machine/fm_scsi.cpp | 2 +- src/mame/machine/fm_scsi.h | 2 +- src/mame/machine/gaelco3d.cpp | 4 +- src/mame/machine/gaelco3d.h | 2 +- src/mame/machine/gdrom.cpp | 2 +- src/mame/machine/gdrom.h | 2 +- src/mame/machine/genpc.cpp | 10 +- src/mame/machine/genpin.h | 2 +- src/mame/machine/hp48.cpp | 10 +- src/mame/machine/ie15_kbd.cpp | 4 +- src/mame/machine/ie15_kbd.h | 4 +- src/mame/machine/igs022.cpp | 2 +- src/mame/machine/igs022.h | 2 +- src/mame/machine/igs025.cpp | 2 +- src/mame/machine/igs025.h | 2 +- src/mame/machine/igs028.cpp | 2 +- src/mame/machine/igs028.h | 2 +- src/mame/machine/inder_sb.cpp | 2 +- src/mame/machine/inder_sb.h | 2 +- src/mame/machine/inder_vid.cpp | 2 +- src/mame/machine/inder_vid.h | 2 +- src/mame/machine/isbc_215g.cpp | 2 +- src/mame/machine/isbc_215g.h | 2 +- src/mame/machine/iteagle_fpga.cpp | 8 +- src/mame/machine/iteagle_fpga.h | 14 +- src/mame/machine/jvs13551.cpp | 5 +- src/mame/machine/jvs13551.h | 6 +- src/mame/machine/k573cass.cpp | 16 +- src/mame/machine/k573cass.h | 16 +- src/mame/machine/k573dio.cpp | 16 +- src/mame/machine/k573dio.h | 2 +- src/mame/machine/k573mcr.cpp | 2 +- src/mame/machine/k573mcr.h | 2 +- src/mame/machine/k573msu.cpp | 2 +- src/mame/machine/k573msu.h | 2 +- src/mame/machine/k573npu.cpp | 2 +- src/mame/machine/k573npu.h | 2 +- src/mame/machine/k7659kb.cpp | 2 +- src/mame/machine/k7659kb.h | 2 +- src/mame/machine/kaneko_calc3.cpp | 2 +- src/mame/machine/kaneko_calc3.h | 2 +- src/mame/machine/kaneko_hit.cpp | 2 +- src/mame/machine/kaneko_hit.h | 2 +- src/mame/machine/kaneko_toybox.cpp | 4 +- src/mame/machine/kaneko_toybox.h | 2 +- src/mame/machine/kc_keyb.cpp | 2 +- src/mame/machine/kc_keyb.h | 2 +- src/mame/machine/konami1.cpp | 2 +- src/mame/machine/konami1.h | 2 +- src/mame/machine/konppc.cpp | 2 +- src/mame/machine/konppc.h | 2 +- src/mame/machine/m1comm.cpp | 2 +- src/mame/machine/m1comm.h | 2 +- src/mame/machine/m20_8086.cpp | 2 +- src/mame/machine/m20_8086.h | 2 +- src/mame/machine/m20_kbd.cpp | 2 +- src/mame/machine/m20_kbd.h | 2 +- src/mame/machine/m24_kbd.cpp | 2 +- src/mame/machine/m24_kbd.h | 2 +- src/mame/machine/m24_z8000.cpp | 2 +- src/mame/machine/m24_z8000.h | 2 +- src/mame/machine/m2comm.cpp | 2 +- src/mame/machine/m2comm.h | 2 +- src/mame/machine/mackbd.cpp | 2 +- src/mame/machine/mackbd.h | 2 +- src/mame/machine/macrtc.cpp | 2 +- src/mame/machine/macrtc.h | 2 +- src/mame/machine/maple-dc.cpp | 2 +- src/mame/machine/maple-dc.h | 2 +- src/mame/machine/mapledev.cpp | 2 +- src/mame/machine/mapledev.h | 2 +- src/mame/machine/mathbox.cpp | 2 +- src/mame/machine/mathbox.h | 2 +- src/mame/machine/mega32x.cpp | 8 +- src/mame/machine/mega32x.h | 8 +- src/mame/machine/megacd.cpp | 8 +- src/mame/machine/megacd.h | 8 +- src/mame/machine/megacdcd.cpp | 2 +- src/mame/machine/megacdcd.h | 2 +- src/mame/machine/meters.cpp | 2 +- src/mame/machine/meters.h | 2 +- src/mame/machine/microdrv.cpp | 12 +- src/mame/machine/microdrv.h | 2 +- src/mame/machine/micropolis.cpp | 9 +- src/mame/machine/micropolis.h | 6 +- src/mame/machine/midikbd.cpp | 2 +- src/mame/machine/midikbd.h | 2 +- src/mame/machine/midwayic.cpp | 10 +- src/mame/machine/midwayic.h | 10 +- src/mame/machine/mie.cpp | 4 +- src/mame/machine/mie.h | 4 +- src/mame/machine/mm1kb.cpp | 2 +- src/mame/machine/mm1kb.h | 2 +- src/mame/machine/ms7004.cpp | 10 +- src/mame/machine/ms7004.h | 2 +- src/mame/machine/msx_matsushita.cpp | 2 +- src/mame/machine/msx_matsushita.h | 2 +- src/mame/machine/msx_s1985.cpp | 2 +- src/mame/machine/msx_s1985.h | 2 +- src/mame/machine/msx_switched.cpp | 2 +- src/mame/machine/msx_switched.h | 2 +- src/mame/machine/msx_systemflags.cpp | 2 +- src/mame/machine/msx_systemflags.h | 2 +- src/mame/machine/n64.cpp | 2 +- src/mame/machine/namco06.cpp | 18 +- src/mame/machine/namco06.h | 4 +- src/mame/machine/namco50.cpp | 2 +- src/mame/machine/namco50.h | 2 +- src/mame/machine/namco51.cpp | 2 +- src/mame/machine/namco51.h | 2 +- src/mame/machine/namco53.cpp | 2 +- src/mame/machine/namco53.h | 2 +- src/mame/machine/namco62.cpp | 2 +- src/mame/machine/namco62.h | 2 +- src/mame/machine/namco_settings.cpp | 4 +- src/mame/machine/namco_settings.h | 2 +- src/mame/machine/namcoio.cpp | 8 +- src/mame/machine/namcoio.h | 8 +- src/mame/machine/namcomcu.cpp | 10 +- src/mame/machine/namcomcu.h | 10 +- src/mame/machine/namcos1.cpp | 8 +- src/mame/machine/naomi.cpp | 2 +- src/mame/machine/naomibd.cpp | 2 +- src/mame/machine/naomibd.h | 2 +- src/mame/machine/naomig1.cpp | 2 +- src/mame/machine/naomig1.h | 2 +- src/mame/machine/naomigd.cpp | 2 +- src/mame/machine/naomigd.h | 2 +- src/mame/machine/naomim1.cpp | 4 +- src/mame/machine/naomim1.h | 2 +- src/mame/machine/naomim2.cpp | 2 +- src/mame/machine/naomim2.h | 2 +- src/mame/machine/naomim4.cpp | 2 +- src/mame/machine/naomim4.h | 2 +- src/mame/machine/naomirom.cpp | 2 +- src/mame/machine/naomirom.h | 2 +- src/mame/machine/nb1413m3.cpp | 2 +- src/mame/machine/nb1414m4.cpp | 2 +- src/mame/machine/nextkbd.cpp | 36 +-- src/mame/machine/nextkbd.h | 2 +- src/mame/machine/nextmo.cpp | 2 +- src/mame/machine/nextmo.h | 2 +- src/mame/machine/ng_memcard.cpp | 2 +- src/mame/machine/ng_memcard.h | 2 +- src/mame/machine/ngen_kb.cpp | 2 +- src/mame/machine/ngen_kb.h | 2 +- src/mame/machine/nmk004.cpp | 2 +- src/mame/machine/nmk004.h | 2 +- src/mame/machine/nmk112.cpp | 8 +- src/mame/machine/nmk112.h | 9 +- src/mame/machine/ns10crypt.cpp | 16 +- src/mame/machine/ns10crypt.h | 16 +- src/mame/machine/ns11prot.cpp | 20 +- src/mame/machine/ns11prot.h | 20 +- src/mame/machine/pc1512kb.cpp | 2 +- src/mame/machine/pc1512kb.h | 2 +- src/mame/machine/pc9801_118.cpp | 2 +- src/mame/machine/pc9801_118.h | 2 +- src/mame/machine/pc9801_26.cpp | 2 +- src/mame/machine/pc9801_26.h | 2 +- src/mame/machine/pc9801_86.cpp | 2 +- src/mame/machine/pc9801_86.h | 2 +- src/mame/machine/pc9801_cbus.cpp | 2 +- src/mame/machine/pc9801_cbus.h | 2 +- src/mame/machine/pc9801_kbd.cpp | 2 +- src/mame/machine/pc9801_kbd.h | 2 +- src/mame/machine/pcd_kbd.cpp | 2 +- src/mame/machine/pcd_kbd.h | 2 +- src/mame/machine/pce220_ser.cpp | 4 +- src/mame/machine/pce220_ser.h | 2 +- src/mame/machine/pce_cd.cpp | 2 +- src/mame/machine/pce_cd.h | 2 +- src/mame/machine/pcecommn.h | 2 +- src/mame/machine/pcshare.h | 2 +- src/mame/machine/prof80mmu.cpp | 2 +- src/mame/machine/prof80mmu.h | 2 +- src/mame/machine/psion_pack.cpp | 2 +- src/mame/machine/psion_pack.h | 2 +- src/mame/machine/psxcd.cpp | 2 +- src/mame/machine/psxcd.h | 2 +- src/mame/machine/qimi.cpp | 2 +- src/mame/machine/qimi.h | 2 +- src/mame/machine/qx10kbd.cpp | 2 +- src/mame/machine/qx10kbd.h | 2 +- src/mame/machine/raiden2cop.cpp | 2 +- src/mame/machine/raiden2cop.h | 2 +- src/mame/machine/rmnkbd.cpp | 2 +- src/mame/machine/rmnkbd.h | 2 +- src/mame/machine/rx01.cpp | 2 +- src/mame/machine/rx01.h | 2 +- src/mame/machine/s32comm.cpp | 2 +- src/mame/machine/s32comm.h | 2 +- src/mame/machine/segabb.cpp | 2 +- src/mame/machine/segabb.h | 2 +- src/mame/machine/segaic16.cpp | 11 +- src/mame/machine/segaic16.h | 10 +- src/mame/machine/seicop.cpp | 2 +- src/mame/machine/seicop.h | 2 +- src/mame/machine/sgi.cpp | 2 +- src/mame/machine/sgi.h | 2 +- src/mame/machine/slapstic.cpp | 2 +- src/mame/machine/smartmed.cpp | 6 +- src/mame/machine/smartmed.h | 6 +- src/mame/machine/sonydriv.cpp | 2 +- src/mame/machine/sonydriv.h | 2 +- src/mame/machine/st0016.cpp | 2 +- src/mame/machine/st0016.h | 2 +- src/mame/machine/swim.cpp | 2 +- src/mame/machine/swim.h | 2 +- src/mame/machine/tait8741.cpp | 4 +- src/mame/machine/tait8741.h | 4 +- src/mame/machine/taitoio.cpp | 6 +- src/mame/machine/taitoio.h | 6 +- src/mame/machine/tandy2kb.cpp | 2 +- src/mame/machine/tandy2kb.h | 2 +- src/mame/machine/teleprinter.cpp | 2 +- src/mame/machine/teleprinter.h | 2 +- src/mame/machine/thomson.cpp | 2 +- src/mame/machine/ticket.cpp | 2 +- src/mame/machine/ticket.h | 2 +- src/mame/machine/trs80m2kb.cpp | 2 +- src/mame/machine/trs80m2kb.h | 2 +- src/mame/machine/upd65031.cpp | 42 ++-- src/mame/machine/upd65031.h | 2 +- src/mame/machine/v1050kb.cpp | 2 +- src/mame/machine/v1050kb.h | 2 +- src/mame/machine/victor9k_fdc.cpp | 8 +- src/mame/machine/victor9k_fdc.h | 2 +- src/mame/machine/victor9kb.cpp | 2 +- src/mame/machine/victor9kb.h | 2 +- src/mame/machine/wangpckb.cpp | 2 +- src/mame/machine/wangpckb.h | 2 +- src/mame/machine/wpc.cpp | 2 +- src/mame/machine/wpc.h | 2 +- src/mame/machine/wpc_lamp.cpp | 2 +- src/mame/machine/wpc_lamp.h | 2 +- src/mame/machine/wpc_out.cpp | 2 +- src/mame/machine/wpc_out.h | 2 +- src/mame/machine/wpc_pic.cpp | 10 +- src/mame/machine/wpc_pic.h | 2 +- src/mame/machine/wpc_shift.cpp | 2 +- src/mame/machine/wpc_shift.h | 2 +- src/mame/machine/x1.cpp | 2 +- src/mame/machine/x68k_hdc.cpp | 2 +- src/mame/machine/x68k_hdc.h | 2 +- src/mame/machine/x68k_kbd.cpp | 2 +- src/mame/machine/x68k_kbd.h | 2 +- src/mame/machine/x820kb.cpp | 2 +- src/mame/machine/x820kb.h | 2 +- src/mame/machine/zndip.cpp | 2 +- src/mame/machine/zndip.h | 2 +- src/mame/machine/zs01.cpp | 8 +- src/mame/machine/zs01.h | 2 +- src/mame/machine/zx8302.cpp | 34 +-- src/mame/machine/zx8302.h | 2 +- src/mame/video/733_asr.cpp | 2 +- src/mame/video/733_asr.h | 2 +- src/mame/video/911_vdt.cpp | 2 +- src/mame/video/911_vdt.h | 2 +- src/mame/video/abc1600.cpp | 2 +- src/mame/video/abc1600.h | 2 +- src/mame/video/antic.cpp | 3 +- src/mame/video/antic.h | 6 +- src/mame/video/apollo.cpp | 6 +- src/mame/video/apple2.cpp | 2 +- src/mame/video/apple2.h | 2 +- src/mame/video/atarimo.cpp | 4 +- src/mame/video/atarimo.h | 4 +- src/mame/video/atarirle.cpp | 4 +- src/mame/video/atarirle.h | 2 +- src/mame/video/avgdvg.cpp | 22 +- src/mame/video/avgdvg.h | 22 +- src/mame/video/bfm_adr2.cpp | 2 +- src/mame/video/bfm_adr2.h | 2 +- src/mame/video/bfm_dm01.cpp | 2 +- src/mame/video/bfm_dm01.h | 2 +- src/mame/video/c116.cpp | 2 +- src/mame/video/c116.h | 2 +- src/mame/video/c45.cpp | 2 +- src/mame/video/c45.h | 2 +- src/mame/video/chihiro.cpp | 8 +- src/mame/video/crt.cpp | 2 +- src/mame/video/crt.h | 2 +- src/mame/video/decbac06.cpp | 4 +- src/mame/video/decbac06.h | 4 +- src/mame/video/deckarn.cpp | 6 +- src/mame/video/deckarn.h | 6 +- src/mame/video/decmxc06.cpp | 6 +- src/mame/video/decmxc06.h | 6 +- src/mame/video/deco16ic.cpp | 6 +- src/mame/video/deco16ic.h | 6 +- src/mame/video/deco_zoomspr.cpp | 6 +- src/mame/video/deco_zoomspr.h | 6 +- src/mame/video/decocomn.cpp | 4 +- src/mame/video/decocomn.h | 4 +- src/mame/video/decodmd1.cpp | 4 +- src/mame/video/decodmd1.h | 6 +- src/mame/video/decodmd2.cpp | 4 +- src/mame/video/decodmd2.h | 6 +- src/mame/video/decodmd3.cpp | 4 +- src/mame/video/decodmd3.h | 6 +- src/mame/video/decospr.cpp | 6 +- src/mame/video/decospr.h | 6 +- src/mame/video/excellent_spr.cpp | 2 +- src/mame/video/excellent_spr.h | 2 +- src/mame/video/fuukifg.cpp | 4 +- src/mame/video/fuukifg.h | 4 +- src/mame/video/gb_lcd.cpp | 10 +- src/mame/video/gb_lcd.h | 10 +- src/mame/video/gic.cpp | 4 +- src/mame/video/gic.h | 4 +- src/mame/video/gime.cpp | 11 +- src/mame/video/gime.h | 18 +- src/mame/video/gp9001.cpp | 2 +- src/mame/video/gp9001.h | 2 +- src/mame/video/gtia.cpp | 2 +- src/mame/video/gtia.h | 2 +- src/mame/video/igs017_igs031.cpp | 2 +- src/mame/video/igs017_igs031.h | 2 +- src/mame/video/itech32.cpp | 8 +- src/mame/video/jalblend.cpp | 2 +- src/mame/video/jalblend.h | 2 +- src/mame/video/k001005.cpp | 4 +- src/mame/video/k001005.h | 6 +- src/mame/video/k001006.cpp | 5 +- src/mame/video/k001006.h | 6 +- src/mame/video/k001604.cpp | 6 +- src/mame/video/k001604.h | 6 +- src/mame/video/k007121.cpp | 4 +- src/mame/video/k007121.h | 4 +- src/mame/video/k007342.cpp | 4 +- src/mame/video/k007342.h | 4 +- src/mame/video/k007420.cpp | 4 +- src/mame/video/k007420.h | 4 +- src/mame/video/k037122.cpp | 6 +- src/mame/video/k037122.h | 6 +- src/mame/video/k051316.cpp | 2 +- src/mame/video/k051316.h | 2 +- src/mame/video/k051733.cpp | 2 +- src/mame/video/k051733.h | 2 +- src/mame/video/k051960.cpp | 5 +- src/mame/video/k051960.h | 6 +- src/mame/video/k052109.cpp | 7 +- src/mame/video/k052109.h | 6 +- src/mame/video/k053244_k053245.cpp | 2 +- src/mame/video/k053244_k053245.h | 2 +- src/mame/video/k053246_k053247_k055673.cpp | 10 +- src/mame/video/k053246_k053247_k055673.h | 10 +- src/mame/video/k053250.cpp | 4 +- src/mame/video/k053250.h | 2 +- src/mame/video/k053251.cpp | 2 +- src/mame/video/k053251.h | 2 +- src/mame/video/k053936.cpp | 2 +- src/mame/video/k053936.h | 2 +- src/mame/video/k054000.cpp | 2 +- src/mame/video/k054000.h | 2 +- src/mame/video/k054156_k054157_k056832.cpp | 7 +- src/mame/video/k054156_k054157_k056832.h | 6 +- src/mame/video/k054338.cpp | 5 +- src/mame/video/k054338.h | 2 +- src/mame/video/k055555.cpp | 2 +- src/mame/video/k055555.h | 2 +- src/mame/video/k057714.cpp | 2 +- src/mame/video/k057714.h | 2 +- src/mame/video/k1ge.cpp | 6 +- src/mame/video/k1ge.h | 6 +- src/mame/video/kan_pand.cpp | 6 +- src/mame/video/kan_pand.h | 6 +- src/mame/video/kaneko_grap2.cpp | 6 +- src/mame/video/kaneko_grap2.h | 4 +- src/mame/video/kaneko_spr.cpp | 8 +- src/mame/video/kaneko_spr.h | 8 +- src/mame/video/kaneko_tmap.cpp | 4 +- src/mame/video/kaneko_tmap.h | 4 +- src/mame/video/maria.cpp | 2 +- src/mame/video/maria.h | 6 +- src/mame/video/mb60553.cpp | 4 +- src/mame/video/mb60553.h | 4 +- src/mame/video/mcd212.cpp | 2 +- src/mame/video/mcd212.h | 2 +- src/mame/video/neogeo_spr.cpp | 10 +- src/mame/video/neogeo_spr.h | 10 +- src/mame/video/newport.cpp | 2 +- src/mame/video/newport.h | 2 +- src/mame/video/nick.cpp | 2 +- src/mame/video/nick.h | 2 +- src/mame/video/pc080sn.cpp | 6 +- src/mame/video/pc080sn.h | 6 +- src/mame/video/pc090oj.cpp | 6 +- src/mame/video/pc090oj.h | 6 +- src/mame/video/pc_t1t.cpp | 6 +- src/mame/video/pc_t1t.h | 6 +- src/mame/video/pcd.cpp | 6 +- src/mame/video/pcd.h | 6 +- src/mame/video/powervr2.cpp | 14 +- src/mame/video/powervr2.h | 2 +- src/mame/video/ppu2c0x.cpp | 22 +- src/mame/video/ppu2c0x.h | 20 +- src/mame/video/sega16sp.cpp | 20 +- src/mame/video/sega16sp.h | 20 +- src/mame/video/segaic16.cpp | 4 +- src/mame/video/segaic16.h | 4 +- src/mame/video/segaic16_road.cpp | 2 +- src/mame/video/segaic16_road.h | 2 +- src/mame/video/segaic24.cpp | 10 +- src/mame/video/segaic24.h | 10 +- src/mame/video/seibu_crtc.cpp | 2 +- src/mame/video/seibu_crtc.h | 2 +- src/mame/video/seta001.cpp | 6 +- src/mame/video/seta001.h | 6 +- src/mame/video/sknsspr.cpp | 2 +- src/mame/video/sknsspr.h | 2 +- src/mame/video/st0020.cpp | 6 +- src/mame/video/st0020.h | 6 +- src/mame/video/stic.cpp | 2 +- src/mame/video/stic.h | 2 +- src/mame/video/tc0080vco.cpp | 6 +- src/mame/video/tc0080vco.h | 6 +- src/mame/video/tc0100scn.cpp | 6 +- src/mame/video/tc0100scn.h | 6 +- src/mame/video/tc0110pcr.cpp | 4 +- src/mame/video/tc0110pcr.h | 4 +- src/mame/video/tc0150rod.cpp | 2 +- src/mame/video/tc0150rod.h | 2 +- src/mame/video/tc0180vcu.cpp | 4 +- src/mame/video/tc0180vcu.h | 4 +- src/mame/video/tc0280grd.cpp | 4 +- src/mame/video/tc0280grd.h | 4 +- src/mame/video/tc0360pri.cpp | 2 +- src/mame/video/tc0360pri.h | 2 +- src/mame/video/tc0480scp.cpp | 6 +- src/mame/video/tc0480scp.h | 6 +- src/mame/video/tc0780fpa.cpp | 2 +- src/mame/video/tc0780fpa.h | 2 +- src/mame/video/tecmo_mix.cpp | 2 +- src/mame/video/tecmo_mix.h | 2 +- src/mame/video/tecmo_spr.cpp | 2 +- src/mame/video/tecmo_spr.h | 2 +- src/mame/video/tia.cpp | 6 +- src/mame/video/tia.h | 6 +- src/mame/video/tigeroad_spr.cpp | 2 +- src/mame/video/tigeroad_spr.h | 2 +- src/mame/video/toaplan_scu.cpp | 2 +- src/mame/video/toaplan_scu.h | 2 +- src/mame/video/uv201.cpp | 2 +- src/mame/video/uv201.h | 2 +- src/mame/video/vrender0.cpp | 2 +- src/mame/video/vrender0.h | 4 +- src/mame/video/vs920a.cpp | 4 +- src/mame/video/vs920a.h | 4 +- src/mame/video/vsystem_spr.cpp | 6 +- src/mame/video/vsystem_spr.h | 6 +- src/mame/video/vsystem_spr2.cpp | 6 +- src/mame/video/vsystem_spr2.h | 6 +- src/mame/video/vtvideo.cpp | 8 +- src/mame/video/vtvideo.h | 10 +- src/mame/video/wpc_dmd.cpp | 2 +- src/mame/video/wpc_dmd.h | 2 +- src/mame/video/wswan_video.cpp | 2 +- src/mame/video/wswan_video.h | 2 +- src/mame/video/ygv608.cpp | 6 +- src/mame/video/ygv608.h | 6 +- src/mame/video/zx8301.cpp | 2 +- src/mame/video/zx8301.h | 4 +- 2688 files changed, 4190 insertions(+), 3819 deletions(-) create mode 100644 src/mame/drivers/csc.cpp (limited to 'src/mame') diff --git a/src/mame/audio/alesis.cpp b/src/mame/audio/alesis.cpp index 1547cd2cd33..7a253db43a2 100644 --- a/src/mame/audio/alesis.cpp +++ b/src/mame/audio/alesis.cpp @@ -34,7 +34,7 @@ MACHINE_CONFIG_END // alesis_dm3ag_device - constructor //------------------------------------------------- -alesis_dm3ag_device::alesis_dm3ag_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +alesis_dm3ag_device::alesis_dm3ag_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ALESIS_DM3AG, "Alesis DM3AG", tag, owner, clock, "alesis_dm3ag", __FILE__), m_dac(*this, "dac"), m_samples(*this, DEVICE_SELF) @@ -97,7 +97,7 @@ void alesis_dm3ag_device::device_timer(emu_timer &timer, device_timer_id id, int */ m_shift--; - if (LOG) logerror("DM3AG '%s' shift: %02x\n", tag().c_str(), m_shift); + if (LOG) logerror("DM3AG '%s' shift: %02x\n", tag(), m_shift); } // every block ends with three or more -1 samples @@ -106,7 +106,7 @@ void alesis_dm3ag_device::device_timer(emu_timer &timer, device_timer_id id, int m_output_active = false; sample = 0; - if (LOG) logerror("DM3AG '%s' stop: %d, len: %d\n", tag().c_str(), m_cur_sample, m_cur_sample-((m_cmd[0]<<12) | (m_cmd[1]<<4) | ((m_cmd[2]>>4) & 0x0f))); + if (LOG) logerror("DM3AG '%s' stop: %d, len: %d\n", tag(), m_cur_sample, m_cur_sample-((m_cmd[0]<<12) | (m_cmd[1]<<4) | ((m_cmd[2]>>4) & 0x0f))); break; } @@ -120,7 +120,7 @@ void alesis_dm3ag_device::device_timer(emu_timer &timer, device_timer_id id, int WRITE8_MEMBER(alesis_dm3ag_device::write) { - if (LOG) logerror("DM3AG '%s' write: %02x\n", tag().c_str(), data); + if (LOG) logerror("DM3AG '%s' write: %02x\n", tag(), data); m_cmd[m_count++] = data; @@ -148,7 +148,7 @@ WRITE8_MEMBER(alesis_dm3ag_device::write) { bool good_pos = (m_cur_sample<2 || m_samples[m_cur_sample-2] == -128); - logerror("DM3AG '%s' start: %d (%s), vol: %02x out: %d pan: %d\n", tag().c_str(), m_cur_sample, good_pos ? "ok": "no", m_cmd[3], m_cmd[4] & 0x10 ? 1 : 2, (m_cmd[4]>>5)&7); + logerror("DM3AG '%s' start: %d (%s), vol: %02x out: %d pan: %d\n", tag(), m_cur_sample, good_pos ? "ok": "no", m_cmd[3], m_cmd[4] & 0x10 ? 1 : 2, (m_cmd[4]>>5)&7); } } diff --git a/src/mame/audio/arcadia.cpp b/src/mame/audio/arcadia.cpp index 5bbbcac47c2..306932a0b44 100644 --- a/src/mame/audio/arcadia.cpp +++ b/src/mame/audio/arcadia.cpp @@ -47,7 +47,7 @@ const device_type ARCADIA_SOUND = &device_creator; // arcadia_sound_device - constructor //------------------------------------------------- -arcadia_sound_device::arcadia_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +arcadia_sound_device::arcadia_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ARCADIA_SOUND, "Arcadia Audio Custom", tag, owner, clock, "arcadia_sound", __FILE__), device_sound_interface(mconfig, *this) { diff --git a/src/mame/audio/arcadia.h b/src/mame/audio/arcadia.h index dac54545d57..14a4f298294 100644 --- a/src/mame/audio/arcadia.h +++ b/src/mame/audio/arcadia.h @@ -21,7 +21,7 @@ class arcadia_sound_device : public device_t, { public: // construction/destruction - arcadia_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + arcadia_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_WRITE8_MEMBER(write); protected: diff --git a/src/mame/audio/atarijsa.cpp b/src/mame/audio/atarijsa.cpp index 998a484ddac..6b9781c9e49 100644 --- a/src/mame/audio/atarijsa.cpp +++ b/src/mame/audio/atarijsa.cpp @@ -285,7 +285,7 @@ INPUT_PORTS_END // atari_jsa_base_device - constructor //------------------------------------------------- -atari_jsa_base_device::atari_jsa_base_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, int channels) +atari_jsa_base_device::atari_jsa_base_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, int channels) : device_t(mconfig, devtype, name, tag, owner, clock, shortname, __FILE__), device_mixer_interface(mconfig, *this, channels), m_soundcomm(*this, "soundcomm"), @@ -411,7 +411,7 @@ WRITE_LINE_MEMBER( atari_jsa_base_device::main_int_write_line ) // atari_jsa_oki_base_device: Constructor //------------------------------------------------- -atari_jsa_oki_base_device::atari_jsa_oki_base_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, int channels) +atari_jsa_oki_base_device::atari_jsa_oki_base_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, int channels) : atari_jsa_base_device(mconfig, devtype, name, tag, owner, clock, shortname, channels), m_oki1(*this, "oki1"), m_oki2(*this, "oki2"), @@ -625,7 +625,7 @@ void atari_jsa_oki_base_device::update_all_volumes() // atari_jsa_i_device: Constructor //------------------------------------------------- -atari_jsa_i_device::atari_jsa_i_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +atari_jsa_i_device::atari_jsa_i_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : atari_jsa_base_device(mconfig, ATARI_JSA_I, "Atari JSA I Sound Board", tag, owner, clock, "atjsa1", 2), m_pokey(*this, "pokey"), m_tms5220(*this, "tms"), @@ -840,7 +840,7 @@ void atari_jsa_i_device::update_all_volumes() // atari_jsa_ii_device: Constructor //------------------------------------------------- -atari_jsa_ii_device::atari_jsa_ii_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +atari_jsa_ii_device::atari_jsa_ii_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : atari_jsa_oki_base_device(mconfig, ATARI_JSA_II, "Atari JSA II Sound Board", tag, owner, clock, "atjsa2", 1) , m_jsaii(*this, "JSAII") { @@ -904,13 +904,13 @@ ioport_constructor atari_jsa_ii_device::device_input_ports() const // atari_jsa_iii_device: Constructor //------------------------------------------------- -atari_jsa_iii_device::atari_jsa_iii_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +atari_jsa_iii_device::atari_jsa_iii_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : atari_jsa_oki_base_device(mconfig, ATARI_JSA_III, "Atari JSA III Sound Board", tag, owner, clock, "atjsa3", 1) , m_jsaiii(*this, "JSAIII") { } -atari_jsa_iii_device::atari_jsa_iii_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, int channels) +atari_jsa_iii_device::atari_jsa_iii_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, int channels) : atari_jsa_oki_base_device(mconfig, devtype, name, tag, owner, clock, shortname, channels) , m_jsaiii(*this, "JSAIII") { @@ -973,7 +973,7 @@ ioport_constructor atari_jsa_iii_device::device_input_ports() const // atari_jsa_iiis_device: Constructor //------------------------------------------------- -atari_jsa_iiis_device::atari_jsa_iiis_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +atari_jsa_iiis_device::atari_jsa_iiis_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : atari_jsa_iii_device(mconfig, ATARI_JSA_IIIS, "Atari JSA IIIs Sound Board", tag, owner, clock, "atjsa3s", 2) { } diff --git a/src/mame/audio/atarijsa.h b/src/mame/audio/atarijsa.h index e2d16045068..38ce437b4d2 100644 --- a/src/mame/audio/atarijsa.h +++ b/src/mame/audio/atarijsa.h @@ -80,7 +80,7 @@ class atari_jsa_base_device : public device_t, { protected: // construction/destruction - atari_jsa_base_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, int channels); + atari_jsa_base_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, int channels); public: // static configuration @@ -137,7 +137,7 @@ class atari_jsa_oki_base_device : public atari_jsa_base_device { protected: // derived construction/destruction - atari_jsa_oki_base_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, int channels); + atari_jsa_oki_base_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, int channels); public: // read/write handlers @@ -177,7 +177,7 @@ class atari_jsa_i_device : public atari_jsa_base_device { public: // construction/destruction - atari_jsa_i_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + atari_jsa_i_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // read/write handlers DECLARE_READ8_MEMBER( rdio_r ); @@ -214,7 +214,7 @@ class atari_jsa_ii_device : public atari_jsa_oki_base_device { public: // construction/destruction - atari_jsa_ii_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + atari_jsa_ii_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // read/write handlers DECLARE_READ8_MEMBER( rdio_r ); @@ -234,11 +234,11 @@ class atari_jsa_iii_device : public atari_jsa_oki_base_device { public: // construction/destruction - atari_jsa_iii_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + atari_jsa_iii_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: // derived construction/destruction - atari_jsa_iii_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, int channels); + atari_jsa_iii_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, int channels); public: // read/write handlers @@ -259,7 +259,7 @@ class atari_jsa_iiis_device : public atari_jsa_iii_device { public: // construction/destruction - atari_jsa_iiis_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + atari_jsa_iiis_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: // device level overrides diff --git a/src/mame/audio/beezer.cpp b/src/mame/audio/beezer.cpp index 9e11ceeb481..3a295208073 100644 --- a/src/mame/audio/beezer.cpp +++ b/src/mame/audio/beezer.cpp @@ -69,7 +69,7 @@ const device_type BEEZER = &device_creator; -beezer_sound_device::beezer_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +beezer_sound_device::beezer_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, BEEZER, "beezer SFX", tag, owner, clock, "beezer_sound", __FILE__), device_sound_interface(mconfig, *this), //m_ptm_irq_state(0), diff --git a/src/mame/audio/cage.cpp b/src/mame/audio/cage.cpp index 522701d210a..62387ef1e0d 100644 --- a/src/mame/audio/cage.cpp +++ b/src/mame/audio/cage.cpp @@ -112,13 +112,13 @@ const device_type ATARI_CAGE = &device_creator; // atari_cage_device - constructor //------------------------------------------------- -atari_cage_device::atari_cage_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +atari_cage_device::atari_cage_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ATARI_CAGE, "Atari CAGE", tag, owner, clock, "atari_cage", __FILE__), m_irqhandler(*this) { } -atari_cage_device::atari_cage_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : +atari_cage_device::atari_cage_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_irqhandler(*this) { @@ -684,7 +684,7 @@ const device_type ATARI_CAGE_SEATTLE = &device_creator(device).m_speedup = speedup; } template static devcb_base &set_irqhandler_callback(device_t &device, _Object object) { return downcast(device).m_irqhandler.set_callback(object); } @@ -97,7 +97,7 @@ class atari_cage_seattle_device : public atari_cage_device { public: // construction/destruction - atari_cage_seattle_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + atari_cage_seattle_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; diff --git a/src/mame/audio/cclimber.cpp b/src/mame/audio/cclimber.cpp index 1248af80592..23ed02302b7 100644 --- a/src/mame/audio/cclimber.cpp +++ b/src/mame/audio/cclimber.cpp @@ -43,7 +43,7 @@ const device_type CCLIMBER_AUDIO = &device_creator; // cclimber_audio_device: Constructor //------------------------------------------------- -cclimber_audio_device::cclimber_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +cclimber_audio_device::cclimber_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, CCLIMBER_AUDIO, "Crazy Climber Sound Board", tag, owner, clock, "cclimber_audio", __FILE__), m_sample_buf(nullptr), m_sample_num(0), diff --git a/src/mame/audio/cclimber.h b/src/mame/audio/cclimber.h index 3e7c7d457fc..6007aa0a831 100644 --- a/src/mame/audio/cclimber.h +++ b/src/mame/audio/cclimber.h @@ -35,7 +35,7 @@ class cclimber_audio_device : public device_t { public: // construction/destruction - cclimber_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + cclimber_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_WRITE8_MEMBER( sample_trigger_w ); DECLARE_WRITE8_MEMBER( sample_rate_w ); diff --git a/src/mame/audio/channelf.cpp b/src/mame/audio/channelf.cpp index 8eed4ac9cc5..2cf03d70aa0 100644 --- a/src/mame/audio/channelf.cpp +++ b/src/mame/audio/channelf.cpp @@ -8,7 +8,7 @@ const device_type CHANNELF_SOUND = &device_creator; -channelf_sound_device::channelf_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +channelf_sound_device::channelf_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, CHANNELF_SOUND, "Channel F Sound", tag, owner, clock, "channelf_sound", __FILE__), device_sound_interface(mconfig, *this), m_channel(nullptr), diff --git a/src/mame/audio/channelf.h b/src/mame/audio/channelf.h index 9fbe3fc2540..17ad5add8df 100644 --- a/src/mame/audio/channelf.h +++ b/src/mame/audio/channelf.h @@ -13,7 +13,7 @@ class channelf_sound_device : public device_t, public device_sound_interface { public: - channelf_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + channelf_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); void sound_w(int mode); protected: diff --git a/src/mame/audio/cps3.cpp b/src/mame/audio/cps3.cpp index 1812b7c61f9..7038ec5adf8 100644 --- a/src/mame/audio/cps3.cpp +++ b/src/mame/audio/cps3.cpp @@ -22,7 +22,7 @@ const device_type CPS3 = &device_creator; // cps3_sound_device - constructor //------------------------------------------------- -cps3_sound_device::cps3_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +cps3_sound_device::cps3_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, CPS3, "CPS3 Audio Custom", tag, owner, clock, "cps3_custom", __FILE__), device_sound_interface(mconfig, *this), m_stream(nullptr), diff --git a/src/mame/audio/cps3.h b/src/mame/audio/cps3.h index c76b951f42b..03c5e4f1642 100644 --- a/src/mame/audio/cps3.h +++ b/src/mame/audio/cps3.h @@ -30,7 +30,7 @@ class cps3_sound_device : public device_t, public device_sound_interface { public: - cps3_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + cps3_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~cps3_sound_device() { } void set_base(INT8* base) { m_base = base; } diff --git a/src/mame/audio/dai_snd.cpp b/src/mame/audio/dai_snd.cpp index fc7abb69613..ae0bf3c79c3 100644 --- a/src/mame/audio/dai_snd.cpp +++ b/src/mame/audio/dai_snd.cpp @@ -21,7 +21,7 @@ const device_type DAI_SOUND = &device_creator; // dai_sound_device - constructor //------------------------------------------------- -dai_sound_device::dai_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +dai_sound_device::dai_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DAI_SOUND, "DAI Audio Custom", tag, owner, clock, "dai_sound", __FILE__), device_sound_interface(mconfig, *this) { diff --git a/src/mame/audio/dai_snd.h b/src/mame/audio/dai_snd.h index 7a466478210..484002161ff 100644 --- a/src/mame/audio/dai_snd.h +++ b/src/mame/audio/dai_snd.h @@ -18,7 +18,7 @@ class dai_sound_device : public device_t, { public: // construction/destruction - dai_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + dai_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_WRITE_LINE_MEMBER(set_input_ch0); DECLARE_WRITE_LINE_MEMBER(set_input_ch1); diff --git a/src/mame/audio/dave.cpp b/src/mame/audio/dave.cpp index f227d05b605..138b8d9ac40 100644 --- a/src/mame/audio/dave.cpp +++ b/src/mame/audio/dave.cpp @@ -52,7 +52,7 @@ ADDRESS_MAP_END // dave_device - constructor //------------------------------------------------- -dave_device::dave_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +dave_device::dave_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DAVE, "DAVE", tag, owner, clock, "dave", __FILE__), device_memory_interface(mconfig, *this), device_sound_interface(mconfig, *this), diff --git a/src/mame/audio/dave.h b/src/mame/audio/dave.h index 0906f934a12..de534c51bda 100644 --- a/src/mame/audio/dave.h +++ b/src/mame/audio/dave.h @@ -56,7 +56,7 @@ class dave_device : public device_t, public device_sound_interface { public: - dave_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + dave_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_irq_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_irq.set_callback(object); } template static devcb_base &set_lh_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_lh.set_callback(object); } diff --git a/src/mame/audio/dcs.cpp b/src/mame/audio/dcs.cpp index 6669ad245e5..cad34e38130 100644 --- a/src/mame/audio/dcs.cpp +++ b/src/mame/audio/dcs.cpp @@ -785,7 +785,7 @@ void dcs_audio_device::dcs_register_state() // dcs_audio_device - constructor //------------------------------------------------- -dcs_audio_device::dcs_audio_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int rev) : +dcs_audio_device::dcs_audio_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int rev) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_cpu(nullptr), m_program(nullptr), @@ -2378,7 +2378,7 @@ const device_type DCS_AUDIO_2K = &device_creator; // dcs_audio_2k_device - constructor //------------------------------------------------- -dcs_audio_2k_device::dcs_audio_2k_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +dcs_audio_2k_device::dcs_audio_2k_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : dcs_audio_device(mconfig, DCS_AUDIO_2K, "DCS Audio 2K", tag, owner, clock, "dcs_audio_2k", __FILE__) { } @@ -2394,7 +2394,7 @@ const device_type DCS_AUDIO_2K_UART = &device_creator; // dcs_audio_2k_uart_device - constructor //------------------------------------------------- -dcs_audio_2k_uart_device::dcs_audio_2k_uart_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +dcs_audio_2k_uart_device::dcs_audio_2k_uart_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : dcs_audio_device(mconfig, DCS_AUDIO_2K_UART, "DCS Audio 2K UART", tag, owner, clock, "dcs_audio_2k_uart", __FILE__) { } @@ -2410,7 +2410,7 @@ const device_type DCS_AUDIO_8K = &device_creator; // dcs_audio_8k_device - constructor //------------------------------------------------- -dcs_audio_8k_device::dcs_audio_8k_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +dcs_audio_8k_device::dcs_audio_8k_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : dcs_audio_device(mconfig, DCS_AUDIO_8K, "DCS Audio 8K", tag, owner, clock, "dcs_audio_8k", __FILE__) { } @@ -2426,7 +2426,7 @@ const device_type DCS_AUDIO_WPC = &device_creator; // dcs_audio_wpc_device - constructor //------------------------------------------------- -dcs_audio_wpc_device::dcs_audio_wpc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +dcs_audio_wpc_device::dcs_audio_wpc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : dcs_audio_device(mconfig, DCS_AUDIO_WPC, "DCS Audio WPC", tag, owner, clock, "dcs_audio_wpc", __FILE__, 15) { } @@ -2442,7 +2442,7 @@ machine_config_constructor dcs_audio_wpc_device::device_mconfig_additions() cons // dcs2_audio_device - constructor //------------------------------------------------- -dcs2_audio_device::dcs2_audio_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : +dcs2_audio_device::dcs2_audio_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : dcs_audio_device(mconfig, type, name, tag, owner, clock, shortname, source) { } @@ -2454,7 +2454,7 @@ const device_type DCS2_AUDIO_2115 = &device_creator; // dcs2_audio_2115_device - constructor //------------------------------------------------- -dcs2_audio_2115_device::dcs2_audio_2115_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +dcs2_audio_2115_device::dcs2_audio_2115_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : dcs2_audio_device(mconfig, DCS2_AUDIO_2115, "DCS2 Audio 2115", tag, owner, clock, "dcs2_audio_2115", __FILE__) { } @@ -2470,7 +2470,7 @@ const device_type DCS2_AUDIO_2104 = &device_creator; // dcs2_audio_2104_device - constructor //------------------------------------------------- -dcs2_audio_2104_device::dcs2_audio_2104_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +dcs2_audio_2104_device::dcs2_audio_2104_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : dcs2_audio_device(mconfig, DCS2_AUDIO_2104, "DCS2 Audio 2104", tag, owner, clock, "dcs2_audio_2104", __FILE__) { } @@ -2487,7 +2487,7 @@ const device_type DCS2_AUDIO_DSIO = &device_creator; // dcs2_audio_dsio_device - constructor //------------------------------------------------- -dcs2_audio_dsio_device::dcs2_audio_dsio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +dcs2_audio_dsio_device::dcs2_audio_dsio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : dcs2_audio_device(mconfig, DCS2_AUDIO_DSIO, "DCS2 Audio DSIO", tag, owner, clock, "dcs2_audio_dsio", __FILE__) { } @@ -2503,7 +2503,7 @@ const device_type DCS2_AUDIO_DENVER = &device_creator; // dcs2_audio_denver_device - constructor //------------------------------------------------- -dcs2_audio_denver_device::dcs2_audio_denver_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +dcs2_audio_denver_device::dcs2_audio_denver_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : dcs2_audio_device(mconfig, DCS2_AUDIO_DENVER, "DCS2 Audio Denver", tag, owner, clock, "dcs2_audio_denver", __FILE__) { } diff --git a/src/mame/audio/dcs.h b/src/mame/audio/dcs.h index b436f2709bb..7f84d5fed96 100644 --- a/src/mame/audio/dcs.h +++ b/src/mame/audio/dcs.h @@ -23,7 +23,7 @@ class dcs_audio_device : public device_t { public: // construction/destruction - dcs_audio_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int rev = 1); + dcs_audio_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source, int rev = 1); // for dcs2 (int dram_in_mb, offs_t polling_offset) static void static_set_dram_in_mb(device_t &device, int dram_in_mb) { downcast(device).m_dram_in_mb = dram_in_mb; } @@ -212,7 +212,7 @@ class dcs_audio_2k_device : public dcs_audio_device { public: // construction/destruction - dcs_audio_2k_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + dcs_audio_2k_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; @@ -228,7 +228,7 @@ class dcs_audio_2k_uart_device : public dcs_audio_device { public: // construction/destruction - dcs_audio_2k_uart_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + dcs_audio_2k_uart_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; @@ -244,7 +244,7 @@ class dcs_audio_8k_device : public dcs_audio_device { public: // construction/destruction - dcs_audio_8k_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + dcs_audio_8k_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; @@ -260,7 +260,7 @@ class dcs_audio_wpc_device : public dcs_audio_device { public: // construction/destruction - dcs_audio_wpc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + dcs_audio_wpc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; @@ -276,7 +276,7 @@ class dcs2_audio_device : public dcs_audio_device { public: // construction/destruction - dcs2_audio_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + dcs2_audio_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); protected: // device-level overrides @@ -289,7 +289,7 @@ class dcs2_audio_2115_device : public dcs2_audio_device { public: // construction/destruction - dcs2_audio_2115_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + dcs2_audio_2115_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; @@ -305,7 +305,7 @@ class dcs2_audio_2104_device : public dcs2_audio_device { public: // construction/destruction - dcs2_audio_2104_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + dcs2_audio_2104_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; @@ -321,7 +321,7 @@ class dcs2_audio_dsio_device : public dcs2_audio_device { public: // construction/destruction - dcs2_audio_dsio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + dcs2_audio_dsio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; @@ -337,7 +337,7 @@ class dcs2_audio_denver_device : public dcs2_audio_device { public: // construction/destruction - dcs2_audio_denver_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + dcs2_audio_denver_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; diff --git a/src/mame/audio/decobsmt.cpp b/src/mame/audio/decobsmt.cpp index b47d578c64b..c0b3aae1be8 100644 --- a/src/mame/audio/decobsmt.cpp +++ b/src/mame/audio/decobsmt.cpp @@ -73,7 +73,7 @@ machine_config_constructor decobsmt_device::device_mconfig_additions() const // decobsmt_device - constructor //------------------------------------------------- -decobsmt_device::decobsmt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +decobsmt_device::decobsmt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DECOBSMT, "Data East/Sega/Stern BSMT2000 Sound Board", tag, owner, clock, "decobsmt", __FILE__), m_ourcpu(*this, M6809_TAG), m_bsmt(*this, BSMT_TAG) diff --git a/src/mame/audio/decobsmt.h b/src/mame/audio/decobsmt.h index 09230ea8490..715607f47b9 100644 --- a/src/mame/audio/decobsmt.h +++ b/src/mame/audio/decobsmt.h @@ -22,7 +22,7 @@ class decobsmt_device : public device_t { public: // construction/destruction - decobsmt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + decobsmt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_WRITE8_MEMBER(bsmt_reset_w); DECLARE_READ8_MEMBER(bsmt_status_r); diff --git a/src/mame/audio/dsbz80.cpp b/src/mame/audio/dsbz80.cpp index 89dcd4976f2..dfc97fd6028 100644 --- a/src/mame/audio/dsbz80.cpp +++ b/src/mame/audio/dsbz80.cpp @@ -61,7 +61,7 @@ machine_config_constructor dsbz80_device::device_mconfig_additions() const // dsbz80_device - constructor //------------------------------------------------- -dsbz80_device::dsbz80_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +dsbz80_device::dsbz80_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DSBZ80, "Sega Z80-based Digital Sound Board", tag, owner, clock, "dsbz80", __FILE__), device_sound_interface(mconfig, *this), m_ourcpu(*this, Z80_TAG) diff --git a/src/mame/audio/dsbz80.h b/src/mame/audio/dsbz80.h index 635efd33129..fb642566245 100644 --- a/src/mame/audio/dsbz80.h +++ b/src/mame/audio/dsbz80.h @@ -22,7 +22,7 @@ class dsbz80_device : public device_t, public device_sound_interface { public: // construction/destruction - dsbz80_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + dsbz80_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; diff --git a/src/mame/audio/exidy.cpp b/src/mame/audio/exidy.cpp index 8f68642efa5..c8bbaaf25ba 100644 --- a/src/mame/audio/exidy.cpp +++ b/src/mame/audio/exidy.cpp @@ -205,13 +205,13 @@ void exidy_sound_device::common_sh_start() const device_type EXIDY = &device_creator; -exidy_sound_device::exidy_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +exidy_sound_device::exidy_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, EXIDY, "Exidy SFX", tag, owner, clock, "exidy_sfx", __FILE__), device_sound_interface(mconfig, *this) { } -exidy_sound_device::exidy_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +exidy_sound_device::exidy_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_sound_interface(mconfig, *this), m_riot_irq_state(0), @@ -669,7 +669,7 @@ WRITE8_MEMBER( venture_sound_device::filter_w ) const device_type EXIDY_VENTURE = &device_creator; -venture_sound_device::venture_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +venture_sound_device::venture_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : exidy_sound_device(mconfig, EXIDY_VENTURE, "Exidy SFX+PSG", tag, owner, clock, "venture_sound", __FILE__) { } @@ -924,7 +924,7 @@ WRITE_LINE_MEMBER( victory_sound_device::main_ack_w ) const device_type EXIDY_VICTORY = &device_creator; -victory_sound_device::victory_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +victory_sound_device::victory_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : exidy_sound_device(mconfig, EXIDY_VICTORY, "Exidy SFX+PSG+Speech", tag, owner, clock, "victory_sound", __FILE__), m_victory_sound_response_ack_clk(0) { diff --git a/src/mame/audio/exidy.h b/src/mame/audio/exidy.h index 9f49ecaa567..6f2eef49b56 100644 --- a/src/mame/audio/exidy.h +++ b/src/mame/audio/exidy.h @@ -37,8 +37,8 @@ class exidy_sound_device : public device_t, public device_sound_interface { public: - exidy_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - exidy_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + exidy_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + exidy_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); ~exidy_sound_device() {} DECLARE_READ8_MEMBER( sh6840_r ); @@ -117,7 +117,7 @@ extern const device_type EXIDY; class venture_sound_device : public exidy_sound_device { public: - venture_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + venture_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_WRITE8_MEMBER( mtrap_voiceio_w ); DECLARE_READ8_MEMBER( mtrap_voiceio_r ); @@ -139,7 +139,7 @@ extern const device_type EXIDY_VENTURE; class victory_sound_device : public exidy_sound_device { public: - victory_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + victory_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_READ8_MEMBER( response_r ); DECLARE_READ8_MEMBER( status_r ); diff --git a/src/mame/audio/exidy440.cpp b/src/mame/audio/exidy440.cpp index aa020f35f74..78c122a9caf 100644 --- a/src/mame/audio/exidy440.cpp +++ b/src/mame/audio/exidy440.cpp @@ -48,7 +48,7 @@ static const int channel_bits[4] = const device_type EXIDY440 = &device_creator; -exidy440_sound_device::exidy440_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +exidy440_sound_device::exidy440_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, EXIDY440, "Exidy 440 CVSD", tag, owner, clock, "exidy440_sound", __FILE__), device_sound_interface(mconfig, *this), m_sound_command(0), diff --git a/src/mame/audio/exidy440.h b/src/mame/audio/exidy440.h index a10e831e18f..0dafc17adf6 100644 --- a/src/mame/audio/exidy440.h +++ b/src/mame/audio/exidy440.h @@ -36,7 +36,7 @@ class exidy440_sound_device : public device_t, public device_sound_interface { public: - exidy440_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + exidy440_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~exidy440_sound_device() {} DECLARE_READ8_MEMBER( sound_command_r ); diff --git a/src/mame/audio/flower.cpp b/src/mame/audio/flower.cpp index cdf6da57aa1..fc8ef87b559 100644 --- a/src/mame/audio/flower.cpp +++ b/src/mame/audio/flower.cpp @@ -23,7 +23,7 @@ TODO: const device_type FLOWER = &device_creator; -flower_sound_device::flower_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +flower_sound_device::flower_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, FLOWER, "Flower Audio Custom", tag, owner, clock, "flower_sound", __FILE__), device_sound_interface(mconfig, *this) { diff --git a/src/mame/audio/galaxian.cpp b/src/mame/audio/galaxian.cpp index c247164bcaa..95598d41d1d 100644 --- a/src/mame/audio/galaxian.cpp +++ b/src/mame/audio/galaxian.cpp @@ -389,7 +389,7 @@ DISCRETE_SOUND_END const device_type GALAXIAN = &device_creator; -galaxian_sound_device::galaxian_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +galaxian_sound_device::galaxian_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, GALAXIAN, "Galaxian Audio Custom", tag, owner, clock, "galaxian_sound", __FILE__), device_sound_interface(mconfig, *this), m_lfo_val(0) diff --git a/src/mame/audio/galaxian.h b/src/mame/audio/galaxian.h index f9628daffa0..5f763e7792f 100644 --- a/src/mame/audio/galaxian.h +++ b/src/mame/audio/galaxian.h @@ -8,7 +8,7 @@ class galaxian_sound_device : public device_t, public device_sound_interface { public: - galaxian_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + galaxian_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~galaxian_sound_device() {} DECLARE_WRITE8_MEMBER( sound_w ); diff --git a/src/mame/audio/gamate.cpp b/src/mame/audio/gamate.cpp index a2533d3eda8..79913845058 100644 --- a/src/mame/audio/gamate.cpp +++ b/src/mame/audio/gamate.cpp @@ -27,7 +27,7 @@ const int EnvelopeVolumes[]={ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, // gamate_sound_device - constructor //------------------------------------------------- -gamate_sound_device::gamate_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +gamate_sound_device::gamate_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, GAMATE_SND, "Gamate Audio Custom", tag, owner, clock, "gamate_sound", __FILE__) , device_sound_interface(mconfig, *this) , m_mixer_channel(nullptr) diff --git a/src/mame/audio/gb.cpp b/src/mame/audio/gb.cpp index 4ac7a5c9976..181eb7ad2fb 100644 --- a/src/mame/audio/gb.cpp +++ b/src/mame/audio/gb.cpp @@ -105,7 +105,7 @@ const device_type GAMEBOY = &device_creator; // gameboy_sound_device - constructor //------------------------------------------------- -gameboy_sound_device::gameboy_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +gameboy_sound_device::gameboy_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, GAMEBOY, "LR35902 Sound", tag, owner, clock, "gameboy_sound", __FILE__), device_sound_interface(mconfig, *this) { diff --git a/src/mame/audio/gb.h b/src/mame/audio/gb.h index 3f5fa23f5a2..5ce8cb389f9 100644 --- a/src/mame/audio/gb.h +++ b/src/mame/audio/gb.h @@ -60,7 +60,7 @@ class gameboy_sound_device : public device_t, public device_sound_interface { public: - gameboy_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + gameboy_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_READ8_MEMBER(sound_r); DECLARE_READ8_MEMBER(wave_r); diff --git a/src/mame/audio/geebee.cpp b/src/mame/audio/geebee.cpp index 01abe93986c..d16f3c68cb5 100644 --- a/src/mame/audio/geebee.cpp +++ b/src/mame/audio/geebee.cpp @@ -15,7 +15,7 @@ const device_type GEEBEE = &device_creator; -geebee_sound_device::geebee_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +geebee_sound_device::geebee_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, GEEBEE, "Gee Bee Audio Custom", tag, owner, clock, "geebee_sound", __FILE__), device_sound_interface(mconfig, *this), m_decay(nullptr), diff --git a/src/mame/audio/gomoku.cpp b/src/mame/audio/gomoku.cpp index a405e7cfebc..9743ea2884e 100644 --- a/src/mame/audio/gomoku.cpp +++ b/src/mame/audio/gomoku.cpp @@ -27,7 +27,7 @@ const device_type GOMOKU = &device_creator; // gomoku_sound_device - constructor //------------------------------------------------- -gomoku_sound_device::gomoku_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +gomoku_sound_device::gomoku_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, GOMOKU, "Gomoku Narabe Renju Audio Custom", tag, owner, clock, "gomoku_sound", __FILE__), device_sound_interface(mconfig, *this), m_last_channel(nullptr), diff --git a/src/mame/audio/gottlieb.cpp b/src/mame/audio/gottlieb.cpp index 8b15a3855bd..6a5eb46f0e8 100644 --- a/src/mame/audio/gottlieb.cpp +++ b/src/mame/audio/gottlieb.cpp @@ -255,7 +255,7 @@ MACHINE_CONFIG_END // gottlieb_sound_r0_device - constructors //------------------------------------------------- -gottlieb_sound_r0_device::gottlieb_sound_r0_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +gottlieb_sound_r0_device::gottlieb_sound_r0_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, GOTTLIEB_SOUND_REV1, "Gottlieb Sound rev. 0", tag, owner, clock, "gotsndr0", __FILE__) , device_mixer_interface(mconfig, *this) , m_audiocpu(*this, "audiocpu") @@ -380,7 +380,7 @@ void gottlieb_sound_r0_device::device_start() // gottlieb_sound_r1_device - constructors //------------------------------------------------- -gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, GOTTLIEB_SOUND_REV1, "Gottlieb Sound rev. 1", tag, owner, clock, "gotsndr1", __FILE__), device_mixer_interface(mconfig, *this), m_audiocpu(*this, "audiocpu"), @@ -398,7 +398,7 @@ gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig { } -gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, bool populate_votrax) +gottlieb_sound_r1_device::gottlieb_sound_r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, bool populate_votrax) : device_t(mconfig, GOTTLIEB_SOUND_REV1, "Gottlieb Sound rev. 1", tag, owner, clock, "gotsndr1", __FILE__), device_mixer_interface(mconfig, *this), m_audiocpu(*this, "audiocpu"), @@ -625,7 +625,7 @@ void gottlieb_sound_r1_device::device_start() // constructor //------------------------------------------------- -gottlieb_sound_r1_with_votrax_device::gottlieb_sound_r1_with_votrax_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +gottlieb_sound_r1_with_votrax_device::gottlieb_sound_r1_with_votrax_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : gottlieb_sound_r1_device(mconfig, tag, owner, clock, true) { } @@ -662,7 +662,7 @@ ioport_constructor gottlieb_sound_r1_with_votrax_device::device_input_ports() co // gottlieb_sound_r2_device - constructor //------------------------------------------------- -gottlieb_sound_r2_device::gottlieb_sound_r2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +gottlieb_sound_r2_device::gottlieb_sound_r2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, GOTTLIEB_SOUND_REV2, "Gottlieb Sound rev. 2", tag, owner, clock, "gotsndr2", __FILE__), device_mixer_interface(mconfig, *this), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/audio/gottlieb.h b/src/mame/audio/gottlieb.h index 813cf44e9ee..6295af33542 100644 --- a/src/mame/audio/gottlieb.h +++ b/src/mame/audio/gottlieb.h @@ -62,7 +62,7 @@ class gottlieb_sound_r0_device : public device_t, public device_mixer_interface { public: // construction/destruction - gottlieb_sound_r0_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + gottlieb_sound_r0_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // read/write DECLARE_WRITE8_MEMBER( write ); @@ -93,8 +93,8 @@ class gottlieb_sound_r1_device : public device_t, public device_mixer_interface { public: // construction/destruction - gottlieb_sound_r1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - gottlieb_sound_r1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, bool populate_votrax); + gottlieb_sound_r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + gottlieb_sound_r1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, bool populate_votrax); // read/write DECLARE_WRITE8_MEMBER( write ); @@ -142,7 +142,7 @@ class gottlieb_sound_r1_with_votrax_device : public gottlieb_sound_r1_device { public: // construction/destruction - gottlieb_sound_r1_with_votrax_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + gottlieb_sound_r1_with_votrax_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: // device-level overrides @@ -158,7 +158,7 @@ class gottlieb_sound_r2_device : public device_t, public device_mixer_interface { public: // construction/destruction - gottlieb_sound_r2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + gottlieb_sound_r2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration helpers static void static_enable_cobram3_mods(device_t &device); diff --git a/src/mame/audio/gridlee.cpp b/src/mame/audio/gridlee.cpp index 409c912557b..b7575c2c34f 100644 --- a/src/mame/audio/gridlee.cpp +++ b/src/mame/audio/gridlee.cpp @@ -22,7 +22,7 @@ const device_type GRIDLEE = &device_creator; // gridlee_sound_device - constructor //------------------------------------------------- -gridlee_sound_device::gridlee_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +gridlee_sound_device::gridlee_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, GRIDLEE, "Gridlee Audio Custom", tag, owner, clock, "gridlee_sound", __FILE__), device_sound_interface(mconfig, *this), m_tone_step(0), diff --git a/src/mame/audio/harddriv.cpp b/src/mame/audio/harddriv.cpp index 44d39c14fd3..c629eb7f32c 100644 --- a/src/mame/audio/harddriv.cpp +++ b/src/mame/audio/harddriv.cpp @@ -27,7 +27,7 @@ const device_type HARDDRIV_SOUND_BOARD_DEVICE = &device_creator; -harddriv_sound_board_device::harddriv_sound_board_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +harddriv_sound_board_device::harddriv_sound_board_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, HARDDRIV_SOUND_BOARD_DEVICE, "Hard Drivin' Sound Board", tag, owner, clock, "harddriv_sound", __FILE__), m_soundcpu(*this, "soundcpu"), m_dac(*this, "dac"), diff --git a/src/mame/audio/hyprolyb.cpp b/src/mame/audio/hyprolyb.cpp index 75b8cd7df6b..c816e4bb603 100644 --- a/src/mame/audio/hyprolyb.cpp +++ b/src/mame/audio/hyprolyb.cpp @@ -6,7 +6,7 @@ const device_type HYPROLYB_ADPCM = &device_creator; -hyprolyb_adpcm_device::hyprolyb_adpcm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +hyprolyb_adpcm_device::hyprolyb_adpcm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, HYPROLYB_ADPCM, "Hyper Olympics Audio", tag, owner, clock, "hyprolyb_adpcm", __FILE__), device_sound_interface(mconfig, *this), m_adpcm_ready(0), diff --git a/src/mame/audio/hyprolyb.h b/src/mame/audio/hyprolyb.h index 35fe4f3ef13..f5b1c3dc116 100644 --- a/src/mame/audio/hyprolyb.h +++ b/src/mame/audio/hyprolyb.h @@ -6,7 +6,7 @@ class hyprolyb_adpcm_device : public device_t, public device_sound_interface { public: - hyprolyb_adpcm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + hyprolyb_adpcm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~hyprolyb_adpcm_device() {} DECLARE_WRITE8_MEMBER( write ); diff --git a/src/mame/audio/irem.cpp b/src/mame/audio/irem.cpp index 3e2a55cd006..43cbf08b594 100644 --- a/src/mame/audio/irem.cpp +++ b/src/mame/audio/irem.cpp @@ -16,7 +16,7 @@ const device_type IREM_M62_AUDIO = &device_creator; const device_type IREM_M52_SOUNDC_AUDIO = &device_creator; const device_type IREM_M52_LARGE_AUDIO = &device_creator; -irem_audio_device::irem_audio_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +irem_audio_device::irem_audio_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_port1(0), m_port2(0) @@ -25,17 +25,17 @@ irem_audio_device::irem_audio_device(const machine_config &mconfig, device_type { } -m62_audio_device::m62_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +m62_audio_device::m62_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : irem_audio_device(mconfig, IREM_M62_AUDIO, "Irem M62 Audio", tag, owner, clock, "irem_m62_audio", __FILE__) { } -m52_soundc_audio_device::m52_soundc_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +m52_soundc_audio_device::m52_soundc_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : irem_audio_device(mconfig, IREM_M52_SOUNDC_AUDIO, "Irem M52 SoundC Audio", tag, owner, clock, "irem_m52_soundc_audio", __FILE__) { } -m52_large_audio_device::m52_large_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +m52_large_audio_device::m52_large_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : irem_audio_device(mconfig, IREM_M52_LARGE_AUDIO, "Irem M52 Large Audio", tag, owner, clock, "irem_m52_large_audio", __FILE__) { } diff --git a/src/mame/audio/irem.h b/src/mame/audio/irem.h index 6b1b89f891a..c8b156ffaab 100644 --- a/src/mame/audio/irem.h +++ b/src/mame/audio/irem.h @@ -7,7 +7,7 @@ class irem_audio_device : public device_t { public: - irem_audio_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + irem_audio_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); ~irem_audio_device() {} DECLARE_WRITE8_MEMBER( cmd_w ); @@ -52,21 +52,21 @@ private: class m62_audio_device : public irem_audio_device { public: - m62_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + m62_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual machine_config_constructor device_mconfig_additions() const override; }; class m52_soundc_audio_device : public irem_audio_device { public: - m52_soundc_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + m52_soundc_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual machine_config_constructor device_mconfig_additions() const override; }; class m52_large_audio_device : public irem_audio_device { public: - m52_large_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + m52_large_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual machine_config_constructor device_mconfig_additions() const override; }; diff --git a/src/mame/audio/leland.cpp b/src/mame/audio/leland.cpp index 34696b3d6ae..6cf7e4740ad 100644 --- a/src/mame/audio/leland.cpp +++ b/src/mame/audio/leland.cpp @@ -329,7 +329,7 @@ void leland_80186_sound_device::device_reset() const device_type LELAND_80186 = &device_creator; -leland_80186_sound_device::leland_80186_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +leland_80186_sound_device::leland_80186_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, LELAND_80186, "80186 DAC (Leland)", tag, owner, clock, "leland_80186_sound", __FILE__), m_dac1(*this, "dac1"), m_dac2(*this, "dac2"), @@ -347,7 +347,7 @@ leland_80186_sound_device::leland_80186_sound_device(const machine_config &mconf m_type = TYPE_LELAND; } -leland_80186_sound_device::leland_80186_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +leland_80186_sound_device::leland_80186_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_dac1(*this, "dac1"), m_dac2(*this, "dac2"), @@ -366,7 +366,7 @@ leland_80186_sound_device::leland_80186_sound_device(const machine_config &mconf const device_type REDLINE_80186 = &device_creator; -redline_80186_sound_device::redline_80186_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +redline_80186_sound_device::redline_80186_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : leland_80186_sound_device(mconfig, REDLINE_80186, "80186 DAC (Redline Racer)", tag, owner, clock, "redline_80186_sound", __FILE__) { m_type = TYPE_REDLINE; @@ -374,7 +374,7 @@ redline_80186_sound_device::redline_80186_sound_device(const machine_config &mco const device_type ATAXX_80186 = &device_creator; -ataxx_80186_sound_device::ataxx_80186_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +ataxx_80186_sound_device::ataxx_80186_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : leland_80186_sound_device(mconfig, REDLINE_80186, "80186 DAC (Ataxx)", tag, owner, clock, "ataxx_80186_sound", __FILE__) { m_type = TYPE_ATAXX; @@ -382,7 +382,7 @@ ataxx_80186_sound_device::ataxx_80186_sound_device(const machine_config &mconfig const device_type WSF_80186 = &device_creator; -wsf_80186_sound_device::wsf_80186_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +wsf_80186_sound_device::wsf_80186_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : leland_80186_sound_device(mconfig, REDLINE_80186, "80186 DAC (WSF)", tag, owner, clock, "wsf_80186_sound", __FILE__) { m_type = TYPE_WSF; diff --git a/src/mame/audio/lynx.cpp b/src/mame/audio/lynx.cpp index ca8af4d5eda..2d58677f373 100644 --- a/src/mame/audio/lynx.cpp +++ b/src/mame/audio/lynx.cpp @@ -96,21 +96,21 @@ const device_type LYNX2_SND = &device_creator; // lynx_sound_device - constructor //------------------------------------------------- -lynx_sound_device::lynx_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +lynx_sound_device::lynx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, LYNX_SND, "Mikey", tag, owner, clock, "lynx_sound", __FILE__), device_sound_interface(mconfig, *this) { m_timer_delegate = lynx_sound_timer_delegate(); } -lynx_sound_device::lynx_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +lynx_sound_device::lynx_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_sound_interface(mconfig, *this) { } -lynx2_sound_device::lynx2_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +lynx2_sound_device::lynx2_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : lynx_sound_device(mconfig, LYNX2_SND, "Mikey (Lynx II)", tag, owner, clock, "lynx2_sound", __FILE__) { } diff --git a/src/mame/audio/lynx.h b/src/mame/audio/lynx.h index e8c38daee57..8bd8bdd3067 100644 --- a/src/mame/audio/lynx.h +++ b/src/mame/audio/lynx.h @@ -29,8 +29,8 @@ class lynx_sound_device : public device_t, public device_sound_interface { public: - lynx_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); - lynx_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + lynx_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + lynx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_READ8_MEMBER(read); DECLARE_WRITE8_MEMBER(write); @@ -68,7 +68,7 @@ protected: class lynx2_sound_device : public lynx_sound_device { public: - lynx2_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + lynx2_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: // device-level overrides diff --git a/src/mame/audio/m72.cpp b/src/mame/audio/m72.cpp index 31fd62b6369..69566d713b8 100644 --- a/src/mame/audio/m72.cpp +++ b/src/mame/audio/m72.cpp @@ -48,7 +48,7 @@ Shisensho II 1993 Rev 3.34 M81 Yes const device_type M72 = &device_creator; -m72_audio_device::m72_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +m72_audio_device::m72_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, M72, "Irem M72 Audio Custom", tag, owner, clock, "m72_audio", __FILE__), device_sound_interface(mconfig, *this), m_irqvector(0), diff --git a/src/mame/audio/m72.h b/src/mame/audio/m72.h index 709eb3ccbf4..71ed62fa35d 100644 --- a/src/mame/audio/m72.h +++ b/src/mame/audio/m72.h @@ -13,7 +13,7 @@ class m72_audio_device : public device_t, public device_sound_interface { public: - m72_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + m72_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~m72_audio_device() {} enum diff --git a/src/mame/audio/mac.cpp b/src/mame/audio/mac.cpp index d20218fe341..821c15a9afb 100644 --- a/src/mame/audio/mac.cpp +++ b/src/mame/audio/mac.cpp @@ -32,7 +32,7 @@ const device_type MAC_SOUND = &device_creator; -mac_sound_device::mac_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +mac_sound_device::mac_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MAC_SOUND, "Mac Audio Custom", tag, owner, clock, "mac_sound", __FILE__), device_sound_interface(mconfig, *this), m_sample_enable(0), diff --git a/src/mame/audio/mea8000.cpp b/src/mame/audio/mea8000.cpp index b26e21e62ec..306fec1ac3e 100644 --- a/src/mame/audio/mea8000.cpp +++ b/src/mame/audio/mea8000.cpp @@ -114,7 +114,7 @@ static const int pi_table[32] = const device_type MEA8000 = &device_creator; -mea8000_device::mea8000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +mea8000_device::mea8000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MEA8000, "Philips / Signetics MEA 8000 speech synthesizer", tag, owner, clock, "mea8000", __FILE__), m_write_req(*this), m_dac(*this) diff --git a/src/mame/audio/mea8000.h b/src/mame/audio/mea8000.h index aa42db156c3..fcda2267a80 100644 --- a/src/mame/audio/mea8000.h +++ b/src/mame/audio/mea8000.h @@ -57,10 +57,10 @@ struct filter_t class mea8000_device : public device_t { public: - mea8000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + mea8000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~mea8000_device() {} - static void static_set_dac_tag(device_t &device, std::string tag) { downcast(device).m_dac.set_tag(tag); } + static void static_set_dac_tag(device_t &device, const char *tag) { downcast(device).m_dac.set_tag(tag); } template static devcb_base &set_req_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_req.set_callback(object); } DECLARE_READ8_MEMBER(read); diff --git a/src/mame/audio/micro3d.cpp b/src/mame/audio/micro3d.cpp index e47f531eb72..aeed7f03bdf 100644 --- a/src/mame/audio/micro3d.cpp +++ b/src/mame/audio/micro3d.cpp @@ -167,7 +167,7 @@ void micro3d_sound_device::noise_sh_w(UINT8 data) const device_type MICRO3D = &device_creator; -micro3d_sound_device::micro3d_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +micro3d_sound_device::micro3d_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MICRO3D, "Microprose Audio Custom", tag, owner, clock, "micro3d_sound", __FILE__), device_sound_interface(mconfig, *this), m_gain(0), diff --git a/src/mame/audio/midway.cpp b/src/mame/audio/midway.cpp index bdeb723d81c..4aea1c337ad 100644 --- a/src/mame/audio/midway.cpp +++ b/src/mame/audio/midway.cpp @@ -47,7 +47,7 @@ extern const device_type MIDWAY_SQUAWK_N_TALK = &device_creator; -namco_52xx_device::namco_52xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco_52xx_device::namco_52xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NAMCO_52XX, "Namco 52xx", tag, owner, clock, "namco52", __FILE__), m_cpu(*this, "mcu"), m_discrete(*this), diff --git a/src/mame/audio/namco52.h b/src/mame/audio/namco52.h index 4811995f0db..5ca62330947 100644 --- a/src/mame/audio/namco52.h +++ b/src/mame/audio/namco52.h @@ -28,9 +28,9 @@ class namco_52xx_device : public device_t { public: - namco_52xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco_52xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - static void set_discrete(device_t &device, std::string tag) { downcast(device).m_discrete.set_tag(tag); } + static void set_discrete(device_t &device, const char *tag) { downcast(device).m_discrete.set_tag(tag); } static void set_basenote(device_t &device, int node) { downcast(device).m_basenode = node; } static void set_extclock(device_t &device, attoseconds_t clk) { downcast(device).m_extclock = clk; } template static devcb_base &set_romread_callback(device_t &device, _Object object) { return downcast(device).m_romread.set_callback(object); } diff --git a/src/mame/audio/namco54.cpp b/src/mame/audio/namco54.cpp index 00b4a65d60a..0b19a142529 100644 --- a/src/mame/audio/namco54.cpp +++ b/src/mame/audio/namco54.cpp @@ -130,7 +130,7 @@ ROM_END const device_type NAMCO_54XX = &device_creator; -namco_54xx_device::namco_54xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco_54xx_device::namco_54xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NAMCO_54XX, "Namco 54xx", tag, owner, clock, "namco54", __FILE__), m_cpu(*this, "mcu"), m_discrete(*this), diff --git a/src/mame/audio/namco54.h b/src/mame/audio/namco54.h index 725458918c8..e05f5c6446b 100644 --- a/src/mame/audio/namco54.h +++ b/src/mame/audio/namco54.h @@ -20,9 +20,9 @@ class namco_54xx_device : public device_t { public: - namco_54xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco_54xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - static void set_discrete(device_t &device, std::string tag) { downcast(device).m_discrete.set_tag(tag); } + static void set_discrete(device_t &device, const char *tag) { downcast(device).m_discrete.set_tag(tag); } static void set_basenote(device_t &device, int node) { downcast(device).m_basenode = node; } DECLARE_READ8_MEMBER( K_r ); diff --git a/src/mame/audio/phoenix.cpp b/src/mame/audio/phoenix.cpp index cc878ea9e8e..3bcd72661ea 100644 --- a/src/mame/audio/phoenix.cpp +++ b/src/mame/audio/phoenix.cpp @@ -50,7 +50,7 @@ const device_type PHOENIX = &device_creator; -phoenix_sound_device::phoenix_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +phoenix_sound_device::phoenix_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PHOENIX, "Phoenix Audio Custom", tag, owner, clock, "phoenix_sound", __FILE__), device_sound_interface(mconfig, *this) { diff --git a/src/mame/audio/pleiads.cpp b/src/mame/audio/pleiads.cpp index 36eaafa1b00..b838998c971 100644 --- a/src/mame/audio/pleiads.cpp +++ b/src/mame/audio/pleiads.cpp @@ -20,13 +20,13 @@ const device_type PLEIADS = &device_creator; -pleiads_sound_device::pleiads_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pleiads_sound_device::pleiads_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PLEIADS, "Pleiads Audio Custom", tag, owner, clock, "pleiads_sound", __FILE__), device_sound_interface(mconfig, *this) { } -pleiads_sound_device::pleiads_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +pleiads_sound_device::pleiads_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_sound_interface(mconfig, *this), m_channel(nullptr), @@ -119,7 +119,7 @@ void pleiads_sound_device::device_start() const device_type NAUGHTYB = &device_creator; -naughtyb_sound_device::naughtyb_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +naughtyb_sound_device::naughtyb_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : pleiads_sound_device(mconfig, NAUGHTYB, "Naughty Boy Audio Custom", tag, owner, clock, "naughtyb_sound", __FILE__) { } @@ -197,7 +197,7 @@ void naughtyb_sound_device::device_start() const device_type POPFLAME = &device_creator; -popflame_sound_device::popflame_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +popflame_sound_device::popflame_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : pleiads_sound_device(mconfig, POPFLAME, "Pop Flamer Audio Custom", tag, owner, clock, "popflame_sound", __FILE__) { } diff --git a/src/mame/audio/pleiads.h b/src/mame/audio/pleiads.h index b802018971b..e47b1b8e659 100644 --- a/src/mame/audio/pleiads.h +++ b/src/mame/audio/pleiads.h @@ -44,8 +44,8 @@ class pleiads_sound_device : public device_t, public device_sound_interface { public: - pleiads_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - pleiads_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + pleiads_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + pleiads_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); ~pleiads_sound_device() {} DECLARE_WRITE8_MEMBER( control_a_w ); @@ -106,7 +106,7 @@ extern const device_type PLEIADS; class naughtyb_sound_device : public pleiads_sound_device { public: - naughtyb_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + naughtyb_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: // device-level overrides virtual void device_config_complete() override; @@ -123,7 +123,7 @@ extern const device_type NAUGHTYB; class popflame_sound_device : public pleiads_sound_device { public: - popflame_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + popflame_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: // device-level overrides virtual void device_config_complete() override; diff --git a/src/mame/audio/polepos.cpp b/src/mame/audio/polepos.cpp index b42f0e6f8a8..e3e23b2fdef 100644 --- a/src/mame/audio/polepos.cpp +++ b/src/mame/audio/polepos.cpp @@ -51,7 +51,7 @@ const device_type POLEPOS = &device_creator; // polepos_sound_device - constructor //------------------------------------------------- -polepos_sound_device::polepos_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +polepos_sound_device::polepos_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, POLEPOS, "Pole Position Audio Custom", tag, owner, clock, "polepos_sound", __FILE__), device_sound_interface(mconfig, *this), m_current_position(0), diff --git a/src/mame/audio/redbaron.cpp b/src/mame/audio/redbaron.cpp index 19e80fabc39..b8f71f1d5f2 100644 --- a/src/mame/audio/redbaron.cpp +++ b/src/mame/audio/redbaron.cpp @@ -35,7 +35,7 @@ const device_type REDBARON = &device_creator; // redbaron_sound_device - constructor //------------------------------------------------- -redbaron_sound_device::redbaron_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +redbaron_sound_device::redbaron_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, REDBARON, "Red Baron Audio Custom", tag, owner, clock, "redbaron_custom", __FILE__), device_sound_interface(mconfig, *this), m_vol_lookup(nullptr), diff --git a/src/mame/audio/redbaron.h b/src/mame/audio/redbaron.h index ef7ed4c125d..b7d11ae2ab7 100644 --- a/src/mame/audio/redbaron.h +++ b/src/mame/audio/redbaron.h @@ -10,7 +10,7 @@ class redbaron_sound_device : public device_t, public device_sound_interface { public: - redbaron_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + redbaron_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_WRITE8_MEMBER( sounds_w ); diff --git a/src/mame/audio/s11c_bg.cpp b/src/mame/audio/s11c_bg.cpp index da8a08e06b5..bc5a10566d0 100644 --- a/src/mame/audio/s11c_bg.cpp +++ b/src/mame/audio/s11c_bg.cpp @@ -12,7 +12,7 @@ const device_type S11C_BG = &device_creator; -s11c_bg_device::s11c_bg_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +s11c_bg_device::s11c_bg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig,S11C_BG,"Williams System 11C Background Music",tag,owner,clock, "s11c_bg", __FILE__), m_cpu(*this,"bgcpu"), m_ym2151(*this,"ym2151"), @@ -110,7 +110,7 @@ void s11c_bg_device::device_reset() m_cpu->set_input_line(INPUT_LINE_RESET,PULSE_LINE); } -void s11c_bg_device::static_set_gfxregion(device_t &device, std::string tag) +void s11c_bg_device::static_set_gfxregion(device_t &device, const char *tag) { s11c_bg_device &cpuboard = downcast(device); cpuboard.m_regiontag = tag; diff --git a/src/mame/audio/s11c_bg.h b/src/mame/audio/s11c_bg.h index e7d8ebfbf6a..136bd037825 100644 --- a/src/mame/audio/s11c_bg.h +++ b/src/mame/audio/s11c_bg.h @@ -25,7 +25,7 @@ class s11c_bg_device : public device_t { public: // construction/destruction - s11c_bg_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + s11c_bg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); required_device m_cpu; required_device m_ym2151; @@ -46,7 +46,7 @@ public: void ctrl_w(UINT8 data); void data_w(UINT8 data); - static void static_set_gfxregion(device_t &device, std::string tag); + static void static_set_gfxregion(device_t &device, const char *tag); protected: // overrides @@ -55,7 +55,7 @@ protected: virtual machine_config_constructor device_mconfig_additions() const override; private: - std::string m_regiontag; + const char* m_regiontag; }; diff --git a/src/mame/audio/segag80r.cpp b/src/mame/audio/segag80r.cpp index 4442ae74b85..60cdcc7a93a 100644 --- a/src/mame/audio/segag80r.cpp +++ b/src/mame/audio/segag80r.cpp @@ -30,7 +30,7 @@ const device_type SEGA005 = &device_creator; -sega005_sound_device::sega005_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sega005_sound_device::sega005_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SEGA005, "Sega 005 Audio Custom", tag, owner, clock, "sega005_sound", __FILE__), device_sound_interface(mconfig, *this), m_sega005_sound_timer(nullptr), diff --git a/src/mame/audio/segam1audio.cpp b/src/mame/audio/segam1audio.cpp index f8b879c408b..3e5a37120a3 100644 --- a/src/mame/audio/segam1audio.cpp +++ b/src/mame/audio/segam1audio.cpp @@ -81,7 +81,7 @@ machine_config_constructor segam1audio_device::device_mconfig_additions() const // segam1audio_device - constructor //------------------------------------------------- -segam1audio_device::segam1audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +segam1audio_device::segam1audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SEGAM1AUDIO, "Sega Model 1 Sound Board", tag, owner, clock, "segam1audio", __FILE__), m_audiocpu(*this, M68000_TAG), m_multipcm_1(*this, MULTIPCM_1_TAG), diff --git a/src/mame/audio/segam1audio.h b/src/mame/audio/segam1audio.h index d996ad899a6..e188a5502a4 100644 --- a/src/mame/audio/segam1audio.h +++ b/src/mame/audio/segam1audio.h @@ -26,7 +26,7 @@ class segam1audio_device : public device_t { public: // construction/destruction - segam1audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + segam1audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; diff --git a/src/mame/audio/segasnd.cpp b/src/mame/audio/segasnd.cpp index 2b65cea25ed..abc5df498d4 100644 --- a/src/mame/audio/segasnd.cpp +++ b/src/mame/audio/segasnd.cpp @@ -66,7 +66,7 @@ static inline double step_cr_filter(g80_filter_state *state, double input) const device_type SEGASPEECH = &device_creator; -speech_sound_device::speech_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +speech_sound_device::speech_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SEGASPEECH, "Sega Speech Sound Board", tag, owner, clock, "sega_speech_sound", __FILE__), device_sound_interface(mconfig, *this), m_drq(0), @@ -239,7 +239,7 @@ MACHINE_CONFIG_END const device_type SEGAUSB = &device_creator; -usb_sound_device::usb_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +usb_sound_device::usb_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_sound_interface(mconfig, *this), m_ourcpu(*this, "ourcpu"), @@ -258,7 +258,7 @@ usb_sound_device::usb_sound_device(const machine_config &mconfig, device_type ty { } -usb_sound_device::usb_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +usb_sound_device::usb_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SEGAUSB, "Sega Universal Sound Board", tag, owner, clock, "segausb", __FILE__), device_sound_interface(mconfig, *this), m_ourcpu(*this, "ourcpu"), @@ -881,7 +881,7 @@ machine_config_constructor usb_sound_device::device_mconfig_additions() const const device_type SEGAUSBROM = &device_creator; -usb_rom_sound_device::usb_rom_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +usb_rom_sound_device::usb_rom_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : usb_sound_device(mconfig, SEGAUSBROM, "Sega Universal Sound Board with ROM", tag, owner, clock, "segausbrom", __FILE__) { } diff --git a/src/mame/audio/segasnd.h b/src/mame/audio/segasnd.h index 6814d77e6fb..8436d8427e7 100644 --- a/src/mame/audio/segasnd.h +++ b/src/mame/audio/segasnd.h @@ -12,7 +12,7 @@ class speech_sound_device : public device_t, public device_sound_interface { public: - speech_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + speech_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~speech_sound_device() {} DECLARE_WRITE8_MEMBER( data_w ); @@ -115,8 +115,8 @@ class usb_sound_device : public device_t, public device_sound_interface { public: - usb_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); - usb_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + usb_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + usb_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~usb_sound_device() {} required_device m_ourcpu; /* CPU index of the 8035 */ @@ -176,7 +176,7 @@ extern const device_type SEGAUSB; class usb_rom_sound_device : public usb_sound_device { public: - usb_rom_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + usb_rom_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~usb_rom_sound_device() {} protected: diff --git a/src/mame/audio/seibu.cpp b/src/mame/audio/seibu.cpp index 2279adbddee..9883e9b9a25 100644 --- a/src/mame/audio/seibu.cpp +++ b/src/mame/audio/seibu.cpp @@ -76,8 +76,8 @@ const device_type SEIBU_SOUND = &device_creator; -seibu_sound_device::seibu_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) - : device_t(mconfig, SEIBU_SOUND, "Seibu Sound System", tag, owner, clock, "seibu_sound", __FILE__), m_sound_cpu(nullptr), +seibu_sound_device::seibu_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) + : device_t(mconfig, SEIBU_SOUND, "Seibu Sound System", tag, owner, clock, "seibu_sound", __FILE__), m_main2sub_pending(0), m_sub2main_pending(0), m_rst10_irq(0xff), @@ -506,7 +506,7 @@ ADDRESS_MAP_END const device_type SEIBU_ADPCM = &device_creator; -seibu_adpcm_device::seibu_adpcm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +seibu_adpcm_device::seibu_adpcm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SEIBU_ADPCM, "Seibu ADPCM (MSM5205)", tag, owner, clock, "seibu_adpcm", __FILE__), device_sound_interface(mconfig, *this), m_stream(nullptr), @@ -514,6 +514,7 @@ seibu_adpcm_device::seibu_adpcm_device(const machine_config &mconfig, std::strin m_end(0), m_nibble(0), m_playing(0), + m_rom_tag(nullptr), m_base(nullptr) { } diff --git a/src/mame/audio/seibu.h b/src/mame/audio/seibu.h index 8efbbb3f04c..732ab5af314 100644 --- a/src/mame/audio/seibu.h +++ b/src/mame/audio/seibu.h @@ -43,7 +43,7 @@ ADDRESS_MAP_EXTERN(seibu3_adpcm_sound_map, 8); class seibu_sound_device : public device_t { public: - seibu_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + seibu_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~seibu_sound_device() {} DECLARE_READ16_MEMBER( main_word_r ); @@ -102,10 +102,10 @@ class seibu_adpcm_device : public device_t, public device_sound_interface { public: - seibu_adpcm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + seibu_adpcm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~seibu_adpcm_device() {} - static void set_adpcm_rom_tag(device_t &device, std::string tag) { downcast(device).m_rom_tag = tag; } + static void set_adpcm_rom_tag(device_t &device, const char *tag) { downcast(device).m_rom_tag = tag; } void decrypt(const char *region); DECLARE_WRITE8_MEMBER( adr_w ); @@ -126,7 +126,7 @@ protected: UINT32 m_end; UINT8 m_nibble; UINT8 m_playing; - std::string m_rom_tag; + const char *m_rom_tag; UINT8 *m_base; }; diff --git a/src/mame/audio/snes_snd.cpp b/src/mame/audio/snes_snd.cpp index 5dd418295ce..a9295fd560c 100644 --- a/src/mame/audio/snes_snd.cpp +++ b/src/mame/audio/snes_snd.cpp @@ -155,7 +155,7 @@ static const int ENVCNT[0x20] const device_type SNES = &device_creator; -snes_sound_device::snes_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +snes_sound_device::snes_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SNES, "SNES Custom DSP (SPC700)", tag, owner, clock, "snes_sound", __FILE__), device_sound_interface(mconfig, *this) { diff --git a/src/mame/audio/snes_snd.h b/src/mame/audio/snes_snd.h index c5b1cab5afd..6d4e97b14a1 100644 --- a/src/mame/audio/snes_snd.h +++ b/src/mame/audio/snes_snd.h @@ -63,7 +63,7 @@ class snes_sound_device : public device_t, public device_sound_interface { public: - snes_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + snes_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~snes_sound_device() {} void set_volume(int volume); diff --git a/src/mame/audio/snk6502.cpp b/src/mame/audio/snk6502.cpp index 570d3e68bae..61a5bc8e959 100644 --- a/src/mame/audio/snk6502.cpp +++ b/src/mame/audio/snk6502.cpp @@ -130,7 +130,7 @@ DISCRETE_SOUND_END const device_type SNK6502 = &device_creator; -snk6502_sound_device::snk6502_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +snk6502_sound_device::snk6502_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SNK6502, "SNK6502 Audio Custom", tag, owner, clock, "snk6502_sound", __FILE__), device_sound_interface(mconfig, *this), //m_tone_channels[CHANNELS], diff --git a/src/mame/audio/socrates.cpp b/src/mame/audio/socrates.cpp index a0cec702591..c35896e5c25 100644 --- a/src/mame/audio/socrates.cpp +++ b/src/mame/audio/socrates.cpp @@ -23,7 +23,7 @@ const device_type SOCRATES_SOUND = &device_creator; // socrates_snd_device - constructor //------------------------------------------------- -socrates_snd_device::socrates_snd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +socrates_snd_device::socrates_snd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SOCRATES_SOUND, "Socrates Sound", tag, owner, clock, "socrates_snd", __FILE__), device_sound_interface(mconfig, *this) { diff --git a/src/mame/audio/socrates.h b/src/mame/audio/socrates.h index dd31bdd1bce..14498844809 100644 --- a/src/mame/audio/socrates.h +++ b/src/mame/audio/socrates.h @@ -9,7 +9,7 @@ class socrates_snd_device : public device_t, public device_sound_interface { public: - socrates_snd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + socrates_snd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); void reg0_w(int data); void reg1_w(int data); diff --git a/src/mame/audio/specimx_snd.cpp b/src/mame/audio/specimx_snd.cpp index c252a62dfc6..ec64bc096cc 100644 --- a/src/mame/audio/specimx_snd.cpp +++ b/src/mame/audio/specimx_snd.cpp @@ -24,7 +24,7 @@ const device_type SPECIMX_SND = &device_creator; // specimx_sound_device - constructor //------------------------------------------------- -specimx_sound_device::specimx_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +specimx_sound_device::specimx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SPECIMX_SND, "Specialist MX Audio Custom", tag, owner, clock, "specimx_sound", __FILE__), device_sound_interface(mconfig, *this), m_mixer_channel(nullptr) diff --git a/src/mame/audio/specimx_snd.h b/src/mame/audio/specimx_snd.h index 45758a4b39f..0f682a37c0c 100644 --- a/src/mame/audio/specimx_snd.h +++ b/src/mame/audio/specimx_snd.h @@ -15,7 +15,7 @@ class specimx_sound_device : public device_t, public device_sound_interface { public: - specimx_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + specimx_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~specimx_sound_device() { } DECLARE_WRITE_LINE_MEMBER(set_input_ch0); diff --git a/src/mame/audio/svis_snd.cpp b/src/mame/audio/svis_snd.cpp index 0c95de6984e..cc2bec2b821 100644 --- a/src/mame/audio/svis_snd.cpp +++ b/src/mame/audio/svis_snd.cpp @@ -22,7 +22,7 @@ const device_type SVISION_SND = &device_creator; // svision_sound_device - constructor //------------------------------------------------- -svision_sound_device::svision_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +svision_sound_device::svision_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SVISION_SND, "Super Vision Audio Custom", tag, owner, clock, "svision_sound", __FILE__), device_sound_interface(mconfig, *this), m_mixer_channel(nullptr) diff --git a/src/mame/audio/svis_snd.h b/src/mame/audio/svis_snd.h index 867a649c57a..d6ca0228688 100644 --- a/src/mame/audio/svis_snd.h +++ b/src/mame/audio/svis_snd.h @@ -105,7 +105,7 @@ class svision_sound_device : public device_t, public device_sound_interface { public: - svision_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + svision_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~svision_sound_device() { } // static configuration diff --git a/src/mame/audio/t5182.cpp b/src/mame/audio/t5182.cpp index d101f8137cc..a40349de0d0 100644 --- a/src/mame/audio/t5182.cpp +++ b/src/mame/audio/t5182.cpp @@ -153,7 +153,7 @@ rom. const device_type T5182 = &device_creator; -t5182_device::t5182_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +t5182_device::t5182_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, T5182, "T5182 MCU", tag, owner, clock, "t5182", __FILE__), m_ourcpu(*this, "t5182_z80"), m_sharedram(*this, "sharedram"), diff --git a/src/mame/audio/t5182.h b/src/mame/audio/t5182.h index c60910057de..cef7d593c2b 100644 --- a/src/mame/audio/t5182.h +++ b/src/mame/audio/t5182.h @@ -7,7 +7,7 @@ class t5182_device : public device_t { public: - t5182_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + t5182_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~t5182_device() {} enum diff --git a/src/mame/audio/taito_en.cpp b/src/mame/audio/taito_en.cpp index 310128dae9e..7fc4a193a17 100644 --- a/src/mame/audio/taito_en.cpp +++ b/src/mame/audio/taito_en.cpp @@ -18,7 +18,7 @@ const device_type TAITO_EN = &device_creator; -taito_en_device::taito_en_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +taito_en_device::taito_en_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TAITO_EN, "Taito Ensoniq Sound System", tag, owner, clock, "taito_en", __FILE__), m_audiocpu(*this, ":audiocpu"), m_ensoniq(*this, ":ensoniq"), diff --git a/src/mame/audio/taito_en.h b/src/mame/audio/taito_en.h index bfb81f2a384..395a313a07a 100644 --- a/src/mame/audio/taito_en.h +++ b/src/mame/audio/taito_en.h @@ -15,7 +15,7 @@ class taito_en_device : public device_t { public: - taito_en_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + taito_en_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~taito_en_device() {} DECLARE_READ8_MEMBER( en_68000_share_r ); diff --git a/src/mame/audio/taito_zm.cpp b/src/mame/audio/taito_zm.cpp index bae627fb502..a23967134c3 100644 --- a/src/mame/audio/taito_zm.cpp +++ b/src/mame/audio/taito_zm.cpp @@ -37,7 +37,7 @@ const device_type TAITO_ZOOM = &device_creator; // taito_zoom_device - constructor //------------------------------------------------- -taito_zoom_device::taito_zoom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +taito_zoom_device::taito_zoom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TAITO_ZOOM, "Taito Zoom Sound System", tag, owner, clock, "taito_zoom", __FILE__), m_soundcpu(*this, ":mn10200"), m_zsg2(*this, ":zsg2"), diff --git a/src/mame/audio/taito_zm.h b/src/mame/audio/taito_zm.h index 64b220e273e..610cdc807a8 100644 --- a/src/mame/audio/taito_zm.h +++ b/src/mame/audio/taito_zm.h @@ -16,7 +16,7 @@ class taito_zoom_device : public device_t { public: - taito_zoom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + taito_zoom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~taito_zoom_device() {} DECLARE_WRITE16_MEMBER(sound_irq_w); diff --git a/src/mame/audio/taitosnd.cpp b/src/mame/audio/taitosnd.cpp index b0689cfeaee..b36b81dc030 100644 --- a/src/mame/audio/taitosnd.cpp +++ b/src/mame/audio/taitosnd.cpp @@ -40,7 +40,7 @@ const device_type TC0140SYT = &device_creator; // tc0140syt_device - constructor //------------------------------------------------- -tc0140syt_device::tc0140syt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tc0140syt_device::tc0140syt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TC0140SYT, "Taito TC0140SYT", tag, owner, clock, "tc0140syt", __FILE__), m_mainmode(0), m_submode(0), diff --git a/src/mame/audio/taitosnd.h b/src/mame/audio/taitosnd.h index 05e707324d4..b74f13d0307 100644 --- a/src/mame/audio/taitosnd.h +++ b/src/mame/audio/taitosnd.h @@ -24,11 +24,11 @@ class tc0140syt_device : public device_t { public: - tc0140syt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tc0140syt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~tc0140syt_device() { } - static void set_master_tag(device_t &device, std::string tag) { downcast(device).m_mastercpu.set_tag(tag); } - static void set_slave_tag(device_t &device, std::string tag) { downcast(device).m_slavecpu.set_tag(tag); } + static void set_master_tag(device_t &device, const char *tag) { downcast(device).m_mastercpu.set_tag(tag); } + static void set_slave_tag(device_t &device, const char *tag) { downcast(device).m_slavecpu.set_tag(tag); } // MASTER (4-bit bus) control functions DECLARE_WRITE8_MEMBER( master_port_w ); diff --git a/src/mame/audio/tiamc1.cpp b/src/mame/audio/tiamc1.cpp index 2153eab68c7..9c896429fcd 100644 --- a/src/mame/audio/tiamc1.cpp +++ b/src/mame/audio/tiamc1.cpp @@ -57,7 +57,7 @@ const device_type TIAMC1 = &device_creator; // tiamc1_sound_device - constructor //------------------------------------------------- -tiamc1_sound_device::tiamc1_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tiamc1_sound_device::tiamc1_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TIAMC1, "TIA-MC1 Audio Custom", tag, owner, clock, "tiamc1_sound", __FILE__), device_sound_interface(mconfig, *this), m_channel(nullptr), diff --git a/src/mame/audio/timeplt.cpp b/src/mame/audio/timeplt.cpp index 51a7516459a..eb1dd3ef6e9 100644 --- a/src/mame/audio/timeplt.cpp +++ b/src/mame/audio/timeplt.cpp @@ -21,7 +21,7 @@ const device_type TIMEPLT_AUDIO = &device_creator; -timeplt_audio_device::timeplt_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +timeplt_audio_device::timeplt_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TIMEPLT_AUDIO, "Time Pilot Audio", tag, owner, clock, "timeplt_audio", __FILE__), device_sound_interface(mconfig, *this), m_last_irq_state(0) diff --git a/src/mame/audio/timeplt.h b/src/mame/audio/timeplt.h index b16570ae657..ec58d71bbf3 100644 --- a/src/mame/audio/timeplt.h +++ b/src/mame/audio/timeplt.h @@ -8,7 +8,7 @@ class timeplt_audio_device : public device_t, public device_sound_interface { public: - timeplt_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + timeplt_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~timeplt_audio_device() {} DECLARE_WRITE8_MEMBER( sh_irqtrigger_w ); diff --git a/src/mame/audio/trackfld.cpp b/src/mame/audio/trackfld.cpp index c884132b696..6f78f861712 100644 --- a/src/mame/audio/trackfld.cpp +++ b/src/mame/audio/trackfld.cpp @@ -13,7 +13,7 @@ const device_type TRACKFLD_AUDIO = &device_creator; -trackfld_audio_device::trackfld_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +trackfld_audio_device::trackfld_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TRACKFLD_AUDIO, "Track And Field Audio", tag, owner, clock, "trackfld_audio", __FILE__), device_sound_interface(mconfig, *this), m_last_addr(0), diff --git a/src/mame/audio/trackfld.h b/src/mame/audio/trackfld.h index c0c15552020..e1cf446f6a8 100644 --- a/src/mame/audio/trackfld.h +++ b/src/mame/audio/trackfld.h @@ -7,7 +7,7 @@ class trackfld_audio_device : public device_t, public device_sound_interface { public: - trackfld_audio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + trackfld_audio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~trackfld_audio_device() {} DECLARE_WRITE8_MEMBER(konami_sh_irqtrigger_w ); diff --git a/src/mame/audio/turrett.cpp b/src/mame/audio/turrett.cpp index 188d91e0315..bb1fee907b4 100644 --- a/src/mame/audio/turrett.cpp +++ b/src/mame/audio/turrett.cpp @@ -15,7 +15,7 @@ // turrett_device - constructor //------------------------------------------------- -turrett_device::turrett_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +turrett_device::turrett_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TURRETT, "Turret Tower Sound", tag, owner, clock, "ttsnd", __FILE__), device_sound_interface(mconfig, *this), device_memory_interface(mconfig, *this), diff --git a/src/mame/audio/tvc_snd.cpp b/src/mame/audio/tvc_snd.cpp index d7eb902994b..29d61b5dc7c 100644 --- a/src/mame/audio/tvc_snd.cpp +++ b/src/mame/audio/tvc_snd.cpp @@ -16,7 +16,7 @@ const device_type TVC_SOUND = &device_creator; // tvc_sound_device - constructor //------------------------------------------------- -tvc_sound_device::tvc_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +tvc_sound_device::tvc_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TVC_SOUND, "TVC 64 Audio Custom", tag, owner, clock, "tvc_sound", __FILE__), device_sound_interface(mconfig, *this), m_write_sndint(*this) diff --git a/src/mame/audio/tvc_snd.h b/src/mame/audio/tvc_snd.h index 54f2e4594b0..1103a9c116c 100644 --- a/src/mame/audio/tvc_snd.h +++ b/src/mame/audio/tvc_snd.h @@ -25,7 +25,7 @@ class tvc_sound_device : public device_t, { public: // construction/destruction - tvc_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tvc_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_sndint_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_sndint.set_callback(object); } diff --git a/src/mame/audio/tx1.cpp b/src/mame/audio/tx1.cpp index 95c6dc0f694..93de637e22d 100644 --- a/src/mame/audio/tx1.cpp +++ b/src/mame/audio/tx1.cpp @@ -53,13 +53,13 @@ static const double tx1_engine_gains[16] = const device_type TX1 = &device_creator; -tx1_sound_device::tx1_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tx1_sound_device::tx1_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TX1, "TX-1 Audio Custom", tag, owner, clock, "tx1_sound", __FILE__), device_sound_interface(mconfig, *this) { } -tx1_sound_device::tx1_sound_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +tx1_sound_device::tx1_sound_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_sound_interface(mconfig, *this), m_stream(nullptr), @@ -346,7 +346,7 @@ static const double bb_engine_gains[16] = const device_type BUGGYBOY = &device_creator; -buggyboy_sound_device::buggyboy_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +buggyboy_sound_device::buggyboy_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : tx1_sound_device(mconfig, BUGGYBOY, "Buggy Boy Audio Custom", tag, owner, clock, "buggyboy_sound", __FILE__) { } diff --git a/src/mame/audio/upd1771.cpp b/src/mame/audio/upd1771.cpp index c04bf96ff7a..e826aafee0f 100644 --- a/src/mame/audio/upd1771.cpp +++ b/src/mame/audio/upd1771.cpp @@ -233,7 +233,7 @@ static unsigned char noise_tbl[]= const device_type UPD1771C = &device_creator; -upd1771c_device::upd1771c_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +upd1771c_device::upd1771c_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, UPD1771C, "NEC uPD1771C 017", tag, owner, clock, "upd1771c", __FILE__), device_sound_interface(mconfig, *this), m_ack_handler(*this) diff --git a/src/mame/audio/upd1771.h b/src/mame/audio/upd1771.h index 9653c447a53..46ca16e0158 100644 --- a/src/mame/audio/upd1771.h +++ b/src/mame/audio/upd1771.h @@ -25,7 +25,7 @@ class upd1771c_device : public device_t, public device_sound_interface { public: - upd1771c_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + upd1771c_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~upd1771c_device() {} template static devcb_base &set_ack_handler(device_t &device, _Object object) { return downcast(device).m_ack_handler.set_callback(object); } diff --git a/src/mame/audio/vboy.cpp b/src/mame/audio/vboy.cpp index e27c77cbb36..f6b77630522 100644 --- a/src/mame/audio/vboy.cpp +++ b/src/mame/audio/vboy.cpp @@ -195,7 +195,7 @@ static inline void mputb(UINT8 *ptr, INT8 data) { *ptr = data; } // vboysnd_device - constructor //------------------------------------------------- -vboysnd_device::vboysnd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +vboysnd_device::vboysnd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, VBOYSND, "Virtual Boy audio", tag, owner, clock, "vboysnd", __FILE__), device_sound_interface(mconfig, *this) { diff --git a/src/mame/audio/vboy.h b/src/mame/audio/vboy.h index 0f028ae3796..f3d85d60c6f 100644 --- a/src/mame/audio/vboy.h +++ b/src/mame/audio/vboy.h @@ -73,7 +73,7 @@ class vboysnd_device : public device_t, public device_sound_interface { public: // construction/destruction - vboysnd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + vboysnd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_READ8_MEMBER(read); DECLARE_WRITE8_MEMBER(write); diff --git a/src/mame/audio/vc4000snd.cpp b/src/mame/audio/vc4000snd.cpp index 2d25524cb88..72a8e46b349 100644 --- a/src/mame/audio/vc4000snd.cpp +++ b/src/mame/audio/vc4000snd.cpp @@ -12,7 +12,7 @@ const device_type VC4000_SND = &device_creator; -vc4000_sound_device::vc4000_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +vc4000_sound_device::vc4000_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, VC4000_SND, "Intertion Electronic VC 4000 Audio Custom", tag, owner, clock, "vc4000_sound", __FILE__), device_sound_interface(mconfig, *this), m_channel(nullptr), diff --git a/src/mame/audio/vc4000snd.h b/src/mame/audio/vc4000snd.h index 6b0ede4b485..d528fd501bc 100644 --- a/src/mame/audio/vc4000snd.h +++ b/src/mame/audio/vc4000snd.h @@ -21,7 +21,7 @@ class vc4000_sound_device : public device_t, public device_sound_interface { public: - vc4000_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + vc4000_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~vc4000_sound_device() { } protected: diff --git a/src/mame/audio/warpwarp.cpp b/src/mame/audio/warpwarp.cpp index f5393f3434c..d0c17d54d77 100644 --- a/src/mame/audio/warpwarp.cpp +++ b/src/mame/audio/warpwarp.cpp @@ -18,7 +18,7 @@ const device_type WARPWARP = &device_creator; -warpwarp_sound_device::warpwarp_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +warpwarp_sound_device::warpwarp_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, WARPWARP, "Warp Warp Audio Custom", tag, owner, clock, "warpwarp_sound", __FILE__), device_sound_interface(mconfig, *this), m_decay(nullptr), diff --git a/src/mame/audio/warpwarp.h b/src/mame/audio/warpwarp.h index 78a49135d1c..c14c61f63b5 100644 --- a/src/mame/audio/warpwarp.h +++ b/src/mame/audio/warpwarp.h @@ -4,7 +4,7 @@ class geebee_sound_device : public device_t, public device_sound_interface { public: - geebee_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + geebee_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); enum { @@ -43,7 +43,7 @@ class warpwarp_sound_device : public device_t, public device_sound_interface { public: - warpwarp_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + warpwarp_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); enum { diff --git a/src/mame/audio/williams.cpp b/src/mame/audio/williams.cpp index 9577849d904..94d9a39673a 100644 --- a/src/mame/audio/williams.cpp +++ b/src/mame/audio/williams.cpp @@ -69,7 +69,7 @@ extern const device_type WILLIAMS_ADPCM_SOUND = &device_creator; -wiping_sound_device::wiping_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +wiping_sound_device::wiping_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, WIPING, "Wiping Audio Custom", tag, owner, clock, "wiping_sound", __FILE__), device_sound_interface(mconfig, *this), m_last_channel(nullptr), diff --git a/src/mame/audio/wiping.h b/src/mame/audio/wiping.h index c61445ca2e1..f891ae8f5d8 100644 --- a/src/mame/audio/wiping.h +++ b/src/mame/audio/wiping.h @@ -18,7 +18,7 @@ class wiping_sound_device : public device_t, public device_sound_interface { public: - wiping_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + wiping_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~wiping_sound_device() {} DECLARE_WRITE8_MEMBER( sound_w ); diff --git a/src/mame/audio/wpcsnd.cpp b/src/mame/audio/wpcsnd.cpp index 38b0131dde2..134456fe19b 100644 --- a/src/mame/audio/wpcsnd.cpp +++ b/src/mame/audio/wpcsnd.cpp @@ -13,7 +13,7 @@ const device_type WPCSND = &device_creator; -wpcsnd_device::wpcsnd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +wpcsnd_device::wpcsnd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig,WPCSND,"Williams WPC Sound",tag,owner,clock, "wpcsnd", __FILE__), m_cpu(*this,"bgcpu"), m_ym2151(*this,"ym2151"), @@ -107,7 +107,7 @@ void wpcsnd_device::device_reset() m_reply_available = false; } -void wpcsnd_device::static_set_gfxregion(device_t &device, std::string tag) +void wpcsnd_device::static_set_gfxregion(device_t &device, const char *tag) { wpcsnd_device &cpuboard = downcast(device); cpuboard.m_regiontag = tag; diff --git a/src/mame/audio/wpcsnd.h b/src/mame/audio/wpcsnd.h index 556a888202f..36c418bd9bf 100644 --- a/src/mame/audio/wpcsnd.h +++ b/src/mame/audio/wpcsnd.h @@ -26,7 +26,7 @@ class wpcsnd_device : public device_t { public: // construction/destruction - wpcsnd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + wpcsnd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); required_device m_cpu; required_device m_ym2151; @@ -49,7 +49,7 @@ public: UINT8 ctrl_r(); UINT8 data_r(); - static void static_set_gfxregion(device_t &device, std::string tag); + static void static_set_gfxregion(device_t &device, const char *tag); // callbacks template void set_reply_callback(_reply reply) { m_reply_cb.set_callback(reply); } @@ -61,7 +61,7 @@ protected: virtual machine_config_constructor device_mconfig_additions() const override; private: - std::string m_regiontag; + const char* m_regiontag; UINT8 m_latch; UINT8 m_reply; bool m_reply_available; diff --git a/src/mame/audio/wswan_snd.cpp b/src/mame/audio/wswan_snd.cpp index f679c36149d..42918fb191b 100644 --- a/src/mame/audio/wswan_snd.cpp +++ b/src/mame/audio/wswan_snd.cpp @@ -28,7 +28,7 @@ const device_type WSWAN_SND = &device_creator; // wswan_sound_device - constructor //------------------------------------------------- -wswan_sound_device::wswan_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +wswan_sound_device::wswan_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, WSWAN_SND, "WonderSwan Audio Custom", tag, owner, clock, "wswan_sound", __FILE__), device_sound_interface(mconfig, *this), m_channel(nullptr), diff --git a/src/mame/audio/wswan_snd.h b/src/mame/audio/wswan_snd.h index 4c353268fac..227922e3cf9 100644 --- a/src/mame/audio/wswan_snd.h +++ b/src/mame/audio/wswan_snd.h @@ -44,7 +44,7 @@ class wswan_sound_device : public device_t, public device_sound_interface { public: - wswan_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + wswan_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~wswan_sound_device() { } protected: diff --git a/src/mame/drivers/1945kiii.cpp b/src/mame/drivers/1945kiii.cpp index 12f7e77e69e..55b4b8c6ee3 100644 --- a/src/mame/drivers/1945kiii.cpp +++ b/src/mame/drivers/1945kiii.cpp @@ -52,7 +52,7 @@ Notes: class k3_state : public driver_device { public: - k3_state(const machine_config &mconfig, device_type type, std::string tag) + k3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_oki1(*this, "oki1"), m_oki2(*this, "oki2") , diff --git a/src/mame/drivers/24cdjuke.cpp b/src/mame/drivers/24cdjuke.cpp index b56775a48b7..7a9e17d325e 100644 --- a/src/mame/drivers/24cdjuke.cpp +++ b/src/mame/drivers/24cdjuke.cpp @@ -60,7 +60,7 @@ http://www.tilt.it/deb/i-midcoin.html class midcoin24cdjuke_state : public driver_device { public: - midcoin24cdjuke_state(const machine_config &mconfig, device_type type, std::string tag) + midcoin24cdjuke_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_io_row0(*this, "ROW0"), diff --git a/src/mame/drivers/2mindril.cpp b/src/mame/drivers/2mindril.cpp index d02679367e2..d1f27dd46ab 100644 --- a/src/mame/drivers/2mindril.cpp +++ b/src/mame/drivers/2mindril.cpp @@ -43,7 +43,7 @@ DAC -26.6860Mhz class _2mindril_state : public taito_f3_state { public: - _2mindril_state(const machine_config &mconfig, device_type type, std::string tag) + _2mindril_state(const machine_config &mconfig, device_type type, const char *tag) : taito_f3_state(mconfig, type, tag), m_iodata(*this, "iodata") { } diff --git a/src/mame/drivers/30test.cpp b/src/mame/drivers/30test.cpp index 8042713b864..c41167a52de 100644 --- a/src/mame/drivers/30test.cpp +++ b/src/mame/drivers/30test.cpp @@ -53,7 +53,7 @@ http://blogs.yahoo.co.jp/nadegatayosoyuki/59285865.html class namco_30test_state : public driver_device { public: - namco_30test_state(const machine_config &mconfig, device_type type, std::string tag) + namco_30test_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki(*this, "oki") { } diff --git a/src/mame/drivers/39in1.cpp b/src/mame/drivers/39in1.cpp index 940fb3268a7..0c5bdcafc11 100644 --- a/src/mame/drivers/39in1.cpp +++ b/src/mame/drivers/39in1.cpp @@ -32,7 +32,7 @@ class _39in1_state : public driver_device { public: - _39in1_state(const machine_config &mconfig, device_type type, std::string tag) + _39in1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_ram(*this, "ram"), m_eeprom(*this, "eeprom"), diff --git a/src/mame/drivers/3x3puzzl.cpp b/src/mame/drivers/3x3puzzl.cpp index 30ab32776f7..38ccc0c15a6 100644 --- a/src/mame/drivers/3x3puzzl.cpp +++ b/src/mame/drivers/3x3puzzl.cpp @@ -49,7 +49,7 @@ Notes: class _3x3puzzle_state : public driver_device { public: - _3x3puzzle_state(const machine_config &mconfig, device_type type, std::string tag) + _3x3puzzle_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram1(*this, "videoram1"), m_videoram2(*this, "videoram2"), diff --git a/src/mame/drivers/4004clk.cpp b/src/mame/drivers/4004clk.cpp index 97f202d826f..224102e80ef 100644 --- a/src/mame/drivers/4004clk.cpp +++ b/src/mame/drivers/4004clk.cpp @@ -16,7 +16,7 @@ class nixieclock_state : public driver_device { public: - nixieclock_state(const machine_config &mconfig, device_type type, std::string tag) + nixieclock_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), diff --git a/src/mame/drivers/4dpi.cpp b/src/mame/drivers/4dpi.cpp index 6a45f124855..7feead80bea 100644 --- a/src/mame/drivers/4dpi.cpp +++ b/src/mame/drivers/4dpi.cpp @@ -29,7 +29,7 @@ struct ip6_regs_t class sgi_ip6_state : public driver_device { public: - sgi_ip6_state(const machine_config &mconfig, device_type type, std::string tag) + sgi_ip6_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/4enlinea.cpp b/src/mame/drivers/4enlinea.cpp index 50c2470a174..86328de8c88 100644 --- a/src/mame/drivers/4enlinea.cpp +++ b/src/mame/drivers/4enlinea.cpp @@ -207,7 +207,7 @@ class _4enlinea_state : public driver_device { public: - _4enlinea_state(const machine_config &mconfig, device_type type, std::string tag) + _4enlinea_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_ay(*this, "aysnd"), m_maincpu(*this, "maincpu") @@ -244,7 +244,7 @@ class isa8_cga_4enlinea_device : public isa8_cga_device { public: // construction/destruction - isa8_cga_4enlinea_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + isa8_cga_4enlinea_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_READ8_MEMBER( _4enlinea_io_read ); DECLARE_WRITE8_MEMBER( _4enlinea_mode_control_w ); @@ -259,7 +259,7 @@ const rom_entry *isa8_cga_4enlinea_device::device_rom_region() const const device_type ISA8_CGA_4ENLINEA = &device_creator; -isa8_cga_4enlinea_device::isa8_cga_4enlinea_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +isa8_cga_4enlinea_device::isa8_cga_4enlinea_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : isa8_cga_device( mconfig, ISA8_CGA_4ENLINEA, "ISA8_CGA_4ENLINEA", tag, owner, clock, "4enlinea_cga", __FILE__) { } diff --git a/src/mame/drivers/4roses.cpp b/src/mame/drivers/4roses.cpp index 38ed2e6ed29..acfa158233b 100644 --- a/src/mame/drivers/4roses.cpp +++ b/src/mame/drivers/4roses.cpp @@ -185,7 +185,7 @@ class _4roses_state : public funworld_state { public: - _4roses_state(const machine_config &mconfig, device_type type, std::string tag) + _4roses_state(const machine_config &mconfig, device_type type, const char *tag) : funworld_state(mconfig, type, tag) { } DECLARE_DRIVER_INIT(4roses); diff --git a/src/mame/drivers/5clown.cpp b/src/mame/drivers/5clown.cpp index a333f813e3d..c0d07547e2d 100644 --- a/src/mame/drivers/5clown.cpp +++ b/src/mame/drivers/5clown.cpp @@ -456,7 +456,7 @@ class _5clown_state : public driver_device { public: - _5clown_state(const machine_config &mconfig, device_type type, std::string tag) + _5clown_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/68ksbc.cpp b/src/mame/drivers/68ksbc.cpp index 348d9611f9f..2ff1bc85cac 100644 --- a/src/mame/drivers/68ksbc.cpp +++ b/src/mame/drivers/68ksbc.cpp @@ -35,7 +35,7 @@ class c68ksbc_state : public driver_device { public: - c68ksbc_state(const machine_config &mconfig, device_type type, std::string tag) : + c68ksbc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_acia(*this, "acia") diff --git a/src/mame/drivers/a1supply.cpp b/src/mame/drivers/a1supply.cpp index 76fe19bd74d..12f9a7447d1 100644 --- a/src/mame/drivers/a1supply.cpp +++ b/src/mame/drivers/a1supply.cpp @@ -38,7 +38,7 @@ class a1supply_state : public driver_device { public: - a1supply_state(const machine_config &mconfig, device_type type, std::string tag) + a1supply_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_video(*this, "fixfreq") diff --git a/src/mame/drivers/a2600.cpp b/src/mame/drivers/a2600.cpp index 077f2b28404..fc0f9bc5cdf 100644 --- a/src/mame/drivers/a2600.cpp +++ b/src/mame/drivers/a2600.cpp @@ -45,7 +45,7 @@ TODO: class a2600_state : public driver_device { public: - a2600_state(const machine_config &mconfig, device_type type, std::string tag) + a2600_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_riot_ram(*this, "riot_ram"), m_joy1(*this, CONTROL1_TAG), diff --git a/src/mame/drivers/a310.cpp b/src/mame/drivers/a310.cpp index 01a6004f2a0..7acb2a355c9 100644 --- a/src/mame/drivers/a310.cpp +++ b/src/mame/drivers/a310.cpp @@ -73,7 +73,7 @@ class a310_state : public archimedes_state { public: - a310_state(const machine_config &mconfig, device_type type, std::string tag) + a310_state(const machine_config &mconfig, device_type type, const char *tag) : archimedes_state(mconfig, type, tag) , m_physram(*this, "physicalram") , m_ram(*this, RAM_TAG) diff --git a/src/mame/drivers/a5105.cpp b/src/mame/drivers/a5105.cpp index f0463d08d11..44222bdb920 100644 --- a/src/mame/drivers/a5105.cpp +++ b/src/mame/drivers/a5105.cpp @@ -37,7 +37,7 @@ ToDo: class a5105_state : public driver_device { public: - a5105_state(const machine_config &mconfig, device_type type, std::string tag) + a5105_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_hgdc(*this, "upd7220"), diff --git a/src/mame/drivers/a51xx.cpp b/src/mame/drivers/a51xx.cpp index 9732b027e34..2284450bde4 100644 --- a/src/mame/drivers/a51xx.cpp +++ b/src/mame/drivers/a51xx.cpp @@ -18,7 +18,7 @@ class a51xx_state : public driver_device { public: - a51xx_state(const machine_config &mconfig, device_type type, std::string tag) + a51xx_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/a6809.cpp b/src/mame/drivers/a6809.cpp index 4016146f578..98b57f5af99 100644 --- a/src/mame/drivers/a6809.cpp +++ b/src/mame/drivers/a6809.cpp @@ -62,7 +62,7 @@ enter show next address class a6809_state : public driver_device { public: - a6809_state(const machine_config &mconfig, device_type type, std::string tag) + a6809_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_p_videoram(*this, "videoram") , m_via(*this, "via") diff --git a/src/mame/drivers/a7150.cpp b/src/mame/drivers/a7150.cpp index 675411ffd51..3559e6548b2 100644 --- a/src/mame/drivers/a7150.cpp +++ b/src/mame/drivers/a7150.cpp @@ -17,7 +17,7 @@ class a7150_state : public driver_device { public: - a7150_state(const machine_config &mconfig, device_type type, std::string tag) + a7150_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/a7800.cpp b/src/mame/drivers/a7800.cpp index 10d18b3b3a8..eda5f74ac07 100644 --- a/src/mame/drivers/a7800.cpp +++ b/src/mame/drivers/a7800.cpp @@ -112,7 +112,7 @@ class a7800_state : public driver_device { public: - a7800_state(const machine_config &mconfig, device_type type, std::string tag) + a7800_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_tia(*this, "tia"), diff --git a/src/mame/drivers/ace.cpp b/src/mame/drivers/ace.cpp index 32d96656abe..57d96585296 100644 --- a/src/mame/drivers/ace.cpp +++ b/src/mame/drivers/ace.cpp @@ -50,7 +50,7 @@ A1 2101 2101 class aceal_state : public driver_device { public: - aceal_state(const machine_config &mconfig, device_type type, std::string tag) + aceal_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_scoreram(*this, "scoreram"), diff --git a/src/mame/drivers/acefruit.cpp b/src/mame/drivers/acefruit.cpp index 9e4f3bcaa48..b869458ace4 100644 --- a/src/mame/drivers/acefruit.cpp +++ b/src/mame/drivers/acefruit.cpp @@ -20,7 +20,7 @@ Inputs and Dip Switches by Stephh class acefruit_state : public driver_device { public: - acefruit_state(const machine_config &mconfig, device_type type, std::string tag) + acefruit_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_videoram(*this, "videoram"), diff --git a/src/mame/drivers/aces1.cpp b/src/mame/drivers/aces1.cpp index 13a55d69216..4bc18a85aa9 100644 --- a/src/mame/drivers/aces1.cpp +++ b/src/mame/drivers/aces1.cpp @@ -37,7 +37,7 @@ JPM style Reel MCU? Certainly reel data seems to be muxed together in aweird way class aces1_state : public driver_device { public: - aces1_state(const machine_config &mconfig, device_type type, std::string tag) + aces1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_reel0(*this, "reel0"), diff --git a/src/mame/drivers/acesp.cpp b/src/mame/drivers/acesp.cpp index e0011488774..1a83aa85aa4 100644 --- a/src/mame/drivers/acesp.cpp +++ b/src/mame/drivers/acesp.cpp @@ -23,7 +23,7 @@ class ace_sp_state : public driver_device { public: - ace_sp_state(const machine_config &mconfig, device_type type, std::string tag) + ace_sp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/acommand.cpp b/src/mame/drivers/acommand.cpp index 3765aa69713..5da92a119ce 100644 --- a/src/mame/drivers/acommand.cpp +++ b/src/mame/drivers/acommand.cpp @@ -65,7 +65,7 @@ JALCF1 BIN 1,048,576 02-07-99 1:11a JALCF1.BIN class acommand_state : public driver_device { public: - acommand_state(const machine_config &mconfig, device_type type, std::string tag) + acommand_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_ac_bgvram(*this, "ac_bgvram"), m_ac_txvram(*this, "ac_txvram"), diff --git a/src/mame/drivers/acrnsys1.cpp b/src/mame/drivers/acrnsys1.cpp index 5622bf0865a..41efa342a61 100644 --- a/src/mame/drivers/acrnsys1.cpp +++ b/src/mame/drivers/acrnsys1.cpp @@ -58,7 +58,7 @@ Note that left-most digit is not wired up, and therefore will always be blank. class acrnsys1_state : public driver_device { public: - acrnsys1_state(const machine_config &mconfig, device_type type, std::string tag) + acrnsys1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ttl74145(*this, "ic8_7445"), diff --git a/src/mame/drivers/adp.cpp b/src/mame/drivers/adp.cpp index 954030206a5..d8271bdba30 100644 --- a/src/mame/drivers/adp.cpp +++ b/src/mame/drivers/adp.cpp @@ -168,7 +168,7 @@ Quick Jack administration/service mode: class adp_state : public driver_device { public: - adp_state(const machine_config &mconfig, device_type type, std::string tag) + adp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_microtouch(*this, "microtouch"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/age_candy.cpp b/src/mame/drivers/age_candy.cpp index 8945e0be88a..986b9d3771c 100644 --- a/src/mame/drivers/age_candy.cpp +++ b/src/mame/drivers/age_candy.cpp @@ -18,7 +18,7 @@ Device is a 27c256 location U3 class age_candy_state : public driver_device { public: - age_candy_state(const machine_config &mconfig, device_type type, std::string tag) + age_candy_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) // ,m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/aim65_40.cpp b/src/mame/drivers/aim65_40.cpp index e93f88b630c..df749db8493 100644 --- a/src/mame/drivers/aim65_40.cpp +++ b/src/mame/drivers/aim65_40.cpp @@ -71,7 +71,7 @@ The source code there implies that *maybe* ff7e and ff7f are also open bus. class aim65_40_state : public driver_device { public: - aim65_40_state(const machine_config &mconfig, device_type type, std::string tag) + aim65_40_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) { } // devices diff --git a/src/mame/drivers/albazc.cpp b/src/mame/drivers/albazc.cpp index 522d7fca889..febf07ebf82 100644 --- a/src/mame/drivers/albazc.cpp +++ b/src/mame/drivers/albazc.cpp @@ -19,7 +19,7 @@ TODO: class albazc_state : public driver_device { public: - albazc_state(const machine_config &mconfig, device_type type, std::string tag) + albazc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_spriteram1(*this, "spriteram1"), m_spriteram2(*this, "spriteram2"), diff --git a/src/mame/drivers/albazg.cpp b/src/mame/drivers/albazg.cpp index 39f478e5d13..9666975f2f3 100644 --- a/src/mame/drivers/albazg.cpp +++ b/src/mame/drivers/albazg.cpp @@ -46,7 +46,7 @@ PCB: class albazg_state : public driver_device { public: - albazg_state(const machine_config &mconfig, device_type type, std::string tag) + albazg_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_cus_ram(*this, "cus_ram"), m_videoram(*this, "videoram"), diff --git a/src/mame/drivers/aleck64.cpp b/src/mame/drivers/aleck64.cpp index b48ed8e0a35..26499c7b9b2 100644 --- a/src/mame/drivers/aleck64.cpp +++ b/src/mame/drivers/aleck64.cpp @@ -178,7 +178,7 @@ Notes: class aleck64_state : public n64_state { public: - aleck64_state(const machine_config &mconfig, device_type type, std::string tag) + aleck64_state(const machine_config &mconfig, device_type type, const char *tag) : n64_state(mconfig, type, tag), m_e90_vram(*this,"e90vram"), m_e90_pal(*this,"e90pal"), diff --git a/src/mame/drivers/aleisttl.cpp b/src/mame/drivers/aleisttl.cpp index 1b8504350a9..75021c37dda 100644 --- a/src/mame/drivers/aleisttl.cpp +++ b/src/mame/drivers/aleisttl.cpp @@ -49,7 +49,7 @@ class sburners_state : public driver_device { public: - sburners_state(const machine_config &mconfig, device_type type, std::string tag) + sburners_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_video(*this, "fixfreq") diff --git a/src/mame/drivers/alg.cpp b/src/mame/drivers/alg.cpp index 3f0709eb6a4..6cc10cfd788 100644 --- a/src/mame/drivers/alg.cpp +++ b/src/mame/drivers/alg.cpp @@ -34,7 +34,7 @@ class alg_state : public amiga_state { public: - alg_state(const machine_config &mconfig, device_type type, std::string tag) + alg_state(const machine_config &mconfig, device_type type, const char *tag) : amiga_state(mconfig, type, tag), m_laserdisc(*this, "laserdisc"), m_gun1x(*this, "GUN1X"), diff --git a/src/mame/drivers/alien.cpp b/src/mame/drivers/alien.cpp index a401a333bfa..46daf7e6499 100644 --- a/src/mame/drivers/alien.cpp +++ b/src/mame/drivers/alien.cpp @@ -24,7 +24,7 @@ class alien_state : public driver_device { public: - alien_state(const machine_config &mconfig, device_type type, std::string tag) + alien_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/alinvade.cpp b/src/mame/drivers/alinvade.cpp index 1f4ea073ce7..25f378ed388 100644 --- a/src/mame/drivers/alinvade.cpp +++ b/src/mame/drivers/alinvade.cpp @@ -27,7 +27,7 @@ class alinvade_state : public driver_device { public: - alinvade_state(const machine_config &mconfig, device_type type, std::string tag) + alinvade_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_videoram(*this, "videoram") diff --git a/src/mame/drivers/allied.cpp b/src/mame/drivers/allied.cpp index 6e7631653b3..9b96c72ab22 100644 --- a/src/mame/drivers/allied.cpp +++ b/src/mame/drivers/allied.cpp @@ -51,7 +51,7 @@ ToDo: class allied_state : public genpin_class { public: - allied_state(const machine_config &mconfig, device_type type, std::string tag) + allied_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_ic1(*this, "ic1") diff --git a/src/mame/drivers/alphasma.cpp b/src/mame/drivers/alphasma.cpp index 6a6a94feff7..f7f0d58d3a5 100644 --- a/src/mame/drivers/alphasma.cpp +++ b/src/mame/drivers/alphasma.cpp @@ -22,7 +22,7 @@ class alphasmart_state : public driver_device { public: - alphasmart_state(const machine_config &mconfig, device_type type, std::string tag) + alphasmart_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_lcdc0(*this, "ks0066_0"), @@ -68,7 +68,7 @@ protected: class asma2k_state : public alphasmart_state { public: - asma2k_state(const machine_config &mconfig, device_type type, std::string tag) + asma2k_state(const machine_config &mconfig, device_type type, const char *tag) : alphasmart_state(mconfig, type, tag), m_intram(*this, "internal_ram") { } diff --git a/src/mame/drivers/alphatro.cpp b/src/mame/drivers/alphatro.cpp index 9a0aee95ed2..a5a3968d8aa 100644 --- a/src/mame/drivers/alphatro.cpp +++ b/src/mame/drivers/alphatro.cpp @@ -58,7 +58,7 @@ public: TIMER_SYSTEM }; - alphatro_state(const machine_config &mconfig, device_type type, std::string tag) + alphatro_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_p_videoram(*this, "videoram") , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/altair.cpp b/src/mame/drivers/altair.cpp index e2b8d9edd97..18a9589cd03 100644 --- a/src/mame/drivers/altair.cpp +++ b/src/mame/drivers/altair.cpp @@ -28,7 +28,7 @@ class altair_state : public driver_device { public: - altair_state(const machine_config &mconfig, device_type type, std::string tag) : + altair_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mc6850(*this, "mc6850"), diff --git a/src/mame/drivers/alto2.cpp b/src/mame/drivers/alto2.cpp index bcb61750b67..c2142b0c304 100644 --- a/src/mame/drivers/alto2.cpp +++ b/src/mame/drivers/alto2.cpp @@ -13,7 +13,7 @@ class alto2_state : public driver_device { public: - alto2_state(const machine_config &mconfig, device_type type, std::string tag) : + alto2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_io_row0(*this, "ROW0"), diff --git a/src/mame/drivers/altos5.cpp b/src/mame/drivers/altos5.cpp index 6ea298ec2fb..96fd75ae2e4 100644 --- a/src/mame/drivers/altos5.cpp +++ b/src/mame/drivers/altos5.cpp @@ -27,7 +27,7 @@ class altos5_state : public driver_device { public: - altos5_state(const machine_config &mconfig, device_type type, std::string tag) + altos5_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pio0(*this, "z80pio_0"), diff --git a/src/mame/drivers/alvg.cpp b/src/mame/drivers/alvg.cpp index 9ed9bbc978e..700561e437c 100644 --- a/src/mame/drivers/alvg.cpp +++ b/src/mame/drivers/alvg.cpp @@ -7,7 +7,7 @@ class alvg_state : public driver_device { public: - alvg_state(const machine_config &mconfig, device_type type, std::string tag) + alvg_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/amaticmg.cpp b/src/mame/drivers/amaticmg.cpp index c3c2cf78196..3640330b2f3 100644 --- a/src/mame/drivers/amaticmg.cpp +++ b/src/mame/drivers/amaticmg.cpp @@ -429,7 +429,7 @@ class amaticmg_state : public driver_device { public: - amaticmg_state(const machine_config &mconfig, device_type type, std::string tag) + amaticmg_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_attr(*this, "attr"), m_vram(*this, "vram"), diff --git a/src/mame/drivers/amerihok.cpp b/src/mame/drivers/amerihok.cpp index 94c97b27273..aa8a19ae9e2 100644 --- a/src/mame/drivers/amerihok.cpp +++ b/src/mame/drivers/amerihok.cpp @@ -22,7 +22,7 @@ Processor is unknown class amerihok_state : public driver_device { public: - amerihok_state(const machine_config &mconfig, device_type type, std::string tag) + amerihok_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) // ,m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/amico2k.cpp b/src/mame/drivers/amico2k.cpp index 9f2e88ed7bf..0bb1952d8a3 100644 --- a/src/mame/drivers/amico2k.cpp +++ b/src/mame/drivers/amico2k.cpp @@ -39,7 +39,7 @@ class amico2k_state : public driver_device { public: - amico2k_state(const machine_config &mconfig, device_type type, std::string tag) + amico2k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/amiga.cpp b/src/mame/drivers/amiga.cpp index 5fcb4d3dbf8..47d42f93d0b 100644 --- a/src/mame/drivers/amiga.cpp +++ b/src/mame/drivers/amiga.cpp @@ -32,7 +32,7 @@ class a1000_state : public amiga_state { public: - a1000_state(const machine_config &mconfig, device_type type, std::string tag) : + a1000_state(const machine_config &mconfig, device_type type, const char *tag) : amiga_state(mconfig, type, tag), m_bootrom(*this, "bootrom"), m_wom(*this, "wom") @@ -56,7 +56,7 @@ private: class a2000_state : public amiga_state { public: - a2000_state(const machine_config &mconfig, device_type type, std::string tag) : + a2000_state(const machine_config &mconfig, device_type type, const char *tag) : amiga_state(mconfig, type, tag), m_rtc(*this, "u65"), m_zorro(*this, ZORROBUS_TAG), @@ -93,7 +93,7 @@ private: class a500_state : public amiga_state { public: - a500_state(const machine_config &mconfig, device_type type, std::string tag) : + a500_state(const machine_config &mconfig, device_type type, const char *tag) : amiga_state(mconfig, type, tag), m_side(*this, EXP_SLOT_TAG), m_side_int2(0), @@ -122,7 +122,7 @@ private: class cdtv_state : public amiga_state { public: - cdtv_state(const machine_config &mconfig, device_type type, std::string tag) : + cdtv_state(const machine_config &mconfig, device_type type, const char *tag) : amiga_state(mconfig, type, tag), m_rtc(*this, "u61"), m_dmac(*this, "u36"), @@ -170,7 +170,7 @@ private: class a3000_state : public amiga_state { public: - a3000_state(const machine_config &mconfig, device_type type, std::string tag) : + a3000_state(const machine_config &mconfig, device_type type, const char *tag) : amiga_state(mconfig, type, tag) { } @@ -190,7 +190,7 @@ private: class a500p_state : public amiga_state { public: - a500p_state(const machine_config &mconfig, device_type type, std::string tag) : + a500p_state(const machine_config &mconfig, device_type type, const char *tag) : amiga_state(mconfig, type, tag), m_rtc(*this, "u9"), m_side(*this, EXP_SLOT_TAG), @@ -224,7 +224,7 @@ private: class a600_state : public amiga_state { public: - a600_state(const machine_config &mconfig, device_type type, std::string tag) : + a600_state(const machine_config &mconfig, device_type type, const char *tag) : amiga_state(mconfig, type, tag), m_gayle_int2(0) { } @@ -246,7 +246,7 @@ private: class a1200_state : public amiga_state { public: - a1200_state(const machine_config &mconfig, device_type type, std::string tag) : + a1200_state(const machine_config &mconfig, device_type type, const char *tag) : amiga_state(mconfig, type, tag), m_gayle_int2(0) { } @@ -268,7 +268,7 @@ private: class a4000_state : public amiga_state { public: - a4000_state(const machine_config &mconfig, device_type type, std::string tag) : + a4000_state(const machine_config &mconfig, device_type type, const char *tag) : amiga_state(mconfig, type, tag), m_ata(*this, "ata"), m_ramsey_config(0), @@ -304,7 +304,7 @@ private: class cd32_state : public amiga_state { public: - cd32_state(const machine_config &mconfig, device_type type, std::string tag) : + cd32_state(const machine_config &mconfig, device_type type, const char *tag) : amiga_state(mconfig, type, tag), m_p1_port(*this, "p1_cd32_buttons"), m_p2_port(*this, "p2_cd32_buttons"), diff --git a/src/mame/drivers/ampro.cpp b/src/mame/drivers/ampro.cpp index 089a209a1ca..6aef2a6f984 100644 --- a/src/mame/drivers/ampro.cpp +++ b/src/mame/drivers/ampro.cpp @@ -32,7 +32,7 @@ ToDo: class ampro_state : public driver_device { public: - ampro_state(const machine_config &mconfig, device_type type, std::string tag) + ampro_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_dart(*this, "z80dart") diff --git a/src/mame/drivers/amstr_pc.cpp b/src/mame/drivers/amstr_pc.cpp index 803a8236b9e..d33fa47a6b3 100644 --- a/src/mame/drivers/amstr_pc.cpp +++ b/src/mame/drivers/amstr_pc.cpp @@ -41,7 +41,7 @@ More information can be found at http://www.seasip.info/AmstradXT/1640tech/index class amstrad_pc_state : public driver_device { public: - amstrad_pc_state(const machine_config &mconfig, device_type type, std::string tag) + amstrad_pc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mb(*this, "mb"), diff --git a/src/mame/drivers/amusco.cpp b/src/mame/drivers/amusco.cpp index e1a19014d27..9ed26923a71 100644 --- a/src/mame/drivers/amusco.cpp +++ b/src/mame/drivers/amusco.cpp @@ -83,7 +83,7 @@ class amusco_state : public driver_device { public: - amusco_state(const machine_config &mconfig, device_type type, std::string tag) + amusco_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/amust.cpp b/src/mame/drivers/amust.cpp index a2bcdaf9536..4c1848fc548 100644 --- a/src/mame/drivers/amust.cpp +++ b/src/mame/drivers/amust.cpp @@ -99,7 +99,7 @@ public: TIMER_BEEP_OFF }; - amust_state(const machine_config &mconfig, device_type type, std::string tag) + amust_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/apc.cpp b/src/mame/drivers/apc.cpp index 876a2602fad..12f978f2584 100644 --- a/src/mame/drivers/apc.cpp +++ b/src/mame/drivers/apc.cpp @@ -70,7 +70,7 @@ class apc_state : public driver_device { public: - apc_state(const machine_config &mconfig, device_type type, std::string tag) + apc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_hgdc1(*this, "upd7220_chr"), diff --git a/src/mame/drivers/apexc.cpp b/src/mame/drivers/apexc.cpp index 1c804da871d..dd992f1a209 100644 --- a/src/mame/drivers/apexc.cpp +++ b/src/mame/drivers/apexc.cpp @@ -15,7 +15,7 @@ class apexc_state : public driver_device { public: - apexc_state(const machine_config &mconfig, device_type type, std::string tag) + apexc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), @@ -74,7 +74,7 @@ class apexc_cylinder_image_device : public device_t, public device_image_interfa { public: // construction/destruction - apexc_cylinder_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + apexc_cylinder_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // image-level overrides virtual iodevice_t image_type() const override { return IO_CYLINDER; } @@ -100,7 +100,7 @@ private: const device_type APEXC_CYLINDER = &device_creator; -apexc_cylinder_image_device::apexc_cylinder_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +apexc_cylinder_image_device::apexc_cylinder_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, APEXC_CYLINDER, "APEXC Cylinder", tag, owner, clock, "apexc_cylinder_image", __FILE__), device_image_interface(mconfig, *this) { @@ -203,7 +203,7 @@ class apexc_tape_puncher_image_device : public device_t, public device_image_int { public: // construction/destruction - apexc_tape_puncher_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + apexc_tape_puncher_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // image-level overrides virtual iodevice_t image_type() const override { return IO_PUNCHTAPE; } @@ -224,7 +224,7 @@ protected: const device_type APEXC_TAPE_PUNCHER = &device_creator; -apexc_tape_puncher_image_device::apexc_tape_puncher_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +apexc_tape_puncher_image_device::apexc_tape_puncher_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, APEXC_TAPE_PUNCHER, "APEXC Tape Puncher", tag, owner, clock, "apexc_tape_puncher_image", __FILE__), device_image_interface(mconfig, *this) { @@ -237,7 +237,7 @@ class apexc_tape_reader_image_device : public device_t, public device_image_int { public: // construction/destruction - apexc_tape_reader_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + apexc_tape_reader_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // image-level overrides virtual iodevice_t image_type() const override { return IO_PUNCHTAPE; } @@ -258,7 +258,7 @@ protected: const device_type APEXC_TAPE_READER = &device_creator; -apexc_tape_reader_image_device::apexc_tape_reader_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +apexc_tape_reader_image_device::apexc_tape_reader_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, APEXC_TAPE_READER, "APEXC Tape Reader", tag, owner, clock, "apexc_tape_reader_image", __FILE__), device_image_interface(mconfig, *this) { diff --git a/src/mame/drivers/apf.cpp b/src/mame/drivers/apf.cpp index 3ecda64162e..d82f3107ace 100644 --- a/src/mame/drivers/apf.cpp +++ b/src/mame/drivers/apf.cpp @@ -87,7 +87,7 @@ ToDo: class apf_state : public driver_device { public: - apf_state(const machine_config &mconfig, device_type type, std::string tag) + apf_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_has_cart_ram(false) , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/apogee.cpp b/src/mame/drivers/apogee.cpp index 7e73221b6df..fec2d5608fe 100644 --- a/src/mame/drivers/apogee.cpp +++ b/src/mame/drivers/apogee.cpp @@ -23,7 +23,7 @@ class apogee_state : public radio86_state { public: - apogee_state(const machine_config &mconfig, device_type type, std::string tag) + apogee_state(const machine_config &mconfig, device_type type, const char *tag) : radio86_state(mconfig, type, tag), m_speaker(*this, "speaker") { } diff --git a/src/mame/drivers/apollo.cpp b/src/mame/drivers/apollo.cpp index 1bdc2ab10ea..ed229a55cc1 100644 --- a/src/mame/drivers/apollo.cpp +++ b/src/mame/drivers/apollo.cpp @@ -132,7 +132,7 @@ const char *apollo_cpu_context(device_t *cpu) { int s = t / osd_ticks_per_second(); int ms = (t % osd_ticks_per_second()) / 1000; - sprintf(statebuf, "%d.%03d %s pc=%08x", s, ms, cpu->tag().c_str(), cpu->safe_pcbase()); + sprintf(statebuf, "%d.%03d %s pc=%08x", s, ms, cpu->tag(), cpu->safe_pcbase()); } else { strcpy(statebuf, "(no context)"); } diff --git a/src/mame/drivers/apple2.cpp b/src/mame/drivers/apple2.cpp index 4021d4e201e..efbd8b157ca 100644 --- a/src/mame/drivers/apple2.cpp +++ b/src/mame/drivers/apple2.cpp @@ -94,7 +94,7 @@ II Plus: RAM options reduced to 16/32/48 KB. class napple2_state : public driver_device { public: - napple2_state(const machine_config &mconfig, device_type type, std::string tag) + napple2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, A2_CPU_TAG), m_ram(*this, RAM_TAG), diff --git a/src/mame/drivers/apple2e.cpp b/src/mame/drivers/apple2e.cpp index 57bffb6b852..99bc10dc341 100644 --- a/src/mame/drivers/apple2e.cpp +++ b/src/mame/drivers/apple2e.cpp @@ -192,7 +192,7 @@ Address bus A0-A11 is Y0-Y11 class apple2e_state : public driver_device { public: - apple2e_state(const machine_config &mconfig, device_type type, std::string tag) + apple2e_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, A2_CPU_TAG), m_ram(*this, RAM_TAG), diff --git a/src/mame/drivers/applix.cpp b/src/mame/drivers/applix.cpp index b28bdd15df9..f2cd3a9650a 100644 --- a/src/mame/drivers/applix.cpp +++ b/src/mame/drivers/applix.cpp @@ -52,7 +52,7 @@ class applix_state : public driver_device { public: - applix_state(const machine_config &mconfig, device_type type, std::string tag) + applix_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_base(*this, "base"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/apricot.cpp b/src/mame/drivers/apricot.cpp index edaf6719988..126cd1d6452 100644 --- a/src/mame/drivers/apricot.cpp +++ b/src/mame/drivers/apricot.cpp @@ -34,7 +34,7 @@ class apricot_state : public driver_device { public: - apricot_state(const machine_config &mconfig, device_type type, std::string tag) : + apricot_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_cpu(*this, "ic91"), m_iop(*this, "ic71"), diff --git a/src/mame/drivers/apricotf.cpp b/src/mame/drivers/apricotf.cpp index 2cca8965ff2..8c990e46c48 100644 --- a/src/mame/drivers/apricotf.cpp +++ b/src/mame/drivers/apricotf.cpp @@ -58,7 +58,7 @@ class f1_state : public driver_device { public: - f1_state(const machine_config &mconfig, device_type type, std::string tag) + f1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, I8086_TAG), m_ctc(*this, Z80CTC_TAG), diff --git a/src/mame/drivers/apricotp.cpp b/src/mame/drivers/apricotp.cpp index 9e25071da73..52107c217fb 100644 --- a/src/mame/drivers/apricotp.cpp +++ b/src/mame/drivers/apricotp.cpp @@ -83,7 +83,7 @@ enum class fp_state : public driver_device { public: - fp_state(const machine_config &mconfig, device_type type, std::string tag) + fp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, I8086_TAG), m_soundcpu(*this, HD63B01V1_TAG), diff --git a/src/mame/drivers/arachnid.cpp b/src/mame/drivers/arachnid.cpp index 86fb9d7ef8b..302db21b4e4 100644 --- a/src/mame/drivers/arachnid.cpp +++ b/src/mame/drivers/arachnid.cpp @@ -77,7 +77,7 @@ class arachnid_state : public driver_device { public: - arachnid_state(const machine_config &mconfig, device_type type, std::string tag) + arachnid_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, M6809_TAG), m_pia_u4(*this, PIA6821_U4_TAG), diff --git a/src/mame/drivers/argo.cpp b/src/mame/drivers/argo.cpp index 5886e808188..a9925128402 100644 --- a/src/mame/drivers/argo.cpp +++ b/src/mame/drivers/argo.cpp @@ -35,7 +35,7 @@ public: TIMER_BOOT }; - argo_state(const machine_config &mconfig, device_type type, std::string tag) + argo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_p_videoram(*this, "p_videoram"){ } diff --git a/src/mame/drivers/aristmk4.cpp b/src/mame/drivers/aristmk4.cpp index dbe04a1ec53..6d6a2b4b7e2 100644 --- a/src/mame/drivers/aristmk4.cpp +++ b/src/mame/drivers/aristmk4.cpp @@ -344,7 +344,7 @@ UINT8 crtc_reg = 0; class aristmk4_state : public driver_device { public: - aristmk4_state(const machine_config &mconfig, device_type type, std::string tag) + aristmk4_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_rtc(*this, "rtc"), diff --git a/src/mame/drivers/aristmk5.cpp b/src/mame/drivers/aristmk5.cpp index 217ccee0684..882fd175d2a 100644 --- a/src/mame/drivers/aristmk5.cpp +++ b/src/mame/drivers/aristmk5.cpp @@ -178,7 +178,7 @@ class aristmk5_state : public archimedes_state { public: - aristmk5_state(const machine_config &mconfig, device_type type, std::string tag) + aristmk5_state(const machine_config &mconfig, device_type type, const char *tag) : archimedes_state(mconfig, type, tag) { } emu_timer *m_mk5_2KHz_timer; diff --git a/src/mame/drivers/aristmk6.cpp b/src/mame/drivers/aristmk6.cpp index 0669242caaf..89b03477cb7 100644 --- a/src/mame/drivers/aristmk6.cpp +++ b/src/mame/drivers/aristmk6.cpp @@ -31,7 +31,7 @@ notes: class aristmk6_state : public driver_device { public: - aristmk6_state(const machine_config &mconfig, device_type type, std::string tag) + aristmk6_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_uart0(*this, "uart0"), diff --git a/src/mame/drivers/arsystems.cpp b/src/mame/drivers/arsystems.cpp index baae3b413de..3f179e9af70 100644 --- a/src/mame/drivers/arsystems.cpp +++ b/src/mame/drivers/arsystems.cpp @@ -61,7 +61,7 @@ class arcadia_amiga_state : public amiga_state { public: - arcadia_amiga_state(const machine_config &mconfig, device_type type, std::string tag) + arcadia_amiga_state(const machine_config &mconfig, device_type type, const char *tag) : amiga_state(mconfig, type, tag) { } UINT8 m_coin_counter[2]; @@ -87,7 +87,7 @@ public: DECLARE_DRIVER_INIT(dlta); DECLARE_DRIVER_INIT(argh); - inline void generic_decode(std::string tag, int bit7, int bit6, int bit5, int bit4, int bit3, int bit2, int bit1, int bit0); + inline void generic_decode(const char *tag, int bit7, int bit6, int bit5, int bit4, int bit3, int bit2, int bit1, int bit0); protected: virtual void machine_reset() override; @@ -880,7 +880,7 @@ ROM_END * *************************************/ -void arcadia_amiga_state::generic_decode(std::string tag, int bit7, int bit6, int bit5, int bit4, int bit3, int bit2, int bit1, int bit0) +void arcadia_amiga_state::generic_decode(const char *tag, int bit7, int bit6, int bit5, int bit4, int bit3, int bit2, int bit1, int bit0) { UINT16 *rom = (UINT16 *)memregion(tag)->base(); int i; diff --git a/src/mame/drivers/asst128.cpp b/src/mame/drivers/asst128.cpp index 8c13ca858be..7ee9e464a66 100644 --- a/src/mame/drivers/asst128.cpp +++ b/src/mame/drivers/asst128.cpp @@ -13,7 +13,7 @@ class asst128_mb_device : public ibm5150_mb_device { public: // construction/destruction - asst128_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) + asst128_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ibm5150_mb_device(mconfig, tag, owner, clock) { } protected: @@ -39,7 +39,7 @@ class asst128_state : public driver_device { public: // construction/destruction - asst128_state(const machine_config &mconfig, device_type type, std::string tag) + asst128_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_mb(*this, "mb") diff --git a/src/mame/drivers/astinvad.cpp b/src/mame/drivers/astinvad.cpp index 9481fdbad76..f98cccb3500 100644 --- a/src/mame/drivers/astinvad.cpp +++ b/src/mame/drivers/astinvad.cpp @@ -52,7 +52,7 @@ public: TIMER_INT_GEN }; - astinvad_state(const machine_config &mconfig, device_type type, std::string tag) + astinvad_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ppi8255_0(*this, "ppi8255_0"), diff --git a/src/mame/drivers/astrafr.cpp b/src/mame/drivers/astrafr.cpp index a8aba6faff4..578ac656b8a 100644 --- a/src/mame/drivers/astrafr.cpp +++ b/src/mame/drivers/astrafr.cpp @@ -20,7 +20,7 @@ Platform also used by Lowen? (at least some of their sets use the same address l class astrafr_state : public driver_device { public: - astrafr_state(const machine_config &mconfig, device_type type, std::string tag) + astrafr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_slavecpu(*this, "slavecpu") diff --git a/src/mame/drivers/astrcorp.cpp b/src/mame/drivers/astrcorp.cpp index ed53b0ff400..a82199c5d06 100644 --- a/src/mame/drivers/astrcorp.cpp +++ b/src/mame/drivers/astrcorp.cpp @@ -46,7 +46,7 @@ To do: class astrocorp_state : public driver_device { public: - astrocorp_state(const machine_config &mconfig, device_type type, std::string tag) + astrocorp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki(*this, "oki"), diff --git a/src/mame/drivers/astrohome.cpp b/src/mame/drivers/astrohome.cpp index 59f9c29d0c5..7b08a693956 100644 --- a/src/mame/drivers/astrohome.cpp +++ b/src/mame/drivers/astrohome.cpp @@ -20,7 +20,7 @@ class astrocde_mess_state : public astrocde_state { public: - astrocde_mess_state(const machine_config &mconfig, device_type type, std::string tag) + astrocde_mess_state(const machine_config &mconfig, device_type type, const char *tag) : astrocde_state(mconfig, type, tag), m_cart(*this, "cartslot"), m_exp(*this, "exp") diff --git a/src/mame/drivers/astropc.cpp b/src/mame/drivers/astropc.cpp index e598d3b8731..a58eb2335eb 100644 --- a/src/mame/drivers/astropc.cpp +++ b/src/mame/drivers/astropc.cpp @@ -18,7 +18,7 @@ We need to figure this out and convert them to CHDs (I think.. unless they're fl class astropc_state : public driver_device { public: - astropc_state(const machine_config &mconfig, device_type type, std::string tag) + astropc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/atari400.cpp b/src/mame/drivers/atari400.cpp index 9af9098b76b..17573b3bac9 100644 --- a/src/mame/drivers/atari400.cpp +++ b/src/mame/drivers/atari400.cpp @@ -245,7 +245,7 @@ class a400_state : public atari_common_state { public: - a400_state(const machine_config &mconfig, device_type type, std::string tag) + a400_state(const machine_config &mconfig, device_type type, const char *tag) : atari_common_state(mconfig, type, tag), m_ram(*this, RAM_TAG), m_pia(*this, "pia"), diff --git a/src/mame/drivers/atari_s1.cpp b/src/mame/drivers/atari_s1.cpp index a66ef0f7bc8..48bc91e6816 100644 --- a/src/mame/drivers/atari_s1.cpp +++ b/src/mame/drivers/atari_s1.cpp @@ -59,7 +59,7 @@ ToDo: class atari_s1_state : public genpin_class { public: - atari_s1_state(const machine_config &mconfig, device_type type, std::string tag) + atari_s1_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_p_ram(*this, "ram") diff --git a/src/mame/drivers/atari_s2.cpp b/src/mame/drivers/atari_s2.cpp index fde76dbbfab..1399a296577 100644 --- a/src/mame/drivers/atari_s2.cpp +++ b/src/mame/drivers/atari_s2.cpp @@ -30,7 +30,7 @@ ToDo: class atari_s2_state : public genpin_class { public: - atari_s2_state(const machine_config &mconfig, device_type type, std::string tag) + atari_s2_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_dac(*this, "dac") diff --git a/src/mame/drivers/atarisy4.cpp b/src/mame/drivers/atarisy4.cpp index 075a08f267d..78af3c1417c 100644 --- a/src/mame/drivers/atarisy4.cpp +++ b/src/mame/drivers/atarisy4.cpp @@ -45,7 +45,7 @@ public: class atarisy4_state : public driver_device { public: - atarisy4_state(const machine_config &mconfig, device_type type, std::string tag) + atarisy4_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dsp0(*this, "dsp0"), diff --git a/src/mame/drivers/atarittl.cpp b/src/mame/drivers/atarittl.cpp index 10cb2af51e6..39662b15b60 100644 --- a/src/mame/drivers/atarittl.cpp +++ b/src/mame/drivers/atarittl.cpp @@ -83,7 +83,7 @@ class atarikee_state : public driver_device { public: - atarikee_state(const machine_config &mconfig, device_type type, std::string tag) + atarikee_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_video(*this, "fixfreq") diff --git a/src/mame/drivers/atlantis.cpp b/src/mame/drivers/atlantis.cpp index c17428e763f..253cb8300f6 100644 --- a/src/mame/drivers/atlantis.cpp +++ b/src/mame/drivers/atlantis.cpp @@ -45,7 +45,7 @@ class atlantis_state : public driver_device { public: - atlantis_state(const machine_config &mconfig, device_type type, std::string tag) + atlantis_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dcs(*this, "dcs") { } diff --git a/src/mame/drivers/atm.cpp b/src/mame/drivers/atm.cpp index 2f23a1274fa..300f503d90e 100644 --- a/src/mame/drivers/atm.cpp +++ b/src/mame/drivers/atm.cpp @@ -24,7 +24,7 @@ computer to boot up (with keyboard problems). class atm_state : public spectrum_state { public: - atm_state(const machine_config &mconfig, device_type type, std::string tag) + atm_state(const machine_config &mconfig, device_type type, const char *tag) : spectrum_state(mconfig, type, tag) , m_bank1(*this, "bank1") , m_bank2(*this, "bank2") diff --git a/src/mame/drivers/atronic.cpp b/src/mame/drivers/atronic.cpp index f55a5a6d50d..f366fab1187 100644 --- a/src/mame/drivers/atronic.cpp +++ b/src/mame/drivers/atronic.cpp @@ -21,7 +21,7 @@ class atronic_state : public driver_device { public: - atronic_state(const machine_config &mconfig, device_type type, std::string tag) + atronic_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/attache.cpp b/src/mame/drivers/attache.cpp index e87b38eafdd..0c6a1c9d3b5 100644 --- a/src/mame/drivers/attache.cpp +++ b/src/mame/drivers/attache.cpp @@ -69,7 +69,7 @@ class attache_state : public driver_device { public: - attache_state(const machine_config &mconfig, device_type type, std::string tag) + attache_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_rom(*this,"boot"), diff --git a/src/mame/drivers/attckufo.cpp b/src/mame/drivers/attckufo.cpp index 27aa5698d91..3a099bf917f 100644 --- a/src/mame/drivers/attckufo.cpp +++ b/src/mame/drivers/attckufo.cpp @@ -51,7 +51,7 @@ LOIPOIO-B class attckufo_state : public driver_device { public: - attckufo_state(const machine_config &mconfig, device_type type, std::string tag) + attckufo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mos6560(*this, "mos6560") , diff --git a/src/mame/drivers/atvtrack.cpp b/src/mame/drivers/atvtrack.cpp index 7b9d082e4c4..698afe889cb 100644 --- a/src/mame/drivers/atvtrack.cpp +++ b/src/mame/drivers/atvtrack.cpp @@ -98,7 +98,7 @@ but unlike to DC/AW/Naomi SH4 'peripheral clock' (at which works TMU timers and class atvtrack_state : public driver_device { public: - atvtrack_state(const machine_config &mconfig, device_type type, std::string tag) + atvtrack_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "subcpu") { } @@ -134,7 +134,7 @@ protected: class smashdrv_state : public atvtrack_state { public: - smashdrv_state(const machine_config &mconfig, device_type type, std::string tag) + smashdrv_state(const machine_config &mconfig, device_type type, const char *tag) : atvtrack_state(mconfig, type, tag) { } virtual void machine_start() override; @@ -327,7 +327,7 @@ READ64_MEMBER(atvtrack_state::ioport_r) { if (offset == SH4_IOPORT_16/8) { // much simplified way - if (space.device().tag() == ":maincpu") + if (strcmp(space.device().tag(), ":maincpu") == 0) #ifndef SPECIALMODE return -1; // normal #else diff --git a/src/mame/drivers/avt.cpp b/src/mame/drivers/avt.cpp index 1818a6668c1..5a752526f81 100644 --- a/src/mame/drivers/avt.cpp +++ b/src/mame/drivers/avt.cpp @@ -421,7 +421,7 @@ class avt_state : public driver_device { public: - avt_state(const machine_config &mconfig, device_type type, std::string tag) + avt_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_crtc(*this, "crtc"), diff --git a/src/mame/drivers/ax20.cpp b/src/mame/drivers/ax20.cpp index b1619ce25e4..f51f0dc925c 100644 --- a/src/mame/drivers/ax20.cpp +++ b/src/mame/drivers/ax20.cpp @@ -23,7 +23,7 @@ class ax20_state : public driver_device { public: - ax20_state(const machine_config &mconfig, device_type type, std::string tag) + ax20_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_p_vram(*this, "p_vram"), diff --git a/src/mame/drivers/b16.cpp b/src/mame/drivers/b16.cpp index e21e5db728f..289aea6f228 100644 --- a/src/mame/drivers/b16.cpp +++ b/src/mame/drivers/b16.cpp @@ -23,7 +23,7 @@ class b16_state : public driver_device { public: - b16_state(const machine_config &mconfig, device_type type, std::string tag) + b16_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_vram(*this, "vram"), m_dma8237(*this, "8237dma"), diff --git a/src/mame/drivers/babbage.cpp b/src/mame/drivers/babbage.cpp index ec72737593a..f3d9c187fc8 100644 --- a/src/mame/drivers/babbage.cpp +++ b/src/mame/drivers/babbage.cpp @@ -34,7 +34,7 @@ class babbage_state : public driver_device { public: - babbage_state(const machine_config &mconfig, device_type type, std::string tag) + babbage_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pio_1(*this, "z80pio_1"), diff --git a/src/mame/drivers/backfire.cpp b/src/mame/drivers/backfire.cpp index 24b4de6db54..9ca90c212e8 100644 --- a/src/mame/drivers/backfire.cpp +++ b/src/mame/drivers/backfire.cpp @@ -27,7 +27,7 @@ class backfire_state : public driver_device { public: - backfire_state(const machine_config &mconfig, device_type type, std::string tag) + backfire_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_mainram(*this, "mainram"), m_left_priority(*this, "left_priority"), diff --git a/src/mame/drivers/bailey.cpp b/src/mame/drivers/bailey.cpp index 680022fc6aa..15232f62605 100644 --- a/src/mame/drivers/bailey.cpp +++ b/src/mame/drivers/bailey.cpp @@ -36,7 +36,7 @@ class bailey_state : public driver_device { public: - bailey_state(const machine_config &mconfig, device_type type, std::string tag) + bailey_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_video(*this, "fixfreq") diff --git a/src/mame/drivers/barata.cpp b/src/mame/drivers/barata.cpp index f12d9664a57..071928676f0 100644 --- a/src/mame/drivers/barata.cpp +++ b/src/mame/drivers/barata.cpp @@ -45,7 +45,7 @@ class barata_state : public driver_device { public: - barata_state(const machine_config &mconfig, device_type type, std::string tag) + barata_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac") { } diff --git a/src/mame/drivers/bartop52.cpp b/src/mame/drivers/bartop52.cpp index 5d485c9eb98..af9142250a5 100644 --- a/src/mame/drivers/bartop52.cpp +++ b/src/mame/drivers/bartop52.cpp @@ -28,7 +28,7 @@ class bartop52_state : public atari_common_state { public: - bartop52_state(const machine_config &mconfig, device_type type, std::string tag) + bartop52_state(const machine_config &mconfig, device_type type, const char *tag) : atari_common_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/basic52.cpp b/src/mame/drivers/basic52.cpp index 57776c6585d..f641beaef04 100644 --- a/src/mame/drivers/basic52.cpp +++ b/src/mame/drivers/basic52.cpp @@ -42,7 +42,7 @@ to discover the special features of this Basic. class basic52_state : public driver_device { public: - basic52_state(const machine_config &mconfig, device_type type, std::string tag) + basic52_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/bbcbc.cpp b/src/mame/drivers/bbcbc.cpp index 338f53f3571..3c50df82697 100644 --- a/src/mame/drivers/bbcbc.cpp +++ b/src/mame/drivers/bbcbc.cpp @@ -23,7 +23,7 @@ class bbcbc_state : public driver_device { public: - bbcbc_state(const machine_config &mconfig, device_type type, std::string tag) + bbcbc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cart(*this, "cartslot") diff --git a/src/mame/drivers/bcs3.cpp b/src/mame/drivers/bcs3.cpp index 753c31b95b0..cd885352dba 100644 --- a/src/mame/drivers/bcs3.cpp +++ b/src/mame/drivers/bcs3.cpp @@ -58,7 +58,7 @@ class bcs3_state : public driver_device { public: - bcs3_state(const machine_config &mconfig, device_type type, std::string tag) + bcs3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_ctc(*this, "ctc") diff --git a/src/mame/drivers/beaminv.cpp b/src/mame/drivers/beaminv.cpp index 5402dd1659d..4c78e8da6da 100644 --- a/src/mame/drivers/beaminv.cpp +++ b/src/mame/drivers/beaminv.cpp @@ -61,7 +61,7 @@ Stephh's notes (based on the games Z80 code and some tests) : class beaminv_state : public driver_device { public: - beaminv_state(const machine_config &mconfig, device_type type, std::string tag) + beaminv_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/beehive.cpp b/src/mame/drivers/beehive.cpp index 3a56b10b132..e152a41cc54 100644 --- a/src/mame/drivers/beehive.cpp +++ b/src/mame/drivers/beehive.cpp @@ -27,7 +27,7 @@ class beehive_state : public driver_device { public: - beehive_state(const machine_config &mconfig, device_type type, std::string tag) + beehive_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_p_videoram(*this, "videoram"){ } diff --git a/src/mame/drivers/belatra.cpp b/src/mame/drivers/belatra.cpp index cfa9c2b00b5..cb996f09781 100644 --- a/src/mame/drivers/belatra.cpp +++ b/src/mame/drivers/belatra.cpp @@ -48,7 +48,7 @@ Viking?s Fun Mill class belatra_state : public driver_device { public: - belatra_state(const machine_config &mconfig, device_type type, std::string tag) + belatra_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/berzerk.cpp b/src/mame/drivers/berzerk.cpp index 1467d38d108..5b0ce31c816 100644 --- a/src/mame/drivers/berzerk.cpp +++ b/src/mame/drivers/berzerk.cpp @@ -22,7 +22,7 @@ class berzerk_state : public driver_device { public: - berzerk_state(const machine_config &mconfig, device_type type, std::string tag) + berzerk_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_s14001a(*this, "speech"), diff --git a/src/mame/drivers/besta.cpp b/src/mame/drivers/besta.cpp index 12ed33d39dc..86f81074a68 100644 --- a/src/mame/drivers/besta.cpp +++ b/src/mame/drivers/besta.cpp @@ -30,7 +30,7 @@ class besta_state : public driver_device { public: - besta_state(const machine_config &mconfig, device_type type, std::string tag) + besta_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pit1 (*this, "pit1"), diff --git a/src/mame/drivers/bestleag.cpp b/src/mame/drivers/bestleag.cpp index 1aea9436c1e..24310dbc504 100644 --- a/src/mame/drivers/bestleag.cpp +++ b/src/mame/drivers/bestleag.cpp @@ -28,7 +28,7 @@ Dip Locations added according to Service Mode class bestleag_state : public driver_device { public: - bestleag_state(const machine_config &mconfig, device_type type, std::string tag) + bestleag_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki(*this, "oki"), diff --git a/src/mame/drivers/beta.cpp b/src/mame/drivers/beta.cpp index f414d788c6b..024a42d5c69 100644 --- a/src/mame/drivers/beta.cpp +++ b/src/mame/drivers/beta.cpp @@ -50,7 +50,7 @@ class beta_state : public driver_device { public: - beta_state(const machine_config &mconfig, device_type type, std::string tag) + beta_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, M6502_TAG), m_speaker(*this, "speaker"), diff --git a/src/mame/drivers/bfcobra.cpp b/src/mame/drivers/bfcobra.cpp index 68cabc04a2e..d26eff4d673 100644 --- a/src/mame/drivers/bfcobra.cpp +++ b/src/mame/drivers/bfcobra.cpp @@ -237,7 +237,7 @@ struct fdc_t class bfcobra_state : public driver_device { public: - bfcobra_state(const machine_config &mconfig, device_type type, std::string tag) : + bfcobra_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/bfm_sc1.cpp b/src/mame/drivers/bfm_sc1.cpp index 4a2d709566f..ec06c83bc6c 100644 --- a/src/mame/drivers/bfm_sc1.cpp +++ b/src/mame/drivers/bfm_sc1.cpp @@ -106,7 +106,7 @@ Optional (on expansion card) (Viper) class bfm_sc1_state : public driver_device { public: - bfm_sc1_state(const machine_config &mconfig, device_type type, std::string tag) + bfm_sc1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_reel0(*this, "reel0"), diff --git a/src/mame/drivers/bfm_sc2.cpp b/src/mame/drivers/bfm_sc2.cpp index 2c5f1de1595..eb423c68e54 100644 --- a/src/mame/drivers/bfm_sc2.cpp +++ b/src/mame/drivers/bfm_sc2.cpp @@ -179,7 +179,7 @@ Adder hardware: class bfm_sc2_state : public driver_device { public: - bfm_sc2_state(const machine_config &mconfig, device_type type, std::string tag) + bfm_sc2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_reel0(*this, "reel0"), diff --git a/src/mame/drivers/bfm_swp.cpp b/src/mame/drivers/bfm_swp.cpp index 9254a7b5878..5198984a975 100644 --- a/src/mame/drivers/bfm_swp.cpp +++ b/src/mame/drivers/bfm_swp.cpp @@ -108,7 +108,7 @@ TEST.TXT - suggests the content of a prototype version, which was expanded to ma class bfm_swp_state : public driver_device { public: - bfm_swp_state(const machine_config &mconfig, device_type type, std::string tag) + bfm_swp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/bfmsys83.cpp b/src/mame/drivers/bfmsys83.cpp index 46e39d24b49..1fbed4b72c5 100644 --- a/src/mame/drivers/bfmsys83.cpp +++ b/src/mame/drivers/bfmsys83.cpp @@ -11,7 +11,7 @@ class bfmsys83_state : public driver_device { public: - bfmsys83_state(const machine_config &mconfig, device_type type, std::string tag) + bfmsys83_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/bfmsys85.cpp b/src/mame/drivers/bfmsys85.cpp index 4d4e8952876..c41647ab58a 100644 --- a/src/mame/drivers/bfmsys85.cpp +++ b/src/mame/drivers/bfmsys85.cpp @@ -73,7 +73,7 @@ ___________________________________________________________________________ class bfmsys85_state : public driver_device { public: - bfmsys85_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), + bfmsys85_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_vfd(*this, "vfd"), m_maincpu(*this, "maincpu"), m_reel0(*this, "reel0"), diff --git a/src/mame/drivers/bgt.cpp b/src/mame/drivers/bgt.cpp index 2d7291e3fbb..740c4a48621 100644 --- a/src/mame/drivers/bgt.cpp +++ b/src/mame/drivers/bgt.cpp @@ -16,7 +16,7 @@ class bgt_state : public driver_device { public: - bgt_state(const machine_config &mconfig, device_type type, std::string tag) + bgt_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/big10.cpp b/src/mame/drivers/big10.cpp index a838199fd0c..26b7c4c05e7 100644 --- a/src/mame/drivers/big10.cpp +++ b/src/mame/drivers/big10.cpp @@ -68,7 +68,7 @@ class big10_state : public driver_device { public: - big10_state(const machine_config &mconfig, device_type type, std::string tag) + big10_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_v9938(*this, "v9938") , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/bigbord2.cpp b/src/mame/drivers/bigbord2.cpp index 622c3136b7d..8bc7191eb28 100644 --- a/src/mame/drivers/bigbord2.cpp +++ b/src/mame/drivers/bigbord2.cpp @@ -102,7 +102,7 @@ X - change banks class bigbord2_state : public driver_device { public: - bigbord2_state(const machine_config &mconfig, device_type type, std::string tag) + bigbord2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_6845(*this, "crtc"), diff --git a/src/mame/drivers/binbug.cpp b/src/mame/drivers/binbug.cpp index 374036bb02a..ba135c2b0ed 100644 --- a/src/mame/drivers/binbug.cpp +++ b/src/mame/drivers/binbug.cpp @@ -61,7 +61,7 @@ class binbug_state : public driver_device { public: - binbug_state(const machine_config &mconfig, device_type type, std::string tag) + binbug_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_rs232(*this, KEYBOARD_TAG), m_cass(*this, "cassette"), @@ -408,7 +408,7 @@ ToDo: class dg680_state : public binbug_state { public: - dg680_state(const machine_config &mconfig, device_type type, std::string tag) + dg680_state(const machine_config &mconfig, device_type type, const char *tag) : binbug_state(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ctc(*this, "z80ctc"), diff --git a/src/mame/drivers/bingo.cpp b/src/mame/drivers/bingo.cpp index 9f7f4929bdc..a07858a1045 100644 --- a/src/mame/drivers/bingo.cpp +++ b/src/mame/drivers/bingo.cpp @@ -9,7 +9,7 @@ class bingo_state : public driver_device { public: - bingo_state(const machine_config &mconfig, device_type type, std::string tag) + bingo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } @@ -52,7 +52,7 @@ MACHINE_CONFIG_END class seeben_state : public driver_device { public: - seeben_state(const machine_config &mconfig, device_type type, std::string tag) + seeben_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } @@ -92,7 +92,7 @@ MACHINE_CONFIG_END class splin_state : public driver_device { public: - splin_state(const machine_config &mconfig, device_type type, std::string tag) + splin_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/bingoc.cpp b/src/mame/drivers/bingoc.cpp index fbe6950f2df..868fd3c3563 100644 --- a/src/mame/drivers/bingoc.cpp +++ b/src/mame/drivers/bingoc.cpp @@ -39,7 +39,7 @@ SOUND : YM2151 uPD7759C class bingoc_state : public driver_device { public: - bingoc_state(const machine_config &mconfig, device_type type, std::string tag) + bingoc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/drivers/bingoman.cpp b/src/mame/drivers/bingoman.cpp index acc22932547..f9551bcfd67 100644 --- a/src/mame/drivers/bingoman.cpp +++ b/src/mame/drivers/bingoman.cpp @@ -246,7 +246,7 @@ class bingoman_state : public driver_device { public: - bingoman_state(const machine_config &mconfig, device_type type, std::string tag) + bingoman_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/bingor.cpp b/src/mame/drivers/bingor.cpp index 16fd508d8c2..a02e65854cb 100644 --- a/src/mame/drivers/bingor.cpp +++ b/src/mame/drivers/bingor.cpp @@ -448,7 +448,7 @@ class bingor_state : public driver_device { public: - bingor_state(const machine_config &mconfig, device_type type, std::string tag) + bingor_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_blit_ram(*this, "blit_ram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/bitgraph.cpp b/src/mame/drivers/bitgraph.cpp index 7b7b24f0281..511f4fb2a1b 100644 --- a/src/mame/drivers/bitgraph.cpp +++ b/src/mame/drivers/bitgraph.cpp @@ -91,7 +91,7 @@ class bitgraph_state : public driver_device { public: - bitgraph_state(const machine_config &mconfig, device_type type, std::string tag) + bitgraph_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, M68K_TAG) , m_ram(*this, RAM_TAG) diff --git a/src/mame/drivers/blackt96.cpp b/src/mame/drivers/blackt96.cpp index bd9002d508c..ac63060d5aa 100644 --- a/src/mame/drivers/blackt96.cpp +++ b/src/mame/drivers/blackt96.cpp @@ -93,7 +93,7 @@ There are some unmapped writes past the end of text ram too class blackt96_state : public driver_device { public: - blackt96_state(const machine_config &mconfig, device_type type, std::string tag) + blackt96_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_tilemapram(*this, "tilemapram"), m_spriteram0(*this, "spriteram0"), diff --git a/src/mame/drivers/blitz.cpp b/src/mame/drivers/blitz.cpp index 1e3f4eba593..b4a5eb325f0 100644 --- a/src/mame/drivers/blitz.cpp +++ b/src/mame/drivers/blitz.cpp @@ -268,7 +268,7 @@ class blitz_state : public driver_device { public: - blitz_state(const machine_config &mconfig, device_type type, std::string tag) + blitz_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/blitz68k.cpp b/src/mame/drivers/blitz68k.cpp index 2b77e418c7d..ffa7d6215c8 100644 --- a/src/mame/drivers/blitz68k.cpp +++ b/src/mame/drivers/blitz68k.cpp @@ -55,7 +55,7 @@ To Do: class blitz68k_state : public driver_device { public: - blitz68k_state(const machine_config &mconfig, device_type type, std::string tag) + blitz68k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_nvram(*this, "nvram"), m_frame_buffer(*this, "frame_buffer"), diff --git a/src/mame/drivers/blockhl.cpp b/src/mame/drivers/blockhl.cpp index ef8fecd3c5d..8cca358e26a 100644 --- a/src/mame/drivers/blockhl.cpp +++ b/src/mame/drivers/blockhl.cpp @@ -34,7 +34,7 @@ class blockhl_state : public driver_device { public: - blockhl_state(const machine_config &mconfig, device_type type, std::string tag) + blockhl_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_bank5800(*this, "bank5800"), diff --git a/src/mame/drivers/bmcbowl.cpp b/src/mame/drivers/bmcbowl.cpp index f41f470f429..13a12271374 100644 --- a/src/mame/drivers/bmcbowl.cpp +++ b/src/mame/drivers/bmcbowl.cpp @@ -116,7 +116,7 @@ Main board: class bmcbowl_state : public driver_device { public: - bmcbowl_state(const machine_config &mconfig, device_type type, std::string tag) + bmcbowl_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_stats_ram(*this, "nvram", 16), diff --git a/src/mame/drivers/bmcpokr.cpp b/src/mame/drivers/bmcpokr.cpp index 33625269585..6bd9d2c6ce8 100644 --- a/src/mame/drivers/bmcpokr.cpp +++ b/src/mame/drivers/bmcpokr.cpp @@ -26,7 +26,7 @@ Other: BMC B816140 (CPLD) class bmcpokr_state : public driver_device { public: - bmcpokr_state(const machine_config &mconfig, device_type type, std::string tag) + bmcpokr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_hopper(*this,"hopper"), diff --git a/src/mame/drivers/bmjr.cpp b/src/mame/drivers/bmjr.cpp index b45699cb8b7..9778a751434 100644 --- a/src/mame/drivers/bmjr.cpp +++ b/src/mame/drivers/bmjr.cpp @@ -24,7 +24,7 @@ class bmjr_state : public driver_device { public: - bmjr_state(const machine_config &mconfig, device_type type, std::string tag) + bmjr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cass(*this, "cassette"), diff --git a/src/mame/drivers/bml3.cpp b/src/mame/drivers/bml3.cpp index c76f24a05e2..a2e405950c6 100644 --- a/src/mame/drivers/bml3.cpp +++ b/src/mame/drivers/bml3.cpp @@ -66,7 +66,7 @@ class bml3_state : public driver_device { public: - bml3_state(const machine_config &mconfig, device_type type, std::string tag) : + bml3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_bml3bus(*this, "bml3bus"), diff --git a/src/mame/drivers/bnstars.cpp b/src/mame/drivers/bnstars.cpp index eb0e9ce824a..7172817b195 100644 --- a/src/mame/drivers/bnstars.cpp +++ b/src/mame/drivers/bnstars.cpp @@ -100,7 +100,7 @@ ROMs : MR96004-10.1 [125661cd] (IC5 - Samples) class bnstars_state : public ms32_state { public: - bnstars_state(const machine_config &mconfig, device_type type, std::string tag) + bnstars_state(const machine_config &mconfig, device_type type, const char *tag) : ms32_state(mconfig, type, tag), m_ms32_tx0_ram(*this, "tx0_ram"), m_ms32_tx1_ram(*this, "tx1_ram"), diff --git a/src/mame/drivers/bntyhunt.cpp b/src/mame/drivers/bntyhunt.cpp index 6a573f1f066..3d66dcb77c5 100644 --- a/src/mame/drivers/bntyhunt.cpp +++ b/src/mame/drivers/bntyhunt.cpp @@ -14,7 +14,7 @@ class bntyhunt_state : public driver_device { public: - bntyhunt_state(const machine_config &mconfig, device_type type, std::string tag) + bntyhunt_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/bob85.cpp b/src/mame/drivers/bob85.cpp index 8ab90ec2210..d0c1eb88965 100644 --- a/src/mame/drivers/bob85.cpp +++ b/src/mame/drivers/bob85.cpp @@ -30,7 +30,7 @@ Test Paste: class bob85_state : public driver_device { public: - bob85_state(const machine_config &mconfig, device_type type, std::string tag) + bob85_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cass(*this, "cassette"), diff --git a/src/mame/drivers/bowltry.cpp b/src/mame/drivers/bowltry.cpp index 6e0f090e6ae..73e4b83a055 100644 --- a/src/mame/drivers/bowltry.cpp +++ b/src/mame/drivers/bowltry.cpp @@ -36,7 +36,7 @@ class bowltry_state : public driver_device { public: - bowltry_state(const machine_config &mconfig, device_type type, std::string tag) + bowltry_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/boxer.cpp b/src/mame/drivers/boxer.cpp index 0874a013ab2..eb31c5dc174 100644 --- a/src/mame/drivers/boxer.cpp +++ b/src/mame/drivers/boxer.cpp @@ -31,7 +31,7 @@ public: TIMER_PERIODIC }; - boxer_state(const machine_config &mconfig, device_type type, std::string tag) + boxer_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_tile_ram(*this, "tile_ram"), m_sprite_ram(*this, "sprite_ram"), diff --git a/src/mame/drivers/br8641.cpp b/src/mame/drivers/br8641.cpp index 018e02cae06..df76c9ee91b 100644 --- a/src/mame/drivers/br8641.cpp +++ b/src/mame/drivers/br8641.cpp @@ -32,7 +32,7 @@ ToDo: class brandt8641_state : public driver_device { public: - brandt8641_state(const machine_config &mconfig, device_type type, std::string tag) + brandt8641_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_pio1(*this, "pio1") diff --git a/src/mame/drivers/buster.cpp b/src/mame/drivers/buster.cpp index b1a6eec73f9..f08a32eeb0a 100644 --- a/src/mame/drivers/buster.cpp +++ b/src/mame/drivers/buster.cpp @@ -17,7 +17,7 @@ Video Fruit Machine class buster_state : public driver_device { public: - buster_state(const machine_config &mconfig, device_type type, std::string tag) + buster_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_vram(*this, "vram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/by17.cpp b/src/mame/drivers/by17.cpp index 45d1a6b3e98..690409b5c13 100644 --- a/src/mame/drivers/by17.cpp +++ b/src/mame/drivers/by17.cpp @@ -29,7 +29,7 @@ ToDo: class by17_state : public genpin_class { public: - by17_state(const machine_config &mconfig, device_type type, std::string tag) + by17_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_nvram(*this, "nvram") diff --git a/src/mame/drivers/by35.cpp b/src/mame/drivers/by35.cpp index f89e94f64de..476804d398b 100644 --- a/src/mame/drivers/by35.cpp +++ b/src/mame/drivers/by35.cpp @@ -77,7 +77,7 @@ ToDo: class by35_state : public genpin_class { public: - by35_state(const machine_config &mconfig, device_type type, std::string tag) + by35_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_nvram(*this, "nvram") diff --git a/src/mame/drivers/by6803.cpp b/src/mame/drivers/by6803.cpp index 08681622411..bc7ce7e9f14 100644 --- a/src/mame/drivers/by6803.cpp +++ b/src/mame/drivers/by6803.cpp @@ -31,7 +31,7 @@ ToDo: class by6803_state : public genpin_class { public: - by6803_state(const machine_config &mconfig, device_type type, std::string tag) + by6803_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_pia0(*this, "pia0") diff --git a/src/mame/drivers/by68701.cpp b/src/mame/drivers/by68701.cpp index d17e26ed2fd..4dbcec6d9b6 100644 --- a/src/mame/drivers/by68701.cpp +++ b/src/mame/drivers/by68701.cpp @@ -7,7 +7,7 @@ class by68701_state : public driver_device { public: - by68701_state(const machine_config &mconfig, device_type type, std::string tag) + by68701_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/byvid.cpp b/src/mame/drivers/byvid.cpp index 9a59640547a..bd1b267a62d 100644 --- a/src/mame/drivers/byvid.cpp +++ b/src/mame/drivers/byvid.cpp @@ -49,7 +49,7 @@ ToDo (granny): class by133_state : public driver_device { public: - by133_state(const machine_config &mconfig, device_type type, std::string tag) + by133_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_videocpu(*this, "videocpu") diff --git a/src/mame/drivers/c10.cpp b/src/mame/drivers/c10.cpp index 097e94fd4fd..a2333d810b7 100644 --- a/src/mame/drivers/c10.cpp +++ b/src/mame/drivers/c10.cpp @@ -24,7 +24,7 @@ public: TIMER_RESET }; - c10_state(const machine_config &mconfig, device_type type, std::string tag) + c10_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_p_videoram(*this, "p_videoram"){ } diff --git a/src/mame/drivers/c64dtv.cpp b/src/mame/drivers/c64dtv.cpp index f36cefb100f..4b707dfa585 100644 --- a/src/mame/drivers/c64dtv.cpp +++ b/src/mame/drivers/c64dtv.cpp @@ -11,7 +11,7 @@ class c64dtv_state : public driver_device { public: // constructor - c64dtv_state(const machine_config &mconfig, device_type type, std::string tag) + c64dtv_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) { } UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) diff --git a/src/mame/drivers/c65.cpp b/src/mame/drivers/c65.cpp index 5a6e9a37714..fb9f882ead7 100644 --- a/src/mame/drivers/c65.cpp +++ b/src/mame/drivers/c65.cpp @@ -28,7 +28,7 @@ Note: class c65_state : public driver_device { public: - c65_state(const machine_config &mconfig, device_type type, std::string tag) + c65_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cia0(*this, "cia_0"), diff --git a/src/mame/drivers/c900.cpp b/src/mame/drivers/c900.cpp index e3a7defd0df..18e5238c3eb 100644 --- a/src/mame/drivers/c900.cpp +++ b/src/mame/drivers/c900.cpp @@ -29,7 +29,7 @@ class c900_state : public driver_device { public: - c900_state(const machine_config &mconfig, device_type type, std::string tag) + c900_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/cabaret.cpp b/src/mame/drivers/cabaret.cpp index 82be78a6dc0..bdaf1aef465 100644 --- a/src/mame/drivers/cabaret.cpp +++ b/src/mame/drivers/cabaret.cpp @@ -31,7 +31,7 @@ are the same of IGS. AMT may be previous IGS name. class cabaret_state : public driver_device { public: - cabaret_state(const machine_config &mconfig, device_type type, std::string tag) + cabaret_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_fg_tile_ram(*this, "fg_tile_ram"), m_fg_color_ram(*this, "fg_color_ram"), diff --git a/src/mame/drivers/calchase.cpp b/src/mame/drivers/calchase.cpp index ed89e2a015a..18354d8e5dc 100644 --- a/src/mame/drivers/calchase.cpp +++ b/src/mame/drivers/calchase.cpp @@ -142,7 +142,7 @@ something wrong in the disk geometry reported by calchase.chd (20,255,63) since class calchase_state : public pcat_base_state { public: - calchase_state(const machine_config &mconfig, device_type type, std::string tag) + calchase_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag), m_dac_l(*this, "dac_l"), m_dac_r(*this, "dac_r") diff --git a/src/mame/drivers/calorie.cpp b/src/mame/drivers/calorie.cpp index 87da9cd5fa8..a4602d37189 100644 --- a/src/mame/drivers/calorie.cpp +++ b/src/mame/drivers/calorie.cpp @@ -88,7 +88,7 @@ Notes: class calorie_state : public driver_device { public: - calorie_state(const machine_config &mconfig, device_type type, std::string tag) + calorie_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_fg_ram(*this, "fg_ram"), m_sprites(*this, "sprites"), diff --git a/src/mame/drivers/camplynx.cpp b/src/mame/drivers/camplynx.cpp index 884bc419f0a..96cc919dfb9 100644 --- a/src/mame/drivers/camplynx.cpp +++ b/src/mame/drivers/camplynx.cpp @@ -129,7 +129,7 @@ class camplynx_state : public driver_device { public: - camplynx_state(const machine_config &mconfig, device_type type, std::string tag) + camplynx_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/canon_s80.cpp b/src/mame/drivers/canon_s80.cpp index c545f87dbf5..2ee2325ce0e 100644 --- a/src/mame/drivers/canon_s80.cpp +++ b/src/mame/drivers/canon_s80.cpp @@ -23,7 +23,7 @@ class canons80_state : public driver_device { public: - canons80_state(const machine_config &mconfig, device_type type, std::string tag) + canons80_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) { } diff --git a/src/mame/drivers/capcom.cpp b/src/mame/drivers/capcom.cpp index 54f07bd6d37..04c06f3f3f1 100644 --- a/src/mame/drivers/capcom.cpp +++ b/src/mame/drivers/capcom.cpp @@ -11,7 +11,7 @@ class capcom_state : public driver_device { public: - capcom_state(const machine_config &mconfig, device_type type, std::string tag) + capcom_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/capr1.cpp b/src/mame/drivers/capr1.cpp index 962f3e4ce3f..4203174914c 100644 --- a/src/mame/drivers/capr1.cpp +++ b/src/mame/drivers/capr1.cpp @@ -36,7 +36,7 @@ TODO: class capr1_state : public driver_device { public: - capr1_state(const machine_config &mconfig, device_type type, std::string tag) + capr1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/caprcyc.cpp b/src/mame/drivers/caprcyc.cpp index 252f67a88ec..9ac04280b94 100644 --- a/src/mame/drivers/caprcyc.cpp +++ b/src/mame/drivers/caprcyc.cpp @@ -22,7 +22,7 @@ TODO: class caprcyc_state : public driver_device { public: - caprcyc_state(const machine_config &mconfig, device_type type, std::string tag) + caprcyc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/cardline.cpp b/src/mame/drivers/cardline.cpp index da62e39556e..740fb7e28f4 100644 --- a/src/mame/drivers/cardline.cpp +++ b/src/mame/drivers/cardline.cpp @@ -33,7 +33,7 @@ class cardline_state : public driver_device { public: - cardline_state(const machine_config &mconfig, device_type type, std::string tag) + cardline_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/carrera.cpp b/src/mame/drivers/carrera.cpp index d2b073ea1d8..d567ecc67da 100644 --- a/src/mame/drivers/carrera.cpp +++ b/src/mame/drivers/carrera.cpp @@ -57,7 +57,7 @@ TODO: class carrera_state : public driver_device { public: - carrera_state(const machine_config &mconfig, device_type type, std::string tag) + carrera_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_tileram(*this, "tileram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/casloopy.cpp b/src/mame/drivers/casloopy.cpp index 69c0934bb9e..c3639d185d5 100644 --- a/src/mame/drivers/casloopy.cpp +++ b/src/mame/drivers/casloopy.cpp @@ -159,7 +159,7 @@ PCB 'Z545-1 A240570-1' class casloopy_state : public driver_device { public: - casloopy_state(const machine_config &mconfig, device_type type, std::string tag) + casloopy_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_bios_rom(*this, "bios_rom"), m_vregs(*this, "vregs"), diff --git a/src/mame/drivers/castle.cpp b/src/mame/drivers/castle.cpp index 39a1862379d..056273db2b1 100644 --- a/src/mame/drivers/castle.cpp +++ b/src/mame/drivers/castle.cpp @@ -50,7 +50,7 @@ class castle_state : public driver_device { public: - castle_state(const machine_config &mconfig, device_type type, std::string tag) + castle_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/caswin.cpp b/src/mame/drivers/caswin.cpp index 6c61a82e882..f774057fd73 100644 --- a/src/mame/drivers/caswin.cpp +++ b/src/mame/drivers/caswin.cpp @@ -76,7 +76,7 @@ TODO: class caswin_state : public driver_device { public: - caswin_state(const machine_config &mconfig, device_type type, std::string tag) + caswin_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_sc0_vram(*this, "sc0_vram"), m_sc0_attr(*this, "sc0_attr"), diff --git a/src/mame/drivers/cat.cpp b/src/mame/drivers/cat.cpp index e60e7fab12a..fd892b3b877 100644 --- a/src/mame/drivers/cat.cpp +++ b/src/mame/drivers/cat.cpp @@ -239,7 +239,7 @@ public: TIMER_COUNTER_6MS }; - cat_state(const machine_config &mconfig, device_type type, std::string tag) + cat_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), //m_nvram(*this, "nvram"), // merge with svram? diff --git a/src/mame/drivers/cavepc.cpp b/src/mame/drivers/cavepc.cpp index 29b0a7f2673..7bd1c83b794 100644 --- a/src/mame/drivers/cavepc.cpp +++ b/src/mame/drivers/cavepc.cpp @@ -58,7 +58,7 @@ class cavepc_state : public driver_device { public: - cavepc_state(const machine_config &mconfig, device_type type, std::string tag) + cavepc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/cb2001.cpp b/src/mame/drivers/cb2001.cpp index 57b1793b269..10fc8bb527a 100644 --- a/src/mame/drivers/cb2001.cpp +++ b/src/mame/drivers/cb2001.cpp @@ -51,7 +51,7 @@ this seems more like 8-bit hardware, maybe it should be v25, not v35... class cb2001_state : public driver_device { public: - cb2001_state(const machine_config &mconfig, device_type type, std::string tag) + cb2001_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_vram_fg(*this, "vrafg"), m_vram_bg(*this, "vrabg"), diff --git a/src/mame/drivers/cball.cpp b/src/mame/drivers/cball.cpp index 7f39ca6ac60..ecb12c186d3 100644 --- a/src/mame/drivers/cball.cpp +++ b/src/mame/drivers/cball.cpp @@ -18,7 +18,7 @@ public: TIMER_INTERRUPT }; - cball_state(const machine_config &mconfig, device_type type, std::string tag) + cball_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/cc40.cpp b/src/mame/drivers/cc40.cpp index 6cbca332b59..bd65fc2fc78 100644 --- a/src/mame/drivers/cc40.cpp +++ b/src/mame/drivers/cc40.cpp @@ -87,7 +87,7 @@ class cc40_state : public driver_device { public: - cc40_state(const machine_config &mconfig, device_type type, std::string tag) + cc40_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), diff --git a/src/mame/drivers/cchance.cpp b/src/mame/drivers/cchance.cpp index 0e21b411823..0283cf99df9 100644 --- a/src/mame/drivers/cchance.cpp +++ b/src/mame/drivers/cchance.cpp @@ -42,7 +42,7 @@ cha3 $10d8 class cchance_state : public tnzs_state { public: - cchance_state(const machine_config &mconfig, device_type type, std::string tag) + cchance_state(const machine_config &mconfig, device_type type, const char *tag) : tnzs_state(mconfig, type, tag) { } UINT8 m_hop_io; diff --git a/src/mame/drivers/ccs2810.cpp b/src/mame/drivers/ccs2810.cpp index f6a02d05b87..ab38592295a 100644 --- a/src/mame/drivers/ccs2810.cpp +++ b/src/mame/drivers/ccs2810.cpp @@ -71,7 +71,7 @@ ToDo: class ccs_state : public driver_device { public: - ccs_state(const machine_config &mconfig, device_type type, std::string tag) + ccs_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG), diff --git a/src/mame/drivers/ccs300.cpp b/src/mame/drivers/ccs300.cpp index c3daaaf5aed..a0842350bd2 100644 --- a/src/mame/drivers/ccs300.cpp +++ b/src/mame/drivers/ccs300.cpp @@ -28,7 +28,7 @@ There's unknown usage of ports 11 thru 1B, 34, and F0 thru F2. class ccs300_state : public driver_device { public: - ccs300_state(const machine_config &mconfig, device_type type, std::string tag) + ccs300_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/cd2650.cpp b/src/mame/drivers/cd2650.cpp index 35da04fe9e8..ae40d4deaa3 100644 --- a/src/mame/drivers/cd2650.cpp +++ b/src/mame/drivers/cd2650.cpp @@ -41,7 +41,7 @@ TODO class cd2650_state : public driver_device { public: - cd2650_state(const machine_config &mconfig, device_type type, std::string tag) + cd2650_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/cdc721.cpp b/src/mame/drivers/cdc721.cpp index 1e33d15d78c..497ba6d5a68 100644 --- a/src/mame/drivers/cdc721.cpp +++ b/src/mame/drivers/cdc721.cpp @@ -16,7 +16,7 @@ Control Data Corporation CDC 721 Terminal (Viking) class cdc721_state : public driver_device { public: - cdc721_state(const machine_config &mconfig, device_type type, std::string tag) + cdc721_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_p_videoram(*this, "videoram") , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/cesclass.cpp b/src/mame/drivers/cesclass.cpp index 320ffefb2b9..28f85f089e3 100644 --- a/src/mame/drivers/cesclass.cpp +++ b/src/mame/drivers/cesclass.cpp @@ -31,7 +31,7 @@ class cesclassic_state : public driver_device { public: - cesclassic_state(const machine_config &mconfig, device_type type, std::string tag) + cesclassic_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki(*this, "oki"), diff --git a/src/mame/drivers/cfx9850.cpp b/src/mame/drivers/cfx9850.cpp index 1782a100e40..30ec1e78b4b 100644 --- a/src/mame/drivers/cfx9850.cpp +++ b/src/mame/drivers/cfx9850.cpp @@ -26,7 +26,7 @@ Debugging information: class cfx9850_state : public driver_device { public: - cfx9850_state(const machine_config &mconfig, device_type type, std::string tag) + cfx9850_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_video_ram(*this, "video_ram"), m_display_ram(*this, "display_ram"), diff --git a/src/mame/drivers/cgenie.cpp b/src/mame/drivers/cgenie.cpp index 5afce95112a..a306f55c440 100644 --- a/src/mame/drivers/cgenie.cpp +++ b/src/mame/drivers/cgenie.cpp @@ -31,7 +31,7 @@ class cgenie_state : public driver_device { public: - cgenie_state(const machine_config &mconfig, device_type type, std::string tag) + cgenie_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cassette(*this, "cassette"), diff --git a/src/mame/drivers/cham24.cpp b/src/mame/drivers/cham24.cpp index f2d9001e04b..0fc42e73776 100644 --- a/src/mame/drivers/cham24.cpp +++ b/src/mame/drivers/cham24.cpp @@ -64,7 +64,7 @@ Notes: class cham24_state : public driver_device { public: - cham24_state(const machine_config &mconfig, device_type type, std::string tag) + cham24_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ppu(*this, "ppu") { } diff --git a/src/mame/drivers/champbwl.cpp b/src/mame/drivers/champbwl.cpp index 1ee6c9585d3..745870f02bc 100644 --- a/src/mame/drivers/champbwl.cpp +++ b/src/mame/drivers/champbwl.cpp @@ -162,7 +162,7 @@ Notes: class champbwl_state : public driver_device { public: - champbwl_state(const machine_config &mconfig, device_type type, std::string tag) + champbwl_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_seta001(*this, "spritegen"), diff --git a/src/mame/drivers/chanbara.cpp b/src/mame/drivers/chanbara.cpp index 73464cc79b5..379730cdf1a 100644 --- a/src/mame/drivers/chanbara.cpp +++ b/src/mame/drivers/chanbara.cpp @@ -58,7 +58,7 @@ ToDo: class chanbara_state : public driver_device { public: - chanbara_state(const machine_config &mconfig, device_type type, std::string tag) + chanbara_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/chance32.cpp b/src/mame/drivers/chance32.cpp index 84bab3bf84a..b7831f8f159 100644 --- a/src/mame/drivers/chance32.cpp +++ b/src/mame/drivers/chance32.cpp @@ -29,7 +29,7 @@ class chance32_state : public driver_device { public: - chance32_state(const machine_config &mconfig, device_type type, std::string tag) + chance32_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_fgram(*this, "fgram"), m_bgram(*this, "bgram"), diff --git a/src/mame/drivers/chaos.cpp b/src/mame/drivers/chaos.cpp index 26f696b2890..b03531bc362 100644 --- a/src/mame/drivers/chaos.cpp +++ b/src/mame/drivers/chaos.cpp @@ -38,7 +38,7 @@ class chaos_state : public driver_device { public: - chaos_state(const machine_config &mconfig, device_type type, std::string tag) + chaos_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_terminal(*this, TERMINAL_TAG), m_p_ram(*this, "p_ram") , diff --git a/src/mame/drivers/chessmst.cpp b/src/mame/drivers/chessmst.cpp index fc0b057b28f..e92d94056dc 100644 --- a/src/mame/drivers/chessmst.cpp +++ b/src/mame/drivers/chessmst.cpp @@ -21,7 +21,7 @@ class chessmst_state : public driver_device { public: - chessmst_state(const machine_config &mconfig, device_type type, std::string tag) + chessmst_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker") diff --git a/src/mame/drivers/chesstrv.cpp b/src/mame/drivers/chesstrv.cpp index 616feb724f3..e34954a6af0 100644 --- a/src/mame/drivers/chesstrv.cpp +++ b/src/mame/drivers/chesstrv.cpp @@ -18,7 +18,7 @@ class chesstrv_state : public driver_device { public: - chesstrv_state(const machine_config &mconfig, device_type type, std::string tag) + chesstrv_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/chexx.cpp b/src/mame/drivers/chexx.cpp index 393e79f12d1..f32da626237 100644 --- a/src/mame/drivers/chexx.cpp +++ b/src/mame/drivers/chexx.cpp @@ -27,7 +27,7 @@ Electro-mechanical bubble hockey games: class chexx_state : public driver_device { public: - chexx_state(const machine_config &mconfig, device_type type, std::string tag) + chexx_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_via(*this, "via6522"), diff --git a/src/mame/drivers/chicago.cpp b/src/mame/drivers/chicago.cpp index b0c3b8a95e7..d426f8ab8f7 100644 --- a/src/mame/drivers/chicago.cpp +++ b/src/mame/drivers/chicago.cpp @@ -42,7 +42,7 @@ class chicago_state : public driver_device { public: - chicago_state(const machine_config &mconfig, device_type type, std::string tag) + chicago_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_video(*this, "fixfreq") diff --git a/src/mame/drivers/chihiro.cpp b/src/mame/drivers/chihiro.cpp index 91b8095298b..366ef73c704 100644 --- a/src/mame/drivers/chihiro.cpp +++ b/src/mame/drivers/chihiro.cpp @@ -382,7 +382,7 @@ Thanks to Alex, Mr Mudkips, and Philip Burke for this info. class chihiro_state : public xbox_base_state { public: - chihiro_state(const machine_config &mconfig, device_type type, std::string tag) : + chihiro_state(const machine_config &mconfig, device_type type, const char *tag) : xbox_base_state(mconfig, type, tag), usbhack_index(-1), usbhack_counter(0), @@ -598,7 +598,7 @@ class ide_baseboard_device : public ata_mass_storage_device { public: // construction/destruction - ide_baseboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + ide_baseboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual int read_sector(UINT32 lba, void *buffer) override; virtual int write_sector(UINT32 lba, const void *buffer) override; @@ -622,7 +622,7 @@ const device_type IDE_BASEBOARD = &device_creator; // ide_baseboard_device - constructor //------------------------------------------------- -ide_baseboard_device::ide_baseboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +ide_baseboard_device::ide_baseboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ata_mass_storage_device(mconfig, IDE_BASEBOARD, "IDE Baseboard", tag, owner, clock, "ide_baseboard", __FILE__) { } diff --git a/src/mame/drivers/chinagat.cpp b/src/mame/drivers/chinagat.cpp index d8fa10c368d..946d5020f38 100644 --- a/src/mame/drivers/chinagat.cpp +++ b/src/mame/drivers/chinagat.cpp @@ -88,7 +88,7 @@ Dip locations and factory settings verified with China Gate US manual. class chinagat_state : public ddragon_state { public: - chinagat_state(const machine_config &mconfig, device_type type, std::string tag) + chinagat_state(const machine_config &mconfig, device_type type, const char *tag) : ddragon_state(mconfig, type, tag), m_adpcm(*this, "adpcm") { }; diff --git a/src/mame/drivers/chinsan.cpp b/src/mame/drivers/chinsan.cpp index 7b24b1c0651..49d8e3e4adf 100644 --- a/src/mame/drivers/chinsan.cpp +++ b/src/mame/drivers/chinsan.cpp @@ -52,7 +52,7 @@ MM63.10N class chinsan_state : public driver_device { public: - chinsan_state(const machine_config &mconfig, device_type type, std::string tag) + chinsan_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_video(*this, "video"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/chsuper.cpp b/src/mame/drivers/chsuper.cpp index 9939e4fc6bc..226cf66514d 100644 --- a/src/mame/drivers/chsuper.cpp +++ b/src/mame/drivers/chsuper.cpp @@ -29,7 +29,7 @@ class chsuper_state : public driver_device { public: - chsuper_state(const machine_config &mconfig, device_type type, std::string tag) + chsuper_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/clayshoo.cpp b/src/mame/drivers/clayshoo.cpp index 862f79e636e..1db6d72efe3 100644 --- a/src/mame/drivers/clayshoo.cpp +++ b/src/mame/drivers/clayshoo.cpp @@ -24,7 +24,7 @@ class clayshoo_state : public driver_device { public: - clayshoo_state(const machine_config &mconfig, device_type type, std::string tag) + clayshoo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/clcd.cpp b/src/mame/drivers/clcd.cpp index 11b67f29cbe..52ac6a7534a 100644 --- a/src/mame/drivers/clcd.cpp +++ b/src/mame/drivers/clcd.cpp @@ -27,7 +27,7 @@ class clcd_state : public driver_device { public: - clcd_state(const machine_config &mconfig, device_type type, std::string tag) + clcd_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_acia(*this, "acia"), diff --git a/src/mame/drivers/cliffhgr.cpp b/src/mame/drivers/cliffhgr.cpp index 17ca329861d..c9cfe5f40b1 100644 --- a/src/mame/drivers/cliffhgr.cpp +++ b/src/mame/drivers/cliffhgr.cpp @@ -89,7 +89,7 @@ Side 2 = 0x8F7DDD (or 0x880000 | ( 0x77 << 12 ) | 0x0DDD) class cliffhgr_state : public driver_device { public: - cliffhgr_state(const machine_config &mconfig, device_type type, std::string tag) + cliffhgr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_laserdisc(*this, "laserdisc"), m_port_bank(0), diff --git a/src/mame/drivers/clowndwn.cpp b/src/mame/drivers/clowndwn.cpp index 5f9cbd0a282..2eacdadfc44 100644 --- a/src/mame/drivers/clowndwn.cpp +++ b/src/mame/drivers/clowndwn.cpp @@ -15,7 +15,7 @@ can't find any info on this? class clowndwn_state : public driver_device { public: - clowndwn_state(const machine_config &mconfig, device_type type, std::string tag) + clowndwn_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) // ,m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/cm1800.cpp b/src/mame/drivers/cm1800.cpp index 7ae7547b722..7659e8ec41d 100644 --- a/src/mame/drivers/cm1800.cpp +++ b/src/mame/drivers/cm1800.cpp @@ -42,7 +42,7 @@ to be a save command. class cm1800_state : public driver_device { public: - cm1800_state(const machine_config &mconfig, device_type type, std::string tag) + cm1800_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_terminal(*this, TERMINAL_TAG) , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/cmmb.cpp b/src/mame/drivers/cmmb.cpp index 1d27efee601..5e5da1d762a 100644 --- a/src/mame/drivers/cmmb.cpp +++ b/src/mame/drivers/cmmb.cpp @@ -53,7 +53,7 @@ OSC @ 72.576MHz class cmmb_state : public driver_device { public: - cmmb_state(const machine_config &mconfig, device_type type, std::string tag) + cmmb_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_videoram(*this, "videoram"), diff --git a/src/mame/drivers/cntsteer.cpp b/src/mame/drivers/cntsteer.cpp index ca90eb20489..99f7dd9a200 100644 --- a/src/mame/drivers/cntsteer.cpp +++ b/src/mame/drivers/cntsteer.cpp @@ -39,7 +39,7 @@ class cntsteer_state : public driver_device { public: - cntsteer_state(const machine_config &mconfig, device_type type, std::string tag) + cntsteer_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_videoram(*this, "videoram"), diff --git a/src/mame/drivers/cobra.cpp b/src/mame/drivers/cobra.cpp index fe19d74afa3..840feea61df 100644 --- a/src/mame/drivers/cobra.cpp +++ b/src/mame/drivers/cobra.cpp @@ -491,7 +491,7 @@ private: class cobra_jvs : public jvs_device { public: - cobra_jvs(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + cobra_jvs(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: virtual bool switches(UINT8 *&buf, UINT8 count_players, UINT8 bytes_per_switch) override; @@ -500,7 +500,7 @@ protected: const device_type COBRA_JVS = &device_creator; -cobra_jvs::cobra_jvs(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +cobra_jvs::cobra_jvs(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : jvs_device(mconfig, COBRA_JVS, "JVS (COBRA)", tag, owner, clock, "cobra_jvs", __FILE__) { } @@ -548,7 +548,7 @@ bool cobra_jvs::coin_counters(UINT8 *&buf, UINT8 count) class cobra_jvs_host : public jvs_host { public: - cobra_jvs_host(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + cobra_jvs_host(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); void write(UINT8, const UINT8 *&rec_data, UINT32 &rec_size); private: @@ -558,7 +558,7 @@ private: const device_type COBRA_JVS_HOST = &device_creator; -cobra_jvs_host::cobra_jvs_host(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +cobra_jvs_host::cobra_jvs_host(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : jvs_host(mconfig, COBRA_JVS_HOST, "JVS-HOST (COBRA)", tag, owner, clock, "cobra_jvs_host", __FILE__) { m_send_ptr = 0; @@ -605,7 +605,7 @@ void cobra_jvs_host::write(UINT8 data, const UINT8 *&rec_data, UINT32 &rec_size) class cobra_state : public driver_device { public: - cobra_state(const machine_config &mconfig, device_type type, std::string tag) + cobra_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "subcpu"), @@ -1072,7 +1072,7 @@ void cobra_fifo::push(const device_t *cpu, UINT64 data) if (cpu != nullptr) { // cpu has a name and a PC - sprintf(accessor_location, "(%s) %08X", cpu->tag().c_str(), const_cast(cpu)->safe_pc()); + sprintf(accessor_location, "(%s) %08X", cpu->tag(), const_cast(cpu)->safe_pc()); } else { @@ -1092,7 +1092,7 @@ void cobra_fifo::push(const device_t *cpu, UINT64 data) if (cpu != nullptr) { // cpu has a name and a PC - sprintf(accessor_location, "(%s) %08X", cpu->tag().c_str(), const_cast(cpu)->safe_pc()); + sprintf(accessor_location, "(%s) %08X", cpu->tag(), const_cast(cpu)->safe_pc()); } else { @@ -1149,7 +1149,7 @@ bool cobra_fifo::pop(const device_t *cpu, UINT64 *result) if (cpu != nullptr) { // cpu has a name and a PC - sprintf(accessor_location, "(%s) %08X", cpu->tag().c_str(), const_cast(cpu)->safe_pc()); + sprintf(accessor_location, "(%s) %08X", cpu->tag(), const_cast(cpu)->safe_pc()); } else { @@ -1170,7 +1170,7 @@ bool cobra_fifo::pop(const device_t *cpu, UINT64 *result) if (cpu != nullptr) { // cpu has a name and a PC - sprintf(accessor_location, "(%s) %08X", cpu->tag().c_str(), const_cast(cpu)->safe_pc()); + sprintf(accessor_location, "(%s) %08X", cpu->tag(), const_cast(cpu)->safe_pc()); } else { diff --git a/src/mame/drivers/cocoloco.cpp b/src/mame/drivers/cocoloco.cpp index fba66c57ebe..3111a461866 100644 --- a/src/mame/drivers/cocoloco.cpp +++ b/src/mame/drivers/cocoloco.cpp @@ -187,7 +187,7 @@ class cocoloco_state : public driver_device { public: - cocoloco_state(const machine_config &mconfig, device_type type, std::string tag) + cocoloco_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette") { } diff --git a/src/mame/drivers/codata.cpp b/src/mame/drivers/codata.cpp index ae49ae39d1b..9499ab38560 100644 --- a/src/mame/drivers/codata.cpp +++ b/src/mame/drivers/codata.cpp @@ -20,7 +20,7 @@ class codata_state : public driver_device { public: - codata_state(const machine_config &mconfig, device_type type, std::string tag) + codata_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_base(*this, "rambase"), m_terminal(*this, TERMINAL_TAG), diff --git a/src/mame/drivers/coinmstr.cpp b/src/mame/drivers/coinmstr.cpp index 2ebcc4b1944..ea5b3edf2aa 100644 --- a/src/mame/drivers/coinmstr.cpp +++ b/src/mame/drivers/coinmstr.cpp @@ -142,7 +142,7 @@ class coinmstr_state : public driver_device { public: - coinmstr_state(const machine_config &mconfig, device_type type, std::string tag) + coinmstr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_attr_ram1(*this, "attr_ram1"), diff --git a/src/mame/drivers/coinmvga.cpp b/src/mame/drivers/coinmvga.cpp index 6b66da5f6ca..9b0993bca4b 100644 --- a/src/mame/drivers/coinmvga.cpp +++ b/src/mame/drivers/coinmvga.cpp @@ -232,7 +232,7 @@ class coinmvga_state : public driver_device { public: - coinmvga_state(const machine_config &mconfig, device_type type, std::string tag) + coinmvga_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_vram(*this, "vram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/comebaby.cpp b/src/mame/drivers/comebaby.cpp index f3504116061..77d1beb119e 100644 --- a/src/mame/drivers/comebaby.cpp +++ b/src/mame/drivers/comebaby.cpp @@ -187,7 +187,7 @@ Nearly everything. class comebaby_state : public driver_device { public: - comebaby_state(const machine_config &mconfig, device_type type, std::string tag) + comebaby_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/compucolor.cpp b/src/mame/drivers/compucolor.cpp index d77f6bc9d33..30f4b594ef3 100644 --- a/src/mame/drivers/compucolor.cpp +++ b/src/mame/drivers/compucolor.cpp @@ -36,7 +36,7 @@ class compucolor2_state : public driver_device { public: - compucolor2_state(const machine_config &mconfig, device_type type, std::string tag) + compucolor2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, I8080_TAG), m_mioc(*this, TMS5501_TAG), diff --git a/src/mame/drivers/coolridr.cpp b/src/mame/drivers/coolridr.cpp index 294fd5384d8..b6d0b5a83fd 100644 --- a/src/mame/drivers/coolridr.cpp +++ b/src/mame/drivers/coolridr.cpp @@ -298,7 +298,7 @@ to the same bank as defined through A20. class coolridr_state : public driver_device { public: - coolridr_state(const machine_config &mconfig, device_type type, std::string tag) + coolridr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_textBytesToWrite(0x00), m_blitterSerialCount(0x00), diff --git a/src/mame/drivers/cops.cpp b/src/mame/drivers/cops.cpp index bd5d904f40e..44529d40ae3 100644 --- a/src/mame/drivers/cops.cpp +++ b/src/mame/drivers/cops.cpp @@ -42,7 +42,7 @@ class cops_state : public driver_device { public: - cops_state(const machine_config &mconfig, device_type type, std::string tag) + cops_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_sn(*this, "snsnd"), diff --git a/src/mame/drivers/corona.cpp b/src/mame/drivers/corona.cpp index 0a08468a3ec..b4037863bf3 100644 --- a/src/mame/drivers/corona.cpp +++ b/src/mame/drivers/corona.cpp @@ -320,7 +320,7 @@ class corona_state : public driver_device { public: - corona_state(const machine_config &mconfig, device_type type, std::string tag) + corona_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/drivers/cortex.cpp b/src/mame/drivers/cortex.cpp index fbbab872536..7e9d3c9a351 100644 --- a/src/mame/drivers/cortex.cpp +++ b/src/mame/drivers/cortex.cpp @@ -30,7 +30,7 @@ class cortex_state : public driver_device { public: - cortex_state(const machine_config &mconfig, device_type type, std::string tag) + cortex_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_p_ram(*this, "ram") diff --git a/src/mame/drivers/cp1.cpp b/src/mame/drivers/cp1.cpp index 8aceeca2a8e..bf7e382819e 100644 --- a/src/mame/drivers/cp1.cpp +++ b/src/mame/drivers/cp1.cpp @@ -22,7 +22,7 @@ class cp1_state : public driver_device { public: - cp1_state(const machine_config &mconfig, device_type type, std::string tag) + cp1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_i8155(*this, "i8155"), diff --git a/src/mame/drivers/cps3.cpp b/src/mame/drivers/cps3.cpp index 43c7bd7a0f6..af0104474a6 100644 --- a/src/mame/drivers/cps3.cpp +++ b/src/mame/drivers/cps3.cpp @@ -1404,22 +1404,22 @@ READ32_MEMBER(cps3_state::cps3_gfxflash_r) if (ACCESSING_BITS_24_31) // GFX Flash 1 { - logerror("read GFX flash chip %s addr %02x\n", chip0->tag().c_str(), (offset<<1)); + logerror("read GFX flash chip %s addr %02x\n", chip0->tag(), (offset<<1)); result |= chip0->read( (offset<<1) ) << 24; } if (ACCESSING_BITS_16_23) // GFX Flash 2 { - logerror("read GFX flash chip %s addr %02x\n", chip1->tag().c_str(), (offset<<1)); + logerror("read GFX flash chip %s addr %02x\n", chip1->tag(), (offset<<1)); result |= chip1->read( (offset<<1) ) << 16; } if (ACCESSING_BITS_8_15) // GFX Flash 1 { - logerror("read GFX flash chip %s addr %02x\n", chip0->tag().c_str(), (offset<<1)+1); + logerror("read GFX flash chip %s addr %02x\n", chip0->tag(), (offset<<1)+1); result |= chip0->read( (offset<<1)+0x1 ) << 8; } if (ACCESSING_BITS_0_7) // GFX Flash 2 { - logerror("read GFX flash chip %s addr %02x\n", chip1->tag().c_str(), (offset<<1)+1); + logerror("read GFX flash chip %s addr %02x\n", chip1->tag(), (offset<<1)+1); result |= chip1->read( (offset<<1)+0x1 ) << 0; } @@ -1444,19 +1444,19 @@ WRITE32_MEMBER(cps3_state::cps3_gfxflash_w) if (ACCESSING_BITS_24_31) // GFX Flash 1 { command = (data >> 24) & 0xff; - logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip0->tag().c_str(), (offset<<1), command); + logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip0->tag(), (offset<<1), command); chip0->write( (offset<<1), command); } if (ACCESSING_BITS_16_23) // GFX Flash 2 { command = (data >> 16) & 0xff; - logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip1->tag().c_str(), (offset<<1), command); + logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip1->tag(), (offset<<1), command); chip1->write( (offset<<1), command); } if (ACCESSING_BITS_8_15) // GFX Flash 1 { command = (data >> 8) & 0xff; - logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip0->tag().c_str(), (offset<<1)+1, command); + logerror("write to GFX flash chip %s addr %02x cmd %02x\n", chip0->tag(), (offset<<1)+1, command); chip0->write( (offset<<1)+0x1, command); } if (ACCESSING_BITS_0_7) // GFX Flash 2 @@ -1551,25 +1551,25 @@ void cps3_state::cps3_flashmain_w(int which, UINT32 offset, UINT32 data, UINT32 if (ACCESSING_BITS_24_31) // Flash 1 { command = (data >> 24) & 0xff; - logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][0]->tag().c_str(), offset, command); + logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][0]->tag(), offset, command); m_simm[which][0]->write(offset, command); } if (ACCESSING_BITS_16_23) // Flash 2 { command = (data >> 16) & 0xff; - logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][1]->tag().c_str(), offset, command); + logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][1]->tag(), offset, command); m_simm[which][1]->write(offset, command); } if (ACCESSING_BITS_8_15) // Flash 2 { command = (data >> 8) & 0xff; - logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][2]->tag().c_str(), offset, command); + logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][2]->tag(), offset, command); m_simm[which][2]->write(offset, command); } if (ACCESSING_BITS_0_7) // Flash 2 { command = (data >> 0) & 0xff; - logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][3]->tag().c_str(), offset, command); + logerror("write to flash chip %s addr %02x cmd %02x\n", m_simm[which][3]->tag(), offset, command); m_simm[which][3]->write(offset, command); } diff --git a/src/mame/drivers/craft.cpp b/src/mame/drivers/craft.cpp index e245a34365b..0601bf3659c 100644 --- a/src/mame/drivers/craft.cpp +++ b/src/mame/drivers/craft.cpp @@ -34,7 +34,7 @@ class craft_state : public driver_device { public: - craft_state(const machine_config &mconfig, device_type type, std::string tag) + craft_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac") diff --git a/src/mame/drivers/crystal.cpp b/src/mame/drivers/crystal.cpp index 911462452fe..ebe604fbe48 100644 --- a/src/mame/drivers/crystal.cpp +++ b/src/mame/drivers/crystal.cpp @@ -195,7 +195,7 @@ GUN_xP are 6 pin gun connectors (pins 1-4 match the UNICO sytle guns): class crystal_state : public driver_device { public: - crystal_state(const machine_config &mconfig, device_type type, std::string tag) + crystal_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_sysregs(*this, "sysregs"), m_workram(*this, "workram"), diff --git a/src/mame/drivers/csc.cpp b/src/mame/drivers/csc.cpp new file mode 100644 index 00000000000..11dcf7763b6 --- /dev/null +++ b/src/mame/drivers/csc.cpp @@ -0,0 +1,349 @@ +// license:BSD-3-Clause +// copyright-holders:Kevin Horton,Jonathan Gevaryahu,Sandro Ronco +/****************************************************************************** + +WIP: plan to move to main fidelity chess driver + + + + + Fidelity Champion Chess Challenger (model CSC) + + See drivers/fidelz80.cpp for hardware description + + TODO: + - speech doesn't work + - make a better artwork + +******************************************************************************/ + +#include "emu.h" +#include "cpu/m6502/m6502.h" +#include "machine/6821pia.h" +#include "sound/s14001a.h" + +// same layout of Sensory Chess Challenger +//extern const char layout_vsc[]; + +class csc_state : public driver_device +{ +public: + csc_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag), + m_maincpu(*this, "maincpu"), + m_speech(*this, "speech") + { } + + required_device m_maincpu; + required_device m_speech; + + virtual void machine_start() override; + + UINT16 input_read(int index); + DECLARE_WRITE8_MEMBER( pia0_pa_w ); + DECLARE_WRITE8_MEMBER( pia0_pb_w ); + DECLARE_READ8_MEMBER( pia0_pb_r ); + DECLARE_WRITE_LINE_MEMBER( pia0_ca2_w ); + DECLARE_WRITE8_MEMBER( pia1_pa_w ); + DECLARE_WRITE8_MEMBER( pia1_pb_w ); + DECLARE_READ8_MEMBER( pia1_pa_r ); + DECLARE_WRITE_LINE_MEMBER( pia1_ca2_w ); + DECLARE_WRITE_LINE_MEMBER( pia1_cb2_w ); + DECLARE_READ_LINE_MEMBER( pia1_ca1_r ); + DECLARE_READ_LINE_MEMBER( pia1_cb1_r ); + + UINT8 m_selector; + TIMER_DEVICE_CALLBACK_MEMBER(irq_timer); +}; + + +UINT16 csc_state::input_read(int index) +{ + static const char *const col_tag[] = + { + "IN.0", "IN.1", "IN.2", "IN.3", "IN.4", + "IN.5", "IN.6", "IN.7", "IN.8" + }; + + return ioport(col_tag[index])->read(); +} + + +WRITE8_MEMBER( csc_state::pia0_pa_w ) +{ + UINT8 out_digit = BITSWAP8(data,0,1,5,6,7,2,3,4 ); + + switch (m_selector) + { + case 0: + output().set_digit_value(0, out_digit & 0x7f); + output().set_value("pm_led", BIT(out_digit, 7)); + break; + case 1: + output().set_digit_value(1, out_digit & 0x7f); + break; + case 2: + output().set_digit_value(2, out_digit & 0x7f); + output().set_value("up_dot", BIT(out_digit, 7)); + break; + case 3: + output().set_digit_value(3, out_digit & 0x7f); + output().set_value("low_dot", BIT(out_digit, 7)); + break; + } + +// m_speech->reg_w(data & 0x3f); + + // for avoid the digit flashing + m_selector |= 0x80; +} + +WRITE8_MEMBER( csc_state::pia0_pb_w ) +{ +// m_speech->set_volume(15); // hack, s14001a core should assume a volume of 15 unless otherwise stated... +// m_speech->rst_w(BIT(data, 1)); +} + +READ8_MEMBER( csc_state::pia0_pb_r ) +{ + UINT8 data = 0x04; + + if(m_speech->bsy_r()) + data |= 0x08; + + if (m_selector<9) + if (input_read(m_selector) & 0x100) + data |= 0x20; + + return data; +} + +WRITE_LINE_MEMBER( csc_state::pia0_ca2_w ) +{ +} + +WRITE8_MEMBER( csc_state::pia1_pa_w ) +{ + m_selector = (m_selector & 0x0c) | ((data>>6) & 0x03); +} + +WRITE8_MEMBER( csc_state::pia1_pb_w ) +{ + static const char *const row_tag[] = + { + "led_a", "led_b", "led_c", "led_d", + "led_e", "led_f", "led_g", "led_h" + }; + + if (m_selector < 8) + for (int i=0; i<8; i++) + output().set_indexed_value(row_tag[m_selector], i+1, BIT(data, 7-i)); +} + +READ8_MEMBER( csc_state::pia1_pa_r ) +{ + UINT8 data = 0xff; + + if (m_selector<9) + data = input_read(m_selector); + + return data & 0x3f; +} + +WRITE_LINE_MEMBER( csc_state::pia1_ca2_w ) +{ + m_selector = (m_selector & 0x07) | (state ? 8 : 0); +} + +WRITE_LINE_MEMBER( csc_state::pia1_cb2_w ) +{ + m_selector = (m_selector & 0x0b) | (state ? 4 : 0); +} + +READ_LINE_MEMBER( csc_state::pia1_ca1_r ) +{ + int data = 0x01; + + if (m_selector<9) + data = BIT(input_read(m_selector), 6); + + return data; +} + +READ_LINE_MEMBER( csc_state::pia1_cb1_r ) +{ + int data = 0x01; + + if (m_selector<9) + data = BIT(input_read(m_selector),7); + + return data; +} + + +TIMER_DEVICE_CALLBACK_MEMBER(csc_state::irq_timer) +{ + m_maincpu->set_input_line(M6502_IRQ_LINE, HOLD_LINE); +} + +/* Address maps */ +static ADDRESS_MAP_START(csc_mem, AS_PROGRAM, 8, csc_state) + ADDRESS_MAP_UNMAP_HIGH + AM_RANGE( 0x0000, 0x07ff) AM_RAM AM_MIRROR(0x4000) //2K RAM + AM_RANGE( 0x0800, 0x0bff) AM_RAM AM_MIRROR(0x4400) //1K RAM + AM_RANGE( 0x1000, 0x1003) AM_DEVREADWRITE("pia0", pia6821_device, read, write) AM_MIRROR(0x47fc) + AM_RANGE( 0x1800, 0x1803) AM_DEVREADWRITE("pia1", pia6821_device, read, write) AM_MIRROR(0x47fc) + AM_RANGE( 0x2000, 0x3fff) AM_ROM AM_MIRROR(0x4000) + AM_RANGE( 0x8000, 0x9fff) AM_NOP + AM_RANGE( 0xa000, 0xffff) AM_ROM +ADDRESS_MAP_END + +/* Input ports */ +static INPUT_PORTS_START( csc ) + PORT_START("IN.0") + PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Speak") PORT_CODE(KEYCODE_SPACE) + PORT_START("IN.1") + PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("RV") PORT_CODE(KEYCODE_V) + PORT_START("IN.2") + PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("TM") PORT_CODE(KEYCODE_T) + PORT_START("IN.3") + PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("LV") PORT_CODE(KEYCODE_L) + PORT_START("IN.4") + PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("DM") PORT_CODE(KEYCODE_M) + PORT_START("IN.5") + PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("ST") PORT_CODE(KEYCODE_S) + PORT_START("IN.6") + PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_UNUSED) PORT_UNUSED + PORT_START("IN.7") + PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) + PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_UNUSED) PORT_UNUSED + PORT_START("IN.8") + PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Pawn") PORT_CODE(KEYCODE_1) + PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Rook") PORT_CODE(KEYCODE_2) + PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Knight") PORT_CODE(KEYCODE_3) + PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Bishop") PORT_CODE(KEYCODE_4) + PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Queen") PORT_CODE(KEYCODE_5) + PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("King") PORT_CODE(KEYCODE_6) + PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("CL") PORT_CODE(KEYCODE_DEL) + PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("RE") PORT_CODE(KEYCODE_R) + PORT_BIT(0x100,IP_ACTIVE_LOW, IPT_UNUSED) PORT_UNUSED +INPUT_PORTS_END + + +void csc_state::machine_start() +{ + save_item(NAME(m_selector)); +} + +/* Machine driver */ +static MACHINE_CONFIG_START( csc, csc_state ) + /* basic machine hardware */ + MCFG_CPU_ADD("maincpu", M6502, 3900000/2) + MCFG_CPU_PROGRAM_MAP(csc_mem) + + //MCFG_DEFAULT_LAYOUT(layout_vsc) + + MCFG_TIMER_DRIVER_ADD_PERIODIC("irq_timer", csc_state, irq_timer, attotime::from_hz(38400/64)) + + MCFG_DEVICE_ADD("pia0", PIA6821, 0) + MCFG_PIA_READPB_HANDLER(READ8(csc_state, pia0_pb_r)) + MCFG_PIA_WRITEPA_HANDLER(WRITE8(csc_state, pia0_pa_w)) + MCFG_PIA_WRITEPB_HANDLER(WRITE8(csc_state, pia0_pb_w)) + MCFG_PIA_CA2_HANDLER(WRITELINE(csc_state, pia0_ca2_w)) + + MCFG_DEVICE_ADD("pia1", PIA6821, 0) + MCFG_PIA_READPA_HANDLER(READ8(csc_state, pia1_pa_r)) + MCFG_PIA_READCA1_HANDLER(READLINE(csc_state, pia1_ca1_r)) + MCFG_PIA_READCB1_HANDLER(READLINE(csc_state, pia1_cb1_r)) + MCFG_PIA_WRITEPA_HANDLER(WRITE8(csc_state, pia1_pa_w)) + MCFG_PIA_WRITEPB_HANDLER(WRITE8(csc_state, pia1_pb_w)) + MCFG_PIA_CA2_HANDLER(WRITELINE(csc_state, pia1_ca2_w)) + MCFG_PIA_CB2_HANDLER(WRITELINE(csc_state, pia1_cb2_w)) + + /* sound hardware */ + MCFG_SPEAKER_STANDARD_MONO("mono") + MCFG_SOUND_ADD("speech", S14001A, 25000) // around 25khz + MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) +MACHINE_CONFIG_END + +/* ROM definition */ +ROM_START(csc) + ROM_REGION(0x10000, "maincpu", 0) + ROM_LOAD("101-64109.bin", 0x2000, 0x2000, CRC(08a3577c) SHA1(69fe379d21a9d4b57c84c3832d7b3e7431eec341)) + ROM_LOAD("1025a03.bin", 0xa000, 0x2000, CRC(63982c07) SHA1(5ed4356323d5c80df216da55994abe94ba4aa94c)) + ROM_LOAD("1025a02.bin", 0xc000, 0x2000, CRC(9e6e7c69) SHA1(4f1ed9141b6596f4d2b1217d7a4ba48229f3f1b0)) + ROM_LOAD("1025a01.bin", 0xe000, 0x2000, CRC(57f068c3) SHA1(7d2ac4b9a2fba19556782863bdd89e2d2d94e97b)) + + ROM_LOAD("74s474.bin", 0xfe00, 0x0200, CRC(4511ba31) SHA1(e275b1739f8c3aa445cccb6a2b597475f507e456)) + + ROM_REGION(0x2000, "speech", 0) + ROM_LOAD("101-32107.bin", 0x0000, 0x1000, CRC(f35784f9) SHA1(348e54a7fa1e8091f89ac656b4da22f28ca2e44d)) +ROM_END + +/* Driver */ + +/* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */ +COMP( 1981, csc, 0, 0, csc, csc, driver_device, 0, "Fidelity Electronics", "Champion Chess Challenger (model CSC)", MACHINE_NOT_WORKING | MACHINE_NO_SOUND | MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK) diff --git a/src/mame/drivers/cshooter.cpp b/src/mame/drivers/cshooter.cpp index 60716859bd2..d667d57e710 100644 --- a/src/mame/drivers/cshooter.cpp +++ b/src/mame/drivers/cshooter.cpp @@ -93,7 +93,7 @@ Stephh's notes (based on the game Z80 code and some tests) : class cshooter_state : public driver_device { public: - cshooter_state(const machine_config &mconfig, device_type type, std::string tag) + cshooter_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_seibu_sound(*this, "seibu_sound"), diff --git a/src/mame/drivers/csplayh5.cpp b/src/mame/drivers/csplayh5.cpp index 0f9c3bd9fab..fa87c2f7a02 100644 --- a/src/mame/drivers/csplayh5.cpp +++ b/src/mame/drivers/csplayh5.cpp @@ -37,7 +37,7 @@ class csplayh5_state : public driver_device { public: - csplayh5_state(const machine_config &mconfig, device_type type, std::string tag) + csplayh5_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_tmp68301(*this, "tmp68301"), diff --git a/src/mame/drivers/cswat.cpp b/src/mame/drivers/cswat.cpp index f5bbd38bd23..3db9a40c5b9 100644 --- a/src/mame/drivers/cswat.cpp +++ b/src/mame/drivers/cswat.cpp @@ -30,7 +30,7 @@ TODO: class cswat_state : public driver_device { public: - cswat_state(const machine_config &mconfig, device_type type, std::string tag) + cswat_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/ct486.cpp b/src/mame/drivers/ct486.cpp index 9119ec50e54..1af48cb802d 100644 --- a/src/mame/drivers/ct486.cpp +++ b/src/mame/drivers/ct486.cpp @@ -25,7 +25,7 @@ class ct486_state : public driver_device { public: - ct486_state(const machine_config &mconfig, device_type type, std::string tag) : + ct486_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cs4031(*this, "cs4031"), diff --git a/src/mame/drivers/cubeqst.cpp b/src/mame/drivers/cubeqst.cpp index 9e94330156f..6c084f3b897 100644 --- a/src/mame/drivers/cubeqst.cpp +++ b/src/mame/drivers/cubeqst.cpp @@ -30,7 +30,7 @@ class cubeqst_state : public driver_device { public: - cubeqst_state(const machine_config &mconfig, device_type type, std::string tag) + cubeqst_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_laserdisc(*this, "laserdisc"), m_rotatecpu(*this, "rotate_cpu"), diff --git a/src/mame/drivers/cubo.cpp b/src/mame/drivers/cubo.cpp index 1139f7d2913..2255cc6a1d4 100644 --- a/src/mame/drivers/cubo.cpp +++ b/src/mame/drivers/cubo.cpp @@ -324,7 +324,7 @@ routines : class cubo_state : public amiga_state { public: - cubo_state(const machine_config &mconfig, device_type type, std::string tag) : + cubo_state(const machine_config &mconfig, device_type type, const char *tag) : amiga_state(mconfig, type, tag), m_p1_port(*this, "P1"), m_p2_port(*this, "P2"), diff --git a/src/mame/drivers/cultures.cpp b/src/mame/drivers/cultures.cpp index 2e4adfaef02..f9d58e31d57 100644 --- a/src/mame/drivers/cultures.cpp +++ b/src/mame/drivers/cultures.cpp @@ -20,7 +20,7 @@ class cultures_state : public driver_device { public: - cultures_state(const machine_config &mconfig, device_type type, std::string tag) + cultures_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/cupidon.cpp b/src/mame/drivers/cupidon.cpp index 8b31e9f2c4e..cf85470c75c 100644 --- a/src/mame/drivers/cupidon.cpp +++ b/src/mame/drivers/cupidon.cpp @@ -21,7 +21,7 @@ class cupidon_state : public driver_device { public: - cupidon_state(const machine_config &mconfig, device_type type, std::string tag) + cupidon_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxram(*this, "gfxram") diff --git a/src/mame/drivers/cv1k.cpp b/src/mame/drivers/cv1k.cpp index 20bb43d0bc5..02f4cfae416 100644 --- a/src/mame/drivers/cv1k.cpp +++ b/src/mame/drivers/cv1k.cpp @@ -185,7 +185,7 @@ Blitter Timing class cv1k_state : public driver_device { public: - cv1k_state(const machine_config &mconfig, device_type type, std::string tag) + cv1k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_blitter(*this, "blitter"), diff --git a/src/mame/drivers/cvicny.cpp b/src/mame/drivers/cvicny.cpp index 7d143e78bd7..8939702099d 100644 --- a/src/mame/drivers/cvicny.cpp +++ b/src/mame/drivers/cvicny.cpp @@ -39,7 +39,7 @@ class cvicny_state : public driver_device { public: - cvicny_state(const machine_config &mconfig, device_type type, std::string tag) + cvicny_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_digit_last(0) diff --git a/src/mame/drivers/cybertnk.cpp b/src/mame/drivers/cybertnk.cpp index cba2127c11d..f38b11a5096 100644 --- a/src/mame/drivers/cybertnk.cpp +++ b/src/mame/drivers/cybertnk.cpp @@ -179,7 +179,7 @@ lev 7 : 0x7c : 0000 07e0 - input device clear? class cybertnk_state : public driver_device { public: - cybertnk_state(const machine_config &mconfig, device_type type, std::string tag) + cybertnk_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/cyclemb.cpp b/src/mame/drivers/cyclemb.cpp index 14724984a03..0de60e76cac 100644 --- a/src/mame/drivers/cyclemb.cpp +++ b/src/mame/drivers/cyclemb.cpp @@ -80,7 +80,7 @@ Dumped by Chack'n class cyclemb_state : public driver_device { public: - cyclemb_state(const machine_config &mconfig, device_type type, std::string tag) + cyclemb_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/czk80.cpp b/src/mame/drivers/czk80.cpp index d00d166636d..1b0415d9b4f 100644 --- a/src/mame/drivers/czk80.cpp +++ b/src/mame/drivers/czk80.cpp @@ -54,7 +54,7 @@ I/O ports: These ranges are what is guessed class czk80_state : public driver_device { public: - czk80_state(const machine_config &mconfig, device_type type, std::string tag) + czk80_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG), diff --git a/src/mame/drivers/d6800.cpp b/src/mame/drivers/d6800.cpp index 770f01efd14..79c9ecab945 100644 --- a/src/mame/drivers/d6800.cpp +++ b/src/mame/drivers/d6800.cpp @@ -50,7 +50,7 @@ class d6800_state : public driver_device { public: - d6800_state(const machine_config &mconfig, device_type type, std::string tag) + d6800_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cass(*this, "cassette"), diff --git a/src/mame/drivers/d6809.cpp b/src/mame/drivers/d6809.cpp index cd8b45caeb6..1d6a17aecbe 100644 --- a/src/mame/drivers/d6809.cpp +++ b/src/mame/drivers/d6809.cpp @@ -91,7 +91,7 @@ devices. class d6809_state : public driver_device { public: - d6809_state(const machine_config &mconfig, device_type type, std::string tag) + d6809_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/d9final.cpp b/src/mame/drivers/d9final.cpp index 3a95df85a80..571b365e972 100644 --- a/src/mame/drivers/d9final.cpp +++ b/src/mame/drivers/d9final.cpp @@ -29,7 +29,7 @@ class d9final_state : public driver_device { public: - d9final_state(const machine_config &mconfig, device_type type, std::string tag) + d9final_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/dacholer.cpp b/src/mame/drivers/dacholer.cpp index b8663a93a9a..9179640f006 100644 --- a/src/mame/drivers/dacholer.cpp +++ b/src/mame/drivers/dacholer.cpp @@ -42,7 +42,7 @@ class dacholer_state : public driver_device { public: - dacholer_state(const machine_config &mconfig, device_type type, std::string tag) + dacholer_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_audiocpu(*this,"audiocpu"), diff --git a/src/mame/drivers/dai3wksi.cpp b/src/mame/drivers/dai3wksi.cpp index f822bbbf15c..c14016c1e49 100644 --- a/src/mame/drivers/dai3wksi.cpp +++ b/src/mame/drivers/dai3wksi.cpp @@ -49,7 +49,7 @@ Driver Notes: class dai3wksi_state : public driver_device { public: - dai3wksi_state(const machine_config &mconfig, device_type type, std::string tag) + dai3wksi_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_samples(*this, "samples"), diff --git a/src/mame/drivers/dambustr.cpp b/src/mame/drivers/dambustr.cpp index cdfb13279e6..13626af687b 100644 --- a/src/mame/drivers/dambustr.cpp +++ b/src/mame/drivers/dambustr.cpp @@ -60,7 +60,7 @@ Stephh's notes (based on the games Z80 code and some tests) : class dambustr_state : public galaxold_state { public: - dambustr_state(const machine_config &mconfig, device_type type, std::string tag) + dambustr_state(const machine_config &mconfig, device_type type, const char *tag) : galaxold_state(mconfig, type, tag), m_custom(*this, "cust") { } diff --git a/src/mame/drivers/daruma.cpp b/src/mame/drivers/daruma.cpp index d19c7d302bb..33f3226230c 100644 --- a/src/mame/drivers/daruma.cpp +++ b/src/mame/drivers/daruma.cpp @@ -23,7 +23,7 @@ class daruma_state : public driver_device { public: - daruma_state(const machine_config &mconfig, device_type type, std::string tag) + daruma_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker") { } diff --git a/src/mame/drivers/dblcrown.cpp b/src/mame/drivers/dblcrown.cpp index ba1f07daecb..ed23cd2b96b 100644 --- a/src/mame/drivers/dblcrown.cpp +++ b/src/mame/drivers/dblcrown.cpp @@ -55,7 +55,7 @@ class dblcrown_state : public driver_device { public: - dblcrown_state(const machine_config &mconfig, device_type type, std::string tag) + dblcrown_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/dblewing.cpp b/src/mame/drivers/dblewing.cpp index 1472e7ded5e..9076254e457 100644 --- a/src/mame/drivers/dblewing.cpp +++ b/src/mame/drivers/dblewing.cpp @@ -80,7 +80,7 @@ Notes: class dblewing_state : public driver_device { public: - dblewing_state(const machine_config &mconfig, device_type type, std::string tag) + dblewing_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_deco104(*this, "ioprot104"), m_pf1_rowscroll(*this, "pf1_rowscroll"), diff --git a/src/mame/drivers/dct11em.cpp b/src/mame/drivers/dct11em.cpp index 92e9ed71317..6140955e06a 100644 --- a/src/mame/drivers/dct11em.cpp +++ b/src/mame/drivers/dct11em.cpp @@ -14,7 +14,7 @@ class dct11em_state : public driver_device { public: - dct11em_state(const machine_config &mconfig, device_type type, std::string tag) + dct11em_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } virtual void machine_reset() override; diff --git a/src/mame/drivers/ddayjlc.cpp b/src/mame/drivers/ddayjlc.cpp index a9af7ae1da4..39a0ad6718b 100644 --- a/src/mame/drivers/ddayjlc.cpp +++ b/src/mame/drivers/ddayjlc.cpp @@ -61,7 +61,7 @@ $842f = lives class ddayjlc_state : public driver_device { public: - ddayjlc_state(const machine_config &mconfig, device_type type, std::string tag) + ddayjlc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_mainram(*this, "mainram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/drivers/ddealer.cpp b/src/mame/drivers/ddealer.cpp index 4d6a848c66d..3d475618c26 100644 --- a/src/mame/drivers/ddealer.cpp +++ b/src/mame/drivers/ddealer.cpp @@ -120,7 +120,7 @@ class ddealer_state : public driver_device { public: - ddealer_state(const machine_config &mconfig, device_type type, std::string tag) + ddealer_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_vregs(*this, "vregs"), m_left_fg_vram_top(*this, "left_fg_vratop"), diff --git a/src/mame/drivers/ddenlovr.cpp b/src/mame/drivers/ddenlovr.cpp index 27670651372..af2113dc8a4 100644 --- a/src/mame/drivers/ddenlovr.cpp +++ b/src/mame/drivers/ddenlovr.cpp @@ -156,7 +156,7 @@ static const int mjflove_commands[8] = { BLIT_STOP, BLIT_CHANGE_PEN, BLIT_CHA class ddenlovr_state : public dynax_state { public: - ddenlovr_state(const machine_config &mconfig, device_type type, std::string tag) + ddenlovr_state(const machine_config &mconfig, device_type type, const char *tag) : dynax_state(mconfig, type, tag), m_dsw_sel16(*this, "dsw_sel16"), m_protection1(*this, "protection1"), diff --git a/src/mame/drivers/ddragon3.cpp b/src/mame/drivers/ddragon3.cpp index 423fbc6f924..6a29b3b9e62 100644 --- a/src/mame/drivers/ddragon3.cpp +++ b/src/mame/drivers/ddragon3.cpp @@ -290,13 +290,13 @@ WRITE8_MEMBER(wwfwfest_state::wwfwfest_priority_w) /* DIPs are spread across the other input ports */ CUSTOM_INPUT_MEMBER(wwfwfest_state::dsw_3f_r) { - std::string tag = (const char *)param; + const char *tag = (const char *)param; return ioport(tag)->read() & 0x3f; } CUSTOM_INPUT_MEMBER(wwfwfest_state::dsw_c0_r) { - std::string tag = (const char *)param; + const char *tag = (const char *)param; return (ioport(tag)->read() & 0xc0) >> 6; } diff --git a/src/mame/drivers/de_2.cpp b/src/mame/drivers/de_2.cpp index fd86c59950a..d51d3d5f4a3 100644 --- a/src/mame/drivers/de_2.cpp +++ b/src/mame/drivers/de_2.cpp @@ -41,7 +41,7 @@ class de_2_state : public genpin_class { public: - de_2_state(const machine_config &mconfig, device_type type, std::string tag) + de_2_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag), m_ym2151(*this, "ym2151"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/de_3.cpp b/src/mame/drivers/de_3.cpp index 6058077618c..24793a2058b 100644 --- a/src/mame/drivers/de_3.cpp +++ b/src/mame/drivers/de_3.cpp @@ -33,7 +33,7 @@ extern const char layout_pinball[]; class de_3_state : public genpin_class { public: - de_3_state(const machine_config &mconfig, device_type type, std::string tag) + de_3_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag), m_dmdtype1(*this, "decodmd1"), m_dmdtype2(*this, "decodmd2"), diff --git a/src/mame/drivers/de_3b.cpp b/src/mame/drivers/de_3b.cpp index 764d23f2b0f..f914a4ad3a4 100644 --- a/src/mame/drivers/de_3b.cpp +++ b/src/mame/drivers/de_3b.cpp @@ -16,7 +16,7 @@ extern const char layout_pinball[]; class de_3b_state : public driver_device { public: - de_3b_state(const machine_config &mconfig, device_type type, std::string tag) + de_3b_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_decobsmt(*this, "decobsmt"), m_dmdtype3(*this, "decodmd") diff --git a/src/mame/drivers/deco156.cpp b/src/mame/drivers/deco156.cpp index 03b2b627176..faa0f3bb6a5 100644 --- a/src/mame/drivers/deco156.cpp +++ b/src/mame/drivers/deco156.cpp @@ -28,7 +28,7 @@ class deco156_state : public driver_device { public: - deco156_state(const machine_config &mconfig, device_type type, std::string tag) + deco156_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_deco_tilegen1(*this, "tilegen1"), @@ -67,7 +67,7 @@ public: virtual void video_start() override; UINT32 screen_update_wcvol95(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); INTERRUPT_GEN_MEMBER(deco32_vbl_interrupt); - void descramble_sound( std::string tag ); + void descramble_sound( const char *tag ); DECO16IC_BANK_CB_MEMBER(bank_callback); DECOSPR_PRIORITY_CB_MEMBER(pri_callback); }; @@ -632,7 +632,7 @@ ROM_END /**********************************************************************************/ -void deco156_state::descramble_sound( std::string tag ) +void deco156_state::descramble_sound( const char *tag ) { UINT8 *rom = memregion(tag)->base(); int length = memregion(tag)->bytes(); diff --git a/src/mame/drivers/deco_ld.cpp b/src/mame/drivers/deco_ld.cpp index a64b7213068..13beeaf905c 100644 --- a/src/mame/drivers/deco_ld.cpp +++ b/src/mame/drivers/deco_ld.cpp @@ -117,7 +117,7 @@ Sound processor - 6502 class deco_ld_state : public driver_device { public: - deco_ld_state(const machine_config &mconfig, device_type type, std::string tag) + deco_ld_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/dectalk.cpp b/src/mame/drivers/dectalk.cpp index 3dd454f80fe..5f6a9b8cba2 100644 --- a/src/mame/drivers/dectalk.cpp +++ b/src/mame/drivers/dectalk.cpp @@ -275,7 +275,7 @@ public: TIMER_OUTFIFO_READ }; - dectalk_state(const machine_config &mconfig, device_type type, std::string tag) + dectalk_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dsp(*this, "dsp"), diff --git a/src/mame/drivers/decwritr.cpp b/src/mame/drivers/decwritr.cpp index c839117bae8..105a113d703 100644 --- a/src/mame/drivers/decwritr.cpp +++ b/src/mame/drivers/decwritr.cpp @@ -25,7 +25,7 @@ class decwriter_state : public driver_device { public: // constructor - decwriter_state(const machine_config &mconfig, device_type type, std::string tag) + decwriter_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "beeper"), diff --git a/src/mame/drivers/deshoros.cpp b/src/mame/drivers/deshoros.cpp index 4ce6f3c389b..c7fa5025d59 100644 --- a/src/mame/drivers/deshoros.cpp +++ b/src/mame/drivers/deshoros.cpp @@ -36,7 +36,7 @@ TODO: class destiny_state : public driver_device { public: - destiny_state(const machine_config &mconfig, device_type type, std::string tag) + destiny_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_beeper(*this, "beeper") diff --git a/src/mame/drivers/destroyr.cpp b/src/mame/drivers/destroyr.cpp index d149d6f725f..026e057f14b 100644 --- a/src/mame/drivers/destroyr.cpp +++ b/src/mame/drivers/destroyr.cpp @@ -27,7 +27,7 @@ public: TIMER_DESTROYR_FRAME }; - destroyr_state(const machine_config &mconfig, device_type type, std::string tag) + destroyr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/dfruit.cpp b/src/mame/drivers/dfruit.cpp index 95cf86ec28a..20e459a2b3d 100644 --- a/src/mame/drivers/dfruit.cpp +++ b/src/mame/drivers/dfruit.cpp @@ -26,7 +26,7 @@ class dfruit_state : public driver_device { public: - dfruit_state(const machine_config &mconfig, device_type type, std::string tag) + dfruit_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_vdp(*this, "tc0091lvc") diff --git a/src/mame/drivers/dgpix.cpp b/src/mame/drivers/dgpix.cpp index 891e5434368..d3a3f8d270e 100644 --- a/src/mame/drivers/dgpix.cpp +++ b/src/mame/drivers/dgpix.cpp @@ -159,7 +159,7 @@ Notes: class dgpix_state : public driver_device { public: - dgpix_state(const machine_config &mconfig, device_type type, std::string tag) + dgpix_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_vblank(*this, "VBLANK") { } diff --git a/src/mame/drivers/didact.cpp b/src/mame/drivers/didact.cpp index 7a7a1b13e16..615b3c199c1 100644 --- a/src/mame/drivers/didact.cpp +++ b/src/mame/drivers/didact.cpp @@ -140,7 +140,7 @@ class e100_state : public driver_device { public: - e100_state(const machine_config &mconfig, device_type type, std::string tag) + e100_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pia1(*this, "pia1"), @@ -157,7 +157,7 @@ protected: class md6802_state : public driver_device { public: - md6802_state(const machine_config &mconfig, device_type type, std::string tag) + md6802_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pia1(*this, "pia1"), @@ -179,7 +179,7 @@ protected: class mp68a_state : public driver_device { public: - mp68a_state(const machine_config &mconfig, device_type type, std::string tag) + mp68a_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) ,m_maincpu(*this, "maincpu") ,m_io_line0(*this, "LINE0") diff --git a/src/mame/drivers/digel804.cpp b/src/mame/drivers/digel804.cpp index 1ed5a866db2..8e56c443a0f 100644 --- a/src/mame/drivers/digel804.cpp +++ b/src/mame/drivers/digel804.cpp @@ -68,7 +68,7 @@ class digel804_state : public driver_device { public: - digel804_state(const machine_config &mconfig, device_type type, std::string tag) + digel804_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/drivers/dim68k.cpp b/src/mame/drivers/dim68k.cpp index 797b4ec67d7..ccbfe695144 100644 --- a/src/mame/drivers/dim68k.cpp +++ b/src/mame/drivers/dim68k.cpp @@ -44,7 +44,7 @@ class dim68k_state : public driver_device { public: - dim68k_state(const machine_config &mconfig, device_type type, std::string tag) + dim68k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_crtc(*this, "crtc"), diff --git a/src/mame/drivers/discoboy.cpp b/src/mame/drivers/discoboy.cpp index c2968e9bdc1..f127c4554e2 100644 --- a/src/mame/drivers/discoboy.cpp +++ b/src/mame/drivers/discoboy.cpp @@ -51,7 +51,7 @@ Notes: class discoboy_state : public driver_device { public: - discoboy_state(const machine_config &mconfig, device_type type, std::string tag) + discoboy_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_audiocpu(*this, "audiocpu") , m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/diverboy.cpp b/src/mame/drivers/diverboy.cpp index c83c94dd26b..b4146901107 100644 --- a/src/mame/drivers/diverboy.cpp +++ b/src/mame/drivers/diverboy.cpp @@ -58,7 +58,7 @@ class diverboy_state : public driver_device { public: - diverboy_state(const machine_config &mconfig, device_type type, std::string tag) + diverboy_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/dlair.cpp b/src/mame/drivers/dlair.cpp index 54bea119a1b..016e71a5358 100644 --- a/src/mame/drivers/dlair.cpp +++ b/src/mame/drivers/dlair.cpp @@ -50,7 +50,7 @@ class dlair_state : public driver_device { public: - dlair_state(const machine_config &mconfig, device_type type, std::string tag) : + dlair_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/drivers/dlair2.cpp b/src/mame/drivers/dlair2.cpp index 3446c8b6d13..0b246616fe0 100644 --- a/src/mame/drivers/dlair2.cpp +++ b/src/mame/drivers/dlair2.cpp @@ -38,7 +38,7 @@ http://www.dragons-lair-project.com/tech/pages/dl2.asp class dlair2_state : public driver_device { public: - dlair2_state(const machine_config &mconfig, device_type type, std::string tag) + dlair2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"){ } diff --git a/src/mame/drivers/dmndrby.cpp b/src/mame/drivers/dmndrby.cpp index 7aecf6fd278..209ac140802 100644 --- a/src/mame/drivers/dmndrby.cpp +++ b/src/mame/drivers/dmndrby.cpp @@ -61,7 +61,7 @@ DD10 DD14 DD18 H5 DD21 class dmndrby_state : public driver_device { public: - dmndrby_state(const machine_config &mconfig, device_type type, std::string tag) + dmndrby_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_scroll_ram(*this, "scroll_ram"), m_sprite_ram(*this, "sprite_ram"), diff --git a/src/mame/drivers/dms5000.cpp b/src/mame/drivers/dms5000.cpp index d5ed20a25a9..953f9aebe74 100644 --- a/src/mame/drivers/dms5000.cpp +++ b/src/mame/drivers/dms5000.cpp @@ -15,7 +15,7 @@ class dms5000_state : public driver_device { public: - dms5000_state(const machine_config &mconfig, device_type type, std::string tag) + dms5000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/dms86.cpp b/src/mame/drivers/dms86.cpp index 288b13c74cb..5ce16471276 100644 --- a/src/mame/drivers/dms86.cpp +++ b/src/mame/drivers/dms86.cpp @@ -33,7 +33,7 @@ the monitor and goes straight to "Joining HiNet". class dms86_state : public driver_device { public: - dms86_state(const machine_config &mconfig, device_type type, std::string tag) + dms86_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/dmv.cpp b/src/mame/drivers/dmv.cpp index ed014a8b17c..8940c1263fa 100644 --- a/src/mame/drivers/dmv.cpp +++ b/src/mame/drivers/dmv.cpp @@ -38,7 +38,7 @@ class dmv_state : public driver_device { public: - dmv_state(const machine_config &mconfig, device_type type, std::string tag) + dmv_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_hgdc(*this, "upd7220"), diff --git a/src/mame/drivers/dolphunk.cpp b/src/mame/drivers/dolphunk.cpp index a66f67645de..329c14b446f 100644 --- a/src/mame/drivers/dolphunk.cpp +++ b/src/mame/drivers/dolphunk.cpp @@ -91,7 +91,7 @@ class dauphin_state : public driver_device { public: - dauphin_state(const machine_config &mconfig, device_type type, std::string tag) + dauphin_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_speaker(*this, "speaker") diff --git a/src/mame/drivers/dominob.cpp b/src/mame/drivers/dominob.cpp index c1d6fa52b96..1e64e010e4e 100644 --- a/src/mame/drivers/dominob.cpp +++ b/src/mame/drivers/dominob.cpp @@ -69,7 +69,7 @@ Notes: class dominob_state : public driver_device { public: - dominob_state(const machine_config &mconfig, device_type type, std::string tag) + dominob_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/drivers/dorachan.cpp b/src/mame/drivers/dorachan.cpp index 39209358672..daf69583d1a 100644 --- a/src/mame/drivers/dorachan.cpp +++ b/src/mame/drivers/dorachan.cpp @@ -17,7 +17,7 @@ Todo: class dorachan_state : public driver_device { public: - dorachan_state(const machine_config &mconfig, device_type type, std::string tag) + dorachan_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_screen(*this, "screen"), diff --git a/src/mame/drivers/dotrikun.cpp b/src/mame/drivers/dotrikun.cpp index b90ae380823..4d4424fd4a8 100644 --- a/src/mame/drivers/dotrikun.cpp +++ b/src/mame/drivers/dotrikun.cpp @@ -29,7 +29,7 @@ SOUND : (none) class dotrikun_state : public driver_device { public: - dotrikun_state(const machine_config &mconfig, device_type type, std::string tag) + dotrikun_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_dotrikun_bitmap(*this, "dotrikun_bitmap"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/dps1.cpp b/src/mame/drivers/dps1.cpp index b2b9e8ea468..1250d4881c5 100644 --- a/src/mame/drivers/dps1.cpp +++ b/src/mame/drivers/dps1.cpp @@ -8,7 +8,7 @@ class dps1_state : public driver_device { public: - dps1_state(const machine_config &mconfig, device_type type, std::string tag) + dps1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) { } }; diff --git a/src/mame/drivers/dreambal.cpp b/src/mame/drivers/dreambal.cpp index 707fc78c869..19516ea4123 100644 --- a/src/mame/drivers/dreambal.cpp +++ b/src/mame/drivers/dreambal.cpp @@ -33,7 +33,7 @@ lamps? class dreambal_state : public driver_device { public: - dreambal_state(const machine_config &mconfig, device_type type, std::string tag) + dreambal_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_deco104(*this, "ioprot104"), diff --git a/src/mame/drivers/dreamwld.cpp b/src/mame/drivers/dreamwld.cpp index 403bc881d64..85725dd36ab 100644 --- a/src/mame/drivers/dreamwld.cpp +++ b/src/mame/drivers/dreamwld.cpp @@ -104,7 +104,7 @@ Stephh's notes (based on the game M68EC020 code and some tests) : class dreamwld_state : public driver_device { public: - dreamwld_state(const machine_config &mconfig, device_type type, std::string tag) + dreamwld_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_bg_videoram(*this, "bg_videoram"), diff --git a/src/mame/drivers/drtomy.cpp b/src/mame/drivers/drtomy.cpp index 1536bd9ecee..bfa7a311597 100644 --- a/src/mame/drivers/drtomy.cpp +++ b/src/mame/drivers/drtomy.cpp @@ -16,7 +16,7 @@ similar hardware. class drtomy_state : public driver_device { public: - drtomy_state(const machine_config &mconfig, device_type type, std::string tag) + drtomy_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram_fg(*this, "videorafg"), m_videoram_bg(*this, "videorabg"), diff --git a/src/mame/drivers/drw80pkr.cpp b/src/mame/drivers/drw80pkr.cpp index 5a4a054d3c7..c006afbb449 100644 --- a/src/mame/drivers/drw80pkr.cpp +++ b/src/mame/drivers/drw80pkr.cpp @@ -36,7 +36,7 @@ class drw80pkr_state : public driver_device { public: - drw80pkr_state(const machine_config &mconfig, device_type type, std::string tag) + drw80pkr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode") { } diff --git a/src/mame/drivers/dsb46.cpp b/src/mame/drivers/dsb46.cpp index 2897d13b8ce..a0066e94d80 100644 --- a/src/mame/drivers/dsb46.cpp +++ b/src/mame/drivers/dsb46.cpp @@ -27,7 +27,7 @@ Both roms contain Z80 code. class dsb46_state : public driver_device { public: - dsb46_state(const machine_config &mconfig, device_type type, std::string tag) + dsb46_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/dual68.cpp b/src/mame/drivers/dual68.cpp index 438a58e41d7..122f00090bf 100644 --- a/src/mame/drivers/dual68.cpp +++ b/src/mame/drivers/dual68.cpp @@ -18,7 +18,7 @@ class dual68_state : public driver_device { public: - dual68_state(const machine_config &mconfig, device_type type, std::string tag) + dual68_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG), diff --git a/src/mame/drivers/dunhuang.cpp b/src/mame/drivers/dunhuang.cpp index a04485f33e0..44c44c38510 100644 --- a/src/mame/drivers/dunhuang.cpp +++ b/src/mame/drivers/dunhuang.cpp @@ -63,7 +63,7 @@ Notes: class dunhuang_state : public driver_device { public: - dunhuang_state(const machine_config &mconfig, device_type type, std::string tag) + dunhuang_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/dvk_kcgd.cpp b/src/mame/drivers/dvk_kcgd.cpp index 4234b1b68b0..eb2236cee5d 100644 --- a/src/mame/drivers/dvk_kcgd.cpp +++ b/src/mame/drivers/dvk_kcgd.cpp @@ -54,7 +54,7 @@ class kcgd_state : public driver_device { public: - kcgd_state(const machine_config &mconfig, device_type type, std::string tag) : + kcgd_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), // m_ms7004(*this, "ms7004"), diff --git a/src/mame/drivers/dvk_ksm.cpp b/src/mame/drivers/dvk_ksm.cpp index e05af2c96a4..a136035ca0f 100644 --- a/src/mame/drivers/dvk_ksm.cpp +++ b/src/mame/drivers/dvk_ksm.cpp @@ -92,7 +92,7 @@ ksm|DVK KSM, class ksm_state : public driver_device { public: - ksm_state(const machine_config &mconfig, device_type type, std::string tag) : + ksm_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/dwarfd.cpp b/src/mame/drivers/dwarfd.cpp index 05b49a77fee..bea0ff9d342 100644 --- a/src/mame/drivers/dwarfd.cpp +++ b/src/mame/drivers/dwarfd.cpp @@ -306,7 +306,7 @@ uPC1352C @ N3 class dwarfd_state : public driver_device { public: - dwarfd_state(const machine_config &mconfig, device_type type, std::string tag) + dwarfd_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_palette(*this, "palette"), diff --git a/src/mame/drivers/dynadice.cpp b/src/mame/drivers/dynadice.cpp index b867ec9cc88..c2604827b94 100644 --- a/src/mame/drivers/dynadice.cpp +++ b/src/mame/drivers/dynadice.cpp @@ -43,7 +43,7 @@ dy_6.bin (near Z80) class dynadice_state : public driver_device { public: - dynadice_state(const machine_config &mconfig, device_type type, std::string tag) + dynadice_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/eacc.cpp b/src/mame/drivers/eacc.cpp index 36c5449f56e..38e7d29c3f3 100644 --- a/src/mame/drivers/eacc.cpp +++ b/src/mame/drivers/eacc.cpp @@ -57,7 +57,7 @@ class eacc_state : public driver_device { public: - eacc_state(const machine_config &mconfig, device_type type, std::string tag) + eacc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pia(*this, "pia"), diff --git a/src/mame/drivers/ec184x.cpp b/src/mame/drivers/ec184x.cpp index 163822be1b3..e0a1ed23348 100644 --- a/src/mame/drivers/ec184x.cpp +++ b/src/mame/drivers/ec184x.cpp @@ -38,7 +38,7 @@ class ec184x_state : public driver_device { public: - ec184x_state(const machine_config &mconfig, device_type type, std::string tag) + ec184x_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/ec65.cpp b/src/mame/drivers/ec65.cpp index da546879db1..8d458b174b7 100644 --- a/src/mame/drivers/ec65.cpp +++ b/src/mame/drivers/ec65.cpp @@ -29,7 +29,7 @@ class ec65_state : public driver_device { public: - ec65_state(const machine_config &mconfig, device_type type, std::string tag) + ec65_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_via_0(*this, VIA6522_0_TAG), m_via_1(*this, VIA6522_1_TAG), @@ -54,7 +54,7 @@ public: class ec65k_state : public driver_device { public: - ec65k_state(const machine_config &mconfig, device_type type, std::string tag) + ec65k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) { } diff --git a/src/mame/drivers/ecoinf1.cpp b/src/mame/drivers/ecoinf1.cpp index b7457795589..a4ba2c64e56 100644 --- a/src/mame/drivers/ecoinf1.cpp +++ b/src/mame/drivers/ecoinf1.cpp @@ -18,7 +18,7 @@ class ecoinf1_state : public driver_device { public: - ecoinf1_state(const machine_config &mconfig, device_type type, std::string tag) + ecoinf1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } DECLARE_DRIVER_INIT(ecoinf1); diff --git a/src/mame/drivers/ecoinf2.cpp b/src/mame/drivers/ecoinf2.cpp index b6f00522678..88509f164dc 100644 --- a/src/mame/drivers/ecoinf2.cpp +++ b/src/mame/drivers/ecoinf2.cpp @@ -21,7 +21,7 @@ class ecoinf2_state : public driver_device { public: - ecoinf2_state(const machine_config &mconfig, device_type type, std::string tag) + ecoinf2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_reel0(*this, "reel0"), diff --git a/src/mame/drivers/ecoinf3.cpp b/src/mame/drivers/ecoinf3.cpp index 2f25850c88b..a9d72e6fbc8 100644 --- a/src/mame/drivers/ecoinf3.cpp +++ b/src/mame/drivers/ecoinf3.cpp @@ -23,7 +23,7 @@ class ecoinf3_state : public driver_device { public: - ecoinf3_state(const machine_config &mconfig, device_type type, std::string tag) + ecoinf3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_reel0(*this, "reel0"), diff --git a/src/mame/drivers/ecoinfr.cpp b/src/mame/drivers/ecoinfr.cpp index 9085f6d7814..030c23c0cde 100644 --- a/src/mame/drivers/ecoinfr.cpp +++ b/src/mame/drivers/ecoinfr.cpp @@ -53,7 +53,7 @@ class ecoinfr_state : public driver_device { public: - ecoinfr_state(const machine_config &mconfig, device_type type, std::string tag) + ecoinfr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_reel0(*this, "reel0"), diff --git a/src/mame/drivers/egghunt.cpp b/src/mame/drivers/egghunt.cpp index 4b924a5eb7d..863d39e1a01 100644 --- a/src/mame/drivers/egghunt.cpp +++ b/src/mame/drivers/egghunt.cpp @@ -50,7 +50,7 @@ I dumped it with this configuration. In case I'll redump it desoldering pin 16 f class egghunt_state : public driver_device { public: - egghunt_state(const machine_config &mconfig, device_type type, std::string tag) + egghunt_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_audiocpu(*this, "audiocpu"), m_atram(*this, "atram"), diff --git a/src/mame/drivers/einstein.cpp b/src/mame/drivers/einstein.cpp index 354e365305d..c2fd45e06b8 100644 --- a/src/mame/drivers/einstein.cpp +++ b/src/mame/drivers/einstein.cpp @@ -459,7 +459,7 @@ UINT32 einstein_state::screen_update_einstein2(screen_device &screen, bitmap_rgb else if (&screen == m_crtc_screen) m_mc6845->screen_update( screen, bitmap, cliprect); else - fatalerror("Unknown screen '%s'\n", screen.tag().c_str()); + fatalerror("Unknown screen '%s'\n", screen.tag()); return 0; } diff --git a/src/mame/drivers/elecbowl.cpp b/src/mame/drivers/elecbowl.cpp index 5110ced34b9..65a2070bc5c 100644 --- a/src/mame/drivers/elecbowl.cpp +++ b/src/mame/drivers/elecbowl.cpp @@ -36,7 +36,7 @@ class elecbowl_state : public hh_tms1k_state { public: - elecbowl_state(const machine_config &mconfig, device_type type, std::string tag) + elecbowl_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/electra.cpp b/src/mame/drivers/electra.cpp index eeeb9f79318..7ef23853bec 100644 --- a/src/mame/drivers/electra.cpp +++ b/src/mame/drivers/electra.cpp @@ -43,7 +43,7 @@ class electra_state : public driver_device { public: - electra_state(const machine_config &mconfig, device_type type, std::string tag) + electra_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_video(*this, "fixfreq") diff --git a/src/mame/drivers/elekscmp.cpp b/src/mame/drivers/elekscmp.cpp index 15adab5932c..0eecbf9df4e 100644 --- a/src/mame/drivers/elekscmp.cpp +++ b/src/mame/drivers/elekscmp.cpp @@ -32,7 +32,7 @@ ToDo: class elekscmp_state : public driver_device { public: - elekscmp_state(const machine_config &mconfig, device_type type, std::string tag) + elekscmp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_x0(*this, "X0"), diff --git a/src/mame/drivers/elwro800.cpp b/src/mame/drivers/elwro800.cpp index 89efec42d52..fa377badef9 100644 --- a/src/mame/drivers/elwro800.cpp +++ b/src/mame/drivers/elwro800.cpp @@ -35,7 +35,7 @@ class elwro800_state : public spectrum_state { public: - elwro800_state(const machine_config &mconfig, device_type type, std::string tag) + elwro800_state(const machine_config &mconfig, device_type type, const char *tag) : spectrum_state(mconfig, type, tag), m_i8251(*this, "i8251"), m_i8255(*this, "ppi8255"), diff --git a/src/mame/drivers/embargo.cpp b/src/mame/drivers/embargo.cpp index f7471a23501..586b96e16af 100644 --- a/src/mame/drivers/embargo.cpp +++ b/src/mame/drivers/embargo.cpp @@ -13,7 +13,7 @@ class embargo_state : public driver_device { public: - embargo_state(const machine_config &mconfig, device_type type, std::string tag) + embargo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/enigma2.cpp b/src/mame/drivers/enigma2.cpp index e88402b8a00..081b3f8ce96 100644 --- a/src/mame/drivers/enigma2.cpp +++ b/src/mame/drivers/enigma2.cpp @@ -58,7 +58,7 @@ TODO: class enigma2_state : public driver_device { public: - enigma2_state(const machine_config &mconfig, device_type type, std::string tag) + enigma2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/enmirage.cpp b/src/mame/drivers/enmirage.cpp index 2de4a9e40aa..cdea1be9d8a 100644 --- a/src/mame/drivers/enmirage.cpp +++ b/src/mame/drivers/enmirage.cpp @@ -56,7 +56,7 @@ class mirage_state : public driver_device { public: - mirage_state(const machine_config &mconfig, device_type type, std::string tag) + mirage_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_fdc(*this, "wd1772"), diff --git a/src/mame/drivers/eolith16.cpp b/src/mame/drivers/eolith16.cpp index df2b161a0aa..6fe073c131c 100644 --- a/src/mame/drivers/eolith16.cpp +++ b/src/mame/drivers/eolith16.cpp @@ -22,7 +22,7 @@ class eolith16_state : public eolith_state { public: - eolith16_state(const machine_config &mconfig, device_type type, std::string tag) + eolith16_state(const machine_config &mconfig, device_type type, const char *tag) : eolith_state(mconfig, type, tag) { } std::unique_ptr m_vram; diff --git a/src/mame/drivers/ertictac.cpp b/src/mame/drivers/ertictac.cpp index 55bf32e6b20..e3723ee91cd 100644 --- a/src/mame/drivers/ertictac.cpp +++ b/src/mame/drivers/ertictac.cpp @@ -34,7 +34,7 @@ PCB has a single OSC at 24MHz class ertictac_state : public archimedes_state { public: - ertictac_state(const machine_config &mconfig, device_type type, std::string tag) + ertictac_state(const machine_config &mconfig, device_type type, const char *tag) : archimedes_state(mconfig, type, tag) { } DECLARE_READ32_MEMBER(ertictac_podule_r); diff --git a/src/mame/drivers/esh.cpp b/src/mame/drivers/esh.cpp index 597eeed6cad..72dcb78dfcb 100644 --- a/src/mame/drivers/esh.cpp +++ b/src/mame/drivers/esh.cpp @@ -38,7 +38,7 @@ public: TIMER_IRQ_STOP }; - esh_state(const machine_config &mconfig, device_type type, std::string tag) + esh_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_laserdisc(*this, "laserdisc") , m_tile_ram(*this, "tile_ram"), diff --git a/src/mame/drivers/esq1.cpp b/src/mame/drivers/esq1.cpp index a30a463116c..daa63b3904d 100644 --- a/src/mame/drivers/esq1.cpp +++ b/src/mame/drivers/esq1.cpp @@ -194,7 +194,7 @@ class esq1_filters : public device_t, { public: // construction/destruction - esq1_filters(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + esq1_filters(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); void set_vca(int channel, UINT8 value); void set_vpan(int channel, UINT8 value); @@ -225,7 +225,7 @@ private: static const device_type ESQ1_FILTERS = &device_creator; -esq1_filters::esq1_filters(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +esq1_filters::esq1_filters(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ESQ1_FILTERS, "ESQ1 Filters stage", tag, owner, clock, "esq1-filters", __FILE__), device_sound_interface(mconfig, *this) { @@ -382,7 +382,7 @@ void esq1_filters::sound_stream_update(sound_stream &stream, stream_sample_t **i class esq1_state : public driver_device { public: - esq1_state(const machine_config &mconfig, device_type type, std::string tag) + esq1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_duart(*this, "duart"), diff --git a/src/mame/drivers/esq5505.cpp b/src/mame/drivers/esq5505.cpp index 14229a2a11a..9b3e2493894 100644 --- a/src/mame/drivers/esq5505.cpp +++ b/src/mame/drivers/esq5505.cpp @@ -163,7 +163,7 @@ static void ATTR_PRINTF(1,2) print_to_stderr(const char *format, ...) class esq5505_state : public driver_device { public: - esq5505_state(const machine_config &mconfig, device_type type, std::string tag) + esq5505_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_duart(*this, "duart"), diff --git a/src/mame/drivers/esqasr.cpp b/src/mame/drivers/esqasr.cpp index 7ab4f543409..7bdcc11d521 100644 --- a/src/mame/drivers/esqasr.cpp +++ b/src/mame/drivers/esqasr.cpp @@ -48,7 +48,7 @@ class esqasr_state : public driver_device { public: - esqasr_state(const machine_config &mconfig, device_type type, std::string tag) + esqasr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_esp(*this, "esp"), diff --git a/src/mame/drivers/esqkt.cpp b/src/mame/drivers/esqkt.cpp index 1936171d8cd..b1a40fbb732 100644 --- a/src/mame/drivers/esqkt.cpp +++ b/src/mame/drivers/esqkt.cpp @@ -98,7 +98,7 @@ class esqkt_state : public driver_device { public: - esqkt_state(const machine_config &mconfig, device_type type, std::string tag) + esqkt_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_esp(*this, "esp"), diff --git a/src/mame/drivers/esqmr.cpp b/src/mame/drivers/esqmr.cpp index 2467863c702..1de6b16b3a4 100644 --- a/src/mame/drivers/esqmr.cpp +++ b/src/mame/drivers/esqmr.cpp @@ -208,7 +208,7 @@ class esqmr_state : public driver_device { public: - esqmr_state(const machine_config &mconfig, device_type type, std::string tag) + esqmr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_sq1vfd(*this, "sq1vfd") diff --git a/src/mame/drivers/et3400.cpp b/src/mame/drivers/et3400.cpp index 316a1d83890..aa02cf5e016 100644 --- a/src/mame/drivers/et3400.cpp +++ b/src/mame/drivers/et3400.cpp @@ -20,7 +20,7 @@ class et3400_state : public driver_device { public: - et3400_state(const machine_config &mconfig, device_type type, std::string tag) + et3400_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/ettrivia.cpp b/src/mame/drivers/ettrivia.cpp index 0c911750685..76b8c8b4d12 100644 --- a/src/mame/drivers/ettrivia.cpp +++ b/src/mame/drivers/ettrivia.cpp @@ -36,7 +36,7 @@ Notes: class ettrivia_state : public driver_device { public: - ettrivia_state(const machine_config &mconfig, device_type type, std::string tag) + ettrivia_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_fg_videoram(*this, "fg_videoram"), m_bg_videoram(*this, "bg_videoram"), diff --git a/src/mame/drivers/europc.cpp b/src/mame/drivers/europc.cpp index e053665368b..8a1f92ecfb0 100644 --- a/src/mame/drivers/europc.cpp +++ b/src/mame/drivers/europc.cpp @@ -11,7 +11,7 @@ class europc_pc_state : public driver_device { public: - europc_pc_state(const machine_config &mconfig, device_type type, std::string tag) : + europc_pc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mb(*this, "mb"), diff --git a/src/mame/drivers/evmbug.cpp b/src/mame/drivers/evmbug.cpp index 40669218ced..584544ed43d 100644 --- a/src/mame/drivers/evmbug.cpp +++ b/src/mame/drivers/evmbug.cpp @@ -20,7 +20,7 @@ class evmbug_state : public driver_device { public: - evmbug_state(const machine_config &mconfig, device_type type, std::string tag) + evmbug_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/excali64.cpp b/src/mame/drivers/excali64.cpp index c519983c67d..8565eb550ba 100644 --- a/src/mame/drivers/excali64.cpp +++ b/src/mame/drivers/excali64.cpp @@ -50,7 +50,7 @@ ToDo: class excali64_state : public driver_device { public: - excali64_state(const machine_config &mconfig, device_type type, std::string tag) + excali64_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/exelv.cpp b/src/mame/drivers/exelv.cpp index eb982cc56bb..b32bad27f73 100644 --- a/src/mame/drivers/exelv.cpp +++ b/src/mame/drivers/exelv.cpp @@ -65,7 +65,7 @@ TODO: class exelv_state : public driver_device { public: - exelv_state(const machine_config &mconfig, device_type type, std::string tag) + exelv_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_tms3556(*this, "tms3556"), diff --git a/src/mame/drivers/exidyttl.cpp b/src/mame/drivers/exidyttl.cpp index b5cc32385b4..cbaef90b02a 100644 --- a/src/mame/drivers/exidyttl.cpp +++ b/src/mame/drivers/exidyttl.cpp @@ -44,7 +44,7 @@ Exidy discrete hardware games class exidyttl_state : public driver_device { public: - exidyttl_state(const machine_config &mconfig, device_type type, std::string tag) + exidyttl_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_video(*this, "fixfreq") diff --git a/src/mame/drivers/expro02.cpp b/src/mame/drivers/expro02.cpp index f747e9314d5..79549bfa123 100644 --- a/src/mame/drivers/expro02.cpp +++ b/src/mame/drivers/expro02.cpp @@ -215,7 +215,7 @@ TODO: class expro02_state : public driver_device { public: - expro02_state(const machine_config &mconfig, device_type type, std::string tag) + expro02_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_expro02_fg_ind8_pixram(*this, "fg_ind8ram"), m_expro02_bg_rgb555_pixram(*this, "bg_rgb555ram"), diff --git a/src/mame/drivers/extrema.cpp b/src/mame/drivers/extrema.cpp index 69ff1f4dd68..4412839f895 100644 --- a/src/mame/drivers/extrema.cpp +++ b/src/mame/drivers/extrema.cpp @@ -19,7 +19,7 @@ class extrema_state : public driver_device { public: - extrema_state(const machine_config &mconfig, device_type type, std::string tag) + extrema_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/f-32.cpp b/src/mame/drivers/f-32.cpp index 40b69d31222..a3fa89710d5 100644 --- a/src/mame/drivers/f-32.cpp +++ b/src/mame/drivers/f-32.cpp @@ -36,7 +36,7 @@ f5 class mosaicf2_state : public driver_device { public: - mosaicf2_state(const machine_config &mconfig, device_type type, std::string tag) + mosaicf2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") , m_videoram(*this, "videoram"){ } diff --git a/src/mame/drivers/famibox.cpp b/src/mame/drivers/famibox.cpp index 6032785d78c..ee39a617359 100644 --- a/src/mame/drivers/famibox.cpp +++ b/src/mame/drivers/famibox.cpp @@ -69,7 +69,7 @@ Notes/ToDo: class famibox_state : public driver_device { public: - famibox_state(const machine_config &mconfig, device_type type, std::string tag) + famibox_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ppu(*this, "ppu") { } diff --git a/src/mame/drivers/fanucs15.cpp b/src/mame/drivers/fanucs15.cpp index b192756c80c..c9cb662a2f4 100644 --- a/src/mame/drivers/fanucs15.cpp +++ b/src/mame/drivers/fanucs15.cpp @@ -311,7 +311,7 @@ class fanucs15_state : public driver_device { public: - fanucs15_state(const machine_config &mconfig, device_type type, std::string tag) + fanucs15_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") // main 68020 , m_pmccpu(*this, "pmccpu") // sub 68000-12 diff --git a/src/mame/drivers/fanucspmg.cpp b/src/mame/drivers/fanucspmg.cpp index d5dfb3a8d2d..88eb5836d87 100644 --- a/src/mame/drivers/fanucspmg.cpp +++ b/src/mame/drivers/fanucspmg.cpp @@ -560,7 +560,7 @@ the keypad symbols seem to use a different matrix pattern from the rest? class fanucspmg_state : public driver_device { public: - fanucspmg_state(const machine_config &mconfig, device_type type, std::string tag) + fanucspmg_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, MAINCPU_TAG) , m_subcpu(*this, SUBCPU_TAG) diff --git a/src/mame/drivers/fastinvaders.cpp b/src/mame/drivers/fastinvaders.cpp index c77d4f43c17..875736b1aee 100644 --- a/src/mame/drivers/fastinvaders.cpp +++ b/src/mame/drivers/fastinvaders.cpp @@ -22,7 +22,7 @@ http://www.citylan.it/wiki/index.php/Fast_Invaders_%288275_version%29 class fastinvaders_state : public driver_device { public: - fastinvaders_state(const machine_config &mconfig, device_type type, std::string tag) + fastinvaders_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), @@ -248,7 +248,7 @@ WRITE8_MEMBER(fastinvaders_state::io_40_w) WRITE8_MEMBER(fastinvaders_state::io_90_w) { - logerror("Audio write %02X\n",data); +logerror("Audio write &02X\n",data); } diff --git a/src/mame/drivers/fb01.cpp b/src/mame/drivers/fb01.cpp index 8feb3510e71..b45fbe6f036 100644 --- a/src/mame/drivers/fb01.cpp +++ b/src/mame/drivers/fb01.cpp @@ -21,7 +21,7 @@ class fb01_state : public driver_device { public: - fb01_state(const machine_config &mconfig, device_type type, std::string tag) + fb01_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_upd71051(*this, "upd71051") diff --git a/src/mame/drivers/fc100.cpp b/src/mame/drivers/fc100.cpp index 79e62a1308b..7b32ffc4a18 100644 --- a/src/mame/drivers/fc100.cpp +++ b/src/mame/drivers/fc100.cpp @@ -49,7 +49,7 @@ TODO: class fc100_state : public driver_device { public: - fc100_state(const machine_config &mconfig, device_type type, std::string tag) + fc100_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_vdg(*this, "vdg") diff --git a/src/mame/drivers/feversoc.cpp b/src/mame/drivers/feversoc.cpp index cfa668a377d..eb810a83fc4 100644 --- a/src/mame/drivers/feversoc.cpp +++ b/src/mame/drivers/feversoc.cpp @@ -69,7 +69,7 @@ U0564 LH28F800SU OBJ4-1 class feversoc_state : public driver_device { public: - feversoc_state(const machine_config &mconfig, device_type type, std::string tag) + feversoc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_mainram(*this, "workram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/drivers/fireball.cpp b/src/mame/drivers/fireball.cpp index c0dfc8ef058..eb73ab3ad37 100644 --- a/src/mame/drivers/fireball.cpp +++ b/src/mame/drivers/fireball.cpp @@ -43,7 +43,7 @@ class fireball_state : public driver_device { public: - fireball_state(const machine_config &mconfig, device_type type, std::string tag) + fireball_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ay(*this, "aysnd"), diff --git a/src/mame/drivers/firebeat.cpp b/src/mame/drivers/firebeat.cpp index 39bdf5ab101..bdfaac9e1a6 100644 --- a/src/mame/drivers/firebeat.cpp +++ b/src/mame/drivers/firebeat.cpp @@ -169,7 +169,7 @@ struct IBUTTON class firebeat_state : public driver_device { public: - firebeat_state(const machine_config &mconfig, device_type type, std::string tag) + firebeat_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/firefox.cpp b/src/mame/drivers/firefox.cpp index ad6caeb26ec..6d52a64e925 100644 --- a/src/mame/drivers/firefox.cpp +++ b/src/mame/drivers/firefox.cpp @@ -41,7 +41,7 @@ but requires a special level III player for proper control. Video: CAV. Audio: A class firefox_state : public driver_device { public: - firefox_state(const machine_config &mconfig, device_type type, std::string tag) + firefox_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_laserdisc(*this, "laserdisc") , m_tileram(*this, "tileram"), diff --git a/src/mame/drivers/fk1.cpp b/src/mame/drivers/fk1.cpp index a05814054c4..e250aada256 100644 --- a/src/mame/drivers/fk1.cpp +++ b/src/mame/drivers/fk1.cpp @@ -19,7 +19,7 @@ class fk1_state : public driver_device { public: - fk1_state(const machine_config &mconfig, device_type type, std::string tag) + fk1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG) diff --git a/src/mame/drivers/flicker.cpp b/src/mame/drivers/flicker.cpp index 8e8878ea969..09947a0f2e6 100644 --- a/src/mame/drivers/flicker.cpp +++ b/src/mame/drivers/flicker.cpp @@ -26,7 +26,7 @@ class flicker_state : public genpin_class { public: - flicker_state(const machine_config &mconfig, device_type type, std::string tag) + flicker_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_testport(*this, "TEST") diff --git a/src/mame/drivers/flipjack.cpp b/src/mame/drivers/flipjack.cpp index 60ead4b5feb..777686e7b7b 100644 --- a/src/mame/drivers/flipjack.cpp +++ b/src/mame/drivers/flipjack.cpp @@ -89,7 +89,7 @@ ________________________|___________________________ class flipjack_state : public driver_device { public: - flipjack_state(const machine_config &mconfig, device_type type, std::string tag) + flipjack_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/flyball.cpp b/src/mame/drivers/flyball.cpp index 3f26f6ab147..f2772125a32 100644 --- a/src/mame/drivers/flyball.cpp +++ b/src/mame/drivers/flyball.cpp @@ -35,7 +35,7 @@ public: TIMER_QUARTER }; - flyball_state(const machine_config &mconfig, device_type type, std::string tag) + flyball_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/force68k.cpp b/src/mame/drivers/force68k.cpp index b27e05d75ed..a4ba796836e 100644 --- a/src/mame/drivers/force68k.cpp +++ b/src/mame/drivers/force68k.cpp @@ -125,7 +125,7 @@ class force68k_state : public driver_device { public: -force68k_state(const machine_config &mconfig, device_type type, std::string tag) : +force68k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device (mconfig, type, tag), m_maincpu (*this, "maincpu"), m_rtc (*this, "rtc"), diff --git a/src/mame/drivers/forte2.cpp b/src/mame/drivers/forte2.cpp index a877dd42689..6f0334ef9d0 100644 --- a/src/mame/drivers/forte2.cpp +++ b/src/mame/drivers/forte2.cpp @@ -31,7 +31,7 @@ found/dumped yet. */ class forte2_state : public driver_device { public: - forte2_state(const machine_config &mconfig, device_type type, std::string tag) + forte2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/fortecar.cpp b/src/mame/drivers/fortecar.cpp index 229f9a5ae4e..59043194bfe 100644 --- a/src/mame/drivers/fortecar.cpp +++ b/src/mame/drivers/fortecar.cpp @@ -330,7 +330,7 @@ class fortecar_state : public driver_device { public: - fortecar_state(const machine_config &mconfig, device_type type, std::string tag) + fortecar_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_vram(*this, "vram"), diff --git a/src/mame/drivers/fp1100.cpp b/src/mame/drivers/fp1100.cpp index dcc64db9ab5..6352049278c 100644 --- a/src/mame/drivers/fp1100.cpp +++ b/src/mame/drivers/fp1100.cpp @@ -66,7 +66,7 @@ class fp1100_state : public driver_device { public: - fp1100_state(const machine_config &mconfig, device_type type, std::string tag) + fp1100_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/fp200.cpp b/src/mame/drivers/fp200.cpp index 2fd185bc7c5..0bf5c3a0239 100644 --- a/src/mame/drivers/fp200.cpp +++ b/src/mame/drivers/fp200.cpp @@ -28,7 +28,7 @@ class fp200_state : public driver_device { public: - fp200_state(const machine_config &mconfig, device_type type, std::string tag) + fp200_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/fp6000.cpp b/src/mame/drivers/fp6000.cpp index 82700e9337a..fba366c95d9 100644 --- a/src/mame/drivers/fp6000.cpp +++ b/src/mame/drivers/fp6000.cpp @@ -26,7 +26,7 @@ class fp6000_state : public driver_device { public: - fp6000_state(const machine_config &mconfig, device_type type, std::string tag) + fp6000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_gvram(*this, "gvram"), m_vram(*this, "vram"), diff --git a/src/mame/drivers/fresh.cpp b/src/mame/drivers/fresh.cpp index 176c77adf75..b6bb3cc636f 100644 --- a/src/mame/drivers/fresh.cpp +++ b/src/mame/drivers/fresh.cpp @@ -31,7 +31,7 @@ rom 5 and 6 are prg roms class fresh_state : public driver_device { public: - fresh_state(const machine_config &mconfig, device_type type, std::string tag) + fresh_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_bg_videoram(*this, "bg_videoram"), m_bg_2_videoram(*this, "bg_videoram_2"), diff --git a/src/mame/drivers/fruitpc.cpp b/src/mame/drivers/fruitpc.cpp index 79ff60ba47a..ce459586a45 100644 --- a/src/mame/drivers/fruitpc.cpp +++ b/src/mame/drivers/fruitpc.cpp @@ -25,7 +25,7 @@ class fruitpc_state : public pcat_base_state { public: - fruitpc_state(const machine_config &mconfig, device_type type, std::string tag) + fruitpc_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag), m_inp1(*this, "INP1"), m_inp2(*this, "INP2"), diff --git a/src/mame/drivers/ft68m.cpp b/src/mame/drivers/ft68m.cpp index 9079be64afb..e8077b58b89 100644 --- a/src/mame/drivers/ft68m.cpp +++ b/src/mame/drivers/ft68m.cpp @@ -22,7 +22,7 @@ Interrupts: INT6 is output of Timer 2, INT7 is output of Timer 3 (refresh), class ft68m_state : public driver_device { public: - ft68m_state(const machine_config &mconfig, device_type type, std::string tag) + ft68m_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_base(*this, "rambase"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/fungames.cpp b/src/mame/drivers/fungames.cpp index 1e4a7e21ea3..ac526d7153c 100644 --- a/src/mame/drivers/fungames.cpp +++ b/src/mame/drivers/fungames.cpp @@ -39,7 +39,7 @@ class fungames_state : public driver_device { public: - fungames_state(const machine_config &mconfig, device_type type, std::string tag) + fungames_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_video(*this, "fixfreq") diff --git a/src/mame/drivers/funkball.cpp b/src/mame/drivers/funkball.cpp index 4f1e54c94db..caa650705fe 100644 --- a/src/mame/drivers/funkball.cpp +++ b/src/mame/drivers/funkball.cpp @@ -83,7 +83,7 @@ Notes: class funkball_state : public pcat_base_state { public: - funkball_state(const machine_config &mconfig, device_type type, std::string tag) + funkball_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag), m_voodoo(*this, "voodoo_0"), m_unk_ram(*this, "unk_ram"), diff --git a/src/mame/drivers/g627.cpp b/src/mame/drivers/g627.cpp index 45338341b24..e96509a1703 100644 --- a/src/mame/drivers/g627.cpp +++ b/src/mame/drivers/g627.cpp @@ -49,7 +49,7 @@ ToDo: class g627_state : public genpin_class { public: - g627_state(const machine_config &mconfig, device_type type, std::string tag) + g627_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_switch(*this, "SWITCH") diff --git a/src/mame/drivers/gal3.cpp b/src/mame/drivers/gal3.cpp index 2a3d41b1539..4fcb523ade2 100644 --- a/src/mame/drivers/gal3.cpp +++ b/src/mame/drivers/gal3.cpp @@ -139,7 +139,7 @@ better notes (complete chip lists) for each board still needed class gal3_state : public namcos2_shared_state { public: - gal3_state(const machine_config &mconfig, device_type type, std::string tag) + gal3_state(const machine_config &mconfig, device_type type, const char *tag) : namcos2_shared_state(mconfig, type, tag) , m_rso_shared_ram(*this, "rso_shared_ram"), m_generic_paletteram_16(*this, "paletteram") { } diff --git a/src/mame/drivers/galaxi.cpp b/src/mame/drivers/galaxi.cpp index 765f08f084e..617ce8a3956 100644 --- a/src/mame/drivers/galaxi.cpp +++ b/src/mame/drivers/galaxi.cpp @@ -50,7 +50,7 @@ Notes: class galaxi_state : public driver_device { public: - galaxi_state(const machine_config &mconfig, device_type type, std::string tag) + galaxi_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_bg1_ram(*this, "bg1_ram"), m_bg2_ram(*this, "bg2_ram"), diff --git a/src/mame/drivers/galgame.cpp b/src/mame/drivers/galgame.cpp index 3867dbe9672..0855699da39 100644 --- a/src/mame/drivers/galgame.cpp +++ b/src/mame/drivers/galgame.cpp @@ -19,7 +19,7 @@ class galaxygame_state : public driver_device { public: - galaxygame_state(const machine_config &mconfig, device_type type, std::string tag) + galaxygame_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette") { } diff --git a/src/mame/drivers/galpani2.cpp b/src/mame/drivers/galpani2.cpp index 38c94e02085..a658e02409b 100644 --- a/src/mame/drivers/galpani2.cpp +++ b/src/mame/drivers/galpani2.cpp @@ -332,14 +332,14 @@ WRITE8_MEMBER(galpani2_state::galpani2_coin_lockout_w) WRITE8_MEMBER(galpani2_state::galpani2_oki1_bank_w) { UINT8 *ROM = memregion("oki1")->base(); - logerror("%s : %s bank %08X\n",machine().describe_context(),tag().c_str(),data); + logerror("%s : %s bank %08X\n",machine().describe_context(),tag(),data); memcpy(ROM + 0x30000, ROM + 0x40000 + 0x10000 * (~data & 0xf), 0x10000); } WRITE8_MEMBER(galpani2_state::galpani2_oki2_bank_w) { m_oki2->set_bank_base(0x40000 * (data & 0xf) ); - logerror("%s : %s bank %08X\n",machine().describe_context(),tag().c_str(),data); + logerror("%s : %s bank %08X\n",machine().describe_context(),tag(),data); } diff --git a/src/mame/drivers/galpani3.cpp b/src/mame/drivers/galpani3.cpp index 00432bba273..c54af2de04d 100644 --- a/src/mame/drivers/galpani3.cpp +++ b/src/mame/drivers/galpani3.cpp @@ -74,7 +74,7 @@ Dumped by Uki class galpani3_state : public driver_device { public: - galpani3_state(const machine_config &mconfig, device_type type, std::string tag) + galpani3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_grap2_0(*this,"grap2_0"), diff --git a/src/mame/drivers/gamate.cpp b/src/mame/drivers/gamate.cpp index a4e05da6306..66959b13008 100644 --- a/src/mame/drivers/gamate.cpp +++ b/src/mame/drivers/gamate.cpp @@ -19,7 +19,7 @@ class gamate_state : public driver_device { public: - gamate_state(const machine_config &mconfig, device_type type, std::string tag) + gamate_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_sound(*this, "custom") diff --git a/src/mame/drivers/gambl186.cpp b/src/mame/drivers/gambl186.cpp index 7d2336472a3..89e009743c5 100644 --- a/src/mame/drivers/gambl186.cpp +++ b/src/mame/drivers/gambl186.cpp @@ -58,7 +58,7 @@ TODO: class gambl186_state : public driver_device { public: - gambl186_state(const machine_config &mconfig, device_type type, std::string tag) + gambl186_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_upd7759(*this, "7759") { } diff --git a/src/mame/drivers/gamecstl.cpp b/src/mame/drivers/gamecstl.cpp index 7c5ddda7a22..97e2e248323 100644 --- a/src/mame/drivers/gamecstl.cpp +++ b/src/mame/drivers/gamecstl.cpp @@ -75,7 +75,7 @@ class gamecstl_state : public pcat_base_state { public: - gamecstl_state(const machine_config &mconfig, device_type type, std::string tag) + gamecstl_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag), m_cga_ram(*this, "cga_ram"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/gameking.cpp b/src/mame/drivers/gameking.cpp index 596936984e9..66ce023b10b 100644 --- a/src/mame/drivers/gameking.cpp +++ b/src/mame/drivers/gameking.cpp @@ -35,7 +35,7 @@ class gameking_state : public driver_device { public: - gameking_state(const machine_config &mconfig, device_type type, std::string tag) + gameking_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cart(*this, "cartslot"), diff --git a/src/mame/drivers/gammagic.cpp b/src/mame/drivers/gammagic.cpp index 8b9714bc96e..6fb03850748 100644 --- a/src/mame/drivers/gammagic.cpp +++ b/src/mame/drivers/gammagic.cpp @@ -42,7 +42,7 @@ Additional CD-ROM games: "99 Bottles of Beer" class gammagic_state : public pcat_base_state { public: - gammagic_state(const machine_config &mconfig, device_type type, std::string tag) + gammagic_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag) { } virtual void machine_start() override; diff --git a/src/mame/drivers/gamtor.cpp b/src/mame/drivers/gamtor.cpp index d64b10af4e5..adb337a720a 100644 --- a/src/mame/drivers/gamtor.cpp +++ b/src/mame/drivers/gamtor.cpp @@ -34,7 +34,7 @@ class gaminator_state : public driver_device { public: - gaminator_state(const machine_config &mconfig, device_type type, std::string tag) + gaminator_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/gei.cpp b/src/mame/drivers/gei.cpp index db310d6ef83..351ff521f69 100644 --- a/src/mame/drivers/gei.cpp +++ b/src/mame/drivers/gei.cpp @@ -82,7 +82,7 @@ NOTE: Trivia Question rom names are the internal names used. IE: read from the f class gei_state : public driver_device { public: - gei_state(const machine_config &mconfig, device_type type, std::string tag) + gei_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), diff --git a/src/mame/drivers/geneve.cpp b/src/mame/drivers/geneve.cpp index 9538ea8a34f..59775a8f130 100644 --- a/src/mame/drivers/geneve.cpp +++ b/src/mame/drivers/geneve.cpp @@ -225,7 +225,7 @@ class geneve_state : public driver_device { public: - geneve_state(const machine_config &mconfig, device_type type, std::string tag) + geneve_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_cpu(*this, "maincpu"), m_tms9901(*this, TMS9901_TAG), diff --git a/src/mame/drivers/geniusiq.cpp b/src/mame/drivers/geniusiq.cpp index e9d964cd5a1..dbfd894b9e5 100644 --- a/src/mame/drivers/geniusiq.cpp +++ b/src/mame/drivers/geniusiq.cpp @@ -254,7 +254,7 @@ public: IQ128_NO_CART = 0x03 }; - geniusiq_state(const machine_config &mconfig, device_type type, std::string tag) + geniusiq_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cart(*this, "cartslot"), @@ -312,7 +312,7 @@ private: class gl8008cx_state : public driver_device { public: - gl8008cx_state(const machine_config &mconfig, device_type type, std::string tag) + gl8008cx_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/genpc.cpp b/src/mame/drivers/genpc.cpp index 23584037770..72d267b69af 100644 --- a/src/mame/drivers/genpc.cpp +++ b/src/mame/drivers/genpc.cpp @@ -22,7 +22,7 @@ class genpc_state : public driver_device { public: - genpc_state(const machine_config &mconfig, device_type type, std::string tag) + genpc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/ggconnie.cpp b/src/mame/drivers/ggconnie.cpp index 12eed01a657..236a5c1c21d 100644 --- a/src/mame/drivers/ggconnie.cpp +++ b/src/mame/drivers/ggconnie.cpp @@ -32,7 +32,7 @@ class ggconnie_state : public pce_common_state { public: - ggconnie_state(const machine_config &mconfig, device_type type, std::string tag) + ggconnie_state(const machine_config &mconfig, device_type type, const char *tag) : pce_common_state(mconfig, type, tag), m_rtc(*this, "rtc"), m_oki(*this, "oki") diff --git a/src/mame/drivers/ghosteo.cpp b/src/mame/drivers/ghosteo.cpp index d729fe2ecb8..6a57e0ccba5 100644 --- a/src/mame/drivers/ghosteo.cpp +++ b/src/mame/drivers/ghosteo.cpp @@ -84,7 +84,7 @@ struct nand_t class ghosteo_state : public driver_device { public: - ghosteo_state(const machine_config &mconfig, device_type type, std::string tag) + ghosteo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") , m_i2cmem(*this, "i2cmem"), diff --git a/src/mame/drivers/gimix.cpp b/src/mame/drivers/gimix.cpp index b13af7ae728..c951b6309cb 100644 --- a/src/mame/drivers/gimix.cpp +++ b/src/mame/drivers/gimix.cpp @@ -63,7 +63,7 @@ class gimix_state : public driver_device { public: - gimix_state(const machine_config &mconfig, device_type type, std::string tag) + gimix_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_fdc(*this, "fdc") diff --git a/src/mame/drivers/gizmondo.cpp b/src/mame/drivers/gizmondo.cpp index 0ac24396992..4f14b5ab349 100644 --- a/src/mame/drivers/gizmondo.cpp +++ b/src/mame/drivers/gizmondo.cpp @@ -45,7 +45,7 @@ SYSINTR_GPS = INT_EINT3, INT_EINT8_23 (EINT18) class gizmondo_state : public driver_device { public: - gizmondo_state(const machine_config &mconfig, device_type type, std::string tag) + gizmondo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_s3c2440(*this, "s3c2440"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/gkigt.cpp b/src/mame/drivers/gkigt.cpp index eba151c6e1c..b751be8a2fb 100644 --- a/src/mame/drivers/gkigt.cpp +++ b/src/mame/drivers/gkigt.cpp @@ -89,7 +89,7 @@ PCB board that connects to 044 boards via J6 & J7 class igt_gameking_state : public driver_device { public: - igt_gameking_state(const machine_config &mconfig, device_type type, std::string tag) + igt_gameking_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) { } diff --git a/src/mame/drivers/glasgow.cpp b/src/mame/drivers/glasgow.cpp index a0ee00c428b..c46ef03ae1c 100644 --- a/src/mame/drivers/glasgow.cpp +++ b/src/mame/drivers/glasgow.cpp @@ -58,7 +58,7 @@ R.Schaefer Oct 2010 class glasgow_state : public mboard_state { public: - glasgow_state(const machine_config &mconfig, device_type type, std::string tag) + glasgow_state(const machine_config &mconfig, device_type type, const char *tag) : mboard_state(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_beep(*this, "beeper"), diff --git a/src/mame/drivers/globalfr.cpp b/src/mame/drivers/globalfr.cpp index 6347c4549d7..b64b666aba7 100644 --- a/src/mame/drivers/globalfr.cpp +++ b/src/mame/drivers/globalfr.cpp @@ -24,7 +24,7 @@ class globalfr_state : public driver_device { public: - globalfr_state(const machine_config &mconfig, device_type type, std::string tag) + globalfr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_vfd(*this, "vfd") diff --git a/src/mame/drivers/globalvr.cpp b/src/mame/drivers/globalvr.cpp index f5329a531e2..04b957b9c90 100644 --- a/src/mame/drivers/globalvr.cpp +++ b/src/mame/drivers/globalvr.cpp @@ -62,7 +62,7 @@ UltraPin 2006 class globalvr_state : public driver_device { public: - globalvr_state(const machine_config &mconfig, device_type type, std::string tag) + globalvr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/gluck2.cpp b/src/mame/drivers/gluck2.cpp index fc63a987ac3..5802238eddc 100644 --- a/src/mame/drivers/gluck2.cpp +++ b/src/mame/drivers/gluck2.cpp @@ -204,7 +204,7 @@ class gluck2_state : public driver_device { public: - gluck2_state(const machine_config &mconfig, device_type type, std::string tag) + gluck2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/gmaster.cpp b/src/mame/drivers/gmaster.cpp index 71d293c771a..dc586efab82 100644 --- a/src/mame/drivers/gmaster.cpp +++ b/src/mame/drivers/gmaster.cpp @@ -15,7 +15,7 @@ class gmaster_state : public driver_device { public: - gmaster_state(const machine_config &mconfig, device_type type, std::string tag) + gmaster_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_speaker(*this, "speaker") diff --git a/src/mame/drivers/go2000.cpp b/src/mame/drivers/go2000.cpp index 798044ccd99..5bb7a58f0a3 100644 --- a/src/mame/drivers/go2000.cpp +++ b/src/mame/drivers/go2000.cpp @@ -39,7 +39,7 @@ Notes: class go2000_state : public driver_device { public: - go2000_state(const machine_config &mconfig, device_type type, std::string tag) + go2000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_videoram2(*this, "videoram2"), diff --git a/src/mame/drivers/goldngam.cpp b/src/mame/drivers/goldngam.cpp index 37b0c8dea40..18ad31bd62d 100644 --- a/src/mame/drivers/goldngam.cpp +++ b/src/mame/drivers/goldngam.cpp @@ -242,7 +242,7 @@ class goldngam_state : public driver_device { public: - goldngam_state(const machine_config &mconfig, device_type type, std::string tag) + goldngam_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/goldnpkr.cpp b/src/mame/drivers/goldnpkr.cpp index f8e973c0b5b..5c691c5922b 100644 --- a/src/mame/drivers/goldnpkr.cpp +++ b/src/mame/drivers/goldnpkr.cpp @@ -1090,7 +1090,7 @@ class goldnpkr_state : public driver_device { public: - goldnpkr_state(const machine_config &mconfig, device_type type, std::string tag) + goldnpkr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/good.cpp b/src/mame/drivers/good.cpp index bc64b5c52cc..17f9c13e191 100644 --- a/src/mame/drivers/good.cpp +++ b/src/mame/drivers/good.cpp @@ -40,7 +40,7 @@ voice.rom - VOICE ROM class good_state : public driver_device { public: - good_state(const machine_config &mconfig, device_type type, std::string tag) + good_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_fg_tilemapram(*this, "fg_tilemapram"), m_bg_tilemapram(*this, "bg_tilemapram"), diff --git a/src/mame/drivers/goodejan.cpp b/src/mame/drivers/goodejan.cpp index 7262009a93c..77a7aff5e94 100644 --- a/src/mame/drivers/goodejan.cpp +++ b/src/mame/drivers/goodejan.cpp @@ -78,7 +78,7 @@ Secret menu hack [totmejan only] (I couldn't find official way to enter, so it's class goodejan_state : public driver_device { public: - goodejan_state(const machine_config &mconfig, device_type type, std::string tag) + goodejan_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/gp2x.cpp b/src/mame/drivers/gp2x.cpp index 340aead7a7a..0865638044e 100644 --- a/src/mame/drivers/gp2x.cpp +++ b/src/mame/drivers/gp2x.cpp @@ -26,7 +26,7 @@ class gp2x_state : public driver_device { public: - gp2x_state(const machine_config &mconfig, device_type type, std::string tag) + gp2x_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_maincpu_region(*this, "maincpu"), diff --git a/src/mame/drivers/gp_1.cpp b/src/mame/drivers/gp_1.cpp index f3919fa5421..96d4e94cb78 100644 --- a/src/mame/drivers/gp_1.cpp +++ b/src/mame/drivers/gp_1.cpp @@ -30,7 +30,7 @@ ToDo: class gp_1_state : public genpin_class { public: - gp_1_state(const machine_config &mconfig, device_type type, std::string tag) + gp_1_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_ctc(*this, "ctc") diff --git a/src/mame/drivers/gp_2.cpp b/src/mame/drivers/gp_2.cpp index d9420122252..b829912b939 100644 --- a/src/mame/drivers/gp_2.cpp +++ b/src/mame/drivers/gp_2.cpp @@ -43,7 +43,7 @@ ToDo: class gp_2_state : public genpin_class { public: - gp_2_state(const machine_config &mconfig, device_type type, std::string tag) + gp_2_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_ctc(*this, "ctc") diff --git a/src/mame/drivers/gpworld.cpp b/src/mame/drivers/gpworld.cpp index a2401258d0e..9140db8af75 100644 --- a/src/mame/drivers/gpworld.cpp +++ b/src/mame/drivers/gpworld.cpp @@ -54,7 +54,7 @@ public: TIMER_IRQ_STOP }; - gpworld_state(const machine_config &mconfig, device_type type, std::string tag) + gpworld_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_laserdisc(*this, "laserdisc") , m_sprite_ram(*this, "sprite_ram"), diff --git a/src/mame/drivers/grfd2301.cpp b/src/mame/drivers/grfd2301.cpp index 0d18239188e..cc9c16a74b2 100644 --- a/src/mame/drivers/grfd2301.cpp +++ b/src/mame/drivers/grfd2301.cpp @@ -37,7 +37,7 @@ A sticker on the back panel says: GenRad, Culver City CA, Model 2301-9001 class grfd2301_state : public driver_device { public: - grfd2301_state(const machine_config &mconfig, device_type type, std::string tag) + grfd2301_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_p_videoram(*this, "videoram") , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/gstream.cpp b/src/mame/drivers/gstream.cpp index b08e1363cc8..bef7f573d07 100644 --- a/src/mame/drivers/gstream.cpp +++ b/src/mame/drivers/gstream.cpp @@ -140,7 +140,7 @@ RAM4 is HMC HM6264LP-70 class gstream_state : public driver_device { public: - gstream_state(const machine_config &mconfig, device_type type, std::string tag) + gstream_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki_1(*this, "oki1"), diff --git a/src/mame/drivers/gticlub.cpp b/src/mame/drivers/gticlub.cpp index 89bc42be2b8..b751e7fc029 100644 --- a/src/mame/drivers/gticlub.cpp +++ b/src/mame/drivers/gticlub.cpp @@ -242,7 +242,7 @@ Hang Pilot (uses an unknown but similar video board) 12W class gticlub_state : public driver_device { public: - gticlub_state(const machine_config &mconfig, device_type type, std::string tag) + gticlub_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), @@ -908,7 +908,7 @@ UINT32 gticlub_state::screen_update_hangplt(screen_device &screen, bitmap_rgb32 { bitmap.fill(m_palette->pen(0), cliprect); - if (screen.tag()==":lscreen") + if (strcmp(screen.tag(), ":lscreen") == 0) { device_t *voodoo = machine().device("voodoo0"); @@ -918,7 +918,7 @@ UINT32 gticlub_state::screen_update_hangplt(screen_device &screen, bitmap_rgb32 m_k001604_1->draw_front_layer(screen, bitmap, cliprect); } - else if (screen.tag()==":rscreen") + else if (strcmp(screen.tag(), ":rscreen") == 0) { device_t *voodoo = machine().device("voodoo1"); diff --git a/src/mame/drivers/gts1.cpp b/src/mame/drivers/gts1.cpp index 17e5b781012..ffed197ba3c 100644 --- a/src/mame/drivers/gts1.cpp +++ b/src/mame/drivers/gts1.cpp @@ -84,7 +84,7 @@ ToDo: class gts1_state : public genpin_class { public: - gts1_state(const machine_config &mconfig, device_type type, std::string tag) + gts1_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_switches(*this, "X") diff --git a/src/mame/drivers/gts3.cpp b/src/mame/drivers/gts3.cpp index ff618eee830..151a286c212 100644 --- a/src/mame/drivers/gts3.cpp +++ b/src/mame/drivers/gts3.cpp @@ -38,7 +38,7 @@ ToDo: class gts3_state : public driver_device { public: - gts3_state(const machine_config &mconfig, device_type type, std::string tag) + gts3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_u4(*this, "u4") diff --git a/src/mame/drivers/gts3a.cpp b/src/mame/drivers/gts3a.cpp index 690ec7577fb..a437c38300e 100644 --- a/src/mame/drivers/gts3a.cpp +++ b/src/mame/drivers/gts3a.cpp @@ -26,7 +26,7 @@ ToDo: class gts3a_state : public driver_device { public: - gts3a_state(const machine_config &mconfig, device_type type, std::string tag) + gts3a_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/gts80.cpp b/src/mame/drivers/gts80.cpp index c9fa11f900b..f6ae1241425 100644 --- a/src/mame/drivers/gts80.cpp +++ b/src/mame/drivers/gts80.cpp @@ -31,7 +31,7 @@ ToDO: class gts80_state : public genpin_class { public: - gts80_state(const machine_config &mconfig, device_type type, std::string tag) + gts80_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_r0_sound(*this, "r0sound") diff --git a/src/mame/drivers/gts80a.cpp b/src/mame/drivers/gts80a.cpp index ff0feee8879..4a399daf3e2 100644 --- a/src/mame/drivers/gts80a.cpp +++ b/src/mame/drivers/gts80a.cpp @@ -20,7 +20,7 @@ class gts80a_state : public genpin_class { public: - gts80a_state(const machine_config &mconfig, device_type type, std::string tag) + gts80a_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_r0_sound(*this, "r0sound") @@ -382,7 +382,7 @@ MACHINE_CONFIG_END class caveman_state : public gts80a_state { public: - caveman_state(const machine_config &mconfig, device_type type, std::string tag) + caveman_state(const machine_config &mconfig, device_type type, const char *tag) : gts80a_state(mconfig, type, tag) , m_videocpu(*this, "video_cpu") , m_vram(*this, "vram") diff --git a/src/mame/drivers/gts80b.cpp b/src/mame/drivers/gts80b.cpp index 422291339a9..28914a300c4 100644 --- a/src/mame/drivers/gts80b.cpp +++ b/src/mame/drivers/gts80b.cpp @@ -21,7 +21,7 @@ class gts80b_state : public genpin_class { public: - gts80b_state(const machine_config &mconfig, device_type type, std::string tag) + gts80b_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_r0_sound(*this, "r0sound") diff --git a/src/mame/drivers/guab.cpp b/src/mame/drivers/guab.cpp index 0f6e9da82e1..e67cfdd7d02 100644 --- a/src/mame/drivers/guab.cpp +++ b/src/mame/drivers/guab.cpp @@ -64,7 +64,7 @@ struct ef9369 class guab_state : public driver_device { public: - guab_state(const machine_config &mconfig, device_type type, std::string tag) + guab_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_tms34061(*this, "tms34061"), diff --git a/src/mame/drivers/gunpey.cpp b/src/mame/drivers/gunpey.cpp index f07b7aed43d..80285fe5c1f 100644 --- a/src/mame/drivers/gunpey.cpp +++ b/src/mame/drivers/gunpey.cpp @@ -197,7 +197,7 @@ Release: November 1999 class gunpey_state : public driver_device { public: - gunpey_state(const machine_config &mconfig, device_type type, std::string tag) + gunpey_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki(*this, "oki"), diff --git a/src/mame/drivers/h19.cpp b/src/mame/drivers/h19.cpp index 10ee8978983..d9e7e4c3e8b 100644 --- a/src/mame/drivers/h19.cpp +++ b/src/mame/drivers/h19.cpp @@ -55,7 +55,7 @@ public: TIMER_BEEP_OFF }; - h19_state(const machine_config &mconfig, device_type type, std::string tag) + h19_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_crtc(*this, "crtc"), diff --git a/src/mame/drivers/h8.cpp b/src/mame/drivers/h8.cpp index 5c05a385891..5c4eb0d305b 100644 --- a/src/mame/drivers/h8.cpp +++ b/src/mame/drivers/h8.cpp @@ -59,7 +59,7 @@ TODO: class h8_state : public driver_device { public: - h8_state(const machine_config &mconfig, device_type type, std::string tag) + h8_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_uart(*this, "uart"), diff --git a/src/mame/drivers/h89.cpp b/src/mame/drivers/h89.cpp index decfe522856..4e50ebdae18 100644 --- a/src/mame/drivers/h89.cpp +++ b/src/mame/drivers/h89.cpp @@ -28,7 +28,7 @@ class h89_state : public driver_device { public: - h89_state(const machine_config &mconfig, device_type type, std::string tag) + h89_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { diff --git a/src/mame/drivers/halleys.cpp b/src/mame/drivers/halleys.cpp index a92d0bb569c..8a8737dc516 100644 --- a/src/mame/drivers/halleys.cpp +++ b/src/mame/drivers/halleys.cpp @@ -211,7 +211,7 @@ Video sync 6 F Video sync Post 6 F Post class halleys_state : public driver_device { public: - halleys_state(const machine_config &mconfig, device_type type, std::string tag) + halleys_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_blitter_ram(*this, "blitter_ram"), m_io_ram(*this, "io_ram"), diff --git a/src/mame/drivers/hankin.cpp b/src/mame/drivers/hankin.cpp index b2d4c82685d..10cd8f17c14 100644 --- a/src/mame/drivers/hankin.cpp +++ b/src/mame/drivers/hankin.cpp @@ -24,7 +24,7 @@ ToDo: class hankin_state : public genpin_class { public: - hankin_state(const machine_config &mconfig, device_type type, std::string tag) + hankin_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_audiocpu(*this, "audiocpu") diff --git a/src/mame/drivers/harddriv.cpp b/src/mame/drivers/harddriv.cpp index 3b5439639d1..5f9dd079869 100644 --- a/src/mame/drivers/harddriv.cpp +++ b/src/mame/drivers/harddriv.cpp @@ -340,7 +340,7 @@ Notes: const device_type HARDDRIV_DEVICE = &device_creator; -harddriv_state::harddriv_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +harddriv_state::harddriv_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, HARDDRIV_DEVICE, "Hard Drivin' PCB Family", tag, owner, clock, "harddriv_pcb", __FILE__), /* device_video_interface(mconfig, *this, false), */ m_maincpu(*this, "maincpu"), @@ -504,7 +504,7 @@ harddriv_state::harddriv_state(const machine_config &mconfig, std::string tag, d class harddriv_new_state : public driver_device { public: - harddriv_new_state(const machine_config &mconfig, device_type type, std::string tag) + harddriv_new_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_mainpcb(*this, "mainpcb") , m_leftpcb(*this, "leftpcb") @@ -1740,7 +1740,7 @@ MACHINE_CONFIG_END const device_type HARDDRIV_BOARD_DEVICE = &device_creator; -harddriv_board_device_state::harddriv_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +harddriv_board_device_state::harddriv_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : harddriv_state(mconfig, tag, owner, clock) { } @@ -1766,7 +1766,7 @@ void harddrivc_board_device_state::device_start() const device_type HARDDRIVC_BOARD_DEVICE = &device_creator; -harddrivc_board_device_state::harddrivc_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +harddrivc_board_device_state::harddrivc_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : harddriv_state(mconfig, tag, owner, clock) { } @@ -1794,7 +1794,7 @@ void racedrivb1_board_device_state::device_start() const device_type RACEDRIV_BOARD_DEVICE = &device_creator; const device_type RACEDRIVB1_BOARD_DEVICE = &device_creator; -racedriv_board_device_state::racedriv_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +racedriv_board_device_state::racedriv_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : harddriv_state(mconfig, tag, owner, clock) { } @@ -1831,7 +1831,7 @@ const device_type RACEDRIVC_BOARD_DEVICE = &device_creator; const device_type RACEDRIVC_PANORAMA_SIDE_BOARD_DEVICE = &device_creator; -racedrivc_board_device_state::racedrivc_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +racedrivc_board_device_state::racedrivc_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : harddriv_state(mconfig, tag, owner, clock) { } @@ -1857,7 +1857,7 @@ void stunrun_board_device_state::device_start() const device_type STUNRUN_BOARD_DEVICE = &device_creator; -stunrun_board_device_state::stunrun_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +stunrun_board_device_state::stunrun_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : harddriv_state(mconfig, tag, owner, clock) { } @@ -1891,7 +1891,7 @@ const device_type STEELTAL_BOARD_DEVICE = &device_creator; const device_type STEELTALP_BOARD_DEVICE = &device_creator; -steeltal_board_device_state::steeltal_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +steeltal_board_device_state::steeltal_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : harddriv_state(mconfig, tag, owner, clock) { } @@ -1911,7 +1911,7 @@ void strtdriv_board_device_state::device_start() const device_type STRTDRIV_BOARD_DEVICE = &device_creator; -strtdriv_board_device_state::strtdriv_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +strtdriv_board_device_state::strtdriv_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : harddriv_state(mconfig, tag, owner, clock) { } @@ -1938,7 +1938,7 @@ void hdrivairp_board_device_state::device_start() const device_type HDRIVAIR_BOARD_DEVICE = &device_creator; const device_type HDRIVAIRP_BOARD_DEVICE = &device_creator; -hdrivair_board_device_state::hdrivair_board_device_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +hdrivair_board_device_state::hdrivair_board_device_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : harddriv_state(mconfig, tag, owner, clock) { } diff --git a/src/mame/drivers/harriet.cpp b/src/mame/drivers/harriet.cpp index 9f36a4abf31..a589f2d51af 100644 --- a/src/mame/drivers/harriet.cpp +++ b/src/mame/drivers/harriet.cpp @@ -21,7 +21,7 @@ class harriet_state : public driver_device { public: - harriet_state(const machine_config &mconfig, device_type type, std::string tag) + harriet_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/hazelgr.cpp b/src/mame/drivers/hazelgr.cpp index 8cc64d0df47..b22c62381f9 100644 --- a/src/mame/drivers/hazelgr.cpp +++ b/src/mame/drivers/hazelgr.cpp @@ -12,7 +12,7 @@ class haze_state : public driver_device { public: - haze_state(const machine_config &mconfig, device_type type, std::string tag) + haze_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/headonb.cpp b/src/mame/drivers/headonb.cpp index 529f1470339..5eddfa20c66 100644 --- a/src/mame/drivers/headonb.cpp +++ b/src/mame/drivers/headonb.cpp @@ -35,7 +35,7 @@ Other outs: class headonb_state : public driver_device { public: - headonb_state(const machine_config &mconfig, device_type type, std::string tag) + headonb_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/hh_cop400.cpp b/src/mame/drivers/hh_cop400.cpp index 9fa045f51c5..486f6882b28 100644 --- a/src/mame/drivers/hh_cop400.cpp +++ b/src/mame/drivers/hh_cop400.cpp @@ -28,7 +28,7 @@ class hh_cop400_state : public driver_device { public: - hh_cop400_state(const machine_config &mconfig, device_type type, std::string tag) + hh_cop400_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_inp_matrix(*this, "IN"), @@ -239,7 +239,7 @@ UINT8 hh_cop400_state::read_inputs(int columns) class ctstein_state : public hh_cop400_state { public: - ctstein_state(const machine_config &mconfig, device_type type, std::string tag) + ctstein_state(const machine_config &mconfig, device_type type, const char *tag) : hh_cop400_state(mconfig, type, tag) { } }; @@ -289,7 +289,7 @@ MACHINE_CONFIG_END class einvaderc_state : public hh_cop400_state { public: - einvaderc_state(const machine_config &mconfig, device_type type, std::string tag) + einvaderc_state(const machine_config &mconfig, device_type type, const char *tag) : hh_cop400_state(mconfig, type, tag) { } @@ -400,7 +400,7 @@ MACHINE_CONFIG_END class funjacks_state : public hh_cop400_state { public: - funjacks_state(const machine_config &mconfig, device_type type, std::string tag) + funjacks_state(const machine_config &mconfig, device_type type, const char *tag) : hh_cop400_state(mconfig, type, tag) { } @@ -511,7 +511,7 @@ MACHINE_CONFIG_END class funrlgl_state : public hh_cop400_state { public: - funrlgl_state(const machine_config &mconfig, device_type type, std::string tag) + funrlgl_state(const machine_config &mconfig, device_type type, const char *tag) : hh_cop400_state(mconfig, type, tag) { } @@ -602,7 +602,7 @@ MACHINE_CONFIG_END class plus1_state : public hh_cop400_state { public: - plus1_state(const machine_config &mconfig, device_type type, std::string tag) + plus1_state(const machine_config &mconfig, device_type type, const char *tag) : hh_cop400_state(mconfig, type, tag) { } }; @@ -658,7 +658,7 @@ MACHINE_CONFIG_END class lightfgt_state : public hh_cop400_state { public: - lightfgt_state(const machine_config &mconfig, device_type type, std::string tag) + lightfgt_state(const machine_config &mconfig, device_type type, const char *tag) : hh_cop400_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/hh_hmcs40.cpp b/src/mame/drivers/hh_hmcs40.cpp index 28708d86516..8ded810c534 100644 --- a/src/mame/drivers/hh_hmcs40.cpp +++ b/src/mame/drivers/hh_hmcs40.cpp @@ -94,7 +94,7 @@ class hh_hmcs40_state : public driver_device { public: - hh_hmcs40_state(const machine_config &mconfig, device_type type, std::string tag) + hh_hmcs40_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), @@ -341,7 +341,7 @@ INPUT_CHANGED_MEMBER(hh_hmcs40_state::single_interrupt_line) class bambball_state : public hh_hmcs40_state { public: - bambball_state(const machine_config &mconfig, device_type type, std::string tag) + bambball_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -451,7 +451,7 @@ MACHINE_CONFIG_END class bmboxing_state : public hh_hmcs40_state { public: - bmboxing_state(const machine_config &mconfig, device_type type, std::string tag) + bmboxing_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -585,7 +585,7 @@ MACHINE_CONFIG_END class bfriskyt_state : public hh_hmcs40_state { public: - bfriskyt_state(const machine_config &mconfig, device_type type, std::string tag) + bfriskyt_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -713,7 +713,7 @@ MACHINE_CONFIG_END class packmon_state : public hh_hmcs40_state { public: - packmon_state(const machine_config &mconfig, device_type type, std::string tag) + packmon_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -822,7 +822,7 @@ MACHINE_CONFIG_END class msthawk_state : public hh_hmcs40_state { public: - msthawk_state(const machine_config &mconfig, device_type type, std::string tag) + msthawk_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -948,7 +948,7 @@ MACHINE_CONFIG_END class bzaxxon_state : public hh_hmcs40_state { public: - bzaxxon_state(const machine_config &mconfig, device_type type, std::string tag) + bzaxxon_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -1066,7 +1066,7 @@ MACHINE_CONFIG_END class zackman_state : public hh_hmcs40_state { public: - zackman_state(const machine_config &mconfig, device_type type, std::string tag) + zackman_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -1183,7 +1183,7 @@ MACHINE_CONFIG_END class bpengo_state : public hh_hmcs40_state { public: - bpengo_state(const machine_config &mconfig, device_type type, std::string tag) + bpengo_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -1309,7 +1309,7 @@ MACHINE_CONFIG_END class bbtime_state : public hh_hmcs40_state { public: - bbtime_state(const machine_config &mconfig, device_type type, std::string tag) + bbtime_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -1431,7 +1431,7 @@ MACHINE_CONFIG_END class bdoramon_state : public hh_hmcs40_state { public: - bdoramon_state(const machine_config &mconfig, device_type type, std::string tag) + bdoramon_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -1527,7 +1527,7 @@ MACHINE_CONFIG_END class bultrman_state : public hh_hmcs40_state { public: - bultrman_state(const machine_config &mconfig, device_type type, std::string tag) + bultrman_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -1615,7 +1615,7 @@ MACHINE_CONFIG_END class machiman_state : public hh_hmcs40_state { public: - machiman_state(const machine_config &mconfig, device_type type, std::string tag) + machiman_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -1707,7 +1707,7 @@ MACHINE_CONFIG_END class pairmtch_state : public hh_hmcs40_state { public: - pairmtch_state(const machine_config &mconfig, device_type type, std::string tag) + pairmtch_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -1857,7 +1857,7 @@ MACHINE_CONFIG_END class alnattck_state : public hh_hmcs40_state { public: - alnattck_state(const machine_config &mconfig, device_type type, std::string tag) + alnattck_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -1966,7 +1966,7 @@ MACHINE_CONFIG_END class cdkong_state : public hh_hmcs40_state { public: - cdkong_state(const machine_config &mconfig, device_type type, std::string tag) + cdkong_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -2098,7 +2098,7 @@ MACHINE_CONFIG_END class cgalaxn_state : public hh_hmcs40_state { public: - cgalaxn_state(const machine_config &mconfig, device_type type, std::string tag) + cgalaxn_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -2229,7 +2229,7 @@ MACHINE_CONFIG_END class cpacman_state : public hh_hmcs40_state { public: - cpacman_state(const machine_config &mconfig, device_type type, std::string tag) + cpacman_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -2343,7 +2343,7 @@ MACHINE_CONFIG_END class cmspacmn_state : public hh_hmcs40_state { public: - cmspacmn_state(const machine_config &mconfig, device_type type, std::string tag) + cmspacmn_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -2450,7 +2450,7 @@ MACHINE_CONFIG_END class egalaxn2_state : public hh_hmcs40_state { public: - egalaxn2_state(const machine_config &mconfig, device_type type, std::string tag) + egalaxn2_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -2572,7 +2572,7 @@ MACHINE_CONFIG_END class epacman2_state : public egalaxn2_state { public: - epacman2_state(const machine_config &mconfig, device_type type, std::string tag) + epacman2_state(const machine_config &mconfig, device_type type, const char *tag) : egalaxn2_state(mconfig, type, tag) { } }; @@ -2630,7 +2630,7 @@ INPUT_PORTS_END class eturtles_state : public hh_hmcs40_state { public: - eturtles_state(const machine_config &mconfig, device_type type, std::string tag) + eturtles_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag), m_cop_irq(0) { } @@ -2821,7 +2821,7 @@ MACHINE_CONFIG_END class estargte_state : public eturtles_state { public: - estargte_state(const machine_config &mconfig, device_type type, std::string tag) + estargte_state(const machine_config &mconfig, device_type type, const char *tag) : eturtles_state(mconfig, type, tag) { } @@ -2929,7 +2929,7 @@ MACHINE_CONFIG_END class ghalien_state : public hh_hmcs40_state { public: - ghalien_state(const machine_config &mconfig, device_type type, std::string tag) + ghalien_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -3043,7 +3043,7 @@ MACHINE_CONFIG_END class gckong_state : public hh_hmcs40_state { public: - gckong_state(const machine_config &mconfig, device_type type, std::string tag) + gckong_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -3164,7 +3164,7 @@ MACHINE_CONFIG_END class gdigdug_state : public hh_hmcs40_state { public: - gdigdug_state(const machine_config &mconfig, device_type type, std::string tag) + gdigdug_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -3287,7 +3287,7 @@ MACHINE_CONFIG_END class mwcbaseb_state : public hh_hmcs40_state { public: - mwcbaseb_state(const machine_config &mconfig, device_type type, std::string tag) + mwcbaseb_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -3443,7 +3443,7 @@ MACHINE_CONFIG_END class pbqbert_state : public hh_hmcs40_state { public: - pbqbert_state(const machine_config &mconfig, device_type type, std::string tag) + pbqbert_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -3529,7 +3529,7 @@ MACHINE_CONFIG_END class kingman_state : public hh_hmcs40_state { public: - kingman_state(const machine_config &mconfig, device_type type, std::string tag) + kingman_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -3648,7 +3648,7 @@ MACHINE_CONFIG_END class tmtron_state : public hh_hmcs40_state { public: - tmtron_state(const machine_config &mconfig, device_type type, std::string tag) + tmtron_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } @@ -3771,7 +3771,7 @@ MACHINE_CONFIG_END class vinvader_state : public hh_hmcs40_state { public: - vinvader_state(const machine_config &mconfig, device_type type, std::string tag) + vinvader_state(const machine_config &mconfig, device_type type, const char *tag) : hh_hmcs40_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/hh_melps4.cpp b/src/mame/drivers/hh_melps4.cpp index ddc2e50d70a..541352078d7 100644 --- a/src/mame/drivers/hh_melps4.cpp +++ b/src/mame/drivers/hh_melps4.cpp @@ -17,7 +17,7 @@ class hh_melps4_state : public driver_device { public: - hh_melps4_state(const machine_config &mconfig, device_type type, std::string tag) + hh_melps4_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_inp_matrix(*this, "IN"), @@ -231,7 +231,7 @@ INPUT_CHANGED_MEMBER(hh_melps4_state::reset_button) class cfrogger_state : public hh_melps4_state { public: - cfrogger_state(const machine_config &mconfig, device_type type, std::string tag) + cfrogger_state(const machine_config &mconfig, device_type type, const char *tag) : hh_melps4_state(mconfig, type, tag) { } @@ -344,7 +344,7 @@ MACHINE_CONFIG_END class gjungler_state : public hh_melps4_state { public: - gjungler_state(const machine_config &mconfig, device_type type, std::string tag) + gjungler_state(const machine_config &mconfig, device_type type, const char *tag) : hh_melps4_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/hh_pic16.cpp b/src/mame/drivers/hh_pic16.cpp index 7c4855944fd..bb65a69265e 100644 --- a/src/mame/drivers/hh_pic16.cpp +++ b/src/mame/drivers/hh_pic16.cpp @@ -34,7 +34,7 @@ class hh_pic16_state : public driver_device { public: - hh_pic16_state(const machine_config &mconfig, device_type type, std::string tag) + hh_pic16_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_inp_matrix(*this, "IN"), @@ -217,7 +217,7 @@ void hh_pic16_state::display_matrix(int maxx, int maxy, UINT32 setx, UINT32 sety class maniac_state : public hh_pic16_state { public: - maniac_state(const machine_config &mconfig, device_type type, std::string tag) + maniac_state(const machine_config &mconfig, device_type type, const char *tag) : hh_pic16_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/hh_sm510.cpp b/src/mame/drivers/hh_sm510.cpp index 814fddb4e2e..13c8b835fc4 100644 --- a/src/mame/drivers/hh_sm510.cpp +++ b/src/mame/drivers/hh_sm510.cpp @@ -19,7 +19,7 @@ class hh_sm510_state : public driver_device { public: - hh_sm510_state(const machine_config &mconfig, device_type type, std::string tag) + hh_sm510_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_inp_matrix(*this, "IN"), @@ -159,7 +159,7 @@ READ8_MEMBER(hh_sm510_state::input_r) class ktopgun_state : public hh_sm510_state { public: - ktopgun_state(const machine_config &mconfig, device_type type, std::string tag) + ktopgun_state(const machine_config &mconfig, device_type type, const char *tag) : hh_sm510_state(mconfig, type, tag) { m_inp_lines = 3; @@ -232,7 +232,7 @@ MACHINE_CONFIG_END class ktmnt_state : public hh_sm510_state { public: - ktmnt_state(const machine_config &mconfig, device_type type, std::string tag) + ktmnt_state(const machine_config &mconfig, device_type type, const char *tag) : hh_sm510_state(mconfig, type, tag) { m_inp_lines = 3; @@ -305,7 +305,7 @@ MACHINE_CONFIG_END class gnwmndon_state : public hh_sm510_state { public: - gnwmndon_state(const machine_config &mconfig, device_type type, std::string tag) + gnwmndon_state(const machine_config &mconfig, device_type type, const char *tag) : hh_sm510_state(mconfig, type, tag) { m_inp_lines = 2; diff --git a/src/mame/drivers/hh_tms1k.cpp b/src/mame/drivers/hh_tms1k.cpp index 21158dd907a..9702aded253 100644 --- a/src/mame/drivers/hh_tms1k.cpp +++ b/src/mame/drivers/hh_tms1k.cpp @@ -351,7 +351,7 @@ INPUT_CHANGED_MEMBER(hh_tms1k_state::power_button) class mathmagi_state : public hh_tms1k_state { public: - mathmagi_state(const machine_config &mconfig, device_type type, std::string tag) + mathmagi_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -529,7 +529,7 @@ MACHINE_CONFIG_END class amaztron_state : public hh_tms1k_state { public: - amaztron_state(const machine_config &mconfig, device_type type, std::string tag) + amaztron_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -670,7 +670,7 @@ MACHINE_CONFIG_END class h2hbaseb_state : public hh_tms1k_state { public: - h2hbaseb_state(const machine_config &mconfig, device_type type, std::string tag) + h2hbaseb_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -808,7 +808,7 @@ MACHINE_CONFIG_END class h2hfootb_state : public hh_tms1k_state { public: - h2hfootb_state(const machine_config &mconfig, device_type type, std::string tag) + h2hfootb_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -946,7 +946,7 @@ MACHINE_CONFIG_END class tc4_state : public hh_tms1k_state { public: - tc4_state(const machine_config &mconfig, device_type type, std::string tag) + tc4_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -1101,7 +1101,7 @@ MACHINE_CONFIG_END class ebball_state : public hh_tms1k_state { public: - ebball_state(const machine_config &mconfig, device_type type, std::string tag) + ebball_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -1232,7 +1232,7 @@ MACHINE_CONFIG_END class ebball2_state : public hh_tms1k_state { public: - ebball2_state(const machine_config &mconfig, device_type type, std::string tag) + ebball2_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -1362,7 +1362,7 @@ MACHINE_CONFIG_END class ebball3_state : public hh_tms1k_state { public: - ebball3_state(const machine_config &mconfig, device_type type, std::string tag) + ebball3_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -1525,7 +1525,7 @@ MACHINE_CONFIG_END class einvader_state : public hh_tms1k_state { public: - einvader_state(const machine_config &mconfig, device_type type, std::string tag) + einvader_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -1633,7 +1633,7 @@ MACHINE_CONFIG_END class efootb4_state : public hh_tms1k_state { public: - efootb4_state(const machine_config &mconfig, device_type type, std::string tag) + efootb4_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -1762,7 +1762,7 @@ MACHINE_CONFIG_END class ebaskb2_state : public hh_tms1k_state { public: - ebaskb2_state(const machine_config &mconfig, device_type type, std::string tag) + ebaskb2_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -1888,7 +1888,7 @@ MACHINE_CONFIG_END class raisedvl_state : public hh_tms1k_state { public: - raisedvl_state(const machine_config &mconfig, device_type type, std::string tag) + raisedvl_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -2020,7 +2020,7 @@ MACHINE_CONFIG_END class gpoker_state : public hh_tms1k_state { public: - gpoker_state(const machine_config &mconfig, device_type type, std::string tag) + gpoker_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag), m_beeper(*this, "beeper") { } @@ -2165,7 +2165,7 @@ MACHINE_CONFIG_END class gjackpot_state : public gpoker_state { public: - gjackpot_state(const machine_config &mconfig, device_type type, std::string tag) + gjackpot_state(const machine_config &mconfig, device_type type, const char *tag) : gpoker_state(mconfig, type, tag) { } @@ -2280,7 +2280,7 @@ MACHINE_CONFIG_END class elecdet_state : public hh_tms1k_state { public: - elecdet_state(const machine_config &mconfig, device_type type, std::string tag) + elecdet_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -2404,7 +2404,7 @@ MACHINE_CONFIG_END class starwbc_state : public hh_tms1k_state { public: - starwbc_state(const machine_config &mconfig, device_type type, std::string tag) + starwbc_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -2529,7 +2529,7 @@ MACHINE_CONFIG_END class astro_state : public hh_tms1k_state { public: - astro_state(const machine_config &mconfig, device_type type, std::string tag) + astro_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -2653,7 +2653,7 @@ MACHINE_CONFIG_END class mdndclab_state : public hh_tms1k_state { public: - mdndclab_state(const machine_config &mconfig, device_type type, std::string tag) + mdndclab_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -2850,7 +2850,7 @@ MACHINE_CONFIG_END class comp4_state : public hh_tms1k_state { public: - comp4_state(const machine_config &mconfig, device_type type, std::string tag) + comp4_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -2949,7 +2949,7 @@ MACHINE_CONFIG_END class simon_state : public hh_tms1k_state { public: - simon_state(const machine_config &mconfig, device_type type, std::string tag) + simon_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -3048,7 +3048,7 @@ MACHINE_CONFIG_END class ssimon_state : public hh_tms1k_state { public: - ssimon_state(const machine_config &mconfig, device_type type, std::string tag) + ssimon_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -3196,7 +3196,7 @@ MACHINE_CONFIG_END class bigtrak_state : public hh_tms1k_state { public: - bigtrak_state(const machine_config &mconfig, device_type type, std::string tag) + bigtrak_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -3375,7 +3375,7 @@ MACHINE_CONFIG_END class cnsector_state : public hh_tms1k_state { public: - cnsector_state(const machine_config &mconfig, device_type type, std::string tag) + cnsector_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -3508,7 +3508,7 @@ MACHINE_CONFIG_END class merlin_state : public hh_tms1k_state { public: - merlin_state(const machine_config &mconfig, device_type type, std::string tag) + merlin_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -3627,7 +3627,7 @@ MACHINE_CONFIG_END class mmerlin_state : public merlin_state { public: - mmerlin_state(const machine_config &mconfig, device_type type, std::string tag) + mmerlin_state(const machine_config &mconfig, device_type type, const char *tag) : merlin_state(mconfig, type, tag) { } }; @@ -3681,7 +3681,7 @@ MACHINE_CONFIG_END class stopthief_state : public hh_tms1k_state { public: - stopthief_state(const machine_config &mconfig, device_type type, std::string tag) + stopthief_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -3802,7 +3802,7 @@ MACHINE_CONFIG_END class bankshot_state : public hh_tms1k_state { public: - bankshot_state(const machine_config &mconfig, device_type type, std::string tag) + bankshot_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -3925,7 +3925,7 @@ MACHINE_CONFIG_END class splitsec_state : public hh_tms1k_state { public: - splitsec_state(const machine_config &mconfig, device_type type, std::string tag) + splitsec_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -4026,7 +4026,7 @@ MACHINE_CONFIG_END class tandy12_state : public hh_tms1k_state { public: - tandy12_state(const machine_config &mconfig, device_type type, std::string tag) + tandy12_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -4198,7 +4198,7 @@ MACHINE_CONFIG_END class tbreakup_state : public hh_tms1k_state { public: - tbreakup_state(const machine_config &mconfig, device_type type, std::string tag) + tbreakup_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag), m_expander(*this, "expander") { } @@ -4394,7 +4394,7 @@ MACHINE_CONFIG_END class phpball_state : public hh_tms1k_state { public: - phpball_state(const machine_config &mconfig, device_type type, std::string tag) + phpball_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/hh_ucom4.cpp b/src/mame/drivers/hh_ucom4.cpp index f4132559f01..1b7c020bba3 100644 --- a/src/mame/drivers/hh_ucom4.cpp +++ b/src/mame/drivers/hh_ucom4.cpp @@ -244,7 +244,7 @@ UINT8 hh_ucom4_state::read_inputs(int columns) class ufombs_state : public hh_ucom4_state { public: - ufombs_state(const machine_config &mconfig, device_type type, std::string tag) + ufombs_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -354,7 +354,7 @@ MACHINE_CONFIG_END class ssfball_state : public hh_ucom4_state { public: - ssfball_state(const machine_config &mconfig, device_type type, std::string tag) + ssfball_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -492,7 +492,7 @@ MACHINE_CONFIG_END class bmsoccer_state : public hh_ucom4_state { public: - bmsoccer_state(const machine_config &mconfig, device_type type, std::string tag) + bmsoccer_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -612,7 +612,7 @@ MACHINE_CONFIG_END class bmsafari_state : public hh_ucom4_state { public: - bmsafari_state(const machine_config &mconfig, device_type type, std::string tag) + bmsafari_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -719,7 +719,7 @@ MACHINE_CONFIG_END class splasfgt_state : public hh_ucom4_state { public: - splasfgt_state(const machine_config &mconfig, device_type type, std::string tag) + splasfgt_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -870,7 +870,7 @@ MACHINE_CONFIG_END class bcclimbr_state : public hh_ucom4_state { public: - bcclimbr_state(const machine_config &mconfig, device_type type, std::string tag) + bcclimbr_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -972,7 +972,7 @@ MACHINE_CONFIG_END class tactix_state : public hh_ucom4_state { public: - tactix_state(const machine_config &mconfig, device_type type, std::string tag) + tactix_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -1087,7 +1087,7 @@ MACHINE_CONFIG_END class invspace_state : public hh_ucom4_state { public: - invspace_state(const machine_config &mconfig, device_type type, std::string tag) + invspace_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -1186,7 +1186,7 @@ MACHINE_CONFIG_END class efball_state : public hh_ucom4_state { public: - efball_state(const machine_config &mconfig, device_type type, std::string tag) + efball_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -1297,7 +1297,7 @@ MACHINE_CONFIG_END class galaxy2_state : public hh_ucom4_state { public: - galaxy2_state(const machine_config &mconfig, device_type type, std::string tag) + galaxy2_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -1397,7 +1397,7 @@ MACHINE_CONFIG_END class astrocmd_state : public hh_ucom4_state { public: - astrocmd_state(const machine_config &mconfig, device_type type, std::string tag) + astrocmd_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -1504,7 +1504,7 @@ MACHINE_CONFIG_END class edracula_state : public hh_ucom4_state { public: - edracula_state(const machine_config &mconfig, device_type type, std::string tag) + edracula_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -1592,7 +1592,7 @@ MACHINE_CONFIG_END class mvbfree_state : public hh_ucom4_state { public: - mvbfree_state(const machine_config &mconfig, device_type type, std::string tag) + mvbfree_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -1701,7 +1701,7 @@ MACHINE_CONFIG_END class tccombat_state : public hh_ucom4_state { public: - tccombat_state(const machine_config &mconfig, device_type type, std::string tag) + tccombat_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -1798,7 +1798,7 @@ MACHINE_CONFIG_END class tmtennis_state : public hh_ucom4_state { public: - tmtennis_state(const machine_config &mconfig, device_type type, std::string tag) + tmtennis_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -1958,7 +1958,7 @@ MACHINE_CONFIG_END class tmpacman_state : public hh_ucom4_state { public: - tmpacman_state(const machine_config &mconfig, device_type type, std::string tag) + tmpacman_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -2060,7 +2060,7 @@ MACHINE_CONFIG_END class tmscramb_state : public hh_ucom4_state { public: - tmscramb_state(const machine_config &mconfig, device_type type, std::string tag) + tmscramb_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -2159,7 +2159,7 @@ MACHINE_CONFIG_END class tcaveman_state : public hh_ucom4_state { public: - tcaveman_state(const machine_config &mconfig, device_type type, std::string tag) + tcaveman_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } @@ -2256,7 +2256,7 @@ MACHINE_CONFIG_END class alnchase_state : public hh_ucom4_state { public: - alnchase_state(const machine_config &mconfig, device_type type, std::string tag) + alnchase_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/hideseek.cpp b/src/mame/drivers/hideseek.cpp index 1f9021ec75e..59ae4bd5d51 100644 --- a/src/mame/drivers/hideseek.cpp +++ b/src/mame/drivers/hideseek.cpp @@ -33,7 +33,7 @@ Other stuff: NEC D4992 (RTC?) and xtal possibly 32.768kHz, 3V coin battery, 93L4 class hideseek_state : public driver_device { public: - hideseek_state(const machine_config &mconfig, device_type type, std::string tag) + hideseek_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/highvdeo.cpp b/src/mame/drivers/highvdeo.cpp index 85c0bac9d42..72be90d47f7 100644 --- a/src/mame/drivers/highvdeo.cpp +++ b/src/mame/drivers/highvdeo.cpp @@ -108,7 +108,7 @@ Game is V30 based, with rom banking (2Mb) class highvdeo_state : public driver_device { public: - highvdeo_state(const machine_config &mconfig, device_type type, std::string tag) + highvdeo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_blit_ram(*this, "blit_ram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/hikaru.cpp b/src/mame/drivers/hikaru.cpp index 0755e84d04f..b5939d4e09e 100644 --- a/src/mame/drivers/hikaru.cpp +++ b/src/mame/drivers/hikaru.cpp @@ -391,7 +391,7 @@ Notes: class hikaru_state : public driver_device { public: - hikaru_state(const machine_config &mconfig, device_type type, std::string tag) + hikaru_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } virtual void video_start() override; diff --git a/src/mame/drivers/hitpoker.cpp b/src/mame/drivers/hitpoker.cpp index 4679e485f23..5991792fb5a 100644 --- a/src/mame/drivers/hitpoker.cpp +++ b/src/mame/drivers/hitpoker.cpp @@ -54,7 +54,7 @@ Some debug tricks (let's test this CPU as more as possible): class hitpoker_state : public driver_device { public: - hitpoker_state(const machine_config &mconfig, device_type type, std::string tag) + hitpoker_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_sys_regs(*this, "sys_regs"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/hk68v10.cpp b/src/mame/drivers/hk68v10.cpp index 2b869cd7797..a6b5a357595 100644 --- a/src/mame/drivers/hk68v10.cpp +++ b/src/mame/drivers/hk68v10.cpp @@ -191,7 +191,7 @@ class hk68v10_state : public driver_device { public: -hk68v10_state(const machine_config &mconfig, device_type type, std::string tag) : +hk68v10_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device (mconfig, type, tag), m_maincpu (*this, "maincpu") ,m_sccterm(*this, "scc") diff --git a/src/mame/drivers/homelab.cpp b/src/mame/drivers/homelab.cpp index 6f3a5bd4a7d..0d6fc6735f1 100644 --- a/src/mame/drivers/homelab.cpp +++ b/src/mame/drivers/homelab.cpp @@ -46,7 +46,7 @@ MB7051 - fuse programmed prom. class homelab_state : public driver_device { public: - homelab_state(const machine_config &mconfig, device_type type, std::string tag) + homelab_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/drivers/homez80.cpp b/src/mame/drivers/homez80.cpp index 0f4976cae76..ccddfcddccd 100644 --- a/src/mame/drivers/homez80.cpp +++ b/src/mame/drivers/homez80.cpp @@ -27,7 +27,7 @@ class homez80_state : public driver_device { public: - homez80_state(const machine_config &mconfig, device_type type, std::string tag) + homez80_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") , diff --git a/src/mame/drivers/horizon.cpp b/src/mame/drivers/horizon.cpp index 05c9c89a7dd..11076e517f2 100644 --- a/src/mame/drivers/horizon.cpp +++ b/src/mame/drivers/horizon.cpp @@ -47,7 +47,7 @@ class horizon_state : public driver_device { public: - horizon_state(const machine_config &mconfig, device_type type, std::string tag) + horizon_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_usart_l(*this, I8251_L_TAG), diff --git a/src/mame/drivers/hornet.cpp b/src/mame/drivers/hornet.cpp index 28d358bb450..71f94ad4929 100644 --- a/src/mame/drivers/hornet.cpp +++ b/src/mame/drivers/hornet.cpp @@ -329,7 +329,7 @@ class hornet_state : public driver_device { public: - hornet_state(const machine_config &mconfig, device_type type, std::string tag) + hornet_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_workram(*this, "workram"), m_sharc_dataram0(*this, "sharc_dataram0"), @@ -487,7 +487,7 @@ UINT32 hornet_state::screen_update_hornet(screen_device &screen, bitmap_rgb32 &b UINT32 hornet_state::screen_update_hornet_2board(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { - if (screen.tag()==":lscreen") + if (strcmp(screen.tag(), ":lscreen") == 0) { device_t *voodoo = machine().device("voodoo0"); voodoo_update(voodoo, bitmap, cliprect); @@ -495,7 +495,7 @@ UINT32 hornet_state::screen_update_hornet_2board(screen_device &screen, bitmap_r /* TODO: tilemaps per screen */ m_k037122_1->tile_draw(screen, bitmap, cliprect); } - else if (screen.tag()==":rscreen") + else if (strcmp(screen.tag(), ":rscreen") == 0) { device_t *voodoo = machine().device("voodoo1"); voodoo_update(voodoo, bitmap, cliprect); diff --git a/src/mame/drivers/hotblock.cpp b/src/mame/drivers/hotblock.cpp index 3da421f75c0..e6fd43c2d78 100644 --- a/src/mame/drivers/hotblock.cpp +++ b/src/mame/drivers/hotblock.cpp @@ -45,7 +45,7 @@ so it could be by them instead class hotblock_state : public driver_device { public: - hotblock_state(const machine_config &mconfig, device_type type, std::string tag) + hotblock_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette"), diff --git a/src/mame/drivers/hotstuff.cpp b/src/mame/drivers/hotstuff.cpp index b891eadf90a..ac5d14e0366 100644 --- a/src/mame/drivers/hotstuff.cpp +++ b/src/mame/drivers/hotstuff.cpp @@ -9,7 +9,7 @@ class hotstuff_state : public driver_device { public: - hotstuff_state(const machine_config &mconfig, device_type type, std::string tag) + hotstuff_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_bitmapram(*this, "bitmapram"), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/hp16500.cpp b/src/mame/drivers/hp16500.cpp index 10ec05cc9d8..d1783557ad7 100644 --- a/src/mame/drivers/hp16500.cpp +++ b/src/mame/drivers/hp16500.cpp @@ -60,7 +60,7 @@ class hp16500_state : public driver_device { public: - hp16500_state(const machine_config &mconfig, device_type type, std::string tag) + hp16500_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, MAINCPU_TAG) { } diff --git a/src/mame/drivers/hp49gp.cpp b/src/mame/drivers/hp49gp.cpp index f79c01ec9d4..4dbfe0bdb56 100644 --- a/src/mame/drivers/hp49gp.cpp +++ b/src/mame/drivers/hp49gp.cpp @@ -24,7 +24,7 @@ struct lcd_spi_t class hp49gp_state : public driver_device { public: - hp49gp_state(const machine_config &mconfig, device_type type, std::string tag) + hp49gp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_s3c2410(*this, "s3c2410"), m_steppingstone(*this, "steppingstone"), diff --git a/src/mame/drivers/hp64k.cpp b/src/mame/drivers/hp64k.cpp index 9bd8440b9de..02f6fd696a1 100644 --- a/src/mame/drivers/hp64k.cpp +++ b/src/mame/drivers/hp64k.cpp @@ -169,7 +169,7 @@ class hp64k_state : public driver_device { public: - hp64k_state(const machine_config &mconfig, device_type type, std::string tag); + hp64k_state(const machine_config &mconfig, device_type type, const char *tag); virtual void driver_start() override; //virtual void machine_start(); @@ -347,7 +347,7 @@ static ADDRESS_MAP_START(cpu_io_map , AS_IO , 16 , hp64k_state) AM_RANGE(HP_MAKE_IOADDR(12 , 0) , HP_MAKE_IOADDR(12 , 3)) AM_WRITE(hp64k_irl_mask_w) ADDRESS_MAP_END -hp64k_state::hp64k_state(const machine_config &mconfig, device_type type, std::string tag) +hp64k_state::hp64k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig , type , tag), m_cpu(*this , "cpu"), m_crtc(*this , "crtc"), diff --git a/src/mame/drivers/hp9845.cpp b/src/mame/drivers/hp9845.cpp index c308e890cbb..c303d1066d3 100644 --- a/src/mame/drivers/hp9845.cpp +++ b/src/mame/drivers/hp9845.cpp @@ -56,7 +56,7 @@ class hp9845_state : public driver_device { public: - hp9845_state(const machine_config &mconfig, device_type type, std::string tag) : + hp9845_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) { } @@ -69,7 +69,7 @@ INPUT_PORTS_END class hp9845b_state : public driver_device { public: - hp9845b_state(const machine_config &mconfig, device_type type, std::string tag) : + hp9845b_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_lpu(*this , "lpu"), m_ppu(*this , "ppu"), diff --git a/src/mame/drivers/hp9k.cpp b/src/mame/drivers/hp9k.cpp index 1d9b947926a..9fa6ae09513 100644 --- a/src/mame/drivers/hp9k.cpp +++ b/src/mame/drivers/hp9k.cpp @@ -120,7 +120,7 @@ private: void putChar(UINT8 thec,int x,int y,bitmap_ind16 &bitmap); public: - hp9k_state(const machine_config &mconfig, device_type type, std::string tag) + hp9k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), //m_terminal(*this, TERMINAL_TAG), diff --git a/src/mame/drivers/hp9k_3xx.cpp b/src/mame/drivers/hp9k_3xx.cpp index f3117d8afcc..8bc7b1ec410 100644 --- a/src/mame/drivers/hp9k_3xx.cpp +++ b/src/mame/drivers/hp9k_3xx.cpp @@ -57,7 +57,7 @@ class hp9k3xx_state : public driver_device { public: - hp9k3xx_state(const machine_config &mconfig, device_type type, std::string tag) + hp9k3xx_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, MAINCPU_TAG), m_vram16(*this, "vram16"), diff --git a/src/mame/drivers/hp_ipc.cpp b/src/mame/drivers/hp_ipc.cpp index 845a23f1958..1eddffdf46f 100644 --- a/src/mame/drivers/hp_ipc.cpp +++ b/src/mame/drivers/hp_ipc.cpp @@ -268,7 +268,7 @@ Note external interrupt lines NBIR0 to NBIR3 can be asserted by an interface con class hp_ipc_state : public driver_device { public: - hp_ipc_state(const machine_config &mconfig, device_type type, std::string tag) + hp_ipc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/hprot1.cpp b/src/mame/drivers/hprot1.cpp index e7a3c7fe7d6..dabd2b3d0f4 100644 --- a/src/mame/drivers/hprot1.cpp +++ b/src/mame/drivers/hprot1.cpp @@ -64,7 +64,7 @@ Infinite loop is reached at address 0x7699 class hprot1_state : public driver_device { public: - hprot1_state(const machine_config &mconfig, device_type type, std::string tag) + hprot1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_lcdc(*this, "hd44780") diff --git a/src/mame/drivers/hpz80unk.cpp b/src/mame/drivers/hpz80unk.cpp index 6c82c7f0b21..db39fbcc6d6 100644 --- a/src/mame/drivers/hpz80unk.cpp +++ b/src/mame/drivers/hpz80unk.cpp @@ -41,7 +41,7 @@ Z nothing class hpz80unk_state : public driver_device { public: - hpz80unk_state(const machine_config &mconfig, device_type type, std::string tag) + hpz80unk_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG), diff --git a/src/mame/drivers/ht68k.cpp b/src/mame/drivers/ht68k.cpp index 563229b5094..b09ae69ce60 100644 --- a/src/mame/drivers/ht68k.cpp +++ b/src/mame/drivers/ht68k.cpp @@ -37,7 +37,7 @@ Lot of infos available at: http://www.classiccmp.org/cini/ht68k.htm class ht68k_state : public driver_device { public: - ht68k_state(const machine_config &mconfig, device_type type, std::string tag) + ht68k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_duart(*this, "duart68681"), diff --git a/src/mame/drivers/hunter2.cpp b/src/mame/drivers/hunter2.cpp index c94724f44a0..246d8fcf641 100644 --- a/src/mame/drivers/hunter2.cpp +++ b/src/mame/drivers/hunter2.cpp @@ -34,7 +34,7 @@ class hunter2_state : public driver_device { public: - hunter2_state(const machine_config &mconfig, device_type type, std::string tag) + hunter2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_speaker(*this, "speaker") diff --git a/src/mame/drivers/hvyunit.cpp b/src/mame/drivers/hvyunit.cpp index 8e150b0aca5..21ec09dfe4b 100644 --- a/src/mame/drivers/hvyunit.cpp +++ b/src/mame/drivers/hvyunit.cpp @@ -76,7 +76,7 @@ To Do: class hvyunit_state : public driver_device { public: - hvyunit_state(const machine_config &mconfig, device_type type, std::string tag) + hvyunit_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_mastercpu(*this, "master"), m_slavecpu(*this, "slave"), diff --git a/src/mame/drivers/hyperscan.cpp b/src/mame/drivers/hyperscan.cpp index 598af762fa7..6813997dc33 100644 --- a/src/mame/drivers/hyperscan.cpp +++ b/src/mame/drivers/hyperscan.cpp @@ -63,7 +63,7 @@ class hyperscan_state : public driver_device { public: - hyperscan_state(const machine_config &mconfig, device_type type, std::string tag) + hyperscan_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/i7000.cpp b/src/mame/drivers/i7000.cpp index 87fa0f712f3..378c585cf64 100644 --- a/src/mame/drivers/i7000.cpp +++ b/src/mame/drivers/i7000.cpp @@ -54,7 +54,7 @@ class i7000_state : public driver_device { public: - i7000_state(const machine_config &mconfig, device_type type, std::string tag) + i7000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_card(*this, "cardslot"), diff --git a/src/mame/drivers/ibm6580.cpp b/src/mame/drivers/ibm6580.cpp index 2caa74d04f1..93162d7a3a9 100644 --- a/src/mame/drivers/ibm6580.cpp +++ b/src/mame/drivers/ibm6580.cpp @@ -22,7 +22,7 @@ ToDo: class ibm6580_state : public driver_device { public: - ibm6580_state(const machine_config &mconfig, device_type type, std::string tag) + ibm6580_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/ibmpc.cpp b/src/mame/drivers/ibmpc.cpp index a4349857dd2..f49d500e829 100644 --- a/src/mame/drivers/ibmpc.cpp +++ b/src/mame/drivers/ibmpc.cpp @@ -268,7 +268,7 @@ XT U44 IBM.bin: IBM 5160 PC/XT Bank-selection decoding ROM (256x4 bit). Not mapp class ibmpc_state : public driver_device { public: - ibmpc_state(const machine_config &mconfig, device_type type, std::string tag) + ibmpc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/ibmpcjr.cpp b/src/mame/drivers/ibmpcjr.cpp index 37bbf9d40a7..f67bc071494 100644 --- a/src/mame/drivers/ibmpcjr.cpp +++ b/src/mame/drivers/ibmpcjr.cpp @@ -27,7 +27,7 @@ class pcjr_state : public driver_device { public: - pcjr_state(const machine_config &mconfig, device_type type, std::string tag) + pcjr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pic8259(*this, "pic8259"), diff --git a/src/mame/drivers/icatel.cpp b/src/mame/drivers/icatel.cpp index 10124c3727b..34e88e683fa 100644 --- a/src/mame/drivers/icatel.cpp +++ b/src/mame/drivers/icatel.cpp @@ -27,7 +27,7 @@ class icatel_state : public driver_device { public: - icatel_state(const machine_config &mconfig, device_type type, std::string tag) + icatel_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_lcdc(*this, "hd44780") diff --git a/src/mame/drivers/ice_bozopail.cpp b/src/mame/drivers/ice_bozopail.cpp index 4bff01178c0..0fb674c3e0e 100644 --- a/src/mame/drivers/ice_bozopail.cpp +++ b/src/mame/drivers/ice_bozopail.cpp @@ -22,7 +22,7 @@ http://www.highwaygames.com/arcade-machines/bozo-s-grand-prize-game-6751/ class ice_bozopail : public driver_device { public: - ice_bozopail(const machine_config &mconfig, device_type type, std::string tag) + ice_bozopail(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) // ,m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/ice_tbd.cpp b/src/mame/drivers/ice_tbd.cpp index 04f92cd74f1..1d5fada7d9d 100644 --- a/src/mame/drivers/ice_tbd.cpp +++ b/src/mame/drivers/ice_tbd.cpp @@ -23,7 +23,7 @@ not sure what the actual inputs / outputs would be on this, maybe just track pos class ice_tbd_state : public driver_device { public: - ice_tbd_state(const machine_config &mconfig, device_type type, std::string tag) + ice_tbd_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) ,m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/icecold.cpp b/src/mame/drivers/icecold.cpp index 55a92b5f8d6..a21cb19976b 100644 --- a/src/mame/drivers/icecold.cpp +++ b/src/mame/drivers/icecold.cpp @@ -16,7 +16,7 @@ class icecold_state : public driver_device { public: - icecold_state(const machine_config &mconfig, device_type type, std::string tag) + icecold_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ay8910_0(*this, "ay0"), diff --git a/src/mame/drivers/ichiban.cpp b/src/mame/drivers/ichiban.cpp index 23db14b22c5..6ac2c0c0404 100644 --- a/src/mame/drivers/ichiban.cpp +++ b/src/mame/drivers/ichiban.cpp @@ -47,7 +47,7 @@ HSync - 15.510kHz class ichibanjyan_state : public driver_device { public: - ichibanjyan_state(const machine_config &mconfig, device_type type, std::string tag) + ichibanjyan_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/ie15.cpp b/src/mame/drivers/ie15.cpp index edadf371478..558f6402d7f 100644 --- a/src/mame/drivers/ie15.cpp +++ b/src/mame/drivers/ie15.cpp @@ -52,7 +52,7 @@ class ie15_state : public driver_device, public device_serial_interface { public: - ie15_state(const machine_config &mconfig, device_type type, std::string tag) : + ie15_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), device_serial_interface(mconfig, *this), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/if800.cpp b/src/mame/drivers/if800.cpp index d840a7fbc5a..70e04f531d1 100644 --- a/src/mame/drivers/if800.cpp +++ b/src/mame/drivers/if800.cpp @@ -16,7 +16,7 @@ class if800_state : public driver_device { public: - if800_state(const machine_config &mconfig, device_type type, std::string tag) + if800_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_hgdc(*this, "upd7220"), m_video_ram(*this, "video_ram"), diff --git a/src/mame/drivers/igs009.cpp b/src/mame/drivers/igs009.cpp index 8ae172df9e3..effc725129c 100644 --- a/src/mame/drivers/igs009.cpp +++ b/src/mame/drivers/igs009.cpp @@ -35,7 +35,7 @@ Year Game Manufacturer Notes class igs009_state : public driver_device { public: - igs009_state(const machine_config &mconfig, device_type type, std::string tag) + igs009_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/igs011.cpp b/src/mame/drivers/igs011.cpp index 1f5629ff019..5375a46d499 100644 --- a/src/mame/drivers/igs011.cpp +++ b/src/mame/drivers/igs011.cpp @@ -83,7 +83,7 @@ struct blitter_t class igs011_state : public driver_device { public: - igs011_state(const machine_config &mconfig, device_type type, std::string tag) + igs011_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki(*this, "oki"), diff --git a/src/mame/drivers/igs017.cpp b/src/mame/drivers/igs017.cpp index 64e6a2da50d..1d1d439b3fc 100644 --- a/src/mame/drivers/igs017.cpp +++ b/src/mame/drivers/igs017.cpp @@ -58,7 +58,7 @@ Notes: class igs017_state : public driver_device { public: - igs017_state(const machine_config &mconfig, device_type type, std::string tag) + igs017_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_input_addr(-1), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/igs_fear.cpp b/src/mame/drivers/igs_fear.cpp index fb74a19e951..19a3976954c 100644 --- a/src/mame/drivers/igs_fear.cpp +++ b/src/mame/drivers/igs_fear.cpp @@ -12,7 +12,7 @@ class igs_fear_state : public driver_device { public: - igs_fear_state(const machine_config &mconfig, device_type type, std::string tag) + igs_fear_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/igs_m027.cpp b/src/mame/drivers/igs_m027.cpp index 8939d49865a..48d85476b15 100644 --- a/src/mame/drivers/igs_m027.cpp +++ b/src/mame/drivers/igs_m027.cpp @@ -31,7 +31,7 @@ class igs_m027_state : public driver_device { public: - igs_m027_state(const machine_config &mconfig, device_type type, std::string tag) + igs_m027_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_igs_mainram(*this, "igs_mainram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/igs_m036.cpp b/src/mame/drivers/igs_m036.cpp index 2dffab6d176..a101a74b3b9 100644 --- a/src/mame/drivers/igs_m036.cpp +++ b/src/mame/drivers/igs_m036.cpp @@ -66,7 +66,7 @@ check more info and photo from cjdh2.zip!!! class igs_m036_state : public driver_device { public: - igs_m036_state(const machine_config &mconfig, device_type type, std::string tag) + igs_m036_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/igspc.cpp b/src/mame/drivers/igspc.cpp index c6afd16a2ca..2acd3fc9b2f 100644 --- a/src/mame/drivers/igspc.cpp +++ b/src/mame/drivers/igspc.cpp @@ -49,7 +49,7 @@ can't be emulated without proper mb bios class speeddrv_state : public driver_device { public: - speeddrv_state(const machine_config &mconfig, device_type type, std::string tag) + speeddrv_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/igspoker.cpp b/src/mame/drivers/igspoker.cpp index 9bd844b6e27..18d32b1d5e1 100644 --- a/src/mame/drivers/igspoker.cpp +++ b/src/mame/drivers/igspoker.cpp @@ -76,7 +76,7 @@ FIX: PK Tetris have an input named AMUSE which I couldn't map. Maybe it is class igspoker_state : public driver_device { public: - igspoker_state(const machine_config &mconfig, device_type type, std::string tag) + igspoker_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_bg_tile_ram(*this, "bg_tile_ram"), diff --git a/src/mame/drivers/imds.cpp b/src/mame/drivers/imds.cpp index 6de967bb957..0748c6d700f 100644 --- a/src/mame/drivers/imds.cpp +++ b/src/mame/drivers/imds.cpp @@ -26,7 +26,7 @@ real hardware. class imds_state : public driver_device { public: - imds_state(const machine_config &mconfig, device_type type, std::string tag) + imds_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/imds2.cpp b/src/mame/drivers/imds2.cpp index 64694decc76..7a579f7a89b 100644 --- a/src/mame/drivers/imds2.cpp +++ b/src/mame/drivers/imds2.cpp @@ -164,7 +164,7 @@ static ADDRESS_MAP_START(kb_io_map , AS_IO , 8 , imds2_state) AM_RANGE(MCS48_PORT_T1 , MCS48_PORT_T1) AM_READ(imds2_kb_port_t1_r) ADDRESS_MAP_END -imds2_state::imds2_state(const machine_config &mconfig, device_type type, std::string tag) +imds2_state::imds2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig , type , tag), m_ipccpu(*this , "ipccpu"), m_ipcsyspic(*this , "ipcsyspic"), diff --git a/src/mame/drivers/imolagp.cpp b/src/mame/drivers/imolagp.cpp index 2749dc48f8f..5de4ed28812 100644 --- a/src/mame/drivers/imolagp.cpp +++ b/src/mame/drivers/imolagp.cpp @@ -90,7 +90,7 @@ www.andys-arcade.com class imolagp_state : public driver_device { public: - imolagp_state(const machine_config &mconfig, device_type type, std::string tag) + imolagp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_slavecpu(*this, "slave"), diff --git a/src/mame/drivers/imsai.cpp b/src/mame/drivers/imsai.cpp index e477ba7c71b..c41ada8d586 100644 --- a/src/mame/drivers/imsai.cpp +++ b/src/mame/drivers/imsai.cpp @@ -27,7 +27,7 @@ class imsai_state : public driver_device { public: - imsai_state(const machine_config &mconfig, device_type type, std::string tag) + imsai_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG), diff --git a/src/mame/drivers/inder.cpp b/src/mame/drivers/inder.cpp index 259ac816d19..f0dea109f11 100644 --- a/src/mame/drivers/inder.cpp +++ b/src/mame/drivers/inder.cpp @@ -40,7 +40,7 @@ class inder_state : public genpin_class { public: - inder_state(const machine_config &mconfig, device_type type, std::string tag) + inder_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_audiocpu(*this, "audiocpu") diff --git a/src/mame/drivers/indiana.cpp b/src/mame/drivers/indiana.cpp index f293d0e949f..7852506df7a 100644 --- a/src/mame/drivers/indiana.cpp +++ b/src/mame/drivers/indiana.cpp @@ -27,7 +27,7 @@ class indiana_state : public driver_device { public: - indiana_state(const machine_config &mconfig, device_type type, std::string tag) + indiana_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, M68K_TAG) { } DECLARE_DRIVER_INIT(indiana); diff --git a/src/mame/drivers/indigo.cpp b/src/mame/drivers/indigo.cpp index c10f7fa8c11..64a3a1c1c01 100644 --- a/src/mame/drivers/indigo.cpp +++ b/src/mame/drivers/indigo.cpp @@ -36,7 +36,7 @@ public: TIMER_RTC }; - indigo_state(const machine_config &mconfig, device_type type, std::string tag) + indigo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_wd33c93(*this, "wd33c93") diff --git a/src/mame/drivers/indy_indigo2.cpp b/src/mame/drivers/indy_indigo2.cpp index ed894f3e1b0..9d76f45c753 100644 --- a/src/mame/drivers/indy_indigo2.cpp +++ b/src/mame/drivers/indy_indigo2.cpp @@ -99,7 +99,7 @@ public: TIMER_IP22_MSEC }; - ip22_state(const machine_config &mconfig, device_type type, std::string tag) : + ip22_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_wd33c93(*this, "wd33c93"), diff --git a/src/mame/drivers/instruct.cpp b/src/mame/drivers/instruct.cpp index c4eaca9a4fd..469203c59cc 100644 --- a/src/mame/drivers/instruct.cpp +++ b/src/mame/drivers/instruct.cpp @@ -52,7 +52,7 @@ class instruct_state : public driver_device { public: - instruct_state(const machine_config &mconfig, device_type type, std::string tag) + instruct_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_p_ram(*this, "mainram") diff --git a/src/mame/drivers/interact.cpp b/src/mame/drivers/interact.cpp index e0281ecf65f..35ecbbf2276 100644 --- a/src/mame/drivers/interact.cpp +++ b/src/mame/drivers/interact.cpp @@ -66,7 +66,7 @@ class interact_state : public hec2hrp_state { public: - interact_state(const machine_config &mconfig, device_type type, std::string tag) + interact_state(const machine_config &mconfig, device_type type, const char *tag) : hec2hrp_state(mconfig, type, tag), m_videoram(*this, "videoram") { } diff --git a/src/mame/drivers/intrscti.cpp b/src/mame/drivers/intrscti.cpp index e30bc8223fc..9c27cd17f45 100644 --- a/src/mame/drivers/intrscti.cpp +++ b/src/mame/drivers/intrscti.cpp @@ -20,7 +20,7 @@ I've not had a chance to wire up the board yet, but it might be possible to writ class intrscti_state : public driver_device { public: - intrscti_state(const machine_config &mconfig, device_type type, std::string tag) + intrscti_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_subcpu(*this,"subcpu"), diff --git a/src/mame/drivers/invqix.cpp b/src/mame/drivers/invqix.cpp index 05c8b7b79a8..b0daddc94f2 100644 --- a/src/mame/drivers/invqix.cpp +++ b/src/mame/drivers/invqix.cpp @@ -126,7 +126,7 @@ as well as Up Right, Cocktail or Flip Screen from the service menu. class invqix_state : public driver_device { public: - invqix_state(const machine_config &mconfig, device_type type, std::string tag) + invqix_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_eeprom(*this, "eeprom"), diff --git a/src/mame/drivers/ipc.cpp b/src/mame/drivers/ipc.cpp index 94d103fa259..04798d223a9 100644 --- a/src/mame/drivers/ipc.cpp +++ b/src/mame/drivers/ipc.cpp @@ -48,7 +48,7 @@ class ipc_state : public driver_device { public: - ipc_state(const machine_config &mconfig, device_type type, std::string tag) + ipc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/ipds.cpp b/src/mame/drivers/ipds.cpp index 7462cf98c0c..00df139e72e 100644 --- a/src/mame/drivers/ipds.cpp +++ b/src/mame/drivers/ipds.cpp @@ -18,7 +18,7 @@ class ipds_state : public driver_device { public: - ipds_state(const machine_config &mconfig, device_type type, std::string tag) + ipds_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_crtc(*this, "i8275"), diff --git a/src/mame/drivers/iq151.cpp b/src/mame/drivers/iq151.cpp index 1214ce8e6b2..76986eae7f9 100644 --- a/src/mame/drivers/iq151.cpp +++ b/src/mame/drivers/iq151.cpp @@ -66,7 +66,7 @@ ToDo: class iq151_state : public driver_device { public: - iq151_state(const machine_config &mconfig, device_type type, std::string tag) + iq151_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pic(*this, "pic8259"), diff --git a/src/mame/drivers/iris3130.cpp b/src/mame/drivers/iris3130.cpp index 9a4eb17bc5e..47d8c0fb9b1 100644 --- a/src/mame/drivers/iris3130.cpp +++ b/src/mame/drivers/iris3130.cpp @@ -51,7 +51,7 @@ class sgi_ip2_state : public driver_device { public: - sgi_ip2_state(const machine_config &mconfig, device_type type, std::string tag) + sgi_ip2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mainram(*this, "mainram"), diff --git a/src/mame/drivers/irisha.cpp b/src/mame/drivers/irisha.cpp index 62e624899c2..bdb0a39dd36 100644 --- a/src/mame/drivers/irisha.cpp +++ b/src/mame/drivers/irisha.cpp @@ -27,7 +27,7 @@ class irisha_state : public driver_device { public: - irisha_state(const machine_config &mconfig, device_type type, std::string tag) : + irisha_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/isbc.cpp b/src/mame/drivers/isbc.cpp index 304bf1184cd..600b0886b74 100644 --- a/src/mame/drivers/isbc.cpp +++ b/src/mame/drivers/isbc.cpp @@ -28,7 +28,7 @@ isbc86 commands: BYTE WORD REAL EREAL ROMTEST. ROMTEST works, the others hang. class isbc_state : public driver_device { public: - isbc_state(const machine_config &mconfig, device_type type, std::string tag) + isbc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_uart8251(*this, "uart8251"), diff --git a/src/mame/drivers/iskr103x.cpp b/src/mame/drivers/iskr103x.cpp index 45106f3743a..945415f676b 100644 --- a/src/mame/drivers/iskr103x.cpp +++ b/src/mame/drivers/iskr103x.cpp @@ -32,7 +32,7 @@ class iskr103x_state : public driver_device { public: - iskr103x_state(const machine_config &mconfig, device_type type, std::string tag) + iskr103x_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/istellar.cpp b/src/mame/drivers/istellar.cpp index 8913b15a2df..272eb7b1e9a 100644 --- a/src/mame/drivers/istellar.cpp +++ b/src/mame/drivers/istellar.cpp @@ -30,7 +30,7 @@ Todo: class istellar_state : public driver_device { public: - istellar_state(const machine_config &mconfig, device_type type, std::string tag) + istellar_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_laserdisc(*this, "laserdisc") , m_tile_ram(*this, "tile_ram"), diff --git a/src/mame/drivers/iteagle.cpp b/src/mame/drivers/iteagle.cpp index 106cf700641..7346b6db62d 100644 --- a/src/mame/drivers/iteagle.cpp +++ b/src/mame/drivers/iteagle.cpp @@ -117,7 +117,7 @@ www.multitech.com class iteagle_state : public driver_device { public: - iteagle_state(const machine_config &mconfig, device_type type, std::string tag) + iteagle_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") {} diff --git a/src/mame/drivers/itech8.cpp b/src/mame/drivers/itech8.cpp index 834057e8bae..13b33bdaf1d 100644 --- a/src/mame/drivers/itech8.cpp +++ b/src/mame/drivers/itech8.cpp @@ -1093,8 +1093,8 @@ INPUT_PORTS_END CUSTOM_INPUT_MEMBER(itech8_state::gtg_mux) { - const char * tag1 = (const char *)param; - const char * tag2 = tag1 + strlen(tag1) + 1; + const char *tag1 = (const char *)param; + const char *tag2 = tag1 + strlen(tag1) + 1; return ioport(tag1)->read() & ioport(tag2)->read(); } diff --git a/src/mame/drivers/itgambl2.cpp b/src/mame/drivers/itgambl2.cpp index 67812206cd3..1852545ccc3 100644 --- a/src/mame/drivers/itgambl2.cpp +++ b/src/mame/drivers/itgambl2.cpp @@ -62,7 +62,7 @@ class itgambl2_state : public driver_device { public: - itgambl2_state(const machine_config &mconfig, device_type type, std::string tag) + itgambl2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette") { } diff --git a/src/mame/drivers/itgambl3.cpp b/src/mame/drivers/itgambl3.cpp index d1ed0b20cac..96ac6efe2b8 100644 --- a/src/mame/drivers/itgambl3.cpp +++ b/src/mame/drivers/itgambl3.cpp @@ -50,7 +50,7 @@ class itgambl3_state : public driver_device { public: - itgambl3_state(const machine_config &mconfig, device_type type, std::string tag) + itgambl3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette") { } diff --git a/src/mame/drivers/itgamble.cpp b/src/mame/drivers/itgamble.cpp index d61efae2663..8c9cf972924 100644 --- a/src/mame/drivers/itgamble.cpp +++ b/src/mame/drivers/itgamble.cpp @@ -64,7 +64,7 @@ class itgamble_state : public driver_device { public: - itgamble_state(const machine_config &mconfig, device_type type, std::string tag) + itgamble_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette") diff --git a/src/mame/drivers/itt3030.cpp b/src/mame/drivers/itt3030.cpp index b3f02baa35f..98a2f64c7cc 100644 --- a/src/mame/drivers/itt3030.cpp +++ b/src/mame/drivers/itt3030.cpp @@ -205,7 +205,7 @@ Beeper Circuit, all ICs shown: class itt3030_state : public driver_device { public: - itt3030_state(const machine_config &mconfig, device_type type, std::string tag) + itt3030_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_kbdmcu(*this, "kbdmcu") diff --git a/src/mame/drivers/jackie.cpp b/src/mame/drivers/jackie.cpp index 3e0667632d7..26fb86afcbf 100644 --- a/src/mame/drivers/jackie.cpp +++ b/src/mame/drivers/jackie.cpp @@ -53,7 +53,7 @@ Note class jackie_state : public driver_device { public: - jackie_state(const machine_config &mconfig, device_type type, std::string tag) + jackie_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/jackpool.cpp b/src/mame/drivers/jackpool.cpp index 2d2ed3c47b0..b5528b4fc8b 100644 --- a/src/mame/drivers/jackpool.cpp +++ b/src/mame/drivers/jackpool.cpp @@ -26,7 +26,7 @@ TODO: class jackpool_state : public driver_device { public: - jackpool_state(const machine_config &mconfig, device_type type, std::string tag) + jackpool_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_vram(*this, "vram"), m_io(*this, "io"), diff --git a/src/mame/drivers/jade.cpp b/src/mame/drivers/jade.cpp index 659075458c8..38710c20bd8 100644 --- a/src/mame/drivers/jade.cpp +++ b/src/mame/drivers/jade.cpp @@ -23,7 +23,7 @@ class jade_state : public driver_device { public: - jade_state(const machine_config &mconfig, device_type type, std::string tag) + jade_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG), diff --git a/src/mame/drivers/jaguar.cpp b/src/mame/drivers/jaguar.cpp index aba346f274e..17fa609b29c 100644 --- a/src/mame/drivers/jaguar.cpp +++ b/src/mame/drivers/jaguar.cpp @@ -377,7 +377,7 @@ extern const device_type COJAG_HARDDISK; class cojag_hdd : public ide_hdd_device { public: - cojag_hdd(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) + cojag_hdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ide_hdd_device(mconfig, COJAG_HARDDISK, "HDD CoJag", tag, owner, clock, "cojag_hdd", __FILE__) { } diff --git a/src/mame/drivers/jalmah.cpp b/src/mame/drivers/jalmah.cpp index 32b541b4357..426aab1e010 100644 --- a/src/mame/drivers/jalmah.cpp +++ b/src/mame/drivers/jalmah.cpp @@ -121,7 +121,7 @@ OSC: 12.000MHz class jalmah_state : public driver_device { public: - jalmah_state(const machine_config &mconfig, device_type type, std::string tag) + jalmah_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_sc0_vram(*this, "sc0_vram"), m_sc1_vram(*this, "sc1_vram"), diff --git a/src/mame/drivers/jangou.cpp b/src/mame/drivers/jangou.cpp index 75ecbb1622d..a72c7c1a9b6 100644 --- a/src/mame/drivers/jangou.cpp +++ b/src/mame/drivers/jangou.cpp @@ -40,7 +40,7 @@ $c088-$c095 player tiles class jangou_state : public driver_device { public: - jangou_state(const machine_config &mconfig, device_type type, std::string tag) + jangou_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_cpu_0(*this, "cpu0"), m_cpu_1(*this, "cpu1"), diff --git a/src/mame/drivers/jankenmn.cpp b/src/mame/drivers/jankenmn.cpp index 104724ff750..f6182842d14 100644 --- a/src/mame/drivers/jankenmn.cpp +++ b/src/mame/drivers/jankenmn.cpp @@ -160,7 +160,7 @@ class jankenmn_state : public driver_device { public: - jankenmn_state(const machine_config &mconfig, device_type type, std::string tag) + jankenmn_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/jantotsu.cpp b/src/mame/drivers/jantotsu.cpp index b42950e2db6..94a3cbd8710 100644 --- a/src/mame/drivers/jantotsu.cpp +++ b/src/mame/drivers/jantotsu.cpp @@ -104,7 +104,7 @@ dumped by sayu class jantotsu_state : public driver_device { public: - jantotsu_state(const machine_config &mconfig, device_type type, std::string tag) + jantotsu_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_adpcm(*this, "adpcm") , diff --git a/src/mame/drivers/jchan.cpp b/src/mame/drivers/jchan.cpp index d98c66aad21..a5eb0ba0699 100644 --- a/src/mame/drivers/jchan.cpp +++ b/src/mame/drivers/jchan.cpp @@ -165,7 +165,7 @@ JC-301-00 W11 9510K7059 23C16000 U85 class jchan_state : public driver_device { public: - jchan_state(const machine_config &mconfig, device_type type, std::string tag) + jchan_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_subcpu(*this,"sub"), diff --git a/src/mame/drivers/jclub2.cpp b/src/mame/drivers/jclub2.cpp index 777d9f82d79..e3135dcbc6e 100644 --- a/src/mame/drivers/jclub2.cpp +++ b/src/mame/drivers/jclub2.cpp @@ -105,7 +105,7 @@ To do: class darkhors_state : public driver_device { public: - darkhors_state(const machine_config &mconfig, device_type type, std::string tag) + darkhors_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_tmapram(*this, "tmapram"), m_tmapscroll(*this, "tmapscroll"), diff --git a/src/mame/drivers/jeutel.cpp b/src/mame/drivers/jeutel.cpp index 0cd387c68d8..c86dc4821e5 100644 --- a/src/mame/drivers/jeutel.cpp +++ b/src/mame/drivers/jeutel.cpp @@ -25,7 +25,7 @@ ToDo: class jeutel_state : public genpin_class { public: - jeutel_state(const machine_config &mconfig, device_type type, std::string tag) + jeutel_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_cpu2(*this, "cpu2") diff --git a/src/mame/drivers/jokrwild.cpp b/src/mame/drivers/jokrwild.cpp index 0599f23a050..67c76df6eb8 100644 --- a/src/mame/drivers/jokrwild.cpp +++ b/src/mame/drivers/jokrwild.cpp @@ -83,7 +83,7 @@ class jokrwild_state : public driver_device { public: - jokrwild_state(const machine_config &mconfig, device_type type, std::string tag) + jokrwild_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/jollyjgr.cpp b/src/mame/drivers/jollyjgr.cpp index 78862f77700..8026d553914 100644 --- a/src/mame/drivers/jollyjgr.cpp +++ b/src/mame/drivers/jollyjgr.cpp @@ -107,7 +107,7 @@ Notes: class jollyjgr_state : public driver_device { public: - jollyjgr_state(const machine_config &mconfig, device_type type, std::string tag) + jollyjgr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/jongkyo.cpp b/src/mame/drivers/jongkyo.cpp index c8dffe3c1ac..46e762a799f 100644 --- a/src/mame/drivers/jongkyo.cpp +++ b/src/mame/drivers/jongkyo.cpp @@ -37,7 +37,7 @@ class jongkyo_state : public driver_device { public: - jongkyo_state(const machine_config &mconfig, device_type type, std::string tag) + jongkyo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/jonos.cpp b/src/mame/drivers/jonos.cpp index 96c4b133336..657d2dca18b 100644 --- a/src/mame/drivers/jonos.cpp +++ b/src/mame/drivers/jonos.cpp @@ -19,7 +19,7 @@ class jonos_state : public driver_device { public: - jonos_state(const machine_config &mconfig, device_type type, std::string tag) + jonos_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_p_videoram(*this, "videoram") , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/joystand.cpp b/src/mame/drivers/joystand.cpp index f31cc2e1e83..a17aacc787a 100644 --- a/src/mame/drivers/joystand.cpp +++ b/src/mame/drivers/joystand.cpp @@ -100,7 +100,7 @@ Notes: class joystand_state : public driver_device { public: - joystand_state(const machine_config &mconfig, device_type type, std::string tag) + joystand_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_tmp68301(*this, "tmp68301"), diff --git a/src/mame/drivers/jp.cpp b/src/mame/drivers/jp.cpp index 0df22f3677a..4e25800686a 100644 --- a/src/mame/drivers/jp.cpp +++ b/src/mame/drivers/jp.cpp @@ -26,7 +26,7 @@ ToDo: class jp_state : public genpin_class { public: - jp_state(const machine_config &mconfig, device_type type, std::string tag) + jp_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/jpmmps.cpp b/src/mame/drivers/jpmmps.cpp index 6071aaa5d6a..c80b2c8fa64 100644 --- a/src/mame/drivers/jpmmps.cpp +++ b/src/mame/drivers/jpmmps.cpp @@ -40,7 +40,7 @@ class jpmmps_state : public driver_device { public: - jpmmps_state(const machine_config &mconfig, device_type type, std::string tag) + jpmmps_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_psg(*this, "sn"), diff --git a/src/mame/drivers/jpms80.cpp b/src/mame/drivers/jpms80.cpp index 9decebb1123..ff3edef631a 100644 --- a/src/mame/drivers/jpms80.cpp +++ b/src/mame/drivers/jpms80.cpp @@ -32,7 +32,7 @@ System80 is based on the SRU platform, but with more outputs and finally a separ class jpms80_state : public driver_device { public: - jpms80_state(const machine_config &mconfig, device_type type, std::string tag) + jpms80_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/jpmsru.cpp b/src/mame/drivers/jpmsru.cpp index 2b51e6b84e1..98a3a895991 100644 --- a/src/mame/drivers/jpmsru.cpp +++ b/src/mame/drivers/jpmsru.cpp @@ -25,7 +25,7 @@ class jpmsru_state : public driver_device { public: - jpmsru_state(const machine_config &mconfig, device_type type, std::string tag) + jpmsru_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/jpmsys7.cpp b/src/mame/drivers/jpmsys7.cpp index 60e4c3062c7..44b8134d67e 100644 --- a/src/mame/drivers/jpmsys7.cpp +++ b/src/mame/drivers/jpmsys7.cpp @@ -28,7 +28,7 @@ Pluto 8: ColdFire 5475 class jpmsys7_state : public driver_device { public: - jpmsys7_state(const machine_config &mconfig, device_type type, std::string tag) + jpmsys7_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/jr100.cpp b/src/mame/drivers/jr100.cpp index e9cd0ed0872..8ec6d10dfc1 100644 --- a/src/mame/drivers/jr100.cpp +++ b/src/mame/drivers/jr100.cpp @@ -26,7 +26,7 @@ class jr100_state : public driver_device { public: - jr100_state(const machine_config &mconfig, device_type type, std::string tag) + jr100_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_ram(*this, "ram"), m_pcg(*this, "pcg"), diff --git a/src/mame/drivers/jr200.cpp b/src/mame/drivers/jr200.cpp index 961688c0bff..f04d8bb1c07 100644 --- a/src/mame/drivers/jr200.cpp +++ b/src/mame/drivers/jr200.cpp @@ -25,7 +25,7 @@ class jr200_state : public driver_device { public: - jr200_state(const machine_config &mconfig, device_type type, std::string tag) + jr200_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_vram(*this, "vram"), m_cram(*this, "cram"), diff --git a/src/mame/drivers/jrpacman.cpp b/src/mame/drivers/jrpacman.cpp index 02a8fa6aacb..773a6788d4a 100644 --- a/src/mame/drivers/jrpacman.cpp +++ b/src/mame/drivers/jrpacman.cpp @@ -108,7 +108,7 @@ class jrpacman_state : public pacman_state { public: - jrpacman_state(const machine_config &mconfig, device_type type, std::string tag) + jrpacman_state(const machine_config &mconfig, device_type type, const char *tag) : pacman_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(jrpacman_interrupt_vector_w); DECLARE_WRITE8_MEMBER(irq_mask_w); diff --git a/src/mame/drivers/jtc.cpp b/src/mame/drivers/jtc.cpp index 9b1c4c9544d..07114be0ac1 100644 --- a/src/mame/drivers/jtc.cpp +++ b/src/mame/drivers/jtc.cpp @@ -25,7 +25,7 @@ class jtc_state : public driver_device { public: - jtc_state(const machine_config &mconfig, device_type type, std::string tag) + jtc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, UB8830D_TAG), m_cassette(*this, "cassette"), @@ -57,7 +57,7 @@ public: class jtces88_state : public jtc_state { public: - jtces88_state(const machine_config &mconfig, device_type type, std::string tag) + jtces88_state(const machine_config &mconfig, device_type type, const char *tag) : jtc_state(mconfig, type, tag) { } }; @@ -66,7 +66,7 @@ public: class jtces23_state : public jtc_state { public: - jtces23_state(const machine_config &mconfig, device_type type, std::string tag) + jtces23_state(const machine_config &mconfig, device_type type, const char *tag) : jtc_state(mconfig, type, tag) { } @@ -78,7 +78,7 @@ public: class jtces40_state : public jtc_state { public: - jtces40_state(const machine_config &mconfig, device_type type, std::string tag) + jtces40_state(const machine_config &mconfig, device_type type, const char *tag) : jtc_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/jubilee.cpp b/src/mame/drivers/jubilee.cpp index 95ab37d9d18..cee308786cd 100644 --- a/src/mame/drivers/jubilee.cpp +++ b/src/mame/drivers/jubilee.cpp @@ -206,7 +206,7 @@ class jubilee_state : public driver_device { public: - jubilee_state(const machine_config &mconfig, device_type type, std::string tag) + jubilee_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoworkram"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/juicebox.cpp b/src/mame/drivers/juicebox.cpp index 0b1f2fb62e1..3b6a24e568c 100644 --- a/src/mame/drivers/juicebox.cpp +++ b/src/mame/drivers/juicebox.cpp @@ -31,7 +31,7 @@ struct jb_smc_t class juicebox_state : public driver_device { public: - juicebox_state(const machine_config &mconfig, device_type type, std::string tag) + juicebox_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), diff --git a/src/mame/drivers/junior.cpp b/src/mame/drivers/junior.cpp index f88c2abf3ad..6a3f4c3928c 100644 --- a/src/mame/drivers/junior.cpp +++ b/src/mame/drivers/junior.cpp @@ -34,7 +34,7 @@ Test Paste: class junior_state : public driver_device { public: - junior_state(const machine_config &mconfig, device_type type, std::string tag) + junior_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_riot(*this, "riot") , diff --git a/src/mame/drivers/junofrst.cpp b/src/mame/drivers/junofrst.cpp index 159f94bddb8..f8a5b55b9d8 100644 --- a/src/mame/drivers/junofrst.cpp +++ b/src/mame/drivers/junofrst.cpp @@ -94,7 +94,7 @@ Blitter source graphics class junofrst_state : public tutankhm_state { public: - junofrst_state(const machine_config &mconfig, device_type type, std::string tag) + junofrst_state(const machine_config &mconfig, device_type type, const char *tag) : tutankhm_state(mconfig, type, tag), m_audiocpu(*this, "audiocpu"), m_i8039(*this, "mcu"), diff --git a/src/mame/drivers/jupace.cpp b/src/mame/drivers/jupace.cpp index 85a053608e8..86ba95a41c6 100644 --- a/src/mame/drivers/jupace.cpp +++ b/src/mame/drivers/jupace.cpp @@ -68,7 +68,7 @@ Ports: class ace_state : public driver_device { public: - ace_state(const machine_config &mconfig, device_type type, std::string tag) + ace_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, Z80_TAG), m_ppi(*this, I8255_TAG), diff --git a/src/mame/drivers/jvh.cpp b/src/mame/drivers/jvh.cpp index eec499e8518..68c5c44b120 100644 --- a/src/mame/drivers/jvh.cpp +++ b/src/mame/drivers/jvh.cpp @@ -13,7 +13,7 @@ class jvh_state : public driver_device { public: - jvh_state(const machine_config &mconfig, device_type type, std::string tag) + jvh_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/k1003.cpp b/src/mame/drivers/k1003.cpp index c24017f1cca..fd95cf461d3 100644 --- a/src/mame/drivers/k1003.cpp +++ b/src/mame/drivers/k1003.cpp @@ -49,7 +49,7 @@ The writes to ports 0A, 11 & 13 are continuous. class k1003_state : public driver_device { public: - k1003_state(const machine_config &mconfig, device_type type, std::string tag) + k1003_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/k8915.cpp b/src/mame/drivers/k8915.cpp index b95f0dc81ce..568851f15e0 100644 --- a/src/mame/drivers/k8915.cpp +++ b/src/mame/drivers/k8915.cpp @@ -19,7 +19,7 @@ class k8915_state : public driver_device { public: - k8915_state(const machine_config &mconfig, device_type type, std::string tag) + k8915_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_p_videoram(*this, "p_videoram") diff --git a/src/mame/drivers/kaneko16.cpp b/src/mame/drivers/kaneko16.cpp index 54440c69c7e..96b3987b6de 100644 --- a/src/mame/drivers/kaneko16.cpp +++ b/src/mame/drivers/kaneko16.cpp @@ -688,7 +688,7 @@ ADDRESS_MAP_END Shogun Warriors ***************************************************************************/ -void kaneko16_state::kaneko16_common_oki_bank_w( const char *bankname, std::string tag, int bank, size_t fixedsize, size_t bankedsize ) +void kaneko16_state::kaneko16_common_oki_bank_w( const char *bankname, const char* tag, int bank, size_t fixedsize, size_t bankedsize ) { UINT32 bankaddr; UINT8* samples = memregion(tag)->base(); diff --git a/src/mame/drivers/kas89.cpp b/src/mame/drivers/kas89.cpp index 767ade46e8a..cf7cd47487f 100644 --- a/src/mame/drivers/kas89.cpp +++ b/src/mame/drivers/kas89.cpp @@ -204,7 +204,7 @@ class kas89_state : public driver_device { public: - kas89_state(const machine_config &mconfig, device_type type, std::string tag) + kas89_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/kenseim.cpp b/src/mame/drivers/kenseim.cpp index 9835db8afac..e5ec6e2cd78 100644 --- a/src/mame/drivers/kenseim.cpp +++ b/src/mame/drivers/kenseim.cpp @@ -149,7 +149,7 @@ GND | 20 class kenseim_state : public cps_state { public: - kenseim_state(const machine_config &mconfig, device_type type, std::string tag) + kenseim_state(const machine_config &mconfig, device_type type, const char *tag) : cps_state(mconfig, type, tag), m_to_68k_cmd_low(0), m_to_68k_cmd_d9(0), diff --git a/src/mame/drivers/kim1.cpp b/src/mame/drivers/kim1.cpp index ca0bc4073d0..828b8357805 100644 --- a/src/mame/drivers/kim1.cpp +++ b/src/mame/drivers/kim1.cpp @@ -107,7 +107,7 @@ Test Paste: class kim1_state : public driver_device { public: - kim1_state(const machine_config &mconfig, device_type type, std::string tag) + kim1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_riot2(*this, "miot_u2"), diff --git a/src/mame/drivers/kingdrby.cpp b/src/mame/drivers/kingdrby.cpp index 2040c9281bd..ac0f42de2bd 100644 --- a/src/mame/drivers/kingdrby.cpp +++ b/src/mame/drivers/kingdrby.cpp @@ -85,7 +85,7 @@ sg1_b.e1 4096 0x92ef3c13 D2732D class kingdrby_state : public driver_device { public: - kingdrby_state(const machine_config &mconfig, device_type type, std::string tag) + kingdrby_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_vram(*this, "vram"), m_attr(*this, "attr"), diff --git a/src/mame/drivers/kingpin.cpp b/src/mame/drivers/kingpin.cpp index 2dc917dfc43..6f72cd2ee2c 100644 --- a/src/mame/drivers/kingpin.cpp +++ b/src/mame/drivers/kingpin.cpp @@ -42,7 +42,7 @@ Todo: class kingpin_state : public driver_device { public: - kingpin_state(const machine_config &mconfig, device_type type, std::string tag) + kingpin_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu") diff --git a/src/mame/drivers/kinst.cpp b/src/mame/drivers/kinst.cpp index 56768ff65a1..46775f6378b 100644 --- a/src/mame/drivers/kinst.cpp +++ b/src/mame/drivers/kinst.cpp @@ -146,7 +146,7 @@ public: TIMER_IRQ0_STOP }; - kinst_state(const machine_config &mconfig, device_type type, std::string tag) + kinst_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_rambase(*this, "rambase"), m_rambase2(*this, "rambase2"), diff --git a/src/mame/drivers/kissproto.cpp b/src/mame/drivers/kissproto.cpp index 1d2e7a674fb..4ba8f744db8 100644 --- a/src/mame/drivers/kissproto.cpp +++ b/src/mame/drivers/kissproto.cpp @@ -14,7 +14,7 @@ class kissp_state : public driver_device { public: - kissp_state(const machine_config &mconfig, device_type type, std::string tag) + kissp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/koftball.cpp b/src/mame/drivers/koftball.cpp index 48c77745419..9156ec999d6 100644 --- a/src/mame/drivers/koftball.cpp +++ b/src/mame/drivers/koftball.cpp @@ -40,7 +40,7 @@ ft5_v6_c4.u58 / class koftball_state : public driver_device { public: - koftball_state(const machine_config &mconfig, device_type type, std::string tag) + koftball_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_main_ram(*this, "main_ram"), diff --git a/src/mame/drivers/koikoi.cpp b/src/mame/drivers/koikoi.cpp index 7dc046acee7..2e374415c5c 100644 --- a/src/mame/drivers/koikoi.cpp +++ b/src/mame/drivers/koikoi.cpp @@ -50,7 +50,7 @@ static const int input_tab[]= { 0x22, 0x64, 0x44, 0x68, 0x30, 0x50, 0x70, 0x48, class koikoi_state : public driver_device { public: - koikoi_state(const machine_config &mconfig, device_type type, std::string tag) + koikoi_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/konamigq.cpp b/src/mame/drivers/konamigq.cpp index 21051c57664..458737b8556 100644 --- a/src/mame/drivers/konamigq.cpp +++ b/src/mame/drivers/konamigq.cpp @@ -84,7 +84,7 @@ class konamigq_state : public driver_device { public: - konamigq_state(const machine_config &mconfig, device_type type, std::string tag) + konamigq_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/drivers/konamigv.cpp b/src/mame/drivers/konamigv.cpp index cc426022594..24a2a64cbde 100644 --- a/src/mame/drivers/konamigv.cpp +++ b/src/mame/drivers/konamigv.cpp @@ -137,7 +137,7 @@ Notes: class konamigv_state : public driver_device { public: - konamigv_state(const machine_config &mconfig, device_type type, std::string tag) + konamigv_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_am53cf96(*this, "am53cf96"), m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/konamim2.cpp b/src/mame/drivers/konamim2.cpp index db61f5d8077..426556d0e95 100644 --- a/src/mame/drivers/konamim2.cpp +++ b/src/mame/drivers/konamim2.cpp @@ -206,7 +206,7 @@ struct CDE_DMA class konamim2_state : public driver_device { public: - konamim2_state(const machine_config &mconfig, device_type type, std::string tag) + konamim2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_main_ram(*this, "main_ram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/konendev.cpp b/src/mame/drivers/konendev.cpp index 3535ddb3867..9e8f542eb65 100644 --- a/src/mame/drivers/konendev.cpp +++ b/src/mame/drivers/konendev.cpp @@ -44,7 +44,7 @@ class konendev_state : public driver_device { public: - konendev_state(const machine_config &mconfig, device_type type, std::string tag) + konendev_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gcu(*this, "gcu"), diff --git a/src/mame/drivers/konin.cpp b/src/mame/drivers/konin.cpp index e78bb1743b1..ac7c8a0d69c 100644 --- a/src/mame/drivers/konin.cpp +++ b/src/mame/drivers/konin.cpp @@ -36,7 +36,7 @@ class konin_state : public driver_device { public: - konin_state(const machine_config &mconfig, device_type type, std::string tag) + konin_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/kontest.cpp b/src/mame/drivers/kontest.cpp index 90266c31f87..f14f545f840 100644 --- a/src/mame/drivers/kontest.cpp +++ b/src/mame/drivers/kontest.cpp @@ -29,7 +29,7 @@ class kontest_state : public driver_device { public: - kontest_state(const machine_config &mconfig, device_type type, std::string tag) + kontest_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, "ram"), diff --git a/src/mame/drivers/korgm1.cpp b/src/mame/drivers/korgm1.cpp index f3fa5769c29..6714aaab7dc 100644 --- a/src/mame/drivers/korgm1.cpp +++ b/src/mame/drivers/korgm1.cpp @@ -21,7 +21,7 @@ class korgm1_state : public driver_device { public: - korgm1_state(const machine_config &mconfig, device_type type, std::string tag) + korgm1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/ksys573.cpp b/src/mame/drivers/ksys573.cpp index 89c464476d9..18de66cf40d 100644 --- a/src/mame/drivers/ksys573.cpp +++ b/src/mame/drivers/ksys573.cpp @@ -371,7 +371,7 @@ G: gun mania only, drives air soft gun (this game uses real BB bullet) class ksys573_state : public driver_device { public: - ksys573_state( const machine_config &mconfig, device_type type, std::string tag ) : + ksys573_state( const machine_config &mconfig, device_type type, const char *tag ) : driver_device( mconfig, type, tag ), m_analog0(*this, "analog0" ), m_analog1(*this, "analog1" ), diff --git a/src/mame/drivers/kungfur.cpp b/src/mame/drivers/kungfur.cpp index 827d11b0f3d..0a4d2b5c86c 100644 --- a/src/mame/drivers/kungfur.cpp +++ b/src/mame/drivers/kungfur.cpp @@ -67,7 +67,7 @@ mae(forward), migi(right), ushiro(back), hidari(left) class kungfur_state : public driver_device { public: - kungfur_state(const machine_config &mconfig, device_type type, std::string tag) + kungfur_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_adpcm1(*this, "adpcm1"), diff --git a/src/mame/drivers/kurukuru.cpp b/src/mame/drivers/kurukuru.cpp index f6da4092398..ef8248de862 100644 --- a/src/mame/drivers/kurukuru.cpp +++ b/src/mame/drivers/kurukuru.cpp @@ -204,7 +204,7 @@ class kurukuru_state : public driver_device { public: - kurukuru_state(const machine_config &mconfig, device_type type, std::string tag) + kurukuru_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_audiocpu(*this, "audiocpu"), m_v9938(*this, "v9938"), diff --git a/src/mame/drivers/laser3k.cpp b/src/mame/drivers/laser3k.cpp index c39112dffa8..c8732ac239d 100644 --- a/src/mame/drivers/laser3k.cpp +++ b/src/mame/drivers/laser3k.cpp @@ -66,7 +66,7 @@ enum class laser3k_state : public driver_device { public: - laser3k_state(const machine_config &mconfig, device_type type, std::string tag) + laser3k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_ram(*this, "mainram") diff --git a/src/mame/drivers/laserbas.cpp b/src/mame/drivers/laserbas.cpp index 9522234496c..77684ccfc78 100644 --- a/src/mame/drivers/laserbas.cpp +++ b/src/mame/drivers/laserbas.cpp @@ -57,7 +57,7 @@ expected: 43 FB CC 9A D4 23 6C 01 3E <- From ROM 4 class laserbas_state : public driver_device { public: - laserbas_state(const machine_config &mconfig, device_type type, std::string tag) + laserbas_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_protram(*this, "protram"), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/lastbank.cpp b/src/mame/drivers/lastbank.cpp index 77a0d5e2746..75bafbb6d6c 100644 --- a/src/mame/drivers/lastbank.cpp +++ b/src/mame/drivers/lastbank.cpp @@ -23,7 +23,7 @@ class lastbank_state : public driver_device { public: - lastbank_state(const machine_config &mconfig, device_type type, std::string tag) + lastbank_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_vdp(*this, "tc0091lvc") diff --git a/src/mame/drivers/lastfght.cpp b/src/mame/drivers/lastfght.cpp index 1c4e59edc8b..b4d34c73d1c 100644 --- a/src/mame/drivers/lastfght.cpp +++ b/src/mame/drivers/lastfght.cpp @@ -71,7 +71,7 @@ Notes: class lastfght_state : public driver_device { public: - lastfght_state(const machine_config &mconfig, device_type type, std::string tag) + lastfght_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_screen(*this, "screen"), diff --git a/src/mame/drivers/laz_aftrshok.cpp b/src/mame/drivers/laz_aftrshok.cpp index f92210e0416..d9611e29dd6 100644 --- a/src/mame/drivers/laz_aftrshok.cpp +++ b/src/mame/drivers/laz_aftrshok.cpp @@ -36,7 +36,7 @@ https://www.youtube.com/watch?v=9DIhuOEVwf4 class aftrshok_state : public driver_device { public: - aftrshok_state(const machine_config &mconfig, device_type type, std::string tag) + aftrshok_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) // ,m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/laz_awetoss.cpp b/src/mame/drivers/laz_awetoss.cpp index cc5cf7fc40c..e0ae4697f64 100644 --- a/src/mame/drivers/laz_awetoss.cpp +++ b/src/mame/drivers/laz_awetoss.cpp @@ -16,7 +16,7 @@ Awesome tossem u21 = 27c512 class awetoss_state : public driver_device { public: - awetoss_state(const machine_config &mconfig, device_type type, std::string tag) + awetoss_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) // ,m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/laz_ribrac.cpp b/src/mame/drivers/laz_ribrac.cpp index 15cc298f44a..fde9067a7b0 100644 --- a/src/mame/drivers/laz_ribrac.cpp +++ b/src/mame/drivers/laz_ribrac.cpp @@ -20,7 +20,7 @@ http://ohwow-arcade.com/Assets/Game_Manuals/RIBBIT%20RACIN.PDF class laz_ribrac_state : public driver_device { public: - laz_ribrac_state(const machine_config &mconfig, device_type type, std::string tag) + laz_ribrac_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) // ,m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/lbeach.cpp b/src/mame/drivers/lbeach.cpp index 05acb63d805..22000e3069a 100644 --- a/src/mame/drivers/lbeach.cpp +++ b/src/mame/drivers/lbeach.cpp @@ -33,7 +33,7 @@ TODO: class lbeach_state : public driver_device { public: - lbeach_state(const machine_config &mconfig, device_type type, std::string tag) + lbeach_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_bg_vram(*this, "bg_vram"), diff --git a/src/mame/drivers/lcmate2.cpp b/src/mame/drivers/lcmate2.cpp index a633813b5c8..01daa3ce6d4 100644 --- a/src/mame/drivers/lcmate2.cpp +++ b/src/mame/drivers/lcmate2.cpp @@ -41,7 +41,7 @@ class lcmate2_state : public driver_device { public: - lcmate2_state(const machine_config &mconfig, device_type type, std::string tag) + lcmate2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_lcdc(*this, "hd44780"), diff --git a/src/mame/drivers/leapster.cpp b/src/mame/drivers/leapster.cpp index 45709316727..7f53fea59d4 100644 --- a/src/mame/drivers/leapster.cpp +++ b/src/mame/drivers/leapster.cpp @@ -215,7 +215,7 @@ PCB - LEAPSTER-TV: class leapster_state : public driver_device { public: - leapster_state(const machine_config &mconfig, device_type type, std::string tag) + leapster_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cart(*this, "cartslot") diff --git a/src/mame/drivers/lft.cpp b/src/mame/drivers/lft.cpp index e2ee2169d4a..63479765180 100644 --- a/src/mame/drivers/lft.cpp +++ b/src/mame/drivers/lft.cpp @@ -15,7 +15,7 @@ class lft_state : public driver_device { public: - lft_state(const machine_config &mconfig, device_type type, std::string tag) + lft_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_terminal(*this, "terminal") diff --git a/src/mame/drivers/lg-dvd.cpp b/src/mame/drivers/lg-dvd.cpp index 4ea7b54c03b..0ea3c2ad14a 100644 --- a/src/mame/drivers/lg-dvd.cpp +++ b/src/mame/drivers/lg-dvd.cpp @@ -10,7 +10,7 @@ class lg_dvd_state : public driver_device { public: - lg_dvd_state(const machine_config &mconfig, device_type type, std::string tag) + lg_dvd_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/lgp.cpp b/src/mame/drivers/lgp.cpp index 58f5360f721..aa1f18ff8b6 100644 --- a/src/mame/drivers/lgp.cpp +++ b/src/mame/drivers/lgp.cpp @@ -74,7 +74,7 @@ Dumping Notes: class lgp_state : public driver_device { public: - lgp_state(const machine_config &mconfig, device_type type, std::string tag) + lgp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_laserdisc(*this, "laserdisc") , m_tile_ram(*this, "tile_ram"), diff --git a/src/mame/drivers/limenko.cpp b/src/mame/drivers/limenko.cpp index d89650c3155..57c7f1df3b4 100644 --- a/src/mame/drivers/limenko.cpp +++ b/src/mame/drivers/limenko.cpp @@ -34,7 +34,7 @@ class limenko_state : public driver_device { public: - limenko_state(const machine_config &mconfig, device_type type, std::string tag) + limenko_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki(*this, "oki"), diff --git a/src/mame/drivers/lindbergh.cpp b/src/mame/drivers/lindbergh.cpp index 2bdcba66559..e83f0a37d39 100644 --- a/src/mame/drivers/lindbergh.cpp +++ b/src/mame/drivers/lindbergh.cpp @@ -343,13 +343,13 @@ Sega 2005 class lindbergh_state : public driver_device { public: - lindbergh_state(const machine_config &mconfig, device_type type, std::string tag); + lindbergh_state(const machine_config &mconfig, device_type type, const char *tag); virtual void machine_start() override; virtual void machine_reset() override; }; -lindbergh_state::lindbergh_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag) +lindbergh_state::lindbergh_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) { } diff --git a/src/mame/drivers/littlerb.cpp b/src/mame/drivers/littlerb.cpp index bbb9b862877..6ec40e52ff2 100644 --- a/src/mame/drivers/littlerb.cpp +++ b/src/mame/drivers/littlerb.cpp @@ -74,7 +74,7 @@ Dip sw.2 class littlerb_state : public driver_device { public: - littlerb_state(const machine_config &mconfig, device_type type, std::string tag) + littlerb_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_indervid(*this, "inder_vid"), diff --git a/src/mame/drivers/lola8a.cpp b/src/mame/drivers/lola8a.cpp index 095463e2478..ae8b90b6a8e 100644 --- a/src/mame/drivers/lola8a.cpp +++ b/src/mame/drivers/lola8a.cpp @@ -33,7 +33,7 @@ class lola8a_state : public driver_device { public: - lola8a_state(const machine_config &mconfig, device_type type, std::string tag) + lola8a_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_cass(*this, "cassette"), diff --git a/src/mame/drivers/looping.cpp b/src/mame/drivers/looping.cpp index 897312e90a7..09ba6ffeda2 100644 --- a/src/mame/drivers/looping.cpp +++ b/src/mame/drivers/looping.cpp @@ -100,7 +100,7 @@ L056-6 9A " " VLI-8-4 7A " class looping_state : public driver_device { public: - looping_state(const machine_config &mconfig, device_type type, std::string tag) + looping_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/ltcasino.cpp b/src/mame/drivers/ltcasino.cpp index 7fe1453feb8..49bc8da5301 100644 --- a/src/mame/drivers/ltcasino.cpp +++ b/src/mame/drivers/ltcasino.cpp @@ -23,7 +23,7 @@ etc. class ltcasino_state : public driver_device { public: - ltcasino_state(const machine_config &mconfig, device_type type, std::string tag) + ltcasino_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_tile_num_ram(*this, "tile_nuram"), m_tile_atr_ram(*this, "tile_atr_ram"), diff --git a/src/mame/drivers/ltd.cpp b/src/mame/drivers/ltd.cpp index 36f12f993e3..23749cd2313 100644 --- a/src/mame/drivers/ltd.cpp +++ b/src/mame/drivers/ltd.cpp @@ -48,7 +48,7 @@ ToDo: class ltd_state : public genpin_class { public: - ltd_state(const machine_config &mconfig, device_type type, std::string tag) + ltd_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_p_ram(*this, "nvram") diff --git a/src/mame/drivers/luckgrln.cpp b/src/mame/drivers/luckgrln.cpp index 0f193fe2701..56d5747a5e7 100644 --- a/src/mame/drivers/luckgrln.cpp +++ b/src/mame/drivers/luckgrln.cpp @@ -88,7 +88,7 @@ class luckgrln_state : public driver_device { public: - luckgrln_state(const machine_config &mconfig, device_type type, std::string tag) + luckgrln_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_reel1_ram(*this, "reel1_ram"), m_reel1_attr(*this, "reel1_attr"), diff --git a/src/mame/drivers/m14.cpp b/src/mame/drivers/m14.cpp index 1858d42f501..7a81d5fab73 100644 --- a/src/mame/drivers/m14.cpp +++ b/src/mame/drivers/m14.cpp @@ -59,7 +59,7 @@ Dumped by Chackn class m14_state : public driver_device { public: - m14_state(const machine_config &mconfig, device_type type, std::string tag) + m14_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_video_ram(*this, "video_ram"), m_color_ram(*this, "color_ram"), diff --git a/src/mame/drivers/m20.cpp b/src/mame/drivers/m20.cpp index 4c16424cbbe..89e792e83ad 100644 --- a/src/mame/drivers/m20.cpp +++ b/src/mame/drivers/m20.cpp @@ -56,7 +56,7 @@ E I1 Vectored interrupt error class m20_state : public driver_device { public: - m20_state(const machine_config &mconfig, device_type type, std::string tag) + m20_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/drivers/m24.cpp b/src/mame/drivers/m24.cpp index 810b5e1d1cd..a055e1df881 100644 --- a/src/mame/drivers/m24.cpp +++ b/src/mame/drivers/m24.cpp @@ -18,7 +18,7 @@ class m24_state : public driver_device { public: - m24_state(const machine_config &mconfig, device_type type, std::string tag) : + m24_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mb(*this, "mb"), diff --git a/src/mame/drivers/m63.cpp b/src/mame/drivers/m63.cpp index fb84e8be149..1a0f04752eb 100644 --- a/src/mame/drivers/m63.cpp +++ b/src/mame/drivers/m63.cpp @@ -126,7 +126,7 @@ Dip locations verified for: class m63_state : public driver_device { public: - m63_state(const machine_config &mconfig, device_type type, std::string tag) + m63_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_scrollram(*this, "scrollram"), diff --git a/src/mame/drivers/m6805evs.cpp b/src/mame/drivers/m6805evs.cpp index 9563eee16b1..ce7ee0a89fa 100644 --- a/src/mame/drivers/m6805evs.cpp +++ b/src/mame/drivers/m6805evs.cpp @@ -33,7 +33,7 @@ ToDo: class m6805evs_state : public driver_device { public: - m6805evs_state(const machine_config &mconfig, device_type type, std::string tag) + m6805evs_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/m79152pc.cpp b/src/mame/drivers/m79152pc.cpp index 99d8631b703..9cd9cb9acb8 100644 --- a/src/mame/drivers/m79152pc.cpp +++ b/src/mame/drivers/m79152pc.cpp @@ -16,7 +16,7 @@ class m79152pc_state : public driver_device { public: - m79152pc_state(const machine_config &mconfig, device_type type, std::string tag) + m79152pc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_videoram(*this, "p_videoram"), m_p_attributes(*this, "p_attributes"), diff --git a/src/mame/drivers/macs.cpp b/src/mame/drivers/macs.cpp index c98675f0f73..0bcdb63d3ce 100644 --- a/src/mame/drivers/macs.cpp +++ b/src/mame/drivers/macs.cpp @@ -64,7 +64,7 @@ KISEKAE -- info class macs_state : public driver_device { public: - macs_state(const machine_config &mconfig, device_type type, std::string tag) + macs_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_ram2(*this, "ram2"), m_maincpu(*this,"maincpu") diff --git a/src/mame/drivers/magic10.cpp b/src/mame/drivers/magic10.cpp index 4457c7cc3bb..6005f807aac 100644 --- a/src/mame/drivers/magic10.cpp +++ b/src/mame/drivers/magic10.cpp @@ -91,7 +91,7 @@ class magic10_state : public driver_device { public: - magic10_state(const machine_config &mconfig, device_type type, std::string tag) + magic10_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_layer0_videoram(*this, "layer0_videoram"), m_layer1_videoram(*this, "layer1_videoram"), diff --git a/src/mame/drivers/magicard.cpp b/src/mame/drivers/magicard.cpp index 4ae38fbeb0e..3662ae30d99 100644 --- a/src/mame/drivers/magicard.cpp +++ b/src/mame/drivers/magicard.cpp @@ -174,7 +174,7 @@ class magicard_state : public driver_device { public: - magicard_state(const machine_config &mconfig, device_type type, std::string tag) + magicard_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_magicram(*this, "magicram"), m_magicramb(*this, "magicramb"), diff --git a/src/mame/drivers/magicfly.cpp b/src/mame/drivers/magicfly.cpp index 99168421c71..bb82206dda1 100644 --- a/src/mame/drivers/magicfly.cpp +++ b/src/mame/drivers/magicfly.cpp @@ -448,7 +448,7 @@ class magicfly_state : public driver_device { public: - magicfly_state(const machine_config &mconfig, device_type type, std::string tag) + magicfly_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/magictg.cpp b/src/mame/drivers/magictg.cpp index 979101b9429..63b0df20394 100644 --- a/src/mame/drivers/magictg.cpp +++ b/src/mame/drivers/magictg.cpp @@ -145,7 +145,7 @@ Medium size chip with heat sink on it class magictg_state : public driver_device { public: - magictg_state(const machine_config &mconfig, device_type type, std::string tag) + magictg_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_mips(*this, "mips"), m_adsp(*this, "adsp"), diff --git a/src/mame/drivers/magtouch.cpp b/src/mame/drivers/magtouch.cpp index 2c5bb94981e..1e5c06922b0 100644 --- a/src/mame/drivers/magtouch.cpp +++ b/src/mame/drivers/magtouch.cpp @@ -86,7 +86,7 @@ video card class magtouch_state : public pcat_base_state { public: - magtouch_state(const machine_config &mconfig, device_type type, std::string tag) + magtouch_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag), m_uart(*this, "ns16450_0"), m_microtouch(*this, "microtouch"){ } diff --git a/src/mame/drivers/majorpkr.cpp b/src/mame/drivers/majorpkr.cpp index f10d32d5222..aed787f9459 100644 --- a/src/mame/drivers/majorpkr.cpp +++ b/src/mame/drivers/majorpkr.cpp @@ -462,7 +462,7 @@ class majorpkr_state : public driver_device { public: - majorpkr_state(const machine_config &mconfig, device_type type, std::string tag) + majorpkr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_gfxdecode(*this, "gfxdecode"), m_palette_bank(*this, "palette_bank"), diff --git a/src/mame/drivers/manohman.cpp b/src/mame/drivers/manohman.cpp index cad7e2678ff..430413996a9 100644 --- a/src/mame/drivers/manohman.cpp +++ b/src/mame/drivers/manohman.cpp @@ -142,7 +142,7 @@ class _manohman_state : public driver_device { public: - _manohman_state(const machine_config &mconfig, device_type type, std::string tag) + _manohman_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/marinedt.cpp b/src/mame/drivers/marinedt.cpp index 194180cfbcc..0f8e24b6199 100644 --- a/src/mame/drivers/marinedt.cpp +++ b/src/mame/drivers/marinedt.cpp @@ -157,7 +157,7 @@ p2 ink doesn't always light up in test mode class marinedt_state : public driver_device { public: - marinedt_state(const machine_config &mconfig, device_type type, std::string tag) + marinedt_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_tx_tileram(*this, "tx_tileram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/marywu.cpp b/src/mame/drivers/marywu.cpp index a15a3e7421a..d3082af2233 100644 --- a/src/mame/drivers/marywu.cpp +++ b/src/mame/drivers/marywu.cpp @@ -23,7 +23,7 @@ class marywu_state : public driver_device { public: - marywu_state(const machine_config &mconfig, device_type type, std::string tag) + marywu_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) { } }; diff --git a/src/mame/drivers/mastboy.cpp b/src/mame/drivers/mastboy.cpp index da377bf7ff9..5687defd7b2 100644 --- a/src/mame/drivers/mastboy.cpp +++ b/src/mame/drivers/mastboy.cpp @@ -445,7 +445,7 @@ class mastboy_state : public driver_device { public: - mastboy_state(const machine_config &mconfig, device_type type, std::string tag) + mastboy_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_msm(*this, "msm"), diff --git a/src/mame/drivers/maxaflex.cpp b/src/mame/drivers/maxaflex.cpp index 03092cbfce6..fce86aec694 100644 --- a/src/mame/drivers/maxaflex.cpp +++ b/src/mame/drivers/maxaflex.cpp @@ -27,7 +27,7 @@ class maxaflex_state : public atari_common_state { public: - maxaflex_state(const machine_config &mconfig, device_type type, std::string tag) + maxaflex_state(const machine_config &mconfig, device_type type, const char *tag) : atari_common_state(mconfig, type, tag), m_mcu(*this, "mcu"), m_speaker(*this, "speaker"), diff --git a/src/mame/drivers/maygayep.cpp b/src/mame/drivers/maygayep.cpp index 700745f9feb..fa9c5568a3d 100644 --- a/src/mame/drivers/maygayep.cpp +++ b/src/mame/drivers/maygayep.cpp @@ -40,7 +40,7 @@ class maygayep_state : public driver_device { public: - maygayep_state(const machine_config &mconfig, device_type type, std::string tag) + maygayep_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/maygaysw.cpp b/src/mame/drivers/maygaysw.cpp index 4fa6a437017..e095ac2b885 100644 --- a/src/mame/drivers/maygaysw.cpp +++ b/src/mame/drivers/maygaysw.cpp @@ -105,7 +105,7 @@ class maygayew_state : public driver_device { public: - maygayew_state(const machine_config &mconfig, device_type type, std::string tag) + maygayew_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } required_device m_maincpu; diff --git a/src/mame/drivers/maygayv1.cpp b/src/mame/drivers/maygayv1.cpp index 82977c59f45..256af7bbbee 100644 --- a/src/mame/drivers/maygayv1.cpp +++ b/src/mame/drivers/maygayv1.cpp @@ -208,7 +208,7 @@ struct i82716_t class maygayv1_state : public driver_device { public: - maygayv1_state(const machine_config &mconfig, device_type type, std::string tag) + maygayv1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/drivers/mayumi.cpp b/src/mame/drivers/mayumi.cpp index e30a9926d06..06250380cf7 100644 --- a/src/mame/drivers/mayumi.cpp +++ b/src/mame/drivers/mayumi.cpp @@ -20,7 +20,7 @@ class mayumi_state : public driver_device { public: - mayumi_state(const machine_config &mconfig, device_type type, std::string tag) + mayumi_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_i8255(*this, "i8255"), diff --git a/src/mame/drivers/mazerbla.cpp b/src/mame/drivers/mazerbla.cpp index 9cb895e06bd..21b1e6951ed 100644 --- a/src/mame/drivers/mazerbla.cpp +++ b/src/mame/drivers/mazerbla.cpp @@ -134,7 +134,7 @@ video z80 class mazerbla_state : public driver_device { public: - mazerbla_state(const machine_config &mconfig, device_type type, std::string tag) + mazerbla_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/drivers/mbc200.cpp b/src/mame/drivers/mbc200.cpp index 73453410c77..edd010e9a07 100644 --- a/src/mame/drivers/mbc200.cpp +++ b/src/mame/drivers/mbc200.cpp @@ -47,7 +47,7 @@ class mbc200_state : public driver_device { public: - mbc200_state(const machine_config &mconfig, device_type type, std::string tag) + mbc200_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_crtc(*this, "crtc") diff --git a/src/mame/drivers/mbdtower.cpp b/src/mame/drivers/mbdtower.cpp index 332ec6c05e7..f20f805fb5f 100644 --- a/src/mame/drivers/mbdtower.cpp +++ b/src/mame/drivers/mbdtower.cpp @@ -28,7 +28,7 @@ class mbdtower_state : public hh_tms1k_state { public: - mbdtower_state(const machine_config &mconfig, device_type type, std::string tag) + mbdtower_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/mc10.cpp b/src/mame/drivers/mc10.cpp index b77ea738e4b..5451c6ea12e 100644 --- a/src/mame/drivers/mc10.cpp +++ b/src/mame/drivers/mc10.cpp @@ -34,7 +34,7 @@ enum class mc10_state : public driver_device { public: - mc10_state(const machine_config &mconfig, device_type type, std::string tag) + mc10_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mc6847(*this, "mc6847"), diff --git a/src/mame/drivers/mcb216.cpp b/src/mame/drivers/mcb216.cpp index 32a1a7870e3..05aaf8960f8 100644 --- a/src/mame/drivers/mcb216.cpp +++ b/src/mame/drivers/mcb216.cpp @@ -41,7 +41,7 @@ class mcb216_state : public driver_device { public: - mcb216_state(const machine_config &mconfig, device_type type, std::string tag) + mcb216_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/mccpm.cpp b/src/mame/drivers/mccpm.cpp index af1737a8a8a..c52f9d234cd 100644 --- a/src/mame/drivers/mccpm.cpp +++ b/src/mame/drivers/mccpm.cpp @@ -62,7 +62,7 @@ PIO A-Data 0F4h, A-Command 0F5h, B-Data 0F6h, B-Command 0F7h class mccpm_state : public driver_device { public: - mccpm_state(const machine_config &mconfig, device_type type, std::string tag) + mccpm_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG), diff --git a/src/mame/drivers/meadwttl.cpp b/src/mame/drivers/meadwttl.cpp index 02b3bcf4aaa..0dffab0d0e7 100644 --- a/src/mame/drivers/meadwttl.cpp +++ b/src/mame/drivers/meadwttl.cpp @@ -41,7 +41,7 @@ class meadwttl_state : public driver_device { public: - meadwttl_state(const machine_config &mconfig, device_type type, std::string tag) + meadwttl_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_video(*this, "fixfreq") diff --git a/src/mame/drivers/mediagx.cpp b/src/mame/drivers/mediagx.cpp index 7fdf4609fd3..1ad02146050 100644 --- a/src/mame/drivers/mediagx.cpp +++ b/src/mame/drivers/mediagx.cpp @@ -86,7 +86,7 @@ struct speedup_entry class mediagx_state : public pcat_base_state { public: - mediagx_state(const machine_config &mconfig, device_type type, std::string tag) + mediagx_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag), m_ide(*this, "ide"), m_main_ram(*this, "main_ram"), diff --git a/src/mame/drivers/megaphx.cpp b/src/mame/drivers/megaphx.cpp index 3554d672a0f..ce22404a4b6 100644 --- a/src/mame/drivers/megaphx.cpp +++ b/src/mame/drivers/megaphx.cpp @@ -72,7 +72,7 @@ class megaphx_state : public driver_device { public: - megaphx_state(const machine_config &mconfig, device_type type, std::string tag) + megaphx_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mainram(*this, "mainram"), diff --git a/src/mame/drivers/megaplay.cpp b/src/mame/drivers/megaplay.cpp index a18c3d198cb..f7533ce8fd1 100644 --- a/src/mame/drivers/megaplay.cpp +++ b/src/mame/drivers/megaplay.cpp @@ -66,7 +66,7 @@ Bugs: class mplay_state : public md_base_state { public: - mplay_state(const machine_config &mconfig, device_type type, std::string tag) + mplay_state(const machine_config &mconfig, device_type type, const char *tag) : md_base_state(mconfig, type, tag), m_ic3_ram(*this, "ic3_ram"), m_vdp1(*this, "vdp1"), diff --git a/src/mame/drivers/megatech.cpp b/src/mame/drivers/megatech.cpp index b2a9b782b61..52cc1bbb3dc 100644 --- a/src/mame/drivers/megatech.cpp +++ b/src/mame/drivers/megatech.cpp @@ -88,7 +88,7 @@ Sonic Hedgehog 2 171-6215A 837-6963-62 610-0239-62 MPR class mtech_state : public md_base_state { public: - mtech_state(const machine_config &mconfig, device_type type, std::string tag) + mtech_state(const machine_config &mconfig, device_type type, const char *tag) : md_base_state(mconfig, type, tag), m_vdp1(*this, "vdp1"), m_cart1(*this, "mt_slot1"), diff --git a/src/mame/drivers/meijinsn.cpp b/src/mame/drivers/meijinsn.cpp index 11f968ded8a..3d7d386b9b5 100644 --- a/src/mame/drivers/meijinsn.cpp +++ b/src/mame/drivers/meijinsn.cpp @@ -69,7 +69,7 @@ SOFT PSG & VOICE BY M.C & S.H class meijinsn_state : public driver_device { public: - meijinsn_state(const machine_config &mconfig, device_type type, std::string tag) + meijinsn_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_videoram(*this, "videoram"), diff --git a/src/mame/drivers/mekd2.cpp b/src/mame/drivers/mekd2.cpp index 50263d9e5fb..3e79057964e 100644 --- a/src/mame/drivers/mekd2.cpp +++ b/src/mame/drivers/mekd2.cpp @@ -92,7 +92,7 @@ public: TIMER_TRACE }; - mekd2_state(const machine_config &mconfig, device_type type, std::string tag) + mekd2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pia_s(*this, "pia_s"), diff --git a/src/mame/drivers/mephisto.cpp b/src/mame/drivers/mephisto.cpp index 3b8b60f1b7a..8fedccf4cd6 100644 --- a/src/mame/drivers/mephisto.cpp +++ b/src/mame/drivers/mephisto.cpp @@ -73,7 +73,7 @@ Mephisto 4 Turbo Kit 18mhz - (mm4tk) class mephisto_state : public mboard_state { public: - mephisto_state(const machine_config &mconfig, device_type type, std::string tag) + mephisto_state(const machine_config &mconfig, device_type type, const char *tag) : mboard_state(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_beep(*this, "beeper") diff --git a/src/mame/drivers/mephistp.cpp b/src/mame/drivers/mephistp.cpp index 3802734c25c..d5e44dfc3b5 100644 --- a/src/mame/drivers/mephistp.cpp +++ b/src/mame/drivers/mephistp.cpp @@ -15,7 +15,7 @@ class mephisto_pinball_state : public driver_device { public: - mephisto_pinball_state(const machine_config &mconfig, device_type type, std::string tag) + mephisto_pinball_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/merit.cpp b/src/mame/drivers/merit.cpp index f013bb01839..9f5ac8f6190 100644 --- a/src/mame/drivers/merit.cpp +++ b/src/mame/drivers/merit.cpp @@ -87,7 +87,7 @@ Merit Riviera Notes - There are several known versions: class merit_state : public driver_device { public: - merit_state(const machine_config &mconfig, device_type type, std::string tag) + merit_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_ram_attr(*this, "raattr"), m_ram_video(*this, "ravideo"), diff --git a/src/mame/drivers/meritm.cpp b/src/mame/drivers/meritm.cpp index 105de38a065..fad7bfa2f7f 100644 --- a/src/mame/drivers/meritm.cpp +++ b/src/mame/drivers/meritm.cpp @@ -187,7 +187,7 @@ Not all regional versions are available for each Megatouch series class meritm_state : public driver_device { public: - meritm_state(const machine_config &mconfig, device_type type, std::string tag) + meritm_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_z80pio_0(*this, "z80pio_0"), m_z80pio_1(*this, "z80pio_1"), diff --git a/src/mame/drivers/mes.cpp b/src/mame/drivers/mes.cpp index dfb74571e23..00091ddf3a4 100644 --- a/src/mame/drivers/mes.cpp +++ b/src/mame/drivers/mes.cpp @@ -15,7 +15,7 @@ class mes_state : public driver_device { public: - mes_state(const machine_config &mconfig, device_type type, std::string tag) + mes_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_p_videoram(*this, "p_videoram"){ } diff --git a/src/mame/drivers/metro.cpp b/src/mame/drivers/metro.cpp index fd07f2bc55f..f7006122d15 100644 --- a/src/mame/drivers/metro.cpp +++ b/src/mame/drivers/metro.cpp @@ -1714,7 +1714,7 @@ ADDRESS_MAP_END class puzzlet_io_device : public device_t { public: - puzzlet_io_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + puzzlet_io_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_WRITE_LINE_MEMBER( ce_w ); DECLARE_WRITE_LINE_MEMBER( clk_w ); @@ -1736,7 +1736,7 @@ private: const device_type PUZZLET_IO = &device_creator; -puzzlet_io_device::puzzlet_io_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +puzzlet_io_device::puzzlet_io_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PUZZLET_IO, "Puzzlet Coin/Start I/O", tag, owner, clock, "puzzlet_io", __FILE__), data_cb(*this), port(*this, ":IN0") diff --git a/src/mame/drivers/meyc8080.cpp b/src/mame/drivers/meyc8080.cpp index bb8aa5fe49d..abd0cb8f070 100644 --- a/src/mame/drivers/meyc8080.cpp +++ b/src/mame/drivers/meyc8080.cpp @@ -68,7 +68,7 @@ class meyc8080_state : public driver_device { public: - meyc8080_state(const machine_config &mconfig, device_type type, std::string tag) + meyc8080_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram_0(*this, "vram0"), m_videoram_1(*this, "vram1"), diff --git a/src/mame/drivers/meyc8088.cpp b/src/mame/drivers/meyc8088.cpp index 5511c6591f8..7e8edcf4169 100644 --- a/src/mame/drivers/meyc8088.cpp +++ b/src/mame/drivers/meyc8088.cpp @@ -38,7 +38,7 @@ class meyc8088_state : public driver_device { public: - meyc8088_state(const machine_config &mconfig, device_type type, std::string tag) + meyc8088_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_vram(*this, "vram"), diff --git a/src/mame/drivers/mgames.cpp b/src/mame/drivers/mgames.cpp index 6e32014a937..88e0656cdf2 100644 --- a/src/mame/drivers/mgames.cpp +++ b/src/mame/drivers/mgames.cpp @@ -239,7 +239,7 @@ class mgames_state : public driver_device { public: - mgames_state(const machine_config &mconfig, device_type type, std::string tag) + mgames_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_video(*this, "video"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/mgavegas.cpp b/src/mame/drivers/mgavegas.cpp index 7d9cc277815..27033c0d759 100644 --- a/src/mame/drivers/mgavegas.cpp +++ b/src/mame/drivers/mgavegas.cpp @@ -48,7 +48,7 @@ Ver. 2.2 should exist class mgavegas_state : public driver_device { public: - mgavegas_state(const machine_config &mconfig, device_type type, std::string tag) + mgavegas_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ay(*this, "aysnd"), diff --git a/src/mame/drivers/mgolf.cpp b/src/mame/drivers/mgolf.cpp index ab052eaae37..af8917139df 100644 --- a/src/mame/drivers/mgolf.cpp +++ b/src/mame/drivers/mgolf.cpp @@ -17,7 +17,7 @@ public: TIMER_INTERRUPT }; - mgolf_state(const machine_config &mconfig, device_type type, std::string tag) + mgolf_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/mice.cpp b/src/mame/drivers/mice.cpp index ab2ded26c47..35b9d870589 100644 --- a/src/mame/drivers/mice.cpp +++ b/src/mame/drivers/mice.cpp @@ -25,7 +25,7 @@ The connection to the outside world is via RS232 to a terminal. class mice_state : public driver_device { public: - mice_state(const machine_config &mconfig, device_type type, std::string tag) + mice_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/micral.cpp b/src/mame/drivers/micral.cpp index 43b99e10fe0..0dbbbe51938 100644 --- a/src/mame/drivers/micral.cpp +++ b/src/mame/drivers/micral.cpp @@ -30,7 +30,7 @@ class micral_state : public driver_device { public: - micral_state(const machine_config &mconfig, device_type type, std::string tag) + micral_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_beep(*this, "beeper") diff --git a/src/mame/drivers/microdec.cpp b/src/mame/drivers/microdec.cpp index f73bc34a6e9..c52885336e0 100644 --- a/src/mame/drivers/microdec.cpp +++ b/src/mame/drivers/microdec.cpp @@ -18,7 +18,7 @@ class microdec_state : public driver_device { public: - microdec_state(const machine_config &mconfig, device_type type, std::string tag) + microdec_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_terminal(*this, TERMINAL_TAG), m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/microkit.cpp b/src/mame/drivers/microkit.cpp index d48cca354ad..caf2207a9d2 100644 --- a/src/mame/drivers/microkit.cpp +++ b/src/mame/drivers/microkit.cpp @@ -42,7 +42,7 @@ class microkit_state : public driver_device { public: - microkit_state(const machine_config &mconfig, device_type type, std::string tag) + microkit_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_rs232(*this, "rs232") diff --git a/src/mame/drivers/micropin.cpp b/src/mame/drivers/micropin.cpp index bdf802b28e2..7b05d407b3e 100644 --- a/src/mame/drivers/micropin.cpp +++ b/src/mame/drivers/micropin.cpp @@ -31,7 +31,7 @@ ToDo: class micropin_state : public genpin_class { public: - micropin_state(const machine_config &mconfig, device_type type, std::string tag) + micropin_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_v1cpu(*this, "v1cpu") , m_v2cpu(*this, "v2cpu") diff --git a/src/mame/drivers/microvsn.cpp b/src/mame/drivers/microvsn.cpp index 6042f0cbcce..b7ff8fba4c8 100644 --- a/src/mame/drivers/microvsn.cpp +++ b/src/mame/drivers/microvsn.cpp @@ -31,7 +31,7 @@ of the games were clocked at around 500KHz, 550KHz, or 300KHz. class microvision_state : public driver_device { public: - microvision_state(const machine_config &mconfig, device_type type, std::string tag) + microvision_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_dac( *this, "dac" ), m_i8021( *this, "maincpu1" ), diff --git a/src/mame/drivers/midas.cpp b/src/mame/drivers/midas.cpp index ed633373bd7..8fbe0890bef 100644 --- a/src/mame/drivers/midas.cpp +++ b/src/mame/drivers/midas.cpp @@ -61,7 +61,7 @@ class midas_state : public driver_device { public: - midas_state(const machine_config &mconfig, device_type type, std::string tag) + midas_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_eeprom(*this, "eeprom"), diff --git a/src/mame/drivers/midqslvr.cpp b/src/mame/drivers/midqslvr.cpp index 1c61557ac14..35dc9607862 100644 --- a/src/mame/drivers/midqslvr.cpp +++ b/src/mame/drivers/midqslvr.cpp @@ -35,7 +35,7 @@ class midqslvr_state : public pcat_base_state { public: - midqslvr_state(const machine_config &mconfig, device_type type, std::string tag) + midqslvr_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/mikrosha.cpp b/src/mame/drivers/mikrosha.cpp index bfcc190a369..fa92fd38d6c 100644 --- a/src/mame/drivers/mikrosha.cpp +++ b/src/mame/drivers/mikrosha.cpp @@ -22,7 +22,7 @@ class mikrosha_state : public radio86_state { public: - mikrosha_state(const machine_config &mconfig, device_type type, std::string tag) + mikrosha_state(const machine_config &mconfig, device_type type, const char *tag) : radio86_state(mconfig, type, tag), m_cart(*this, "cartslot") { } diff --git a/src/mame/drivers/mil4000.cpp b/src/mame/drivers/mil4000.cpp index 89dac135155..04aa16514a6 100644 --- a/src/mame/drivers/mil4000.cpp +++ b/src/mame/drivers/mil4000.cpp @@ -123,7 +123,7 @@ class mil4000_state : public driver_device { public: - mil4000_state(const machine_config &mconfig, device_type type, std::string tag) + mil4000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_sc0_vram(*this, "sc0_vram"), m_sc1_vram(*this, "sc1_vram"), diff --git a/src/mame/drivers/mini2440.cpp b/src/mame/drivers/mini2440.cpp index ae57ff6866a..9a42f2951ec 100644 --- a/src/mame/drivers/mini2440.cpp +++ b/src/mame/drivers/mini2440.cpp @@ -18,7 +18,7 @@ class mini2440_state : public driver_device { public: - mini2440_state(const machine_config &mconfig, device_type type, std::string tag) + mini2440_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_s3c2440(*this, "s3c2440"), diff --git a/src/mame/drivers/miniboy7.cpp b/src/mame/drivers/miniboy7.cpp index 99029804300..461af99cb77 100644 --- a/src/mame/drivers/miniboy7.cpp +++ b/src/mame/drivers/miniboy7.cpp @@ -147,7 +147,7 @@ class miniboy7_state : public driver_device { public: - miniboy7_state(const machine_config &mconfig, device_type type, std::string tag) + miniboy7_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram_a(*this, "videoram_a"), m_colorram_a(*this, "colorram_a"), diff --git a/src/mame/drivers/minicom.cpp b/src/mame/drivers/minicom.cpp index 7f2f599a651..56a1ca2d0c9 100644 --- a/src/mame/drivers/minicom.cpp +++ b/src/mame/drivers/minicom.cpp @@ -47,7 +47,7 @@ Segment data is sent to each 14seg digit by first writing half of the data to po class minicom_state : public driver_device { public: - minicom_state(const machine_config &mconfig, device_type type, std::string tag) + minicom_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/minivadr.cpp b/src/mame/drivers/minivadr.cpp index 0ab4dbf5d45..6d847f5468f 100644 --- a/src/mame/drivers/minivadr.cpp +++ b/src/mame/drivers/minivadr.cpp @@ -41,7 +41,7 @@ Notes: (all ICs shown) class minivadr_state : public driver_device { public: - minivadr_state(const machine_config &mconfig, device_type type, std::string tag) + minivadr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/mirage.cpp b/src/mame/drivers/mirage.cpp index bcec2f64464..29b275a7965 100644 --- a/src/mame/drivers/mirage.cpp +++ b/src/mame/drivers/mirage.cpp @@ -46,7 +46,7 @@ MR_01-.3A [a0b758aa] class miragemi_state : public driver_device { public: - miragemi_state(const machine_config &mconfig, device_type type, std::string tag) + miragemi_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_deco_tilegen1(*this, "tilegen1"), diff --git a/src/mame/drivers/mirax.cpp b/src/mame/drivers/mirax.cpp index 7536a133ae3..ec3bdaf751c 100644 --- a/src/mame/drivers/mirax.cpp +++ b/src/mame/drivers/mirax.cpp @@ -108,7 +108,7 @@ Stephh's notes (based on the games Z80 code and some tests) : class mirax_state : public driver_device { public: - mirax_state(const machine_config &mconfig, device_type type, std::string tag) + mirax_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/missb2.cpp b/src/mame/drivers/missb2.cpp index 2d39b638dbf..85475271f05 100644 --- a/src/mame/drivers/missb2.cpp +++ b/src/mame/drivers/missb2.cpp @@ -27,7 +27,7 @@ OKI M6295 sound ROM dump is bad. class missb2_state : public bublbobl_state { public: - missb2_state(const machine_config &mconfig, device_type type, std::string tag) + missb2_state(const machine_config &mconfig, device_type type, const char *tag) : bublbobl_state(mconfig, type, tag), m_bgvram(*this, "bgvram"), m_bgpalette(*this, "bgpalette") diff --git a/src/mame/drivers/missile.cpp b/src/mame/drivers/missile.cpp index c4723204bfe..bedc5cecea2 100644 --- a/src/mame/drivers/missile.cpp +++ b/src/mame/drivers/missile.cpp @@ -357,7 +357,7 @@ Super Missile Attack Board Layout class missile_state : public driver_device { public: - missile_state(const machine_config &mconfig, device_type type, std::string tag) + missile_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_videoram(*this, "videoram"), diff --git a/src/mame/drivers/mits680b.cpp b/src/mame/drivers/mits680b.cpp index 1367f7992d4..d42017d240e 100644 --- a/src/mame/drivers/mits680b.cpp +++ b/src/mame/drivers/mits680b.cpp @@ -32,7 +32,7 @@ ToDo: class mits680b_state : public driver_device { public: - mits680b_state(const machine_config &mconfig, device_type type, std::string tag) + mits680b_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/mjsister.cpp b/src/mame/drivers/mjsister.cpp index 4c532fd9146..eb171d95a35 100644 --- a/src/mame/drivers/mjsister.cpp +++ b/src/mame/drivers/mjsister.cpp @@ -24,7 +24,7 @@ public: TIMER_DAC }; - mjsister_state(const machine_config &mconfig, device_type type, std::string tag) + mjsister_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette"), diff --git a/src/mame/drivers/mk1.cpp b/src/mame/drivers/mk1.cpp index a5a78326be5..ef66e66594c 100644 --- a/src/mame/drivers/mk1.cpp +++ b/src/mame/drivers/mk1.cpp @@ -50,7 +50,7 @@ TODO: class mk1_state : public driver_device { public: - mk1_state(const machine_config &mconfig, device_type type, std::string tag) + mk1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/mk14.cpp b/src/mame/drivers/mk14.cpp index 4d61f3aca3d..6342689adc6 100644 --- a/src/mame/drivers/mk14.cpp +++ b/src/mame/drivers/mk14.cpp @@ -17,7 +17,7 @@ class mk14_state : public driver_device { public: - mk14_state(const machine_config &mconfig, device_type type, std::string tag) + mk14_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/mk2.cpp b/src/mame/drivers/mk2.cpp index 2e3439c7555..34c504a4d3e 100644 --- a/src/mame/drivers/mk2.cpp +++ b/src/mame/drivers/mk2.cpp @@ -59,7 +59,7 @@ Usage: class mk2_state : public driver_device { public: - mk2_state(const machine_config &mconfig, device_type type, std::string tag) + mk2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/drivers/mk85.cpp b/src/mame/drivers/mk85.cpp index e8193717cc4..5ab8197a55a 100644 --- a/src/mame/drivers/mk85.cpp +++ b/src/mame/drivers/mk85.cpp @@ -26,7 +26,7 @@ Models: class mk85_state : public driver_device { public: - mk85_state(const machine_config &mconfig, device_type type, std::string tag) + mk85_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/mk90.cpp b/src/mame/drivers/mk90.cpp index 146f8b7209c..ce3ffa2abd2 100644 --- a/src/mame/drivers/mk90.cpp +++ b/src/mame/drivers/mk90.cpp @@ -23,7 +23,7 @@ months for an average citizen. class mk90_state : public driver_device { public: - mk90_state(const machine_config &mconfig, device_type type, std::string tag) + mk90_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/mkit09.cpp b/src/mame/drivers/mkit09.cpp index b7d0e0a1a93..b3ebef1b5cd 100644 --- a/src/mame/drivers/mkit09.cpp +++ b/src/mame/drivers/mkit09.cpp @@ -42,7 +42,7 @@ Test Paste: class mkit09_state : public driver_device { public: - mkit09_state(const machine_config &mconfig, device_type type, std::string tag) + mkit09_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_pia(*this, "pia") , m_cass(*this, "cassette") diff --git a/src/mame/drivers/mlanding.cpp b/src/mame/drivers/mlanding.cpp index ae000606d95..a4cb4078ec7 100644 --- a/src/mame/drivers/mlanding.cpp +++ b/src/mame/drivers/mlanding.cpp @@ -71,7 +71,7 @@ public: static const UINT32 c_dma_bank_words = 0x2000; - mlanding_state(const machine_config &mconfig, device_type type, std::string tag) + mlanding_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "subcpu"), diff --git a/src/mame/drivers/mmagic.cpp b/src/mame/drivers/mmagic.cpp index be49b99c8f0..4c21963b0f4 100644 --- a/src/mame/drivers/mmagic.cpp +++ b/src/mame/drivers/mmagic.cpp @@ -65,7 +65,7 @@ class mmagic_state : public driver_device { public: - mmagic_state(const machine_config &mconfig, device_type type, std::string tag) + mmagic_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_screen(*this, "screen"), diff --git a/src/mame/drivers/mmd1.cpp b/src/mame/drivers/mmd1.cpp index 86789a9f7ff..690a58e2568 100644 --- a/src/mame/drivers/mmd1.cpp +++ b/src/mame/drivers/mmd1.cpp @@ -154,7 +154,7 @@ ToDo class mmd1_state : public driver_device { public: - mmd1_state(const machine_config &mconfig, device_type type, std::string tag) + mmd1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/mmm.cpp b/src/mame/drivers/mmm.cpp index 9a038e17503..1f567dced93 100644 --- a/src/mame/drivers/mmm.cpp +++ b/src/mame/drivers/mmm.cpp @@ -13,7 +13,7 @@ class mmm_state : public driver_device { public: - mmm_state(const machine_config &mconfig, device_type type, std::string tag) + mmm_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/mmodular.cpp b/src/mame/drivers/mmodular.cpp index 7a8651f5cc7..c9042234b6b 100644 --- a/src/mame/drivers/mmodular.cpp +++ b/src/mame/drivers/mmodular.cpp @@ -129,7 +129,7 @@ UINT8 lcd32_char; class polgar_state : public mboard_state { public: - polgar_state(const machine_config &mconfig, device_type type, std::string tag) + polgar_state(const machine_config &mconfig, device_type type, const char *tag) : mboard_state(mconfig, type, tag), m_lcdc(*this, "hd44780"), m_beeper(*this, "beeper") diff --git a/src/mame/drivers/mod8.cpp b/src/mame/drivers/mod8.cpp index 797d524512c..f3f55d7549e 100644 --- a/src/mame/drivers/mod8.cpp +++ b/src/mame/drivers/mod8.cpp @@ -61,7 +61,7 @@ While in 'space' mode, press a letter to increment CLP, or shift-delete class mod8_state : public driver_device { public: - mod8_state(const machine_config &mconfig, device_type type, std::string tag) + mod8_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_teleprinter(*this, TELEPRINTER_TAG) , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/modellot.cpp b/src/mame/drivers/modellot.cpp index 14348c194f5..23eabd69770 100644 --- a/src/mame/drivers/modellot.cpp +++ b/src/mame/drivers/modellot.cpp @@ -25,7 +25,7 @@ class modellot_state : public driver_device { public: - modellot_state(const machine_config &mconfig, device_type type, std::string tag) + modellot_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_videoram(*this, "videoram"), m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/mogura.cpp b/src/mame/drivers/mogura.cpp index ba4fd973acf..9310a5aee94 100644 --- a/src/mame/drivers/mogura.cpp +++ b/src/mame/drivers/mogura.cpp @@ -10,7 +10,7 @@ class mogura_state : public driver_device { public: - mogura_state(const machine_config &mconfig, device_type type, std::string tag) + mogura_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac1(*this, "dac1"), diff --git a/src/mame/drivers/mole.cpp b/src/mame/drivers/mole.cpp index beb92a05f53..f106a68142e 100644 --- a/src/mame/drivers/mole.cpp +++ b/src/mame/drivers/mole.cpp @@ -57,7 +57,7 @@ class mole_state : public driver_device { public: - mole_state(const machine_config &mconfig, device_type type, std::string tag) + mole_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode") diff --git a/src/mame/drivers/molecular.cpp b/src/mame/drivers/molecular.cpp index 1c063b40a86..8915163ea43 100644 --- a/src/mame/drivers/molecular.cpp +++ b/src/mame/drivers/molecular.cpp @@ -59,7 +59,7 @@ TODO: class molecula_state : public driver_device { public: - molecula_state(const machine_config &mconfig, device_type type, std::string tag) + molecula_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_filecpu(*this, "filecpu") { } diff --git a/src/mame/drivers/monacogp.cpp b/src/mame/drivers/monacogp.cpp index 1b42e71b7b6..d1f920be4b7 100644 --- a/src/mame/drivers/monacogp.cpp +++ b/src/mame/drivers/monacogp.cpp @@ -130,7 +130,7 @@ class monacogp_state : public driver_device { public: - monacogp_state(const machine_config &mconfig, device_type type, std::string tag) + monacogp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_video(*this, "fixfreq") diff --git a/src/mame/drivers/monty.cpp b/src/mame/drivers/monty.cpp index 132b249801d..0167938503b 100644 --- a/src/mame/drivers/monty.cpp +++ b/src/mame/drivers/monty.cpp @@ -37,7 +37,7 @@ class monty_state : public driver_device { public: - monty_state(const machine_config &mconfig, device_type type, std::string tag) + monty_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_speaker(*this, "speaker") diff --git a/src/mame/drivers/monzagp.cpp b/src/mame/drivers/monzagp.cpp index 9f41960f8e5..6f08b216b86 100644 --- a/src/mame/drivers/monzagp.cpp +++ b/src/mame/drivers/monzagp.cpp @@ -39,7 +39,7 @@ Lower board (MGP_01): class monzagp_state : public driver_device { public: - monzagp_state(const machine_config &mconfig, device_type type, std::string tag) + monzagp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/mps1230.cpp b/src/mame/drivers/mps1230.cpp index 192445e7cde..d12a09470cf 100644 --- a/src/mame/drivers/mps1230.cpp +++ b/src/mame/drivers/mps1230.cpp @@ -86,7 +86,7 @@ Notes: (all IC's shown) class mps1230_state : public driver_device { public: - mps1230_state(const machine_config &mconfig, device_type type, std::string tag) + mps1230_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, CPU_TAG) { } diff --git a/src/mame/drivers/mpu12wbk.cpp b/src/mame/drivers/mpu12wbk.cpp index d5195e0699c..685aa88e1e1 100644 --- a/src/mame/drivers/mpu12wbk.cpp +++ b/src/mame/drivers/mpu12wbk.cpp @@ -218,7 +218,7 @@ class mpu12wbk_state : public driver_device { public: - mpu12wbk_state(const machine_config &mconfig, device_type type, std::string tag) + mpu12wbk_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/mpu2.cpp b/src/mame/drivers/mpu2.cpp index 5e753fdef1a..1ded190b0b2 100644 --- a/src/mame/drivers/mpu2.cpp +++ b/src/mame/drivers/mpu2.cpp @@ -44,7 +44,7 @@ class mpu2_state : public driver_device { public: - mpu2_state(const machine_config &mconfig, device_type type, std::string tag) + mpu2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/mpu3.cpp b/src/mame/drivers/mpu3.cpp index 48da55a6848..0ebb1827f59 100644 --- a/src/mame/drivers/mpu3.cpp +++ b/src/mame/drivers/mpu3.cpp @@ -131,7 +131,7 @@ struct mpu3_chr_table class mpu3_state : public driver_device { public: - mpu3_state(const machine_config &mconfig, device_type type, std::string tag) + mpu3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_reel0(*this, "reel0"), diff --git a/src/mame/drivers/mpu4dealem.cpp b/src/mame/drivers/mpu4dealem.cpp index 1076221f43c..c9d3dfcdb15 100644 --- a/src/mame/drivers/mpu4dealem.cpp +++ b/src/mame/drivers/mpu4dealem.cpp @@ -22,7 +22,7 @@ the Deal 'Em board design, rather than the one they ultimately used, suggesting class mpu4dealem_state : public mpu4_state { public: - mpu4dealem_state(const machine_config &mconfig, device_type type, std::string tag) + mpu4dealem_state(const machine_config &mconfig, device_type type, const char *tag) : mpu4_state(mconfig, type, tag), m_dealem_videoram(*this, "dealem_videoram"), m_gfxdecode(*this, "gfxdecode") diff --git a/src/mame/drivers/mpu4plasma.cpp b/src/mame/drivers/mpu4plasma.cpp index 5a136c65b3b..d0a87ae6c4a 100644 --- a/src/mame/drivers/mpu4plasma.cpp +++ b/src/mame/drivers/mpu4plasma.cpp @@ -14,7 +14,7 @@ class mpu4plasma_state : public mpu4_state { public: - mpu4plasma_state(const machine_config &mconfig, device_type type, std::string tag) + mpu4plasma_state(const machine_config &mconfig, device_type type, const char *tag) : mpu4_state(mconfig, type, tag), m_plasmaram(*this, "plasmaram") { diff --git a/src/mame/drivers/mpu4vid.cpp b/src/mame/drivers/mpu4vid.cpp index 2e3fd2c0151..46cd8bb571c 100644 --- a/src/mame/drivers/mpu4vid.cpp +++ b/src/mame/drivers/mpu4vid.cpp @@ -219,7 +219,7 @@ struct bt471_t class mpu4vid_state : public mpu4_state { public: - mpu4vid_state(const machine_config &mconfig, device_type type, std::string tag) + mpu4vid_state(const machine_config &mconfig, device_type type, const char *tag) : mpu4_state(mconfig, type, tag), m_videocpu(*this, "video"), m_scn2674(*this, "scn2674_vid"), diff --git a/src/mame/drivers/mpu5hw.cpp b/src/mame/drivers/mpu5hw.cpp index 7e1ffec4c63..9062fc43c81 100644 --- a/src/mame/drivers/mpu5hw.cpp +++ b/src/mame/drivers/mpu5hw.cpp @@ -52,7 +52,7 @@ class mpu5_state : public driver_device { public: - mpu5_state(const machine_config &mconfig, device_type type, std::string tag) + mpu5_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/mquake.cpp b/src/mame/drivers/mquake.cpp index 6c0bde2b788..77c38c9db88 100644 --- a/src/mame/drivers/mquake.cpp +++ b/src/mame/drivers/mquake.cpp @@ -45,7 +45,7 @@ class mquake_state : public amiga_state { public: - mquake_state(const machine_config &mconfig, device_type type, std::string tag) + mquake_state(const machine_config &mconfig, device_type type, const char *tag) : amiga_state(mconfig, type, tag), m_es5503(*this, "es5503"), m_es5503_rom(*this, "es5503") diff --git a/src/mame/drivers/mrgame.cpp b/src/mame/drivers/mrgame.cpp index 7ab79b43dfb..beb0a9e0bca 100644 --- a/src/mame/drivers/mrgame.cpp +++ b/src/mame/drivers/mrgame.cpp @@ -44,7 +44,7 @@ ToDo: class mrgame_state : public driver_device { public: - mrgame_state(const machine_config &mconfig, device_type type, std::string tag) + mrgame_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_p_videoram(*this, "videoram") diff --git a/src/mame/drivers/ms0515.cpp b/src/mame/drivers/ms0515.cpp index ef3eff6ed0c..89e38f4b16f 100644 --- a/src/mame/drivers/ms0515.cpp +++ b/src/mame/drivers/ms0515.cpp @@ -17,7 +17,7 @@ class ms0515_state : public driver_device { public: - ms0515_state(const machine_config &mconfig, device_type type, std::string tag) + ms0515_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/drivers/ms9540.cpp b/src/mame/drivers/ms9540.cpp index f530d6a94dd..2be054eeb5f 100644 --- a/src/mame/drivers/ms9540.cpp +++ b/src/mame/drivers/ms9540.cpp @@ -32,7 +32,7 @@ Chips: class ms9540_state : public driver_device { public: - ms9540_state(const machine_config &mconfig, device_type type, std::string tag) + ms9540_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_base(*this, "rambase"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/mstation.cpp b/src/mame/drivers/mstation.cpp index 59c605d53fe..f1aa281aeb2 100644 --- a/src/mame/drivers/mstation.cpp +++ b/src/mame/drivers/mstation.cpp @@ -36,7 +36,7 @@ class mstation_state : public driver_device { public: - mstation_state(const machine_config &mconfig, device_type type, std::string tag) + mstation_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG) diff --git a/src/mame/drivers/mt735.cpp b/src/mame/drivers/mt735.cpp index 45fb5798920..4e642a4fa31 100644 --- a/src/mame/drivers/mt735.cpp +++ b/src/mame/drivers/mt735.cpp @@ -9,7 +9,7 @@ class mt735_state : public driver_device { public: - mt735_state(const machine_config &mconfig, device_type type, std::string tag); + mt735_state(const machine_config &mconfig, device_type type, const char *tag); required_device m_cpu; @@ -20,7 +20,7 @@ public: virtual void machine_reset() override; }; -mt735_state::mt735_state(const machine_config &mconfig, device_type type, std::string tag) : +mt735_state::mt735_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_cpu(*this, "maincpu") { diff --git a/src/mame/drivers/multi16.cpp b/src/mame/drivers/multi16.cpp index 7e6f7da3ba0..0852c166970 100644 --- a/src/mame/drivers/multi16.cpp +++ b/src/mame/drivers/multi16.cpp @@ -15,7 +15,7 @@ class multi16_state : public driver_device { public: - multi16_state(const machine_config &mconfig, device_type type, std::string tag) + multi16_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pic(*this, "pic8259"), diff --git a/src/mame/drivers/multi8.cpp b/src/mame/drivers/multi8.cpp index d9a46826565..c9509f66e8a 100644 --- a/src/mame/drivers/multi8.cpp +++ b/src/mame/drivers/multi8.cpp @@ -25,7 +25,7 @@ class multi8_state : public driver_device { public: - multi8_state(const machine_config &mconfig, device_type type, std::string tag) + multi8_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ppi(*this, "ppi8255_0"), diff --git a/src/mame/drivers/multigam.cpp b/src/mame/drivers/multigam.cpp index c2920515c4c..2a1c7772b6c 100644 --- a/src/mame/drivers/multigam.cpp +++ b/src/mame/drivers/multigam.cpp @@ -115,7 +115,7 @@ Eproms are 27512,27010,274001 class multigam_state : public driver_device { public: - multigam_state(const machine_config &mconfig, device_type type, std::string tag) + multigam_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ppu(*this, "ppu") { } diff --git a/src/mame/drivers/murogem.cpp b/src/mame/drivers/murogem.cpp index a52618a8ace..3df8476b7d4 100644 --- a/src/mame/drivers/murogem.cpp +++ b/src/mame/drivers/murogem.cpp @@ -115,7 +115,7 @@ val (hex): 27 20 22 04 26 00 20 20 00 07 00 00 80 00 00 00 ns class murogem_state : public driver_device { public: - murogem_state(const machine_config &mconfig, device_type type, std::string tag) + murogem_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), diff --git a/src/mame/drivers/murogmbl.cpp b/src/mame/drivers/murogmbl.cpp index 2862e276962..245f6c3953b 100644 --- a/src/mame/drivers/murogmbl.cpp +++ b/src/mame/drivers/murogmbl.cpp @@ -43,7 +43,7 @@ Dumped: 06/04/2009 f205v class murogmbl_state : public driver_device { public: - murogmbl_state(const machine_config &mconfig, device_type type, std::string tag) + murogmbl_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/mvme350.cpp b/src/mame/drivers/mvme350.cpp index a154b5b22db..64f66ee8418 100644 --- a/src/mame/drivers/mvme350.cpp +++ b/src/mame/drivers/mvme350.cpp @@ -148,7 +148,7 @@ class mvme350_state : public driver_device { public: -mvme350_state(const machine_config &mconfig, device_type type, std::string tag) : +mvme350_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device (mconfig, type, tag), m_maincpu (*this, "maincpu"), m_pit(*this, "pit") diff --git a/src/mame/drivers/mw18w.cpp b/src/mame/drivers/mw18w.cpp index 8e258cac5a2..1b49a28f3f6 100644 --- a/src/mame/drivers/mw18w.cpp +++ b/src/mame/drivers/mw18w.cpp @@ -25,7 +25,7 @@ To diagnose game, turn on service mode and: class mw18w_state : public driver_device { public: - mw18w_state(const machine_config &mconfig, device_type type, std::string tag) + mw18w_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/mwarr.cpp b/src/mame/drivers/mwarr.cpp index 726a1963338..2cfd7ca858c 100644 --- a/src/mame/drivers/mwarr.cpp +++ b/src/mame/drivers/mwarr.cpp @@ -51,7 +51,7 @@ Notes: class mwarr_state : public driver_device { public: - mwarr_state(const machine_config &mconfig, device_type type, std::string tag) + mwarr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_bg_videoram(*this, "bg_videoram"), m_mlow_videoram(*this, "mlow_videoram"), diff --git a/src/mame/drivers/mwsub.cpp b/src/mame/drivers/mwsub.cpp index 8505e2e9b6d..348572cda82 100644 --- a/src/mame/drivers/mwsub.cpp +++ b/src/mame/drivers/mwsub.cpp @@ -20,7 +20,7 @@ TODO: class submar_state : public driver_device { public: - submar_state(const machine_config &mconfig, device_type type, std::string tag) + submar_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/mx2178.cpp b/src/mame/drivers/mx2178.cpp index e51199b4ba2..add947cbcdd 100644 --- a/src/mame/drivers/mx2178.cpp +++ b/src/mame/drivers/mx2178.cpp @@ -31,7 +31,7 @@ class mx2178_state : public driver_device { public: - mx2178_state(const machine_config &mconfig, device_type type, std::string tag) : + mx2178_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/myb3k.cpp b/src/mame/drivers/myb3k.cpp index 0f6a262f488..2eb5cba1dc7 100644 --- a/src/mame/drivers/myb3k.cpp +++ b/src/mame/drivers/myb3k.cpp @@ -20,7 +20,7 @@ class myb3k_state : public driver_device { public: - myb3k_state(const machine_config &mconfig, device_type type, std::string tag) + myb3k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_fdc(*this, "fdc"), diff --git a/src/mame/drivers/mycom.cpp b/src/mame/drivers/mycom.cpp index 3f097e39d9b..efea8bc5bed 100644 --- a/src/mame/drivers/mycom.cpp +++ b/src/mame/drivers/mycom.cpp @@ -62,7 +62,7 @@ class mycom_state : public driver_device { public: - mycom_state(const machine_config &mconfig, device_type type, std::string tag) + mycom_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_ppi0(*this, "ppi8255_0") diff --git a/src/mame/drivers/myvision.cpp b/src/mame/drivers/myvision.cpp index 9ae3d75773e..e5c32a4c158 100644 --- a/src/mame/drivers/myvision.cpp +++ b/src/mame/drivers/myvision.cpp @@ -34,7 +34,7 @@ class myvision_state : public driver_device { public: - myvision_state(const machine_config &mconfig, device_type type, std::string tag) + myvision_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_cart(*this, "cartslot") diff --git a/src/mame/drivers/mz2000.cpp b/src/mame/drivers/mz2000.cpp index 76cb0c1ec3e..a1fb10dc59f 100644 --- a/src/mame/drivers/mz2000.cpp +++ b/src/mame/drivers/mz2000.cpp @@ -38,7 +38,7 @@ class mz2000_state : public driver_device { public: - mz2000_state(const machine_config &mconfig, device_type type, std::string tag) + mz2000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_cass(*this, "cassette"), m_floppy(nullptr), diff --git a/src/mame/drivers/mz2500.cpp b/src/mame/drivers/mz2500.cpp index f0bba0394fa..2f1461c2197 100644 --- a/src/mame/drivers/mz2500.cpp +++ b/src/mame/drivers/mz2500.cpp @@ -64,7 +64,7 @@ class mz2500_state : public driver_device { public: - mz2500_state(const machine_config &mconfig, device_type type, std::string tag) + mz2500_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_rtc(*this, RP5C15_TAG), diff --git a/src/mame/drivers/mz3500.cpp b/src/mame/drivers/mz3500.cpp index 777193a5aa9..3ee4f6a785f 100644 --- a/src/mame/drivers/mz3500.cpp +++ b/src/mame/drivers/mz3500.cpp @@ -41,7 +41,7 @@ class mz3500_state : public driver_device { public: - mz3500_state(const machine_config &mconfig, device_type type, std::string tag) + mz3500_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_master(*this, "master"), m_slave(*this, "slave"), diff --git a/src/mame/drivers/mz6500.cpp b/src/mame/drivers/mz6500.cpp index 13198693213..d513f30a33e 100644 --- a/src/mame/drivers/mz6500.cpp +++ b/src/mame/drivers/mz6500.cpp @@ -16,7 +16,7 @@ class mz6500_state : public driver_device { public: - mz6500_state(const machine_config &mconfig, device_type type, std::string tag) + mz6500_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_hgdc(*this, "upd7220"), m_fdc(*this, "upd765"), diff --git a/src/mame/drivers/mzr8105.cpp b/src/mame/drivers/mzr8105.cpp index b9aefcf580c..ea2049ed8cf 100644 --- a/src/mame/drivers/mzr8105.cpp +++ b/src/mame/drivers/mzr8105.cpp @@ -183,7 +183,7 @@ class mzr8105_state : public driver_device { public: -mzr8105_state(const machine_config &mconfig, device_type type, std::string tag) : +mzr8105_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device (mconfig, type, tag), m_maincpu (*this, "maincpu") ,m_updterm(*this, "upd") diff --git a/src/mame/drivers/n64.cpp b/src/mame/drivers/n64.cpp index 74d23c96b71..1d4e47a4273 100644 --- a/src/mame/drivers/n64.cpp +++ b/src/mame/drivers/n64.cpp @@ -22,7 +22,7 @@ class n64_mess_state : public n64_state { public: - n64_mess_state(const machine_config &mconfig, device_type type, std::string tag) + n64_mess_state(const machine_config &mconfig, device_type type, const char *tag) : n64_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/nakajies.cpp b/src/mame/drivers/nakajies.cpp index 56e6a8940a6..aeb758e17ee 100644 --- a/src/mame/drivers/nakajies.cpp +++ b/src/mame/drivers/nakajies.cpp @@ -284,7 +284,7 @@ disabled). Perhaps power on/off related?? class nakajies_state : public driver_device { public: - nakajies_state(const machine_config &mconfig, device_type type, std::string tag) + nakajies_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "v20hl") {} diff --git a/src/mame/drivers/namcops2.cpp b/src/mame/drivers/namcops2.cpp index ab345faa2fc..a0eec46f766 100644 --- a/src/mame/drivers/namcops2.cpp +++ b/src/mame/drivers/namcops2.cpp @@ -878,7 +878,7 @@ Notes: class namcops2_state : public driver_device { public: - namcops2_state(const machine_config &mconfig, device_type type, std::string tag) + namcops2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/namcos10.cpp b/src/mame/drivers/namcos10.cpp index 7f78bb9aec3..8c39ab42bd8 100644 --- a/src/mame/drivers/namcos10.cpp +++ b/src/mame/drivers/namcos10.cpp @@ -274,7 +274,7 @@ Kono Tako 10021 Ver.A KC034A 8E, 8D class namcos10_state : public driver_device { public: - namcos10_state(const machine_config &mconfig, device_type type, std::string tag) + namcos10_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/namcos11.cpp b/src/mame/drivers/namcos11.cpp index 1bd81dc27a5..4942c555e69 100644 --- a/src/mame/drivers/namcos11.cpp +++ b/src/mame/drivers/namcos11.cpp @@ -307,7 +307,7 @@ Pin 22 Solder Side - Gun 2 Trigger class namcos11_state : public driver_device { public: - namcos11_state(const machine_config &mconfig, device_type type, std::string tag) + namcos11_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_sharedram(*this,"sharedram"), m_maincpu(*this,"maincpu"), diff --git a/src/mame/drivers/namcos12.cpp b/src/mame/drivers/namcos12.cpp index d26414cab8c..67f164a8835 100644 --- a/src/mame/drivers/namcos12.cpp +++ b/src/mame/drivers/namcos12.cpp @@ -1094,7 +1094,7 @@ The lever must be wired to analog port 0 (pin B22 parts side) of the Namco 48-wa class namcos12_state : public driver_device { public: - namcos12_state(const machine_config &mconfig, device_type type, std::string tag) + namcos12_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, "maincpu:ram"), diff --git a/src/mame/drivers/namcos23.cpp b/src/mame/drivers/namcos23.cpp index 4b79b0e29e5..1494bcd520f 100644 --- a/src/mame/drivers/namcos23.cpp +++ b/src/mame/drivers/namcos23.cpp @@ -1396,7 +1396,7 @@ struct render_t class namcos23_state : public driver_device { public: - namcos23_state(const machine_config &mconfig, device_type type, std::string tag) + namcos23_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "subcpu"), @@ -1704,7 +1704,7 @@ void namcos23_state::c435_state_set_projection_matrix_line(const UINT16 *param) for(int i=0; i<8; i++) p += sprintf(p, " %f", f24_to_f32((param[2*i+1] << 16) | param[2*i+2])); p += sprintf(p, "\n"); - logerror("%s\n",buf); + logerror(buf); } void namcos23_state::c435_state_set(UINT16 type, const UINT16 *param) @@ -1719,7 +1719,7 @@ void namcos23_state::c435_state_set(UINT16 type, const UINT16 *param) for(int i=0; i; -subwoofer_device::subwoofer_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +subwoofer_device::subwoofer_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SUBWOOFER, "Subwoofer", tag, owner, clock), device_sound_interface(mconfig, *this) { diff --git a/src/mame/drivers/nmg5.cpp b/src/mame/drivers/nmg5.cpp index e1574de518d..53b65663cf0 100644 --- a/src/mame/drivers/nmg5.cpp +++ b/src/mame/drivers/nmg5.cpp @@ -231,7 +231,7 @@ Stephh's notes (based on the games M68000 code and some tests) : class nmg5_state : public driver_device { public: - nmg5_state(const machine_config &mconfig, device_type type, std::string tag) + nmg5_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_scroll_ram(*this, "scroll_ram"), diff --git a/src/mame/drivers/nokia_3310.cpp b/src/mame/drivers/nokia_3310.cpp index 61a27502cc6..b6dd7c934c0 100644 --- a/src/mame/drivers/nokia_3310.cpp +++ b/src/mame/drivers/nokia_3310.cpp @@ -26,7 +26,7 @@ class noki3310_state : public driver_device { public: - noki3310_state(const machine_config &mconfig, device_type type, std::string tag) + noki3310_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pcd8544(*this, "pcd8544"), diff --git a/src/mame/drivers/nsm.cpp b/src/mame/drivers/nsm.cpp index 8379d0f9d97..9a20fa20ee4 100644 --- a/src/mame/drivers/nsm.cpp +++ b/src/mame/drivers/nsm.cpp @@ -27,7 +27,7 @@ ToDo: class nsm_state : public driver_device { public: - nsm_state(const machine_config &mconfig, device_type type, std::string tag) + nsm_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/nsmpoker.cpp b/src/mame/drivers/nsmpoker.cpp index d07360058d0..823ee38b70e 100644 --- a/src/mame/drivers/nsmpoker.cpp +++ b/src/mame/drivers/nsmpoker.cpp @@ -69,7 +69,7 @@ class nsmpoker_state : public driver_device { public: - nsmpoker_state(const machine_config &mconfig, device_type type, std::string tag) + nsmpoker_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/nss.cpp b/src/mame/drivers/nss.cpp index 1c08d8a8770..0497f3e01d0 100644 --- a/src/mame/drivers/nss.cpp +++ b/src/mame/drivers/nss.cpp @@ -299,7 +299,7 @@ Contra III CONTRA_III_1 TC574000 CONTRA_III_0 TC574000 GAME1_NSSU class nss_state : public snes_state { public: - nss_state(const machine_config &mconfig, device_type type, std::string tag) + nss_state(const machine_config &mconfig, device_type type, const char *tag) : snes_state(mconfig, type, tag), m_m50458(*this,"m50458"), m_s3520cf(*this, "s3520cf"), diff --git a/src/mame/drivers/nwk-tr.cpp b/src/mame/drivers/nwk-tr.cpp index 41e6edde615..3d4719b95f1 100644 --- a/src/mame/drivers/nwk-tr.cpp +++ b/src/mame/drivers/nwk-tr.cpp @@ -264,7 +264,7 @@ Thrill Drive 713A13 - 713A14 - class nwktr_state : public driver_device { public: - nwktr_state(const machine_config &mconfig, device_type type, std::string tag) + nwktr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_work_ram(*this, "work_ram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/nyny.cpp b/src/mame/drivers/nyny.cpp index 818378329c5..3bd05899748 100644 --- a/src/mame/drivers/nyny.cpp +++ b/src/mame/drivers/nyny.cpp @@ -87,7 +87,7 @@ class nyny_state : public driver_device { public: - nyny_state(const machine_config &mconfig, device_type type, std::string tag) + nyny_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram1(*this, "videoram1"), m_colorram1(*this, "colorram1"), diff --git a/src/mame/drivers/octopus.cpp b/src/mame/drivers/octopus.cpp index 43212fe4d1d..b219aa52261 100644 --- a/src/mame/drivers/octopus.cpp +++ b/src/mame/drivers/octopus.cpp @@ -113,7 +113,7 @@ Its BIOS performs POST and halts as there's no keyboard. class octopus_state : public driver_device { public: - octopus_state(const machine_config &mconfig, device_type type, std::string tag) + octopus_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/odyssey2.cpp b/src/mame/drivers/odyssey2.cpp index e44e2f1871e..22b0404efcc 100644 --- a/src/mame/drivers/odyssey2.cpp +++ b/src/mame/drivers/odyssey2.cpp @@ -23,7 +23,7 @@ class odyssey2_state : public driver_device { public: - odyssey2_state(const machine_config &mconfig, device_type type, std::string tag) + odyssey2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_i8244(*this, "i8244"), @@ -75,7 +75,7 @@ protected: class g7400_state : public odyssey2_state { public: - g7400_state(const machine_config &mconfig, device_type type, std::string tag) + g7400_state(const machine_config &mconfig, device_type type, const char *tag) : odyssey2_state(mconfig, type, tag) , m_i8243(*this, "i8243") , m_ef9340_1(*this, "ef9340_1") diff --git a/src/mame/drivers/okean240.cpp b/src/mame/drivers/okean240.cpp index 0aa392e713f..8ad181fe10e 100644 --- a/src/mame/drivers/okean240.cpp +++ b/src/mame/drivers/okean240.cpp @@ -65,7 +65,7 @@ public: TIMER_OKEAN_BOOT }; - okean240_state(const machine_config &mconfig, device_type type, std::string tag) + okean240_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_term_data(0), m_j(0), diff --git a/src/mame/drivers/olibochu.cpp b/src/mame/drivers/olibochu.cpp index 376ee8dbdf2..8e997d897fb 100644 --- a/src/mame/drivers/olibochu.cpp +++ b/src/mame/drivers/olibochu.cpp @@ -60,7 +60,7 @@ $7004 writes, related to $7000 reads class olibochu_state : public driver_device { public: - olibochu_state(const machine_config &mconfig, device_type type, std::string tag) + olibochu_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/omegrace.cpp b/src/mame/drivers/omegrace.cpp index 15a013ae10d..acf7aae26de 100644 --- a/src/mame/drivers/omegrace.cpp +++ b/src/mame/drivers/omegrace.cpp @@ -228,7 +228,7 @@ class omegrace_state : public driver_device { public: - omegrace_state(const machine_config &mconfig, device_type type, std::string tag) + omegrace_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/onetwo.cpp b/src/mame/drivers/onetwo.cpp index 17661043d8e..35b54cbd5b8 100644 --- a/src/mame/drivers/onetwo.cpp +++ b/src/mame/drivers/onetwo.cpp @@ -51,7 +51,7 @@ Note: this is quite clearly a 'Korean bootleg' of Shisensho - Joshiryo-Hen / Mat class onetwo_state : public driver_device { public: - onetwo_state(const machine_config &mconfig, device_type type, std::string tag) + onetwo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_paletteram(*this, "paletteram"), m_paletteram2(*this, "paletteram2"), diff --git a/src/mame/drivers/onyx.cpp b/src/mame/drivers/onyx.cpp index 01ce90ab486..85d02013975 100644 --- a/src/mame/drivers/onyx.cpp +++ b/src/mame/drivers/onyx.cpp @@ -38,7 +38,7 @@ and be connected to a RS422 network. class onyx_state : public driver_device { public: - onyx_state(const machine_config &mconfig, device_type type, std::string tag) + onyx_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/oric.cpp b/src/mame/drivers/oric.cpp index 2ba373f66e3..69dff49397b 100644 --- a/src/mame/drivers/oric.cpp +++ b/src/mame/drivers/oric.cpp @@ -46,7 +46,7 @@ public: LATTR_BLINK = 0x04 }; - oric_state(const machine_config &mconfig, device_type type, std::string tag) + oric_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette"), @@ -114,7 +114,7 @@ protected: class telestrat_state : public oric_state { public: - telestrat_state(const machine_config &mconfig, device_type type, std::string tag) : + telestrat_state(const machine_config &mconfig, device_type type, const char *tag) : oric_state(mconfig, type, tag), m_via2(*this, "via6522_2"), m_fdc(*this, "fdc"), diff --git a/src/mame/drivers/osbexec.cpp b/src/mame/drivers/osbexec.cpp index 9f6fe5ea070..c21143bc676 100644 --- a/src/mame/drivers/osbexec.cpp +++ b/src/mame/drivers/osbexec.cpp @@ -23,7 +23,7 @@ class osbexec_state : public driver_device { public: - osbexec_state(const machine_config &mconfig, device_type type, std::string tag) + osbexec_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu( *this, "maincpu" ), m_mb8877( *this, "mb8877" ), diff --git a/src/mame/drivers/othello.cpp b/src/mame/drivers/othello.cpp index 9d76ae1f8c5..82f8959a507 100644 --- a/src/mame/drivers/othello.cpp +++ b/src/mame/drivers/othello.cpp @@ -52,7 +52,7 @@ Limit for help/undo (matta): class othello_state : public driver_device { public: - othello_state(const machine_config &mconfig, device_type type, std::string tag) + othello_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/p112.cpp b/src/mame/drivers/p112.cpp index 521aa023455..f67599bcdf7 100644 --- a/src/mame/drivers/p112.cpp +++ b/src/mame/drivers/p112.cpp @@ -40,7 +40,7 @@ Some of the parts: class p112_state : public driver_device { public: - p112_state(const machine_config &mconfig, device_type type, std::string tag) + p112_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/p8k.cpp b/src/mame/drivers/p8k.cpp index 8e52fb33895..8288f6704e9 100644 --- a/src/mame/drivers/p8k.cpp +++ b/src/mame/drivers/p8k.cpp @@ -64,7 +64,7 @@ class p8k_state : public driver_device { public: - p8k_state(const machine_config &mconfig, device_type type, std::string tag) + p8k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/pachifev.cpp b/src/mame/drivers/pachifev.cpp index fd17924f21f..ceaeaba5b4e 100644 --- a/src/mame/drivers/pachifev.cpp +++ b/src/mame/drivers/pachifev.cpp @@ -91,7 +91,7 @@ Stephh's notes (based on the game TMS9995 code and some tests) : class pachifev_state : public driver_device { public: - pachifev_state(const machine_config &mconfig, device_type type, std::string tag) + pachifev_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/palm.cpp b/src/mame/drivers/palm.cpp index 587e7123c3d..f875f6eefe7 100644 --- a/src/mame/drivers/palm.cpp +++ b/src/mame/drivers/palm.cpp @@ -24,7 +24,7 @@ class palm_state : public driver_device { public: - palm_state(const machine_config &mconfig, device_type type, std::string tag) + palm_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_lsi(*this, MC68328_TAG), diff --git a/src/mame/drivers/palmz22.cpp b/src/mame/drivers/palmz22.cpp index 62ebb15bdc1..b4efcdd2efc 100644 --- a/src/mame/drivers/palmz22.cpp +++ b/src/mame/drivers/palmz22.cpp @@ -76,7 +76,7 @@ end class palmz22_state : public driver_device { public: - palmz22_state(const machine_config &mconfig, device_type type, std::string tag) + palmz22_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_s3c2410(*this, "s3c2410") diff --git a/src/mame/drivers/pangofun.cpp b/src/mame/drivers/pangofun.cpp index b4bfe4aaee7..5c676615dca 100644 --- a/src/mame/drivers/pangofun.cpp +++ b/src/mame/drivers/pangofun.cpp @@ -103,7 +103,7 @@ Arcade Version (Coin-Op) by InfoCube (Pisa, Italy) class pangofun_state : public pcat_base_state { public: - pangofun_state(const machine_config &mconfig, device_type type, std::string tag) + pangofun_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag) { } DECLARE_DRIVER_INIT(pangofun); diff --git a/src/mame/drivers/panicr.cpp b/src/mame/drivers/panicr.cpp index 81cb470504e..9229541b9ed 100644 --- a/src/mame/drivers/panicr.cpp +++ b/src/mame/drivers/panicr.cpp @@ -69,7 +69,7 @@ D.9B [f99cac4b] / class panicr_state : public driver_device { public: - panicr_state(const machine_config &mconfig, device_type type, std::string tag) + panicr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_t5182(*this, "t5182"), diff --git a/src/mame/drivers/paranoia.cpp b/src/mame/drivers/paranoia.cpp index 0b7d2118025..3e0fe691587 100644 --- a/src/mame/drivers/paranoia.cpp +++ b/src/mame/drivers/paranoia.cpp @@ -48,7 +48,7 @@ HuC6280A (Hudson) class paranoia_state : public pce_common_state { public: - paranoia_state(const machine_config &mconfig, device_type type, std::string tag) + paranoia_state(const machine_config &mconfig, device_type type, const char *tag) : pce_common_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(i8085_d000_w); diff --git a/src/mame/drivers/pasha2.cpp b/src/mame/drivers/pasha2.cpp index f9951379013..a9036920e62 100644 --- a/src/mame/drivers/pasha2.cpp +++ b/src/mame/drivers/pasha2.cpp @@ -81,7 +81,7 @@ Notes: class pasha2_state : public driver_device { public: - pasha2_state(const machine_config &mconfig, device_type type, std::string tag) + pasha2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_wram(*this, "wram"), m_paletteram(*this, "paletteram"), diff --git a/src/mame/drivers/paso1600.cpp b/src/mame/drivers/paso1600.cpp index 33bebf42092..a9f5f025a9a 100644 --- a/src/mame/drivers/paso1600.cpp +++ b/src/mame/drivers/paso1600.cpp @@ -20,7 +20,7 @@ class paso1600_state : public driver_device { public: - paso1600_state(const machine_config &mconfig, device_type type, std::string tag) + paso1600_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pic(*this, "pic8259"), diff --git a/src/mame/drivers/pasogo.cpp b/src/mame/drivers/pasogo.cpp index 6a1d163e98d..d88f121264e 100644 --- a/src/mame/drivers/pasogo.cpp +++ b/src/mame/drivers/pasogo.cpp @@ -117,7 +117,7 @@ TODO: class pasogo_state : public driver_device { public: - pasogo_state(const machine_config &mconfig, device_type type, std::string tag) + pasogo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_cart(*this, "cartslot") diff --git a/src/mame/drivers/pasopia.cpp b/src/mame/drivers/pasopia.cpp index 24f0b2f6e07..aa65d9979b9 100644 --- a/src/mame/drivers/pasopia.cpp +++ b/src/mame/drivers/pasopia.cpp @@ -21,7 +21,7 @@ class pasopia_state : public driver_device { public: - pasopia_state(const machine_config &mconfig, device_type type, std::string tag) + pasopia_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ppi0(*this, "ppi8255_0"), diff --git a/src/mame/drivers/pasopia7.cpp b/src/mame/drivers/pasopia7.cpp index d049b826200..2a9ec18114d 100644 --- a/src/mame/drivers/pasopia7.cpp +++ b/src/mame/drivers/pasopia7.cpp @@ -32,7 +32,7 @@ class pasopia7_state : public driver_device { public: - pasopia7_state(const machine_config &mconfig, device_type type, std::string tag) + pasopia7_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ppi0(*this, "ppi8255_0"), diff --git a/src/mame/drivers/patinho_feio.cpp b/src/mame/drivers/patinho_feio.cpp index 25e9088e87f..e40274c884a 100644 --- a/src/mame/drivers/patinho_feio.cpp +++ b/src/mame/drivers/patinho_feio.cpp @@ -10,7 +10,7 @@ class patinho_feio_state : public driver_device { public: - patinho_feio_state(const machine_config &mconfig, device_type type, std::string tag) + patinho_feio_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) //,m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/pb1000.cpp b/src/mame/drivers/pb1000.cpp index a0029593807..88eafd1d1b2 100644 --- a/src/mame/drivers/pb1000.cpp +++ b/src/mame/drivers/pb1000.cpp @@ -33,7 +33,7 @@ class pb1000_state : public driver_device { public: - pb1000_state(const machine_config &mconfig, device_type type, std::string tag) + pb1000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_beeper(*this, "beeper"), diff --git a/src/mame/drivers/pc.cpp b/src/mame/drivers/pc.cpp index 83c3f0e357c..b6836ab5f3a 100644 --- a/src/mame/drivers/pc.cpp +++ b/src/mame/drivers/pc.cpp @@ -39,7 +39,7 @@ video HW too. class pc_state : public driver_device { public: - pc_state(const machine_config &mconfig, device_type type, std::string tag) : + pc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/pc100.cpp b/src/mame/drivers/pc100.cpp index d4413b1eb9f..1f8cff5ce83 100644 --- a/src/mame/drivers/pc100.cpp +++ b/src/mame/drivers/pc100.cpp @@ -66,7 +66,7 @@ class pc100_state : public driver_device { public: - pc100_state(const machine_config &mconfig, device_type type, std::string tag) + pc100_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_beeper(*this, "beeper"), diff --git a/src/mame/drivers/pc1500.cpp b/src/mame/drivers/pc1500.cpp index 6c140312166..a916c5658b4 100644 --- a/src/mame/drivers/pc1500.cpp +++ b/src/mame/drivers/pc1500.cpp @@ -22,7 +22,7 @@ class pc1500_state : public driver_device { public: - pc1500_state(const machine_config &mconfig, device_type type, std::string tag) + pc1500_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_rtc(*this, "upd1990a"), diff --git a/src/mame/drivers/pc2000.cpp b/src/mame/drivers/pc2000.cpp index fe9640b114c..6329a750815 100644 --- a/src/mame/drivers/pc2000.cpp +++ b/src/mame/drivers/pc2000.cpp @@ -30,7 +30,7 @@ class pc2000_state : public driver_device { public: - pc2000_state(const machine_config &mconfig, device_type type, std::string tag) + pc2000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_lcdc(*this, "hd44780"), @@ -69,7 +69,7 @@ public: class gl3000s_state : public pc2000_state { public: - gl3000s_state(const machine_config &mconfig, device_type type, std::string tag) + gl3000s_state(const machine_config &mconfig, device_type type, const char *tag) : pc2000_state(mconfig, type, tag), m_lcdc_r(*this, "sed1520_r"), m_lcdc_l(*this, "sed1520_l") @@ -84,7 +84,7 @@ public: class gl4004_state : public pc2000_state { public: - gl4004_state(const machine_config &mconfig, device_type type, std::string tag) + gl4004_state(const machine_config &mconfig, device_type type, const char *tag) : pc2000_state(mconfig, type, tag) { } @@ -94,7 +94,7 @@ public: class pc1000_state : public pc2000_state { public: - pc1000_state(const machine_config &mconfig, device_type type, std::string tag) + pc1000_state(const machine_config &mconfig, device_type type, const char *tag) : pc2000_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/pc6001.cpp b/src/mame/drivers/pc6001.cpp index 56d867cc521..0372eec0460 100644 --- a/src/mame/drivers/pc6001.cpp +++ b/src/mame/drivers/pc6001.cpp @@ -142,7 +142,7 @@ irq vector 0x26: class pc6001_state : public driver_device { public: - pc6001_state(const machine_config &mconfig, device_type type, std::string tag) + pc6001_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_ppi(*this, "ppi8255"), m_ram(*this, "ram"), diff --git a/src/mame/drivers/pc8801.cpp b/src/mame/drivers/pc8801.cpp index 3260660a0b4..d9debc10f5d 100644 --- a/src/mame/drivers/pc8801.cpp +++ b/src/mame/drivers/pc8801.cpp @@ -301,7 +301,7 @@ struct mouse_t class pc8801_state : public driver_device { public: - pc8801_state(const machine_config &mconfig, device_type type, std::string tag) + pc8801_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_fdccpu(*this, "fdccpu"), diff --git a/src/mame/drivers/pc88va.cpp b/src/mame/drivers/pc88va.cpp index 10dcb31acf0..a7f2590a698 100644 --- a/src/mame/drivers/pc88va.cpp +++ b/src/mame/drivers/pc88va.cpp @@ -70,7 +70,7 @@ public: TIMER_PC88VA_FDC_MOTOR_START_1 }; - pc88va_state(const machine_config &mconfig, device_type type, std::string tag) + pc88va_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_fdc(*this, "upd765"), diff --git a/src/mame/drivers/pc9801.cpp b/src/mame/drivers/pc9801.cpp index 9fba2b45abe..420c1cc8fbf 100644 --- a/src/mame/drivers/pc9801.cpp +++ b/src/mame/drivers/pc9801.cpp @@ -439,7 +439,7 @@ Keyboard TX commands: class pc9801_state : public driver_device { public: - pc9801_state(const machine_config &mconfig, device_type type, std::string tag) : + pc9801_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dmac(*this, "i8237"), diff --git a/src/mame/drivers/pcat_dyn.cpp b/src/mame/drivers/pcat_dyn.cpp index e9ebad9e931..25fdff8943e 100644 --- a/src/mame/drivers/pcat_dyn.cpp +++ b/src/mame/drivers/pcat_dyn.cpp @@ -38,7 +38,7 @@ keyboard trick; class pcat_dyn_state : public pcat_base_state { public: - pcat_dyn_state(const machine_config &mconfig, device_type type, std::string tag) + pcat_dyn_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag) { } DECLARE_DRIVER_INIT(pcat_dyn); diff --git a/src/mame/drivers/pcat_nit.cpp b/src/mame/drivers/pcat_nit.cpp index 78c208b54ba..25b02276175 100644 --- a/src/mame/drivers/pcat_nit.cpp +++ b/src/mame/drivers/pcat_nit.cpp @@ -94,7 +94,7 @@ Smitdogg class pcat_nit_state : public pcat_base_state { public: - pcat_nit_state(const machine_config &mconfig, device_type type, std::string tag) + pcat_nit_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag), m_uart(*this, "ns16450_0"), m_microtouch(*this, "microtouch") { } diff --git a/src/mame/drivers/pcd.cpp b/src/mame/drivers/pcd.cpp index a63a153457c..cda14e61f76 100644 --- a/src/mame/drivers/pcd.cpp +++ b/src/mame/drivers/pcd.cpp @@ -30,7 +30,7 @@ class pcd_state : public driver_device { public: - pcd_state(const machine_config &mconfig, device_type type, std::string tag) : + pcd_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pic1(*this, "pic1"), diff --git a/src/mame/drivers/pce220.cpp b/src/mame/drivers/pce220.cpp index f8a3e3146b9..ba9c8ab650d 100644 --- a/src/mame/drivers/pce220.cpp +++ b/src/mame/drivers/pce220.cpp @@ -40,7 +40,7 @@ class pce220_state : public driver_device { public: - pce220_state(const machine_config &mconfig, device_type type, std::string tag) + pce220_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), @@ -102,7 +102,7 @@ public: class pcg850v_state : public pce220_state { public: - pcg850v_state(const machine_config &mconfig, device_type type, std::string tag) + pcg850v_state(const machine_config &mconfig, device_type type, const char *tag) : pce220_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/pcfx.cpp b/src/mame/drivers/pcfx.cpp index feff094f0cd..a4ecee9b880 100644 --- a/src/mame/drivers/pcfx.cpp +++ b/src/mame/drivers/pcfx.cpp @@ -30,7 +30,7 @@ public: TIMER_PAD_FUNC }; - pcfx_state(const machine_config &mconfig, device_type type, std::string tag) + pcfx_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_huc6261(*this, "huc6261") { } diff --git a/src/mame/drivers/pcm.cpp b/src/mame/drivers/pcm.cpp index 65fc6dedc83..912256491f9 100644 --- a/src/mame/drivers/pcm.cpp +++ b/src/mame/drivers/pcm.cpp @@ -67,7 +67,7 @@ class pcm_state : public driver_device { public: - pcm_state(const machine_config &mconfig, device_type type, std::string tag) + pcm_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pio_s(*this, "z80pio_s"), diff --git a/src/mame/drivers/pcxt.cpp b/src/mame/drivers/pcxt.cpp index 468e0d06bc7..f4497d6c603 100644 --- a/src/mame/drivers/pcxt.cpp +++ b/src/mame/drivers/pcxt.cpp @@ -71,7 +71,7 @@ the main program is 9th October 1990. class pcxt_state : public driver_device { public: - pcxt_state(const machine_config &mconfig, device_type type, std::string tag) + pcxt_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_pit8253(*this, "pit8253"), m_pic8259_1(*this, "pic8259_1"), @@ -133,7 +133,7 @@ class isa8_cga_filetto_device : public isa8_cga_device { public: // construction/destruction - isa8_cga_filetto_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + isa8_cga_filetto_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual const rom_entry *device_rom_region() const override; }; @@ -144,7 +144,7 @@ const device_type ISA8_CGA_FILETTO = &device_creator; // isa8_cga_filetto_device - constructor //------------------------------------------------- -isa8_cga_filetto_device::isa8_cga_filetto_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +isa8_cga_filetto_device::isa8_cga_filetto_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : isa8_cga_device( mconfig, ISA8_CGA_FILETTO, "ISA8_CGA_FILETTO", tag, owner, clock, "filetto_cga", __FILE__) { } @@ -165,7 +165,7 @@ class isa8_cga_tetriskr_device : public isa8_cga_superimpose_device { public: // construction/destruction - isa8_cga_tetriskr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + isa8_cga_tetriskr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) override; virtual void device_start() override; @@ -185,7 +185,7 @@ const device_type ISA8_CGA_TETRISKR = &device_creator; // isa8_cga_tetriskr_device - constructor //------------------------------------------------- -isa8_cga_tetriskr_device::isa8_cga_tetriskr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +isa8_cga_tetriskr_device::isa8_cga_tetriskr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : isa8_cga_superimpose_device( mconfig, ISA8_CGA_TETRISKR, "ISA8_CGA_TETRISKR", tag, owner, clock, "tetriskr_cga", __FILE__) { } diff --git a/src/mame/drivers/pda600.cpp b/src/mame/drivers/pda600.cpp index b1075227743..c4dd15ab4cd 100644 --- a/src/mame/drivers/pda600.cpp +++ b/src/mame/drivers/pda600.cpp @@ -65,7 +65,7 @@ class pda600_state : public driver_device { public: - pda600_state(const machine_config &mconfig, device_type type, std::string tag) + pda600_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") {} diff --git a/src/mame/drivers/pdp1.cpp b/src/mame/drivers/pdp1.cpp index 28ed3f88e0f..0c74eae9f55 100644 --- a/src/mame/drivers/pdp1.cpp +++ b/src/mame/drivers/pdp1.cpp @@ -667,7 +667,7 @@ class pdp1_readtape_image_device : public device_t, { public: // construction/destruction - pdp1_readtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pdp1_readtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // image-level overrides virtual iodevice_t image_type() const override { return IO_PUNCHTAPE; } @@ -691,7 +691,7 @@ protected: const device_type PDP1_READTAPE = &device_creator; -pdp1_readtape_image_device::pdp1_readtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pdp1_readtape_image_device::pdp1_readtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PDP1_READTAPE, "PDP1 Tape Reader", tag, owner, clock, "pdp1_readtape_image", __FILE__), device_image_interface(mconfig, *this) { @@ -702,7 +702,7 @@ class pdp1_punchtape_image_device : public device_t, { public: // construction/destruction - pdp1_punchtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pdp1_punchtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // image-level overrides virtual iodevice_t image_type() const override { return IO_PUNCHTAPE; } @@ -726,7 +726,7 @@ protected: const device_type PDP1_PUNCHTAPE = &device_creator; -pdp1_punchtape_image_device::pdp1_punchtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pdp1_punchtape_image_device::pdp1_punchtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PDP1_PUNCHTAPE, "PDP1 Tape Puncher", tag, owner, clock, "pdp1_punchtape_image", __FILE__), device_image_interface(mconfig, *this) { @@ -738,7 +738,7 @@ class pdp1_printer_image_device : public device_t, { public: // construction/destruction - pdp1_printer_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pdp1_printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // image-level overrides virtual iodevice_t image_type() const override { return IO_PRINTER; } @@ -762,7 +762,7 @@ protected: const device_type PDP1_PRINTER = &device_creator; -pdp1_printer_image_device::pdp1_printer_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pdp1_printer_image_device::pdp1_printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PDP1_PRINTER, "PDP1 Typewriter", tag, owner, clock, "pdp1_printer_image", __FILE__), device_image_interface(mconfig, *this) { @@ -773,7 +773,7 @@ class pdp1_cylinder_image_device : public device_t, { public: // construction/destruction - pdp1_cylinder_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pdp1_cylinder_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // image-level overrides virtual iodevice_t image_type() const override { return IO_CYLINDER; } @@ -797,7 +797,7 @@ protected: const device_type PDP1_CYLINDER = &device_creator; -pdp1_cylinder_image_device::pdp1_cylinder_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pdp1_cylinder_image_device::pdp1_cylinder_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PDP1_CYLINDER, "PDP1 Cylinder", tag, owner, clock, "pdp1_cylinder_image", __FILE__), device_image_interface(mconfig, *this) { diff --git a/src/mame/drivers/pdp11.cpp b/src/mame/drivers/pdp11.cpp index 892dc817310..139386dfe37 100644 --- a/src/mame/drivers/pdp11.cpp +++ b/src/mame/drivers/pdp11.cpp @@ -98,7 +98,7 @@ class pdp11_state : public driver_device { public: - pdp11_state(const machine_config &mconfig, device_type type, std::string tag) + pdp11_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/pegasus.cpp b/src/mame/drivers/pegasus.cpp index 09b73d16e87..858c4b8249f 100644 --- a/src/mame/drivers/pegasus.cpp +++ b/src/mame/drivers/pegasus.cpp @@ -50,7 +50,7 @@ class pegasus_state : public driver_device { public: - pegasus_state(const machine_config &mconfig, device_type type, std::string tag) + pegasus_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_cass(*this, "cassette") diff --git a/src/mame/drivers/pencil2.cpp b/src/mame/drivers/pencil2.cpp index ff08104dabd..85cb0a884b2 100644 --- a/src/mame/drivers/pencil2.cpp +++ b/src/mame/drivers/pencil2.cpp @@ -94,7 +94,7 @@ ToDo: class pencil2_state : public driver_device { public: - pencil2_state(const machine_config &mconfig, device_type type, std::string tag) + pencil2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_centronics(*this, "centronics") diff --git a/src/mame/drivers/pengadvb.cpp b/src/mame/drivers/pengadvb.cpp index 6c181ecf11a..c831c2253ea 100644 --- a/src/mame/drivers/pengadvb.cpp +++ b/src/mame/drivers/pengadvb.cpp @@ -35,7 +35,7 @@ NOTE! switches 1, 3 & 5 must be ON or the game will not boot. class pengadvb_state : public driver_device { public: - pengadvb_state(const machine_config &mconfig, device_type type, std::string tag) + pengadvb_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/pengo.cpp b/src/mame/drivers/pengo.cpp index 390d4b39f60..c47fb18f97f 100644 --- a/src/mame/drivers/pengo.cpp +++ b/src/mame/drivers/pengo.cpp @@ -72,7 +72,7 @@ class pengo_state : public pacman_state { public: - pengo_state(const machine_config &mconfig, device_type type, std::string tag) + pengo_state(const machine_config &mconfig, device_type type, const char *tag) : pacman_state(mconfig, type, tag), m_decrypted_opcodes(*this, "decrypted_opcodes") { } DECLARE_WRITE8_MEMBER(pengo_coin_counter_w); DECLARE_WRITE8_MEMBER(irq_mask_w); diff --git a/src/mame/drivers/pentagon.cpp b/src/mame/drivers/pentagon.cpp index 1b6d0f27869..ea2150c2fed 100644 --- a/src/mame/drivers/pentagon.cpp +++ b/src/mame/drivers/pentagon.cpp @@ -19,7 +19,7 @@ public: TIMER_IRQ_ON, TIMER_IRQ_OFF }; - pentagon_state(const machine_config &mconfig, device_type type, std::string tag) + pentagon_state(const machine_config &mconfig, device_type type, const char *tag) : spectrum_state(mconfig, type, tag) , m_bank1(*this, "bank1") , m_bank2(*this, "bank2") diff --git a/src/mame/drivers/peoplepc.cpp b/src/mame/drivers/peoplepc.cpp index e59716fb2ae..ca391820999 100644 --- a/src/mame/drivers/peoplepc.cpp +++ b/src/mame/drivers/peoplepc.cpp @@ -16,7 +16,7 @@ class peoplepc_state : public driver_device { public: - peoplepc_state(const machine_config &mconfig, device_type type, std::string tag) : + peoplepc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette"), diff --git a/src/mame/drivers/peplus.cpp b/src/mame/drivers/peplus.cpp index 17c9ebf4960..216996c1464 100644 --- a/src/mame/drivers/peplus.cpp +++ b/src/mame/drivers/peplus.cpp @@ -219,7 +219,7 @@ public: TIMER_ASSERT_LP }; - peplus_state(const machine_config &mconfig, device_type type, std::string tag) + peplus_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_crtc(*this, "crtc"), diff --git a/src/mame/drivers/peyper.cpp b/src/mame/drivers/peyper.cpp index 729d8d4e66f..742112a6816 100644 --- a/src/mame/drivers/peyper.cpp +++ b/src/mame/drivers/peyper.cpp @@ -41,7 +41,7 @@ ToDo: class peyper_state : public genpin_class { public: - peyper_state(const machine_config &mconfig, device_type type, std::string tag) + peyper_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_switch(*this, "SWITCH") diff --git a/src/mame/drivers/pgm2.cpp b/src/mame/drivers/pgm2.cpp index a494e8685c3..eef0fd51995 100644 --- a/src/mame/drivers/pgm2.cpp +++ b/src/mame/drivers/pgm2.cpp @@ -64,7 +64,7 @@ class pgm2_state : public driver_device { public: - pgm2_state(const machine_config &mconfig, device_type type, std::string tag) + pgm2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/photon.cpp b/src/mame/drivers/photon.cpp index 315dfeff6b9..339986851b4 100644 --- a/src/mame/drivers/photon.cpp +++ b/src/mame/drivers/photon.cpp @@ -27,7 +27,7 @@ class photon_state : public pk8000_base_state { public: - photon_state(const machine_config &mconfig, device_type type, std::string tag) + photon_state(const machine_config &mconfig, device_type type, const char *tag) : pk8000_base_state(mconfig, type, tag), m_speaker(*this, "speaker") { } diff --git a/src/mame/drivers/photon2.cpp b/src/mame/drivers/photon2.cpp index 194a6d29554..f0683c72413 100644 --- a/src/mame/drivers/photon2.cpp +++ b/src/mame/drivers/photon2.cpp @@ -18,7 +18,7 @@ class photon2_state : public driver_device { public: - photon2_state(const machine_config &mconfig, device_type type, std::string tag) + photon2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/drivers/photoply.cpp b/src/mame/drivers/photoply.cpp index f0731dd0e6a..bd4c1ff5e1f 100644 --- a/src/mame/drivers/photoply.cpp +++ b/src/mame/drivers/photoply.cpp @@ -22,7 +22,7 @@ TODO: class photoply_state : public pcat_base_state { public: - photoply_state(const machine_config &mconfig, device_type type, std::string tag) + photoply_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/phunsy.cpp b/src/mame/drivers/phunsy.cpp index e4392a99fea..b701d7d468e 100644 --- a/src/mame/drivers/phunsy.cpp +++ b/src/mame/drivers/phunsy.cpp @@ -42,7 +42,7 @@ class phunsy_state : public driver_device { public: - phunsy_state(const machine_config &mconfig, device_type type, std::string tag) + phunsy_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/drivers/piggypas.cpp b/src/mame/drivers/piggypas.cpp index 2d0b8dc6881..413f84c0bd4 100644 --- a/src/mame/drivers/piggypas.cpp +++ b/src/mame/drivers/piggypas.cpp @@ -20,7 +20,7 @@ game details unknown class piggypas_state : public driver_device { public: - piggypas_state(const machine_config &mconfig, device_type type, std::string tag) + piggypas_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ticket(*this, "ticket") diff --git a/src/mame/drivers/pimps.cpp b/src/mame/drivers/pimps.cpp index 7a37691cbf9..331880384aa 100644 --- a/src/mame/drivers/pimps.cpp +++ b/src/mame/drivers/pimps.cpp @@ -31,7 +31,7 @@ V Virtual Memory class pimps_state : public driver_device { public: - pimps_state(const machine_config &mconfig, device_type type, std::string tag) + pimps_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_terminal(*this, TERMINAL_TAG), m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/pinball2k.cpp b/src/mame/drivers/pinball2k.cpp index acbf580c159..9dd759a082d 100644 --- a/src/mame/drivers/pinball2k.cpp +++ b/src/mame/drivers/pinball2k.cpp @@ -29,7 +29,7 @@ class pinball2k_state : public pcat_base_state { public: - pinball2k_state(const machine_config &mconfig, device_type type, std::string tag) + pinball2k_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag), m_main_ram(*this, "main_ram"), m_cga_ram(*this, "cga_ram"), diff --git a/src/mame/drivers/pinkiri8.cpp b/src/mame/drivers/pinkiri8.cpp index 89de5dadbe1..2045c1fd6d8 100644 --- a/src/mame/drivers/pinkiri8.cpp +++ b/src/mame/drivers/pinkiri8.cpp @@ -46,7 +46,7 @@ Dumped by Chackn class pinkiri8_state : public driver_device { public: - pinkiri8_state(const machine_config &mconfig, device_type type, std::string tag) + pinkiri8_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_janshi_back_vram(*this, "janshivdp:back_vram"), m_janshi_vram1(*this, "janshivdp:vram1"), @@ -103,7 +103,7 @@ class janshi_vdp_device : public device_t, public device_memory_interface { public: - janshi_vdp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + janshi_vdp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_ADDRESS_MAP(map, 8); protected: virtual void device_config_complete() override; @@ -133,7 +133,7 @@ ADDRESS_MAP_END const device_type JANSHIVDP = &device_creator; -janshi_vdp_device::janshi_vdp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +janshi_vdp_device::janshi_vdp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, JANSHIVDP, "Janshi VDP", tag, owner, clock, "janshi_vdp", __FILE__), device_memory_interface(mconfig, *this), m_space_config("janshi_vdp", ENDIANNESS_LITTLE, 8,24, 0, address_map_delegate(FUNC(janshi_vdp_device::map), this)) diff --git a/src/mame/drivers/pipbug.cpp b/src/mame/drivers/pipbug.cpp index d265c4fdd38..c6050fb81cf 100644 --- a/src/mame/drivers/pipbug.cpp +++ b/src/mame/drivers/pipbug.cpp @@ -46,7 +46,7 @@ class pipbug_state : public driver_device { public: - pipbug_state(const machine_config &mconfig, device_type type, std::string tag) + pipbug_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_rs232(*this, "rs232"), m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/pipedrm.cpp b/src/mame/drivers/pipedrm.cpp index 25111b72f65..0151f62c79c 100644 --- a/src/mame/drivers/pipedrm.cpp +++ b/src/mame/drivers/pipedrm.cpp @@ -172,7 +172,7 @@ Added Multiple Coin Feature: class pipedrm_state : public fromance_state { public: - pipedrm_state(const machine_config &mconfig, device_type type, std::string tag) + pipedrm_state(const machine_config &mconfig, device_type type, const char *tag) : fromance_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/pipeline.cpp b/src/mame/drivers/pipeline.cpp index d29cf0d42d4..0757fd1ae32 100644 --- a/src/mame/drivers/pipeline.cpp +++ b/src/mame/drivers/pipeline.cpp @@ -77,7 +77,7 @@ Stephh's notes (based on the games Z80 code and some tests) : class pipeline_state : public driver_device { public: - pipeline_state(const machine_config &mconfig, device_type type, std::string tag) + pipeline_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/pitagjr.cpp b/src/mame/drivers/pitagjr.cpp index 70364c109fa..4049583fe15 100644 --- a/src/mame/drivers/pitagjr.cpp +++ b/src/mame/drivers/pitagjr.cpp @@ -157,7 +157,7 @@ class pitagjr_state : public driver_device { public: - pitagjr_state(const machine_config &mconfig, device_type type, std::string tag) + pitagjr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_rombank(*this, "rombank") diff --git a/src/mame/drivers/pk8000.cpp b/src/mame/drivers/pk8000.cpp index 8c71346700c..5afeecdfe21 100644 --- a/src/mame/drivers/pk8000.cpp +++ b/src/mame/drivers/pk8000.cpp @@ -23,7 +23,7 @@ class pk8000_state : public pk8000_base_state { public: - pk8000_state(const machine_config &mconfig, device_type type, std::string tag) + pk8000_state(const machine_config &mconfig, device_type type, const char *tag) : pk8000_base_state(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_cassette(*this, "cassette") diff --git a/src/mame/drivers/pkscram.cpp b/src/mame/drivers/pkscram.cpp index 2d4bee21737..f7a32364b5e 100644 --- a/src/mame/drivers/pkscram.cpp +++ b/src/mame/drivers/pkscram.cpp @@ -22,7 +22,7 @@ driver by David Haywood and few bits by Pierpaolo Prazzoli class pkscram_state : public driver_device { public: - pkscram_state(const machine_config &mconfig, device_type type, std::string tag) + pkscram_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_pkscramble_fgtilemap_ram(*this, "fgtilemap_ram"), m_pkscramble_mdtilemap_ram(*this, "mdtilemap_ram"), diff --git a/src/mame/drivers/plan80.cpp b/src/mame/drivers/plan80.cpp index c197e9bd177..f621c73d92b 100644 --- a/src/mame/drivers/plan80.cpp +++ b/src/mame/drivers/plan80.cpp @@ -35,7 +35,7 @@ public: TIMER_BOOT }; - plan80_state(const machine_config &mconfig, device_type type, std::string tag) + plan80_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_p_videoram(*this, "p_videoram") diff --git a/src/mame/drivers/play_1.cpp b/src/mame/drivers/play_1.cpp index c2bc1b9e4c8..1f4b934c249 100644 --- a/src/mame/drivers/play_1.cpp +++ b/src/mame/drivers/play_1.cpp @@ -14,7 +14,7 @@ class play_1_state : public driver_device { public: - play_1_state(const machine_config &mconfig, device_type type, std::string tag) + play_1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/play_2.cpp b/src/mame/drivers/play_2.cpp index f846b176890..d9130b783ac 100644 --- a/src/mame/drivers/play_2.cpp +++ b/src/mame/drivers/play_2.cpp @@ -11,7 +11,7 @@ class play_2_state : public driver_device { public: - play_2_state(const machine_config &mconfig, device_type type, std::string tag) + play_2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/play_3.cpp b/src/mame/drivers/play_3.cpp index c4338453c2a..ac95103507e 100644 --- a/src/mame/drivers/play_3.cpp +++ b/src/mame/drivers/play_3.cpp @@ -14,7 +14,7 @@ class play_3_state : public driver_device { public: - play_3_state(const machine_config &mconfig, device_type type, std::string tag) + play_3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/play_5.cpp b/src/mame/drivers/play_5.cpp index c836212a3dc..09edd089fe3 100644 --- a/src/mame/drivers/play_5.cpp +++ b/src/mame/drivers/play_5.cpp @@ -11,7 +11,7 @@ class play_5_state : public driver_device { public: - play_5_state(const machine_config &mconfig, device_type type, std::string tag) + play_5_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/pluto5.cpp b/src/mame/drivers/pluto5.cpp index 7641e88bfcb..f231c634f8e 100644 --- a/src/mame/drivers/pluto5.cpp +++ b/src/mame/drivers/pluto5.cpp @@ -183,7 +183,7 @@ class pluto5_state : public driver_device { public: - pluto5_state(const machine_config &mconfig, device_type type, std::string tag) + pluto5_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/pm68k.cpp b/src/mame/drivers/pm68k.cpp index 17113c2f037..d35fa742d8d 100644 --- a/src/mame/drivers/pm68k.cpp +++ b/src/mame/drivers/pm68k.cpp @@ -19,7 +19,7 @@ Status: Boots into monitor, some commands work, some freeze. class pm68k_state : public driver_device { public: - pm68k_state(const machine_config &mconfig, device_type type, std::string tag) + pm68k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_base(*this, "rambase"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/pmi80.cpp b/src/mame/drivers/pmi80.cpp index dbdcbcd9dbc..d58f538892a 100644 --- a/src/mame/drivers/pmi80.cpp +++ b/src/mame/drivers/pmi80.cpp @@ -40,7 +40,7 @@ Notes: class pmi80_state : public driver_device { public: - pmi80_state(const machine_config &mconfig, device_type type, std::string tag) + pmi80_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_ledready(0) , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/pntnpuzl.cpp b/src/mame/drivers/pntnpuzl.cpp index 654e3ec9914..32f1f571fe2 100644 --- a/src/mame/drivers/pntnpuzl.cpp +++ b/src/mame/drivers/pntnpuzl.cpp @@ -131,7 +131,7 @@ CN1 standard DB15 VGA connector (15KHz) class pntnpuzl_state : public driver_device { public: - pntnpuzl_state(const machine_config &mconfig, device_type type, std::string tag) + pntnpuzl_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_eeprom(*this, "eeprom") diff --git a/src/mame/drivers/pockstat.cpp b/src/mame/drivers/pockstat.cpp index 19a8d53df2f..0662ab59f5b 100644 --- a/src/mame/drivers/pockstat.cpp +++ b/src/mame/drivers/pockstat.cpp @@ -104,7 +104,7 @@ struct ps_rtc_regs_t class pockstat_state : public driver_device { public: - pockstat_state(const machine_config &mconfig, device_type type, std::string tag) + pockstat_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_lcd_buffer(*this, "lcd_buffer"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/pokemini.cpp b/src/mame/drivers/pokemini.cpp index 690e8ca0b41..09299dc79d5 100644 --- a/src/mame/drivers/pokemini.cpp +++ b/src/mame/drivers/pokemini.cpp @@ -51,7 +51,7 @@ struct TIMERS class pokemini_state : public driver_device { public: - pokemini_state(const machine_config &mconfig, device_type type, std::string tag) + pokemini_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_p_ram(*this, "p_ram"), diff --git a/src/mame/drivers/poker72.cpp b/src/mame/drivers/poker72.cpp index 8fcb16f2dae..4867465e902 100644 --- a/src/mame/drivers/poker72.cpp +++ b/src/mame/drivers/poker72.cpp @@ -20,7 +20,7 @@ class poker72_state : public driver_device { public: - poker72_state(const machine_config &mconfig, device_type type, std::string tag) + poker72_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_vram(*this, "vram"), m_pal(*this, "pal"), diff --git a/src/mame/drivers/poly.cpp b/src/mame/drivers/poly.cpp index ffcb90b2ccc..4dbf5502166 100644 --- a/src/mame/drivers/poly.cpp +++ b/src/mame/drivers/poly.cpp @@ -46,7 +46,7 @@ class poly_state : public driver_device { public: - poly_state(const machine_config &mconfig, device_type type, std::string tag) + poly_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pia0(*this, "pia0"), diff --git a/src/mame/drivers/pong.cpp b/src/mame/drivers/pong.cpp index 7aade29ed15..358b7cb35ea 100644 --- a/src/mame/drivers/pong.cpp +++ b/src/mame/drivers/pong.cpp @@ -125,7 +125,7 @@ NETLIST_EXTERNAL(breakout) class ttl_mono_state : public driver_device { public: - ttl_mono_state(const machine_config &mconfig, device_type type, std::string tag) + ttl_mono_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_video(*this, "fixfreq"), @@ -158,7 +158,7 @@ private: class pong_state : public ttl_mono_state { public: - pong_state(const machine_config &mconfig, device_type type, std::string tag) + pong_state(const machine_config &mconfig, device_type type, const char *tag) : ttl_mono_state(mconfig, type, tag), m_sw1a(*this, "maincpu:sw1a"), m_sw1b(*this, "maincpu:sw1b") @@ -185,7 +185,7 @@ private: class breakout_state : public ttl_mono_state { public: - breakout_state(const machine_config &mconfig, device_type type, std::string tag) + breakout_state(const machine_config &mconfig, device_type type, const char *tag) : ttl_mono_state(mconfig, type, tag), m_led_serve(*this, "maincpu:led_serve"), m_lamp_credit1(*this, "maincpu:lamp_credit1"), diff --git a/src/mame/drivers/popobear.cpp b/src/mame/drivers/popobear.cpp index 3f6e31aae70..c6d1f2fed6c 100644 --- a/src/mame/drivers/popobear.cpp +++ b/src/mame/drivers/popobear.cpp @@ -85,7 +85,7 @@ Component Side A B Solder Side class popobear_state : public driver_device { public: - popobear_state(const machine_config &mconfig, device_type type, std::string tag) + popobear_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/potgoldu.cpp b/src/mame/drivers/potgoldu.cpp index cdf94342bb1..3e5c5a6613a 100644 --- a/src/mame/drivers/potgoldu.cpp +++ b/src/mame/drivers/potgoldu.cpp @@ -26,7 +26,7 @@ class potgold_state : public driver_device { public: - potgold_state(const machine_config &mconfig, device_type type, std::string tag) + potgold_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/powerbal.cpp b/src/mame/drivers/powerbal.cpp index 60d504db0ae..8c92483c44c 100644 --- a/src/mame/drivers/powerbal.cpp +++ b/src/mame/drivers/powerbal.cpp @@ -24,7 +24,7 @@ Magic Sticks: class powerbal_state : public playmark_state { public: - powerbal_state(const machine_config &mconfig, device_type type, std::string tag) + powerbal_state(const machine_config &mconfig, device_type type, const char *tag) : playmark_state(mconfig, type, tag), m_eeprom(*this, "eeprom") { } diff --git a/src/mame/drivers/ppmast93.cpp b/src/mame/drivers/ppmast93.cpp index f4f9d2bd3f1..b3d2bc556fb 100644 --- a/src/mame/drivers/ppmast93.cpp +++ b/src/mame/drivers/ppmast93.cpp @@ -140,7 +140,7 @@ Dip locations added based on the notes above. class ppmast93_state : public driver_device { public: - ppmast93_state(const machine_config &mconfig, device_type type, std::string tag) + ppmast93_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), diff --git a/src/mame/drivers/prestige.cpp b/src/mame/drivers/prestige.cpp index bf9243e0af6..5259abb3ca5 100644 --- a/src/mame/drivers/prestige.cpp +++ b/src/mame/drivers/prestige.cpp @@ -89,7 +89,7 @@ Notes: class prestige_state : public driver_device { public: - prestige_state(const machine_config &mconfig, device_type type, std::string tag) + prestige_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/drivers/pro80.cpp b/src/mame/drivers/pro80.cpp index e1c951f3cd9..54b519cfb0f 100644 --- a/src/mame/drivers/pro80.cpp +++ b/src/mame/drivers/pro80.cpp @@ -28,7 +28,7 @@ The cassette used 2 bits for input, plus a D flipflop and a 74LS221 oneshot. class pro80_state : public driver_device { public: - pro80_state(const machine_config &mconfig, device_type type, std::string tag) + pro80_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cass(*this, "cassette") diff --git a/src/mame/drivers/proconn.cpp b/src/mame/drivers/proconn.cpp index aeb01e61881..4f74c8bdf20 100644 --- a/src/mame/drivers/proconn.cpp +++ b/src/mame/drivers/proconn.cpp @@ -39,7 +39,7 @@ class proconn_state : public driver_device { public: - proconn_state(const machine_config &mconfig, device_type type, std::string tag) + proconn_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_vfd(*this, "vfd"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/progolf.cpp b/src/mame/drivers/progolf.cpp index abae6a65766..213be37d7aa 100644 --- a/src/mame/drivers/progolf.cpp +++ b/src/mame/drivers/progolf.cpp @@ -62,7 +62,7 @@ Twenty four 8116 rams. class progolf_state : public driver_device { public: - progolf_state(const machine_config &mconfig, device_type type, std::string tag) + progolf_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/prophet600.cpp b/src/mame/drivers/prophet600.cpp index dcaa1d7b698..c191d31d846 100644 --- a/src/mame/drivers/prophet600.cpp +++ b/src/mame/drivers/prophet600.cpp @@ -75,7 +75,7 @@ enum class prophet600_state : public driver_device { public: - prophet600_state(const machine_config &mconfig, device_type type, std::string tag) + prophet600_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, MAINCPU_TAG), m_acia(*this, UART_TAG), diff --git a/src/mame/drivers/proteus3.cpp b/src/mame/drivers/proteus3.cpp index 7c2f18a5406..573b8772d52 100644 --- a/src/mame/drivers/proteus3.cpp +++ b/src/mame/drivers/proteus3.cpp @@ -58,7 +58,7 @@ class proteus3_state : public driver_device { public: - proteus3_state(const machine_config &mconfig, device_type type, std::string tag) + proteus3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_pia(*this, "pia") diff --git a/src/mame/drivers/pse.cpp b/src/mame/drivers/pse.cpp index 793cb680e43..298da05319a 100644 --- a/src/mame/drivers/pse.cpp +++ b/src/mame/drivers/pse.cpp @@ -47,7 +47,7 @@ class pse_state : public driver_device { public: - pse_state(const machine_config &mconfig, device_type type, std::string tag) + pse_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_video(*this, "fixfreq") diff --git a/src/mame/drivers/psx.cpp b/src/mame/drivers/psx.cpp index edd41974963..ab768f2c431 100644 --- a/src/mame/drivers/psx.cpp +++ b/src/mame/drivers/psx.cpp @@ -26,7 +26,7 @@ class psx1_state : public driver_device { public: - psx1_state(const machine_config &mconfig, device_type type, std::string tag) + psx1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_ram(*this, "maincpu:ram") diff --git a/src/mame/drivers/pt68k4.cpp b/src/mame/drivers/pt68k4.cpp index 6632625ff9b..d76d8af7766 100644 --- a/src/mame/drivers/pt68k4.cpp +++ b/src/mame/drivers/pt68k4.cpp @@ -79,7 +79,7 @@ TODO: 68230 device class pt68k4_state : public driver_device { public: - pt68k4_state(const machine_config &mconfig, device_type type, std::string tag) + pt68k4_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_p_base(*this, "rambase") , m_maincpu(*this, M68K_TAG) diff --git a/src/mame/drivers/ptcsol.cpp b/src/mame/drivers/ptcsol.cpp index 846e361f8d6..72384632812 100644 --- a/src/mame/drivers/ptcsol.cpp +++ b/src/mame/drivers/ptcsol.cpp @@ -133,7 +133,7 @@ public: TIMER_SOL20_BOOT }; - sol20_state(const machine_config &mconfig, device_type type, std::string tag) + sol20_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_cass1(*this, "cassette") diff --git a/src/mame/drivers/pturn.cpp b/src/mame/drivers/pturn.cpp index f2d6849df2c..82d6fd2d033 100644 --- a/src/mame/drivers/pturn.cpp +++ b/src/mame/drivers/pturn.cpp @@ -84,7 +84,7 @@ ROMS: All ROM labels say only "PROM" and a number. class pturn_state : public driver_device { public: - pturn_state(const machine_config &mconfig, device_type type, std::string tag) + pturn_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/pulsar.cpp b/src/mame/drivers/pulsar.cpp index 103bbc4ab51..48030adce83 100644 --- a/src/mame/drivers/pulsar.cpp +++ b/src/mame/drivers/pulsar.cpp @@ -48,7 +48,7 @@ X - Test off-board memory banks class pulsar_state : public driver_device { public: - pulsar_state(const machine_config &mconfig, device_type type, std::string tag) : + pulsar_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dart(*this, "z80dart"), diff --git a/src/mame/drivers/pv1000.cpp b/src/mame/drivers/pv1000.cpp index ed05f66d153..ca6f85d7c50 100644 --- a/src/mame/drivers/pv1000.cpp +++ b/src/mame/drivers/pv1000.cpp @@ -17,7 +17,7 @@ class pv1000_sound_device : public device_t, public device_sound_interface { public: - pv1000_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pv1000_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_WRITE8_MEMBER(voice_w); @@ -46,7 +46,7 @@ extern const device_type PV1000; const device_type PV1000 = &device_creator; -pv1000_sound_device::pv1000_sound_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pv1000_sound_device::pv1000_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PV1000, "NEC D65010G031", tag, owner, clock, "pv1000_sound", __FILE__), device_sound_interface(mconfig, *this) { @@ -142,7 +142,7 @@ void pv1000_sound_device::sound_stream_update(sound_stream &stream, stream_sampl class pv1000_state : public driver_device { public: - pv1000_state(const machine_config &mconfig, device_type type, std::string tag) + pv1000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_sound(*this, "pv1000_sound"), diff --git a/src/mame/drivers/pv2000.cpp b/src/mame/drivers/pv2000.cpp index 4fb4dbd0324..080e6f707e8 100644 --- a/src/mame/drivers/pv2000.cpp +++ b/src/mame/drivers/pv2000.cpp @@ -42,7 +42,7 @@ For BIOS CRC confirmation class pv2000_state : public driver_device { public: - pv2000_state(const machine_config &mconfig, device_type type, std::string tag) + pv2000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cass(*this, "cassette"), diff --git a/src/mame/drivers/pv9234.cpp b/src/mame/drivers/pv9234.cpp index cbcdca78f3a..101dd0151cc 100644 --- a/src/mame/drivers/pv9234.cpp +++ b/src/mame/drivers/pv9234.cpp @@ -27,7 +27,7 @@ be found! class pv9234_state : public driver_device { public: - pv9234_state(const machine_config &mconfig, device_type type, std::string tag) + pv9234_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_ram(*this, "p_ram"), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/pve500.cpp b/src/mame/drivers/pve500.cpp index 2288ad32381..2f1274dbb1f 100644 --- a/src/mame/drivers/pve500.cpp +++ b/src/mame/drivers/pve500.cpp @@ -62,7 +62,7 @@ class pve500_state : public driver_device { public: - pve500_state(const machine_config &mconfig, device_type type, std::string tag) + pve500_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_subcpu(*this, "subcpu") diff --git a/src/mame/drivers/px4.cpp b/src/mame/drivers/px4.cpp index 684581423a1..36925ab03b5 100644 --- a/src/mame/drivers/px4.cpp +++ b/src/mame/drivers/px4.cpp @@ -48,7 +48,7 @@ class px4_state : public driver_device, public device_serial_interface { public: - px4_state(const machine_config &mconfig, device_type type, std::string tag) : + px4_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), device_serial_interface(mconfig, *this), m_z80(*this, "maincpu"), @@ -244,7 +244,7 @@ private: class px4p_state : public px4_state { public: - px4p_state(const machine_config &mconfig, device_type type, std::string tag) : + px4p_state(const machine_config &mconfig, device_type type, const char *tag) : px4_state(mconfig, type, tag), m_rdnvram(*this, "rdnvram"), m_rdsocket(*this, "ramdisk_socket"), @@ -959,7 +959,7 @@ WRITE8_MEMBER( px4_state::artmr_w ) stop_bits_t stop_bits = BIT(data, 7) ? STOP_BITS_2 : STOP_BITS_1; if (VERBOSE) - logerror("%s: serial frame setup: %d-%s-%d\n", tag().c_str(), data_bit_count, device_serial_interface::parity_tostring(parity), stop_bits); + logerror("%s: serial frame setup: %d-%s-%d\n", tag(), data_bit_count, device_serial_interface::parity_tostring(parity), stop_bits); set_data_frame(1, data_bit_count, parity, stop_bits); } diff --git a/src/mame/drivers/pyl601.cpp b/src/mame/drivers/pyl601.cpp index 157ad2f5164..8da7b17d6ed 100644 --- a/src/mame/drivers/pyl601.cpp +++ b/src/mame/drivers/pyl601.cpp @@ -46,7 +46,7 @@ class pyl601_state : public driver_device { public: - pyl601_state(const machine_config &mconfig, device_type type, std::string tag) + pyl601_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_speaker(*this, "speaker"), m_fdc(*this, "upd765"), diff --git a/src/mame/drivers/pyson.cpp b/src/mame/drivers/pyson.cpp index 8b365c5e52d..97dddf6b07b 100644 --- a/src/mame/drivers/pyson.cpp +++ b/src/mame/drivers/pyson.cpp @@ -158,7 +158,7 @@ Notes: class pyson_state : public driver_device { public: - pyson_state(const machine_config &mconfig, device_type type, std::string tag) + pyson_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/pzletime.cpp b/src/mame/drivers/pzletime.cpp index a1af4ff67e0..c56a225e141 100644 --- a/src/mame/drivers/pzletime.cpp +++ b/src/mame/drivers/pzletime.cpp @@ -24,7 +24,7 @@ class pzletime_state : public driver_device { public: - pzletime_state(const machine_config &mconfig, device_type type, std::string tag) + pzletime_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_video_regs(*this, "video_regs"), m_tilemap_regs(*this, "tilemap_regs"), diff --git a/src/mame/drivers/qtsbc.cpp b/src/mame/drivers/qtsbc.cpp index 321b5cca8fa..aa14373aad9 100644 --- a/src/mame/drivers/qtsbc.cpp +++ b/src/mame/drivers/qtsbc.cpp @@ -19,7 +19,7 @@ class qtsbc_state : public driver_device { public: - qtsbc_state(const machine_config &mconfig, device_type type, std::string tag) + qtsbc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG), diff --git a/src/mame/drivers/quakeat.cpp b/src/mame/drivers/quakeat.cpp index 4cd2532aa8b..49c8ea6ab42 100644 --- a/src/mame/drivers/quakeat.cpp +++ b/src/mame/drivers/quakeat.cpp @@ -68,7 +68,7 @@ TODO: class quakeat_state : public pcat_base_state { public: - quakeat_state(const machine_config &mconfig, device_type type, std::string tag) + quakeat_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/quantum.cpp b/src/mame/drivers/quantum.cpp index 86d227cb7fe..256607a3ddc 100644 --- a/src/mame/drivers/quantum.cpp +++ b/src/mame/drivers/quantum.cpp @@ -60,7 +60,7 @@ NOTE: The Atari 136002-125 PROM in the sets below wasn't dumped from an actual class quantum_state : public driver_device { public: - quantum_state(const machine_config &mconfig, device_type type, std::string tag) + quantum_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_avg(*this, "avg") { } diff --git a/src/mame/drivers/queen.cpp b/src/mame/drivers/queen.cpp index d9b24ddbf4c..21b69043b7a 100644 --- a/src/mame/drivers/queen.cpp +++ b/src/mame/drivers/queen.cpp @@ -38,7 +38,7 @@ processor speed is 533MHz <- likely to be a Celeron or a Pentium III class CPU - class queen_state : public pcat_base_state { public: - queen_state(const machine_config &mconfig, device_type type, std::string tag) + queen_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/quizo.cpp b/src/mame/drivers/quizo.cpp index 7ffdc9df8c6..6279c372cc2 100644 --- a/src/mame/drivers/quizo.cpp +++ b/src/mame/drivers/quizo.cpp @@ -33,7 +33,7 @@ Xtals 8MHz, 21.47727MHz class quizo_state : public driver_device { public: - quizo_state(const machine_config &mconfig, device_type type, std::string tag) + quizo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/quizpun2.cpp b/src/mame/drivers/quizpun2.cpp index 93cbe2c7e0a..91743602a1d 100644 --- a/src/mame/drivers/quizpun2.cpp +++ b/src/mame/drivers/quizpun2.cpp @@ -93,7 +93,7 @@ struct prot_t { class quizpun2_state : public driver_device { public: - quizpun2_state(const machine_config &mconfig, device_type type, std::string tag) + quizpun2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_fg_ram(*this, "fg_ram"), m_bg_ram(*this, "bg_ram"), diff --git a/src/mame/drivers/quizshow.cpp b/src/mame/drivers/quizshow.cpp index b865d4f03cc..deda44515e0 100644 --- a/src/mame/drivers/quizshow.cpp +++ b/src/mame/drivers/quizshow.cpp @@ -36,7 +36,7 @@ TODO: class quizshow_state : public driver_device { public: - quizshow_state(const machine_config &mconfig, device_type type, std::string tag) + quizshow_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), diff --git a/src/mame/drivers/qx10.cpp b/src/mame/drivers/qx10.cpp index c445fd444d5..467e7fb2527 100644 --- a/src/mame/drivers/qx10.cpp +++ b/src/mame/drivers/qx10.cpp @@ -56,7 +56,7 @@ class qx10_state : public driver_device { public: - qx10_state(const machine_config &mconfig, device_type type, std::string tag) + qx10_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_pit_1(*this, "pit8253_1"), m_pit_2(*this, "pit8253_2"), diff --git a/src/mame/drivers/r2dtank.cpp b/src/mame/drivers/r2dtank.cpp index 16cb34b7376..e40fdcbe377 100644 --- a/src/mame/drivers/r2dtank.cpp +++ b/src/mame/drivers/r2dtank.cpp @@ -52,7 +52,7 @@ RAM = 4116 (x11) class r2dtank_state : public driver_device { public: - r2dtank_state(const machine_config &mconfig, device_type type, std::string tag) + r2dtank_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/r2dx_v33.cpp b/src/mame/drivers/r2dx_v33.cpp index f7478dbbe3f..1b6ae4510ec 100644 --- a/src/mame/drivers/r2dx_v33.cpp +++ b/src/mame/drivers/r2dx_v33.cpp @@ -72,7 +72,7 @@ Then it puts settings at 0x9e08 and 0x9e0a (bp 91acb) class r2dx_v33_state : public raiden2_state { public: - r2dx_v33_state(const machine_config &mconfig, device_type type, std::string tag) + r2dx_v33_state(const machine_config &mconfig, device_type type, const char *tag) : raiden2_state(mconfig, type, tag), m_eeprom(*this, "eeprom"), m_math(*this, "math"), diff --git a/src/mame/drivers/r9751.cpp b/src/mame/drivers/r9751.cpp index d5243ff8e60..5ca1d8d153a 100644 --- a/src/mame/drivers/r9751.cpp +++ b/src/mame/drivers/r9751.cpp @@ -55,7 +55,7 @@ class r9751_state : public driver_device { public: - r9751_state(const machine_config &mconfig, device_type type, std::string tag) + r9751_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pdc(*this, "pdc"), diff --git a/src/mame/drivers/rabbit.cpp b/src/mame/drivers/rabbit.cpp index 14b51986eac..82e8889a079 100644 --- a/src/mame/drivers/rabbit.cpp +++ b/src/mame/drivers/rabbit.cpp @@ -95,7 +95,7 @@ public: TIMER_BLIT_DONE }; - rabbit_state(const machine_config &mconfig, device_type type, std::string tag) + rabbit_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_eeprom(*this, "eeprom"), diff --git a/src/mame/drivers/rainbow.cpp b/src/mame/drivers/rainbow.cpp index 644b8e6073b..d6f58b231ee 100644 --- a/src/mame/drivers/rainbow.cpp +++ b/src/mame/drivers/rainbow.cpp @@ -258,7 +258,7 @@ W17 pulls J1 serial port pin 1 to GND when set (chassis to logical GND). class rainbow_state : public driver_device { public: - rainbow_state(const machine_config &mconfig, device_type type, std::string tag) : + rainbow_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), #ifdef KEYBOARD_WORKAROUND diff --git a/src/mame/drivers/rambo.cpp b/src/mame/drivers/rambo.cpp index 580d2404a03..afe528c6b49 100644 --- a/src/mame/drivers/rambo.cpp +++ b/src/mame/drivers/rambo.cpp @@ -31,7 +31,7 @@ class rambo_state : public driver_device { public: - rambo_state(const machine_config &mconfig, device_type type, std::string tag) + rambo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { diff --git a/src/mame/drivers/ramtek.cpp b/src/mame/drivers/ramtek.cpp index 1d3ccdd0b2c..7fc1c8fc736 100644 --- a/src/mame/drivers/ramtek.cpp +++ b/src/mame/drivers/ramtek.cpp @@ -61,7 +61,7 @@ class ramtek_state : public driver_device { public: - ramtek_state(const machine_config &mconfig, device_type type, std::string tag) + ramtek_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_video(*this, "fixfreq") diff --git a/src/mame/drivers/rastersp.cpp b/src/mame/drivers/rastersp.cpp index 30dc040704e..8176fb3f749 100644 --- a/src/mame/drivers/rastersp.cpp +++ b/src/mame/drivers/rastersp.cpp @@ -47,7 +47,7 @@ class rastersp_state : public driver_device { public: - rastersp_state(const machine_config &mconfig, device_type type, std::string tag) + rastersp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dsp(*this, "dsp"), diff --git a/src/mame/drivers/ravens.cpp b/src/mame/drivers/ravens.cpp index 8b7bc08f7a3..f9957ca5bc2 100644 --- a/src/mame/drivers/ravens.cpp +++ b/src/mame/drivers/ravens.cpp @@ -82,7 +82,7 @@ ToDo: class ravens_state : public driver_device { public: - ravens_state(const machine_config &mconfig, device_type type, std::string tag) + ravens_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG), diff --git a/src/mame/drivers/rbmk.cpp b/src/mame/drivers/rbmk.cpp index 8354607133c..de71f98e760 100644 --- a/src/mame/drivers/rbmk.cpp +++ b/src/mame/drivers/rbmk.cpp @@ -62,7 +62,7 @@ Notes: class rbmk_state : public driver_device { public: - rbmk_state(const machine_config &mconfig, device_type type, std::string tag) + rbmk_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_gms_vidram2(*this, "gms_vidram2"), m_gms_vidram(*this, "gms_vidram"), diff --git a/src/mame/drivers/rc759.cpp b/src/mame/drivers/rc759.cpp index 216bfb4156f..ca5d4b09745 100644 --- a/src/mame/drivers/rc759.cpp +++ b/src/mame/drivers/rc759.cpp @@ -32,7 +32,7 @@ class rc759_state : public driver_device { public: - rc759_state(const machine_config &mconfig, device_type type, std::string tag) : + rc759_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pic(*this, "pic"), diff --git a/src/mame/drivers/rcorsair.cpp b/src/mame/drivers/rcorsair.cpp index 7911f8d04b7..e015ce6ce3a 100644 --- a/src/mame/drivers/rcorsair.cpp +++ b/src/mame/drivers/rcorsair.cpp @@ -62,7 +62,7 @@ Notes added 2014-09-10: class rcorsair_state : public driver_device { public: - rcorsair_state(const machine_config &mconfig, device_type type, std::string tag) + rcorsair_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/rd100.cpp b/src/mame/drivers/rd100.cpp index 616be636456..46c20ff62ce 100644 --- a/src/mame/drivers/rd100.cpp +++ b/src/mame/drivers/rd100.cpp @@ -19,7 +19,7 @@ class rd100_state : public driver_device { public: - rd100_state(const machine_config &mconfig, device_type type, std::string tag) + rd100_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/rd110.cpp b/src/mame/drivers/rd110.cpp index cd24b0183ce..02da5ac1f4f 100644 --- a/src/mame/drivers/rd110.cpp +++ b/src/mame/drivers/rd110.cpp @@ -56,7 +56,7 @@ public: required_device lcd; required_device midi_timer; - d110_state(const machine_config &mconfig, device_type type, std::string tag); + d110_state(const machine_config &mconfig, device_type type, const char *tag); virtual void machine_start() override; virtual void machine_reset() override; @@ -85,7 +85,7 @@ private: required_device m_maincpu; }; -d110_state::d110_state(const machine_config &mconfig, device_type type, std::string tag) : +d110_state::d110_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), cpu(*this, "maincpu"), ram(*this, "ram"), diff --git a/src/mame/drivers/re900.cpp b/src/mame/drivers/re900.cpp index 9d8c191c9ad..5adaa88084f 100644 --- a/src/mame/drivers/re900.cpp +++ b/src/mame/drivers/re900.cpp @@ -87,7 +87,7 @@ class re900_state : public driver_device { public: - re900_state(const machine_config &mconfig, device_type type, std::string tag) + re900_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_rom(*this, "rom") { } diff --git a/src/mame/drivers/replicator.cpp b/src/mame/drivers/replicator.cpp index fc969de2ba3..b219db5fde8 100644 --- a/src/mame/drivers/replicator.cpp +++ b/src/mame/drivers/replicator.cpp @@ -151,7 +151,7 @@ class replicator_state : public driver_device { public: - replicator_state(const machine_config &mconfig, device_type type, std::string tag) + replicator_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_lcdc(*this, "hd44780"), diff --git a/src/mame/drivers/rex6000.cpp b/src/mame/drivers/rex6000.cpp index 3522ab82e8c..6407eddba62 100644 --- a/src/mame/drivers/rex6000.cpp +++ b/src/mame/drivers/rex6000.cpp @@ -59,7 +59,7 @@ class rex6000_state : public driver_device { public: - rex6000_state(const machine_config &mconfig, device_type type, std::string tag) + rex6000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/drivers/rgum.cpp b/src/mame/drivers/rgum.cpp index f0aacbbe575..2f6ef0e5894 100644 --- a/src/mame/drivers/rgum.cpp +++ b/src/mame/drivers/rgum.cpp @@ -24,7 +24,7 @@ The ppi at 3000-3003 seems to be a dual port communication thing with the z80. class rgum_state : public driver_device { public: - rgum_state(const machine_config &mconfig, device_type type, std::string tag) + rgum_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_vram(*this, "vram"), m_cram(*this, "cram"), diff --git a/src/mame/drivers/riscpc.cpp b/src/mame/drivers/riscpc.cpp index 99b497a2829..faa14e36e0f 100644 --- a/src/mame/drivers/riscpc.cpp +++ b/src/mame/drivers/riscpc.cpp @@ -24,7 +24,7 @@ class riscpc_state : public driver_device { public: - riscpc_state(const machine_config &mconfig, device_type type, std::string tag) + riscpc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette") diff --git a/src/mame/drivers/rmhaihai.cpp b/src/mame/drivers/rmhaihai.cpp index 7ae7ea4397b..e5ce3256085 100644 --- a/src/mame/drivers/rmhaihai.cpp +++ b/src/mame/drivers/rmhaihai.cpp @@ -39,7 +39,7 @@ TODO: class rmhaihai_state : public driver_device { public: - rmhaihai_state(const machine_config &mconfig, device_type type, std::string tag) + rmhaihai_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_msm(*this, "msm"), diff --git a/src/mame/drivers/rmt32.cpp b/src/mame/drivers/rmt32.cpp index 5d3a5a482b8..60116d4324e 100644 --- a/src/mame/drivers/rmt32.cpp +++ b/src/mame/drivers/rmt32.cpp @@ -194,7 +194,7 @@ public: optional_device lcd; required_device midi_timer; - mt32_state(const machine_config &mconfig, device_type type, std::string tag); + mt32_state(const machine_config &mconfig, device_type type, const char *tag); virtual void machine_start() override; virtual void machine_reset() override; @@ -223,7 +223,7 @@ private: required_device m_maincpu; }; -mt32_state::mt32_state(const machine_config &mconfig, device_type type, std::string tag) : +mt32_state::mt32_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), cpu(*this, "maincpu"), ram(*this, "ram"), diff --git a/src/mame/drivers/rollext.cpp b/src/mame/drivers/rollext.cpp index 4404da0c196..0a01fc4e26e 100644 --- a/src/mame/drivers/rollext.cpp +++ b/src/mame/drivers/rollext.cpp @@ -279,7 +279,7 @@ void rollext_renderer::display(bitmap_rgb32 *bitmap, const rectangle &cliprect) class rollext_state : public driver_device { public: - rollext_state(const machine_config &mconfig, device_type type, std::string tag) + rollext_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette_ram(*this, "palette_ram"), diff --git a/src/mame/drivers/rotaryf.cpp b/src/mame/drivers/rotaryf.cpp index e903b59e4ad..98dcdd7810f 100644 --- a/src/mame/drivers/rotaryf.cpp +++ b/src/mame/drivers/rotaryf.cpp @@ -22,7 +22,7 @@ driver by Barry Rodewald class rotaryf_state : public driver_device { public: - rotaryf_state(const machine_config &mconfig, device_type type, std::string tag) + rotaryf_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_samples(*this, "samples"), diff --git a/src/mame/drivers/roul.cpp b/src/mame/drivers/roul.cpp index 7f6c37668ee..e6634a6aa41 100644 --- a/src/mame/drivers/roul.cpp +++ b/src/mame/drivers/roul.cpp @@ -72,7 +72,7 @@ Stephh's notes (based on the game Z80 code and some tests) : class roul_state : public driver_device { public: - roul_state(const machine_config &mconfig, device_type type, std::string tag) + roul_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu") { } diff --git a/src/mame/drivers/route16.cpp b/src/mame/drivers/route16.cpp index 69c1e17e9c9..b2510b66d56 100644 --- a/src/mame/drivers/route16.cpp +++ b/src/mame/drivers/route16.cpp @@ -946,7 +946,7 @@ READ8_MEMBER(route16_state::routex_prot_read) { if (space.device().safe_pc() == 0x2f) return 0xfb; - logerror ("cpu '%s' (PC=%08X): unmapped prot read\n", space.device().tag().c_str(), space.device().safe_pc()); + logerror ("cpu '%s' (PC=%08X): unmapped prot read\n", space.device().tag(), space.device().safe_pc()); return 0x00; } diff --git a/src/mame/drivers/rowamet.cpp b/src/mame/drivers/rowamet.cpp index de27f010f07..5a724c75623 100644 --- a/src/mame/drivers/rowamet.cpp +++ b/src/mame/drivers/rowamet.cpp @@ -30,7 +30,7 @@ ToDO: class rowamet_state : public driver_device { public: - rowamet_state(const machine_config &mconfig, device_type type, std::string tag) + rowamet_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_cpu2(*this, "cpu2") diff --git a/src/mame/drivers/royalmah.cpp b/src/mame/drivers/royalmah.cpp index b9b23403de0..5a37bae7207 100644 --- a/src/mame/drivers/royalmah.cpp +++ b/src/mame/drivers/royalmah.cpp @@ -104,7 +104,7 @@ Stephh's notes (based on the games Z80 code and some tests) : class royalmah_state : public driver_device { public: - royalmah_state(const machine_config &mconfig, device_type type, std::string tag) + royalmah_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_videoram(*this, "videoram"), diff --git a/src/mame/drivers/rsc55.cpp b/src/mame/drivers/rsc55.cpp index 14e2f7c4765..90779f52be5 100644 --- a/src/mame/drivers/rsc55.cpp +++ b/src/mame/drivers/rsc55.cpp @@ -48,10 +48,10 @@ class sc55_state : public driver_device public: required_device m_maincpu; - sc55_state(const machine_config &mconfig, device_type type, std::string tag); + sc55_state(const machine_config &mconfig, device_type type, const char *tag); }; -sc55_state::sc55_state(const machine_config &mconfig, device_type type, std::string tag) : +sc55_state::sc55_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { diff --git a/src/mame/drivers/rt1715.cpp b/src/mame/drivers/rt1715.cpp index 46063c8267c..4e8e259192a 100644 --- a/src/mame/drivers/rt1715.cpp +++ b/src/mame/drivers/rt1715.cpp @@ -27,7 +27,7 @@ class rt1715_state : public driver_device { public: - rt1715_state(const machine_config &mconfig, device_type type, std::string tag) + rt1715_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG) { } diff --git a/src/mame/drivers/rvoice.cpp b/src/mame/drivers/rvoice.cpp index 3115e508bbb..5fc455da10e 100644 --- a/src/mame/drivers/rvoice.cpp +++ b/src/mame/drivers/rvoice.cpp @@ -76,7 +76,7 @@ struct rvoicepc_t class rvoice_state : public driver_device { public: - rvoice_state(const machine_config &mconfig, device_type type, std::string tag) + rvoice_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/rx78.cpp b/src/mame/drivers/rx78.cpp index b09177a3181..3f7818c3e30 100644 --- a/src/mame/drivers/rx78.cpp +++ b/src/mame/drivers/rx78.cpp @@ -53,7 +53,7 @@ class rx78_state : public driver_device { public: - rx78_state(const machine_config &mconfig, device_type type, std::string tag) + rx78_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cass(*this, "cassette"), diff --git a/src/mame/drivers/s3.cpp b/src/mame/drivers/s3.cpp index 87ab22f4391..9d6167b9eae 100644 --- a/src/mame/drivers/s3.cpp +++ b/src/mame/drivers/s3.cpp @@ -48,7 +48,7 @@ ToDo: class s3_state : public genpin_class { public: - s3_state(const machine_config &mconfig, device_type type, std::string tag) + s3_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_audiocpu(*this, "audiocpu") diff --git a/src/mame/drivers/s4.cpp b/src/mame/drivers/s4.cpp index 0fb44e80667..52aca8c0ce1 100644 --- a/src/mame/drivers/s4.cpp +++ b/src/mame/drivers/s4.cpp @@ -41,7 +41,7 @@ ToDo: class s4_state : public genpin_class { public: - s4_state(const machine_config &mconfig, device_type type, std::string tag) + s4_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_audiocpu(*this, "audiocpu") diff --git a/src/mame/drivers/s6.cpp b/src/mame/drivers/s6.cpp index 84513f70e67..876c855ef8e 100644 --- a/src/mame/drivers/s6.cpp +++ b/src/mame/drivers/s6.cpp @@ -58,7 +58,7 @@ ToDo: class s6_state : public genpin_class { public: - s6_state(const machine_config &mconfig, device_type type, std::string tag) + s6_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_audiocpu(*this, "audiocpu") diff --git a/src/mame/drivers/s6a.cpp b/src/mame/drivers/s6a.cpp index 6376d7d257d..e1c5567b1e4 100644 --- a/src/mame/drivers/s6a.cpp +++ b/src/mame/drivers/s6a.cpp @@ -51,7 +51,7 @@ ToDo: class s6a_state : public genpin_class { public: - s6a_state(const machine_config &mconfig, device_type type, std::string tag) + s6a_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_audiocpu(*this, "audiocpu") diff --git a/src/mame/drivers/s7.cpp b/src/mame/drivers/s7.cpp index 5f0f357bd6a..af8704e7320 100644 --- a/src/mame/drivers/s7.cpp +++ b/src/mame/drivers/s7.cpp @@ -68,7 +68,7 @@ ToDo: class s7_state : public genpin_class { public: - s7_state(const machine_config &mconfig, device_type type, std::string tag) + s7_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_audiocpu(*this, "audiocpu") diff --git a/src/mame/drivers/s8.cpp b/src/mame/drivers/s8.cpp index b38ac43b9b9..5c2f2c83284 100644 --- a/src/mame/drivers/s8.cpp +++ b/src/mame/drivers/s8.cpp @@ -55,7 +55,7 @@ ToDo: class s8_state : public genpin_class { public: - s8_state(const machine_config &mconfig, device_type type, std::string tag) + s8_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_audiocpu(*this, "audiocpu") diff --git a/src/mame/drivers/s8a.cpp b/src/mame/drivers/s8a.cpp index 490b62a12e5..444505d8538 100644 --- a/src/mame/drivers/s8a.cpp +++ b/src/mame/drivers/s8a.cpp @@ -31,7 +31,7 @@ ToDo: class s8a_state : public genpin_class { public: - s8a_state(const machine_config &mconfig, device_type type, std::string tag) + s8a_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_audiocpu(*this, "audiocpu") diff --git a/src/mame/drivers/s9.cpp b/src/mame/drivers/s9.cpp index 54e7bcc3735..f72606db6f5 100644 --- a/src/mame/drivers/s9.cpp +++ b/src/mame/drivers/s9.cpp @@ -43,7 +43,7 @@ ToDo: class s9_state : public genpin_class { public: - s9_state(const machine_config &mconfig, device_type type, std::string tag) + s9_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_audiocpu(*this, "audiocpu") diff --git a/src/mame/drivers/sacstate.cpp b/src/mame/drivers/sacstate.cpp index 45e2d11fb65..d7891cfe4e3 100644 --- a/src/mame/drivers/sacstate.cpp +++ b/src/mame/drivers/sacstate.cpp @@ -43,7 +43,7 @@ Other input will either result in '!' message, or halt. class sacstate_state : public driver_device { public: - sacstate_state(const machine_config &mconfig, device_type type, std::string tag) + sacstate_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/safarir.cpp b/src/mame/drivers/safarir.cpp index 2890c2dc41b..44e064e5188 100644 --- a/src/mame/drivers/safarir.cpp +++ b/src/mame/drivers/safarir.cpp @@ -56,7 +56,7 @@ modified by Hau class safarir_state : public driver_device { public: - safarir_state(const machine_config &mconfig, device_type type, std::string tag) + safarir_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_samples(*this, "samples"), diff --git a/src/mame/drivers/sam.cpp b/src/mame/drivers/sam.cpp index 8dc59b81da8..7053c7b955a 100644 --- a/src/mame/drivers/sam.cpp +++ b/src/mame/drivers/sam.cpp @@ -7,7 +7,7 @@ class sam_state : public driver_device { public: - sam_state(const machine_config &mconfig, device_type type, std::string tag) + sam_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) { } }; diff --git a/src/mame/drivers/sandscrp.cpp b/src/mame/drivers/sandscrp.cpp index 824d0ddf96b..50937085c9b 100644 --- a/src/mame/drivers/sandscrp.cpp +++ b/src/mame/drivers/sandscrp.cpp @@ -86,7 +86,7 @@ Is there another alt program rom set labeled 9 & 10? class sandscrp_state : public driver_device { public: - sandscrp_state(const machine_config &mconfig, device_type type, std::string tag) + sandscrp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/sangho.cpp b/src/mame/drivers/sangho.cpp index ad78a406c5a..4f401081ef3 100644 --- a/src/mame/drivers/sangho.cpp +++ b/src/mame/drivers/sangho.cpp @@ -54,7 +54,7 @@ TODO: class sangho_state : public driver_device { public: - sangho_state(const machine_config &mconfig, device_type type, std::string tag) + sangho_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_v9958(*this, "v9958") , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/sanremmg.cpp b/src/mame/drivers/sanremmg.cpp index 0124113c06a..baa88cbd757 100644 --- a/src/mame/drivers/sanremmg.cpp +++ b/src/mame/drivers/sanremmg.cpp @@ -15,7 +15,7 @@ class sanremmg_state : public driver_device { public: - sanremmg_state(const machine_config &mconfig, device_type type, std::string tag) + sanremmg_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/sanremo.cpp b/src/mame/drivers/sanremo.cpp index 7ec876c68c0..64ade62d1c0 100644 --- a/src/mame/drivers/sanremo.cpp +++ b/src/mame/drivers/sanremo.cpp @@ -108,7 +108,7 @@ class sanremo_state : public driver_device { public: - sanremo_state(const machine_config &mconfig, device_type type, std::string tag) + sanremo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/sansa_fuze.cpp b/src/mame/drivers/sansa_fuze.cpp index 13430bcd486..2ee426af50c 100644 --- a/src/mame/drivers/sansa_fuze.cpp +++ b/src/mame/drivers/sansa_fuze.cpp @@ -13,7 +13,7 @@ class sansa_fuze_state : public driver_device { public: - sansa_fuze_state(const machine_config &mconfig, device_type type, std::string tag) + sansa_fuze_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/sapi1.cpp b/src/mame/drivers/sapi1.cpp index bdb59484ef7..732baca6c3e 100644 --- a/src/mame/drivers/sapi1.cpp +++ b/src/mame/drivers/sapi1.cpp @@ -44,7 +44,7 @@ Unable to proceed due to no info available (& in English). class sapi1_state : public driver_device { public: - sapi1_state(const machine_config &mconfig, device_type type, std::string tag) + sapi1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_videoram(*this, "videoram"), m_bank1(*this, "bank1"), diff --git a/src/mame/drivers/saturn.cpp b/src/mame/drivers/saturn.cpp index 6504828a467..13dec46c418 100644 --- a/src/mame/drivers/saturn.cpp +++ b/src/mame/drivers/saturn.cpp @@ -444,7 +444,7 @@ test1f diagnostic hacks: class sat_console_state : public saturn_state { public: - sat_console_state(const machine_config &mconfig, device_type type, std::string tag) + sat_console_state(const machine_config &mconfig, device_type type, const char *tag) : saturn_state(mconfig, type, tag) , m_exp(*this, "exp") , m_nvram(*this, "nvram") diff --git a/src/mame/drivers/savia84.cpp b/src/mame/drivers/savia84.cpp index 25199eaded2..b094410cd95 100644 --- a/src/mame/drivers/savia84.cpp +++ b/src/mame/drivers/savia84.cpp @@ -37,7 +37,7 @@ class savia84_state : public driver_device { public: - savia84_state(const machine_config &mconfig, device_type type, std::string tag) + savia84_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ppi8255(*this, "ppi8255") diff --git a/src/mame/drivers/savquest.cpp b/src/mame/drivers/savquest.cpp index 7ebcd382dbb..784278096fa 100644 --- a/src/mame/drivers/savquest.cpp +++ b/src/mame/drivers/savquest.cpp @@ -57,7 +57,7 @@ class savquest_state : public pcat_base_state { public: - savquest_state(const machine_config &mconfig, device_type type, std::string tag) + savquest_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag), m_vga(*this, "vga"), m_voodoo(*this, "voodoo") diff --git a/src/mame/drivers/sbc6510.cpp b/src/mame/drivers/sbc6510.cpp index 0a1899443a4..9d78fe0ed0d 100644 --- a/src/mame/drivers/sbc6510.cpp +++ b/src/mame/drivers/sbc6510.cpp @@ -62,7 +62,7 @@ ToDo: class sbc6510_state : public driver_device { public: - sbc6510_state(const machine_config &mconfig, device_type type, std::string tag) + sbc6510_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_videocpu(*this, "videocpu"), diff --git a/src/mame/drivers/sbowling.cpp b/src/mame/drivers/sbowling.cpp index 3026eafe625..b4869187e49 100644 --- a/src/mame/drivers/sbowling.cpp +++ b/src/mame/drivers/sbowling.cpp @@ -49,7 +49,7 @@ PROMs : NEC B406 (1kx4) x2 class sbowling_state : public driver_device { public: - sbowling_state(const machine_config &mconfig, device_type type, std::string tag) + sbowling_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_videoram(*this, "videoram"), diff --git a/src/mame/drivers/sbrain.cpp b/src/mame/drivers/sbrain.cpp index b0feb4c9dd4..84439358b81 100644 --- a/src/mame/drivers/sbrain.cpp +++ b/src/mame/drivers/sbrain.cpp @@ -47,7 +47,7 @@ To Do: class sbrain_state : public driver_device { public: - sbrain_state(const machine_config &mconfig, device_type type, std::string tag) : + sbrain_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/sbrkout.cpp b/src/mame/drivers/sbrkout.cpp index 2359c45a738..54bbf6c4e6e 100644 --- a/src/mame/drivers/sbrkout.cpp +++ b/src/mame/drivers/sbrkout.cpp @@ -44,7 +44,7 @@ class sbrkout_state : public driver_device { public: - sbrkout_state(const machine_config &mconfig, device_type type, std::string tag) + sbrkout_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/sc1.cpp b/src/mame/drivers/sc1.cpp index da6b5519c15..5c8107ea77b 100644 --- a/src/mame/drivers/sc1.cpp +++ b/src/mame/drivers/sc1.cpp @@ -46,7 +46,7 @@ Port 82 in - upper byte = 0 thru 7 class sc1_state : public driver_device { public: - sc1_state(const machine_config &mconfig, device_type type, std::string tag) + sc1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker") diff --git a/src/mame/drivers/sc2.cpp b/src/mame/drivers/sc2.cpp index 6effde1d993..5be373bb484 100644 --- a/src/mame/drivers/sc2.cpp +++ b/src/mame/drivers/sc2.cpp @@ -20,7 +20,7 @@ class sc2_state : public driver_device { public: - sc2_state(const machine_config &mconfig, device_type type, std::string tag) + sc2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_beep(*this, "beeper") , diff --git a/src/mame/drivers/scm_500.cpp b/src/mame/drivers/scm_500.cpp index e8d4f2423d5..1e5eac486ae 100644 --- a/src/mame/drivers/scm_500.cpp +++ b/src/mame/drivers/scm_500.cpp @@ -15,7 +15,7 @@ http://www.standardchange.com/frequently-asked-questions class scm_500_state : public driver_device { public: - scm_500_state(const machine_config &mconfig, device_type type, std::string tag) + scm_500_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) // ,m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/scobra.cpp b/src/mame/drivers/scobra.cpp index b67ecc07250..08c51b55cef 100644 --- a/src/mame/drivers/scobra.cpp +++ b/src/mame/drivers/scobra.cpp @@ -45,7 +45,7 @@ Notes/Tidbits: class scobra_state : public scramble_state { public: - scobra_state(const machine_config &mconfig, device_type type, std::string tag) + scobra_state(const machine_config &mconfig, device_type type, const char *tag) : scramble_state(mconfig, type, tag), m_soundram(*this, "soundram") { } diff --git a/src/mame/drivers/scorpion.cpp b/src/mame/drivers/scorpion.cpp index 9a59168ac84..8f8dc435c68 100644 --- a/src/mame/drivers/scorpion.cpp +++ b/src/mame/drivers/scorpion.cpp @@ -14,7 +14,7 @@ class scorpion_state : public spectrum_state { public: - scorpion_state(const machine_config &mconfig, device_type type, std::string tag) + scorpion_state(const machine_config &mconfig, device_type type, const char *tag) : spectrum_state(mconfig, type, tag) , m_bank1(*this, "bank1") , m_bank2(*this, "bank2") diff --git a/src/mame/drivers/scregg.cpp b/src/mame/drivers/scregg.cpp index 3687309b118..652ebcbfacc 100644 --- a/src/mame/drivers/scregg.cpp +++ b/src/mame/drivers/scregg.cpp @@ -59,7 +59,7 @@ it as ASCII text. class scregg_state : public btime_state { public: - scregg_state(const machine_config &mconfig, device_type type, std::string tag) + scregg_state(const machine_config &mconfig, device_type type, const char *tag) : btime_state(mconfig, type, tag) { } DECLARE_WRITE8_MEMBER(scregg_irqack_w); diff --git a/src/mame/drivers/scv.cpp b/src/mame/drivers/scv.cpp index d903c201086..e1852162caf 100644 --- a/src/mame/drivers/scv.cpp +++ b/src/mame/drivers/scv.cpp @@ -17,7 +17,7 @@ class scv_state : public driver_device { public: - scv_state(const machine_config &mconfig, device_type type, std::string tag) + scv_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this,"videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/sdk80.cpp b/src/mame/drivers/sdk80.cpp index 2a64a1876a1..954bf30afeb 100644 --- a/src/mame/drivers/sdk80.cpp +++ b/src/mame/drivers/sdk80.cpp @@ -41,7 +41,7 @@ No known manual or schematic of the video board. class sdk80_state : public driver_device { public: - sdk80_state(const machine_config &mconfig, device_type type, std::string tag) + sdk80_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_usart(*this, I8251A_TAG) diff --git a/src/mame/drivers/sdk85.cpp b/src/mame/drivers/sdk85.cpp index e6f24bcb536..424a921a1ae 100644 --- a/src/mame/drivers/sdk85.cpp +++ b/src/mame/drivers/sdk85.cpp @@ -31,7 +31,7 @@ ToDo: class sdk85_state : public driver_device { public: - sdk85_state(const machine_config &mconfig, device_type type, std::string tag) + sdk85_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/sdk86.cpp b/src/mame/drivers/sdk86.cpp index 162a208784b..dd341654595 100644 --- a/src/mame/drivers/sdk86.cpp +++ b/src/mame/drivers/sdk86.cpp @@ -40,7 +40,7 @@ ToDo: class sdk86_state : public driver_device { public: - sdk86_state(const machine_config &mconfig, device_type type, std::string tag) : + sdk86_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_usart(*this, I8251_TAG) diff --git a/src/mame/drivers/seabattl.cpp b/src/mame/drivers/seabattl.cpp index 5cc956e4af1..b3f35e41ad8 100644 --- a/src/mame/drivers/seabattl.cpp +++ b/src/mame/drivers/seabattl.cpp @@ -41,7 +41,7 @@ the sound board should be fully discrete. class seabattl_state : public driver_device { public: - seabattl_state(const machine_config &mconfig, device_type type, std::string tag) + seabattl_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_videoram(*this, "videoram"), diff --git a/src/mame/drivers/sealy.cpp b/src/mame/drivers/sealy.cpp index 045dd891428..0dedecb8feb 100644 --- a/src/mame/drivers/sealy.cpp +++ b/src/mame/drivers/sealy.cpp @@ -37,7 +37,7 @@ Notes: class sealy_state : public driver_device { public: - sealy_state(const machine_config &mconfig, device_type type, std::string tag) + sealy_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette") diff --git a/src/mame/drivers/seattle.cpp b/src/mame/drivers/seattle.cpp index ac973567438..8cb68506d8c 100644 --- a/src/mame/drivers/seattle.cpp +++ b/src/mame/drivers/seattle.cpp @@ -423,7 +423,7 @@ struct widget_data class seattle_state : public driver_device { public: - seattle_state(const machine_config &mconfig, device_type type, std::string tag) + seattle_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_nvram(*this, "nvram") , m_rambase(*this, "rambase"), diff --git a/src/mame/drivers/seattlecmp.cpp b/src/mame/drivers/seattlecmp.cpp index 90dd3fadfb2..b6b06914492 100644 --- a/src/mame/drivers/seattlecmp.cpp +++ b/src/mame/drivers/seattlecmp.cpp @@ -38,7 +38,7 @@ There is a 4MHz crystal connected to the 9513. class seattle_comp_state : public driver_device { public: - seattle_comp_state(const machine_config &mconfig, device_type type, std::string tag) + seattle_comp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/sega_sawatte.cpp b/src/mame/drivers/sega_sawatte.cpp index b6ad4a8adac..9ef349c81e4 100644 --- a/src/mame/drivers/sega_sawatte.cpp +++ b/src/mame/drivers/sega_sawatte.cpp @@ -31,7 +31,7 @@ http://mamedev.emulab.it/haze/reference/sawatte/cartridge_example.jpg class sawatte_state : public driver_device { public: - sawatte_state(const machine_config &mconfig, device_type type, std::string tag) + sawatte_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) { } diff --git a/src/mame/drivers/segac2.cpp b/src/mame/drivers/segac2.cpp index 01a8e67343d..d96fd2cef69 100644 --- a/src/mame/drivers/segac2.cpp +++ b/src/mame/drivers/segac2.cpp @@ -97,7 +97,7 @@ typedef device_delegate segac2_prot_delegate; class segac2_state : public md_base_state { public: - segac2_state(const machine_config &mconfig, device_type type, std::string tag) + segac2_state(const machine_config &mconfig, device_type type, const char *tag) : md_base_state(mconfig, type, tag), m_paletteram(*this, "paletteram"), m_upd7759(*this, "upd"), diff --git a/src/mame/drivers/segacoin.cpp b/src/mame/drivers/segacoin.cpp index 5f0bc6830ab..aac1d5a2969 100644 --- a/src/mame/drivers/segacoin.cpp +++ b/src/mame/drivers/segacoin.cpp @@ -25,7 +25,7 @@ TODO: class segacoin_state : public driver_device { public: - segacoin_state(const machine_config &mconfig, device_type type, std::string tag) + segacoin_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu") diff --git a/src/mame/drivers/segae.cpp b/src/mame/drivers/segae.cpp index 3b159a1561c..77874a36fe5 100644 --- a/src/mame/drivers/segae.cpp +++ b/src/mame/drivers/segae.cpp @@ -307,7 +307,7 @@ protected: virtual void machine_start() override; public: - systeme_state(const machine_config &mconfig, device_type type, std::string tag) + systeme_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_vdp1(*this, "vdp1"), diff --git a/src/mame/drivers/segajw.cpp b/src/mame/drivers/segajw.cpp index a72f5b74306..1bd6490ebe4 100644 --- a/src/mame/drivers/segajw.cpp +++ b/src/mame/drivers/segajw.cpp @@ -40,7 +40,7 @@ Also seem to be running on the same/similar hardware: class segajw_state : public driver_device { public: - segajw_state(const machine_config &mconfig, device_type type, std::string tag) + segajw_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu") diff --git a/src/mame/drivers/segald.cpp b/src/mame/drivers/segald.cpp index 0cf39492735..08ab3f8ae9d 100644 --- a/src/mame/drivers/segald.cpp +++ b/src/mame/drivers/segald.cpp @@ -28,7 +28,7 @@ Todo: class segald_state : public driver_device { public: - segald_state(const machine_config &mconfig, device_type type, std::string tag) + segald_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_laserdisc(*this, "laserdisc") , m_obj_ram(*this, "obj_ram"), diff --git a/src/mame/drivers/segam1.cpp b/src/mame/drivers/segam1.cpp index a6284a586be..b31dbbf56fb 100644 --- a/src/mame/drivers/segam1.cpp +++ b/src/mame/drivers/segam1.cpp @@ -40,7 +40,7 @@ uses s24 style tilemaps (ram based?) class segam1_state : public driver_device { public: - segam1_state(const machine_config &mconfig, device_type type, std::string tag) + segam1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/segapico.cpp b/src/mame/drivers/segapico.cpp index 601c62e41b4..5efbeb7ceef 100644 --- a/src/mame/drivers/segapico.cpp +++ b/src/mame/drivers/segapico.cpp @@ -129,7 +129,7 @@ C = MB3514 / 9325 M36 class pico_base_state : public md_cons_state { public: - pico_base_state(const machine_config &mconfig, device_type type, std::string tag) + pico_base_state(const machine_config &mconfig, device_type type, const char *tag) : md_cons_state(mconfig, type, tag), m_sega_315_5641_pcm(*this, "315_5641"), m_io_page(*this, "PAGE"), @@ -160,7 +160,7 @@ public: class pico_state : public pico_base_state { public: - pico_state(const machine_config &mconfig, device_type type, std::string tag) + pico_state(const machine_config &mconfig, device_type type, const char *tag) : pico_base_state(mconfig, type, tag), m_picocart(*this, "picoslot") { } @@ -554,7 +554,7 @@ S-AUDIO <-| | +-----------+ +-------+ class copera_state : public pico_base_state { public: - copera_state(const machine_config &mconfig, device_type type, std::string tag) + copera_state(const machine_config &mconfig, device_type type, const char *tag) : pico_base_state(mconfig, type, tag), m_picocart(*this, "coperaslot") { } diff --git a/src/mame/drivers/segapm.cpp b/src/mame/drivers/segapm.cpp index 5c4511ef90a..9ebc711ca4e 100644 --- a/src/mame/drivers/segapm.cpp +++ b/src/mame/drivers/segapm.cpp @@ -12,7 +12,7 @@ class segapm_state : public driver_device { public: - segapm_state(const machine_config &mconfig, device_type type, std::string tag) + segapm_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/segas24.cpp b/src/mame/drivers/segas24.cpp index a5677013c68..729fee2197e 100644 --- a/src/mame/drivers/segas24.cpp +++ b/src/mame/drivers/segas24.cpp @@ -785,7 +785,7 @@ WRITE16_MEMBER( segas24_state::mlatch_w ) int i; UINT8 mxor = 0; if(!mlatch_table) { - logerror("Protection: magic latch accessed but no table loaded (%s:%x)\n", space.device().tag().c_str(), space.device().safe_pc()); + logerror("Protection: magic latch accessed but no table loaded (%s:%x)\n", space.device().tag(), space.device().safe_pc()); return; } @@ -796,9 +796,9 @@ WRITE16_MEMBER( segas24_state::mlatch_w ) if(mlatch & (1<*io_w)(offset, data); @@ -1073,7 +1073,7 @@ WRITE16_MEMBER( segas24_state::sys16_io_w ) io_dir = data; break; default: - logerror("IO control write %02x, %02x (%s:%x)\n", offset, data & 0xff, space.device().tag().c_str(), space.device().safe_pc()); + logerror("IO control write %02x, %02x (%s:%x)\n", offset, data & 0xff, space.device().tag(), space.device().safe_pc()); } } } diff --git a/src/mame/drivers/segas32.cpp b/src/mame/drivers/segas32.cpp index 0a9d4a13484..db1fb7a3d24 100644 --- a/src/mame/drivers/segas32.cpp +++ b/src/mame/drivers/segas32.cpp @@ -537,7 +537,7 @@ orunners: Interleaved with the dj and << >> buttons is the data the drives the const device_type SEGA_S32_PCB = &device_creator; -segas32_state::segas32_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +segas32_state::segas32_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SEGA_S32_PCB, "Sega System 32 PCB", tag, owner, clock, "segas32_pcb", __FILE__), m_z80_shared_ram(*this,"z80_shared_ram"), m_ga2_dpram(*this,"ga2_dpram"), @@ -2521,7 +2521,7 @@ MACHINE_CONFIG_END const device_type SEGA_S32_REGULAR_DEVICE = &device_creator; -segas32_regular_state::segas32_regular_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +segas32_regular_state::segas32_regular_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : segas32_state(mconfig, tag, owner, clock) { } @@ -2545,7 +2545,7 @@ MACHINE_CONFIG_END const device_type SEGA_S32_V25_DEVICE = &device_creator; -segas32_v25_state::segas32_v25_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +segas32_v25_state::segas32_v25_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : segas32_state(mconfig, tag, owner, clock) { } @@ -2608,7 +2608,7 @@ MACHINE_CONFIG_END const device_type SEGA_MULTI32_DEVICE = &device_creator; -sega_multi32_state::sega_multi32_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sega_multi32_state::sega_multi32_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : segas32_state(mconfig, tag, owner, clock) { } @@ -2622,7 +2622,7 @@ machine_config_constructor sega_multi32_state::device_mconfig_additions() const class segas32_new_state : public driver_device { public: - segas32_new_state(const machine_config &mconfig, device_type type, std::string tag) + segas32_new_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_mainpcb(*this, "mainpcb"), m_slavepcb(*this, "slavepcb") diff --git a/src/mame/drivers/segaufo.cpp b/src/mame/drivers/segaufo.cpp index ee74ee9aabd..1263d6daafb 100644 --- a/src/mame/drivers/segaufo.cpp +++ b/src/mame/drivers/segaufo.cpp @@ -73,7 +73,7 @@ class ufo_state : public driver_device { public: - ufo_state(const machine_config &mconfig, device_type type, std::string tag) + ufo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_io1(*this, "io1"), diff --git a/src/mame/drivers/segaxbd.cpp b/src/mame/drivers/segaxbd.cpp index 924366868ed..8366d3b10b2 100644 --- a/src/mame/drivers/segaxbd.cpp +++ b/src/mame/drivers/segaxbd.cpp @@ -272,7 +272,7 @@ ROMs: const device_type SEGA_XBD_PCB = &device_creator; -segaxbd_state::segaxbd_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +segaxbd_state::segaxbd_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SEGA_XBD_PCB, "Sega X-Board PCB", tag, owner, clock, "segaxbd_pcb", __FILE__), m_maincpu(*this, "maincpu"), m_subcpu(*this, "subcpu"), @@ -343,7 +343,7 @@ void segaxbd_state::device_reset() class segaxbd_new_state : public driver_device { public: - segaxbd_new_state(const machine_config &mconfig, device_type type, std::string tag) + segaxbd_new_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_mainpcb(*this, "mainpcb") { @@ -365,7 +365,7 @@ public: class segaxbd_new_state_double : public segaxbd_new_state { public: - segaxbd_new_state_double(const machine_config &mconfig, device_type type, std::string tag) + segaxbd_new_state_double(const machine_config &mconfig, device_type type, const char *tag) : segaxbd_new_state(mconfig, type, tag), m_subpcb(*this, "subpcb") { @@ -1867,7 +1867,7 @@ MACHINE_CONFIG_END const device_type SEGA_XBD_REGULAR_DEVICE = &device_creator; -segaxbd_regular_state::segaxbd_regular_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +segaxbd_regular_state::segaxbd_regular_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : segaxbd_state(mconfig, tag, owner, clock) { } @@ -1893,7 +1893,7 @@ MACHINE_CONFIG_END const device_type SEGA_XBD_FD1094_DEVICE = &device_creator; -segaxbd_fd1094_state::segaxbd_fd1094_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +segaxbd_fd1094_state::segaxbd_fd1094_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : segaxbd_state(mconfig, tag, owner, clock) { } @@ -1935,7 +1935,7 @@ MACHINE_CONFIG_END const device_type SEGA_XBD_LASTSURV_FD1094_DEVICE = &device_creator; -segaxbd_lastsurv_fd1094_state::segaxbd_lastsurv_fd1094_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +segaxbd_lastsurv_fd1094_state::segaxbd_lastsurv_fd1094_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : segaxbd_state(mconfig, tag, owner, clock) { } @@ -1965,7 +1965,7 @@ MACHINE_CONFIG_END const device_type SEGA_XBD_LASTSURV_DEVICE = &device_creator; -segaxbd_lastsurv_state::segaxbd_lastsurv_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +segaxbd_lastsurv_state::segaxbd_lastsurv_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : segaxbd_state(mconfig, tag, owner, clock) { } @@ -2008,7 +2008,7 @@ MACHINE_CONFIG_END const device_type SEGA_XBD_SMGP_FD1094_DEVICE = &device_creator; -segaxbd_smgp_fd1094_state::segaxbd_smgp_fd1094_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +segaxbd_smgp_fd1094_state::segaxbd_smgp_fd1094_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : segaxbd_state(mconfig, tag, owner, clock) { } @@ -2051,7 +2051,7 @@ MACHINE_CONFIG_END const device_type SEGA_XBD_SMGP_DEVICE = &device_creator; -segaxbd_smgp_state::segaxbd_smgp_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +segaxbd_smgp_state::segaxbd_smgp_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : segaxbd_state(mconfig, tag, owner, clock) { } @@ -2077,7 +2077,7 @@ MACHINE_CONFIG_END const device_type SEGA_XBD_RASCOT_DEVICE = &device_creator; -segaxbd_rascot_state::segaxbd_rascot_state(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +segaxbd_rascot_state::segaxbd_rascot_state(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : segaxbd_state(mconfig, tag, owner, clock) { } diff --git a/src/mame/drivers/selz80.cpp b/src/mame/drivers/selz80.cpp index c4e6d21b1a0..2666bf7d59c 100644 --- a/src/mame/drivers/selz80.cpp +++ b/src/mame/drivers/selz80.cpp @@ -37,7 +37,7 @@ ToDo: class selz80_state : public driver_device { public: - selz80_state(const machine_config &mconfig, device_type type, std::string tag) + selz80_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_p_ram(*this, "ram") diff --git a/src/mame/drivers/sengokmj.cpp b/src/mame/drivers/sengokmj.cpp index 523cd4bf5a9..3a95d926d9e 100644 --- a/src/mame/drivers/sengokmj.cpp +++ b/src/mame/drivers/sengokmj.cpp @@ -64,7 +64,7 @@ RSSENGO2.72 chr. class sengokmj_state : public driver_device { public: - sengokmj_state(const machine_config &mconfig, device_type type, std::string tag) + sengokmj_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/seta2.cpp b/src/mame/drivers/seta2.cpp index 866207b49a7..15ddc8f6622 100644 --- a/src/mame/drivers/seta2.cpp +++ b/src/mame/drivers/seta2.cpp @@ -527,7 +527,7 @@ class funcube_touchscreen_device : public device_t, public device_serial_interface { public: - funcube_touchscreen_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + funcube_touchscreen_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ioport_constructor device_input_ports() const override; template static devcb_base &set_tx_cb(device_t &device, _Object object) { return downcast(device).m_tx_cb.set_callback(object); } @@ -564,7 +564,7 @@ static INPUT_PORTS_START( funcube_touchscreen ) PORT_BIT( 0xff, 0x00, IPT_LIGHTGUN_Y ) PORT_MINMAX(0,0x46+1) PORT_CROSSHAIR(Y, -(0xf0-8.0)/0xf0*0x047/0x46, -1.0/0x46, 0) PORT_SENSITIVITY(45) PORT_KEYDELTA(5) PORT_REVERSE INPUT_PORTS_END -funcube_touchscreen_device::funcube_touchscreen_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +funcube_touchscreen_device::funcube_touchscreen_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, FUNCUBE_TOUCHSCREEN, "Funcube Touchscreen", tag, owner, clock, "funcube_touchscrene", __FILE__), device_serial_interface(mconfig, *this), m_tx_cb(*this), diff --git a/src/mame/drivers/sfbonus.cpp b/src/mame/drivers/sfbonus.cpp index 23ec46a9780..46843e34271 100644 --- a/src/mame/drivers/sfbonus.cpp +++ b/src/mame/drivers/sfbonus.cpp @@ -283,7 +283,7 @@ MH86171 Color Palette RAMDAC class sfbonus_state : public driver_device { public: - sfbonus_state(const machine_config &mconfig, device_type type, std::string tag) + sfbonus_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/sfcbox.cpp b/src/mame/drivers/sfcbox.cpp index 944c74b706a..d8c8534e5ae 100644 --- a/src/mame/drivers/sfcbox.cpp +++ b/src/mame/drivers/sfcbox.cpp @@ -127,7 +127,7 @@ How does the Super Famicom Box operates class sfcbox_state : public snes_state { public: - sfcbox_state(const machine_config &mconfig, device_type type, std::string tag) + sfcbox_state(const machine_config &mconfig, device_type type, const char *tag) : snes_state(mconfig, type, tag), m_bios(*this, "bios"), m_mb90082(*this,"mb90082"), diff --git a/src/mame/drivers/sfkick.cpp b/src/mame/drivers/sfkick.cpp index 9c00afe6e5a..e94210e21fb 100644 --- a/src/mame/drivers/sfkick.cpp +++ b/src/mame/drivers/sfkick.cpp @@ -162,7 +162,7 @@ DIPSW-2 class sfkick_state : public driver_device { public: - sfkick_state(const machine_config &mconfig, device_type type, std::string tag) + sfkick_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_v9938(*this, "v9938"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/sg1000a.cpp b/src/mame/drivers/sg1000a.cpp index 0fe2f55055f..509146b18b9 100644 --- a/src/mame/drivers/sg1000a.cpp +++ b/src/mame/drivers/sg1000a.cpp @@ -124,7 +124,7 @@ CN4 CN5 class sg1000a_state : public driver_device { public: - sg1000a_state(const machine_config &mconfig, device_type type, std::string tag) + sg1000a_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_decrypted_opcodes(*this, "decrypted_opcodes") { } diff --git a/src/mame/drivers/sh4robot.cpp b/src/mame/drivers/sh4robot.cpp index ff829c87105..5ebe20f7530 100644 --- a/src/mame/drivers/sh4robot.cpp +++ b/src/mame/drivers/sh4robot.cpp @@ -33,7 +33,7 @@ class sh4robot_state : public driver_device { public: - sh4robot_state(const machine_config &mconfig, device_type type, std::string tag) + sh4robot_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/shanghai.cpp b/src/mame/drivers/shanghai.cpp index 68f37121809..1aeb26c541f 100644 --- a/src/mame/drivers/shanghai.cpp +++ b/src/mame/drivers/shanghai.cpp @@ -30,7 +30,7 @@ displayed. class shanghai_state : public driver_device { public: - shanghai_state(const machine_config &mconfig, device_type type, std::string tag) + shanghai_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_hd63484(*this, "hd63484") { } diff --git a/src/mame/drivers/shougi.cpp b/src/mame/drivers/shougi.cpp index c2d04c30d64..3d8a4a56374 100644 --- a/src/mame/drivers/shougi.cpp +++ b/src/mame/drivers/shougi.cpp @@ -87,7 +87,7 @@ PROM : Type MB7051 class shougi_state : public driver_device { public: - shougi_state(const machine_config &mconfig, device_type type, std::string tag) + shougi_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/drivers/shtzone.cpp b/src/mame/drivers/shtzone.cpp index 32e51a0e847..59307b24c42 100644 --- a/src/mame/drivers/shtzone.cpp +++ b/src/mame/drivers/shtzone.cpp @@ -55,7 +55,7 @@ Notes: class shtzone_state : public driver_device { public: - shtzone_state(const machine_config &mconfig, device_type type, std::string tag) + shtzone_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) { } virtual void machine_start() override; virtual void machine_reset() override; diff --git a/src/mame/drivers/sigmab52.cpp b/src/mame/drivers/sigmab52.cpp index c43e1498578..75299bfd274 100644 --- a/src/mame/drivers/sigmab52.cpp +++ b/src/mame/drivers/sigmab52.cpp @@ -139,7 +139,7 @@ class sigmab52_state : public driver_device { public: - sigmab52_state(const machine_config &mconfig, device_type type, std::string tag) + sigmab52_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/sigmab98.cpp b/src/mame/drivers/sigmab98.cpp index bcf3b037f80..e0cdabeedaf 100644 --- a/src/mame/drivers/sigmab98.cpp +++ b/src/mame/drivers/sigmab98.cpp @@ -121,7 +121,7 @@ Notes: class sigmab98_state : public driver_device { public: - sigmab98_state(const machine_config &mconfig, device_type type, std::string tag) + sigmab98_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_buffered_spriteram(*this, "spriteram"), diff --git a/src/mame/drivers/silvmil.cpp b/src/mame/drivers/silvmil.cpp index 2d796c98ac3..bff90fc7b16 100644 --- a/src/mame/drivers/silvmil.cpp +++ b/src/mame/drivers/silvmil.cpp @@ -34,7 +34,7 @@ Very likely to be 'whatever crystals we had on hand which were close enough for class silvmil_state : public driver_device { public: - silvmil_state(const machine_config &mconfig, device_type type, std::string tag) + silvmil_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/sitcom.cpp b/src/mame/drivers/sitcom.cpp index 4c7bcff671c..d257bd69076 100644 --- a/src/mame/drivers/sitcom.cpp +++ b/src/mame/drivers/sitcom.cpp @@ -40,7 +40,7 @@ class sitcom_state : public driver_device { public: - sitcom_state(const machine_config &mconfig, device_type type, std::string tag) + sitcom_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ds0(*this, "ds0"), diff --git a/src/mame/drivers/skeetsht.cpp b/src/mame/drivers/skeetsht.cpp index 59d935c0f05..cb1b7a054c5 100644 --- a/src/mame/drivers/skeetsht.cpp +++ b/src/mame/drivers/skeetsht.cpp @@ -28,7 +28,7 @@ class skeetsht_state : public driver_device { public: - skeetsht_state(const machine_config &mconfig, device_type type, std::string tag) + skeetsht_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_tlc34076(*this, "tlc34076"), m_tms_vram(*this, "tms_vram"), diff --git a/src/mame/drivers/skimaxx.cpp b/src/mame/drivers/skimaxx.cpp index 7a1bb30c449..439f0cc874a 100644 --- a/src/mame/drivers/skimaxx.cpp +++ b/src/mame/drivers/skimaxx.cpp @@ -45,7 +45,7 @@ class skimaxx_state : public driver_device { public: - skimaxx_state(const machine_config &mconfig, device_type type, std::string tag) + skimaxx_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "subcpu"), diff --git a/src/mame/drivers/skyarmy.cpp b/src/mame/drivers/skyarmy.cpp index 2cb6292cdf0..525b33ff8cb 100644 --- a/src/mame/drivers/skyarmy.cpp +++ b/src/mame/drivers/skyarmy.cpp @@ -34,7 +34,7 @@ class skyarmy_state : public driver_device { public: - skyarmy_state(const machine_config &mconfig, device_type type, std::string tag) + skyarmy_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/skylncr.cpp b/src/mame/drivers/skylncr.cpp index 76ec91b18a7..514df8d8100 100644 --- a/src/mame/drivers/skylncr.cpp +++ b/src/mame/drivers/skylncr.cpp @@ -99,7 +99,7 @@ class skylncr_state : public driver_device { public: - skylncr_state(const machine_config &mconfig, device_type type, std::string tag) + skylncr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/slc1.cpp b/src/mame/drivers/slc1.cpp index f92bea1cda0..f367e3b1705 100644 --- a/src/mame/drivers/slc1.cpp +++ b/src/mame/drivers/slc1.cpp @@ -57,7 +57,7 @@ Pasting doesn't work, but if it did... class slc1_state : public driver_device { public: - slc1_state(const machine_config &mconfig, device_type type, std::string tag) + slc1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker") diff --git a/src/mame/drivers/sleic.cpp b/src/mame/drivers/sleic.cpp index bb5db385349..a78e6b1e604 100644 --- a/src/mame/drivers/sleic.cpp +++ b/src/mame/drivers/sleic.cpp @@ -32,7 +32,7 @@ class sleic_state : public driver_device { public: - sleic_state(const machine_config &mconfig, device_type type, std::string tag) + sleic_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/slicer.cpp b/src/mame/drivers/slicer.cpp index e4720c8fe55..ce294cfcea4 100644 --- a/src/mame/drivers/slicer.cpp +++ b/src/mame/drivers/slicer.cpp @@ -16,7 +16,7 @@ class slicer_state : public driver_device { public: - slicer_state(const machine_config &mconfig, device_type type, std::string tag) : + slicer_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_fdc(*this, "fdc"), m_sasi(*this, "sasi") diff --git a/src/mame/drivers/sliver.cpp b/src/mame/drivers/sliver.cpp index 8a94a2074f3..db675b6ab99 100644 --- a/src/mame/drivers/sliver.cpp +++ b/src/mame/drivers/sliver.cpp @@ -81,7 +81,7 @@ Notes: class sliver_state : public driver_device { public: - sliver_state(const machine_config &mconfig, device_type type, std::string tag) + sliver_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/slotcarn.cpp b/src/mame/drivers/slotcarn.cpp index a736bedfb83..643f696b7fe 100644 --- a/src/mame/drivers/slotcarn.cpp +++ b/src/mame/drivers/slotcarn.cpp @@ -35,7 +35,7 @@ class slotcarn_state : public driver_device { public: - slotcarn_state(const machine_config &mconfig, device_type type, std::string tag) + slotcarn_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_backup_ram(*this, "backup_ram"), m_ram_attr(*this, "raattr"), diff --git a/src/mame/drivers/sm1800.cpp b/src/mame/drivers/sm1800.cpp index 63d80ce4664..f4baab35368 100644 --- a/src/mame/drivers/sm1800.cpp +++ b/src/mame/drivers/sm1800.cpp @@ -25,7 +25,7 @@ class sm1800_state : public driver_device { public: - sm1800_state(const machine_config &mconfig, device_type type, std::string tag) + sm1800_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_uart(*this, "i8251"), diff --git a/src/mame/drivers/smc777.cpp b/src/mame/drivers/smc777.cpp index aea71a4b232..c4d6902b299 100644 --- a/src/mame/drivers/smc777.cpp +++ b/src/mame/drivers/smc777.cpp @@ -50,7 +50,7 @@ class smc777_state : public driver_device { public: - smc777_state(const machine_config &mconfig, device_type type, std::string tag) + smc777_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_crtc(*this, "crtc"), diff --git a/src/mame/drivers/smsmcorp.cpp b/src/mame/drivers/smsmcorp.cpp index 8c3d428ea17..50f15e55cc1 100644 --- a/src/mame/drivers/smsmcorp.cpp +++ b/src/mame/drivers/smsmcorp.cpp @@ -225,7 +225,7 @@ U145 1Brown PAL14H4CN class smsmfg_state : public driver_device { public: - smsmfg_state(const machine_config &mconfig, device_type type, std::string tag) + smsmfg_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_screen(*this, "screen") { } diff --git a/src/mame/drivers/snes.cpp b/src/mame/drivers/snes.cpp index 0fb9bb97b59..55f81e89d75 100644 --- a/src/mame/drivers/snes.cpp +++ b/src/mame/drivers/snes.cpp @@ -40,7 +40,7 @@ class snes_console_state : public snes_state { public: - snes_console_state(const machine_config &mconfig, device_type type, std::string tag) + snes_console_state(const machine_config &mconfig, device_type type, const char *tag) : snes_state(mconfig, type, tag) , m_ctrl1(*this, "ctrl1") , m_ctrl2(*this, "ctrl2") diff --git a/src/mame/drivers/snesb.cpp b/src/mame/drivers/snesb.cpp index 4ba27b621b9..e5980a70314 100644 --- a/src/mame/drivers/snesb.cpp +++ b/src/mame/drivers/snesb.cpp @@ -152,7 +152,7 @@ Iron PCB (same as Final Fight 2?) class snesb_state : public snes_state { public: - snesb_state(const machine_config &mconfig, device_type type, std::string tag) + snesb_state(const machine_config &mconfig, device_type type, const char *tag) : snes_state(mconfig, type, tag) { } std::unique_ptr m_shared_ram; diff --git a/src/mame/drivers/socrates.cpp b/src/mame/drivers/socrates.cpp index 966f7e5a999..ca422bc5d8b 100644 --- a/src/mame/drivers/socrates.cpp +++ b/src/mame/drivers/socrates.cpp @@ -98,7 +98,7 @@ public: TIMER_CLEAR_IRQ }; - socrates_state(const machine_config &mconfig, device_type type, std::string tag) + socrates_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_sound(*this, "soc_snd"), @@ -171,7 +171,7 @@ protected: class iqunlim_state : public socrates_state { public: - iqunlim_state(const machine_config &mconfig, device_type type, std::string tag) + iqunlim_state(const machine_config &mconfig, device_type type, const char *tag) : socrates_state(mconfig, type, tag), m_bank1(*this, "bank1"), m_bank2(*this, "bank2"), diff --git a/src/mame/drivers/sothello.cpp b/src/mame/drivers/sothello.cpp index 6016c86a669..c72767f767b 100644 --- a/src/mame/drivers/sothello.cpp +++ b/src/mame/drivers/sothello.cpp @@ -47,7 +47,7 @@ OSC : 8.0000MHz(X1) 21.477 MHz(X2) 384kHz(X3) class sothello_state : public driver_device { public: - sothello_state(const machine_config &mconfig, device_type type, std::string tag) + sothello_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_v9938(*this, "v9938") , m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/spaceg.cpp b/src/mame/drivers/spaceg.cpp index 80678652642..e7b81a0ac7b 100644 --- a/src/mame/drivers/spaceg.cpp +++ b/src/mame/drivers/spaceg.cpp @@ -178,7 +178,7 @@ Notes: class spaceg_state : public driver_device { public: - spaceg_state(const machine_config &mconfig, device_type type, std::string tag) + spaceg_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_colorram(*this, "colorram"), m_videoram(*this, "videoram"), diff --git a/src/mame/drivers/spc1000.cpp b/src/mame/drivers/spc1000.cpp index 447ffe44af5..c64a9effff6 100644 --- a/src/mame/drivers/spc1000.cpp +++ b/src/mame/drivers/spc1000.cpp @@ -147,7 +147,7 @@ NOTE: 2014-09-13: added code from someone's modified MESS driver for floppy class spc1000_state : public driver_device { public: - spc1000_state(const machine_config &mconfig, device_type type, std::string tag) + spc1000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_vdg(*this, "mc6847") diff --git a/src/mame/drivers/spc1500.cpp b/src/mame/drivers/spc1500.cpp index c56b41661d9..2017c27f3e7 100644 --- a/src/mame/drivers/spc1500.cpp +++ b/src/mame/drivers/spc1500.cpp @@ -237,7 +237,7 @@ TODO: class spc1500_state : public driver_device { public: - spc1500_state(const machine_config &mconfig, device_type type, std::string tag) + spc1500_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_vdg(*this, "mc6845") diff --git a/src/mame/drivers/spectra.cpp b/src/mame/drivers/spectra.cpp index f09e607ead9..3bcc3054252 100644 --- a/src/mame/drivers/spectra.cpp +++ b/src/mame/drivers/spectra.cpp @@ -46,7 +46,7 @@ ToDo: class spectra_state : public genpin_class { public: - spectra_state(const machine_config &mconfig, device_type type, std::string tag) + spectra_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_snsnd(*this, "snsnd") diff --git a/src/mame/drivers/speglsht.cpp b/src/mame/drivers/speglsht.cpp index 3a326b79473..74aee52aee1 100644 --- a/src/mame/drivers/speglsht.cpp +++ b/src/mame/drivers/speglsht.cpp @@ -113,7 +113,7 @@ Notes: class speglsht_state : public driver_device { public: - speglsht_state(const machine_config &mconfig, device_type type, std::string tag) + speglsht_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_shared(*this, "shared"), m_framebuffer(*this, "framebuffer"), diff --git a/src/mame/drivers/spinb.cpp b/src/mame/drivers/spinb.cpp index ff63a3f702f..77c995501b3 100644 --- a/src/mame/drivers/spinb.cpp +++ b/src/mame/drivers/spinb.cpp @@ -40,7 +40,7 @@ ToDo: class spinb_state : public genpin_class { public: - spinb_state(const machine_config &mconfig, device_type type, std::string tag) + spinb_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_audiocpu(*this, "audiocpu") diff --git a/src/mame/drivers/splus.cpp b/src/mame/drivers/splus.cpp index e16eed9b257..195303ac413 100644 --- a/src/mame/drivers/splus.cpp +++ b/src/mame/drivers/splus.cpp @@ -33,7 +33,7 @@ class splus_state : public driver_device { public: - splus_state(const machine_config &mconfig, device_type type, std::string tag) + splus_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_cmosl_ram(*this, "cmosl"), m_cmosh_ram(*this, "cmosh"), diff --git a/src/mame/drivers/spoker.cpp b/src/mame/drivers/spoker.cpp index a2a01911c7d..6c7b74529e9 100644 --- a/src/mame/drivers/spoker.cpp +++ b/src/mame/drivers/spoker.cpp @@ -27,7 +27,7 @@ TODO: class spoker_state : public driver_device { public: - spoker_state(const machine_config &mconfig, device_type type, std::string tag) + spoker_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/spool99.cpp b/src/mame/drivers/spool99.cpp index 26f449aaa55..7b331e14ccd 100644 --- a/src/mame/drivers/spool99.cpp +++ b/src/mame/drivers/spool99.cpp @@ -99,7 +99,7 @@ Note class spool99_state : public driver_device { public: - spool99_state(const machine_config &mconfig, device_type type, std::string tag) + spool99_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_eeprom(*this, "eeprom"), diff --git a/src/mame/drivers/squale.cpp b/src/mame/drivers/squale.cpp index 39b85285bd2..81f215526b4 100644 --- a/src/mame/drivers/squale.cpp +++ b/src/mame/drivers/squale.cpp @@ -73,7 +73,7 @@ class squale_state : public driver_device { public: - squale_state(const machine_config &mconfig, device_type type, std::string tag) + squale_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_acia(*this, "ef6850") , m_ay8910(*this, "ay8910") diff --git a/src/mame/drivers/srmp5.cpp b/src/mame/drivers/srmp5.cpp index ef6b4c23cc0..1ecfd8a1f0a 100644 --- a/src/mame/drivers/srmp5.cpp +++ b/src/mame/drivers/srmp5.cpp @@ -66,7 +66,7 @@ This is not a bug (real machine behaves the same). class srmp5_state : public driver_device { public: - srmp5_state(const machine_config &mconfig, device_type type, std::string tag) + srmp5_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_gfxdecode(*this, "gfxdecode"), m_palette(*this, "palette"), diff --git a/src/mame/drivers/srmp6.cpp b/src/mame/drivers/srmp6.cpp index 91a1dac4a96..d6a1eb8af64 100644 --- a/src/mame/drivers/srmp6.cpp +++ b/src/mame/drivers/srmp6.cpp @@ -75,7 +75,7 @@ Dumped 06/15/2000 class srmp6_state : public driver_device { public: - srmp6_state(const machine_config &mconfig, device_type type, std::string tag) + srmp6_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_sprram(*this, "sprram"), m_chrram(*this, "chrram"), diff --git a/src/mame/drivers/ssem.cpp b/src/mame/drivers/ssem.cpp index 6d726f8ce3b..56090713130 100644 --- a/src/mame/drivers/ssem.cpp +++ b/src/mame/drivers/ssem.cpp @@ -14,7 +14,7 @@ class ssem_state : public driver_device { public: - ssem_state(const machine_config &mconfig, device_type type, std::string tag) + ssem_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_store(*this, "store"), diff --git a/src/mame/drivers/ssfindo.cpp b/src/mame/drivers/ssfindo.cpp index 8137f6c5f14..ae392906118 100644 --- a/src/mame/drivers/ssfindo.cpp +++ b/src/mame/drivers/ssfindo.cpp @@ -217,7 +217,7 @@ enum class ssfindo_state : public driver_device { public: - ssfindo_state(const machine_config &mconfig, device_type type, std::string tag) + ssfindo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette"), diff --git a/src/mame/drivers/sshot.cpp b/src/mame/drivers/sshot.cpp index 174722abdfc..97075424ff0 100644 --- a/src/mame/drivers/sshot.cpp +++ b/src/mame/drivers/sshot.cpp @@ -171,7 +171,7 @@ Given CS numbers this is released after the other GunChamp class supershot_state : public driver_device { public: - supershot_state(const machine_config &mconfig, device_type type, std::string tag) + supershot_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/ssingles.cpp b/src/mame/drivers/ssingles.cpp index 5da182aa15e..fddf894e050 100644 --- a/src/mame/drivers/ssingles.cpp +++ b/src/mame/drivers/ssingles.cpp @@ -157,7 +157,7 @@ Dumped by Chack'n class ssingles_state : public driver_device { public: - ssingles_state(const machine_config &mconfig, device_type type, std::string tag) + ssingles_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/sstrangr.cpp b/src/mame/drivers/sstrangr.cpp index fdd53ae7b3c..c0d114c0abf 100644 --- a/src/mame/drivers/sstrangr.cpp +++ b/src/mame/drivers/sstrangr.cpp @@ -16,7 +16,7 @@ class sstrangr_state : public driver_device { public: - sstrangr_state(const machine_config &mconfig, device_type type, std::string tag) + sstrangr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette"), diff --git a/src/mame/drivers/st17xx.cpp b/src/mame/drivers/st17xx.cpp index c2dba467366..f3ba9428aea 100644 --- a/src/mame/drivers/st17xx.cpp +++ b/src/mame/drivers/st17xx.cpp @@ -45,7 +45,7 @@ class st17xx_state : public driver_device { public: - st17xx_state(const machine_config &mconfig, device_type type, std::string tag) + st17xx_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) { } virtual void machine_start() override; diff --git a/src/mame/drivers/st_mp100.cpp b/src/mame/drivers/st_mp100.cpp index 2927e008b81..7319daffee8 100644 --- a/src/mame/drivers/st_mp100.cpp +++ b/src/mame/drivers/st_mp100.cpp @@ -24,7 +24,7 @@ ToDo: class st_mp100_state : public genpin_class { public: - st_mp100_state(const machine_config &mconfig, device_type type, std::string tag) + st_mp100_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_pia_u10(*this, "pia_u10") diff --git a/src/mame/drivers/st_mp200.cpp b/src/mame/drivers/st_mp200.cpp index 175ce486d1e..1a15b5dc249 100644 --- a/src/mame/drivers/st_mp200.cpp +++ b/src/mame/drivers/st_mp200.cpp @@ -27,7 +27,7 @@ ToDo: class st_mp200_state : public genpin_class { public: - st_mp200_state(const machine_config &mconfig, device_type type, std::string tag) + st_mp200_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_s14001a(*this, "speech") diff --git a/src/mame/drivers/statriv2.cpp b/src/mame/drivers/statriv2.cpp index 2d57cece8e8..6546425f10c 100644 --- a/src/mame/drivers/statriv2.cpp +++ b/src/mame/drivers/statriv2.cpp @@ -81,7 +81,7 @@ quaquiz2 - no inputs, needs NVRAM class statriv2_state : public driver_device { public: - statriv2_state(const machine_config &mconfig, device_type type, std::string tag) + statriv2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_tms(*this, "tms"), diff --git a/src/mame/drivers/stellafr.cpp b/src/mame/drivers/stellafr.cpp index fcecf713e22..af12d541c47 100644 --- a/src/mame/drivers/stellafr.cpp +++ b/src/mame/drivers/stellafr.cpp @@ -17,7 +17,7 @@ Possibly related to ADP hardware? class stellafr_state : public driver_device { public: - stellafr_state(const machine_config &mconfig, device_type type, std::string tag) + stellafr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/stratos.cpp b/src/mame/drivers/stratos.cpp index a27df35718f..62de51b640c 100644 --- a/src/mame/drivers/stratos.cpp +++ b/src/mame/drivers/stratos.cpp @@ -13,7 +13,7 @@ class stratos_state : public driver_device { public: - stratos_state(const machine_config &mconfig, device_type type, std::string tag) + stratos_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), maincpu(*this, "maincpu"), nvram(*this, "nvram"), diff --git a/src/mame/drivers/studio2.cpp b/src/mame/drivers/studio2.cpp index 590ca454ccb..99b8cf5738b 100644 --- a/src/mame/drivers/studio2.cpp +++ b/src/mame/drivers/studio2.cpp @@ -203,7 +203,7 @@ class studio2_state : public driver_device { public: - studio2_state(const machine_config &mconfig, device_type type, std::string tag) + studio2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, CDP1802_TAG), m_beeper(*this, "beeper"), @@ -248,7 +248,7 @@ public: class visicom_state : public studio2_state { public: - visicom_state(const machine_config &mconfig, device_type type, std::string tag) + visicom_state(const machine_config &mconfig, device_type type, const char *tag) : studio2_state(mconfig, type, tag), m_color0_ram(*this, "color0_ram"), m_color1_ram(*this, "color1_ram") @@ -265,7 +265,7 @@ public: class mpt02_state : public studio2_state { public: - mpt02_state(const machine_config &mconfig, device_type type, std::string tag) + mpt02_state(const machine_config &mconfig, device_type type, const char *tag) : studio2_state(mconfig, type, tag), m_cti(*this, CDP1864_TAG), m_color_ram(*this, "color_ram") diff --git a/src/mame/drivers/stuntair.cpp b/src/mame/drivers/stuntair.cpp index f5019cdfc3b..749416a13c5 100644 --- a/src/mame/drivers/stuntair.cpp +++ b/src/mame/drivers/stuntair.cpp @@ -86,7 +86,7 @@ Bprom dump by f205v class stuntair_state : public driver_device { public: - stuntair_state(const machine_config &mconfig, device_type type, std::string tag) + stuntair_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/su2000.cpp b/src/mame/drivers/su2000.cpp index 273a88a0f7e..2beaf6623ca 100644 --- a/src/mame/drivers/su2000.cpp +++ b/src/mame/drivers/su2000.cpp @@ -63,7 +63,7 @@ class su2000_state : public pcat_base_state { public: - su2000_state(const machine_config &mconfig, device_type type, std::string tag) + su2000_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag){ } std::unique_ptr m_pc_ram; diff --git a/src/mame/drivers/sub.cpp b/src/mame/drivers/sub.cpp index 0c5658b684d..9b2487ce495 100644 --- a/src/mame/drivers/sub.cpp +++ b/src/mame/drivers/sub.cpp @@ -117,7 +117,7 @@ PCB2 (Top board, CPU board) class sub_state : public driver_device { public: - sub_state(const machine_config &mconfig, device_type type, std::string tag) + sub_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/drivers/subhuntr.cpp b/src/mame/drivers/subhuntr.cpp index 5335497355d..aaa95c647d5 100644 --- a/src/mame/drivers/subhuntr.cpp +++ b/src/mame/drivers/subhuntr.cpp @@ -26,7 +26,7 @@ QTY Type position class subhuntr_state : public driver_device { public: - subhuntr_state(const machine_config &mconfig, device_type type, std::string tag) + subhuntr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { diff --git a/src/mame/drivers/subsino.cpp b/src/mame/drivers/subsino.cpp index 5b884f68e6d..716d1955f2c 100644 --- a/src/mame/drivers/subsino.cpp +++ b/src/mame/drivers/subsino.cpp @@ -237,7 +237,7 @@ To Do: class subsino_state : public driver_device { public: - subsino_state(const machine_config &mconfig, device_type type, std::string tag) + subsino_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_colorram(*this, "colorram"), m_videoram(*this, "videoram"), diff --git a/src/mame/drivers/subsino2.cpp b/src/mame/drivers/subsino2.cpp index ec0aed454b7..62a727e4b8f 100644 --- a/src/mame/drivers/subsino2.cpp +++ b/src/mame/drivers/subsino2.cpp @@ -78,7 +78,7 @@ struct layer_t class subsino2_state : public driver_device { public: - subsino2_state(const machine_config &mconfig, device_type type, std::string tag) + subsino2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_outputs16(*this, "outputs16"), m_outputs(*this, "outputs"), diff --git a/src/mame/drivers/summit.cpp b/src/mame/drivers/summit.cpp index 9622d4652d1..9058af8401e 100644 --- a/src/mame/drivers/summit.cpp +++ b/src/mame/drivers/summit.cpp @@ -24,7 +24,7 @@ needs inputs, prom decode, sound, artwork (lamps), probably some irq masking and class summit_state : public driver_device { public: - summit_state(const machine_config &mconfig, device_type type, std::string tag) + summit_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_attr(*this, "attr"), m_vram(*this, "vram"), diff --git a/src/mame/drivers/sumt8035.cpp b/src/mame/drivers/sumt8035.cpp index 4aac950f85e..9de2d25a847 100644 --- a/src/mame/drivers/sumt8035.cpp +++ b/src/mame/drivers/sumt8035.cpp @@ -19,7 +19,7 @@ hardware. We don't have the ROMs for that though. class sumt8035_state : public driver_device { public: - sumt8035_state(const machine_config &mconfig, device_type type, std::string tag) + sumt8035_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/sun1.cpp b/src/mame/drivers/sun1.cpp index 8a9f492eb06..7f8b109f207 100644 --- a/src/mame/drivers/sun1.cpp +++ b/src/mame/drivers/sun1.cpp @@ -59,7 +59,7 @@ class sun1_state : public driver_device { public: - sun1_state(const machine_config &mconfig, device_type type, std::string tag) + sun1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG), diff --git a/src/mame/drivers/sun2.cpp b/src/mame/drivers/sun2.cpp index 7b7ca221219..80862bcf5ec 100644 --- a/src/mame/drivers/sun2.cpp +++ b/src/mame/drivers/sun2.cpp @@ -78,7 +78,7 @@ class sun2_state : public driver_device { public: - sun2_state(const machine_config &mconfig, device_type type, std::string tag) + sun2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") , diff --git a/src/mame/drivers/sun3.cpp b/src/mame/drivers/sun3.cpp index 7e41e2954d4..00126ba93a9 100644 --- a/src/mame/drivers/sun3.cpp +++ b/src/mame/drivers/sun3.cpp @@ -304,7 +304,7 @@ class sun3_state : public driver_device { public: - sun3_state(const machine_config &mconfig, device_type type, std::string tag) + sun3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_scc1(*this, SCC1_TAG), diff --git a/src/mame/drivers/sun4.cpp b/src/mame/drivers/sun4.cpp index 5e117a73a84..91c0edf530f 100644 --- a/src/mame/drivers/sun4.cpp +++ b/src/mame/drivers/sun4.cpp @@ -392,7 +392,7 @@ class sun4_state : public driver_device { public: - sun4_state(const machine_config &mconfig, device_type type, std::string tag) + sun4_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/supdrapo.cpp b/src/mame/drivers/supdrapo.cpp index 9fcf5d579aa..447e0736208 100644 --- a/src/mame/drivers/supdrapo.cpp +++ b/src/mame/drivers/supdrapo.cpp @@ -70,7 +70,7 @@ class supdrapo_state : public driver_device { public: - supdrapo_state(const machine_config &mconfig, device_type type, std::string tag) + supdrapo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/supduck.cpp b/src/mame/drivers/supduck.cpp index a0f0f7c9bd7..1c297de8966 100644 --- a/src/mame/drivers/supduck.cpp +++ b/src/mame/drivers/supduck.cpp @@ -31,7 +31,7 @@ All clock timing comes from crystal 1 class supduck_state : public driver_device { public: - supduck_state(const machine_config &mconfig, device_type type, std::string tag) + supduck_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/supercon.cpp b/src/mame/drivers/supercon.cpp index 97e8ef20821..be2198189f1 100644 --- a/src/mame/drivers/supercon.cpp +++ b/src/mame/drivers/supercon.cpp @@ -27,7 +27,7 @@ class supercon_state : public driver_device { public: - supercon_state(const machine_config &mconfig, device_type type, std::string tag) + supercon_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_beep(*this, "beeper"), diff --git a/src/mame/drivers/supercrd.cpp b/src/mame/drivers/supercrd.cpp index 1aa7b9cc67a..d76082e7266 100644 --- a/src/mame/drivers/supercrd.cpp +++ b/src/mame/drivers/supercrd.cpp @@ -174,7 +174,7 @@ class supercrd_state : public driver_device { public: - supercrd_state(const machine_config &mconfig, device_type type, std::string tag) + supercrd_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/superdq.cpp b/src/mame/drivers/superdq.cpp index c5dd0bb2801..800684765ee 100644 --- a/src/mame/drivers/superdq.cpp +++ b/src/mame/drivers/superdq.cpp @@ -31,7 +31,7 @@ class superdq_state : public driver_device { public: - superdq_state(const machine_config &mconfig, device_type type, std::string tag) + superdq_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_laserdisc(*this, "laserdisc") , m_videoram(*this, "videoram"), diff --git a/src/mame/drivers/supertnk.cpp b/src/mame/drivers/supertnk.cpp index 633d00f5085..938ab46a2fc 100644 --- a/src/mame/drivers/supertnk.cpp +++ b/src/mame/drivers/supertnk.cpp @@ -110,7 +110,7 @@ CRU lines: class supertnk_state : public driver_device { public: - supertnk_state(const machine_config &mconfig, device_type type, std::string tag) + supertnk_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/superwng.cpp b/src/mame/drivers/superwng.cpp index f4bd6b7c623..cf599bd80dd 100644 --- a/src/mame/drivers/superwng.cpp +++ b/src/mame/drivers/superwng.cpp @@ -41,7 +41,7 @@ TODO: class superwng_state : public driver_device { public: - superwng_state(const machine_config &mconfig, device_type type, std::string tag) + superwng_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/supracan.cpp b/src/mame/drivers/supracan.cpp index 872ef866cc3..b342c846295 100644 --- a/src/mame/drivers/supracan.cpp +++ b/src/mame/drivers/supracan.cpp @@ -116,7 +116,7 @@ struct acan_sprdma_regs_t class supracan_state : public driver_device { public: - supracan_state(const machine_config &mconfig, device_type type, std::string tag) + supracan_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), @@ -222,7 +222,7 @@ public: TIMER_CALLBACK_MEMBER(supracan_line_off_callback); TIMER_CALLBACK_MEMBER(supracan_video_callback); DECLARE_DEVICE_IMAGE_LOAD_MEMBER(supracan_cart); - inline void verboselog(std::string tag, int n_level, const char *s_fmt, ...) ATTR_PRINTF(4,5); + inline void verboselog(const char *tag, int n_level, const char *s_fmt, ...) ATTR_PRINTF(4,5); int supracan_tilemap_get_region(int layer); void supracan_tilemap_get_info_common(int layer, tile_data &tileinfo, int count); void supracan_tilemap_get_info_roz(int layer, tile_data &tileinfo, int count); @@ -236,7 +236,7 @@ public: -inline void supracan_state::verboselog(std::string tag, int n_level, const char *s_fmt, ...) +inline void supracan_state::verboselog(const char *tag, int n_level, const char *s_fmt, ...) { #if ENABLE_VERBOSE_LOG if( VERBOSE_LEVEL >= n_level ) @@ -246,7 +246,7 @@ inline void supracan_state::verboselog(std::string tag, int n_level, const char va_start( v, s_fmt ); vsprintf( buf, s_fmt, v ); va_end( v ); - logerror( "%06x: %s: %s", machine().device(tag)->safe_pc(), tag.c_str(), buf ); + logerror( "%06x: %s: %s", machine().device(tag)->safe_pc(), tag, buf ); } #endif } diff --git a/src/mame/drivers/suprgolf.cpp b/src/mame/drivers/suprgolf.cpp index 4e6b3770e8c..c83dbb32a0c 100644 --- a/src/mame/drivers/suprgolf.cpp +++ b/src/mame/drivers/suprgolf.cpp @@ -31,7 +31,7 @@ class suprgolf_state : public driver_device { public: - suprgolf_state(const machine_config &mconfig, device_type type, std::string tag) + suprgolf_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_msm(*this, "msm"), diff --git a/src/mame/drivers/suprnova.cpp b/src/mame/drivers/suprnova.cpp index e89caa7259c..95d08b082c5 100644 --- a/src/mame/drivers/suprnova.cpp +++ b/src/mame/drivers/suprnova.cpp @@ -456,7 +456,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(skns_state::skns_irq) CUSTOM_INPUT_MEMBER(skns_state::paddle_r) { - std::string tag = (const char *)param; + const char *tag = (const char *)param; return ioport(tag)->read(); } diff --git a/src/mame/drivers/sv8000.cpp b/src/mame/drivers/sv8000.cpp index 8c61fc1d78e..dcb9db8cec5 100644 --- a/src/mame/drivers/sv8000.cpp +++ b/src/mame/drivers/sv8000.cpp @@ -37,7 +37,7 @@ Looking at the code of the cartridges it seems there is: class sv8000_state : public driver_device { public: - sv8000_state(const machine_config &mconfig, device_type type, std::string tag) + sv8000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_s68047p(*this, "s68047p") diff --git a/src/mame/drivers/svmu.cpp b/src/mame/drivers/svmu.cpp index 74000caa19f..da2ff7e3765 100644 --- a/src/mame/drivers/svmu.cpp +++ b/src/mame/drivers/svmu.cpp @@ -26,7 +26,7 @@ class svmu_state : public driver_device { public: - svmu_state(const machine_config &mconfig, device_type type, std::string tag) + svmu_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_flash(*this, "flash"), diff --git a/src/mame/drivers/swtpc.cpp b/src/mame/drivers/swtpc.cpp index 382bd7af65c..f36476d6a62 100644 --- a/src/mame/drivers/swtpc.cpp +++ b/src/mame/drivers/swtpc.cpp @@ -49,7 +49,7 @@ Z Goto Prom (0xC000) class swtpc_state : public driver_device { public: - swtpc_state(const machine_config &mconfig, device_type type, std::string tag) + swtpc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/swyft.cpp b/src/mame/drivers/swyft.cpp index 2383362d21e..27827228b3b 100644 --- a/src/mame/drivers/swyft.cpp +++ b/src/mame/drivers/swyft.cpp @@ -296,7 +296,7 @@ ToDo: class swyft_state : public driver_device { public: - swyft_state(const machine_config &mconfig, device_type type, std::string tag) + swyft_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ctx(*this, "ctx"), diff --git a/src/mame/drivers/sym1.cpp b/src/mame/drivers/sym1.cpp index 3587635b4aa..231703d1df1 100644 --- a/src/mame/drivers/sym1.cpp +++ b/src/mame/drivers/sym1.cpp @@ -33,7 +33,7 @@ class sym1_state : public driver_device { public: - sym1_state(const machine_config &mconfig, device_type type, std::string tag) + sym1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_ram_1k(*this, "ram_1k"), m_ram_2k(*this, "ram_2k"), diff --git a/src/mame/drivers/sys2900.cpp b/src/mame/drivers/sys2900.cpp index 9934419f601..848ec90ff58 100644 --- a/src/mame/drivers/sys2900.cpp +++ b/src/mame/drivers/sys2900.cpp @@ -47,7 +47,7 @@ public: TIMER_BOOT }; - sys2900_state(const machine_config &mconfig, device_type type, std::string tag) + sys2900_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/systec.cpp b/src/mame/drivers/systec.cpp index d87257355cd..de504cfa90e 100644 --- a/src/mame/drivers/systec.cpp +++ b/src/mame/drivers/systec.cpp @@ -42,7 +42,7 @@ class systec_state : public driver_device { public: - systec_state(const machine_config &mconfig, device_type type, std::string tag) + systec_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/taito.cpp b/src/mame/drivers/taito.cpp index 774498c3e02..74ed96d8703 100644 --- a/src/mame/drivers/taito.cpp +++ b/src/mame/drivers/taito.cpp @@ -53,7 +53,7 @@ ToDO: class taito_state : public genpin_class { public: - taito_state(const machine_config &mconfig, device_type type, std::string tag) + taito_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_cpu2(*this, "audiocpu") diff --git a/src/mame/drivers/taito_z.cpp b/src/mame/drivers/taito_z.cpp index 084b752f707..16fbc1beb8c 100644 --- a/src/mame/drivers/taito_z.cpp +++ b/src/mame/drivers/taito_z.cpp @@ -1104,7 +1104,7 @@ WRITE16_MEMBER(taitoz_state::spacegun_output_bypass_w) CUSTOM_INPUT_MEMBER(taitoz_state::taitoz_pedal_r) { static const UINT8 retval[8] = { 0,1,3,2,6,7,5,4 }; - std::string tag = (const char *)param; + const char *tag = (const char *)param; return retval[read_safe(ioport(tag), 0) & 7]; } diff --git a/src/mame/drivers/taitogn.cpp b/src/mame/drivers/taitogn.cpp index e7701789710..1077996e020 100644 --- a/src/mame/drivers/taitogn.cpp +++ b/src/mame/drivers/taitogn.cpp @@ -346,7 +346,7 @@ Type 3 (PCMCIA Compact Flash Adaptor + Compact Flash card, sealed together with class taitogn_state : public driver_device { public: - taitogn_state(const machine_config &mconfig, device_type type, std::string tag) : + taitogn_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_sio0(*this, "maincpu:sio0"), m_cat702_1(*this, "cat702_1"), diff --git a/src/mame/drivers/taitopjc.cpp b/src/mame/drivers/taitopjc.cpp index dcb6434add3..c9e6807add9 100644 --- a/src/mame/drivers/taitopjc.cpp +++ b/src/mame/drivers/taitopjc.cpp @@ -98,7 +98,7 @@ class taitopjc_state : public driver_device { public: - taitopjc_state(const machine_config &mconfig, device_type type, std::string tag) + taitopjc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_iocpu(*this, "iocpu"), diff --git a/src/mame/drivers/taitottl.cpp b/src/mame/drivers/taitottl.cpp index 8d66b5ece4f..c8dda24ca9f 100644 --- a/src/mame/drivers/taitottl.cpp +++ b/src/mame/drivers/taitottl.cpp @@ -88,7 +88,7 @@ class taitottl_state : public driver_device { public: - taitottl_state(const machine_config &mconfig, device_type type, std::string tag) + taitottl_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_video(*this, "fixfreq") diff --git a/src/mame/drivers/taitotx.cpp b/src/mame/drivers/taitotx.cpp index d56aa687645..1e45b8e9422 100644 --- a/src/mame/drivers/taitotx.cpp +++ b/src/mame/drivers/taitotx.cpp @@ -122,7 +122,7 @@ class taito_type_x_state : public driver_device { public: - taito_type_x_state(const machine_config &mconfig, device_type type, std::string tag) + taito_type_x_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/taitotz.cpp b/src/mame/drivers/taitotz.cpp index 6e11d26665c..6e047292565 100644 --- a/src/mame/drivers/taitotz.cpp +++ b/src/mame/drivers/taitotz.cpp @@ -538,7 +538,7 @@ class taitotz_renderer; class taitotz_state : public driver_device { public: - taitotz_state(const machine_config &mconfig, device_type type, std::string tag) + taitotz_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_iocpu(*this, "iocpu"), diff --git a/src/mame/drivers/taitowlf.cpp b/src/mame/drivers/taitowlf.cpp index ff7c842fbf8..eba6d93fed2 100644 --- a/src/mame/drivers/taitowlf.cpp +++ b/src/mame/drivers/taitowlf.cpp @@ -39,7 +39,7 @@ clocks 50MHz (near 3DFX) and 14.31818MHz (near RAMDAC) class taitowlf_state : public pcat_base_state { public: - taitowlf_state(const machine_config &mconfig, device_type type, std::string tag) + taitowlf_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag), m_bootscreen_rom(*this, "bootscreen"), m_bank1(*this, "bank1"), diff --git a/src/mame/drivers/tamag1.cpp b/src/mame/drivers/tamag1.cpp index d260ba91f34..1275d33f0c7 100644 --- a/src/mame/drivers/tamag1.cpp +++ b/src/mame/drivers/tamag1.cpp @@ -18,7 +18,7 @@ class tamag1_state : public driver_device { public: - tamag1_state(const machine_config &mconfig, device_type type, std::string tag) + tamag1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker") diff --git a/src/mame/drivers/tandy1t.cpp b/src/mame/drivers/tandy1t.cpp index 4da19fbfc2e..3ba893c7610 100644 --- a/src/mame/drivers/tandy1t.cpp +++ b/src/mame/drivers/tandy1t.cpp @@ -47,7 +47,7 @@ Tandy 1000 (80386) variations: class tandy1000_state : public driver_device { public: - tandy1000_state(const machine_config &mconfig, device_type type, std::string tag) + tandy1000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_romcs0(*this, "romcs0") diff --git a/src/mame/drivers/tapatune.cpp b/src/mame/drivers/tapatune.cpp index 8d4da5a660d..e02844b555f 100644 --- a/src/mame/drivers/tapatune.cpp +++ b/src/mame/drivers/tapatune.cpp @@ -52,7 +52,7 @@ class tapatune_state : public driver_device { public: - tapatune_state(const machine_config &mconfig, device_type type, std::string tag) + tapatune_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_videocpu(*this, "videocpu"), diff --git a/src/mame/drivers/tasman.cpp b/src/mame/drivers/tasman.cpp index ccec37f5450..a9c65694c9b 100644 --- a/src/mame/drivers/tasman.cpp +++ b/src/mame/drivers/tasman.cpp @@ -31,7 +31,7 @@ class kongambl_state : public konamigx_state // with everything devicified there's probably not much point in inheriting the GX state. { public: - kongambl_state(const machine_config &mconfig, device_type type, std::string tag) + kongambl_state(const machine_config &mconfig, device_type type, const char *tag) : konamigx_state(mconfig, type, tag), m_vram(*this, "vram") { } diff --git a/src/mame/drivers/tattack.cpp b/src/mame/drivers/tattack.cpp index d652c617423..71c2b5fba29 100644 --- a/src/mame/drivers/tattack.cpp +++ b/src/mame/drivers/tattack.cpp @@ -27,7 +27,7 @@ class tattack_state : public driver_device { public: - tattack_state(const machine_config &mconfig, device_type type, std::string tag) + tattack_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/drivers/tavernie.cpp b/src/mame/drivers/tavernie.cpp index 7414675058e..4733eacb843 100644 --- a/src/mame/drivers/tavernie.cpp +++ b/src/mame/drivers/tavernie.cpp @@ -67,7 +67,7 @@ Z - more scan lines per row (cursor is bigger) class tavernie_state : public driver_device { public: - tavernie_state(const machine_config &mconfig, device_type type, std::string tag) : + tavernie_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_videoram(*this, "videoram"), m_cass(*this, "cassette"), diff --git a/src/mame/drivers/tb303.cpp b/src/mame/drivers/tb303.cpp index 82431a736a7..6788bb1257d 100644 --- a/src/mame/drivers/tb303.cpp +++ b/src/mame/drivers/tb303.cpp @@ -22,7 +22,7 @@ class tb303_state : public hh_ucom4_state { public: - tb303_state(const machine_config &mconfig, device_type type, std::string tag) + tb303_state(const machine_config &mconfig, device_type type, const char *tag) : hh_ucom4_state(mconfig, type, tag), m_t3_off_timer(*this, "t3_off") { } diff --git a/src/mame/drivers/tcl.cpp b/src/mame/drivers/tcl.cpp index b92747ae63f..cf5fe80f93a 100644 --- a/src/mame/drivers/tcl.cpp +++ b/src/mame/drivers/tcl.cpp @@ -51,7 +51,7 @@ Notes: class tcl_state : public driver_device { public: - tcl_state(const machine_config &mconfig, device_type type, std::string tag) + tcl_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/tec1.cpp b/src/mame/drivers/tec1.cpp index 9dbcaaf376e..99714f7e97a 100644 --- a/src/mame/drivers/tec1.cpp +++ b/src/mame/drivers/tec1.cpp @@ -82,7 +82,7 @@ JMON ToDo: class tec1_state : public driver_device { public: - tec1_state(const machine_config &mconfig, device_type type, std::string tag) + tec1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/drivers/techno.cpp b/src/mame/drivers/techno.cpp index e7926eeb245..7448583160b 100644 --- a/src/mame/drivers/techno.cpp +++ b/src/mame/drivers/techno.cpp @@ -22,7 +22,7 @@ ToDo: class techno_state : public driver_device { public: - techno_state(const machine_config &mconfig, device_type type, std::string tag) + techno_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_switch(*this, "SWITCH") diff --git a/src/mame/drivers/tecnbras.cpp b/src/mame/drivers/tecnbras.cpp index 12cb87e492d..0d566901141 100644 --- a/src/mame/drivers/tecnbras.cpp +++ b/src/mame/drivers/tecnbras.cpp @@ -26,7 +26,7 @@ class tecnbras_state : public driver_device { public: - tecnbras_state(const machine_config &mconfig, device_type type, std::string tag) + tecnbras_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/tek410x.cpp b/src/mame/drivers/tek410x.cpp index 0bee49b90ef..b4677554dff 100644 --- a/src/mame/drivers/tek410x.cpp +++ b/src/mame/drivers/tek410x.cpp @@ -26,7 +26,7 @@ class tek4107a_state : public driver_device { public: - tek4107a_state(const machine_config &mconfig, device_type type, std::string tag) + tek4107a_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) { } virtual void machine_start() override; diff --git a/src/mame/drivers/tekxp33x.cpp b/src/mame/drivers/tekxp33x.cpp index 24f61d03b37..5e90c391c22 100644 --- a/src/mame/drivers/tekxp33x.cpp +++ b/src/mame/drivers/tekxp33x.cpp @@ -44,7 +44,7 @@ class tekxp330_state : public driver_device { public: - tekxp330_state(const machine_config &mconfig, device_type type, std::string tag) + tekxp330_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) { } virtual void machine_start() override; diff --git a/src/mame/drivers/tempest.cpp b/src/mame/drivers/tempest.cpp index 994d27b5865..514f705cdbf 100644 --- a/src/mame/drivers/tempest.cpp +++ b/src/mame/drivers/tempest.cpp @@ -295,7 +295,7 @@ Note: Roms for Tempest Analog Vector-Generator PCB Assembly A037383-03 or A03738 class tempest_state : public driver_device { public: - tempest_state(const machine_config &mconfig, device_type type, std::string tag) + tempest_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mathbox(*this, "mathbox"), diff --git a/src/mame/drivers/terak.cpp b/src/mame/drivers/terak.cpp index f192ed613cc..714a2d3fcfb 100644 --- a/src/mame/drivers/terak.cpp +++ b/src/mame/drivers/terak.cpp @@ -14,7 +14,7 @@ class terak_state : public driver_device { public: - terak_state(const machine_config &mconfig, device_type type, std::string tag) + terak_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/test_t400.cpp b/src/mame/drivers/test_t400.cpp index c3e5afdfdd7..b577d3c77a4 100644 --- a/src/mame/drivers/test_t400.cpp +++ b/src/mame/drivers/test_t400.cpp @@ -14,7 +14,7 @@ class t400_test_suite_state : public driver_device { public: - t400_test_suite_state(const machine_config &mconfig, device_type type, std::string tag) + t400_test_suite_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/tgtpanic.cpp b/src/mame/drivers/tgtpanic.cpp index f67d4834df4..da033c37e05 100644 --- a/src/mame/drivers/tgtpanic.cpp +++ b/src/mame/drivers/tgtpanic.cpp @@ -18,7 +18,7 @@ class tgtpanic_state : public driver_device { public: - tgtpanic_state(const machine_config &mconfig, device_type type, std::string tag) + tgtpanic_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_screen(*this, "screen"), diff --git a/src/mame/drivers/thayers.cpp b/src/mame/drivers/thayers.cpp index b8d864601d5..88db79b9569 100644 --- a/src/mame/drivers/thayers.cpp +++ b/src/mame/drivers/thayers.cpp @@ -42,7 +42,7 @@ public: TIMER_SSI263_PHONEME_TICK }; - thayers_state(const machine_config &mconfig, device_type type, std::string tag) + thayers_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_pr7820(*this, "laserdisc"), m_ldv1000(*this, "ldv1000"), diff --git a/src/mame/drivers/thedealr.cpp b/src/mame/drivers/thedealr.cpp index 2c86fadfed1..d6e9698474a 100644 --- a/src/mame/drivers/thedealr.cpp +++ b/src/mame/drivers/thedealr.cpp @@ -37,7 +37,7 @@ class thedealr_state : public driver_device { public: - thedealr_state(const machine_config &mconfig, device_type type, std::string tag) + thedealr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "subcpu"), diff --git a/src/mame/drivers/ti630.cpp b/src/mame/drivers/ti630.cpp index 4b09e2e6ded..910fecc3aae 100644 --- a/src/mame/drivers/ti630.cpp +++ b/src/mame/drivers/ti630.cpp @@ -42,7 +42,7 @@ It means we probably would have to emulate a modem device for it to treat commun class ti630_state : public driver_device { public: - ti630_state(const machine_config &mconfig, device_type type, std::string tag) + ti630_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_lcdc(*this, "hd44780") diff --git a/src/mame/drivers/ti74.cpp b/src/mame/drivers/ti74.cpp index 96502dfc9e0..9c01b6ceea2 100644 --- a/src/mame/drivers/ti74.cpp +++ b/src/mame/drivers/ti74.cpp @@ -84,7 +84,7 @@ class ti74_state : public driver_device { public: - ti74_state(const machine_config &mconfig, device_type type, std::string tag) + ti74_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cart(*this, "cartslot"), diff --git a/src/mame/drivers/ti990_10.cpp b/src/mame/drivers/ti990_10.cpp index 0ec7684f6a8..58264bae51f 100644 --- a/src/mame/drivers/ti990_10.cpp +++ b/src/mame/drivers/ti990_10.cpp @@ -81,7 +81,7 @@ TODO : class ti990_10_state : public driver_device { public: - ti990_10_state(const machine_config &mconfig, device_type type, std::string tag) + ti990_10_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_intlines(0), diff --git a/src/mame/drivers/ti990_4.cpp b/src/mame/drivers/ti990_4.cpp index 5fbde711493..c922b662394 100644 --- a/src/mame/drivers/ti990_4.cpp +++ b/src/mame/drivers/ti990_4.cpp @@ -50,7 +50,7 @@ TODO: class ti990_4_state : public driver_device { public: - ti990_4_state(const machine_config &mconfig, device_type type, std::string tag) + ti990_4_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_fd800(*this, "fd800") { } diff --git a/src/mame/drivers/ti99_2.cpp b/src/mame/drivers/ti99_2.cpp index 3ee254090f3..2eaf0250d68 100644 --- a/src/mame/drivers/ti99_2.cpp +++ b/src/mame/drivers/ti99_2.cpp @@ -86,7 +86,7 @@ would just have taken three extra tracks on the main board and a OR gate in an A class ti99_2_state : public driver_device { public: - ti99_2_state(const machine_config &mconfig, device_type type, std::string tag) + ti99_2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/ti99_4p.cpp b/src/mame/drivers/ti99_4p.cpp index 2459d674177..f934677565e 100644 --- a/src/mame/drivers/ti99_4p.cpp +++ b/src/mame/drivers/ti99_4p.cpp @@ -59,7 +59,7 @@ class ti99_4p_state : public driver_device { public: - ti99_4p_state(const machine_config &mconfig, device_type type, std::string tag) + ti99_4p_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_cpu(*this, "maincpu"), m_tms9901(*this, TMS9901_TAG), diff --git a/src/mame/drivers/ti99_4x.cpp b/src/mame/drivers/ti99_4x.cpp index 98c45d1fdda..2d9e11f4dc2 100644 --- a/src/mame/drivers/ti99_4x.cpp +++ b/src/mame/drivers/ti99_4x.cpp @@ -66,7 +66,7 @@ class ti99_4x_state : public driver_device { public: - ti99_4x_state(const machine_config &mconfig, device_type type, std::string tag) + ti99_4x_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_cpu(*this, "maincpu"), m_tms9901(*this, TMS9901_TAG), diff --git a/src/mame/drivers/ti99_8.cpp b/src/mame/drivers/ti99_8.cpp index 755f8e3c798..02d94b6614a 100644 --- a/src/mame/drivers/ti99_8.cpp +++ b/src/mame/drivers/ti99_8.cpp @@ -234,7 +234,7 @@ enum class ti99_8_state : public driver_device { public: - ti99_8_state(const machine_config &mconfig, device_type type, std::string tag) + ti99_8_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_cpu(*this, "maincpu"), m_tms9901(*this, TMS9901_TAG), diff --git a/src/mame/drivers/ticalc1x.cpp b/src/mame/drivers/ticalc1x.cpp index 714aa09b967..cbc16d3d7b2 100644 --- a/src/mame/drivers/ticalc1x.cpp +++ b/src/mame/drivers/ticalc1x.cpp @@ -32,7 +32,7 @@ class ticalc1x_state : public hh_tms1k_state { public: - ticalc1x_state(const machine_config &mconfig, device_type type, std::string tag) + ticalc1x_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag) { } @@ -70,7 +70,7 @@ void ticalc1x_state::machine_start() class tisr16_state : public ticalc1x_state { public: - tisr16_state(const machine_config &mconfig, device_type type, std::string tag) + tisr16_state(const machine_config &mconfig, device_type type, const char *tag) : ticalc1x_state(mconfig, type, tag) { } @@ -302,7 +302,7 @@ MACHINE_CONFIG_END class ti1250_state : public ticalc1x_state { public: - ti1250_state(const machine_config &mconfig, device_type type, std::string tag) + ti1250_state(const machine_config &mconfig, device_type type, const char *tag) : ticalc1x_state(mconfig, type, tag) { } @@ -438,7 +438,7 @@ MACHINE_CONFIG_END class ti1000_state : public ticalc1x_state { public: - ti1000_state(const machine_config &mconfig, device_type type, std::string tag) + ti1000_state(const machine_config &mconfig, device_type type, const char *tag) : ticalc1x_state(mconfig, type, tag) { } @@ -535,7 +535,7 @@ MACHINE_CONFIG_END class wizatron_state : public ticalc1x_state { public: - wizatron_state(const machine_config &mconfig, device_type type, std::string tag) + wizatron_state(const machine_config &mconfig, device_type type, const char *tag) : ticalc1x_state(mconfig, type, tag) { } @@ -637,7 +637,7 @@ MACHINE_CONFIG_END class lilprof_state : public wizatron_state { public: - lilprof_state(const machine_config &mconfig, device_type type, std::string tag) + lilprof_state(const machine_config &mconfig, device_type type, const char *tag) : wizatron_state(mconfig, type, tag) { } @@ -711,7 +711,7 @@ MACHINE_CONFIG_END class lilprof78_state : public ticalc1x_state { public: - lilprof78_state(const machine_config &mconfig, device_type type, std::string tag) + lilprof78_state(const machine_config &mconfig, device_type type, const char *tag) : ticalc1x_state(mconfig, type, tag) { } @@ -821,7 +821,7 @@ MACHINE_CONFIG_END class dataman_state : public ticalc1x_state { public: - dataman_state(const machine_config &mconfig, device_type type, std::string tag) + dataman_state(const machine_config &mconfig, device_type type, const char *tag) : ticalc1x_state(mconfig, type, tag) { } @@ -946,7 +946,7 @@ MACHINE_CONFIG_END class ti30_state : public ticalc1x_state { public: - ti30_state(const machine_config &mconfig, device_type type, std::string tag) + ti30_state(const machine_config &mconfig, device_type type, const char *tag) : ticalc1x_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/tickee.cpp b/src/mame/drivers/tickee.cpp index ad49e9050c4..3d1f78faa9d 100644 --- a/src/mame/drivers/tickee.cpp +++ b/src/mame/drivers/tickee.cpp @@ -40,7 +40,7 @@ public: TIMER_SETUP_GUN_INTERRUPTS }; - tickee_state(const machine_config &mconfig, device_type type, std::string tag) + tickee_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki(*this, "oki"), diff --git a/src/mame/drivers/tim011.cpp b/src/mame/drivers/tim011.cpp index 42f0a887f6a..42e644bba84 100644 --- a/src/mame/drivers/tim011.cpp +++ b/src/mame/drivers/tim011.cpp @@ -17,7 +17,7 @@ class tim011_state : public driver_device { public: - tim011_state(const machine_config &mconfig, device_type type, std::string tag) + tim011_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_fdc(*this, FDC9266_TAG), diff --git a/src/mame/drivers/tim100.cpp b/src/mame/drivers/tim100.cpp index 0de2be552b2..d21b88dabb4 100644 --- a/src/mame/drivers/tim100.cpp +++ b/src/mame/drivers/tim100.cpp @@ -17,7 +17,7 @@ class tim100_state : public driver_device { public: - tim100_state(const machine_config &mconfig, device_type type, std::string tag) + tim100_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette") diff --git a/src/mame/drivers/timetrv.cpp b/src/mame/drivers/timetrv.cpp index 47d477454de..c3677eb3b2d 100644 --- a/src/mame/drivers/timetrv.cpp +++ b/src/mame/drivers/timetrv.cpp @@ -32,7 +32,7 @@ CPU is an Intel 80188 class timetrv_state : public driver_device { public: - timetrv_state(const machine_config &mconfig, device_type type, std::string tag) + timetrv_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_led_vram_lo(*this, "led_vralo"), m_led_vram_hi(*this, "led_vrahi"), diff --git a/src/mame/drivers/tispeak.cpp b/src/mame/drivers/tispeak.cpp index f4828822d2f..6726b44f29e 100644 --- a/src/mame/drivers/tispeak.cpp +++ b/src/mame/drivers/tispeak.cpp @@ -384,7 +384,7 @@ Language Tutor modules: class tispeak_state : public hh_tms1k_state { public: - tispeak_state(const machine_config &mconfig, device_type type, std::string tag) + tispeak_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag), m_tms5100(*this, "tms5100"), m_tms6100(*this, "tms6100"), diff --git a/src/mame/drivers/tispellb.cpp b/src/mame/drivers/tispellb.cpp index bc8f7e1b196..0afe81d0a49 100644 --- a/src/mame/drivers/tispellb.cpp +++ b/src/mame/drivers/tispellb.cpp @@ -65,7 +65,7 @@ class tispellb_state : public hh_tms1k_state { public: - tispellb_state(const machine_config &mconfig, device_type type, std::string tag) + tispellb_state(const machine_config &mconfig, device_type type, const char *tag) : hh_tms1k_state(mconfig, type, tag), m_subcpu(*this, "subcpu"), m_tms6100(*this, "tms6100") diff --git a/src/mame/drivers/tk2000.cpp b/src/mame/drivers/tk2000.cpp index 54d2e4aa2b6..8af716b28a9 100644 --- a/src/mame/drivers/tk2000.cpp +++ b/src/mame/drivers/tk2000.cpp @@ -34,7 +34,7 @@ class tk2000_state : public driver_device { public: - tk2000_state(const machine_config &mconfig, device_type type, std::string tag) + tk2000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, A2_CPU_TAG), m_ram(*this, RAM_TAG), diff --git a/src/mame/drivers/tk80.cpp b/src/mame/drivers/tk80.cpp index 64cdf623da5..b7872fc2d8f 100644 --- a/src/mame/drivers/tk80.cpp +++ b/src/mame/drivers/tk80.cpp @@ -56,7 +56,7 @@ ICS8080 class tk80_state : public driver_device { public: - tk80_state(const machine_config &mconfig, device_type type, std::string tag) + tk80_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/tk80bs.cpp b/src/mame/drivers/tk80bs.cpp index 51f4d556ce5..99d6f1f1db5 100644 --- a/src/mame/drivers/tk80bs.cpp +++ b/src/mame/drivers/tk80bs.cpp @@ -32,7 +32,7 @@ TODO: class tk80bs_state : public driver_device { public: - tk80bs_state(const machine_config &mconfig, device_type type, std::string tag) + tk80bs_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/tm990189.cpp b/src/mame/drivers/tm990189.cpp index 2b359f513fe..033e9f8fa1a 100644 --- a/src/mame/drivers/tm990189.cpp +++ b/src/mame/drivers/tm990189.cpp @@ -76,7 +76,7 @@ class tm990189_state : public driver_device { public: - tm990189_state(const machine_config &mconfig, device_type type, std::string tag) + tm990189_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_tms9980a(*this, "maincpu"), m_speaker(*this, "speaker"), @@ -429,7 +429,7 @@ class tm990_189_rs232_image_device : public device_t, { public: // construction/destruction - tm990_189_rs232_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tm990_189_rs232_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // image-level overrides virtual iodevice_t image_type() const override { return IO_SERIAL; } @@ -455,7 +455,7 @@ protected: const device_type TM990_189_RS232 = &device_creator; -tm990_189_rs232_image_device::tm990_189_rs232_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tm990_189_rs232_image_device::tm990_189_rs232_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TM990_189_RS232, "TM990/189 RS232 port", tag, owner, clock, "tm990_189_rs232_image", __FILE__), device_image_interface(mconfig, *this) { diff --git a/src/mame/drivers/tmaster.cpp b/src/mame/drivers/tmaster.cpp index 5a339b4fd29..40858fa6df1 100644 --- a/src/mame/drivers/tmaster.cpp +++ b/src/mame/drivers/tmaster.cpp @@ -121,7 +121,7 @@ To Do: class tmaster_state : public driver_device { public: - tmaster_state(const machine_config &mconfig, device_type type, std::string tag) + tmaster_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_microtouch(*this,"microtouch"), diff --git a/src/mame/drivers/tmmjprd.cpp b/src/mame/drivers/tmmjprd.cpp index c51c0b82e82..358867c6e82 100644 --- a/src/mame/drivers/tmmjprd.cpp +++ b/src/mame/drivers/tmmjprd.cpp @@ -39,7 +39,7 @@ class tmmjprd_state : public driver_device { public: - tmmjprd_state(const machine_config &mconfig, device_type type, std::string tag) + tmmjprd_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_eeprom(*this, "eeprom"), diff --git a/src/mame/drivers/tmspoker.cpp b/src/mame/drivers/tmspoker.cpp index 74a921d4f0b..70351f63c69 100644 --- a/src/mame/drivers/tmspoker.cpp +++ b/src/mame/drivers/tmspoker.cpp @@ -219,7 +219,7 @@ class tmspoker_state : public driver_device { public: - tmspoker_state(const machine_config &mconfig, device_type type, std::string tag) + tmspoker_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/tokyocop.cpp b/src/mame/drivers/tokyocop.cpp index 62889ca6a7b..4f28338400d 100644 --- a/src/mame/drivers/tokyocop.cpp +++ b/src/mame/drivers/tokyocop.cpp @@ -29,7 +29,7 @@ I/O Board with Altera Flex EPF15K50EQC240-3 class tokyocop_state : public driver_device { public: - tokyocop_state(const machine_config &mconfig, device_type type, std::string tag) + tokyocop_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/tomcat.cpp b/src/mame/drivers/tomcat.cpp index a40b3db2e14..4b3919afdc1 100644 --- a/src/mame/drivers/tomcat.cpp +++ b/src/mame/drivers/tomcat.cpp @@ -42,7 +42,7 @@ class tomcat_state : public driver_device { public: - tomcat_state(const machine_config &mconfig, device_type type, std::string tag) + tomcat_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_tms(*this, "tms"), m_shared_ram(*this, "shared_ram"), diff --git a/src/mame/drivers/tonton.cpp b/src/mame/drivers/tonton.cpp index 27966982f13..36770d448a8 100644 --- a/src/mame/drivers/tonton.cpp +++ b/src/mame/drivers/tonton.cpp @@ -33,7 +33,7 @@ class tonton_state : public driver_device { public: - tonton_state(const machine_config &mconfig, device_type type, std::string tag) + tonton_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_v9938(*this, "v9938"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/topspeed.cpp b/src/mame/drivers/topspeed.cpp index 826912e3986..e265b3130f4 100644 --- a/src/mame/drivers/topspeed.cpp +++ b/src/mame/drivers/topspeed.cpp @@ -207,7 +207,7 @@ READ8_MEMBER(topspeed_state::input_bypass_r) CUSTOM_INPUT_MEMBER(topspeed_state::pedal_r) { static const UINT8 retval[8] = { 0,1,3,2,6,7,5,4 }; - std::string tag = (const char *)param; + const char *tag = (const char *)param; return retval[read_safe(ioport(tag), 0) & 7]; } diff --git a/src/mame/drivers/toratora.cpp b/src/mame/drivers/toratora.cpp index ff7cda5b6c9..b422680e6f9 100644 --- a/src/mame/drivers/toratora.cpp +++ b/src/mame/drivers/toratora.cpp @@ -28,7 +28,7 @@ TODO: class toratora_state : public driver_device { public: - toratora_state(const machine_config &mconfig, device_type type, std::string tag) + toratora_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/tourtabl.cpp b/src/mame/drivers/tourtabl.cpp index 5aad75b35b5..c2b2fa57696 100644 --- a/src/mame/drivers/tourtabl.cpp +++ b/src/mame/drivers/tourtabl.cpp @@ -18,7 +18,7 @@ class tourtabl_state : public driver_device { public: - tourtabl_state(const machine_config &mconfig, device_type type, std::string tag) + tourtabl_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/tourvis.cpp b/src/mame/drivers/tourvis.cpp index f674084504c..60bdcc72630 100644 --- a/src/mame/drivers/tourvis.cpp +++ b/src/mame/drivers/tourvis.cpp @@ -258,7 +258,7 @@ I can't tell ATM if units are seconds (even if values in tables seem very relate class tourvision_state : public pce_common_state { public: - tourvision_state(const machine_config &mconfig, device_type type, std::string tag) + tourvision_state(const machine_config &mconfig, device_type type, const char *tag) : pce_common_state(mconfig, type, tag), m_subcpu(*this, "subcpu") { } diff --git a/src/mame/drivers/tricep.cpp b/src/mame/drivers/tricep.cpp index 8e04cfb485f..ecadeb6667d 100644 --- a/src/mame/drivers/tricep.cpp +++ b/src/mame/drivers/tricep.cpp @@ -17,7 +17,7 @@ class tricep_state : public driver_device { public: - tricep_state(const machine_config &mconfig, device_type type, std::string tag) + tricep_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/triforce.cpp b/src/mame/drivers/triforce.cpp index 68b99351089..a433cce2c09 100644 --- a/src/mame/drivers/triforce.cpp +++ b/src/mame/drivers/triforce.cpp @@ -443,7 +443,7 @@ Notes: class triforce_state : public driver_device { public: - triforce_state(const machine_config &mconfig, device_type type, std::string tag) + triforce_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/trvmadns.cpp b/src/mame/drivers/trvmadns.cpp index 89723355948..aabba09848a 100644 --- a/src/mame/drivers/trvmadns.cpp +++ b/src/mame/drivers/trvmadns.cpp @@ -95,7 +95,7 @@ Technology = NMOS class trvmadns_state : public driver_device { public: - trvmadns_state(const machine_config &mconfig, device_type type, std::string tag) + trvmadns_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_gfxram(*this, "gfxram"), m_tileram(*this, "tileram"), diff --git a/src/mame/drivers/ts802.cpp b/src/mame/drivers/ts802.cpp index d8c20c27769..19680c956cb 100644 --- a/src/mame/drivers/ts802.cpp +++ b/src/mame/drivers/ts802.cpp @@ -35,7 +35,7 @@ class ts802_state : public driver_device { public: - ts802_state(const machine_config &mconfig, device_type type, std::string tag) + ts802_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/ts803.cpp b/src/mame/drivers/ts803.cpp index e2395816abc..7c8eec2f7ae 100644 --- a/src/mame/drivers/ts803.cpp +++ b/src/mame/drivers/ts803.cpp @@ -61,7 +61,7 @@ PAGE SEL bit in PORT0 set to 1: class ts803_state : public driver_device { public: - ts803_state(const machine_config &mconfig, device_type type, std::string tag) + ts803_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/ts816.cpp b/src/mame/drivers/ts816.cpp index 88f17d88332..6bf818a2163 100644 --- a/src/mame/drivers/ts816.cpp +++ b/src/mame/drivers/ts816.cpp @@ -19,7 +19,7 @@ class ts816_state : public driver_device { public: - ts816_state(const machine_config &mconfig, device_type type, std::string tag) + ts816_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/ttchamp.cpp b/src/mame/drivers/ttchamp.cpp index d8919696780..8021db87042 100644 --- a/src/mame/drivers/ttchamp.cpp +++ b/src/mame/drivers/ttchamp.cpp @@ -75,7 +75,7 @@ we currently simulate this as the PIC is read protected. class ttchamp_state : public driver_device { public: - ttchamp_state(const machine_config &mconfig, device_type type, std::string tag) + ttchamp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette") { } diff --git a/src/mame/drivers/tugboat.cpp b/src/mame/drivers/tugboat.cpp index 71c89ed81b1..0fd80a9e45d 100644 --- a/src/mame/drivers/tugboat.cpp +++ b/src/mame/drivers/tugboat.cpp @@ -39,7 +39,7 @@ public: TIMER_INTERRUPT }; - tugboat_state(const machine_config &mconfig, device_type type, std::string tag) + tugboat_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/turrett.cpp b/src/mame/drivers/turrett.cpp index 807a4129f0b..a37bf36cfe2 100644 --- a/src/mame/drivers/turrett.cpp +++ b/src/mame/drivers/turrett.cpp @@ -322,7 +322,7 @@ extern const device_type TURRETT_HARDDISK; class turrett_hdd : public ide_hdd_device { public: - turrett_hdd(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) + turrett_hdd(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ide_hdd_device(mconfig, TURRETT_HARDDISK, "HDD Turrett Tower", tag, owner, clock, "turrett_hdd", __FILE__) { } diff --git a/src/mame/drivers/tutor.cpp b/src/mame/drivers/tutor.cpp index 8ced99cb997..7d651eaacef 100644 --- a/src/mame/drivers/tutor.cpp +++ b/src/mame/drivers/tutor.cpp @@ -182,7 +182,7 @@ A=AMA, P=PRO, these keys don't exist, and so the games cannot be played. class tutor_state : public driver_device { public: - tutor_state(const machine_config &mconfig, device_type type, std::string tag) + tutor_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cart(*this, "cartslot"), diff --git a/src/mame/drivers/tv950.cpp b/src/mame/drivers/tv950.cpp index 009be46e463..7fe87623194 100644 --- a/src/mame/drivers/tv950.cpp +++ b/src/mame/drivers/tv950.cpp @@ -19,7 +19,7 @@ class tv950_state : public driver_device { public: - tv950_state(const machine_config &mconfig, device_type type, std::string tag) + tv950_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/tvc.cpp b/src/mame/drivers/tvc.cpp index 435ce22dde3..20ffc65710f 100644 --- a/src/mame/drivers/tvc.cpp +++ b/src/mame/drivers/tvc.cpp @@ -38,7 +38,7 @@ class tvc_state : public driver_device { public: - tvc_state(const machine_config &mconfig, device_type type, std::string tag) + tvc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/drivers/tvcapcom.cpp b/src/mame/drivers/tvcapcom.cpp index 1f490782416..29e5508ce32 100644 --- a/src/mame/drivers/tvcapcom.cpp +++ b/src/mame/drivers/tvcapcom.cpp @@ -16,7 +16,7 @@ class tvcapcom_state : public driver_device { public: - tvcapcom_state(const machine_config &mconfig, device_type type, std::string tag) + tvcapcom_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/tvgame.cpp b/src/mame/drivers/tvgame.cpp index 59aebdec53e..44ede341caf 100644 --- a/src/mame/drivers/tvgame.cpp +++ b/src/mame/drivers/tvgame.cpp @@ -19,7 +19,7 @@ class tvgame_state : public driver_device { public: - tvgame_state(const machine_config &mconfig, device_type type, std::string tag) + tvgame_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_speaker(*this, "speaker") diff --git a/src/mame/drivers/twinkle.cpp b/src/mame/drivers/twinkle.cpp index afd0e0b16ad..5b38a3dd019 100644 --- a/src/mame/drivers/twinkle.cpp +++ b/src/mame/drivers/twinkle.cpp @@ -247,7 +247,7 @@ Notes: class twinkle_state : public driver_device { public: - twinkle_state(const machine_config &mconfig, device_type type, std::string tag) + twinkle_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_am53cf96(*this, "am53cf96"), m_ata(*this, "ata"), diff --git a/src/mame/drivers/twins.cpp b/src/mame/drivers/twins.cpp index d369f2e2fdd..bf4468e5dd4 100644 --- a/src/mame/drivers/twins.cpp +++ b/src/mame/drivers/twins.cpp @@ -69,7 +69,7 @@ this requires the -joystick_contradictory switch on the commandline. class twins_state : public driver_device { public: - twins_state(const machine_config &mconfig, device_type type, std::string tag) + twins_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_paletteram(*this, "paletteram"), diff --git a/src/mame/drivers/tx0.cpp b/src/mame/drivers/tx0.cpp index d57ac7300fd..d95ef46b796 100644 --- a/src/mame/drivers/tx0.cpp +++ b/src/mame/drivers/tx0.cpp @@ -357,7 +357,7 @@ class tx0_readtape_image_device : public device_t, { public: // construction/destruction - tx0_readtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tx0_readtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // image-level overrides virtual iodevice_t image_type() const override { return IO_PUNCHTAPE; } @@ -381,7 +381,7 @@ protected: const device_type TX0_READTAPE = &device_creator; -tx0_readtape_image_device::tx0_readtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tx0_readtape_image_device::tx0_readtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TX0_READTAPE, "TX0 Tape Reader", tag, owner, clock, "tx0_readtape_image", __FILE__), device_image_interface(mconfig, *this) { @@ -392,7 +392,7 @@ class tx0_punchtape_image_device : public device_t, { public: // construction/destruction - tx0_punchtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tx0_punchtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // image-level overrides virtual iodevice_t image_type() const override { return IO_PUNCHTAPE; } @@ -416,7 +416,7 @@ protected: const device_type TX0_PUNCHTAPE = &device_creator; -tx0_punchtape_image_device::tx0_punchtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tx0_punchtape_image_device::tx0_punchtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TX0_PUNCHTAPE, "TX0 Tape Puncher", tag, owner, clock, "tx0_punchtape_image", __FILE__), device_image_interface(mconfig, *this) { @@ -428,7 +428,7 @@ class tx0_printer_image_device : public device_t, { public: // construction/destruction - tx0_printer_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tx0_printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // image-level overrides virtual iodevice_t image_type() const override { return IO_PRINTER; } @@ -452,7 +452,7 @@ protected: const device_type TX0_PRINTER = &device_creator; -tx0_printer_image_device::tx0_printer_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tx0_printer_image_device::tx0_printer_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TX0_PRINTER, "TX0 Typewriter", tag, owner, clock, "tx0_printer_image", __FILE__), device_image_interface(mconfig, *this) { @@ -463,7 +463,7 @@ class tx0_magtape_image_device : public device_t, { public: // construction/destruction - tx0_magtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tx0_magtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // image-level overrides virtual iodevice_t image_type() const override { return IO_MAGTAPE; } @@ -487,7 +487,7 @@ protected: const device_type TX0_MAGTAPE = &device_creator; -tx0_magtape_image_device::tx0_magtape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tx0_magtape_image_device::tx0_magtape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TX0_MAGTAPE, "TX0 Magnetic Tape", tag, owner, clock, "tx0_magtape_image", __FILE__), device_image_interface(mconfig, *this) { diff --git a/src/mame/drivers/uapce.cpp b/src/mame/drivers/uapce.cpp index 1b0906ffc02..8d95ceb1eb5 100644 --- a/src/mame/drivers/uapce.cpp +++ b/src/mame/drivers/uapce.cpp @@ -105,7 +105,7 @@ Alien Crush & Pac_Land: dumps made from PC-Engine dumps of JP versions class uapce_state : public pce_common_state { public: - uapce_state(const machine_config &mconfig, device_type type, std::string tag) + uapce_state(const machine_config &mconfig, device_type type, const char *tag) : pce_common_state(mconfig, type, tag), m_discrete(*this, "discrete") { } diff --git a/src/mame/drivers/uknc.cpp b/src/mame/drivers/uknc.cpp index c0a5b7bd08b..af546c28b6e 100644 --- a/src/mame/drivers/uknc.cpp +++ b/src/mame/drivers/uknc.cpp @@ -15,7 +15,7 @@ class uknc_state : public driver_device { public: - uknc_state(const machine_config &mconfig, device_type type, std::string tag) + uknc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/ultrsprt.cpp b/src/mame/drivers/ultrsprt.cpp index 81143ada34e..b79c9784b1d 100644 --- a/src/mame/drivers/ultrsprt.cpp +++ b/src/mame/drivers/ultrsprt.cpp @@ -16,7 +16,7 @@ class ultrsprt_state : public driver_device { public: - ultrsprt_state(const machine_config &mconfig, device_type type, std::string tag) + ultrsprt_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/umipoker.cpp b/src/mame/drivers/umipoker.cpp index 9cabc077ba0..8d4f49b7db7 100644 --- a/src/mame/drivers/umipoker.cpp +++ b/src/mame/drivers/umipoker.cpp @@ -27,7 +27,7 @@ class umipoker_state : public driver_device { public: - umipoker_state(const machine_config &mconfig, device_type type, std::string tag) + umipoker_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_vram_0(*this, "vra0"), m_vram_1(*this, "vra1"), diff --git a/src/mame/drivers/unichamp.cpp b/src/mame/drivers/unichamp.cpp index b398545cbce..4c566f96619 100644 --- a/src/mame/drivers/unichamp.cpp +++ b/src/mame/drivers/unichamp.cpp @@ -47,7 +47,7 @@ class unichamp_state : public driver_device { public: - unichamp_state(const machine_config &mconfig, device_type type, std::string tag) + unichamp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gic(*this, "gic"), diff --git a/src/mame/drivers/unior.cpp b/src/mame/drivers/unior.cpp index b70f82c8122..64bf30e97d4 100644 --- a/src/mame/drivers/unior.cpp +++ b/src/mame/drivers/unior.cpp @@ -49,7 +49,7 @@ ToDo: class unior_state : public driver_device { public: - unior_state(const machine_config &mconfig, device_type type, std::string tag) : + unior_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pit(*this, "pit"), diff --git a/src/mame/drivers/unistar.cpp b/src/mame/drivers/unistar.cpp index ad45711f00f..59537dd11b0 100644 --- a/src/mame/drivers/unistar.cpp +++ b/src/mame/drivers/unistar.cpp @@ -17,7 +17,7 @@ class unistar_state : public driver_device { public: - unistar_state(const machine_config &mconfig, device_type type, std::string tag) + unistar_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/univac.cpp b/src/mame/drivers/univac.cpp index 9aa2cf09da0..588b2a1bc39 100644 --- a/src/mame/drivers/univac.cpp +++ b/src/mame/drivers/univac.cpp @@ -32,7 +32,7 @@ class univac_state : public driver_device { public: - univac_state(const machine_config &mconfig, device_type type, std::string tag) + univac_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_p_videoram(*this, "videoram") diff --git a/src/mame/drivers/unixpc.cpp b/src/mame/drivers/unixpc.cpp index 3da660ee821..1e08d3b6574 100644 --- a/src/mame/drivers/unixpc.cpp +++ b/src/mame/drivers/unixpc.cpp @@ -26,7 +26,7 @@ class unixpc_state : public driver_device { public: - unixpc_state(const machine_config &mconfig, device_type type, std::string tag) + unixpc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/drivers/unkfr.cpp b/src/mame/drivers/unkfr.cpp index 705e9f61030..296f58b3cbd 100644 --- a/src/mame/drivers/unkfr.cpp +++ b/src/mame/drivers/unkfr.cpp @@ -21,7 +21,7 @@ class unkfr_state : public driver_device { public: - unkfr_state(const machine_config &mconfig, device_type type, std::string tag) + unkfr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } required_device m_maincpu; diff --git a/src/mame/drivers/unkhorse.cpp b/src/mame/drivers/unkhorse.cpp index 231e02ffeaf..5ac829908cc 100644 --- a/src/mame/drivers/unkhorse.cpp +++ b/src/mame/drivers/unkhorse.cpp @@ -28,7 +28,7 @@ TODO: class horse_state : public driver_device { public: - horse_state(const machine_config &mconfig, device_type type, std::string tag) + horse_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), diff --git a/src/mame/drivers/upscope.cpp b/src/mame/drivers/upscope.cpp index ea227920eac..8454f0c135e 100644 --- a/src/mame/drivers/upscope.cpp +++ b/src/mame/drivers/upscope.cpp @@ -35,7 +35,7 @@ class upscope_state : public amiga_state { public: - upscope_state(const machine_config &mconfig, device_type type, std::string tag) + upscope_state(const machine_config &mconfig, device_type type, const char *tag) : amiga_state(mconfig, type, tag), m_prev_cia1_porta(0xff), m_parallel_data(0xff) diff --git a/src/mame/drivers/uzebox.cpp b/src/mame/drivers/uzebox.cpp index 85e0e02dbc1..424f530e8e4 100644 --- a/src/mame/drivers/uzebox.cpp +++ b/src/mame/drivers/uzebox.cpp @@ -28,7 +28,7 @@ class uzebox_state : public driver_device { public: - uzebox_state(const machine_config &mconfig, device_type type, std::string tag) + uzebox_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cart(*this, "cartslot"), diff --git a/src/mame/drivers/v6809.cpp b/src/mame/drivers/v6809.cpp index de42b245068..6acbf18954e 100644 --- a/src/mame/drivers/v6809.cpp +++ b/src/mame/drivers/v6809.cpp @@ -65,7 +65,7 @@ ToDo: class v6809_state : public driver_device { public: - v6809_state(const machine_config &mconfig, device_type type, std::string tag) + v6809_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_video_address(0), m_pia0(*this, "pia0"), diff --git a/src/mame/drivers/vamphalf.cpp b/src/mame/drivers/vamphalf.cpp index 8411c003f84..97640e10076 100644 --- a/src/mame/drivers/vamphalf.cpp +++ b/src/mame/drivers/vamphalf.cpp @@ -71,7 +71,7 @@ TODO: class vamphalf_state : public driver_device { public: - vamphalf_state(const machine_config &mconfig, device_type type, std::string tag) + vamphalf_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_qs1000(*this, "qs1000"), diff --git a/src/mame/drivers/vax11.cpp b/src/mame/drivers/vax11.cpp index 977975e01f2..acf6e607316 100644 --- a/src/mame/drivers/vax11.cpp +++ b/src/mame/drivers/vax11.cpp @@ -75,7 +75,7 @@ class vax11_state : public driver_device { public: - vax11_state(const machine_config &mconfig, device_type type, std::string tag) + vax11_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/vboy.cpp b/src/mame/drivers/vboy.cpp index 7924e2416a7..1524849c555 100644 --- a/src/mame/drivers/vboy.cpp +++ b/src/mame/drivers/vboy.cpp @@ -104,7 +104,7 @@ struct vboy_timer_t; class vboy_state : public driver_device { public: - vboy_state(const machine_config &mconfig, device_type type, std::string tag) + vboy_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cart(*this, "cartslot"), diff --git a/src/mame/drivers/vcombat.cpp b/src/mame/drivers/vcombat.cpp index ee56ced6336..ad72f7770b8 100644 --- a/src/mame/drivers/vcombat.cpp +++ b/src/mame/drivers/vcombat.cpp @@ -95,7 +95,7 @@ TODO : This is a partially working driver. Most of the memory maps for class vcombat_state : public driver_device { public: - vcombat_state(const machine_config &mconfig, device_type type, std::string tag) + vcombat_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_tlc34076(*this, "tlc34076"), m_framebuffer_ctrl(*this, "fb_control"), @@ -237,18 +237,18 @@ static void wiggle_i860_common(i860_cpu_device *device, UINT16 data) if (bus_hold) { - fprintf(stderr, "M0 asserting bus HOLD to i860 %s\n", device->tag().c_str()); + fprintf(stderr, "M0 asserting bus HOLD to i860 %s\n", device->tag()); device->i860_set_pin(DEC_PIN_BUS_HOLD, 1); } else { - fprintf(stderr, "M0 clearing bus HOLD to i860 %s\n", device->tag().c_str()); + fprintf(stderr, "M0 clearing bus HOLD to i860 %s\n", device->tag()); device->i860_set_pin(DEC_PIN_BUS_HOLD, 0); } if (reset) { - fprintf(stderr, "M0 asserting RESET to i860 %s\n", device->tag().c_str()); + fprintf(stderr, "M0 asserting RESET to i860 %s\n", device->tag()); device->i860_set_pin(DEC_PIN_RESET, 1); } else diff --git a/src/mame/drivers/vd.cpp b/src/mame/drivers/vd.cpp index 4b215191f2c..f2d17a2d6fa 100644 --- a/src/mame/drivers/vd.cpp +++ b/src/mame/drivers/vd.cpp @@ -20,7 +20,7 @@ class vd_state : public driver_device { public: - vd_state(const machine_config &mconfig, device_type type, std::string tag) + vd_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/vector4.cpp b/src/mame/drivers/vector4.cpp index ca61fbf71e6..69275ba90fd 100644 --- a/src/mame/drivers/vector4.cpp +++ b/src/mame/drivers/vector4.cpp @@ -17,7 +17,7 @@ class vector4_state : public driver_device { public: - vector4_state(const machine_config &mconfig, device_type type, std::string tag) + vector4_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/drivers/vega.cpp b/src/mame/drivers/vega.cpp index 8d0bb044421..12497b386ab 100644 --- a/src/mame/drivers/vega.cpp +++ b/src/mame/drivers/vega.cpp @@ -101,7 +101,7 @@ class vega_state : public driver_device { public: - vega_state(const machine_config &mconfig, device_type type, std::string tag) + vega_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_i8255(*this, "ppi8255"), diff --git a/src/mame/drivers/vegaeo.cpp b/src/mame/drivers/vegaeo.cpp index a7ccb3708f3..9d366595ed8 100644 --- a/src/mame/drivers/vegaeo.cpp +++ b/src/mame/drivers/vegaeo.cpp @@ -23,7 +23,7 @@ class vegaeo_state : public eolith_state { public: - vegaeo_state(const machine_config &mconfig, device_type type, std::string tag) + vegaeo_state(const machine_config &mconfig, device_type type, const char *tag) : eolith_state(mconfig, type, tag) { } std::unique_ptr m_vega_vram; diff --git a/src/mame/drivers/vegas.cpp b/src/mame/drivers/vegas.cpp index c984065e8d2..c71cff65f1a 100644 --- a/src/mame/drivers/vegas.cpp +++ b/src/mame/drivers/vegas.cpp @@ -454,7 +454,7 @@ struct dynamic_address class vegas_state : public driver_device { public: - vegas_state(const machine_config &mconfig, device_type type, std::string tag) + vegas_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_timekeeper(*this, "timekeeper") , diff --git a/src/mame/drivers/vg5k.cpp b/src/mame/drivers/vg5k.cpp index 4ac34148c9c..5cfa9528dd4 100644 --- a/src/mame/drivers/vg5k.cpp +++ b/src/mame/drivers/vg5k.cpp @@ -62,7 +62,7 @@ class vg5k_state : public driver_device { public: - vg5k_state(const machine_config &mconfig, device_type type, std::string tag) + vg5k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ef9345(*this, "ef9345"), diff --git a/src/mame/drivers/videopkr.cpp b/src/mame/drivers/videopkr.cpp index dda469941ed..e73ff6d5883 100644 --- a/src/mame/drivers/videopkr.cpp +++ b/src/mame/drivers/videopkr.cpp @@ -296,7 +296,7 @@ class videopkr_state : public driver_device { public: - videopkr_state(const machine_config &mconfig, device_type type, std::string tag) + videopkr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/drivers/vii.cpp b/src/mame/drivers/vii.cpp index ce962427f13..bdac38aecc0 100644 --- a/src/mame/drivers/vii.cpp +++ b/src/mame/drivers/vii.cpp @@ -93,7 +93,7 @@ Detailed list of bugs: class vii_state : public driver_device { public: - vii_state(const machine_config &mconfig, device_type type, std::string tag) + vii_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cart(*this, "cartslot"), diff --git a/src/mame/drivers/viper.cpp b/src/mame/drivers/viper.cpp index 36dd89d224f..36325bcb1f2 100644 --- a/src/mame/drivers/viper.cpp +++ b/src/mame/drivers/viper.cpp @@ -373,7 +373,7 @@ static timer_device *ds2430_bit_timer; class viper_state : public driver_device { public: - viper_state(const machine_config &mconfig, device_type type, std::string tag) + viper_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ata(*this, "ata"), diff --git a/src/mame/drivers/vk100.cpp b/src/mame/drivers/vk100.cpp index c8e334ba15a..7864083b066 100644 --- a/src/mame/drivers/vk100.cpp +++ b/src/mame/drivers/vk100.cpp @@ -167,7 +167,7 @@ public: TIMER_EXECUTE_VG }; - vk100_state(const machine_config &mconfig, device_type type, std::string tag) : + vk100_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_crtc(*this, "crtc"), diff --git a/src/mame/drivers/vlc.cpp b/src/mame/drivers/vlc.cpp index 0d930fd853f..9af970eb247 100644 --- a/src/mame/drivers/vlc.cpp +++ b/src/mame/drivers/vlc.cpp @@ -151,7 +151,7 @@ nevada TYPE2 : 64 45 51 06 32 02 31 31 class nevada_state : public driver_device { public: - nevada_state(const machine_config &mconfig, device_type type, std::string tag) + nevada_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_duart18_68681(*this, "duart18_68681"), m_duart39_68681(*this, "duart39_68681"), diff --git a/src/mame/drivers/votrpss.cpp b/src/mame/drivers/votrpss.cpp index 8f80a246bc5..d74006139d3 100644 --- a/src/mame/drivers/votrpss.cpp +++ b/src/mame/drivers/votrpss.cpp @@ -88,7 +88,7 @@ Things to be looked at: class votrpss_state : public driver_device { public: - votrpss_state(const machine_config &mconfig, device_type type, std::string tag) + votrpss_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG), diff --git a/src/mame/drivers/votrtnt.cpp b/src/mame/drivers/votrtnt.cpp index ca3d1f0107b..7d7c007ee35 100644 --- a/src/mame/drivers/votrtnt.cpp +++ b/src/mame/drivers/votrtnt.cpp @@ -43,7 +43,7 @@ class votrtnt_state : public driver_device { public: - votrtnt_state(const machine_config &mconfig, device_type type, std::string tag) : + votrtnt_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_votrax(*this, "votrax"), diff --git a/src/mame/drivers/voyager.cpp b/src/mame/drivers/voyager.cpp index 9ea134b030d..7afe5159636 100644 --- a/src/mame/drivers/voyager.cpp +++ b/src/mame/drivers/voyager.cpp @@ -26,7 +26,7 @@ TODO: VIA KT133a chipset support, GeForce 2MX video support, lots of things ;-) class voyager_state : public pcat_base_state { public: - voyager_state(const machine_config &mconfig, device_type type, std::string tag) + voyager_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/vp101.cpp b/src/mame/drivers/vp101.cpp index 55a4973c254..a1b66a5e1b8 100644 --- a/src/mame/drivers/vp101.cpp +++ b/src/mame/drivers/vp101.cpp @@ -23,7 +23,7 @@ class vp10x_state : public driver_device { public: - vp10x_state(const machine_config &mconfig, device_type type, std::string tag) + vp10x_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/vpoker.cpp b/src/mame/drivers/vpoker.cpp index 30959a2a085..1a23190c002 100644 --- a/src/mame/drivers/vpoker.cpp +++ b/src/mame/drivers/vpoker.cpp @@ -106,7 +106,7 @@ class vpoker_state : public driver_device { public: - vpoker_state(const machine_config &mconfig, device_type type, std::string tag) + vpoker_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/vroulet.cpp b/src/mame/drivers/vroulet.cpp index 2f3cbabb21e..dcbf7a37c29 100644 --- a/src/mame/drivers/vroulet.cpp +++ b/src/mame/drivers/vroulet.cpp @@ -46,7 +46,7 @@ Tomasz Slanina 20050225 class vroulet_state : public driver_device { public: - vroulet_state(const machine_config &mconfig, device_type type, std::string tag) + vroulet_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/vt100.cpp b/src/mame/drivers/vt100.cpp index bb3a17de81e..1d655600979 100644 --- a/src/mame/drivers/vt100.cpp +++ b/src/mame/drivers/vt100.cpp @@ -34,7 +34,7 @@ class vt100_state : public driver_device { public: - vt100_state(const machine_config &mconfig, device_type type, std::string tag) : + vt100_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_crtc(*this, "vt100_video"), diff --git a/src/mame/drivers/vt220.cpp b/src/mame/drivers/vt220.cpp index edbeb00cc3a..42fcb2ea2c1 100644 --- a/src/mame/drivers/vt220.cpp +++ b/src/mame/drivers/vt220.cpp @@ -19,7 +19,7 @@ class vt220_state : public driver_device { public: - vt220_state(const machine_config &mconfig, device_type type, std::string tag) + vt220_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG) { } diff --git a/src/mame/drivers/vt240.cpp b/src/mame/drivers/vt240.cpp index 665f47bb13b..153cc6f249f 100644 --- a/src/mame/drivers/vt240.cpp +++ b/src/mame/drivers/vt240.cpp @@ -47,7 +47,7 @@ class vt240_state : public driver_device { public: - vt240_state(const machine_config &mconfig, device_type type, std::string tag) + vt240_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_i8251(*this, "i8251"), diff --git a/src/mame/drivers/vt320.cpp b/src/mame/drivers/vt320.cpp index 1da204444cb..5a661b962b6 100644 --- a/src/mame/drivers/vt320.cpp +++ b/src/mame/drivers/vt320.cpp @@ -16,7 +16,7 @@ class vt320_state : public driver_device { public: - vt320_state(const machine_config &mconfig, device_type type, std::string tag) + vt320_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG) { } diff --git a/src/mame/drivers/vt520.cpp b/src/mame/drivers/vt520.cpp index 1a04168a161..c65c7ebe5ee 100644 --- a/src/mame/drivers/vt520.cpp +++ b/src/mame/drivers/vt520.cpp @@ -16,7 +16,7 @@ class vt520_state : public driver_device { public: - vt520_state(const machine_config &mconfig, device_type type, std::string tag) + vt520_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/vta2000.cpp b/src/mame/drivers/vta2000.cpp index e99dc5f67bc..c301e5bcd18 100644 --- a/src/mame/drivers/vta2000.cpp +++ b/src/mame/drivers/vta2000.cpp @@ -25,7 +25,7 @@ Note: port 0 bit 4 is NOT a speaker bit. See code at 027B. class vta2000_state : public driver_device { public: - vta2000_state(const machine_config &mconfig, device_type type, std::string tag) + vta2000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_p_videoram(*this, "videoram") , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/vtech1.cpp b/src/mame/drivers/vtech1.cpp index 342b55a5262..01ea9d775bb 100644 --- a/src/mame/drivers/vtech1.cpp +++ b/src/mame/drivers/vtech1.cpp @@ -60,7 +60,7 @@ Todo: class vtech1_state : public driver_device { public: - vtech1_state(const machine_config &mconfig, device_type type, std::string tag) : + vtech1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/wacky_gator.cpp b/src/mame/drivers/wacky_gator.cpp index 4125daa610d..77f67d7165e 100644 --- a/src/mame/drivers/wacky_gator.cpp +++ b/src/mame/drivers/wacky_gator.cpp @@ -30,7 +30,7 @@ class wackygtr_state : public driver_device { public: - wackygtr_state(const machine_config &mconfig, device_type type, std::string tag) + wackygtr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_msm(*this, "msm"), diff --git a/src/mame/drivers/wallc.cpp b/src/mame/drivers/wallc.cpp index d75c6e092f5..7e6243e6f60 100644 --- a/src/mame/drivers/wallc.cpp +++ b/src/mame/drivers/wallc.cpp @@ -58,7 +58,7 @@ Thanks to HIGHWAYMAN for providing info on how to get to these epoxies class wallc_state : public driver_device { public: - wallc_state(const machine_config &mconfig, device_type type, std::string tag) + wallc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/wardner.cpp b/src/mame/drivers/wardner.cpp index 3b3b3648689..da4e7c078b7 100644 --- a/src/mame/drivers/wardner.cpp +++ b/src/mame/drivers/wardner.cpp @@ -138,7 +138,7 @@ out: class wardner_state : public twincobr_state { public: - wardner_state(const machine_config &mconfig, device_type type, std::string tag) + wardner_state(const machine_config &mconfig, device_type type, const char *tag) : twincobr_state(mconfig, type, tag), m_membank(*this, "membank") { diff --git a/src/mame/drivers/warpsped.cpp b/src/mame/drivers/warpsped.cpp index d58fb2a9c23..8601b04879b 100644 --- a/src/mame/drivers/warpsped.cpp +++ b/src/mame/drivers/warpsped.cpp @@ -91,7 +91,7 @@ L10, L15, L18 and G18 all read the same class warpspeed_state : public driver_device { public: - warpspeed_state(const machine_config &mconfig, device_type type, std::string tag) + warpspeed_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/drivers/wheelfir.cpp b/src/mame/drivers/wheelfir.cpp index 5693a98bfd5..e2f2c10c88c 100644 --- a/src/mame/drivers/wheelfir.cpp +++ b/src/mame/drivers/wheelfir.cpp @@ -230,7 +230,7 @@ struct scroll_info class wheelfir_state : public driver_device { public: - wheelfir_state(const machine_config &mconfig, device_type type, std::string tag) + wheelfir_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "subcpu"), diff --git a/src/mame/drivers/white_mod.cpp b/src/mame/drivers/white_mod.cpp index 35f1751b898..b6a606f2412 100644 --- a/src/mame/drivers/white_mod.cpp +++ b/src/mame/drivers/white_mod.cpp @@ -11,7 +11,7 @@ class whitestar_mod_state : public driver_device { public: - whitestar_mod_state(const machine_config &mconfig, device_type type, std::string tag) + whitestar_mod_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/whitestar.cpp b/src/mame/drivers/whitestar.cpp index de9fdc4f51e..2eb20073da7 100644 --- a/src/mame/drivers/whitestar.cpp +++ b/src/mame/drivers/whitestar.cpp @@ -14,7 +14,7 @@ class whitestar_state : public driver_device { public: - whitestar_state(const machine_config &mconfig, device_type type, std::string tag) + whitestar_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_decobsmt(*this, "decobsmt"), diff --git a/src/mame/drivers/wicat.cpp b/src/mame/drivers/wicat.cpp index 486b336f94c..81b17bb1bb2 100644 --- a/src/mame/drivers/wicat.cpp +++ b/src/mame/drivers/wicat.cpp @@ -33,7 +33,7 @@ Wicat - various systems. class wicat_state : public driver_device { public: - wicat_state(const machine_config &mconfig, device_type type, std::string tag) + wicat_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_vram(*this, "vram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/wico.cpp b/src/mame/drivers/wico.cpp index cb9f742d9d1..d5c3e13a649 100644 --- a/src/mame/drivers/wico.cpp +++ b/src/mame/drivers/wico.cpp @@ -45,7 +45,7 @@ ToDo: class wico_state : public genpin_class { public: - wico_state(const machine_config &mconfig, device_type type, std::string tag) + wico_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_ccpu(*this, "ccpu") , m_hcpu(*this, "hcpu") diff --git a/src/mame/drivers/wildfire.cpp b/src/mame/drivers/wildfire.cpp index 7ff8b168076..d9e7a036bfe 100644 --- a/src/mame/drivers/wildfire.cpp +++ b/src/mame/drivers/wildfire.cpp @@ -35,7 +35,7 @@ class wildfire_state : public driver_device { public: - wildfire_state(const machine_config &mconfig, device_type type, std::string tag) + wildfire_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/drivers/wildpkr.cpp b/src/mame/drivers/wildpkr.cpp index 356af480052..c3f35668fdc 100644 --- a/src/mame/drivers/wildpkr.cpp +++ b/src/mame/drivers/wildpkr.cpp @@ -171,7 +171,7 @@ class wildpkr_state : public driver_device { public: - wildpkr_state(const machine_config &mconfig, device_type type, std::string tag) + wildpkr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/wink.cpp b/src/mame/drivers/wink.cpp index 1c2237ae0cd..df9e42a26f7 100644 --- a/src/mame/drivers/wink.cpp +++ b/src/mame/drivers/wink.cpp @@ -21,7 +21,7 @@ class wink_state : public driver_device { public: - wink_state(const machine_config &mconfig, device_type type, std::string tag) + wink_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/witch.cpp b/src/mame/drivers/witch.cpp index 851156984fd..1eaa13ce0ee 100644 --- a/src/mame/drivers/witch.cpp +++ b/src/mame/drivers/witch.cpp @@ -236,7 +236,7 @@ TODO : class witch_state : public driver_device { public: - witch_state(const machine_config &mconfig, device_type type, std::string tag) + witch_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/drivers/wmg.cpp b/src/mame/drivers/wmg.cpp index bbc1729e94b..53084fc46f8 100644 --- a/src/mame/drivers/wmg.cpp +++ b/src/mame/drivers/wmg.cpp @@ -78,7 +78,7 @@ of save-state is also needed. class wmg_state : public williams_state { public: - wmg_state(const machine_config &mconfig, device_type type, std::string tag) + wmg_state(const machine_config &mconfig, device_type type, const char *tag) : williams_state(mconfig, type, tag) , m_p_ram(*this, "nvram") { } @@ -245,7 +245,7 @@ WRITE_LINE_MEMBER( wmg_state::wmg_port_select_w ) CUSTOM_INPUT_MEMBER(wmg_state::wmg_mux_r) { - const char* tag = (const char *)param; + const char *tag = (const char *)param; if (m_wmg_port_select) for (int i = 0; i < m_wmg_port_select; i++) diff --git a/src/mame/drivers/wms.cpp b/src/mame/drivers/wms.cpp index 8a1a6b65a8e..21f56ca3a3d 100644 --- a/src/mame/drivers/wms.cpp +++ b/src/mame/drivers/wms.cpp @@ -88,7 +88,7 @@ class wms_state : public driver_device { public: - wms_state(const machine_config &mconfig, device_type type, std::string tag) + wms_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/wpc_95.cpp b/src/mame/drivers/wpc_95.cpp index 4473fcc56dd..eb305804a4c 100644 --- a/src/mame/drivers/wpc_95.cpp +++ b/src/mame/drivers/wpc_95.cpp @@ -16,7 +16,7 @@ class wpc_95_state : public driver_device { public: - wpc_95_state(const machine_config &mconfig, device_type type, std::string tag) + wpc_95_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), maincpu(*this, "maincpu"), dcs(*this, "dcs"), diff --git a/src/mame/drivers/wpc_an.cpp b/src/mame/drivers/wpc_an.cpp index 4670b8ea007..893b2331747 100644 --- a/src/mame/drivers/wpc_an.cpp +++ b/src/mame/drivers/wpc_an.cpp @@ -17,7 +17,7 @@ class wpc_an_state : public driver_device { public: - wpc_an_state(const machine_config &mconfig, device_type type, std::string tag) + wpc_an_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_bg(*this,"bg"), diff --git a/src/mame/drivers/wpc_dcs.cpp b/src/mame/drivers/wpc_dcs.cpp index 3ed2ca03e65..daff3ed55d0 100644 --- a/src/mame/drivers/wpc_dcs.cpp +++ b/src/mame/drivers/wpc_dcs.cpp @@ -16,7 +16,7 @@ class wpc_dcs_state : public driver_device { public: - wpc_dcs_state(const machine_config &mconfig, device_type type, std::string tag) + wpc_dcs_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), maincpu(*this, "maincpu"), dcs(*this, "dcs"), diff --git a/src/mame/drivers/wpc_s.cpp b/src/mame/drivers/wpc_s.cpp index 4b29462a0c4..ce4126b6db1 100644 --- a/src/mame/drivers/wpc_s.cpp +++ b/src/mame/drivers/wpc_s.cpp @@ -14,7 +14,7 @@ class wpc_s_state : public driver_device { public: - wpc_s_state(const machine_config &mconfig, device_type type, std::string tag) + wpc_s_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), maincpu(*this, "maincpu"), dcs(*this, "dcs"), diff --git a/src/mame/drivers/wyvernf0.cpp b/src/mame/drivers/wyvernf0.cpp index 4a28b0f01b3..01c7bbd83ae 100644 --- a/src/mame/drivers/wyvernf0.cpp +++ b/src/mame/drivers/wyvernf0.cpp @@ -37,7 +37,7 @@ Actual game video: http://www.nicozon.net/watch/sm10823430 class wyvernf0_state : public driver_device { public: - wyvernf0_state(const machine_config &mconfig, device_type type, std::string tag) + wyvernf0_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_bgram(*this,"bgram"), m_fgram(*this,"fgram"), diff --git a/src/mame/drivers/x1twin.cpp b/src/mame/drivers/x1twin.cpp index 075a24c0e2a..41783de4e28 100644 --- a/src/mame/drivers/x1twin.cpp +++ b/src/mame/drivers/x1twin.cpp @@ -25,7 +25,7 @@ class x1twin_state : public x1_state { public: - x1twin_state(const machine_config &mconfig, device_type type, std::string tag) + x1twin_state(const machine_config &mconfig, device_type type, const char *tag) : x1_state(mconfig, type, tag) { } UINT32 screen_update_x1pce(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); diff --git a/src/mame/drivers/xavix.cpp b/src/mame/drivers/xavix.cpp index 688f8b89d92..faa669cd547 100644 --- a/src/mame/drivers/xavix.cpp +++ b/src/mame/drivers/xavix.cpp @@ -23,7 +23,7 @@ class xavix_state : public driver_device { public: - xavix_state(const machine_config &mconfig, device_type type, std::string tag) + xavix_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/xbox.cpp b/src/mame/drivers/xbox.cpp index d664e2fe5dd..04cfb3b9a56 100644 --- a/src/mame/drivers/xbox.cpp +++ b/src/mame/drivers/xbox.cpp @@ -30,7 +30,7 @@ class xbox_state : public xbox_base_state { public: - xbox_state(const machine_config &mconfig, device_type type, std::string tag) : + xbox_state(const machine_config &mconfig, device_type type, const char *tag) : xbox_base_state(mconfig, type, tag), usbhack_index(-1), usbhack_counter(0) diff --git a/src/mame/drivers/xtheball.cpp b/src/mame/drivers/xtheball.cpp index 59b8c9968da..f08785b3726 100644 --- a/src/mame/drivers/xtheball.cpp +++ b/src/mame/drivers/xtheball.cpp @@ -19,7 +19,7 @@ class xtheball_state : public driver_device { public: - xtheball_state(const machine_config &mconfig, device_type type, std::string tag) + xtheball_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_tlc34076(*this, "tlc34076"), diff --git a/src/mame/drivers/xtom3d.cpp b/src/mame/drivers/xtom3d.cpp index ff513cf08a9..c017d160442 100644 --- a/src/mame/drivers/xtom3d.cpp +++ b/src/mame/drivers/xtom3d.cpp @@ -52,7 +52,7 @@ MX29F1610MC 16M FlashROM (x7) class xtom3d_state : public pcat_base_state { public: - xtom3d_state(const machine_config &mconfig, device_type type, std::string tag) + xtom3d_state(const machine_config &mconfig, device_type type, const char *tag) : pcat_base_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/ymmu100.cpp b/src/mame/drivers/ymmu100.cpp index 105dbc1ca60..a109418b62e 100644 --- a/src/mame/drivers/ymmu100.cpp +++ b/src/mame/drivers/ymmu100.cpp @@ -153,7 +153,7 @@ public: P2_LCD_ENABLE = 0x04 }; - mu100_state(const machine_config &mconfig, device_type type, std::string tag) + mu100_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_lcd(*this, "lcd"), @@ -198,7 +198,7 @@ public: class mu100r_state : public mu100_state { public: - mu100r_state(const machine_config &mconfig, device_type type, std::string tag) + mu100r_state(const machine_config &mconfig, device_type type, const char *tag) : mu100_state(mconfig, type, tag) { } diff --git a/src/mame/drivers/z100.cpp b/src/mame/drivers/z100.cpp index 0ec67548ddc..7addd6407cd 100644 --- a/src/mame/drivers/z100.cpp +++ b/src/mame/drivers/z100.cpp @@ -154,7 +154,7 @@ ZDIPSW EQU 0FFH ; Configuration dip switches class z100_state : public driver_device { public: - z100_state(const machine_config &mconfig, device_type type, std::string tag) + z100_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pia0(*this, "pia0"), diff --git a/src/mame/drivers/z1013.cpp b/src/mame/drivers/z1013.cpp index aff7677cddd..ca1d5c3a3bf 100644 --- a/src/mame/drivers/z1013.cpp +++ b/src/mame/drivers/z1013.cpp @@ -60,7 +60,7 @@ Due to no input checking, misuse of commands can crash the system. class z1013_state : public driver_device { public: - z1013_state(const machine_config &mconfig, device_type type, std::string tag) + z1013_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cass(*this, "cassette"), diff --git a/src/mame/drivers/z80dev.cpp b/src/mame/drivers/z80dev.cpp index 9b57ea427c9..b18d93529a8 100644 --- a/src/mame/drivers/z80dev.cpp +++ b/src/mame/drivers/z80dev.cpp @@ -28,7 +28,7 @@ Press the up-arrow key to confirm data has been entered. class z80dev_state : public driver_device { public: - z80dev_state(const machine_config &mconfig, device_type type, std::string tag) + z80dev_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/z9001.cpp b/src/mame/drivers/z9001.cpp index 85dc16e8148..8c824b53f87 100644 --- a/src/mame/drivers/z9001.cpp +++ b/src/mame/drivers/z9001.cpp @@ -44,7 +44,7 @@ ToDo: class z9001_state : public driver_device { public: - z9001_state(const machine_config &mconfig, device_type type, std::string tag) + z9001_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_framecnt(0), diff --git a/src/mame/drivers/zac_1.cpp b/src/mame/drivers/zac_1.cpp index f033114f6c6..ae94d5a5b96 100644 --- a/src/mame/drivers/zac_1.cpp +++ b/src/mame/drivers/zac_1.cpp @@ -37,7 +37,7 @@ ToDo: class zac_1_state : public genpin_class { public: - zac_1_state(const machine_config &mconfig, device_type type, std::string tag) + zac_1_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_p_ram(*this, "ram") diff --git a/src/mame/drivers/zac_2.cpp b/src/mame/drivers/zac_2.cpp index 1bb7e8e62e7..659e38ae6aa 100644 --- a/src/mame/drivers/zac_2.cpp +++ b/src/mame/drivers/zac_2.cpp @@ -15,7 +15,7 @@ class zac_2_state : public driver_device { public: - zac_2_state(const machine_config &mconfig, device_type type, std::string tag) + zac_2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_p_ram(*this, "ram"), diff --git a/src/mame/drivers/zac_proto.cpp b/src/mame/drivers/zac_proto.cpp index c68c4609344..af6b1f604e5 100644 --- a/src/mame/drivers/zac_proto.cpp +++ b/src/mame/drivers/zac_proto.cpp @@ -27,7 +27,7 @@ ToDo: class zac_proto_state : public genpin_class { public: - zac_proto_state(const machine_config &mconfig, device_type type, std::string tag) + zac_proto_state(const machine_config &mconfig, device_type type, const char *tag) : genpin_class(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/zapcomputer.cpp b/src/mame/drivers/zapcomputer.cpp index 57207743114..f6dab84cc73 100644 --- a/src/mame/drivers/zapcomputer.cpp +++ b/src/mame/drivers/zapcomputer.cpp @@ -34,7 +34,7 @@ class zapcomp_state : public driver_device { public: - zapcomp_state(const machine_config &mconfig, device_type type, std::string tag) + zapcomp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/drivers/zaurus.cpp b/src/mame/drivers/zaurus.cpp index 95ef7eac4c3..cf19f15c8ff 100644 --- a/src/mame/drivers/zaurus.cpp +++ b/src/mame/drivers/zaurus.cpp @@ -1414,7 +1414,7 @@ Note: class zaurus_state : public driver_device { public: - zaurus_state(const machine_config &mconfig, device_type type, std::string tag) + zaurus_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, "ram") diff --git a/src/mame/drivers/zexall.cpp b/src/mame/drivers/zexall.cpp index 4d1fe464b4e..4ca777e18dd 100644 --- a/src/mame/drivers/zexall.cpp +++ b/src/mame/drivers/zexall.cpp @@ -29,7 +29,7 @@ One i/o port is used: class zexall_state : public driver_device { public: - zexall_state(const machine_config &mconfig, device_type type, std::string tag) + zexall_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG), diff --git a/src/mame/drivers/zn.cpp b/src/mame/drivers/zn.cpp index d6447089a64..79d6ea77855 100644 --- a/src/mame/drivers/zn.cpp +++ b/src/mame/drivers/zn.cpp @@ -36,7 +36,7 @@ class zn_state : public driver_device { public: - zn_state(const machine_config &mconfig, device_type type, std::string tag) : + zn_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_gpu(*this, "gpu"), m_gpu_screen(*this, "gpu:screen"), diff --git a/src/mame/drivers/zorba.cpp b/src/mame/drivers/zorba.cpp index 278547ce547..647ef396c0f 100644 --- a/src/mame/drivers/zorba.cpp +++ b/src/mame/drivers/zorba.cpp @@ -49,7 +49,7 @@ ToDo: class zorba_state : public driver_device { public: - zorba_state(const machine_config &mconfig, device_type type, std::string tag) + zorba_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_maincpu(*this, "maincpu") diff --git a/src/mame/drivers/zr107.cpp b/src/mame/drivers/zr107.cpp index 8db49ba17a3..f838f3e21e2 100644 --- a/src/mame/drivers/zr107.cpp +++ b/src/mame/drivers/zr107.cpp @@ -185,7 +185,7 @@ Check gticlub.c for details on the bottom board. class zr107_state : public driver_device { public: - zr107_state(const machine_config &mconfig, device_type type, std::string tag) + zr107_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/drivers/zrt80.cpp b/src/mame/drivers/zrt80.cpp index 25586391175..940a0ce6acc 100644 --- a/src/mame/drivers/zrt80.cpp +++ b/src/mame/drivers/zrt80.cpp @@ -33,7 +33,7 @@ public: TIMER_BEEP_OFF }; - zrt80_state(const machine_config &mconfig, device_type type, std::string tag) + zrt80_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/drivers/zsbc3.cpp b/src/mame/drivers/zsbc3.cpp index 4e28ad55038..9d4588785c7 100644 --- a/src/mame/drivers/zsbc3.cpp +++ b/src/mame/drivers/zsbc3.cpp @@ -43,7 +43,7 @@ class zsbc3_state : public driver_device { public: - zsbc3_state(const machine_config &mconfig, device_type type, std::string tag) + zsbc3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/etc/template_cpu.cpp b/src/mame/etc/template_cpu.cpp index f5161a71380..3f85ad1dddc 100644 --- a/src/mame/etc/template_cpu.cpp +++ b/src/mame/etc/template_cpu.cpp @@ -99,7 +99,7 @@ void xxx_cpu_device::execute_set_input(int irqline, int state) } #endif -xxx_cpu_device::xxx_cpu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +xxx_cpu_device::xxx_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : cpu_device(mconfig, XXX, "XXX", tag, owner, clock, "xxx", __FILE__) , m_program_config("program", ENDIANNESS_BIG, 8, 32, -1) , m_data_config("data", ENDIANNESS_BIG, 8, 32, 0) diff --git a/src/mame/etc/template_device.cpp b/src/mame/etc/template_device.cpp index 503929bb90b..8bc48c8e5de 100644 --- a/src/mame/etc/template_device.cpp +++ b/src/mame/etc/template_device.cpp @@ -27,7 +27,7 @@ const device_type XXX = &device_creator; // xxx_device - constructor //------------------------------------------------- -xxx_device::xxx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +xxx_device::xxx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, XXX, "xxx_longname", tag, owner, clock, "xxx", __FILE__) { } diff --git a/src/mame/etc/template_device.h b/src/mame/etc/template_device.h index 7359d5ead4b..409c9cb3ad3 100644 --- a/src/mame/etc/template_device.h +++ b/src/mame/etc/template_device.h @@ -30,7 +30,7 @@ class xxx_device : public device_t { public: // construction/destruction - xxx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + xxx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // I/O operations DECLARE_WRITE8_MEMBER( write ); diff --git a/src/mame/etc/template_driver.cpp b/src/mame/etc/template_driver.cpp index 0055b554c7f..c233db1b6ba 100644 --- a/src/mame/etc/template_driver.cpp +++ b/src/mame/etc/template_driver.cpp @@ -16,7 +16,7 @@ Template for skeleton drivers class xxx_state : public driver_device { public: - xxx_state(const machine_config &mconfig, device_type type, std::string tag) + xxx_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/includes/1942.h b/src/mame/includes/1942.h index 0a3bf182c5d..2a35641950f 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, std::string tag) + _1942_state(const machine_config &mconfig, device_type type, const char *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 2deeb9b269a..9e926cbf8b6 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, std::string tag) + _1943_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/20pacgal.h b/src/mame/includes/20pacgal.h index a29a26ab46e..b9043dd26d2 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, std::string tag) + _20pacgal_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + _25pacman_state(const machine_config &mconfig, device_type type, const char *tag) : _20pacgal_state(mconfig, type, tag) { } diff --git a/src/mame/includes/3do.h b/src/mame/includes/3do.h index a3be5eb1302..c826052faa4 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, std::string tag) + _3do_state(const machine_config &mconfig, device_type type, const char *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 78dc572c6a2..f40e4b338f3 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, std::string tag) + fortyl_state(const machine_config &mconfig, device_type type, const char *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 ad01080c9c9..fbc92212515 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, std::string tag) + _4enraya_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ay(*this, "aysnd"), diff --git a/src/mame/includes/8080bw.h b/src/mame/includes/8080bw.h index 04d37a12018..da298c9174d 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, std::string tag) + _8080bw_state(const machine_config &mconfig, device_type type, const char *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 ef8565451e8..892b05883df 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, std::string tag) + _88games_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/abc1600.h b/src/mame/includes/abc1600.h index 6c76362197c..5269a352c47 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, std::string tag) + abc1600_state(const machine_config &mconfig, device_type type, const char *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 ee9c032486f..794ce95d141 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, std::string tag) : + abc80_state(const machine_config &mconfig, device_type type, const char *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 c56f698438c..ff688fd9702 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, std::string tag) : + abc800_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + abc800m_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + abc800c_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + abc802_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + abc806_state(const machine_config &mconfig, device_type type, const char *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 c29e2d960fd..b127b882a2b 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, std::string tag) + ac1_state(const machine_config &mconfig, device_type type, const char *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 00c10c48986..f26d9843b3f 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, std::string tag) + actfancr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_main_ram(*this, "main_ram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/adam.h b/src/mame/includes/adam.h index 4596c0be499..604b14782d6 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, std::string tag) : + adam_state(const machine_config &mconfig, device_type type, const char *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 d4db761cf54..67182a92163 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, std::string tag) + advision_state(const machine_config &mconfig, device_type type, const char *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 fe895521236..81510561b29 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, std::string tag) + aeroboto_state(const machine_config &mconfig, device_type type, const char *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 bc721632e6f..194640f805c 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, std::string tag) + aerofgt_state(const machine_config &mconfig, device_type type, const char *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 e4893f92885..8ef3a8e98c2 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, std::string tag) + aim65_state(const machine_config &mconfig, device_type type, const char *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 63e34f4a535..ae570085a3e 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, std::string tag) + airbustr_state(const machine_config &mconfig, device_type type, const char *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 0cbba802a88..3f633044eae 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, std::string tag) + ajax_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/alesis.h b/src/mame/includes/alesis.h index 0424cc09c0e..c22899efdd3 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, std::string tag, device_t *owner, UINT32 clock); + alesis_dm3ag_device(const machine_config &mconfig, const char *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, std::string tag) + alesis_state(const machine_config &mconfig, device_type type, const char *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 635e4b9b366..8d78eb14660 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, std::string tag) + aliens_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/alpha68k.h b/src/mame/includes/alpha68k.h index 367829de950..22fb75f2d21 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, std::string tag) + alpha68k_state(const machine_config &mconfig, device_type type, const char *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 b77804f8cef..bb67a139dda 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, std::string tag) + ambush_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/amiga.h b/src/mame/includes/amiga.h index 212f4de451f..680dcffdb5e 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, std::string tag) : + amiga_state(const machine_config &mconfig, device_type type, const char *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 b30db6e1306..2270da2dc3e 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, std::string tag) + ampoker2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/amspdwy.h b/src/mame/includes/amspdwy.h index 14becd93b66..079b811b7f6 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, std::string tag) + amspdwy_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/amstrad.h b/src/mame/includes/amstrad.h index 4c3b524e15a..ce09d777428 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, std::string tag) + amstrad_state(const machine_config &mconfig, device_type type, const char *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 ab0c5000cd5..ecd59f1e4e5 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, std::string tag) + angelkds_state(const machine_config &mconfig, device_type type, const char *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 f300aff3d0d..978d2ef0257 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().c_str()); machine().logerror x; machine().logerror ("\n"); apollo_check_log(); } +#define CLOG(x) { machine().logerror ("%s - %s: ", apollo_cpu_context(machine().device(MAINCPU)), tag()); 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().c_str()); 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()); 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, std::string tag) + apollo_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, + apollo_sio(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + apollo_ni(const machine_config &mconfig, const char *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, 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(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(); 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, std::string tag, device_t *owner, UINT32 clock); + apollo_graphics_19i(const machine_config &mconfig, const char *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, std::string tag, + apollo_stdio_device(const machine_config &mconfig, const char *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 b1010cb6313..35215b9e9a3 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, std::string tag) + apple1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/apple2.h b/src/mame/includes/apple2.h index ff01bd53410..0216a80236e 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, std::string tag) + apple2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/apple2gs.h b/src/mame/includes/apple2gs.h index e50d9faa041..6812cc2b466 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, std::string tag) + apple2gs_state(const machine_config &mconfig, device_type type, const char *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 896aaac8671..4d53b0bba56 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, std::string tag) + apple3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/appoooh.h b/src/mame/includes/appoooh.h index 5200de8cc94..34e49e02c8b 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, std::string tag) + appoooh_state(const machine_config &mconfig, device_type type, const char *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 d0e7da92199..2741a17be17 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, std::string tag) + aquarium_state(const machine_config &mconfig, device_type type, const char *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 a5ea8517ccc..c9325f074b6 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, std::string tag) + aquarius_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/arabian.h b/src/mame/includes/arabian.h index 96ca38c5e20..0dc5fc7fde2 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, std::string tag) + arabian_state(const machine_config &mconfig, device_type type, const char *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 480c7f20073..7a580d012c1 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, std::string tag) + arcadecl_state(const machine_config &mconfig, device_type type, const char *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 f9f7931ee66..164c095852c 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, std::string tag) + arcadia_state(const machine_config &mconfig, device_type type, const char *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 8158adb5418..9156fa255eb 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, std::string tag) + archimedes_state(const machine_config &mconfig, device_type type, const char *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 1f3f136726a..1274f9a5d58 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, std::string tag) + argus_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/arkanoid.h b/src/mame/includes/arkanoid.h index 7da89d7e72d..05d3ab53400 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, std::string tag) + arkanoid_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this,"videoram"), m_spriteram(*this,"spriteram"), diff --git a/src/mame/includes/armedf.h b/src/mame/includes/armedf.h index 8c58a01cef3..b09b256ee45 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, std::string tag) + armedf_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + bigfghtr_state(const machine_config &mconfig, device_type type, const char *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 d02da1fcd7b..32f56fd2747 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, std::string tag) + artmagic_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki(*this, "oki"), diff --git a/src/mame/includes/ashnojoe.h b/src/mame/includes/ashnojoe.h index 5de4adc05d2..028ccdd650a 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, std::string tag) + ashnojoe_state(const machine_config &mconfig, device_type type, const char *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 05acbea623b..04a65a6aee3 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, std::string tag) + asterix_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/asteroid.h b/src/mame/includes/asteroid.h index 6ce78646fe0..3929311d0c9 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, std::string tag) + asteroid_state(const machine_config &mconfig, device_type type, const char *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 c6901fcfcf1..99ec5cc7e39 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, std::string tag) + astrocde_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/astrof.h b/src/mame/includes/astrof.h index 11a69a7aed8..f45a3681777 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, std::string tag) + astrof_state(const machine_config &mconfig, device_type type, const char *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 963a0ba5daa..5e824c3da78 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, std::string tag) + asuka_state(const machine_config &mconfig, device_type type, const char *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 34d213537d4..7d1d8e84d4b 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, std::string tag) + at586_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + at_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + megapc_state(const machine_config &mconfig, device_type type, const char *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 e7df9e30db6..ed899fc5386 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, std::string tag) + atari_common_state(const machine_config &mconfig, device_type type, const char *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 5bfe589dcd2..445ab76f18a 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, std::string tag) + atarifb_state(const machine_config &mconfig, device_type type, const char *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 7b17b33b571..3cef67afe31 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, std::string tag) + atarig1_state(const machine_config &mconfig, device_type type, const char *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 05880a6675e..048d0c5384e 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, std::string tag) + atarig42_state(const machine_config &mconfig, device_type type, const char *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 6f6ee9f5d7a..b2bc558eb1f 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, std::string tag) + atarigt_state(const machine_config &mconfig, device_type type, const char *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 4ef3932f41c..e0393e3b22e 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, std::string tag) + atarigx2_state(const machine_config &mconfig, device_type type, const char *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 c9499ac7895..34a6be7972e 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, std::string tag) + st_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + megast_state(const machine_config &mconfig, device_type type, const char *tag) : st_state(mconfig, type, tag) { } @@ -358,7 +358,7 @@ public: TIMER_MICROWIRE_TICK }; - ste_state(const machine_config &mconfig, device_type type, std::string tag) + ste_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + megaste_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + stbook_state(const machine_config &mconfig, device_type type, const char *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 71e8da26e6c..a2e27c24704 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, std::string tag) + atarisy1_state(const machine_config &mconfig, device_type type, const char *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 793a4834d59..21be1d85549 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, std::string tag) + atarisy2_state(const machine_config &mconfig, device_type type, const char *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 07e85aa679d..e35b6b9e62c 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, std::string tag) + atetris_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/atom.h b/src/mame/includes/atom.h index b593f66be3a..af9ecff57cf 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, std::string tag) + atom_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + atomeb_state(const machine_config &mconfig, device_type type, const char *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 6fe92a61538..0f798e1a99f 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, std::string tag) + aussiebyte_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_maincpu(*this, "maincpu") diff --git a/src/mame/includes/avalnche.h b/src/mame/includes/avalnche.h index 373327ce4d7..e1884176ae1 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, std::string tag) + avalnche_state(const machine_config &mconfig, device_type type, const char *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 ec1d82310c8..6ef813906b6 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, std::string tag) + avigo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/aztarac.h b/src/mame/includes/aztarac.h index 6786c3cba26..45cb076ec3c 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, std::string tag) + aztarac_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/b2m.h b/src/mame/includes/b2m.h index fb1d50e6e49..a267a2b7538 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, std::string tag) + b2m_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/includes/badlands.h b/src/mame/includes/badlands.h index 1ed276ecf0f..dca560b4466 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, std::string tag) + badlands_state(const machine_config &mconfig, device_type type, const char *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 fca8de986c9..f38bb7e361d 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, std::string tag) + bagman_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/balsente.h b/src/mame/includes/balsente.h index 126ac063087..c3bd5218959 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, std::string tag) + balsente_state(const machine_config &mconfig, device_type type, const char *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 ab8744ca894..d41e87c777e 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, std::string tag) + banctec_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/bankp.h b/src/mame/includes/bankp.h index ec7aefe74f7..9eb8b731cd0 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, std::string tag) + bankp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/baraduke.h b/src/mame/includes/baraduke.h index f8940e08551..fb468780ea9 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, std::string tag) + baraduke_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/batman.h b/src/mame/includes/batman.h index 666ce66f2ba..f98632ee177 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, std::string tag) + batman_state(const machine_config &mconfig, device_type type, const char *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 e676679ce9c..1a6e6124a12 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, std::string tag) + battlane_state(const machine_config &mconfig, device_type type, const char *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 7bbaf80ee50..3c1c72b4806 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, std::string tag) + battlera_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/battlex.h b/src/mame/includes/battlex.h index 298dfd83cdf..cf4ac5ead7f 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, std::string tag) + battlex_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/battlnts.h b/src/mame/includes/battlnts.h index a036fbf34d6..b6eff358b79 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, std::string tag) + battlnts_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/bbc.h b/src/mame/includes/bbc.h index a8cffc7c5ac..8a5851a664f 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, std::string tag) : + bbc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/bbusters.h b/src/mame/includes/bbusters.h index 48cd5206084..c2c4526502f 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, std::string tag) + bbusters_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/beathead.h b/src/mame/includes/beathead.h index 88ae6dc91a4..5913cb4a997 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, std::string tag) + beathead_state(const machine_config &mconfig, device_type type, const char *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 27c64903fa7..80ace184a53 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, std::string tag) + bebox_state(const machine_config &mconfig, device_type type, const char *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 9fcd8496215..a4afe9f6d30 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, std::string tag) + beezer_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock); + beezer_sound_device(const machine_config &mconfig, const char *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 6950d970e3d..39f01c25739 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, std::string tag) + adder5_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/includes/bfm_sc45.h b/src/mame/includes/bfm_sc45.h index cd4bf707f74..5844cdc9a1b 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, std::string tag) + bfm_sc45_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + sc4_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + sc4_adder4_state(const machine_config &mconfig, device_type type, const char *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 e8d815fea76..004a727ce04 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, std::string tag) + bfm_sc5_state(const machine_config &mconfig, device_type type, const char *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 5907235db8d..d0bd4a3cea5 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, std::string tag) + bigevglf_state(const machine_config &mconfig, device_type type, const char *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 43925568e6f..dd7bf0cb86c 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, std::string tag) + bigstrkb_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/bionicc.h b/src/mame/includes/bionicc.h index 1c138a84cac..afe83c076cb 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, std::string tag) + bionicc_state(const machine_config &mconfig, device_type type, const char *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 a68c0456f3c..f2421b3b3b9 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, std::string tag) + bishi_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/bk.h b/src/mame/includes/bk.h index f65dd632436..cd872bcaa88 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, std::string tag) + bk_state(const machine_config &mconfig, device_type type, const char *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 081a632f244..ffd455d3421 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, std::string tag) + bking_state(const machine_config &mconfig, device_type type, const char *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 ac53b37a3a3..e95eac874e8 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, std::string tag) + bladestl_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/blktiger.h b/src/mame/includes/blktiger.h index 30eeb0b999d..c464103385e 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, std::string tag) + blktiger_state(const machine_config &mconfig, device_type type, const char *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 b195e9bcc18..2fbc5390e01 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, std::string tag) + blmbycar_state(const machine_config &mconfig, device_type type, const char *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 5133478053b..d0b40e1f628 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, std::string tag) + blockade_state(const machine_config &mconfig, device_type type, const char *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 3360004f49f..81758b92397 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, std::string tag) + blockout_state(const machine_config &mconfig, device_type type, const char *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 6254f731b20..a4bfc21a918 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, std::string tag) + bloodbro_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/blstroid.h b/src/mame/includes/blstroid.h index f22f40144f1..d1cedbeead6 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, std::string tag) + blstroid_state(const machine_config &mconfig, device_type type, const char *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 3e9022da8a4..f515e0c6ed1 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, std::string tag) + blueprnt_state(const machine_config &mconfig, device_type type, const char *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 acc163f58f7..d5bd855fac3 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, std::string tag) + bogeyman_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/bombjack.h b/src/mame/includes/bombjack.h index a1f32ad899e..db58222ccea 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, std::string tag) + bombjack_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/boogwing.h b/src/mame/includes/boogwing.h index 2093f989597..9b28449b41b 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, std::string tag) + boogwing_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/bottom9.h b/src/mame/includes/bottom9.h index 18ead5f59bb..cfaa72de2b0 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, std::string tag) + bottom9_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/brkthru.h b/src/mame/includes/brkthru.h index fa100f8d896..c3cfd0d6daa 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, std::string tag) + brkthru_state(const machine_config &mconfig, device_type type, const char *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 a1bfc588e1b..5ef6ba53321 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, std::string tag) + bsktball_state(const machine_config &mconfig, device_type type, const char *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 4ded4c99674..fb27d1722cc 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, std::string tag) + btime_state(const machine_config &mconfig, device_type type, const char *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 fcf90b3d214..065137c3262 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, std::string tag) + btoads_state(const machine_config &mconfig, device_type type, const char *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 d24e31b9d30..c308ac921b5 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, std::string tag) + bublbobl_state(const machine_config &mconfig, device_type type, const char *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 4abdde02a2e..f55343b1122 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, std::string tag) + buggychl_state(const machine_config &mconfig, device_type type, const char *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 978f810e1b3..206b5dac222 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, std::string tag) + bullet_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + bulletf_state(const machine_config &mconfig, device_type type, const char *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 3b04f20c5d0..d6a5423808f 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, std::string tag) + busicom_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette") { } diff --git a/src/mame/includes/bw12.h b/src/mame/includes/bw12.h index 0916575a16c..39330c20fcb 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, std::string tag) + bw12_state(const machine_config &mconfig, device_type type, const char *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 42531a11146..041e8e4d5e5 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, std::string tag) + bw2_state(const machine_config &mconfig, device_type type, const char *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 dc357b45979..48c53e2c87c 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, std::string tag) + bwidow_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/includes/bwing.h b/src/mame/includes/bwing.h index ee249399cf9..215cb663122 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, std::string tag) + bwing_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/bzone.h b/src/mame/includes/bzone.h index b9ab8687de9..98894644a3c 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, std::string tag) + bzone_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_mathbox(*this, "mathbox"), diff --git a/src/mame/includes/c128.h b/src/mame/includes/c128.h index edb95947442..03d72b42db5 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, std::string tag) : + c128_state(const machine_config &mconfig, device_type type, const char *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 4394e447213..2bf654f9080 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, std::string tag) : + c64_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + sx64_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + c64c_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + c64gs_state(const machine_config &mconfig, device_type type, const char *tag) : c64c_state(mconfig, type, tag) { } diff --git a/src/mame/includes/c80.h b/src/mame/includes/c80.h index 2b6ad92b41d..0f96980fc8d 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, std::string tag) + c80_state(const machine_config &mconfig, device_type type, const char *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 02314f73e4a..6f5a3e71cfb 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, std::string tag) + cabal_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/calomega.h b/src/mame/includes/calomega.h index 0d483bde85f..8667ed87797 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, std::string tag) : + calomega_state(const machine_config &mconfig, device_type type, const char *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 4cff3850a0a..316a8dc2d2c 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, std::string tag) + canyon_state(const machine_config &mconfig, device_type type, const char *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 ace918c14b7..cb63080bc17 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, std::string tag) + capbowl_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/carjmbre.h b/src/mame/includes/carjmbre.h index 0d01cdda918..e19917b9f43 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, std::string tag) + carjmbre_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/carpolo.h b/src/mame/includes/carpolo.h index c0ba199c24d..62978cef335 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, std::string tag) + carpolo_state(const machine_config &mconfig, device_type type, const char *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 dbd41997233..938a4757559 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, std::string tag) + cave_state(const machine_config &mconfig, device_type type, const char *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 823d59e804c..b64eb70e6f8 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, std::string tag) + cbasebal_state(const machine_config &mconfig, device_type type, const char *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 78333352213..78ddb7824da 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, std::string tag) + cbm2_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + cbm2hp_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + p500_state(const machine_config &mconfig, device_type type, const char *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 eea7d7dc425..51b2f20543b 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, std::string tag) + cbuster_state(const machine_config &mconfig, device_type type, const char *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 125303dde16..2a815cec48f 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, std::string tag) + ccastles_state(const machine_config &mconfig, device_type type, const char *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 f57fde2e70c..444b05c3b5e 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, std::string tag) + cchasm_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ctc(*this, "ctc"), diff --git a/src/mame/includes/cclimber.h b/src/mame/includes/cclimber.h index 2bd38b7f1ee..2d0b64f566a 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, std::string tag) + cclimber_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/cdi.h b/src/mame/includes/cdi.h index 19266b57e77..2e7b13ada04 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, std::string tag) + cdi_state(const machine_config &mconfig, device_type type, const char *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 e3f385e9846..74eb06ad0c6 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, std::string tag) + centiped_state(const machine_config &mconfig, device_type type, const char *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 ea5e318a81b..defea5ddad9 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, std::string tag) + cgc7900_state(const machine_config &mconfig, device_type type, const char *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 822732d8626..dc457388e66 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, std::string tag) + chaknpop_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/champbas.h b/src/mame/includes/champbas.h index 62bd63df748..6c409a7a708 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, std::string tag) + champbas_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/changela.h b/src/mame/includes/changela.h index c020b917620..2b0d9b24db7 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, std::string tag) + changela_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/channelf.h b/src/mame/includes/channelf.h index c9f41bc38f6..41c7e70cd7e 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, std::string tag) + channelf_state(const machine_config &mconfig, device_type type, const char *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 cc15368f8a4..7957a0802f6 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, std::string tag) + cheekyms_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), diff --git a/src/mame/includes/chqflag.h b/src/mame/includes/chqflag.h index 450b072409a..269d95edc36 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, std::string tag) + chqflag_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/cidelsa.h b/src/mame/includes/cidelsa.h index 40e49c063cb..a6f77e9eb2d 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, std::string tag) + cidelsa_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + draco_state(const machine_config &mconfig, device_type type, const char *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 268e2c4723d..6f860f51b29 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, std::string tag) + cinemat_state(const machine_config &mconfig, device_type type, const char *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 2426ac0ef44..d02896de619 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, std::string tag) + circus_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/circusc.h b/src/mame/includes/circusc.h index b95b032acb7..782a605243d 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, std::string tag) + circusc_state(const machine_config &mconfig, device_type type, const char *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 c042dc1d55c..30b7bb40e27 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, std::string tag) + cischeat_state(const machine_config &mconfig, device_type type, const char *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 eb9b34d8b58..bda3dd426cc 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, std::string tag) + citycon_state(const machine_config &mconfig, device_type type, const char *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 7fcc6d76ec0..c3f3c127b49 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, std::string tag) + cloak_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/cloud9.h b/src/mame/includes/cloud9.h index 27d8f2c1c7e..b1f4e70f12f 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, std::string tag) + cloud9_state(const machine_config &mconfig, device_type type, const char *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 24d89babb3f..4f03741f5af 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, std::string tag) + clshroad_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/cninja.h b/src/mame/includes/cninja.h index 5948333cc3a..8acd4730ddf 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, std::string tag) + cninja_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/coco.h b/src/mame/includes/coco.h index 7bcf0146f98..f083911afbc 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, std::string tag); + coco_state(const machine_config &mconfig, device_type type, const char *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 c97cac0e23b..bfc2149e4c2 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, std::string tag) + coco12_state(const machine_config &mconfig, device_type type, const char *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 271ce2c7ca1..9cc9a8d9d35 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, std::string tag) + coco3_state(const machine_config &mconfig, device_type type, const char *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 cbd90172800..2886f18b9a8 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, std::string tag) + coleco_state(const machine_config &mconfig, device_type type, const char *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 784c3f8d4a4..6d5871da384 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, std::string tag) + combatsc_state(const machine_config &mconfig, device_type type, const char *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 23ce611a526..6888a612a0a 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, std::string tag) + commando_state(const machine_config &mconfig, device_type type, const char *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 4048ba940ef..d2d8c2e5816 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, std::string tag) + compgolf_state(const machine_config &mconfig, device_type type, const char *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 3047f5a545f..8a8e48eb53e 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, std::string tag) + compis_state(const machine_config &mconfig, device_type type, const char *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 3321b549ca0..32b6ef2c935 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, std::string tag) + comquest_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/includes/comx35.h b/src/mame/includes/comx35.h index 66a6f09dd54..b1dfa88abbe 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, std::string tag) + comx35_state(const machine_config &mconfig, device_type type, const char *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 8eee3b9858a..d6b0c3cab04 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, std::string tag) + concept_state(const machine_config &mconfig, device_type type, const char *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 a230d8d5c99..454a3ca21f9 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, std::string tag) + contra_state(const machine_config &mconfig, device_type type, const char *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 8047db24489..6730f624cba 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, std::string tag) + coolpool_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dsp(*this, "dsp"), diff --git a/src/mame/includes/cop01.h b/src/mame/includes/cop01.h index eb19ca52166..447775fab34 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, std::string tag) + cop01_state(const machine_config &mconfig, device_type type, const char *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 7034d9eef22..3030a7ed13e 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, std::string tag) + copsnrob_state(const machine_config &mconfig, device_type type, const char *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 8dce651e8f2..706b69befea 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, std::string tag) + cosmic_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/cosmicos.h b/src/mame/includes/cosmicos.h index b818063dd71..d152bf22b85 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, std::string tag) + cosmicos_state(const machine_config &mconfig, device_type type, const char *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 b7cc1dcc02c..6e3354de437 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, std::string tag) + cps_state(const machine_config &mconfig, device_type type, const char *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 41ad4faa808..4f954dbdb9d 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, std::string tag) + cps3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/crbaloon.h b/src/mame/includes/crbaloon.h index 689c58c2a41..a1cb75fe79a 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, std::string tag) + crbaloon_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/crgolf.h b/src/mame/includes/crgolf.h index 24bae8ec46b..c337a5f8263 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, std::string tag) + crgolf_state(const machine_config &mconfig, device_type type, const char *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 bf9f949d4ee..b7d2b3afa00 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, std::string tag) + crimfght_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/crospang.h b/src/mame/includes/crospang.h index 95e025c3073..a5aecdada51 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, std::string tag) + crospang_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_fg_videoram(*this, "fg_videoram"), m_bg_videoram(*this, "bg_videoram"), diff --git a/src/mame/includes/crshrace.h b/src/mame/includes/crshrace.h index 4b5b928c059..eb809fbceba 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, std::string tag) + crshrace_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram1(*this, "videoram1"), m_videoram2(*this, "videoram2"), diff --git a/src/mame/includes/crvision.h b/src/mame/includes/crvision.h index 91cae1f4825..53cdc1fc7a4 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, std::string tag) + crvision_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + crvision_pal_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + laser2001_state(const machine_config &mconfig, device_type type, const char *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 83a04f69eb5..de9dee5a059 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, std::string tag) + cvs_state(const machine_config &mconfig, device_type type, const char *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 0aad8fb69ba..dfa85b1720f 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, std::string tag) + cxhumax_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_flash(*this, "flash"), diff --git a/src/mame/includes/cyberbal.h b/src/mame/includes/cyberbal.h index 1e578ee769c..0bc65bccb57 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, std::string tag) + cyberbal_state(const machine_config &mconfig, device_type type, const char *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 5dd0cb7d47a..0c6ad30b5aa 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, std::string tag) + cybiko_state(const machine_config &mconfig, device_type type, const char *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 937c7083244..dd05267a394 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, std::string tag) + dai_state(const machine_config &mconfig, device_type type, const char *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 d2fbbfd2e85..13f037f0ca0 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, std::string tag) + darius_state(const machine_config &mconfig, device_type type, const char *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 d053615cde7..224c1fc2ac6 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, std::string tag) + darkmist_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_t5182(*this, "t5182"), diff --git a/src/mame/includes/darkseal.h b/src/mame/includes/darkseal.h index 633201ac43a..c08602d56db 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, std::string tag) + darkseal_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/dassault.h b/src/mame/includes/dassault.h index 93752e8580c..257778ba849 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, std::string tag) + dassault_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/dbz.h b/src/mame/includes/dbz.h index c70a6e2e26a..734a9a0b2d3 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, std::string tag) + dbz_state(const machine_config &mconfig, device_type type, const char *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 d932fdeb0af..a45e2e506d3 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, std::string tag) + dc_state(const machine_config &mconfig, device_type type, const char *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 7950f9ee0db..47b47d72f6c 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, std::string tag) + dc_cons_state(const machine_config &mconfig, device_type type, const char *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 dafec4f1d42..d8c9455f899 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, std::string tag) + dcheese_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/dcon.h b/src/mame/includes/dcon.h index e0a0fed9867..ffff5c97c3e 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, std::string tag) + dcon_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/dday.h b/src/mame/includes/dday.h index 58b105f381f..a6b1c498f1b 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, std::string tag) + dday_state(const machine_config &mconfig, device_type type, const char *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 03f7f7a3449..1c5d203856d 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, std::string tag) + ddragon_state(const machine_config &mconfig, device_type type, const char *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 37d7ada1b4e..5513ca9076f 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, std::string tag) + ddragon3_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + wwfwfest_state(const machine_config &mconfig, device_type type, const char *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 2a5e1b1b9ff..bb9a508717d 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, std::string tag) + ddribble_state(const machine_config &mconfig, device_type type, const char *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 01058c3a43f..eb82b28ad15 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, std::string tag) + deadang_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/dec0.h b/src/mame/includes/dec0.h index e4948131ec4..c48444662a0 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, std::string tag) + dec0_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + dec0_automat_state(const machine_config &mconfig, device_type type, const char *tag) : dec0_state(mconfig, type, tag) { } diff --git a/src/mame/includes/dec8.h b/src/mame/includes/dec8.h index aea1334722b..746bfb35f1c 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, std::string tag) + dec8_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/deco32.h b/src/mame/includes/deco32.h index 597539512fc..c1ce644b7d1 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, std::string tag) + deco32_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + dragngun_state(const machine_config &mconfig, device_type type, const char *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 a661e166ec6..e9bde7e7bb7 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, std::string tag) + deco_mlc_state(const machine_config &mconfig, device_type type, const char *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 16e6a2d6621..37ff50c3784 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, std::string tag) + decocass_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/decocrpt.h b/src/mame/includes/decocrpt.h index 41b855bf0e6..6ea05a3b7a0 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, std::string tag); -void deco74_decrypt_gfx(running_machine &machine, std::string tag); -void deco56_remap_gfx(running_machine &machine, std::string tag); +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); /*----------- defined in machine/deco102.c -----------*/ diff --git a/src/mame/includes/deniam.h b/src/mame/includes/deniam.h index fd0afe16581..6f3d91de158 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, std::string tag) + deniam_state(const machine_config &mconfig, device_type type, const char *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 e5eb58621e0..a55d157aaa1 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, std::string tag) + dgn_beta_state(const machine_config &mconfig, device_type type, const char *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 08e6c8c0907..220bc334137 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, std::string tag) + dragon_alpha_state(const machine_config &mconfig, device_type type, const char *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 d84111b4366..71d9c2341f6 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, std::string tag) + dietgo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_deco104(*this, "ioprot104"), m_pf1_rowscroll(*this, "pf1_rowscroll"), diff --git a/src/mame/includes/djboy.h b/src/mame/includes/djboy.h index e952d7a9aa6..1a32b0a9733 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, std::string tag) + djboy_state(const machine_config &mconfig, device_type type, const char *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 50d5dade85e..cbc65036a39 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, std::string tag) + djmain_state(const machine_config &mconfig, device_type type, const char *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 44908d3d90a..2033bf96bbe 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, std::string tag) + dkong_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/dm7000.h b/src/mame/includes/dm7000.h index d9a7a3a46b9..4306f4619e4 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, std::string tag) + dm7000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG) diff --git a/src/mame/includes/docastle.h b/src/mame/includes/docastle.h index e482176a03f..13913392953 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, std::string tag) + docastle_state(const machine_config &mconfig, device_type type, const char *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 debe0184be2..c63ff99abc2 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, std::string tag) + dogfgt_state(const machine_config &mconfig, device_type type, const char *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 e0239c81219..4c51451c986 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, std::string tag) + dooyong_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + dooyong_z80_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + dooyong_z80_ym2203_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + dooyong_68k_state(const machine_config &mconfig, device_type type, const char *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 ccad20e38eb..20a6877d6f5 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, std::string tag) + dragon_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + dragon64_state(const machine_config &mconfig, device_type type, const char *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 0fa73abcce8..1fb1f52a4ec 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, std::string tag) + dragrace_state(const machine_config &mconfig, device_type type, const char *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 2833c65b1da..5bd5f712888 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, std::string tag) + drgnmst_state(const machine_config &mconfig, device_type type, const char *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 9f822f92ed9..5287cc19519 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, std::string tag) + dribling_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ppi8255_0(*this, "ppi8255_0"), diff --git a/src/mame/includes/drmicro.h b/src/mame/includes/drmicro.h index 91f1e2b97de..2494ef9557a 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, std::string tag) + drmicro_state(const machine_config &mconfig, device_type type, const char *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 8c4a9ff7aeb..7d84e0cc86e 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, std::string tag) + dynax_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/dynduke.h b/src/mame/includes/dynduke.h index 1520b9b2b3c..218b0d3ea88 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, std::string tag) + dynduke_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_seibu_sound(*this, "seibu_sound"), diff --git a/src/mame/includes/ec184x.h b/src/mame/includes/ec184x.h index 0b57913a32d..7921bf5b97e 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, std::string tag, device_t *owner, UINT32 clock); + ec1841_mb_device(const machine_config &mconfig, const char *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 306b40d5547..027b2370ba3 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, std::string tag) + einstein_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock); + einstein_keyboard_daisy_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + einstein_adc_daisy_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + einstein_fire_daisy_device(const machine_config &mconfig, const char *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 393a90b555f..81d6b9ca171 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, std::string tag) + electron_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/elf.h b/src/mame/includes/elf.h index 766487e1058..750d63e7367 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, std::string tag) + elf2_state(const machine_config &mconfig, device_type type, const char *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 273947d310f..3269f784949 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, std::string tag) + eolith_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/ep64.h b/src/mame/includes/ep64.h index c81d60b1fd3..85c0ae27a97 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, std::string tag) + ep64_state(const machine_config &mconfig, device_type type, const char *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 8c0e3977bae..da411ad52a1 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, std::string tag) + epos_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/includes/eprom.h b/src/mame/includes/eprom.h index 6fe28444127..4ae11d35d18 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, std::string tag) + eprom_state(const machine_config &mconfig, device_type type, const char *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 d1f14f95d9e..a3808e6265a 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, std::string tag) + equites_state(const machine_config &mconfig, device_type type, const char *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 ee35bd65bfd..7a683d5d39b 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, std::string tag) + esd16_state(const machine_config &mconfig, device_type type, const char *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 63bae188852..5b764363c4d 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, std::string tag) + espial_state(const machine_config &mconfig, device_type type, const char *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 522204d2827..43994ec4ada 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, std::string tag) + esripsys_state(const machine_config &mconfig, device_type type, const char *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 de731e2638c..783f46eb414 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, std::string tag) + eti660_state(const machine_config &mconfig, device_type type, const char *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 d6a5a3dc1f8..cb7097c66a6 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, std::string tag) + exedexes_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram") , m_videoram(*this, "videoram"), diff --git a/src/mame/includes/exerion.h b/src/mame/includes/exerion.h index 0dbe5cbc0e1..7bf606e2180 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, std::string tag) + exerion_state(const machine_config &mconfig, device_type type, const char *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 6c8620f4a6c..9c825383c76 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, std::string tag) + exidy_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), diff --git a/src/mame/includes/exidy440.h b/src/mame/includes/exidy440.h index a1cf7dbc901..e6f7048ac8a 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, std::string tag) + exidy440_state(const machine_config &mconfig, device_type type, const char *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 e42257f41bb..3e53385eb25 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, std::string tag) + exp85_state(const machine_config &mconfig, device_type type, const char *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 27f70a3b4b2..833c3c351b1 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, std::string tag) + exprraid_state(const machine_config &mconfig, device_type type, const char *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 8d6e15f640f..cf1f601913b 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, std::string tag) + exterm_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/exzisus.h b/src/mame/includes/exzisus.h index 3c355145375..65a74141141 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, std::string tag) + exzisus_state(const machine_config &mconfig, device_type type, const char *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 1f392a5aea2..ac790335d6f 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, std::string tag) + f1gp_state(const machine_config &mconfig, device_type type, const char *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 1b8777eadf8..bce1ffa5140 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, std::string tag) + fantland_state(const machine_config &mconfig, device_type type, const char *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 659ffab49a4..4b7cdb4cbdc 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, std::string tag) + fastfred_state(const machine_config &mconfig, device_type type, const char *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 97f7656f22b..d6c7fe0ac79 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, std::string tag) + fastlane_state(const machine_config &mconfig, device_type type, const char *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 c3d129905b4..53f1c49e5be 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, std::string tag) + fcombat_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/fgoal.h b/src/mame/includes/fgoal.h index fe7c3508b4f..3271bc56f2d 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, std::string tag) + fgoal_state(const machine_config &mconfig, device_type type, const char *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 27f06c24f47..b308af73ad5 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, std::string tag) + finalizr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/firetrap.h b/src/mame/includes/firetrap.h index 02bbcd72e38..74fb677fa63 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, std::string tag) + firetrap_state(const machine_config &mconfig, device_type type, const char *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 fcc6d03fe85..953be5d11f0 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, std::string tag) + firetrk_state(const machine_config &mconfig, device_type type, const char *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 e51a07dfe23..ccae2455504 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, std::string tag) + fitfight_state(const machine_config &mconfig, device_type type, const char *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 f77f3b0fc6c..8cc05b8858f 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, std::string tag) + flkatck_state(const machine_config &mconfig, device_type type, const char *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 7e201d56ebe..cc2ff96ced2 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, std::string tag) + flower_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock); + flower_sound_device(const machine_config &mconfig, const char *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 4f035151e4c..f8ec570fa43 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, std::string tag) + flstory_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/fm7.h b/src/mame/includes/fm7.h index 746bec5dc80..cdc22c6e092 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, std::string tag) + fm7_state(const machine_config &mconfig, device_type type, const char *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 f3ad5a0d9d5..1989b2ea3a9 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, std::string tag) + towns_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + towns16_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + marty_state(const machine_config &mconfig, device_type type, const char *tag) : towns_state(mconfig, type, tag) { } diff --git a/src/mame/includes/foodf.h b/src/mame/includes/foodf.h index 98bd7b5f483..286427b43c8 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, std::string tag) + foodf_state(const machine_config &mconfig, device_type type, const char *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 498535e2c8e..40ab4f90f4e 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, std::string tag) + freekick_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/fromanc2.h b/src/mame/includes/fromanc2.h index 11e3d19440d..8041c7974f3 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, std::string tag) + fromanc2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/fromance.h b/src/mame/includes/fromance.h index 879abfab987..d8562d4deb9 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, std::string tag) + fromance_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/funkybee.h b/src/mame/includes/funkybee.h index c4db163553e..ae8f2523a19 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, std::string tag) + funkybee_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/funkyjet.h b/src/mame/includes/funkyjet.h index f1b810746fe..ce8c0294554 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, std::string tag) + funkyjet_state(const machine_config &mconfig, device_type type, const char *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 05fcc29b763..ebc3c2df912 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, std::string tag) + funworld_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/funybubl.h b/src/mame/includes/funybubl.h index b574ad9d042..1a1818158c7 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, std::string tag) + funybubl_state(const machine_config &mconfig, device_type type, const char *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 f8183141e2d..ba0c6eeaa33 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, std::string tag) + fuuki16_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/fuukifg3.h b/src/mame/includes/fuukifg3.h index 37d88a1c93f..90af6ad1893 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, std::string tag) + fuuki32_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/gaelco.h b/src/mame/includes/gaelco.h index 48cc7a24937..ea275b50248 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, std::string tag) + gaelco_state(const machine_config &mconfig, device_type type, const char *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 9673ea5f195..ab458342036 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, std::string tag) + gaelco2_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + bang_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + wrally2_state(const machine_config &mconfig, device_type type, const char *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 a0ce45bb7a8..8aaf90e1dc9 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, std::string tag) + gaelco3d_state(const machine_config &mconfig, device_type type, const char *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 cdc15d0f471..d96d1e27826 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, std::string tag) + gaiden_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_videoram2(*this, "videoram2"), diff --git a/src/mame/includes/galaga.h b/src/mame/includes/galaga.h index 19db57d0bca..5a417fe44a7 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, std::string tag) + galaga_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + xevious_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + bosco_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + digdug_state(const machine_config &mconfig, device_type type, const char *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 ad5d80afe5d..c2413a6d11d 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, std::string tag) + galastrm_state(const machine_config &mconfig, device_type type, const char *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 6333926a87d..a582157d5df 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, std::string tag) + galaxia_state(const machine_config &mconfig, device_type type, const char *tag) : cvs_state(mconfig, type, tag) { } diff --git a/src/mame/includes/galaxian.h b/src/mame/includes/galaxian.h index cc310e39fea..ac1e84a7b33 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, std::string tag) + galaxian_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/galaxold.h b/src/mame/includes/galaxold.h index 2592c4bbb00..6159915b451 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, std::string tag) + galaxold_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/galaxy.h b/src/mame/includes/galaxy.h index 8fdceb366bd..1a0e27a4841 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, std::string tag) + galaxy_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/galeb.h b/src/mame/includes/galeb.h index 6a1fc7f2839..0c25b29d759 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, std::string tag) + galeb_state(const machine_config &mconfig, device_type type, const char *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 987b15deb69..5f098ff890f 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, std::string tag) + galivan_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/galpani2.h b/src/mame/includes/galpani2.h index f9c53d5c804..a4697d9775e 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, std::string tag) + galpani2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_subcpu(*this,"sub"), diff --git a/src/mame/includes/galpanic.h b/src/mame/includes/galpanic.h index a5bd2903f34..788ca087540 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, std::string tag) + galpanic_state(const machine_config &mconfig, device_type type, const char *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 82de7f47339..7b934043a7e 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, std::string tag) + galspnbl_state(const machine_config &mconfig, device_type type, const char *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 0973d940ba5..868df1157a6 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, std::string tag, device_t *owner, UINT32 clock); + gamate_sound_device(const machine_config &mconfig, const char *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 799d16dbc2a..e9f8829ab79 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, std::string tag) + gamecom_state(const machine_config &mconfig, device_type type, const char *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 e3576a60d29..d01d6d969a9 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, std::string tag) + gameplan_state(const machine_config &mconfig, device_type type, const char *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 038080853c7..9b842d6405a 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, std::string tag) + gamepock_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/includes/gaplus.h b/src/mame/includes/gaplus.h index 00568d662ba..7f4e92a75f0 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, std::string tag) + gaplus_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/gatron.h b/src/mame/includes/gatron.h index 28dfbad1834..4d1b8a73836 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, std::string tag) + gatron_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/gauntlet.h b/src/mame/includes/gauntlet.h index 596ccc85f00..685021ebaa8 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, std::string tag) + gauntlet_state(const machine_config &mconfig, device_type type, const char *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 90d18a78346..59f5ee91de3 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, std::string tag) + gb_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + megaduck_state(const machine_config &mconfig, device_type type, const char *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 1e79e284c33..8037ecb5795 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, std::string tag) + gba_state(const machine_config &mconfig, device_type type, const char *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 fc5ff97bf7a..6911d47fc40 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, std::string tag) + gberet_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_colorram(*this, "colorram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/gcpinbal.h b/src/mame/includes/gcpinbal.h index 7b383d0af41..fa32062eb1c 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, std::string tag) + gcpinbal_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki(*this, "oki"), diff --git a/src/mame/includes/genpc.h b/src/mame/includes/genpc.h index 8d83d3ad320..b3353de35d6 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, std::string tag, device_t *owner, UINT32 clock); + ibm5160_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // inline configuration - static void static_set_cputag(device_t &device, std::string tag); + static void static_set_cputag(device_t &device, const char *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); - std::string m_cputag; + const char *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, std::string tag, device_t *owner, UINT32 clock); + ibm5150_mb_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + ec1841_mb_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + pc_noppi_mb_device(const machine_config &mconfig, const char *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 0946bf876e9..d4c417bcd01 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, std::string tag) + gijoe_state(const machine_config &mconfig, device_type type, const char *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 f115c432fe2..33d09944529 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, std::string tag) + ginganin_state(const machine_config &mconfig, device_type type, const char *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 fec39aac173..06813718742 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, std::string tag) + gladiatr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/glass.h b/src/mame/includes/glass.h index 6a39446acee..4fc0cbe59ee 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, std::string tag) + glass_state(const machine_config &mconfig, device_type type, const char *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 91ae35476da..83a245748e0 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, std::string tag) + gng_state(const machine_config &mconfig, device_type type, const char *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 ff4d57bdd77..a1b6a996e0f 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, std::string tag) + goal92_state(const machine_config &mconfig, device_type type, const char *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 80ae9952952..a7ef567182a 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, std::string tag) + goindol_state(const machine_config &mconfig, device_type type, const char *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 29ac9699d87..2eb7e47df05 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, std::string tag) : + goldstar_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + cmaster_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + wingco_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + cb3_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + sanghopm_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + unkch_state(const machine_config &mconfig, device_type type, const char *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 12a9d53d84e..375a08f7f5c 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, std::string tag) + gomoku_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock); + gomoku_sound_device(const machine_config &mconfig, const char *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 e47d3fbad3c..c053588e91c 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, std::string tag) + gotcha_state(const machine_config &mconfig, device_type type, const char *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 02898163ef0..8f539ff234f 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, std::string tag) + gottlieb_state(const machine_config &mconfig, device_type type, const char *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 a32d50d723b..6ad087b0242 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, std::string tag) + gotya_state(const machine_config &mconfig, device_type type, const char *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 d2e9ea3d5d2..65ae4f28ed0 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, std::string tag) + gp32_state(const machine_config &mconfig, device_type type, const char *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 bd7e6b99863..98061d26ece 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, std::string tag) + gradius3_state(const machine_config &mconfig, device_type type, const char *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 83e4195aafb..3e654dcfd50 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, std::string tag) + grchamp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/gridlee.h b/src/mame/includes/gridlee.h index 3c3a3c0cb46..4aea8304969 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, std::string tag) + gridlee_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock); + gridlee_sound_device(const machine_config &mconfig, const char *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 c33955d99db..60c8e76ac43 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, std::string tag) + groundfx_state(const machine_config &mconfig, device_type type, const char *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 117b86874b0..7491fe1aa40 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, std::string tag) + gstriker_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/gsword.h b/src/mame/includes/gsword.h index 1bd7f127e77..014cc175082 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, std::string tag) + gsword_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/gumbo.h b/src/mame/includes/gumbo.h index 03e20b24a5d..d95628aacfb 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, std::string tag) + gumbo_state(const machine_config &mconfig, device_type type, const char *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 3317109412d..95aef16b0e3 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, std::string tag) + gunbustr_state(const machine_config &mconfig, device_type type, const char *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 1dfe357d399..5afbcf87317 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, std::string tag) + gundealr_state(const machine_config &mconfig, device_type type, const char *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 eae70b7a54a..2c5d43e0446 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, std::string tag) + gunsmoke_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/gyruss.h b/src/mame/includes/gyruss.h index 38b929fb574..1c9bfd88e02 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, std::string tag) + gyruss_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/hanaawas.h b/src/mame/includes/hanaawas.h index 6ac93fc2ffb..dd09c9229ac 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, std::string tag) + hanaawas_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/harddriv.h b/src/mame/includes/harddriv.h index 4dab01a1f4b..c887c8a2597 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, std::string tag, device_t *owner, UINT32 clock); + harddriv_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + harddriv_sound_board_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + harddriv_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + harddrivc_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + racedriv_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock) : + racedrivb1_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + racedrivc_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock) : + racedrivc1_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock) : + racedrivc_panorama_side_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + stunrun_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + steeltal_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock) : + steeltal1_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock) : + steeltalp_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + strtdriv_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + hdrivair_board_device_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock) : + hdrivairp_board_device_state(const machine_config &mconfig, const char *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 e6fac151ace..12874f11e62 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, std::string tag) + hcastle_state(const machine_config &mconfig, device_type type, const char *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 4f05db2cb4f..c30b7bfccd3 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, std::string tag) + hec2hrp_state(const machine_config &mconfig, device_type type, const char *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 aae9686cac9..e341d1f7687 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, std::string tag) + hexion_state(const machine_config &mconfig, device_type type, const char *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 cd184ddcb35..4a7ccb99467 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, std::string tag) + hh_tms1k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_inp_matrix(*this, "IN"), diff --git a/src/mame/includes/hh_ucom4.h b/src/mame/includes/hh_ucom4.h index db52dea405c..76b3a5d7a02 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, std::string tag) + hh_ucom4_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_inp_matrix(*this, "IN"), diff --git a/src/mame/includes/higemaru.h b/src/mame/includes/higemaru.h index 39bad782d07..a39d0c5a251 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, std::string tag) + higemaru_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/himesiki.h b/src/mame/includes/himesiki.h index 3a65cd7b53f..65cf5bbcba2 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, std::string tag) + himesiki_state(const machine_config &mconfig, device_type type, const char *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 d085942855d..4a2a4aa48a4 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, std::string tag) + hitme_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/hnayayoi.h b/src/mame/includes/hnayayoi.h index 1040019a740..fa22619a317 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, std::string tag) + hnayayoi_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_msm(*this, "msm") { } diff --git a/src/mame/includes/hng64.h b/src/mame/includes/hng64.h index cb8247d91e5..7da413bf645 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, std::string tag) + hng64_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/holeland.h b/src/mame/includes/holeland.h index 6c58029e335..02b6da3a281 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, std::string tag) + holeland_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/homedata.h b/src/mame/includes/homedata.h index 98d46483fd9..084bdecb8cb 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, std::string tag) + homedata_state(const machine_config &mconfig, device_type type, const char *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 1ff24611d8b..14fc6659840 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, std::string tag) + homerun_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/hp48.h b/src/mame/includes/hp48.h index 68c30acc7e6..748a81bee55 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, std::string tag) + hp48_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock); + hp48_port_image_device(const machine_config &mconfig, const char *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 24c8b392f81..bb6b4c29344 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, std::string tag) + amu880_state(const machine_config &mconfig, device_type type, const char *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 52c33b6d64f..8f7ab801e0d 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, std::string tag) + hx20_state(const machine_config &mconfig, device_type type, const char *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 3ced5525000..4b0d2c520b9 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, std::string tag) + hyhoo_state(const machine_config &mconfig, device_type type, const char *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 fde19f07fd2..0e4b848de5a 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, std::string tag) + hyperspt_state(const machine_config &mconfig, device_type type, const char *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 a3d8f3bd26b..f037f61c555 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, std::string tag) + hyprduel_state(const machine_config &mconfig, device_type type, const char *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 bfa58940759..bfd7039db1a 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, std::string tag) + ikki_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/imds2.h b/src/mame/includes/imds2.h index 8e7192063df..c5e93b4f9bd 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, std::string tag); + imds2_state(const machine_config &mconfig, device_type type, const char *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 1ef652f1aa4..7f14c7fb55a 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, std::string tag) + intv_state(const machine_config &mconfig, device_type type, const char *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 5a59cb9a2a9..24ed3325158 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, std::string tag) + inufuku_state(const machine_config &mconfig, device_type type, const char *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 0b2d2726768..be63ef229b1 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, std::string tag) + iqblock_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/irobot.h b/src/mame/includes/irobot.h index 9a33d824006..a2fc05d6fea 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, std::string tag) + irobot_state(const machine_config &mconfig, device_type type, const char *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 c731696a0d1..b0c78ebf6e3 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, std::string tag) + ironhors_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/itech32.h b/src/mame/includes/itech32.h index 04fd43bdcf1..3c7be2530f1 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, std::string tag) + itech32_state(const machine_config &mconfig, device_type type, const char *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(std::string tag); + void logblit(const char *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 5ea16f0bd3f..2e35ffd95ad 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, std::string tag) + itech8_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/jack.h b/src/mame/includes/jack.h index f9d4d0a99d0..c3292723845 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, std::string tag) + jack_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/jackal.h b/src/mame/includes/jackal.h index 341ddcbf5eb..0249cde4bbd 100644 --- a/src/mame/includes/jackal.h +++ b/src/mame/includes/jackal.h @@ -10,7 +10,7 @@ class jackal_state : public driver_device { public: - jackal_state(const machine_config &mconfig, device_type type, std::string tag) + jackal_state(const machine_config &mconfig, device_type type, const char *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 dcd43a32598..cbee2eafd21 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, std::string tag) + jaguar_state(const machine_config &mconfig, device_type type, const char *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 c7cb3bcaf6c..2a191f5360b 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, std::string tag) + jailbrek_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_colorram(*this, "colorram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/jedi.h b/src/mame/includes/jedi.h index 96b82650351..a5f233a283c 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, std::string tag) + jedi_state(const machine_config &mconfig, device_type type, const char *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 b6cfa133088..8be7a680e5a 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, std::string tag) + jpmimpct_state(const machine_config &mconfig, device_type type, const char *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 16eaedcadc2..d63877f4aba 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, std::string tag) : + jpmsys5_state(const machine_config &mconfig, device_type type, const char *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 71643260d60..ad89bc97a82 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, std::string tag) + jupiter2_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + jupiter3_state(const machine_config &mconfig, device_type type, const char *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 422832ded6b..cc8ae0ed4dd 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, std::string tag) + kaneko16_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, int bank, size_t fixedsize, size_t bankedsize ); + void kaneko16_common_oki_bank_w( const char *bankname, const char* 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, std::string tag) + kaneko16_gtmr_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + kaneko16_berlwall_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + kaneko16_shogwarr_state(const machine_config &mconfig, device_type type, const char *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 c7003cdee97..2b73a14c28e 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, std::string tag) + kangaroo_state(const machine_config &mconfig, device_type type, const char *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 24b767f2299..12d44893b99 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, std::string tag) + karnov_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/kaypro.h b/src/mame/includes/kaypro.h index f30c5d76469..f2b5cc3df29 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, std::string tag) + kaypro_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_maincpu(*this, "maincpu") diff --git a/src/mame/includes/kc.h b/src/mame/includes/kc.h index 69d400e609b..65af7aeedb7 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, std::string tag) + kc_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + kc85_4_state(const machine_config &mconfig, device_type type, const char *tag) : kc_state(mconfig, type, tag) { } diff --git a/src/mame/includes/kchamp.h b/src/mame/includes/kchamp.h index 56697036e51..eec986424d7 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, std::string tag) + kchamp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/kickgoal.h b/src/mame/includes/kickgoal.h index a475b5d3722..94ddc5d3bd9 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, std::string tag) + kickgoal_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_fgram(*this, "fgram"), m_bgram(*this, "bgram"), diff --git a/src/mame/includes/kingobox.h b/src/mame/includes/kingobox.h index ae1cd7cd16a..9a7ee062627 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, std::string tag) + kingofb_state(const machine_config &mconfig, device_type type, const char *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 f9aeb7492df..d94cccd0714 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, std::string tag) + klax_state(const machine_config &mconfig, device_type type, const char *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 70db30803b1..cafa96ed3da 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, std::string tag) + kncljoe_state(const machine_config &mconfig, device_type type, const char *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 06f8de401ff..f5ee6f795d5 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, std::string tag) + konamigx_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/kopunch.h b/src/mame/includes/kopunch.h index 87a197b3b25..3d0e6d0fce3 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, std::string tag) + kopunch_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/kramermc.h b/src/mame/includes/kramermc.h index e9b31d20bef..7a0dbd6020e 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, std::string tag) + kramermc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/ksayakyu.h b/src/mame/includes/ksayakyu.h index df22a15e076..0f6873d8e7a 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, std::string tag) + ksayakyu_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/kyocera.h b/src/mame/includes/kyocera.h index b642c03b206..43a1c835670 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, std::string tag) + kc85_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + trsm100_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + pc8201_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + tandy200_state(const machine_config &mconfig, device_type type, const char *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 bda0de526c6..3c3b113c1d9 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, std::string tag) + kyugo_state(const machine_config &mconfig, device_type type, const char *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 e614f052311..092b28a7503 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, std::string tag) + labyrunr_state(const machine_config &mconfig, device_type type, const char *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 42481ba3d48..8b7308edf5c 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, std::string tag) + ladybug_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/ladyfrog.h b/src/mame/includes/ladyfrog.h index e75ae0b9185..39114c577dd 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, std::string tag) + ladyfrog_state(const machine_config &mconfig, device_type type, const char *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 901f100b070..f50cd4e1bd9 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, std::string tag) + laserbat_state_base(const machine_config &mconfig, device_type type, const char *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, std::string tag) + laserbat_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + catnmous_state(const machine_config &mconfig, device_type type, const char *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 1a00c99109f..617f03aeba9 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, std::string tag) + lasso_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/lastduel.h b/src/mame/includes/lastduel.h index 48f4fa7b071..615bafd2a8d 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, std::string tag) + lastduel_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/lazercmd.h b/src/mame/includes/lazercmd.h index 34d952de1b1..58134751943 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, std::string tag) + lazercmd_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), diff --git a/src/mame/includes/lc80.h b/src/mame/includes/lc80.h index 6f7306b8a8f..36788b37f00 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, std::string tag) + lc80_state(const machine_config &mconfig, device_type type, const char *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 2bb5e29906f..456c28508e1 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, std::string tag) + legionna_state(const machine_config &mconfig, device_type type, const char *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 c0b2a5dbdfc..ab2133cef3b 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, std::string tag) + leland_state(const machine_config &mconfig, device_type type, const char *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, 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); + 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); 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, std::string tag, device_t *owner, UINT32 clock); + redline_80186_sound_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + ataxx_80186_sound_device(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + wsf_80186_sound_device(const machine_config &mconfig, const char *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 ebe68cbe291..2e91c0d7250 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, std::string tag) + lemmings_state(const machine_config &mconfig, device_type type, const char *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 adeeaa06841..f53c540f38d 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, std::string tag) + lethal_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/lethalj.h b/src/mame/includes/lethalj.h index c2f54d4ed02..eb501e82122 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, std::string tag) + lethalj_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_screen(*this, "screen"), diff --git a/src/mame/includes/liberate.h b/src/mame/includes/liberate.h index 1ef009a4388..c57acc02391 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, std::string tag) + liberate_state(const machine_config &mconfig, device_type type, const char *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 871fe96ff96..39e3c11b967 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, std::string tag) + liberatr_state(const machine_config &mconfig, device_type type, const char *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 0c7db6081e2..f359191d605 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, std::string tag) + lisa_state(const machine_config &mconfig, device_type type, const char *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 fc87e89b2cc..863e84b1f5e 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, std::string tag) + lkage_state(const machine_config &mconfig, device_type type, const char *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 f79d0245c6a..e74bf7f5acc 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, std::string tag) + llc_state(const machine_config &mconfig, device_type type, const char *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 83e2df256f3..86407bd3671 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, std::string tag) + lockon_state(const machine_config &mconfig, device_type type, const char *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 9dd8826ffea..fbc1b57227e 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, std::string tag) + lordgun_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/lsasquad.h b/src/mame/includes/lsasquad.h index adeafdb133d..17f4c2faf16 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, std::string tag) + lsasquad_state(const machine_config &mconfig, device_type type, const char *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 763c0c1f48c..64f2e25322e 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, std::string tag) + lucky74_state(const machine_config &mconfig, device_type type, const char *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 bd24205ae11..851559d18bb 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, std::string tag) + lvcards_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/lviv.h b/src/mame/includes/lviv.h index a1f387223c3..f0634fc237d 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, std::string tag) + lviv_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/includes/lwings.h b/src/mame/includes/lwings.h index 0c9f08dfd47..6a7dedb889c 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, std::string tag) + lwings_state(const machine_config &mconfig, device_type type, const char *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 61cf1efd015..f11b34bd69f 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, std::string tag) + lynx_state(const machine_config &mconfig, device_type type, const char *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 d5e403e4343..7f9ff1a4557 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, std::string tag) + m10_state(const machine_config &mconfig, device_type type, const char *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 cd50e8c0a15..f34df43c638 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, std::string tag) + m107_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/m5.h b/src/mame/includes/m5.h index bedd52c0940..7ba55be8172 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, std::string tag) + m5_state(const machine_config &mconfig, device_type type, const char *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 1564cd64f57..d1efe7dc698 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, std::string tag) + m52_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/m57.h b/src/mame/includes/m57.h index 43fa6483ebb..c54442ee974 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, std::string tag) + m57_state(const machine_config &mconfig, device_type type, const char *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 e47aaa9ab05..6254d3e86d5 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, std::string tag) + m58_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/m62.h b/src/mame/includes/m62.h index e5dfeb2b4e6..40d09120cab 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, std::string tag) + m62_state(const machine_config &mconfig, device_type type, const char *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 3966d25f6ad..29afaea26c7 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, std::string tag) + m72_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/m79amb.h b/src/mame/includes/m79amb.h index 46024b05624..22574023cf5 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, std::string tag) + m79amb_state(const machine_config &mconfig, device_type type, const char *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 a5926e06189..20412db5fe2 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, std::string tag) + m90_state(const machine_config &mconfig, device_type type, const char *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 37246141a96..ceff8595f12 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, std::string tag) + m92_state(const machine_config &mconfig, device_type type, const char *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 18fba9b90c0..8b093993abc 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, std::string tag, device_t *owner, UINT32 clock); + mac_sound_device(const machine_config &mconfig, const char *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, std::string tag) + mac_state(const machine_config &mconfig, device_type type, const char *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 e42790a90dd..5494942a6d2 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, std::string tag) + macpci_state(const machine_config &mconfig, device_type type, const char *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 d578e07af15..ffcbb5e89f5 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, std::string tag) + macrossp_state(const machine_config &mconfig, device_type type, const char *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 eeb3229ed5c..475823d53a9 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, std::string tag) + madalien_state(const machine_config &mconfig, device_type type, const char *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 07d6a360df9..bb8c3c288e2 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, std::string tag) + madmotor_state(const machine_config &mconfig, device_type type, const char *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 41b3f635ab2..36199b3c49c 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, std::string tag) + magmax_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/mainevt.h b/src/mame/includes/mainevt.h index cfb36fdf4c3..32973d75bc7 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, std::string tag) + mainevt_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/mainsnk.h b/src/mame/includes/mainsnk.h index 80461f64b53..e1240a8d8c2 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, std::string tag) + mainsnk_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/malzak.h b/src/mame/includes/malzak.h index 778141d9817..00f4e3a2afb 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, std::string tag) + malzak_state(const machine_config &mconfig, device_type type, const char *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 f2851c03e2b..8bbfcf8ff25 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, std::string tag) + mappy_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/marineb.h b/src/mame/includes/marineb.h index f77bda2a8e5..c96b4b91165 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, std::string tag) + marineb_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/mario.h b/src/mame/includes/mario.h index 0d7ccfa0301..b19a4faa211 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, std::string tag) + mario_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/markham.h b/src/mame/includes/markham.h index 301b2d9a815..c64bfadd5da 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, std::string tag) + markham_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/matmania.h b/src/mame/includes/matmania.h index 155afef4849..af41168bed5 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, std::string tag) + matmania_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_videoram2(*this, "videoram2"), diff --git a/src/mame/includes/maygay1b.h b/src/mame/includes/maygay1b.h index 8e4dca521f9..b76f3192a33 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, std::string tag) + maygay1b_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_vfd(*this, "vfd"), diff --git a/src/mame/includes/mbc55x.h b/src/mame/includes/mbc55x.h index a1646f5375d..7069084d83e 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, std::string tag) + mbc55x_state(const machine_config &mconfig, device_type type, const char *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 81295cf11fd..57ae0501ec0 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, std::string tag) + mbee_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_maincpu(*this, "maincpu") diff --git a/src/mame/includes/mboard.h b/src/mame/includes/mboard.h index 4c292c055ac..b6e8c5028f4 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, std::string tag) + mboard_state(const machine_config &mconfig, device_type type, const char *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 36e90ea8501..32ba93e2fe0 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, std::string tag) + mc1000_state(const machine_config &mconfig, device_type type, const char *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 80bf80d65cd..28b38aca85e 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, std::string tag) + mc1502_state(const machine_config &mconfig, device_type type, const char *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 f530175a058..74699a2327c 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, std::string tag) + mc80_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_p_videoram(*this, "videoram"), m_maincpu(*this, "maincpu") { } diff --git a/src/mame/includes/mcatadv.h b/src/mame/includes/mcatadv.h index 42ea7b1f535..9e382505896 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, std::string tag) + mcatadv_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram1(*this, "videoram1"), m_videoram2(*this, "videoram2"), diff --git a/src/mame/includes/mcr.h b/src/mame/includes/mcr.h index 0826c0ee263..ff7937f669c 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, std::string tag) + mcr_state(const machine_config &mconfig, device_type type, const char *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 8a3d86c581f..8f4bf006bc7 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, std::string tag) + mcr3_state(const machine_config &mconfig, device_type type, const char *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 17ac3e492d7..56f4f10a94e 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, std::string tag) + mcr68_state(const machine_config &mconfig, device_type type, const char *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 51a0920ec0c..f7fc4e5054c 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, std::string tag) + md_cons_state(const machine_config &mconfig, device_type type, const char *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 65ba0b0def9..f8c0e47fa94 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, std::string tag) + meadows_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/megadriv.h b/src/mame/includes/megadriv.h index 2240034e12c..b2461c802c5 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, std::string tag) + md_base_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + md_boot_state(const machine_config &mconfig, device_type type, const char *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 bc034b102da..414b670cc36 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, std::string tag) + megasys1_state(const machine_config &mconfig, device_type type, const char *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 2a312eaae00..8621b5c90af 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, std::string tag) + megazone_state(const machine_config &mconfig, device_type type, const char *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 e4dcaf228fb..bbe17d2e161 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, std::string tag) + mermaid_state(const machine_config &mconfig, device_type type, const char *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 646b8ca79a3..9c321e209c6 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, std::string tag) + metalmx_state(const machine_config &mconfig, device_type type, const char *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 1c667f9d8c4..b8783156faa 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, std::string tag) + metlclsh_state(const machine_config &mconfig, device_type type, const char *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 7bfaaab6cdb..e47da64dfaa 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, std::string tag) + metro_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/mexico86.h b/src/mame/includes/mexico86.h index 2a44f786995..7083c202795 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, std::string tag) + mexico86_state(const machine_config &mconfig, device_type type, const char *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 aa3900940f7..1758ebcd67b 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, std::string tag) + mhavoc_state(const machine_config &mconfig, device_type type, const char *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 2b9a826a8d2..e6295b78ae0 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, std::string tag) + micro3d_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock); + micro3d_sound_device(const machine_config &mconfig, const char *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 999e1c38691..2284e875dbe 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, std::string tag) + micronic_state(const machine_config &mconfig, device_type type, const char *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 d8ae616a6e1..c9e990ea472 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, std::string tag) + microtan_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/midtunit.h b/src/mame/includes/midtunit.h index 1707fa91c61..e64a7992611 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, std::string tag) + midtunit_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_palette(*this, "palette"), diff --git a/src/mame/includes/midvunit.h b/src/mame/includes/midvunit.h index bbf3f2e3a84..196f4e64bb4 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, std::string tag) + midvunit_state(const machine_config &mconfig, device_type type, const char *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 775086484ae..c9a210bca9a 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, std::string tag) + midwunit_state(const machine_config &mconfig, device_type type, const char *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 a9288ee8685..1f25950dc9f 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, std::string tag) + midxunit_state(const machine_config &mconfig, device_type type, const char *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 2cfd5bc43b3..b6b03c975bf 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, std::string tag) + midyunit_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/midzeus.h b/src/mame/includes/midzeus.h index e9574f20fc2..54850ec49d3 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, std::string tag) + midzeus_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + midzeus2_state(const machine_config &mconfig, device_type type, const char *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 8bf9b52c0a1..cdd6a8887bc 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, std::string tag) + mikie_state(const machine_config &mconfig, device_type type, const char *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 43605587be3..441ca98bcda 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, std::string tag) + mikro80_state(const machine_config &mconfig, device_type type, const char *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 0dfa8412ceb..fd87077d48c 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, std::string tag) : + mm1_state(const machine_config &mconfig, device_type type, const char *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 0a0d6aa5f0e..b94aad312e0 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, std::string tag) + mitchell_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/mjkjidai.h b/src/mame/includes/mjkjidai.h index 6cf0e86f082..d3b2946bb2c 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, std::string tag) + mjkjidai_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_msm(*this, "msm"), diff --git a/src/mame/includes/model1.h b/src/mame/includes/model1.h index fd627b33376..824766648e5 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, std::string tag) + model1_state(const machine_config &mconfig, device_type type, const char *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 80454133bf7..1f4bbcaa6d5 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, std::string tag) + model2_state(const machine_config &mconfig, device_type type, const char *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 5afa3887cd9..1c66bf531c9 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, std::string tag) + model3_state(const machine_config &mconfig, device_type type, const char *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 77cf58e984b..51eb27a061b 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, std::string tag) + momoko_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/moo.h b/src/mame/includes/moo.h index fefd94d6fdd..28cb1e9ffef 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, std::string tag) + moo_state(const machine_config &mconfig, device_type type, const char *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 2e7b18449b9..53deb5cf82f 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, std::string tag) + mosaic_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/mouser.h b/src/mame/includes/mouser.h index 2c00ac20ab7..8e23e7d80b1 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, std::string tag) + mouser_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/mpf1.h b/src/mame/includes/mpf1.h index 7945e00513b..603dd68f838 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, std::string tag) + mpf1_state(const machine_config &mconfig, device_type type, const char *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 73f50049e60..3a79b1c0ce0 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, std::string tag) + mpu4_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_vfd(*this, "vfd"), diff --git a/src/mame/includes/mpz80.h b/src/mame/includes/mpz80.h index df7d2191b06..5477c9c156c 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, std::string tag) + mpz80_state(const machine_config &mconfig, device_type type, const char *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 b307b723c7c..0a83c779498 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, std::string tag) + mrdo_state(const machine_config &mconfig, device_type type, const char *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 356536ace7b..89a139fabcf 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, std::string tag) + mrflea_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/mrjong.h b/src/mame/includes/mrjong.h index ce77d7cbd50..ba39ef942a6 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, std::string tag) + mrjong_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/ms32.h b/src/mame/includes/ms32.h index 66d15e35f88..87fe602a7de 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, std::string tag) + ms32_state(const machine_config &mconfig, device_type type, const char *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 ce77734cf80..75cf55060e6 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, std::string tag) + msbc1_state(const machine_config &mconfig, device_type type, const char *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 613529a5ea9..d2f94f51e41 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, std::string tag) + msisaac_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/msx.h b/src/mame/includes/msx.h index 5792de2b551..284f13c77b8 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, std::string tag) + msx_state(const machine_config &mconfig, device_type type, const char *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 c9706471021..5558e1fcd15 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, std::string tag) + mtx_state(const machine_config &mconfig, device_type type, const char *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 23e4744578f..e670686d9c4 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, std::string tag) + mugsmash_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram1(*this, "videoram1"), m_videoram2(*this, "videoram2"), diff --git a/src/mame/includes/multfish.h b/src/mame/includes/multfish.h index 3ca20f5ef87..ed6d3fae67a 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, std::string tag) + igrosoft_gamble_state(const machine_config &mconfig, device_type type, const char *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 37a9fc88ef7..6606f5591ab 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, std::string tag) + munchmo_state(const machine_config &mconfig, device_type type, const char *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 7f4fe7db0ee..160f2398d16 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, std::string tag) + mustache_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/mw8080bw.h b/src/mame/includes/mw8080bw.h index 7438b124f96..1641d3a1086 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, std::string tag) + mw8080bw_state(const machine_config &mconfig, device_type type, const char *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 79290a664b5..6e311814bba 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, std::string tag) + mystston_state(const machine_config &mconfig, device_type type, const char *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 16a712d9c87..0ea09731627 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, std::string tag) + mystwarr_state(const machine_config &mconfig, device_type type, const char *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 59d6482e4ae..552dd9a20c0 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, std::string tag) + mz_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_speaker(*this, "speaker") diff --git a/src/mame/includes/mz80.h b/src/mame/includes/mz80.h index 2cf8a6da018..93dd6c09b9d 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, std::string tag) + mz80_state(const machine_config &mconfig, device_type type, const char *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 4f4d96449c4..783efd70a12 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, std::string tag) + n64_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } @@ -58,7 +58,7 @@ private: public: // construction/destruction - n64_periphs(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + n64_periphs(const machine_config &mconfig, const char *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 1b123c71095..9e5926ced41 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, std::string tag) + n8080_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/namcofl.h b/src/mame/includes/namcofl.h index 94512e846d7..eeb702ae58e 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, std::string tag) + namcofl_state(const machine_config &mconfig, device_type type, const char *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 1af5a81b5f3..17b4b79009f 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, std::string tag) + namcona1_state(const machine_config &mconfig, device_type type, const char *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 4e2439f672d..02930edb0e0 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, std::string tag) + namconb1_state(const machine_config &mconfig, device_type type, const char *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 5c30cb9e81c..979bf93bf05 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, std::string tag) + namcond1_state(const machine_config &mconfig, device_type type, const char *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 f88c32b8c16..7c0146bdaa7 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, std::string tag) + namcos1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "subcpu"), diff --git a/src/mame/includes/namcos2.h b/src/mame/includes/namcos2.h index 2cb1b5741c8..b26aff34a91 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, std::string tag) + namcos2_shared_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + namcos2_state(const machine_config &mconfig, device_type type, const char *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 e50f1210583..e35265aa830 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, std::string tag) + namcos21_state(const machine_config &mconfig, device_type type, const char *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 8a51c0e9963..28a01852fbf 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, std::string tag) + namcos22_state(const machine_config &mconfig, device_type type, const char *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 4120413e9e5..5842c5c570e 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, std::string tag) + namcos86_state(const machine_config &mconfig, device_type type, const char *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 60123e45f6c..3e1e6c80eb0 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, std::string tag) + naomi_state(const machine_config &mconfig, device_type type, const char *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 ebd56bd4924..5e0075719b0 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, std::string tag) + naughtyb_state(const machine_config &mconfig, device_type type, const char *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 3170b92c319..0408c2009cc 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, std::string tag, device_t *owner, UINT32 clock); + nb1413m3_device(const machine_config &mconfig, const char *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 032eeaa7fde..20e392f6f2e 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, std::string tag, device_t *owner, UINT32 clock); + nb1414m4_device(const machine_config &mconfig, const char *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 426afc6e337..c08991c7f7c 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, std::string tag) : + nbmj8688_state(const machine_config &mconfig, device_type type, const char *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 5ba748835dc..6c636e289cb 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, std::string tag) + nbmj8891_state(const machine_config &mconfig, device_type type, const char *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 cab6f296c47..2a51f2ae112 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, std::string tag) + nbmj8900_state(const machine_config &mconfig, device_type type, const char *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 384371a4437..74920f3555f 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, std::string tag) + nbmj8991_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/nbmj9195.h b/src/mame/includes/nbmj9195.h index ee3fef9048e..ec36eb8f168 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, std::string tag) + nbmj9195_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_dac1(*this, "dac1"), diff --git a/src/mame/includes/nc.h b/src/mame/includes/nc.h index 19eff645869..76652a70c61 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, std::string tag) : + nc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/nemesis.h b/src/mame/includes/nemesis.h index f8bfa3ea72e..1d86132e94c 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, std::string tag) + nemesis_state(const machine_config &mconfig, device_type type, const char *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 ede20034bd6..da50cb62765 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, std::string tag) + neogeo_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + neogeo_noslot_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + neogeo_noslot_kog_state(const machine_config &mconfig, device_type type, const char *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 d7393de9fc1..b3ba8450829 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, std::string tag) + nes_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ppu(*this, "ppu"), diff --git a/src/mame/includes/newbrain.h b/src/mame/includes/newbrain.h index 3ad7112dedb..72edaf3b451 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, std::string tag) : + newbrain_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + newbrain_eim_state(const machine_config &mconfig, device_type type, const char *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 3bc3c6657dc..e2d380a7cd3 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, std::string tag) + news_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_bgram(*this, "bgram"), m_fgram(*this, "fgram"), diff --git a/src/mame/includes/next.h b/src/mame/includes/next.h index 83f9ac25866..09e221be65f 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, std::string tag) + next_state(const machine_config &mconfig, device_type type, const char *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 e52b077500e..45f35a3d42c 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, std::string tag) + ninjakd2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/ninjaw.h b/src/mame/includes/ninjaw.h index e65b0e03f65..2c1dc94e902 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, std::string tag) + ninjaw_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/nitedrvr.h b/src/mame/includes/nitedrvr.h index 4ad7fcf3540..7084c08c077 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, std::string tag) + nitedrvr_state(const machine_config &mconfig, device_type type, const char *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 27ba0ed18ca..2115240a0da 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, std::string tag) + niyanpai_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_tmp68301(*this, "tmp68301"), diff --git a/src/mame/includes/nmk16.h b/src/mame/includes/nmk16.h index dc71e964979..269db67fc82 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, std::string tag) + nmk16_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/norautp.h b/src/mame/includes/norautp.h index 1f9a4aa6e01..0053087ec91 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, std::string tag) + norautp_state(const machine_config &mconfig, device_type type, const char *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 16a93407536..497a337c4e5 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, std::string tag) + nova2001_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/nycaptor.h b/src/mame/includes/nycaptor.h index d51429d6c1b..893014050cd 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, std::string tag) + nycaptor_state(const machine_config &mconfig, device_type type, const char *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 d178cef7570..88f57f52d82 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, std::string tag) + ob68k1a_state(const machine_config &mconfig, device_type type, const char *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 5505c76c1eb..1e8ce7c8441 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, std::string tag) + offtwall_state(const machine_config &mconfig, device_type type, const char *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 183206e0d8c..86986de1b99 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, std::string tag) + ohmygod_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/ojankohs.h b/src/mame/includes/ojankohs.h index b7ae669091a..65c7e36bd9c 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, std::string tag) + ojankohs_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/ondra.h b/src/mame/includes/ondra.h index 035ac0c2c32..9277b907e4f 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, std::string tag) + ondra_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/oneshot.h b/src/mame/includes/oneshot.h index 4c04370bad3..c7f854e6a09 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, std::string tag) + oneshot_state(const machine_config &mconfig, device_type type, const char *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 8443deaa84e..e93ab442abd 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, std::string tag) + opwolf_state(const machine_config &mconfig, device_type type, const char *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 df0a5f767ef..9707d6019f1 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, std::string tag) + orao_state(const machine_config &mconfig, device_type type, const char *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 a29afdd96c1..1095f531f04 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, std::string tag) + orbit_state(const machine_config &mconfig, device_type type, const char *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 286d43af94e..5d6a57058be 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, std::string tag) + orion_state(const machine_config &mconfig, device_type type, const char *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 ee7da6ae3d4..7a7e6d64a84 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, std::string tag) : + osborne1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/osi.h b/src/mame/includes/osi.h index bac2769faa7..43485a7a5f4 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, std::string tag) : + sb2m600_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + c1p_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + c1pmf_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + uk101_state(const machine_config &mconfig, device_type type, const char *tag) : sb2m600_state(mconfig, type, tag) { } diff --git a/src/mame/includes/othunder.h b/src/mame/includes/othunder.h index 86bad52e905..d730f4fbc7b 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, std::string tag) + othunder_state(const machine_config &mconfig, device_type type, const char *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 892caddc3c7..ad0cceba7a7 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, std::string tag) + overdriv_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/p2000t.h b/src/mame/includes/p2000t.h index 062d386cc4a..0548f661356 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, std::string tag) + p2000t_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/includes/pacland.h b/src/mame/includes/pacland.h index 7b3a24ad68b..9c4eee41deb 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, std::string tag) + pacland_state(const machine_config &mconfig, device_type type, const char *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 970f94cbff9..d62272914f5 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, std::string tag) + pacman_state(const machine_config &mconfig, device_type type, const char *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 9f623307f88..8fb440f473f 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, std::string tag) + pandoras_state(const machine_config &mconfig, device_type type, const char *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 98b27c4360a..0d63f4f3ee0 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, std::string tag) + paradise_state(const machine_config &mconfig, device_type type, const char *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 945b63a9ce2..e9fa82faa35 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, std::string tag) + parodius_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/partner.h b/src/mame/includes/partner.h index 0d19898a1f1..f5eba1168f8 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, std::string tag) + partner_state(const machine_config &mconfig, device_type type, const char *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 6f65fb91fc7..e54f385787c 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, std::string tag) + pass_state(const machine_config &mconfig, device_type type, const char *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 6e8eed670cc..af0d87dc1f6 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, std::string tag) + pastelg_state(const machine_config &mconfig, device_type type, const char *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 92497a9df77..4fcd6b64574 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, std::string tag) + pbaction_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_videoram2(*this, "videoram2"), diff --git a/src/mame/includes/pc1251.h b/src/mame/includes/pc1251.h index 53666cdeb62..653342b6d17 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, std::string tag) + pc1251_state(const machine_config &mconfig, device_type type, const char *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 f6eaec4ef34..b52b8a53304 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, std::string tag) + pc1350_state(const machine_config &mconfig, device_type type, const char *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 eb277f57797..0ce077476ad 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, std::string tag) + pc1401_state(const machine_config &mconfig, device_type type, const char *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 dcd836eceb0..c5bdf2f943f 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, std::string tag) + pc1403_state(const machine_config &mconfig, device_type type, const char *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 005ce1336bb..2334e8c92d5 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, std::string tag) + pc1512_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + pc1640_state(const machine_config &mconfig, device_type type, const char *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 5327e0f774e..f2d6a8519b9 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, std::string tag) + pc4_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_beep(*this, "beeper"), diff --git a/src/mame/includes/pc8001.h b/src/mame/includes/pc8001.h index 5d708f6129c..76d3bafb529 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, std::string tag) + pc8001_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + pc8001mk2_state(const machine_config &mconfig, device_type type, const char *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 8df422b8fa3..e7f63d2cad4 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, std::string tag) + pc8401a_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + pc8500_state(const machine_config &mconfig, device_type type, const char *tag) : pc8401a_state(mconfig, type, tag) { } diff --git a/src/mame/includes/pce.h b/src/mame/includes/pce.h index 7958cf0f16c..9d9a7d34b56 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, std::string tag) + pce_state(const machine_config &mconfig, device_type type, const char *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 92a581e422e..83133b3f612 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, std::string tag) + pcktgal_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/pcw.h b/src/mame/includes/pcw.h index 540d0970c0a..fb9b35b96e9 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, std::string tag) + pcw_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_fdc(*this, "upd765"), diff --git a/src/mame/includes/pcw16.h b/src/mame/includes/pcw16.h index d937ecc1eb4..3f611f878d5 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, std::string tag) + pcw16_state(const machine_config &mconfig, device_type type, const char *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 9f03942367b..c1745369736 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, std::string tag) + pdp1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/pecom.h b/src/mame/includes/pecom.h index 81c92979992..c8b9768bb31 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, std::string tag) + pecom_state(const machine_config &mconfig, device_type type, const char *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 8149037b4d0..cd57dc3f772 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, std::string tag) + pes_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_terminal(*this, TERMINAL_TAG), diff --git a/src/mame/includes/pet.h b/src/mame/includes/pet.h index 2324b149b85..d4572a99c05 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, std::string tag) : + pet_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + pet2001b_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + pet80_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + superpet_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + cbm8096_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + cbm8296_state(const machine_config &mconfig, device_type type, const char *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 fec59357bcd..23f43937ff3 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, std::string tag) + pgm_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + pgm_asic3_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + pgm_arm_type1_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + pgm_arm_type2_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + pgm_arm_type3_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + pgm_022_025_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + pgm_012_025_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + pgm_028_025_state(const machine_config &mconfig, device_type type, const char *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 545b5e705d7..635e7cbeb70 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, std::string tag) + phc25_state(const machine_config &mconfig, device_type type, const char *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 36ccbde6663..0f423efea69 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, std::string tag) + phoenix_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock); + phoenix_sound_device(const machine_config &mconfig, const char *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 63fc900ef73..afc47ef6ccc 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, std::string tag) + pingpong_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/pirates.h b/src/mame/includes/pirates.h index 1767907a7b6..20486d5b541 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, std::string tag) + pirates_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_eeprom(*this, "eeprom"), diff --git a/src/mame/includes/pitnrun.h b/src/mame/includes/pitnrun.h index 96c407148f8..91dadd7172e 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, std::string tag) + pitnrun_state(const machine_config &mconfig, device_type type, const char *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 4bff9b5b0c3..ad895850537 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, std::string tag) + pk8000_base_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") { } diff --git a/src/mame/includes/pk8020.h b/src/mame/includes/pk8020.h index 34d96f4766e..d8de9284db6 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, std::string tag) + pk8020_state(const machine_config &mconfig, device_type type, const char *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 0eacd97cd01..5f0b0e76b94 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, std::string tag) + pktgaldx_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_deco104(*this, "ioprot104"), m_pf1_rowscroll(*this, "pf1_rowscroll"), diff --git a/src/mame/includes/playch10.h b/src/mame/includes/playch10.h index efad96194a3..c69f07cd514 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, std::string tag) + playch10_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ppu(*this, "ppu"), diff --git a/src/mame/includes/playmark.h b/src/mame/includes/playmark.h index aafef470b2b..2d609ea518f 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, std::string tag) + playmark_state(const machine_config &mconfig, device_type type, const char *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 a59d0f59aee..fbd590c9601 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, std::string tag) + plus4_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + c16_state(const machine_config &mconfig, device_type type, const char *tag) : plus4_state(mconfig, type, tag) { } diff --git a/src/mame/includes/plygonet.h b/src/mame/includes/plygonet.h index 76fdd5c8650..91caec85865 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, std::string tag) + polygonet_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/pmd85.h b/src/mame/includes/pmd85.h index 8b02cfedcaf..691b382a478 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, std::string tag) + pmd85_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/pocketc.h b/src/mame/includes/pocketc.h index 02d193b4750..5edc361dc70 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, std::string tag) + pocketc_state(const machine_config &mconfig, device_type type, const char *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 aae7313b172..57a24f0c052 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, std::string tag) + p1_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pic8259(*this, "pic8259"), diff --git a/src/mame/includes/pokechmp.h b/src/mame/includes/pokechmp.h index 6650b73209d..a4cf94fd34f 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, std::string tag) + pokechmp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/polepos.h b/src/mame/includes/polepos.h index 09fc149b6c9..16f0963c709 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, std::string tag) + polepos_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock); + polepos_sound_device(const machine_config &mconfig, const char *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 8efab248691..9525c9a21a7 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, std::string tag) + policetr_state(const machine_config &mconfig, device_type type, const char *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 a654e77e15f..9a3dc93f135 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, std::string tag) + poly88_state(const machine_config &mconfig, device_type type, const char *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 6362dd2324a..6245a728a9c 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, std::string tag) + poly880_state(const machine_config &mconfig, device_type type, const char *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 02ee1eb13c5..a39b4e05792 100644 --- a/src/mame/includes/polyplay.h +++ b/src/mame/includes/polyplay.h @@ -10,7 +10,7 @@ class polyplay_state : public driver_device { public: - polyplay_state(const machine_config &mconfig, device_type type, std::string tag) + polyplay_state(const machine_config &mconfig, device_type type, const char *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 cfd0b910869..c6196e08d55 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, std::string tag) + poolshrk_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/pooyan.h b/src/mame/includes/pooyan.h index fc9b87870c1..3eb5fb91808 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, std::string tag) + pooyan_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/popeye.h b/src/mame/includes/popeye.h index 704278c2962..f24304dbe3b 100644 --- a/src/mame/includes/popeye.h +++ b/src/mame/includes/popeye.h @@ -4,7 +4,7 @@ class popeye_state : public driver_device { public: - popeye_state(const machine_config &mconfig, device_type type, std::string tag) + popeye_state(const machine_config &mconfig, device_type type, const char *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 4dd2efc481d..9ef9f287e95 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, std::string tag) + popper_state(const machine_config &mconfig, device_type type, const char *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 00de2679edc..7070f734e42 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, std::string tag) + portfolio_state(const machine_config &mconfig, device_type type, const char *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 e5b789e8a3d..6d978f630fd 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, std::string tag) + portrait_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/powerins.h b/src/mame/includes/powerins.h index fdfcf81201e..1b6e5a65f99 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, std::string tag) + powerins_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/pp01.h b/src/mame/includes/pp01.h index 7a0905ba6cb..e8e15fce57e 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, std::string tag) + pp01_state(const machine_config &mconfig, device_type type, const char *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 c45d25bba48..1b3d1c0a35d 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, std::string tag) + prehisle_state(const machine_config &mconfig, device_type type, const char *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 34d9c50f34d..ee12938af28 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, std::string tag) + primo_state(const machine_config &mconfig, device_type type, const char *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 0ceb6a09b48..7caadfc1345 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, std::string tag) + prof180x_state(const machine_config &mconfig, device_type type, const char *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 efe43d1d1d8..faa9d7be323 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, std::string tag) + prof80_state(const machine_config &mconfig, device_type type, const char *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 d87e36ef2a8..9d0f2f6b69e 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, std::string tag) + psikyo_state(const machine_config &mconfig, device_type type, const char *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 20f986aa3a5..6005905e38a 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, std::string tag) + psikyo4_state(const machine_config &mconfig, device_type type, const char *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 47531c5fbf1..4332eb98ab6 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, std::string tag) + psikyosh_state(const machine_config &mconfig, device_type type, const char *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 9371e168326..bf09325add0 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, std::string tag) + psion_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + psion1_state(const machine_config &mconfig, device_type type, const char *tag) : psion_state(mconfig, type, tag) { } diff --git a/src/mame/includes/psychic5.h b/src/mame/includes/psychic5.h index b5c173d5092..3430fb2d3aa 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, std::string tag) + psychic5_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/punchout.h b/src/mame/includes/punchout.h index ca0fad05d3b..b8e3bf4cd43 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, std::string tag) + punchout_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/px8.h b/src/mame/includes/px8.h index 3ad1cb54650..8ce81932b28 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, std::string tag) + px8_state(const machine_config &mconfig, device_type type, const char *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 2a696cb7288..5c8968e12ee 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, std::string tag) + qdrmfgp_state(const machine_config &mconfig, device_type type, const char *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 047015cbdb7..0372610aec1 100644 --- a/src/mame/includes/qix.h +++ b/src/mame/includes/qix.h @@ -23,7 +23,7 @@ class qix_state : public driver_device { public: - qix_state(const machine_config &mconfig, device_type type, std::string tag) + qix_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/ql.h b/src/mame/includes/ql.h index c0a7a032350..3e0d2d082ee 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, std::string tag) : + ql_state(const machine_config &mconfig, device_type type, const char *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 7a206207cb3..3c8569c4626 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, std::string tag) + quasar_state(const machine_config &mconfig, device_type type, const char *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 ae38db454ea..7d4bf69ac9c 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, std::string tag) + quizdna_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/quizpani.h b/src/mame/includes/quizpani.h index 592851bc921..12ae17965d1 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, std::string tag) + quizpani_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/radio86.h b/src/mame/includes/radio86.h index 5f57cd339b6..8985e1692f6 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, std::string tag) + radio86_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/raiden.h b/src/mame/includes/raiden.h index 02eed6b9f42..ab809bc8552 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, std::string tag) + raiden_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_seibu_sound(*this, "seibu_sound"), diff --git a/src/mame/includes/raiden2.h b/src/mame/includes/raiden2.h index 17f87813ee4..0cedfb94a78 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, std::string tag) + raiden2_state(const machine_config &mconfig, device_type type, const char *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 e9f6ca68bac..cf56d22ef3a 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, std::string tag) + rallyx_state(const machine_config &mconfig, device_type type, const char *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 b275d145c8f..d7e62bc9b39 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, std::string tag) + rampart_state(const machine_config &mconfig, device_type type, const char *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 b06cd58b0f8..4d4771a407d 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, std::string tag) + rastan_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/rbisland.h b/src/mame/includes/rbisland.h index f98ecba0ab7..0fa8a251740 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, std::string tag) + rbisland_state(const machine_config &mconfig, device_type type, const char *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 eb037452d28..4b3c3d9689a 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, std::string tag) + realbrk_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_tmp68301(*this, "tmp68301"), diff --git a/src/mame/includes/redalert.h b/src/mame/includes/redalert.h index 908448882e4..c3aeb7be441 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, std::string tag) + redalert_state(const machine_config &mconfig, device_type type, const char *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 7727a3f336a..cae4ad37e3d 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, std::string tag) + relief_state(const machine_config &mconfig, device_type type, const char *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 fd4273a0065..fc619d2c8be 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, std::string tag) + renegade_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/retofinv.h b/src/mame/includes/retofinv.h index 52fc230a84c..9e35b0455b0 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, std::string tag) + retofinv_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/rltennis.h b/src/mame/includes/rltennis.h index 2a8fcdf99e0..321a778d689 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, std::string tag) + rltennis_state(const machine_config &mconfig, device_type type, const char *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 3d36c2f0238..616dbb06da9 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, std::string tag) + rm380z_state(const machine_config &mconfig, device_type type, const char *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 6e1c6dfafd1..692d6eb338a 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, std::string tag) : + rmnimbus_state(const machine_config &mconfig, device_type type, const char *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 71dc4eb69cd..52c34236776 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, std::string tag) + rockrage_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/rocnrope.h b/src/mame/includes/rocnrope.h index 3cc2851abc6..db48d923c8f 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, std::string tag) + rocnrope_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/rohga.h b/src/mame/includes/rohga.h index ee60bbcaa42..6861c53fff2 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, std::string tag) + rohga_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/rollerg.h b/src/mame/includes/rollerg.h index 361d97cc84a..edaba1ab1cc 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, std::string tag) + rollerg_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/rollrace.h b/src/mame/includes/rollrace.h index 4d8ab3d588b..a1860032610 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, std::string tag) + rollrace_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/route16.h b/src/mame/includes/route16.h index ce0ef31f66f..32eb59800b6 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, std::string tag) + route16_state(const machine_config &mconfig, device_type type, const char *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 cd0f47dea38..e71ad1c73b4 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, std::string tag) + rpunch_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/runaway.h b/src/mame/includes/runaway.h index 397e46257a7..ae07cd6a322 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, std::string tag) + runaway_state(const machine_config &mconfig, device_type type, const char *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 5de0323bede..2819bbde4a9 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, std::string tag) + rungun_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/s11.h b/src/mame/includes/s11.h index cba85ff87ec..1d8f355ec0a 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, std::string tag) + s11_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + s11a_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + s11b_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + s11c_state(const machine_config &mconfig, device_type type, const char *tag) : s11b_state(mconfig, type, tag) { } diff --git a/src/mame/includes/sage2.h b/src/mame/includes/sage2.h index 713603c8371..2a80606aa20 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, std::string tag) + sage2_state(const machine_config &mconfig, device_type type, const char *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 8e1d96be416..201754c993d 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, std::string tag) + samcoupe_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/includes/sauro.h b/src/mame/includes/sauro.h index 7e2e87eda1c..dfa69ed44f2 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, std::string tag) + sauro_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/sbasketb.h b/src/mame/includes/sbasketb.h index 05463cefd68..f1a7db9b7b0 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, std::string tag) + sbasketb_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_colorram(*this, "colorram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/sbugger.h b/src/mame/includes/sbugger.h index 2767c1772dd..9df4807e9be 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, std::string tag) + sbugger_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/scotrsht.h b/src/mame/includes/scotrsht.h index 43a44704753..288d67822ac 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, std::string tag) + scotrsht_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/scramble.h b/src/mame/includes/scramble.h index 23964fb491f..2648ce25237 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, std::string tag) + scramble_state(const machine_config &mconfig, device_type type, const char *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 c490d72a175..0261ea14a7a 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, std::string tag) + sderby_state(const machine_config &mconfig, device_type type, const char *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 a1c3300d691..77e690fc86e 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, std::string tag) + segag80r_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock); + sega005_sound_device(const machine_config &mconfig, const char *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 e1d0f1f2864..b9c74242fbd 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, std::string tag) + segag80v_state(const machine_config &mconfig, device_type type, const char *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 f490ca3a0b5..6de20b3b774 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, std::string tag) + segahang_state(const machine_config &mconfig, device_type type, const char *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 ef1c7b6d075..6343dd07835 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, std::string tag) + segaorun_state(const machine_config &mconfig, device_type type, const char *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 37075bd0384..f34c9ae1b8b 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, std::string tag) + segas16a_state(const machine_config &mconfig, device_type type, const char *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 11b98ec203d..28f783dbd15 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, std::string tag) + segas16b_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + isgsm_state(const machine_config &mconfig, device_type type, const char *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 cf6043576fb..44e66be4fb4 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, std::string tag) + segas18_state(const machine_config &mconfig, device_type type, const char *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 f5e3f473939..f2633b12632 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, std::string tag) + segas24_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_subcpu(*this, "subcpu"), diff --git a/src/mame/includes/segas32.h b/src/mame/includes/segas32.h index 422b54a5c83..32392914aad 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, std::string tag, device_t *owner, UINT32 clock); + segas32_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + segas32_regular_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + segas32_v25_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + sega_multi32_state(const machine_config &mconfig, const char *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 3896e4ce040..ee952a7dcd9 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, std::string tag) + segasp_state(const machine_config &mconfig, device_type type, const char *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 b2391c14ed9..0625ceb619b 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, std::string tag, device_t *owner, UINT32 clock); + segaxbd_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + segaxbd_regular_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + segaxbd_fd1094_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + segaxbd_lastsurv_fd1094_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + segaxbd_lastsurv_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + segaxbd_smgp_fd1094_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + segaxbd_smgp_state(const machine_config &mconfig, const char *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, std::string tag, device_t *owner, UINT32 clock); + segaxbd_rascot_state(const machine_config &mconfig, const char *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 d8d2062e8e7..baf0b1d7c37 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, std::string tag) + segaybd_state(const machine_config &mconfig, device_type type, const char *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 e6aa8f43b46..e3cd7d82f67 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, std::string tag) + seibuspi_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/seicross.h b/src/mame/includes/seicross.h index df64c838d5b..77b8e5a6708 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, std::string tag) + seicross_state(const machine_config &mconfig, device_type type, const char *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 f54536d12d4..39d42ea5b01 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, std::string tag) + senjyo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pio(*this, "z80pio"), diff --git a/src/mame/includes/seta.h b/src/mame/includes/seta.h index ebb83ab522d..1f1c5d0a920 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, std::string tag) + seta_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/seta2.h b/src/mame/includes/seta2.h index 7cc4aef598d..1c48610d9e9 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, std::string tag) + seta2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_tmp68301(*this, "tmp68301"), diff --git a/src/mame/includes/sf.h b/src/mame/includes/sf.h index 1e42b1f3ce8..b6964d9cf8f 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, std::string tag) + sf_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/sg1000.h b/src/mame/includes/sg1000.h index 27f6104772f..6cfd014433f 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, std::string tag) + sg1000_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + sc3000_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + sf7000_state(const machine_config &mconfig, device_type type, const char *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 1c49ac5171b..82ce0cba31b 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, std::string tag) + shadfrce_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/shangha3.h b/src/mame/includes/shangha3.h index 32ba9f72ee2..1a75aaa8cfb 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, std::string tag) + shangha3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/shangkid.h b/src/mame/includes/shangkid.h index 2224e8a67cf..6680c6c1748 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, std::string tag) + shangkid_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/shaolins.h b/src/mame/includes/shaolins.h index 57b077cafa5..06c7a60df76 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, std::string tag) + shaolins_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/shisen.h b/src/mame/includes/shisen.h index 4c76c00af48..a77429e2798 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, std::string tag) + shisen_state(const machine_config &mconfig, device_type type, const char *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 511a8745f35..8615df3be8b 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, std::string tag) + shootout_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/shuuz.h b/src/mame/includes/shuuz.h index 79b580c1aca..8f0e20ac876 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, std::string tag) + shuuz_state(const machine_config &mconfig, device_type type, const char *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 4c2cb3f24bf..bd82050f486 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, std::string tag) + sidearms_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/sidepckt.h b/src/mame/includes/sidepckt.h index d4237509d34..214521b87cc 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, std::string tag) + sidepckt_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/silkroad.h b/src/mame/includes/silkroad.h index f03450cea4f..12fee36f2e0 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, std::string tag) + silkroad_state(const machine_config &mconfig, device_type type, const char *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 6de98cdff21..7fc91654160 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, std::string tag) + simpl156_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_deco_tilegen1(*this, "tilegen1"), diff --git a/src/mame/includes/simple_st0016.h b/src/mame/includes/simple_st0016.h index 3609d948b27..21c30ac560d 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, std::string tag) + st0016_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/simpsons.h b/src/mame/includes/simpsons.h index b24edca6f4b..2762f4da138 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, std::string tag) + simpsons_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/skullxbo.h b/src/mame/includes/skullxbo.h index 72dba56a9bd..4cabfa061aa 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, std::string tag) + skullxbo_state(const machine_config &mconfig, device_type type, const char *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 b7163b8c35d..8e287c5b04f 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, std::string tag) + skydiver_state(const machine_config &mconfig, device_type type, const char *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 a221001bb29..c45be86567e 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, std::string tag) + skyfox_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/skykid.h b/src/mame/includes/skykid.h index f595370e3e6..929298e2ea6 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, std::string tag) + skykid_state(const machine_config &mconfig, device_type type, const char *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 e117a127e35..b4258ad37ef 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, std::string tag) + skyraid_state(const machine_config &mconfig, device_type type, const char *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 cda95c57914..32f14f281df 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, std::string tag) + slapfght_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/slapshot.h b/src/mame/includes/slapshot.h index 4aad8cc35e8..6a200b524ab 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, std::string tag) + slapshot_state(const machine_config &mconfig, device_type type, const char *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 0d3283fec7e..cfcfcce890e 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, std::string tag, device_t *owner, UINT32 clock); + atari_slapstic_device(const machine_config &mconfig, const char *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 e25e243515b..ec9ae688698 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, std::string tag) + sms_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + smssdisp_state(const machine_config &mconfig, device_type type, const char *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 76a58b73081..238ad7efcc9 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, std::string tag) + snes_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/snk.h b/src/mame/includes/snk.h index d6fcc6a7939..7e6469d6f3b 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, std::string tag) + snk_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/snk6502.h b/src/mame/includes/snk6502.h index b01a5c400e3..2c66853510d 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, std::string tag) + snk6502_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock); + snk6502_sound_device(const machine_config &mconfig, const char *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 7021488b02a..f9c8d59e71f 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, std::string tag) + snk68_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/snookr10.h b/src/mame/includes/snookr10.h index 7441c7e2a2c..b15623e61d0 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, std::string tag) + snookr10_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/snowbros.h b/src/mame/includes/snowbros.h index 135b413c37e..a1102dbd7a8 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, std::string tag) + snowbros_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/softbox.h b/src/mame/includes/softbox.h index 0f3df723cc8..1ebd857424c 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, std::string tag) + softbox_state(const machine_config &mconfig, device_type type, const char *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 881d8b579ac..0d8ab74ce02 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, std::string tag) + solomon_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/sonson.h b/src/mame/includes/sonson.h index bc81bb1a5f3..343ae432944 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, std::string tag) + sonson_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/sorcerer.h b/src/mame/includes/sorcerer.h index fde3950b749..9e49370b514 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, std::string tag) + sorcerer_state(const machine_config &mconfig, device_type type, const char *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 c43b55ab2e5..4bd39f33338 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, std::string tag) + spacefb_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/spbactn.h b/src/mame/includes/spbactn.h index 1dbaa6748c3..9924a0e46fe 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, std::string tag) + spbactn_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/spcforce.h b/src/mame/includes/spcforce.h index b230fdfdc86..fc572a6dbfa 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, std::string tag) + spcforce_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/spdodgeb.h b/src/mame/includes/spdodgeb.h index b2060ee4afd..04b6362c12a 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, std::string tag) + spdodgeb_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/special.h b/src/mame/includes/special.h index ab1e671e184..6c9a369b922 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, std::string tag) + special_state(const machine_config &mconfig, device_type type, const char *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 41208d99e06..bd4d0511cab 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, std::string tag) + spectrum_state(const machine_config &mconfig, device_type type, const char *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 6cf70ced45b..d0ed37db6da 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, std::string tag) + speedatk_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_crtc(*this, "crtc"), diff --git a/src/mame/includes/speedbal.h b/src/mame/includes/speedbal.h index 75d1ffadad5..c6cc7e5e4f9 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, std::string tag) + speedbal_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/speedspn.h b/src/mame/includes/speedspn.h index 4c7bfbfc5c2..9167d0192d4 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, std::string tag) + speedspn_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/spiders.h b/src/mame/includes/spiders.h index 11e99d044c5..ba29815a7de 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, std::string tag) + spiders_state(const machine_config &mconfig, device_type type, const char *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 a4201619f9e..872d52643a6 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, std::string tag) + splash_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/sprcros2.h b/src/mame/includes/sprcros2.h index e7c1149ea2e..bc3a468306c 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, std::string tag) + sprcros2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_master(*this,"master"), m_slave(*this,"slave"), diff --git a/src/mame/includes/sprint2.h b/src/mame/includes/sprint2.h index 47f0300429f..991ad99025c 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, std::string tag) + sprint2_state(const machine_config &mconfig, device_type type, const char *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 dccbb817743..79def94ada0 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, std::string tag) + sprint4_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/sprint8.h b/src/mame/includes/sprint8.h index 9228fcbb385..4db1fca0fa2 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, std::string tag) + sprint8_state(const machine_config &mconfig, device_type type, const char *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 6f7f414025e..a77b8669af6 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, std::string tag) + spy_state(const machine_config &mconfig, device_type type, const char *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 2447f113a20..d0cab87ce67 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, std::string tag) + srmp2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_seta001(*this, "spritegen"), diff --git a/src/mame/includes/srumbler.h b/src/mame/includes/srumbler.h index 4fd7a43eaa5..0e6b320fcfc 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, std::string tag) + srumbler_state(const machine_config &mconfig, device_type type, const char *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 ed882bc2361..056dd91bf3a 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, std::string tag) + sshangha_state(const machine_config &mconfig, device_type type, const char *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 a86e9d1bdb8..c52ee6f3672 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, std::string tag) + sslam_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/ssozumo.h b/src/mame/includes/ssozumo.h index 7257a2b532a..eee0334c406 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, std::string tag) + ssozumo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/sspeedr.h b/src/mame/includes/sspeedr.h index a2d91c77fb5..54978416da1 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, std::string tag) + sspeedr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/ssrj.h b/src/mame/includes/ssrj.h index bc256b0c69a..f17223aca95 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, std::string tag) + ssrj_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/ssv.h b/src/mame/includes/ssv.h index d0aa3ff0c64..611ff3b66ee 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, std::string tag) + ssv_state(const machine_config &mconfig, device_type type, const char *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 ff8da0c6a60..79a5e7d4591 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, std::string tag) + ssystem3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu") , m_palette(*this, "palette") diff --git a/src/mame/includes/stactics.h b/src/mame/includes/stactics.h index 44ef3ee78ef..989f7f262fc 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, std::string tag) + stactics_state(const machine_config &mconfig, device_type type, const char *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 0eba88cfb97..d9aa358e551 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, std::string tag) + stadhero_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/starcrus.h b/src/mame/includes/starcrus.h index e045d8234cf..3de1b75301f 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, std::string tag) + starcrus_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_samples(*this, "samples"), diff --git a/src/mame/includes/starfire.h b/src/mame/includes/starfire.h index f7f2aeb10ff..66ed55ce031 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, std::string tag) + starfire_state(const machine_config &mconfig, device_type type, const char *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 d1c86b7172b..b4fa955bc80 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, std::string tag) + starshp1_state(const machine_config &mconfig, device_type type, const char *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 08748127f9b..6baec75153a 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, std::string tag) + starwars_state(const machine_config &mconfig, device_type type, const char *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 1ac79eb205f..31af9a7ac2e 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, std::string tag) + stfight_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/stlforce.h b/src/mame/includes/stlforce.h index 5ac160ffd1c..7c43ad56e93 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, std::string tag) + stlforce_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki(*this, "oki"), diff --git a/src/mame/includes/strnskil.h b/src/mame/includes/strnskil.h index c2201809d0d..7f0e4699cad 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, std::string tag) + strnskil_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_subcpu(*this,"sub"), diff --git a/src/mame/includes/stv.h b/src/mame/includes/stv.h index 4457aae3b93..db8329f9ecc 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, std::string tag) + saturn_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + stv_state(const machine_config &mconfig, device_type type, const char *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 799992c42ef..853cb24d1e8 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, std::string tag) + subs_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/suna16.h b/src/mame/includes/suna16.h index 5a0ab3dd0f8..d7f7ed7d029 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, std::string tag) + suna16_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_dac1(*this, "dac1"), diff --git a/src/mame/includes/suna8.h b/src/mame/includes/suna8.h index 185892358ef..1ee773edb15 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, std::string tag) + suna8_state(const machine_config &mconfig, device_type type, const char *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 8dfd7666bbb..2f067a11765 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, std::string tag) + supbtime_state(const machine_config &mconfig, device_type type, const char *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 dae98735656..6edce116cb4 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, std::string tag) + super6_state(const machine_config &mconfig, device_type type, const char *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 4063aafc6f2..34b6a2c94eb 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, std::string tag) + super80_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_palette(*this, "palette") , m_maincpu(*this, "maincpu") diff --git a/src/mame/includes/superchs.h b/src/mame/includes/superchs.h index 7fd559010be..a3d45791548 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, std::string tag) + superchs_state(const machine_config &mconfig, device_type type, const char *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 5ed88def28a..82729e52e86 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, std::string tag) + superqix_state(const machine_config &mconfig, device_type type, const char *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 67f3a85493f..ef84899e5c4 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, std::string tag) + superslave_state(const machine_config &mconfig, device_type type, const char *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 4e7b0631e89..4db13e5ea33 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, std::string tag) + suprloco_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/suprnova.h b/src/mame/includes/suprnova.h index b3d163a91ce..672ceb3efd5 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, std::string tag) + skns_state(const machine_config &mconfig, device_type type, const char *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 ce3e11502da..74a32a47f07 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, std::string tag) + suprridr_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/suprslam.h b/src/mame/includes/suprslam.h index 95ead745c10..ffe87dd36bf 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, std::string tag) + suprslam_state(const machine_config &mconfig, device_type type, const char *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 3fceb25a4b8..021fa7bbd09 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, std::string tag) + surpratk_state(const machine_config &mconfig, device_type type, const char *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 5eb96aedd27..1e0fc0d0d30 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, std::string tag) + svi318_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/svision.h b/src/mame/includes/svision.h index 9381e65667c..43292b36702 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, std::string tag) + svision_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_sound(*this, "custom"), diff --git a/src/mame/includes/swtpc09.h b/src/mame/includes/swtpc09.h index 9b71fe6d5e2..10667f44a34 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, std::string tag) + swtpc09_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_pia(*this, "pia"), diff --git a/src/mame/includes/system1.h b/src/mame/includes/system1.h index 96869c4ede5..8f3cf559276 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, std::string tag) + system1_state(const machine_config &mconfig, device_type type, const char *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 b63a9b9e5b4..5173524b89e 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, std::string tag) + segas1x_bootleg_state(const machine_config &mconfig, device_type type, const char *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 e2702ed6f2a..a39e95dcc4f 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, std::string tag) + tagteam_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/tail2nos.h b/src/mame/includes/tail2nos.h index ebc17b48451..f4eb8bb919f 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, std::string tag) + tail2nos_state(const machine_config &mconfig, device_type type, const char *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 3b7bb963b03..9a317f2eea9 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, std::string tag) + taitob_state(const machine_config &mconfig, device_type type, const char *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 c2a30abb330..1d75ce57e28 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, std::string tag) + taitof2_state(const machine_config &mconfig, device_type type, const char *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 9ce6338c18d..5b31c9db98c 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, std::string tag) + taito_f3_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/taito_h.h b/src/mame/includes/taito_h.h index a638937801f..d90434f5d24 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, std::string tag) + taitoh_state(const machine_config &mconfig, device_type type, const char *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 1ef46ed0b4b..9ddecdb0c03 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, std::string tag) + taitol_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/taito_o.h b/src/mame/includes/taito_o.h index 53d76964852..249c83b158f 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, std::string tag) + taitoo_state(const machine_config &mconfig, device_type type, const char *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 d9f2b9f394c..110777c878e 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, std::string tag) + taitox_state(const machine_config &mconfig, device_type type, const char *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 e9847be2d22..f14335f4b7b 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, std::string tag) + taitoz_state(const machine_config &mconfig, device_type type, const char *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 285829b34f7..2a0bc94cd12 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, std::string tag) + taitoair_state(const machine_config &mconfig, device_type type, const char *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 8668da0b928..f334077dddb 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, std::string tag) + taitojc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_dsp(*this,"dsp"), diff --git a/src/mame/includes/taitosj.h b/src/mame/includes/taitosj.h index 2936218f93d..b99a071d025 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, std::string tag) + taitosj_state(const machine_config &mconfig, device_type type, const char *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 c90ef642478..57a96efd607 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, std::string tag) : + tandy2k_state(const machine_config &mconfig, device_type type, const char *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 60fc2d87eb8..2f9eac715c4 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, std::string tag) + tank8_state(const machine_config &mconfig, device_type type, const char *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 92c57a2cb2d..2359153c3e6 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, std::string tag) + tankbatt_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_samples(*this, "samples"), diff --git a/src/mame/includes/tankbust.h b/src/mame/includes/tankbust.h index e252a6da119..aa1501e59d0 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, std::string tag) + tankbust_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/taotaido.h b/src/mame/includes/taotaido.h index c33acd3ed3b..3c7e566469c 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, std::string tag) + taotaido_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/targeth.h b/src/mame/includes/targeth.h index ce2c9a8d0e8..946f95325c6 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, std::string tag) + targeth_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_videoram(*this, "videoram"), diff --git a/src/mame/includes/tatsumi.h b/src/mame/includes/tatsumi.h index 9ff7633953d..0b1aac7f23f 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, std::string tag) + tatsumi_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/taxidriv.h b/src/mame/includes/taxidriv.h index 73e37bde51c..2884053df30 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, std::string tag) + taxidriv_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/tbowl.h b/src/mame/includes/tbowl.h index 1a37fde1b8d..523cf8c0595 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, std::string tag) + tbowl_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/tceptor.h b/src/mame/includes/tceptor.h index 47866949fd5..5ec6d58a36d 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, std::string tag) + tceptor_state(const machine_config &mconfig, device_type type, const char *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 a4e82a79fa0..8e4ad412197 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, std::string tag) + tdv2324_state(const machine_config &mconfig, device_type type, const char *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 4d42d3c8939..aed50ccd174 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, std::string tag) + tecmo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_soundcpu(*this, "soundcpu"), diff --git a/src/mame/includes/tecmo16.h b/src/mame/includes/tecmo16.h index 355eca5cdee..cfdbb55acf1 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, std::string tag) + tecmo16_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/tecmosys.h b/src/mame/includes/tecmosys.h index a99f341a9be..b2af39ab37a 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, std::string tag) + tecmosys_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/tehkanwc.h b/src/mame/includes/tehkanwc.h index 8eec719c09d..22f98d76586 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, std::string tag) + tehkanwc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/tek405x.h b/src/mame/includes/tek405x.h index 6bee3736581..018c3835c65 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, std::string tag) : + tek4051_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + tek4052_state(const machine_config &mconfig, device_type type, const char *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 f61bcd1d5be..d055fa142a5 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, std::string tag) + terracre_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/tetrisp2.h b/src/mame/includes/tetrisp2.h index ffdfe1367e4..9f65ee2fa19 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, std::string tag) + tetrisp2_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + stepstag_state(const machine_config &mconfig, device_type type, const char *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 e07763ae2b7..c95574628b9 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, std::string tag) + thedeep_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/thepit.h b/src/mame/includes/thepit.h index b21f82bd522..11852faab9e 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, std::string tag) + thepit_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/thief.h b/src/mame/includes/thief.h index 8f57393af11..bc1d57ae8a8 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, std::string tag) + thief_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_maincpu(*this, "maincpu"), m_samples(*this, "samples"), diff --git a/src/mame/includes/thomson.h b/src/mame/includes/thomson.h index 33708d48d65..f8047501e7c 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, std::string tag) : + thomson_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock); + to7_io_line_device(const machine_config &mconfig, const char *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 3202ddd5229..066f4ffbde2 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, std::string tag) + thoop2_state(const machine_config &mconfig, device_type type, const char *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 7a8ea1ee72c..ebcaff632ed 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, std::string tag) + thunderj_state(const machine_config &mconfig, device_type type, const char *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 e19f38e39fd..2ea60729e11 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, std::string tag) + thunderx_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/ti85.h b/src/mame/includes/ti85.h index bf60dbf5c95..4eff29fff9b 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, std::string tag) + ti85_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/includes/ti89.h b/src/mame/includes/ti89.h index b7616d23042..67b1707e8bc 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, std::string tag) + ti68k_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_flash(*this, "flash"), diff --git a/src/mame/includes/tiamc1.h b/src/mame/includes/tiamc1.h index 2eb976ebc55..a6a7096efb7 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, std::string tag) + tiamc1_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock); + tiamc1_sound_device(const machine_config &mconfig, const char *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 cca95a073c7..b54f8a6d2dd 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, std::string tag) + tigeroad_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_spriteram(*this, "spriteram") , m_videoram(*this, "videoram"), diff --git a/src/mame/includes/tiki100.h b/src/mame/includes/tiki100.h index 78b7858eaac..b4e837adba3 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, std::string tag) : + tiki100_state(const machine_config &mconfig, device_type type, const char *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 2dc9aab9867..7b7af434c15 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, std::string tag) + timelimt_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/timeplt.h b/src/mame/includes/timeplt.h index 07dd87c49af..3a9de0d64c1 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, std::string tag) + timeplt_state(const machine_config &mconfig, device_type type, const char *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 7b51cdfa295..6e7c80c1c03 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, std::string tag) + tmc1800_base_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + tmc1800_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + osc1000b_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + tmc2000_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + nano_state(const machine_config &mconfig, device_type type, const char *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 8b1cb6f2837..29974e3a233 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, std::string tag) + tmc2000e_state(const machine_config &mconfig, device_type type, const char *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 ca7fc806b1c..9fa19ca227a 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, std::string tag) + tmc600_state(const machine_config &mconfig, device_type type, const char *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 082a4f099d1..8b6d18a7c78 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, std::string tag) + tmnt_state(const machine_config &mconfig, device_type type, const char *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 ed5470d309c..9ac5c6688da 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, std::string tag) + tnzs_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/toaplan1.h b/src/mame/includes/toaplan1.h index 9c0b12075b2..7c67523b40a 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, std::string tag) + toaplan1_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + toaplan1_rallybik_state(const machine_config &mconfig, device_type type, const char *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 98b0a0beb8f..198cd1ce6ec 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, std::string tag) + toaplan2_state(const machine_config &mconfig, device_type type, const char *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 842fb2d8bc1..23718749380 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, std::string tag) + toki_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/toobin.h b/src/mame/includes/toobin.h index e9c1604acd0..38d50d41c60 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, std::string tag) + toobin_state(const machine_config &mconfig, device_type type, const char *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 be73f58e8f0..139543e69b6 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, std::string tag) + topspeed_state(const machine_config &mconfig, device_type type, const char *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 969667fb3c3..7669fecd778 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, std::string tag) + toypop_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/tp84.h b/src/mame/includes/tp84.h index 60ce0a8a7a8..282f8287290 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, std::string tag) + tp84_state(const machine_config &mconfig, device_type type, const char *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 c11de6b25db..bac83ad0c3e 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, std::string tag) + trackfld_state(const machine_config &mconfig, device_type type, const char *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 72057146a90..58f36622450 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, std::string tag) + travrusa_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/triplhnt.h b/src/mame/includes/triplhnt.h index 8f0dfee3004..9d145c591a9 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, std::string tag) + triplhnt_state(const machine_config &mconfig, device_type type, const char *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 d43e2a01f3b..d6868eb2fca 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, std::string tag) + trs80_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_centronics(*this, "centronics"), diff --git a/src/mame/includes/trs80m2.h b/src/mame/includes/trs80m2.h index 1bfbbc82047..305fd2bab49 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, std::string tag) + trs80m2_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + trs80m16_state(const machine_config &mconfig, device_type type, const char *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 cce6429cb87..c79319efbb9 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, std::string tag) + truco_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), diff --git a/src/mame/includes/trucocl.h b/src/mame/includes/trucocl.h index 81b51471923..f851f627130 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, std::string tag) + trucocl_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_colorram(*this, "colorram"), diff --git a/src/mame/includes/tryout.h b/src/mame/includes/tryout.h index e5ee84df31d..e2ef35ded3e 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, std::string tag) + tryout_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/tsamurai.h b/src/mame/includes/tsamurai.h index db646323640..2db05642d68 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, std::string tag) + tsamurai_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/tsispch.h b/src/mame/includes/tsispch.h index 35f1a7b94b6..797eca02687 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, std::string tag) + tsispch_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dsp(*this, "dsp"), diff --git a/src/mame/includes/tubep.h b/src/mame/includes/tubep.h index 4f80f077222..5e86965aac6 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, std::string tag) + tubep_state(const machine_config &mconfig, device_type type, const char *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 f8d16b7b584..a3b528310d6 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, std::string tag) + tumbleb_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_mainram(*this, "mainram"), m_spriteram(*this, "spriteram"), diff --git a/src/mame/includes/tumblep.h b/src/mame/includes/tumblep.h index 2a125dddd99..291fdffcbe2 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, std::string tag) + tumblep_state(const machine_config &mconfig, device_type type, const char *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 e0cdd158772..5ac558adead 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, std::string tag) + tunhunt_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/turbo.h b/src/mame/includes/turbo.h index 921fd9e6d70..e2d0ea2ab2d 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, std::string tag) + turbo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "subcpu"), diff --git a/src/mame/includes/turrett.h b/src/mame/includes/turrett.h index 1ff3486f482..f883913f695 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, std::string tag) + turrett_state(const machine_config &mconfig, device_type type, const char *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, std::string tag, device_t *owner, UINT32 clock); + turrett_device(const machine_config &mconfig, const char *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 6540178d98d..b5748db47b0 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, std::string tag) + tutankhm_state(const machine_config &mconfig, device_type type, const char *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 077b49b61d5..1a3bc02fd73 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, std::string tag) + twin16_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + fround_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + cuebrickj_state(const machine_config &mconfig, device_type type, const char *tag) : twin16_state(mconfig, type, tag) {} diff --git a/src/mame/includes/twincobr.h b/src/mame/includes/twincobr.h index c0ad03da365..6f6c603af24 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, std::string tag) + twincobr_state(const machine_config &mconfig, device_type type, const char *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 2ed82d147d8..8b96e52ff65 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, std::string tag) + tx0_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/tx1.h b/src/mame/includes/tx1.h index e4b6c70c96c..68f9a37739d 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, std::string tag) + tx1_state(const machine_config &mconfig, device_type type, const char *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, 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(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() {} 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, std::string tag, device_t *owner, UINT32 clock); + buggyboy_sound_device(const machine_config &mconfig, const char *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 285bc486593..9e6e2853275 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, std::string tag) + ultraman_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/ultratnk.h b/src/mame/includes/ultratnk.h index 203fa7e07a4..09bc0408fdd 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, std::string tag) + ultratnk_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_videoram(*this, "videoram"), m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/undrfire.h b/src/mame/includes/undrfire.h index a22b49e94d9..b2cf973f6b2 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, std::string tag) + undrfire_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/unico.h b/src/mame/includes/unico.h index 0a988d4ea75..26ac4e35f26 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, std::string tag) + unico_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_oki(*this, "oki"), diff --git a/src/mame/includes/usgames.h b/src/mame/includes/usgames.h index 4514519bace..1de018636cc 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, std::string tag) + usgames_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/ut88.h b/src/mame/includes/ut88.h index e0b6374e18c..a394965f096 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, std::string tag) + ut88_state(const machine_config &mconfig, device_type type, const char *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 6151b2eca69..deecd9cf61b 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, std::string tag) + v1050_state(const machine_config &mconfig, device_type type, const char *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 8894c49502d..3ea7e4568db 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, std::string tag) + vaportra_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/vastar.h b/src/mame/includes/vastar.h index e0bdc234185..b12600180b6 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, std::string tag) + vastar_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/vball.h b/src/mame/includes/vball.h index 1a924055232..ad1c41d9a07 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, std::string tag) + vball_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/vc4000.h b/src/mame/includes/vc4000.h index 27d83802c7b..ca19737872f 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, std::string tag) + vc4000_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_screen(*this, "screen"), diff --git a/src/mame/includes/vcs80.h b/src/mame/includes/vcs80.h index d54ed82b82a..19cd0b18c7a 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, std::string tag) + vcs80_state(const machine_config &mconfig, device_type type, const char *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 23d0f0fadc8..e6bf99fa7da 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, std::string tag) + vector06_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_cassette(*this, "cassette"), diff --git a/src/mame/includes/vectrex.h b/src/mame/includes/vectrex.h index 838406c93eb..a79b893a996 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, std::string tag) + vectrex_state(const machine_config &mconfig, device_type type, const char *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 9374808b23d..f32c7cc9f61 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, std::string tag) + vendetta_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/vertigo.h b/src/mame/includes/vertigo.h index bea0725dbd1..25d88a6ce72 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, std::string tag) + vertigo_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/vic10.h b/src/mame/includes/vic10.h index 17d48040300..efcaeeaded0 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, std::string tag) + vic10_state(const machine_config &mconfig, device_type type, const char *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 9cb800557ea..f90108165aa 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, std::string tag) + vic20_state(const machine_config &mconfig, device_type type, const char *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 78a937da480..c0ae21c289a 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, std::string tag) + vicdual_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this,"maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/victor9k.h b/src/mame/includes/victor9k.h index 2f0f4f62745..c37b5a78d70 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, std::string tag) : + victor9k_state(const machine_config &mconfig, device_type type, const char *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 006a9d08ea4..499432ec87f 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, std::string tag) + victory_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_screen(*this, "screen"), diff --git a/src/mame/includes/vidbrain.h b/src/mame/includes/vidbrain.h index bd4abc362d2..cb3905ff674 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, std::string tag) + vidbrain_state(const machine_config &mconfig, device_type type, const char *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 b5ce3f448f1..93831beddad 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, std::string tag) + videopin_state(const machine_config &mconfig, device_type type, const char *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 74af1295f7b..a83bea427eb 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, std::string tag) + vigilant_state(const machine_config &mconfig, device_type type, const char *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 23ee6702e81..1a12da72cce 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, std::string tag) + vindictr_state(const machine_config &mconfig, device_type type, const char *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 74a6b27db1b..eed5c690285 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, std::string tag) + vip_state(const machine_config &mconfig, device_type type, const char *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 e7bc78c58fc..0091d3ee9d8 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, std::string tag) + vixen_state(const machine_config &mconfig, device_type type, const char *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 7fac0492e5e..b809e001d8c 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, std::string tag) + volfied_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/vsnes.h b/src/mame/includes/vsnes.h index 305ae626ce2..064919f66ff 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, std::string tag) + vsnes_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/vtech2.h b/src/mame/includes/vtech2.h index a36751c650a..abec6288158 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, std::string tag) + vtech2_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_speaker(*this, "speaker"), diff --git a/src/mame/includes/vulgus.h b/src/mame/includes/vulgus.h index 6b2731a34d8..a6152923ec7 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, std::string tag) + vulgus_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/wangpc.h b/src/mame/includes/wangpc.h index 2f872285eee..05278e32671 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, std::string tag) : + wangpc_state(const machine_config &mconfig, device_type type, const char *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 7e2e184173d..62e8cde7937 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, std::string tag) + warpwarp_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/warriorb.h b/src/mame/includes/warriorb.h index 8fa1f057900..aedbd75704b 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, std::string tag) + warriorb_state(const machine_config &mconfig, device_type type, const char *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 03ac90ee525..46944d5da83 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, std::string tag) + wc90_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/wc90b.h b/src/mame/includes/wc90b.h index 9bb6b04a6e4..c4c81289a3a 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, std::string tag) + wc90b_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/wecleman.h b/src/mame/includes/wecleman.h index 792a7c4d35f..80acb529dcb 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, std::string tag) + wecleman_state(const machine_config &mconfig, device_type type, const char *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 6558f158157..cedd5ab7385 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, std::string tag) + welltris_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/wgp.h b/src/mame/includes/wgp.h index c2a026eb945..d5298b6eaac 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, std::string tag) + wgp_state(const machine_config &mconfig, device_type type, const char *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 520de63c651..ad211654cd6 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, std::string tag) + williams_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + blaster_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + williams2_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + joust2_state(const machine_config &mconfig, device_type type, const char *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 bd5e679b233..59cabdcf27d 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, std::string tag) + wiping_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/wiz.h b/src/mame/includes/wiz.h index 75297a39453..d4cb1f39f36 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, std::string tag) + wiz_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/wolfpack.h b/src/mame/includes/wolfpack.h index 6dba675e732..012fd47d9b0 100644 --- a/src/mame/includes/wolfpack.h +++ b/src/mame/includes/wolfpack.h @@ -16,7 +16,7 @@ public: TIMER_PERIODIC }; - wolfpack_state(const machine_config &mconfig, device_type type, std::string tag) + wolfpack_state(const machine_config &mconfig, device_type type, const char *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 f4002879e96..27cf5cfc588 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, std::string tag) + wpc_dot_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + wpc_flip1_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + wpc_flip2_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + wpc_dcs_state(const machine_config &mconfig, device_type type, const char *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 0099494f29a..641ec7c4b11 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, std::string tag) + wrally_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/wswan.h b/src/mame/includes/wswan.h index c83c7ad8bc1..5cdc8336f04 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, std::string tag) + wswan_state(const machine_config &mconfig, device_type type, const char *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 b8bb6ead7b3..70fdd5dfab3 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, std::string tag) + wwfsstar_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/x07.h b/src/mame/includes/x07.h index c081fdc6d51..acea6f55260 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 { - std::string tag; //input port tag + const char *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, std::string tag) + x07_state(const machine_config &mconfig, device_type type, const char *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 1453a6fb4fe..eb8d63182cd 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, std::string tag, device_t *owner, UINT32 clock); + x1_keyboard_device(const machine_config &mconfig, const char *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, std::string tag) + x1_state(const machine_config &mconfig, device_type type, const char *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 b80dfa5d88a..f1aee48d2f0 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, std::string tag) + x68k_state(const machine_config &mconfig, device_type type, const char *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 4bfda55531a..ad7c14cfdb9 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, std::string tag) + xain_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/xbox.h b/src/mame/includes/xbox.h index 30e2d41e3e1..ea4db5c7db4 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, std::string tag) : + xbox_base_state(const machine_config &mconfig, device_type type, const char *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 90e3ec79a60..cbac30d79da 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, std::string tag) : + xerox820_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) + bigboard_state(const machine_config &mconfig, device_type type, const char *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, std::string tag) : + xerox820ii_state(const machine_config &mconfig, device_type type, const char *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 588a863d4c7..9cf2b53ae37 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, std::string tag) + xexex_state(const machine_config &mconfig, device_type type, const char *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 f285eed9bde..d7bdceb6a65 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, std::string tag) + xmen_state(const machine_config &mconfig, device_type type, const char *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 384d312d1e4..8229a479044 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, std::string tag) + xor100_state(const machine_config &mconfig, device_type type, const char *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 75a6b53030f..bccde997aeb 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, std::string tag) + xorworld_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_eeprom(*this, "eeprom"), diff --git a/src/mame/includes/xxmissio.h b/src/mame/includes/xxmissio.h index 60a6298cba3..0ef1763792e 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, std::string tag) + xxmissio_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_subcpu(*this, "sub"), diff --git a/src/mame/includes/xybots.h b/src/mame/includes/xybots.h index c7f2cb27106..7a039c8805d 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, std::string tag) + xybots_state(const machine_config &mconfig, device_type type, const char *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 35bd02f89ba..8fd3aa576c1 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, std::string tag) + xyonix_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/includes/yiear.h b/src/mame/includes/yiear.h index 8ec25e449e6..1c495709603 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, std::string tag) + yiear_state(const machine_config &mconfig, device_type type, const char *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 d6497417ad1..0e21a85b962 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, std::string tag) + yunsun16_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/yunsung8.h b/src/mame/includes/yunsung8.h index f45698d4e35..9fb440e8d9a 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, std::string tag) + yunsung8_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_audiocpu(*this, "audiocpu") , m_maincpu(*this, "maincpu"), diff --git a/src/mame/includes/z80ne.h b/src/mame/includes/z80ne.h index 7ba2d826ece..b6d77971981 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, std::string tag) + z80ne_state(const machine_config &mconfig, device_type type, const char *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 20d3942eaaa..7ce8cbd7e75 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, std::string tag) + z88_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/includes/zac2650.h b/src/mame/includes/zac2650.h index 74152c79a21..e4d91c83f90 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, std::string tag) + zac2650_state(const machine_config &mconfig, device_type type, const char *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 c35151091a6..8371e6b6fb0 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, std::string tag) + zaccaria_state(const machine_config &mconfig, device_type type, const char *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 c7f34e6ea75..e5942968e44 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, std::string tag) + zaxxon_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_samples(*this, "samples"), diff --git a/src/mame/includes/zerozone.h b/src/mame/includes/zerozone.h index a0686927722..b6f51039a7f 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, std::string tag) + zerozone_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/zodiack.h b/src/mame/includes/zodiack.h index 4675c99dc48..2497ecb3651 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, std::string tag) + zodiack_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/includes/zx.h b/src/mame/includes/zx.h index 52d48a0858c..20ccaa5d1c6 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, std::string tag) + zx_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_ram(*this, RAM_TAG), diff --git a/src/mame/machine/315-5838_317-0229_comp.cpp b/src/mame/machine/315-5838_317-0229_comp.cpp index 5f19de4fd55..cfd38aa7c88 100644 --- a/src/mame/machine/315-5838_317-0229_comp.cpp +++ b/src/mame/machine/315-5838_317-0229_comp.cpp @@ -40,7 +40,7 @@ extern const device_type SEGA315_5838_COMP = &device_creator; -sega_315_5881_crypt_device::sega_315_5881_crypt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sega_315_5881_crypt_device::sega_315_5881_crypt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SEGA315_5881_CRYPT, "Sega 315-5881 Encryption", tag, owner, clock, "sega315_5881", __FILE__) { } @@ -52,7 +52,7 @@ void sega_315_5881_crypt_device::device_start() key = strtoll(skey.c_str(), nullptr, 16); else { - logerror("%s: Warning: key not provided\n", tag().c_str()); + logerror("%s: Warning: key not provided\n", tag()); key = 0; } } diff --git a/src/mame/machine/315-5881_crypt.h b/src/mame/machine/315-5881_crypt.h index d91ee802def..8c8c4739af1 100644 --- a/src/mame/machine/315-5881_crypt.h +++ b/src/mame/machine/315-5881_crypt.h @@ -18,7 +18,7 @@ class sega_315_5881_crypt_device : public device_t { public: // construction/destruction - sega_315_5881_crypt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sega_315_5881_crypt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); UINT16 do_decrypt(UINT8 *&base); diff --git a/src/mame/machine/315_5296.cpp b/src/mame/machine/315_5296.cpp index 6588c2c17e9..34aa0da1d22 100644 --- a/src/mame/machine/315_5296.cpp +++ b/src/mame/machine/315_5296.cpp @@ -31,7 +31,7 @@ const device_type SEGA_315_5296 = &device_creator; // sega_315_5296_device - constructor //------------------------------------------------- -sega_315_5296_device::sega_315_5296_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sega_315_5296_device::sega_315_5296_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SEGA_315_5296, "Sega 315-5296 I/O", tag, owner, clock, "315_5296", __FILE__), m_in_pa_cb(*this), m_in_pb_cb(*this), diff --git a/src/mame/machine/315_5296.h b/src/mame/machine/315_5296.h index 2dacf1122c4..b28b465b573 100644 --- a/src/mame/machine/315_5296.h +++ b/src/mame/machine/315_5296.h @@ -72,7 +72,7 @@ class sega_315_5296_device : public device_t { public: - sega_315_5296_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sega_315_5296_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration helpers template static devcb_base &set_in_pa_callback(device_t &device, _Object object) { return downcast(device).m_in_pa_cb.set_callback(object); } diff --git a/src/mame/machine/6883sam.cpp b/src/mame/machine/6883sam.cpp index b6e92371182..c3ce94e0fc6 100644 --- a/src/mame/machine/6883sam.cpp +++ b/src/mame/machine/6883sam.cpp @@ -70,8 +70,9 @@ const device_type SAM6883 = &device_creator; // ctor //------------------------------------------------- -sam6883_device::sam6883_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sam6883_device::sam6883_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SAM6883, "SAM6883", tag, owner, clock, "sam6883", __FILE__), + m_cpu_tag(nullptr), m_cpu_space_ref(AS_PROGRAM), m_read_res(*this), m_space_0000(*this), diff --git a/src/mame/machine/6883sam.h b/src/mame/machine/6883sam.h index f29b24b73b2..c0089c2bcb3 100644 --- a/src/mame/machine/6883sam.h +++ b/src/mame/machine/6883sam.h @@ -87,11 +87,11 @@ protected: class sam6883_device : public device_t, public sam6883_friend_device { public: - sam6883_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sam6883_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_res_rd_callback(device_t &device, _Object object) { return downcast(device).m_read_res.set_callback(object); } - static void configure_cpu(device_t &device, std::string tag, address_spacenum space) + static void configure_cpu(device_t &device, const char *tag, address_spacenum space) { sam6883_device &dev = downcast(device); dev.m_cpu_tag = tag; @@ -169,7 +169,7 @@ private: void point_specific_bank(const sam_bank *bank, UINT16 offset, UINT16 mask, memory_bank *&memory_bank, INT32 addrstart, INT32 addrend, bool is_write); }; - std::string m_cpu_tag; + const char * m_cpu_tag; address_spacenum m_cpu_space_ref; // incidentals diff --git a/src/mame/machine/abc1600mac.cpp b/src/mame/machine/abc1600mac.cpp index cd6ca08ec59..07cc653fc2e 100644 --- a/src/mame/machine/abc1600mac.cpp +++ b/src/mame/machine/abc1600mac.cpp @@ -105,7 +105,7 @@ const rom_entry *abc1600_mac_device::device_rom_region() const // abc1600_mac_device - constructor //------------------------------------------------- -abc1600_mac_device::abc1600_mac_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +abc1600_mac_device::abc1600_mac_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ABC1600_MAC, "ABC 1600 MAC", tag, owner, clock, "abc1600mac", __FILE__), device_memory_interface(mconfig, *this), m_space_config("program", ENDIANNESS_LITTLE, 8, 22, 0, *ADDRESS_MAP_NAME(program_map)), diff --git a/src/mame/machine/abc1600mac.h b/src/mame/machine/abc1600mac.h index 089f44d019e..2489d8744d9 100644 --- a/src/mame/machine/abc1600mac.h +++ b/src/mame/machine/abc1600mac.h @@ -45,7 +45,7 @@ class abc1600_mac_device : public device_t, public device_memory_interface { public: - abc1600_mac_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + abc1600_mac_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual const rom_entry *device_rom_region() const override; diff --git a/src/mame/machine/abc80kb.cpp b/src/mame/machine/abc80kb.cpp index 4c48edb2fa1..dd9471f5ee4 100644 --- a/src/mame/machine/abc80kb.cpp +++ b/src/mame/machine/abc80kb.cpp @@ -167,7 +167,7 @@ ioport_constructor abc80_keyboard_device::device_input_ports() const // abc80_keyboard_device - constructor //------------------------------------------------- -abc80_keyboard_device::abc80_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +abc80_keyboard_device::abc80_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ABC80_KEYBOARD, "ABC-80 Keyboard", tag, owner, clock, "abc80kb", __FILE__), m_write_keydown(*this), m_maincpu(*this, I8048_TAG) diff --git a/src/mame/machine/abc80kb.h b/src/mame/machine/abc80kb.h index a884f5a9987..7de08733a35 100644 --- a/src/mame/machine/abc80kb.h +++ b/src/mame/machine/abc80kb.h @@ -43,7 +43,7 @@ class abc80_keyboard_device : public device_t { public: // construction/destruction - abc80_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + abc80_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_keydown_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_keydown.set_callback(object); } diff --git a/src/mame/machine/alpha8201.cpp b/src/mame/machine/alpha8201.cpp index f510355d321..88813b1be9f 100644 --- a/src/mame/machine/alpha8201.cpp +++ b/src/mame/machine/alpha8201.cpp @@ -282,7 +282,7 @@ const device_type ALPHA_8201 = &device_creator; // alpha_8201_device - constructor //------------------------------------------------- -alpha_8201_device::alpha_8201_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +alpha_8201_device::alpha_8201_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ALPHA_8201, "ALPHA-8201", tag, owner, clock, "alpha8201", __FILE__), m_mcu(*this, "mcu") { @@ -369,7 +369,7 @@ READ8_MEMBER(alpha_8201_device::mcu_data_r) if (m_bus && ~m_mcu_d & 4) ret = m_shared_ram[m_mcu_address]; else - logerror("%s: MCU side invalid read\n", tag().c_str()); + logerror("%s: MCU side invalid read\n", tag()); if (offset == HMCS40_PORT_R0X) ret >>= 4; diff --git a/src/mame/machine/alpha8201.h b/src/mame/machine/alpha8201.h index 18dac686ce0..1db8eb64a3a 100644 --- a/src/mame/machine/alpha8201.h +++ b/src/mame/machine/alpha8201.h @@ -14,7 +14,7 @@ class alpha_8201_device : public device_t { public: - alpha_8201_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + alpha_8201_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~alpha_8201_device() {} DECLARE_READ8_MEMBER(mcu_data_r); diff --git a/src/mame/machine/amigakbd.cpp b/src/mame/machine/amigakbd.cpp index b0c76a69925..e760cb7de47 100644 --- a/src/mame/machine/amigakbd.cpp +++ b/src/mame/machine/amigakbd.cpp @@ -260,7 +260,7 @@ ioport_constructor amigakbd_device::device_input_ports() const // amigakbd_device - constructor //------------------------------------------------- -amigakbd_device::amigakbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +amigakbd_device::amigakbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, AMIGAKBD, "Amiga 500 Keyboard with 6570-036 MPU", tag, owner, clock, "amigakbd", __FILE__), m_write_kclk(*this), m_write_kdat(*this), diff --git a/src/mame/machine/amigakbd.h b/src/mame/machine/amigakbd.h index 09ef4835bb9..ae7f7f633cb 100644 --- a/src/mame/machine/amigakbd.h +++ b/src/mame/machine/amigakbd.h @@ -42,7 +42,7 @@ class amigakbd_device : public device_t { public: // construction/destruction - amigakbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + amigakbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_kclk_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_kclk.set_callback(object); } diff --git a/src/mame/machine/amstrad.cpp b/src/mame/machine/amstrad.cpp index 7db2f7aef59..3e89d234271 100644 --- a/src/mame/machine/amstrad.cpp +++ b/src/mame/machine/amstrad.cpp @@ -1101,7 +1101,7 @@ UINT32 amstrad_state::screen_update_amstrad(screen_device &screen, bitmap_ind16 /* traverses the daisy-chain of expansion devices, looking for the specified device */ -static device_t* get_expansion_device(running_machine &machine, std::string tag) +static device_t* get_expansion_device(running_machine &machine, const char* tag) { amstrad_state *state = machine.driver_data(); cpc_expansion_slot_device* exp_port = state->m_exp; diff --git a/src/mame/machine/apollo.cpp b/src/mame/machine/apollo.cpp index b7dd555b6bd..68e6e53b75c 100644 --- a/src/mame/machine/apollo.cpp +++ b/src/mame/machine/apollo.cpp @@ -127,7 +127,7 @@ INPUT_PORTS_END class apollo_config_device : public device_t { public: - apollo_config_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + apollo_config_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: // device-level overrides virtual void device_config_complete() override; @@ -141,7 +141,7 @@ extern const device_type APOLLO_CONF; const device_type APOLLO_CONF = &device_creator; -apollo_config_device::apollo_config_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +apollo_config_device::apollo_config_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, APOLLO_CONF, "Apollo Configuration", tag, owner, clock, "apollo_config", __FILE__) { } @@ -724,7 +724,7 @@ TIMER_CALLBACK_MEMBER( apollo_state::apollo_rtc_timer ) #undef VERBOSE #define VERBOSE 0 -apollo_sio::apollo_sio(const machine_config &mconfig, std::string tag, +apollo_sio::apollo_sio(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : mc68681_device(mconfig, tag, owner, clock), m_csrb(0), @@ -880,7 +880,7 @@ const device_type APOLLO_NI = &device_creator ; // apollo_ni - constructor //------------------------------------------------- -apollo_ni::apollo_ni(const machine_config &mconfig, std::string tag, +apollo_ni::apollo_ni(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, APOLLO_NI, "Node ID", tag, owner, clock, "node_id", __FILE__), device_image_interface(mconfig, *this) @@ -1288,7 +1288,7 @@ const device_type APOLLO_STDIO = &device_creator ; //------------------------------------------------- apollo_stdio_device::apollo_stdio_device(const machine_config &mconfig, - std::string tag, device_t *owner, UINT32 clock) : + const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, APOLLO_STDIO, "Apollo STDIO", tag, owner, clock, "apollo_stdio", __FILE__), device_serial_interface(mconfig, *this), m_tx_w(*this) diff --git a/src/mame/machine/apollo_kbd.cpp b/src/mame/machine/apollo_kbd.cpp index dfbd46300c5..b6cbef1d429 100644 --- a/src/mame/machine/apollo_kbd.cpp +++ b/src/mame/machine/apollo_kbd.cpp @@ -61,7 +61,7 @@ const device_type APOLLO_KBD = &device_creator; // apollo_kbd_device - constructor //------------------------------------------------- -apollo_kbd_device::apollo_kbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +apollo_kbd_device::apollo_kbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, APOLLO_KBD, "Apollo Keyboard", tag, owner, clock, "apollo_kbd", __FILE__), device_serial_interface(mconfig, *this), m_tx_w(*this), @@ -148,8 +148,8 @@ const char *apollo_kbd_device::cpu_context() /* if we have an executing CPU, output data */ if (cpu != nullptr) { - sprintf(statebuf, "%d.%03d %s pc=%08x - %s", s, ms, cpu->tag().c_str(), - cpu->safe_pcbase(), tag().c_str()); + sprintf(statebuf, "%d.%03d %s pc=%08x - %s", s, ms, cpu->tag(), + cpu->safe_pcbase(), tag()); } else { diff --git a/src/mame/machine/apollo_kbd.h b/src/mame/machine/apollo_kbd.h index 16ad535c2aa..4b5cc91a9af 100644 --- a/src/mame/machine/apollo_kbd.h +++ b/src/mame/machine/apollo_kbd.h @@ -47,7 +47,7 @@ class apollo_kbd_device : public device_t, public device_serial_interface { public: // construction/destruction - apollo_kbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + apollo_kbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_tx_cb(device_t &device, _Object object) { return downcast(device).m_tx_w.set_callback(object); } template static devcb_base &set_german_cb(device_t &device, _Object object) { return downcast(device).m_german_r.set_callback(object); } diff --git a/src/mame/machine/appldriv.cpp b/src/mame/machine/appldriv.cpp index a5a574a7e36..139da446140 100644 --- a/src/mame/machine/appldriv.cpp +++ b/src/mame/machine/appldriv.cpp @@ -297,7 +297,7 @@ const device_type FLOPPY_APPLE = &device_creator; // apple525_floppy_image_device - constructor //------------------------------------------------- -apple525_floppy_image_device::apple525_floppy_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +apple525_floppy_image_device::apple525_floppy_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : legacy_floppy_image_device(mconfig, FLOPPY_APPLE, "Apple Disk II", tag, owner, clock, "floppy_apple", __FILE__) { } diff --git a/src/mame/machine/appldriv.h b/src/mame/machine/appldriv.h index 73da8d85af2..4ab7ea18479 100644 --- a/src/mame/machine/appldriv.h +++ b/src/mame/machine/appldriv.h @@ -27,7 +27,7 @@ class apple525_floppy_image_device : public legacy_floppy_image_device { public: // construction/destruction - apple525_floppy_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + apple525_floppy_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual bool call_load() override; virtual void call_unload() override; diff --git a/src/mame/machine/applefdc.cpp b/src/mame/machine/applefdc.cpp index 399a951ea25..014546b0f85 100644 --- a/src/mame/machine/applefdc.cpp +++ b/src/mame/machine/applefdc.cpp @@ -105,7 +105,7 @@ enum // ctor //------------------------------------------------- -applefdc_base_device::applefdc_base_device(applefdc_base_device::applefdc_t fdc_type, const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +applefdc_base_device::applefdc_base_device(applefdc_base_device::applefdc_t fdc_type, const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source) { m_type = fdc_type; @@ -567,7 +567,7 @@ UINT8 applefdc_base_device::get_lines() const device_type APPLEFDC = &device_creator; -applefdc_device::applefdc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +applefdc_device::applefdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : applefdc_base_device(APPLEFDC_APPLE2, mconfig, APPLEFDC, "Apple FDC", tag, owner, clock, "apple_fdc", __FILE__) { } @@ -580,7 +580,7 @@ applefdc_device::applefdc_device(const machine_config &mconfig, std::string tag, const device_type IWM = &device_creator; -iwm_device::iwm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +iwm_device::iwm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : applefdc_base_device(APPLEFDC_IWM, mconfig, IWM, "Apple IWM (Integrated Woz Machine)", tag, owner, clock, "iwm", __FILE__) { } diff --git a/src/mame/machine/applefdc.h b/src/mame/machine/applefdc.h index b027c904bc8..6e02ddc87b2 100644 --- a/src/mame/machine/applefdc.h +++ b/src/mame/machine/applefdc.h @@ -81,7 +81,7 @@ protected: }; // constructor - applefdc_base_device(applefdc_t fdc_type, const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + applefdc_base_device(applefdc_t fdc_type, const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); // device-level overrides virtual void device_start() override; @@ -122,7 +122,7 @@ private: class applefdc_device : public applefdc_base_device { public: - applefdc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + applefdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; @@ -134,7 +134,7 @@ public: class iwm_device : public applefdc_base_device { public: - iwm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + iwm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; diff --git a/src/mame/machine/apricotkb.cpp b/src/mame/machine/apricotkb.cpp index de72cb013bc..6ceb0d6ba4d 100644 --- a/src/mame/machine/apricotkb.cpp +++ b/src/mame/machine/apricotkb.cpp @@ -245,7 +245,7 @@ ioport_constructor apricot_keyboard_device::device_input_ports() const // apricot_keyboard_device - constructor //------------------------------------------------- -apricot_keyboard_device::apricot_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +apricot_keyboard_device::apricot_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, APRICOT_KEYBOARD, "Apricot Keyboard", tag, owner, clock, "aprikb", __FILE__), m_write_txd(*this), m_y0(*this, "Y0"), diff --git a/src/mame/machine/apricotkb.h b/src/mame/machine/apricotkb.h index 23ceba403ec..01f5a7f451f 100644 --- a/src/mame/machine/apricotkb.h +++ b/src/mame/machine/apricotkb.h @@ -42,7 +42,7 @@ class apricot_keyboard_device : public device_t { public: // construction/destruction - apricot_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + apricot_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_txd_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_txd.set_callback(object); } diff --git a/src/mame/machine/apricotkb_hle.cpp b/src/mame/machine/apricotkb_hle.cpp index 691fed14007..7bf5531454c 100644 --- a/src/mame/machine/apricotkb_hle.cpp +++ b/src/mame/machine/apricotkb_hle.cpp @@ -188,7 +188,7 @@ ioport_constructor apricot_keyboard_hle_device::device_input_ports() const // apricot_keyboard_hle_device - constructor //------------------------------------------------- -apricot_keyboard_hle_device::apricot_keyboard_hle_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +apricot_keyboard_hle_device::apricot_keyboard_hle_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, APRICOT_KEYBOARD_HLE, "Apricot Keyboard (HLE)", tag, owner, clock, "apricotkb_hle", __FILE__), device_serial_interface(mconfig, *this), m_txd_handler(*this), diff --git a/src/mame/machine/apricotkb_hle.h b/src/mame/machine/apricotkb_hle.h index 841dba516e8..5a5189c9247 100644 --- a/src/mame/machine/apricotkb_hle.h +++ b/src/mame/machine/apricotkb_hle.h @@ -34,7 +34,7 @@ class apricot_keyboard_hle_device : public device_t, public device_serial_interf { public: // construction/destruction - apricot_keyboard_hle_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + apricot_keyboard_hle_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_txd_handler(device_t &device, _Object object) { return downcast(device).m_txd_handler.set_callback(object); } diff --git a/src/mame/machine/arkanoid.cpp b/src/mame/machine/arkanoid.cpp index 217d96b6e74..323c183cb90 100644 --- a/src/mame/machine/arkanoid.cpp +++ b/src/mame/machine/arkanoid.cpp @@ -223,8 +223,8 @@ CUSTOM_INPUT_MEMBER(arkanoid_state::arkanoid_68705_input_r) CUSTOM_INPUT_MEMBER(arkanoid_state::arkanoid_input_mux) { - const char * tag1 = (const char *)param; - const char * tag2 = tag1 + strlen(tag1) + 1; + const char *tag1 = (const char *)param; + const char *tag2 = tag1 + strlen(tag1) + 1; return ioport((m_paddle_select == 0) ? tag1 : tag2)->read(); } diff --git a/src/mame/machine/asic65.cpp b/src/mame/machine/asic65.cpp index 391ee6a462d..3ad34f5e32a 100644 --- a/src/mame/machine/asic65.cpp +++ b/src/mame/machine/asic65.cpp @@ -84,7 +84,7 @@ static const UINT8 command_map[3][MAX_COMMANDS] = const device_type ASIC65 = &device_creator; -asic65_device::asic65_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +asic65_device::asic65_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ASIC65, "Atari ASIC65", tag, owner, clock, "asic65", __FILE__), m_asic65_type(0), m_command(0), diff --git a/src/mame/machine/asic65.h b/src/mame/machine/asic65.h index 78a5944e7c5..c5f094461a2 100644 --- a/src/mame/machine/asic65.h +++ b/src/mame/machine/asic65.h @@ -18,7 +18,7 @@ class asic65_device : public device_t { public: - asic65_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + asic65_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // (static) configuration helpers static void set_type(device_t &device, int type) { downcast(device).m_asic65_type = type; } diff --git a/src/mame/machine/atari_vg.cpp b/src/mame/machine/atari_vg.cpp index 6eec0d6a87c..c7d8d514817 100644 --- a/src/mame/machine/atari_vg.cpp +++ b/src/mame/machine/atari_vg.cpp @@ -41,7 +41,7 @@ const device_type ATARIVGEAROM = &device_creator; // atari_vg_earom_device - constructor //------------------------------------------------- -atari_vg_earom_device::atari_vg_earom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +atari_vg_earom_device::atari_vg_earom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ATARIVGEAROM, "Atari VG EAROM", tag, owner, clock, "atari_vg_earom", __FILE__), device_nvram_interface(mconfig, *this) { diff --git a/src/mame/machine/atari_vg.h b/src/mame/machine/atari_vg.h index c1a3e90e160..3d7aba7b440 100644 --- a/src/mame/machine/atari_vg.h +++ b/src/mame/machine/atari_vg.h @@ -26,7 +26,7 @@ class atari_vg_earom_device : public device_t, { public: // construction/destruction - atari_vg_earom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + atari_vg_earom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: // device-level overrides virtual void device_start() override; diff --git a/src/mame/machine/atarifdc.cpp b/src/mame/machine/atarifdc.cpp index 246db4a4d43..13505910f30 100644 --- a/src/mame/machine/atarifdc.cpp +++ b/src/mame/machine/atarifdc.cpp @@ -754,7 +754,7 @@ legacy_floppy_image_device *atari_fdc_device::atari_floppy_get_device_child(int const device_type ATARI_FDC = &device_creator; -atari_fdc_device::atari_fdc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +atari_fdc_device::atari_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ATARI_FDC, "Atari FDC", tag, owner, clock, "atari_fdc", __FILE__), m_serout_count(0), m_serout_offs(0), diff --git a/src/mame/machine/atarifdc.h b/src/mame/machine/atarifdc.h index 14ac20eaa1d..4c41c7b745a 100644 --- a/src/mame/machine/atarifdc.h +++ b/src/mame/machine/atarifdc.h @@ -13,7 +13,7 @@ class atari_fdc_device : public device_t { public: - atari_fdc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + atari_fdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_READ8_MEMBER( serin_r ); DECLARE_WRITE8_MEMBER( serout_w ); diff --git a/src/mame/machine/atarigen.cpp b/src/mame/machine/atarigen.cpp index 653f88b2f82..05127cb1edd 100644 --- a/src/mame/machine/atarigen.cpp +++ b/src/mame/machine/atarigen.cpp @@ -43,7 +43,7 @@ inline const atarigen_screen_timer *get_screen_timer(screen_device &screen) if (state->m_screen_timer[i].screen == &screen) return &state->m_screen_timer[i]; - fatalerror("Unexpected: no atarivc_eof_update_timer for screen '%s'\n", screen.tag().c_str()); + fatalerror("Unexpected: no atarivc_eof_update_timer for screen '%s'\n", screen.tag()); return nullptr; } @@ -60,8 +60,9 @@ const device_type ATARI_SOUND_COMM = &device_creator; // atari_sound_comm_device - constructor //------------------------------------------------- -atari_sound_comm_device::atari_sound_comm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +atari_sound_comm_device::atari_sound_comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ATARI_SOUND_COMM, "Atari Sound Communications", tag, owner, clock, "atarscom", __FILE__), + m_sound_cpu_tag(nullptr), m_main_int_cb(*this), m_sound_cpu(nullptr), m_main_to_sound_ready(false), @@ -352,7 +353,7 @@ const device_type ATARI_VAD = &device_creator; // atari_vad_device - constructor //------------------------------------------------- -atari_vad_device::atari_vad_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +atari_vad_device::atari_vad_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ATARI_VAD, "Atari VAD", tag, owner, clock, "atarivad", __FILE__), device_video_interface(mconfig, *this), m_scanline_int_cb(*this), @@ -830,7 +831,7 @@ const device_type ATARI_EEPROM_2816 = &device_creator; // atari_eeprom_device - constructor //------------------------------------------------- -atari_eeprom_device::atari_eeprom_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file) +atari_eeprom_device::atari_eeprom_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, const char *shortname, const char *file) : device_t(mconfig, devtype, name, tag, owner, 0, shortname, file), m_eeprom(*this, "eeprom"), m_unlocked(false) @@ -897,7 +898,7 @@ void atari_eeprom_device::device_reset() // atari_eeprom_2804_device - constructor //------------------------------------------------- -atari_eeprom_2804_device::atari_eeprom_2804_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +atari_eeprom_2804_device::atari_eeprom_2804_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : atari_eeprom_device(mconfig, ATARI_EEPROM_2804, "Atari EEPROM Interface (2804)", tag, owner, "atari2804", __FILE__) { } @@ -922,7 +923,7 @@ machine_config_constructor atari_eeprom_2804_device::device_mconfig_additions() // atari_eeprom_2816_device - constructor //------------------------------------------------- -atari_eeprom_2816_device::atari_eeprom_2816_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +atari_eeprom_2816_device::atari_eeprom_2816_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : atari_eeprom_device(mconfig, ATARI_EEPROM_2816, "Atari EEPROM Interface (2816)", tag, owner, "atari2816", __FILE__) { } @@ -948,7 +949,7 @@ machine_config_constructor atari_eeprom_2816_device::device_mconfig_additions() OVERALL INIT ***************************************************************************/ -atarigen_state::atarigen_state(const machine_config &mconfig, device_type type, std::string tag) +atarigen_state::atarigen_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_earom(*this, "earom"), m_earom_data(0), diff --git a/src/mame/machine/atarigen.h b/src/mame/machine/atarigen.h index 072d0a8f925..5010057ca00 100644 --- a/src/mame/machine/atarigen.h +++ b/src/mame/machine/atarigen.h @@ -111,7 +111,7 @@ class atari_sound_comm_device : public device_t { public: // construction/destruction - atari_sound_comm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + atari_sound_comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration helpers static void static_set_sound_cpu(device_t &device, const char *cputag); @@ -184,7 +184,7 @@ class atari_vad_device : public device_t, { public: // construction/destruction - atari_vad_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + atari_vad_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration helpers template static devcb_base &static_set_scanline_int_cb(device_t &device, _Object object) { return downcast(device).m_scanline_int_cb.set_callback(object); } @@ -265,7 +265,7 @@ class atari_eeprom_device : public device_t { protected: // construction/destruction - atari_eeprom_device(const machine_config &mconfig, device_type devtype, const char *name, std::string tag, device_t *owner, const char *shortname, const char *file); + atari_eeprom_device(const machine_config &mconfig, device_type devtype, const char *name, const char *tag, device_t *owner, const char *shortname, const char *file); public: // unlock controls @@ -296,7 +296,7 @@ class atari_eeprom_2804_device : public atari_eeprom_device { public: // construction/destruction - atari_eeprom_2804_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + atari_eeprom_2804_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: // device-level overrides @@ -307,7 +307,7 @@ class atari_eeprom_2816_device : public atari_eeprom_device { public: // construction/destruction - atari_eeprom_2816_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + atari_eeprom_2816_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: // device-level overrides @@ -332,7 +332,7 @@ class atarigen_state : public driver_device { public: // construction/destruction - atarigen_state(const machine_config &mconfig, device_type type, std::string tag); + atarigen_state(const machine_config &mconfig, device_type type, const char *tag); // users must call through to these virtual void machine_start() override; diff --git a/src/mame/machine/awboard.cpp b/src/mame/machine/awboard.cpp index 29c2bd44960..2e80cb8bf04 100644 --- a/src/mame/machine/awboard.cpp +++ b/src/mame/machine/awboard.cpp @@ -164,7 +164,7 @@ DEVICE_ADDRESS_MAP_START(submap, 16, aw_rom_board) AM_RANGE(0x40, 0x41) AM_READWRITE(pio_r, pio_w) ADDRESS_MAP_END -aw_rom_board::aw_rom_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +aw_rom_board::aw_rom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : naomi_g1_device(mconfig, AW_ROM_BOARD, "Sammy Atomiswave ROM Board", tag, owner, clock, "aw_rom_board", __FILE__) { keyregion = nullptr; @@ -256,7 +256,7 @@ UINT16 aw_rom_board::decrypt(UINT16 cipherText, UINT32 address, const UINT32 key void aw_rom_board::set_key() { if(!m_region) - throw emu_fatalerror("AW-ROM-BOARD: region %s is missing\n", tag().c_str()); + throw emu_fatalerror("AW-ROM-BOARD: region %s is missing\n", tag()); if(!keyregion) return; diff --git a/src/mame/machine/awboard.h b/src/mame/machine/awboard.h index 12f1968ea60..4e531523856 100644 --- a/src/mame/machine/awboard.h +++ b/src/mame/machine/awboard.h @@ -12,7 +12,7 @@ class aw_rom_board : public naomi_g1_device { public: - aw_rom_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + aw_rom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); static void static_set_keyregion(device_t &device, const char *_keyregion); diff --git a/src/mame/machine/bbc.cpp b/src/mame/machine/bbc.cpp index 79e63346e5b..d82f4fdd827 100644 --- a/src/mame/machine/bbc.cpp +++ b/src/mame/machine/bbc.cpp @@ -1661,7 +1661,7 @@ DRIVER_INIT_MEMBER(bbc_state,bbc) void bbc_state::bbc_setup_banks(memory_bank *membank, int banks, UINT32 shift, UINT32 size) { std::string region_tag; - memory_region *tmp_reg = nullptr; + memory_region *tmp_reg; UINT8 *eprom[4]; if (m_exp1 && (tmp_reg = memregion(region_tag.assign(m_exp1->tag()).append(GENERIC_ROM_REGION_TAG).c_str()))) eprom[0] = tmp_reg->base() + shift; @@ -1695,7 +1695,7 @@ void bbc_state::bbc_setup_banks(memory_bank *membank, int banks, UINT32 shift, U void bbc_state::bbcm_setup_banks(memory_bank *membank, int banks, UINT32 shift, UINT32 size) { std::string region_tag; - memory_region *tmp_reg = nullptr; + memory_region *tmp_reg; UINT8 *eprom[2]; if (m_exp1 && (tmp_reg = memregion(region_tag.assign(m_exp1->tag()).append(GENERIC_ROM_REGION_TAG).c_str()))) eprom[0] = tmp_reg->base() + shift; diff --git a/src/mame/machine/beta.cpp b/src/mame/machine/beta.cpp index a8f787e98dd..ef9ec771805 100644 --- a/src/mame/machine/beta.cpp +++ b/src/mame/machine/beta.cpp @@ -26,7 +26,7 @@ BUGS: const device_type BETA_DISK = &device_creator; -beta_disk_device::beta_disk_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +beta_disk_device::beta_disk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, BETA_DISK, "Beta Disk Interface", tag, owner, clock, "betadisk", __FILE__) , m_betadisk_active(0) , m_wd179x(*this, "wd179x") diff --git a/src/mame/machine/beta.h b/src/mame/machine/beta.h index fcd8ddf11d8..af5b2132e14 100644 --- a/src/mame/machine/beta.h +++ b/src/mame/machine/beta.h @@ -20,7 +20,7 @@ class beta_disk_device : public device_t { public: - beta_disk_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + beta_disk_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~beta_disk_device() {} DECLARE_READ8_MEMBER(status_r); diff --git a/src/mame/machine/bfm_bd1.cpp b/src/mame/machine/bfm_bd1.cpp index e4398d66ac6..78132ae5acf 100644 --- a/src/mame/machine/bfm_bd1.cpp +++ b/src/mame/machine/bfm_bd1.cpp @@ -101,7 +101,7 @@ static const UINT16 BD1charset[]= 0x4406, // 0100 0100 0000 0110 ? }; -bfm_bd1_t::bfm_bd1_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +bfm_bd1_t::bfm_bd1_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, BFM_BD1, "BFM BD1 VFD controller", tag, owner, clock, "bfm_bd1", __FILE__), m_port_val(0) { diff --git a/src/mame/machine/bfm_bd1.h b/src/mame/machine/bfm_bd1.h index cce0eaf8289..70742e807f9 100644 --- a/src/mame/machine/bfm_bd1.h +++ b/src/mame/machine/bfm_bd1.h @@ -15,7 +15,7 @@ class bfm_bd1_t : public device_t { public: - bfm_bd1_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + bfm_bd1_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // inline configuration helpers static void static_set_value(device_t &device, int val); diff --git a/src/mame/machine/bfm_bda.cpp b/src/mame/machine/bfm_bda.cpp index a2c5ca9b931..0984bf7ecab 100644 --- a/src/mame/machine/bfm_bda.cpp +++ b/src/mame/machine/bfm_bda.cpp @@ -83,7 +83,7 @@ static const UINT16 BDAcharset[]= 0x4406, // 0100 0100 0000 0110 ? }; -bfm_bda_t::bfm_bda_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +bfm_bda_t::bfm_bda_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, BFM_BDA, "BFM BDA VFD controller", tag, owner, clock, "bfm_bda", __FILE__), m_port_val(0) { diff --git a/src/mame/machine/bfm_bda.h b/src/mame/machine/bfm_bda.h index 0b09548c60b..3570c478f81 100644 --- a/src/mame/machine/bfm_bda.h +++ b/src/mame/machine/bfm_bda.h @@ -15,7 +15,7 @@ class bfm_bda_t : public device_t { public: - bfm_bda_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + bfm_bda_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // inline configuration helpers static void static_set_value(device_t &device, int val); diff --git a/src/mame/machine/buggychl.cpp b/src/mame/machine/buggychl.cpp index a06bf0bf4ed..608189588f2 100644 --- a/src/mame/machine/buggychl.cpp +++ b/src/mame/machine/buggychl.cpp @@ -7,7 +7,7 @@ const device_type BUGGYCHL_MCU = &device_creator; -buggychl_mcu_device::buggychl_mcu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +buggychl_mcu_device::buggychl_mcu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, BUGGYCHL_MCU, "M68705 MCU Simulation (Buggy Challenge)", tag, owner, clock, "buggychl_mcu", __FILE__), m_port_a_in(0), m_port_a_out(0), diff --git a/src/mame/machine/buggychl.h b/src/mame/machine/buggychl.h index cc4855527c6..7f7a3e7c1e8 100644 --- a/src/mame/machine/buggychl.h +++ b/src/mame/machine/buggychl.h @@ -3,7 +3,7 @@ class buggychl_mcu_device : public device_t { public: - buggychl_mcu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + buggychl_mcu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~buggychl_mcu_device() {} DECLARE_WRITE8_MEMBER( buggychl_mcu_w ); diff --git a/src/mame/machine/c117.cpp b/src/mame/machine/c117.cpp index 2527789a029..018fd21689b 100644 --- a/src/mame/machine/c117.cpp +++ b/src/mame/machine/c117.cpp @@ -33,11 +33,13 @@ const device_type NAMCO_C117 = &device_creator; // namco_c117_device - constructor //------------------------------------------------- -namco_c117_device::namco_c117_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco_c117_device::namco_c117_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NAMCO_C117, "Namco C117 MMU", tag, owner, clock, "namco_c117", __FILE__), device_memory_interface(mconfig, *this), m_subres_cb(*this), - m_program_config("program", ENDIANNESS_BIG, 8, 23) + m_program_config("program", ENDIANNESS_BIG, 8, 23), + m_maincpu_tag(nullptr), + m_subcpu_tag(nullptr) { } diff --git a/src/mame/machine/c117.h b/src/mame/machine/c117.h index 396211646b0..cc1b7aefc95 100644 --- a/src/mame/machine/c117.h +++ b/src/mame/machine/c117.h @@ -28,7 +28,7 @@ class namco_c117_device : { public: //construction/destruction - namco_c117_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco_c117_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration static void set_cpu_tags(device_t &device, const char *maintag, const char *subtag); diff --git a/src/mame/machine/cat702.cpp b/src/mame/machine/cat702.cpp index c0c85f84be1..c02c4394ce1 100644 --- a/src/mame/machine/cat702.cpp +++ b/src/mame/machine/cat702.cpp @@ -88,7 +88,7 @@ const device_type CAT702 = &device_creator; -cat702_device::cat702_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +cat702_device::cat702_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, CAT702, "CAT702", tag, owner, clock, "cat702", __FILE__), m_dataout_handler(*this) { diff --git a/src/mame/machine/cat702.h b/src/mame/machine/cat702.h index d7fa867142a..4b93865239f 100644 --- a/src/mame/machine/cat702.h +++ b/src/mame/machine/cat702.h @@ -17,7 +17,7 @@ extern const device_type CAT702; class cat702_device : public device_t { public: - cat702_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + cat702_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration helpers template static devcb_base &set_dataout_handler(device_t &device, _Object object) { return downcast(device).m_dataout_handler.set_callback(object); } diff --git a/src/mame/machine/cdi070.cpp b/src/mame/machine/cdi070.cpp index f6b410914aa..4bbb0e26aa5 100644 --- a/src/mame/machine/cdi070.cpp +++ b/src/mame/machine/cdi070.cpp @@ -54,7 +54,7 @@ static inline void ATTR_PRINTF(3,4) verboselog(device_t& device, int n_level, co // cdi68070_device - constructor //------------------------------------------------- -cdi68070_device::cdi68070_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +cdi68070_device::cdi68070_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MACHINE_CDI68070, "CDI68070", tag, owner, clock, "cdi68070", __FILE__) { } diff --git a/src/mame/machine/cdi070.h b/src/mame/machine/cdi070.h index 84dd18e9cfa..7f3cff2d905 100644 --- a/src/mame/machine/cdi070.h +++ b/src/mame/machine/cdi070.h @@ -140,7 +140,7 @@ class cdi68070_device : public device_t { public: // construction/destruction - cdi68070_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + cdi68070_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // external callbacks void uart_rx(UINT8 data); diff --git a/src/mame/machine/cdicdic.cpp b/src/mame/machine/cdicdic.cpp index 69c23a67c03..bc01d5a6164 100644 --- a/src/mame/machine/cdicdic.cpp +++ b/src/mame/machine/cdicdic.cpp @@ -1161,7 +1161,7 @@ WRITE16_MEMBER( cdicdic_device::regs_w ) // cdicdic_device - constructor //------------------------------------------------- -cdicdic_device::cdicdic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +cdicdic_device::cdicdic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MACHINE_CDICDIC, "CDICDIC", tag, owner, clock, "cdicdic", __FILE__) { } diff --git a/src/mame/machine/cdicdic.h b/src/mame/machine/cdicdic.h index 4715ee6aac2..33ca053e066 100644 --- a/src/mame/machine/cdicdic.h +++ b/src/mame/machine/cdicdic.h @@ -51,7 +51,7 @@ class cdicdic_device : public device_t { public: // construction/destruction - cdicdic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + cdicdic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // non-static internal members void sample_trigger(); diff --git a/src/mame/machine/cdislave.cpp b/src/mame/machine/cdislave.cpp index 109022b53b4..fbf21c839c8 100644 --- a/src/mame/machine/cdislave.cpp +++ b/src/mame/machine/cdislave.cpp @@ -418,7 +418,7 @@ WRITE16_MEMBER( cdislave_device::slave_w ) // cdislave_device - constructor //------------------------------------------------- -cdislave_device::cdislave_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +cdislave_device::cdislave_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MACHINE_CDISLAVE, "CDISLAVE", tag, owner, clock, "cdislave", __FILE__) { } diff --git a/src/mame/machine/cdislave.h b/src/mame/machine/cdislave.h index 5ce85b36b00..4211574c018 100644 --- a/src/mame/machine/cdislave.h +++ b/src/mame/machine/cdislave.h @@ -46,7 +46,7 @@ class cdislave_device : public device_t { public: // construction/destruction - cdislave_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + cdislave_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // external callbacks DECLARE_INPUT_CHANGED_MEMBER( mouse_update ); diff --git a/src/mame/machine/coco.cpp b/src/mame/machine/coco.cpp index 5a992dd97cd..ba88b004762 100644 --- a/src/mame/machine/coco.cpp +++ b/src/mame/machine/coco.cpp @@ -79,7 +79,7 @@ DAC and bitbanger values written should be reflected in the read. // ctor //------------------------------------------------- -coco_state::coco_state(const machine_config &mconfig, device_type type, std::string tag) +coco_state::coco_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, MAINCPU_TAG), m_pia_0(*this, PIA0_TAG), diff --git a/src/mame/machine/coco3.cpp b/src/mame/machine/coco3.cpp index d86d7665cff..40624853dec 100644 --- a/src/mame/machine/coco3.cpp +++ b/src/mame/machine/coco3.cpp @@ -149,19 +149,19 @@ void coco3_state::update_cart_base(UINT8 *cart_base) UINT32 coco3_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { bool result; - if (screen.tag() == ":" COMPOSITE_SCREEN_TAG) + if (!strcmp(screen.tag(), ":" COMPOSITE_SCREEN_TAG)) { /* composite screen */ result = m_gime->update_composite(bitmap, cliprect); } - else if (screen.tag() == ":" RGB_SCREEN_TAG) + else if (!strcmp(screen.tag(), ":" RGB_SCREEN_TAG)) { /* rgb screen */ result = m_gime->update_rgb(bitmap, cliprect); } else { - fatalerror("Called screen_update() with invalid tag '%s'\n", screen.tag().c_str()); + fatalerror("Called screen_update() with invalid tag '%s'\n", screen.tag()); } return result; } diff --git a/src/mame/machine/coco_vhd.cpp b/src/mame/machine/coco_vhd.cpp index 0288a2b4000..0510ce469ff 100644 --- a/src/mame/machine/coco_vhd.cpp +++ b/src/mame/machine/coco_vhd.cpp @@ -71,7 +71,7 @@ const device_type COCO_VHD = &device_creator; // coco_vhd_image_device - constructor //------------------------------------------------- -coco_vhd_image_device::coco_vhd_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +coco_vhd_image_device::coco_vhd_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, COCO_VHD, "Virtual Hard Disk", tag, owner, clock, "coco_vhd_image", __FILE__), device_image_interface(mconfig, *this) { diff --git a/src/mame/machine/coco_vhd.h b/src/mame/machine/coco_vhd.h index 8c195fff4a7..45f9f5fb224 100644 --- a/src/mame/machine/coco_vhd.h +++ b/src/mame/machine/coco_vhd.h @@ -23,7 +23,7 @@ class coco_vhd_image_device : public device_t, { public: // construction/destruction - coco_vhd_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + coco_vhd_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ~coco_vhd_image_device(); // image-level overrides diff --git a/src/mame/machine/compiskb.cpp b/src/mame/machine/compiskb.cpp index 92ce8b365f2..91709ad925e 100644 --- a/src/mame/machine/compiskb.cpp +++ b/src/mame/machine/compiskb.cpp @@ -235,7 +235,7 @@ ioport_constructor compis_keyboard_device::device_input_ports() const // compis_keyboard_device - constructor //------------------------------------------------- -compis_keyboard_device::compis_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +compis_keyboard_device::compis_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, COMPIS_KEYBOARD, "Compis Keyboard", tag, owner, clock, "compiskb", __FILE__), m_maincpu(*this, I8748_TAG), m_speaker(*this, SPEAKER_TAG), diff --git a/src/mame/machine/compiskb.h b/src/mame/machine/compiskb.h index 9a926fc4031..64a71c1b405 100644 --- a/src/mame/machine/compiskb.h +++ b/src/mame/machine/compiskb.h @@ -37,7 +37,7 @@ class compis_keyboard_device : public device_t { public: // construction/destruction - compis_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + compis_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_out_tx_handler(device_t &device, _Object object) { return downcast(device).m_out_tx_handler.set_callback(object); } diff --git a/src/mame/machine/cuda.cpp b/src/mame/machine/cuda.cpp index 718cde4d5d6..fc79fc6b32e 100644 --- a/src/mame/machine/cuda.cpp +++ b/src/mame/machine/cuda.cpp @@ -382,7 +382,7 @@ WRITE8_MEMBER( cuda_device::pram_w ) // cuda_device - constructor //------------------------------------------------- -cuda_device::cuda_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +cuda_device::cuda_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, CUDA, "Apple Cuda", tag, owner, clock, "cuda", __FILE__), device_nvram_interface(mconfig, *this), write_reset(*this), diff --git a/src/mame/machine/cuda.h b/src/mame/machine/cuda.h index c1370afa6e0..3623200e7ab 100644 --- a/src/mame/machine/cuda.h +++ b/src/mame/machine/cuda.h @@ -60,7 +60,7 @@ class cuda_device : public device_t, public device_nvram_interface { public: // construction/destruction - cuda_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + cuda_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // inline configuration helpers static void static_set_type(device_t &device, int type); diff --git a/src/mame/machine/dc-ctrl.cpp b/src/mame/machine/dc-ctrl.cpp index 3cc6ae7cd8d..f2b5531b64a 100644 --- a/src/mame/machine/dc-ctrl.cpp +++ b/src/mame/machine/dc-ctrl.cpp @@ -5,7 +5,7 @@ const device_type DC_CONTROLLER = &device_creator; -void dc_controller_device::static_set_port_tag(device_t &device, int port, std::string tag) +void dc_controller_device::static_set_port_tag(device_t &device, int port, const char *tag) { dc_controller_device &ctrl = downcast(device); ctrl.port_tag[port] = tag; @@ -29,9 +29,11 @@ void dc_controller_device::static_set_versions(device_t &device, const char *ver ctrl.versions = versions; } -dc_controller_device::dc_controller_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +dc_controller_device::dc_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : maple_device(mconfig, DC_CONTROLLER, "Dreamcast Controller", tag, owner, clock, "dcctrl", __FILE__) { + memset(port_tag, 0, sizeof(port_tag)); + id = "Dreamcast Controller"; license = "Produced By or Under License From SEGA ENTERPRISES,LTD."; versions = "Version 1.010,1998/09/28,315-6211-AB ,Analog Module : The 4th Edition.5/8 +DF"; diff --git a/src/mame/machine/dc-ctrl.h b/src/mame/machine/dc-ctrl.h index 9d245462863..ed408ea7885 100644 --- a/src/mame/machine/dc-ctrl.h +++ b/src/mame/machine/dc-ctrl.h @@ -29,9 +29,9 @@ class dc_controller_device : public maple_device { public: // construction/destruction - dc_controller_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + dc_controller_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - static void static_set_port_tag(device_t &device, int port, std::string tag); + static void static_set_port_tag(device_t &device, int port, const char *tag); static void static_set_id(device_t &device, const char *id); static void static_set_license(device_t &device, const char *license); static void static_set_versions(device_t &device, const char *versions); @@ -47,7 +47,7 @@ private: void free_status(UINT32 *dest); void read(UINT32 *dest); - std::string port_tag[8]; + const char *port_tag[8]; const char *id, *license, *versions; ioport_port *port[8]; diff --git a/src/mame/machine/dec_lk201.cpp b/src/mame/machine/dec_lk201.cpp index 5c5be3b37a4..1c2c4fdf552 100644 --- a/src/mame/machine/dec_lk201.cpp +++ b/src/mame/machine/dec_lk201.cpp @@ -461,7 +461,7 @@ ioport_constructor lk201_device::device_input_ports() const // lk201_device - constructor //------------------------------------------------- -lk201_device::lk201_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +lk201_device::lk201_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, LK201, "DEC LK201 keyboard", tag, owner, clock, "lk201", __FILE__), device_serial_interface(mconfig, *this), m_maincpu(*this, LK201_CPU_TAG), diff --git a/src/mame/machine/dec_lk201.h b/src/mame/machine/dec_lk201.h index 1a4c01ddddf..88271331523 100644 --- a/src/mame/machine/dec_lk201.h +++ b/src/mame/machine/dec_lk201.h @@ -43,7 +43,7 @@ class lk201_device : public device_t, public device_serial_interface { public: // construction/destruction - lk201_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + lk201_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_READ8_MEMBER( ddr_r ); DECLARE_WRITE8_MEMBER( ddr_w ); diff --git a/src/mame/machine/deco104.cpp b/src/mame/machine/deco104.cpp index 4ee6f3fa96d..554ad3ac47f 100644 --- a/src/mame/machine/deco104.cpp +++ b/src/mame/machine/deco104.cpp @@ -1055,7 +1055,7 @@ const device_type DECO104PROT = &device_creator; -deco104_device::deco104_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +deco104_device::deco104_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : deco_146_base_device(mconfig, DECO104PROT, "DECO 104 Protection", tag, owner, clock, "deco104", __FILE__) { m_bankswitch_swap_read_address = 0x66; diff --git a/src/mame/machine/deco104.h b/src/mame/machine/deco104.h index cee2448a4be..5576f7fd6b2 100644 --- a/src/mame/machine/deco104.h +++ b/src/mame/machine/deco104.h @@ -13,7 +13,7 @@ class deco104_device : public deco_146_base_device { public: - deco104_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + deco104_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); diff --git a/src/mame/machine/deco146.cpp b/src/mame/machine/deco146.cpp index d17f554c02e..d0ba7bd27e3 100644 --- a/src/mame/machine/deco146.cpp +++ b/src/mame/machine/deco146.cpp @@ -1319,7 +1319,7 @@ UINT16 deco_146_base_device::read_data(UINT16 address, UINT16 mem_mask, UINT8 &c -deco_146_base_device::deco_146_base_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +deco_146_base_device::deco_146_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source) { m_port_a_r = deco146_port_read_cb(FUNC(deco_146_base_device::port_a_default), this); @@ -1505,7 +1505,7 @@ UINT16 deco_146_base_device::read_data_getloc(UINT16 address, int& location) } -deco146_device::deco146_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +deco146_device::deco146_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : deco_146_base_device(mconfig, DECO146PROT, "DECO 146 Protection", tag, owner, clock, "deco146", __FILE__) { m_bankswitch_swap_read_address = 0x78; diff --git a/src/mame/machine/deco146.h b/src/mame/machine/deco146.h index c5a15becf46..1f9fff545b1 100644 --- a/src/mame/machine/deco146.h +++ b/src/mame/machine/deco146.h @@ -80,8 +80,8 @@ struct deco146port_xx class deco_146_base_device : public device_t { public: - //deco_146_base_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - deco_146_base_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + //deco_146_base_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + deco_146_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); void write_data(address_space &space, UINT16 address, UINT16 data, UINT16 mem_mask, UINT8 &csflags); UINT16 read_data(UINT16 address, UINT16 mem_mask, UINT8 &csflags); @@ -164,7 +164,7 @@ extern const device_type DECO146BASE; class deco146_device : public deco_146_base_device { public: - deco146_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + deco146_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; extern const device_type DECO146PROT; diff --git a/src/mame/machine/deco222.cpp b/src/mame/machine/deco222.cpp index 3bf15399e8e..1df8a720dd2 100644 --- a/src/mame/machine/deco222.cpp +++ b/src/mame/machine/deco222.cpp @@ -8,7 +8,7 @@ #include "deco222.h" -deco_222_device::deco_222_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +deco_222_device::deco_222_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : m6502_device(mconfig, DECO_222, "DECO 222", tag, owner, clock, "deco222", __FILE__) { } @@ -32,7 +32,7 @@ UINT8 deco_222_device::mi_decrypt::read_sync(UINT16 adr) -deco_c10707_device::deco_c10707_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +deco_c10707_device::deco_c10707_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : m6502_device(mconfig, DECO_C10707, "DECO C10707", tag, owner, clock, "decoc10707", __FILE__) { } diff --git a/src/mame/machine/deco222.h b/src/mame/machine/deco222.h index d4511ee9f71..9a7c8ba8822 100644 --- a/src/mame/machine/deco222.h +++ b/src/mame/machine/deco222.h @@ -6,7 +6,7 @@ class deco_222_device : public m6502_device { public: - deco_222_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + deco_222_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: class mi_decrypt : public mi_default_normal { @@ -28,7 +28,7 @@ static const device_type DECO_222 = &device_creator; class deco_c10707_device : public m6502_device { public: - deco_c10707_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + deco_c10707_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: class mi_decrypt : public mi_default_normal { diff --git a/src/mame/machine/decocass.cpp b/src/mame/machine/decocass.cpp index c0ebd6382c6..926f40918a3 100644 --- a/src/mame/machine/decocass.cpp +++ b/src/mame/machine/decocass.cpp @@ -56,7 +56,7 @@ READ8_MEMBER( decocass_state::decocass_sound_command_main_r) WRITE8_MEMBER(decocass_state::decocass_sound_command_w) { - LOG(2,("CPU %s sound command -> $%02x\n", space.device().tag().c_str(), data)); + LOG(2,("CPU %s sound command -> $%02x\n", space.device().tag(), data)); soundlatch_byte_w(space, 0, data); m_sound_ack |= 0x80; /* remove snd cpu data ack bit. i don't see it in the schems, but... */ @@ -67,20 +67,20 @@ WRITE8_MEMBER(decocass_state::decocass_sound_command_w) READ8_MEMBER(decocass_state::decocass_sound_data_r) { UINT8 data = soundlatch2_byte_r(space, 0); - LOG(2,("CPU %s sound data <- $%02x\n", space.device().tag().c_str(), data)); + LOG(2,("CPU %s sound data <- $%02x\n", space.device().tag(), data)); return data; } READ8_MEMBER(decocass_state::decocass_sound_ack_r) { UINT8 data = m_sound_ack; /* D6+D7 */ - LOG(4,("CPU %s sound ack <- $%02x\n", space.device().tag().c_str(), data)); + LOG(4,("CPU %s sound ack <- $%02x\n", space.device().tag(), data)); return data; } WRITE8_MEMBER(decocass_state::decocass_sound_data_w) { - LOG(2,("CPU %s sound data -> $%02x\n", space.device().tag().c_str(), data)); + LOG(2,("CPU %s sound data -> $%02x\n", space.device().tag(), data)); soundlatch2_byte_w(space, 0, data); m_sound_ack |= 0x40; } @@ -88,7 +88,7 @@ WRITE8_MEMBER(decocass_state::decocass_sound_data_w) READ8_MEMBER(decocass_state::decocass_sound_command_r) { UINT8 data = soundlatch_byte_r(space, 0); - LOG(4,("CPU %s sound command <- $%02x\n", space.device().tag().c_str(), data)); + LOG(4,("CPU %s sound command <- $%02x\n", space.device().tag(), data)); m_audiocpu->set_input_line(M6502_IRQ_LINE, CLEAR_LINE); m_sound_ack &= ~0x80; return data; @@ -117,14 +117,14 @@ READ8_MEMBER(decocass_state::decocass_sound_nmi_enable_r) READ8_MEMBER(decocass_state::decocass_sound_data_ack_reset_r) { UINT8 data = 0xff; - LOG(2,("CPU %s sound ack rst <- $%02x\n", space.device().tag().c_str(), data)); + LOG(2,("CPU %s sound ack rst <- $%02x\n", space.device().tag(), data)); m_sound_ack &= ~0x40; return data; } WRITE8_MEMBER(decocass_state::decocass_sound_data_ack_reset_w) { - LOG(2,("CPU %s sound ack rst -> $%02x\n", space.device().tag().c_str(), data)); + LOG(2,("CPU %s sound ack rst -> $%02x\n", space.device().tag(), data)); m_sound_ack &= ~0x40; } diff --git a/src/mame/machine/decocass_tape.cpp b/src/mame/machine/decocass_tape.cpp index 9ee10e8095e..8b3f2785032 100644 --- a/src/mame/machine/decocass_tape.cpp +++ b/src/mame/machine/decocass_tape.cpp @@ -58,7 +58,7 @@ static UINT16 tape_crc16_byte(UINT16 crc, UINT8 data); const device_type DECOCASS_TAPE = &device_creator; -decocass_tape_device::decocass_tape_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +decocass_tape_device::decocass_tape_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DECOCASS_TAPE, "DECO Cassette Tape", tag, owner, clock, "decocass_tape", __FILE__), m_tape_timer(nullptr), m_speed(0), diff --git a/src/mame/machine/decocass_tape.h b/src/mame/machine/decocass_tape.h index fc6b63ff387..0b4909f34bd 100644 --- a/src/mame/machine/decocass_tape.h +++ b/src/mame/machine/decocass_tape.h @@ -6,7 +6,7 @@ class decocass_tape_device : public device_t { public: - decocass_tape_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + decocass_tape_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~decocass_tape_device() {} UINT8 get_status_bits(); diff --git a/src/mame/machine/decocpu6.cpp b/src/mame/machine/decocpu6.cpp index aba8321a08b..957c602976f 100644 --- a/src/mame/machine/decocpu6.cpp +++ b/src/mame/machine/decocpu6.cpp @@ -8,7 +8,7 @@ #include "decocpu6.h" -deco_cpu6_device::deco_cpu6_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +deco_cpu6_device::deco_cpu6_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : m6502_device(mconfig, DECO_CPU6, "DECO CPU-6", tag, owner, clock, "decocpu6", __FILE__) { } diff --git a/src/mame/machine/decocpu6.h b/src/mame/machine/decocpu6.h index 77b8924061c..27279a6cbe1 100644 --- a/src/mame/machine/decocpu6.h +++ b/src/mame/machine/decocpu6.h @@ -7,7 +7,7 @@ class deco_cpu6_device : public m6502_device { public: - deco_cpu6_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + deco_cpu6_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: class mi_decrypt : public mi_default_normal { diff --git a/src/mame/machine/decocpu7.cpp b/src/mame/machine/decocpu7.cpp index 511d5d0d080..dc6bb85dff8 100644 --- a/src/mame/machine/decocpu7.cpp +++ b/src/mame/machine/decocpu7.cpp @@ -3,7 +3,7 @@ #include "decocpu7.h" -deco_cpu7_device::deco_cpu7_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +deco_cpu7_device::deco_cpu7_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : m6502_device(mconfig, DECO_CPU7, "DECO CPU-7", tag, owner, clock, "decocpu7", __FILE__) { } diff --git a/src/mame/machine/decocpu7.h b/src/mame/machine/decocpu7.h index 167560ba065..2f2490ed46c 100644 --- a/src/mame/machine/decocpu7.h +++ b/src/mame/machine/decocpu7.h @@ -6,7 +6,7 @@ class deco_cpu7_device : public m6502_device { public: - deco_cpu7_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + deco_cpu7_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: class mi_decrypt : public mi_default_normal { diff --git a/src/mame/machine/decocrpt.cpp b/src/mame/machine/decocrpt.cpp index 758bb8dfd2a..dc31db80fdf 100644 --- a/src/mame/machine/decocrpt.cpp +++ b/src/mame/machine/decocrpt.cpp @@ -600,7 +600,7 @@ static const UINT8 deco74_swap_table[0x800] = 4,7,2,2,1,3,4,4,1,7,0,2,5,4,7,3,7,6,1,5,6,0,7,4,1,1,5,2,2,6,7,2, }; -static void deco_decrypt(running_machine &machine,std::string rgntag,const UINT8 *xor_table,const UINT16 *address_table,const UINT8 *swap_table,int remap_only) +static void deco_decrypt(running_machine &machine,const char *rgntag,const UINT8 *xor_table,const UINT16 *address_table,const UINT8 *swap_table,int remap_only) { UINT16 *rom = (UINT16 *)machine.root_device().memregion(rgntag)->base(); int len = machine.root_device().memregion(rgntag)->bytes()/2; @@ -647,17 +647,17 @@ static void deco_decrypt(running_machine &machine,std::string rgntag,const UINT8 rom[i] = BIG_ENDIANIZE_INT16(rom[i]); } -void deco56_decrypt_gfx(running_machine &machine, std::string tag) +void deco56_decrypt_gfx(running_machine &machine, const char *tag) { deco_decrypt(machine,tag,deco56_xor_table,deco56_address_table,deco56_swap_table, 0); } -void deco74_decrypt_gfx(running_machine &machine, std::string tag) +void deco74_decrypt_gfx(running_machine &machine, const char *tag) { deco_decrypt(machine,tag,deco74_xor_table,deco74_address_table,deco74_swap_table, 0); } -void deco56_remap_gfx(running_machine &machine, std::string tag) +void deco56_remap_gfx(running_machine &machine, const char *tag) { // Apply address remap, but not XOR/shift deco_decrypt(machine,tag,deco56_xor_table,deco56_address_table,deco56_swap_table, 1); diff --git a/src/mame/machine/decopincpu.cpp b/src/mame/machine/decopincpu.cpp index ef15c5cc624..4e748670071 100644 --- a/src/mame/machine/decopincpu.cpp +++ b/src/mame/machine/decopincpu.cpp @@ -262,7 +262,7 @@ ioport_constructor decocpu_type1_device::device_input_ports() const return INPUT_PORTS_NAME( decocpu1 ); } -decocpu_type1_device::decocpu_type1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +decocpu_type1_device::decocpu_type1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DECOCPU1, "Data East Pinball CPU Board Type 1", tag, owner, clock, "decocpu1", __FILE__), m_cpu(*this,"maincpu"), m_pia21(*this, "pia21"), @@ -281,7 +281,7 @@ decocpu_type1_device::decocpu_type1_device(const machine_config &mconfig, std::s m_write_solenoid(*this) {} -decocpu_type1_device::decocpu_type1_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +decocpu_type1_device::decocpu_type1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_cpu(*this,"maincpu"), m_pia21(*this, "pia21"), @@ -321,17 +321,17 @@ void decocpu_type1_device::device_start() m_cpu->space(AS_PROGRAM).install_rom(0x4000,0xffff,ROM+0x4000); } -void decocpu_type1_device::static_set_cpuregion(device_t &device, std::string tag) +void decocpu_type1_device::static_set_cpuregion(device_t &device, const char *tag) { decocpu_type1_device &cpuboard = downcast(device); cpuboard.m_cputag = tag; } -decocpu_type2_device::decocpu_type2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +decocpu_type2_device::decocpu_type2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : decocpu_type1_device(mconfig, DECOCPU2, "Data East Pinball CPU Board Type 2", tag, owner, clock, "decocpu2", __FILE__) {} -decocpu_type2_device::decocpu_type2_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +decocpu_type2_device::decocpu_type2_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : decocpu_type1_device(mconfig, type, name, tag, owner, clock, shortname, source) {} @@ -345,11 +345,11 @@ void decocpu_type2_device::device_start() decocpu_type1_device::device_start(); } -decocpu_type3_device::decocpu_type3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +decocpu_type3_device::decocpu_type3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : decocpu_type2_device(mconfig, DECOCPU3, "Data East Pinball CPU Board Type 3", tag, owner, clock, "decocpu3", __FILE__) {} -decocpu_type3_device::decocpu_type3_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +decocpu_type3_device::decocpu_type3_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : decocpu_type2_device(mconfig, type, name, tag, owner, clock, shortname, source) {} @@ -358,7 +358,7 @@ void decocpu_type3_device::device_start() decocpu_type1_device::device_start(); } -decocpu_type3b_device::decocpu_type3b_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +decocpu_type3b_device::decocpu_type3b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : decocpu_type3_device(mconfig, DECOCPU3, "Data East Pinball CPU Board Type 3B", tag, owner, clock, "decocpu3b", __FILE__) {} diff --git a/src/mame/machine/decopincpu.h b/src/mame/machine/decopincpu.h index 62990faa210..7a8264e8508 100644 --- a/src/mame/machine/decopincpu.h +++ b/src/mame/machine/decopincpu.h @@ -64,8 +64,8 @@ class decocpu_type1_device : public device_t { public: - decocpu_type1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - decocpu_type1_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + decocpu_type1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + decocpu_type1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); required_device m_cpu; required_device m_pia21; required_device m_pia24; @@ -104,7 +104,7 @@ public: INPUT_CHANGED_MEMBER(main_nmi); INPUT_CHANGED_MEMBER(audio_nmi); - static void static_set_cpuregion(device_t &device, std::string tag); + static void static_set_cpuregion(device_t &device, const char *tag); protected: // overrides @@ -115,7 +115,7 @@ protected: static const device_timer_id TIMER_IRQ = 0; private: - std::string m_cputag; // region for cpu board code and data + const char* m_cputag; // region for cpu board code and data emu_timer* m_irq_timer; bool m_irq_active; bool m_ca2; @@ -134,8 +134,8 @@ private: class decocpu_type2_device : public decocpu_type1_device { public: - decocpu_type2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - decocpu_type2_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + decocpu_type2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + decocpu_type2_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); protected: // overrides virtual machine_config_constructor device_mconfig_additions() const override; @@ -145,8 +145,8 @@ protected: class decocpu_type3_device : public decocpu_type2_device { public: - decocpu_type3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - decocpu_type3_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + decocpu_type3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + decocpu_type3_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); protected: // overrides @@ -156,7 +156,7 @@ protected: class decocpu_type3b_device : public decocpu_type3_device { public: - decocpu_type3b_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + decocpu_type3b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: // overrides diff --git a/src/mame/machine/dmv_keyb.cpp b/src/mame/machine/dmv_keyb.cpp index b0e139048f1..1fe0f2f8f43 100644 --- a/src/mame/machine/dmv_keyb.cpp +++ b/src/mame/machine/dmv_keyb.cpp @@ -207,7 +207,7 @@ ioport_constructor dmv_keyboard_device::device_input_ports() const // dmv_keyboard_device - constructor //------------------------------------------------- -dmv_keyboard_device::dmv_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +dmv_keyboard_device::dmv_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DMV_KEYBOARD, "Decision Mate V Keyboard", tag, owner, clock, "dmv_keyboard", __FILE__), m_maincpu(*this, "mcu"), m_keyboard(*this, "COL") diff --git a/src/mame/machine/dmv_keyb.h b/src/mame/machine/dmv_keyb.h index 870f911dad6..0f42fef728a 100644 --- a/src/mame/machine/dmv_keyb.h +++ b/src/mame/machine/dmv_keyb.h @@ -34,7 +34,7 @@ class dmv_keyboard_device : public device_t { public: // construction/destruction - dmv_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + dmv_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual const rom_entry *device_rom_region() const override; diff --git a/src/mame/machine/docg3.cpp b/src/mame/machine/docg3.cpp index 2303ee3fb27..1d6fee6c0c6 100644 --- a/src/mame/machine/docg3.cpp +++ b/src/mame/machine/docg3.cpp @@ -38,7 +38,7 @@ const device_type DISKONCHIP_G3 = &device_creator; // diskonchip_g3_device - constructor //------------------------------------------------- -diskonchip_g3_device::diskonchip_g3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +diskonchip_g3_device::diskonchip_g3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DISKONCHIP_G3, "DiskOnChip G3", tag, owner, clock, "diskonchip_g3", __FILE__), device_nvram_interface(mconfig, *this) { diff --git a/src/mame/machine/docg3.h b/src/mame/machine/docg3.h index 7703c9acfd9..36423f12641 100644 --- a/src/mame/machine/docg3.h +++ b/src/mame/machine/docg3.h @@ -22,7 +22,7 @@ class diskonchip_g3_device : public device_t, { public: // construction/destruction - diskonchip_g3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + diskonchip_g3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); void set_size(int _size) { m_size = _size; } protected: diff --git a/src/mame/machine/egret.cpp b/src/mame/machine/egret.cpp index ff7050ab926..736cdfd3471 100644 --- a/src/mame/machine/egret.cpp +++ b/src/mame/machine/egret.cpp @@ -333,7 +333,7 @@ WRITE8_MEMBER( egret_device::pram_w ) // egret_device - constructor //------------------------------------------------- -egret_device::egret_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +egret_device::egret_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, EGRET, "Apple Egret", tag, owner, clock, "egret", __FILE__), device_nvram_interface(mconfig, *this), write_reset(*this), diff --git a/src/mame/machine/egret.h b/src/mame/machine/egret.h index b39826712e2..f9b881cd540 100644 --- a/src/mame/machine/egret.h +++ b/src/mame/machine/egret.h @@ -59,7 +59,7 @@ class egret_device : public device_t, public device_nvram_interface { public: // construction/destruction - egret_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + egret_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // inline configuration helpers static void static_set_type(device_t &device, int type); diff --git a/src/mame/machine/einstein.cpp b/src/mame/machine/einstein.cpp index 727fbdff0ae..a2582ee93e3 100644 --- a/src/mame/machine/einstein.cpp +++ b/src/mame/machine/einstein.cpp @@ -26,7 +26,7 @@ const device_type EINSTEIN_KEYBOARD_DAISY = &device_creator; // esqpanel_device - constructor //------------------------------------------------- -esqpanel_device::esqpanel_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : +esqpanel_device::esqpanel_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_serial_interface(mconfig, *this), m_write_tx(*this), @@ -209,7 +209,7 @@ machine_config_constructor esqpanel1x22_device::device_mconfig_additions() const return MACHINE_CONFIG_NAME( esqpanel1x22 ); } -esqpanel1x22_device::esqpanel1x22_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +esqpanel1x22_device::esqpanel1x22_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqpanel_device(mconfig, ESQPANEL1x22, "Ensoniq front panel with 1x22 VFD", tag, owner, clock, "esqpanel122", __FILE__), m_vfd(*this, "vfd") { @@ -227,7 +227,7 @@ machine_config_constructor esqpanel2x40_device::device_mconfig_additions() const return MACHINE_CONFIG_NAME( esqpanel2x40 ); } -esqpanel2x40_device::esqpanel2x40_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +esqpanel2x40_device::esqpanel2x40_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqpanel_device(mconfig, ESQPANEL2x40, "Ensoniq front panel with 2x40 VFD", tag, owner, clock, "esqpanel240", __FILE__), m_vfd(*this, "vfd") { @@ -245,7 +245,7 @@ machine_config_constructor esqpanel2x40_sq1_device::device_mconfig_additions() c return MACHINE_CONFIG_NAME( esqpanel2x40_sq1 ); } -esqpanel2x40_sq1_device::esqpanel2x40_sq1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +esqpanel2x40_sq1_device::esqpanel2x40_sq1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqpanel_device(mconfig, ESQPANEL2x40, "Ensoniq front panel with 2x16 LCD", tag, owner, clock, "esqpanel240_sq1", __FILE__), m_vfd(*this, "vfd") { diff --git a/src/mame/machine/esqpanel.h b/src/mame/machine/esqpanel.h index 40117250346..5de704f1375 100644 --- a/src/mame/machine/esqpanel.h +++ b/src/mame/machine/esqpanel.h @@ -55,7 +55,7 @@ class esqpanel_device : public device_t, public device_serial_interface { public: // construction/destruction - esqpanel_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + esqpanel_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); template static devcb_base &set_tx_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_tx.set_callback(object); } template static devcb_base &set_analog_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_analog.set_callback(object); } @@ -93,7 +93,7 @@ private: class esqpanel1x22_device : public esqpanel_device { public: - esqpanel1x22_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + esqpanel1x22_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); required_device m_vfd; @@ -107,7 +107,7 @@ private: class esqpanel2x40_device : public esqpanel_device { public: - esqpanel2x40_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + esqpanel2x40_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); required_device m_vfd; @@ -121,7 +121,7 @@ private: class esqpanel2x40_sq1_device : public esqpanel_device { public: - esqpanel2x40_sq1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + esqpanel2x40_sq1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); required_device m_vfd; diff --git a/src/mame/machine/esqvfd.cpp b/src/mame/machine/esqvfd.cpp index d07b9d0394e..a1379238673 100644 --- a/src/mame/machine/esqvfd.cpp +++ b/src/mame/machine/esqvfd.cpp @@ -114,7 +114,7 @@ static const UINT16 font[]= 0x0000, // 0000 0000 0000 0000 (DEL) }; -esqvfd_t::esqvfd_t(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : +esqvfd_t::esqvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source) { } @@ -279,7 +279,7 @@ void esq2x40_t::write_char(int data) update_display(); } -esq2x40_t::esq2x40_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ2x40, "Ensoniq 2x40 VFD", tag, owner, clock, "esq2x40", __FILE__) +esq2x40_t::esq2x40_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ2x40, "Ensoniq 2x40 VFD", tag, owner, clock, "esq2x40", __FILE__) { m_rows = 2; m_cols = 40; @@ -332,7 +332,7 @@ void esq1x22_t::write_char(int data) update_display(); } -esq1x22_t::esq1x22_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ1x22, "Ensoniq 1x22 VFD", tag, owner, clock, "esq1x22", __FILE__) +esq1x22_t::esq1x22_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ1x22, "Ensoniq 1x22 VFD", tag, owner, clock, "esq1x22", __FILE__) { m_rows = 1; m_cols = 22; @@ -396,7 +396,7 @@ void esq2x40_sq1_t::write_char(int data) } } -esq2x40_sq1_t::esq2x40_sq1_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ2x40_SQ1, "Ensoniq 2x40 VFD (SQ-1 variant)", tag, owner, clock, "esq2x40_sq1", __FILE__) +esq2x40_sq1_t::esq2x40_sq1_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : esqvfd_t(mconfig, ESQ2x40_SQ1, "Ensoniq 2x40 VFD (SQ-1 variant)", tag, owner, clock, "esq2x40_sq1", __FILE__) { m_rows = 2; m_cols = 40; diff --git a/src/mame/machine/esqvfd.h b/src/mame/machine/esqvfd.h index 4d1bb68b70f..174ea5157d7 100644 --- a/src/mame/machine/esqvfd.h +++ b/src/mame/machine/esqvfd.h @@ -25,7 +25,7 @@ class esqvfd_t : public device_t { public: - esqvfd_t(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + esqvfd_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); DECLARE_WRITE8_MEMBER( write ) { write_char(data); } @@ -57,7 +57,7 @@ protected: class esq1x22_t : public esqvfd_t { public: - esq1x22_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + esq1x22_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual void write_char(int data) override; @@ -69,7 +69,7 @@ private: class esq2x40_t : public esqvfd_t { public: - esq2x40_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + esq2x40_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual void write_char(int data) override; @@ -81,7 +81,7 @@ private: class esq2x40_sq1_t : public esqvfd_t { public: - esq2x40_sq1_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + esq2x40_sq1_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual void write_char(int data) override; diff --git a/src/mame/machine/fd1089.cpp b/src/mame/machine/fd1089.cpp index 4c4f2b399bd..5f8df8b0b3d 100644 --- a/src/mame/machine/fd1089.cpp +++ b/src/mame/machine/fd1089.cpp @@ -221,7 +221,7 @@ ADDRESS_MAP_END // fd1089_base_device - constructor //------------------------------------------------- -fd1089_base_device::fd1089_base_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +fd1089_base_device::fd1089_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : m68000_device(mconfig, tag, owner, clock, shortname, source), m_decrypted_opcodes(*this, ":fd1089_decrypted_opcodes") { @@ -232,12 +232,12 @@ fd1089_base_device::fd1089_base_device(const machine_config &mconfig, device_typ m_address_map[AS_DECRYPTED_OPCODES] = ADDRESS_MAP_NAME(decrypted_opcodes_map); } -fd1089a_device::fd1089a_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +fd1089a_device::fd1089a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : fd1089_base_device(mconfig, FD1089A, "FD1089A", tag, owner, clock, "fd1089a", __FILE__) { } -fd1089b_device::fd1089b_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +fd1089b_device::fd1089b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : fd1089_base_device(mconfig, FD1089B, "FD1089B", tag, owner, clock, "fd1089b", __FILE__) { } diff --git a/src/mame/machine/fd1089.h b/src/mame/machine/fd1089.h index 7bb12936db6..71fcc361d7a 100644 --- a/src/mame/machine/fd1089.h +++ b/src/mame/machine/fd1089.h @@ -39,7 +39,7 @@ class fd1089_base_device : public m68000_device { public: // construction/destruction - fd1089_base_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + fd1089_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); // explicit decryption helpers void decrypt(offs_t baseaddr, UINT32 size, offs_t regionoffs, UINT16 *opcodesptr, UINT16 *dataptr) { decrypt(baseaddr, size, &m_plaintext[regionoffs/2], opcodesptr, dataptr); } @@ -80,7 +80,7 @@ class fd1089a_device : public fd1089_base_device { public: // construction/destruction - fd1089a_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + fd1089a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: virtual UINT8 decode(UINT8 val, UINT8 key, bool opcode) override; @@ -94,7 +94,7 @@ class fd1089b_device : public fd1089_base_device { public: // construction/destruction - fd1089b_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + fd1089b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: virtual UINT8 decode(UINT8 val, UINT8 key, bool opcode) override; diff --git a/src/mame/machine/fd1094.cpp b/src/mame/machine/fd1094.cpp index 81624767864..9dc3009cd31 100644 --- a/src/mame/machine/fd1094.cpp +++ b/src/mame/machine/fd1094.cpp @@ -552,7 +552,7 @@ UINT16 *fd1094_decryption_cache::decrypted_opcodes(UINT8 state) //------------------------------------------------- -fd1094_device::fd1094_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +fd1094_device::fd1094_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : m68000_device(mconfig, tag, owner, clock, "fd1094", __FILE__), m_decrypted_opcodes_bank(*this, "^fd1094_decrypted_opcodes"), m_state(0x00), diff --git a/src/mame/machine/fd1094.h b/src/mame/machine/fd1094.h index 92d6f2b2730..737f3b81e1c 100644 --- a/src/mame/machine/fd1094.h +++ b/src/mame/machine/fd1094.h @@ -69,7 +69,7 @@ public: typedef delegate state_change_delegate; // construction/destruction - fd1094_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + fd1094_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // explicit decryption helpers void decrypt(offs_t baseaddr, UINT32 size, offs_t regionoffs, UINT16 *opcodesptr, UINT8 state) { decrypt(baseaddr, size, m_srcbase + regionoffs/2, opcodesptr, state); } diff --git a/src/mame/machine/fm_scsi.cpp b/src/mame/machine/fm_scsi.cpp index bbb985c1541..a63795db0c2 100644 --- a/src/mame/machine/fm_scsi.cpp +++ b/src/mame/machine/fm_scsi.cpp @@ -38,7 +38,7 @@ const device_type FMSCSI = &device_creator; * Device */ -fmscsi_device::fmscsi_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +fmscsi_device::fmscsi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : legacy_scsi_host_adapter(mconfig, FMSCSI, "FM-SCSI", tag, owner, clock, "fmscsi", __FILE__), m_irq_handler(*this), m_drq_handler(*this) diff --git a/src/mame/machine/fm_scsi.h b/src/mame/machine/fm_scsi.h index 46bb59a37dc..cc7c1ab1fc8 100644 --- a/src/mame/machine/fm_scsi.h +++ b/src/mame/machine/fm_scsi.h @@ -44,7 +44,7 @@ class fmscsi_device : public legacy_scsi_host_adapter { public: // construction/destruction - fmscsi_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + fmscsi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration helpers template static devcb_base &set_irq_handler(device_t &device, _Object object) { return downcast(device).m_irq_handler.set_callback(object); } diff --git a/src/mame/machine/gaelco3d.cpp b/src/mame/machine/gaelco3d.cpp index 48ba74e7637..d4f9c58383a 100644 --- a/src/mame/machine/gaelco3d.cpp +++ b/src/mame/machine/gaelco3d.cpp @@ -186,7 +186,7 @@ static void buf_reset(buf_t *buf) const device_type GAELCO_SERIAL = &device_creator; -gaelco_serial_device::gaelco_serial_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +gaelco_serial_device::gaelco_serial_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, GAELCO_SERIAL, "Gaelco 3D Serial Hardware", tag, owner, clock, "gaelco_serial", __FILE__), m_irq_handler(*this), m_status(0), @@ -207,7 +207,7 @@ gaelco_serial_device::gaelco_serial_device(const machine_config &mconfig, std::s void gaelco_serial_device::device_start() { /* validate arguments */ - assert(tag().length() < 20); + assert(strlen(tag()) < 20); m_irq_handler.resolve_safe(); m_sync_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gaelco_serial_device::link_cb), this)); diff --git a/src/mame/machine/gaelco3d.h b/src/mame/machine/gaelco3d.h index 4ce06668b5a..36ab65082f1 100644 --- a/src/mame/machine/gaelco3d.h +++ b/src/mame/machine/gaelco3d.h @@ -62,7 +62,7 @@ struct osd_shared_mem class gaelco_serial_device : public device_t { public: - gaelco_serial_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + gaelco_serial_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~gaelco_serial_device() {} template static devcb_base &set_irq_handler(device_t &device, _Object object) { return downcast(device).m_irq_handler.set_callback(object); } diff --git a/src/mame/machine/gdrom.cpp b/src/mame/machine/gdrom.cpp index 87ed9f47e08..5aead47aae1 100644 --- a/src/mame/machine/gdrom.cpp +++ b/src/mame/machine/gdrom.cpp @@ -435,7 +435,7 @@ void gdrom_device::WriteData( UINT8 *data, int dataLength ) // device type definition const device_type GDROM = &device_creator; -gdrom_device::gdrom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +gdrom_device::gdrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : atapi_cdrom_device(mconfig, GDROM, "GDROM", tag, owner, clock, "gdrom", __FILE__) { } diff --git a/src/mame/machine/gdrom.h b/src/mame/machine/gdrom.h index f1090ef292b..f96a5fcea28 100644 --- a/src/mame/machine/gdrom.h +++ b/src/mame/machine/gdrom.h @@ -14,7 +14,7 @@ class gdrom_device : public atapi_cdrom_device { public: - gdrom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + gdrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // Sega GD-ROM handler diff --git a/src/mame/machine/genpc.cpp b/src/mame/machine/genpc.cpp index 0af77b30cda..44dbcd00d20 100644 --- a/src/mame/machine/genpc.cpp +++ b/src/mame/machine/genpc.cpp @@ -500,7 +500,7 @@ ioport_constructor ibm5160_mb_device::device_input_ports() const } -void ibm5160_mb_device::static_set_cputag(device_t &device, std::string tag) +void ibm5160_mb_device::static_set_cputag(device_t &device, const char *tag) { ibm5160_mb_device &board = downcast(device); board.m_cputag = tag; @@ -514,7 +514,7 @@ void ibm5160_mb_device::static_set_cputag(device_t &device, std::string tag) // ibm5160_mb_device - constructor //------------------------------------------------- -ibm5160_mb_device::ibm5160_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +ibm5160_mb_device::ibm5160_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, IBM5160_MOTHERBOARD, "IBM5160_MOTHERBOARD", tag, owner, clock, "ibm5160_mb", __FILE__), m_maincpu(*owner, "maincpu"), m_pic8259(*this, "pic8259"), @@ -630,7 +630,7 @@ machine_config_constructor ibm5150_mb_device::device_mconfig_additions() const // ibm5150_mb_device - constructor //------------------------------------------------- -ibm5150_mb_device::ibm5150_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +ibm5150_mb_device::ibm5150_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ibm5160_mb_device(mconfig, tag, owner, clock), m_cassette(*this, "cassette") { @@ -850,7 +850,7 @@ ioport_constructor ec1841_mb_device::device_input_ports() const // ec1841_mb_device - constructor //------------------------------------------------- -ec1841_mb_device::ec1841_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +ec1841_mb_device::ec1841_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ibm5160_mb_device(mconfig, tag, owner, clock) { } @@ -905,7 +905,7 @@ READ8_MEMBER ( ec1841_mb_device::pc_ppi_portc_r ) return data; } -pc_noppi_mb_device::pc_noppi_mb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pc_noppi_mb_device::pc_noppi_mb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ibm5160_mb_device(mconfig, tag, owner, clock) { } diff --git a/src/mame/machine/genpin.h b/src/mame/machine/genpin.h index 2c072c04710..5b72d09ff53 100644 --- a/src/mame/machine/genpin.h +++ b/src/mame/machine/genpin.h @@ -39,7 +39,7 @@ MACHINE_CONFIG_EXTERN( genpin_audio ); class genpin_class : public driver_device { public: - genpin_class(const machine_config &mconfig, device_type type, std::string tag) + genpin_class(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag) , m_samples(*this, "samples") { } diff --git a/src/mame/machine/hp48.cpp b/src/mame/machine/hp48.cpp index 0f25fb9ed86..71bb4b656ff 100644 --- a/src/mame/machine/hp48.cpp +++ b/src/mame/machine/hp48.cpp @@ -921,7 +921,7 @@ void hp48_port_image_device::hp48_fill_port() { hp48_state *state = machine().driver_data(); int size = state->m_port_size[m_port]; - LOG(( "hp48_fill_port: %s module=%i size=%i rw=%i\n", tag().c_str(), m_module, size, state->m_port_write[m_port] )); + LOG(( "hp48_fill_port: %s module=%i size=%i rw=%i\n", tag(), m_module, size, state->m_port_write[m_port] )); state->m_port_data[m_port] = make_unique_clear(2 * size); state->m_modules[m_module].off_mask = 2 * (( size > 128 * 1024 ) ? 128 * 1024 : size) - 1; state->m_modules[m_module].read = read8_delegate(); @@ -955,7 +955,7 @@ bool hp48_port_image_device::call_load() /* check size */ if ( (size < 32*1024) || (size > m_max_size) || (size & (size-1)) ) { - logerror( "hp48: image size for %s should be a power of two between %i and %i\n", tag().c_str(), 32*1024, m_max_size ); + logerror( "hp48: image size for %s should be a power of two between %i and %i\n", tag(), 32*1024, m_max_size ); return IMAGE_INIT_FAIL; } @@ -978,7 +978,7 @@ bool hp48_port_image_device::call_create(int format_type, option_resolution *for /* size must be a power of 2 between 32K and max_size */ if ( (size < 32*1024) || (size > m_max_size) || (size & (size-1)) ) { - logerror( "hp48: image size for %s should be a power of two between %i and %i\n", tag().c_str(), 32*1024, m_max_size ); + logerror( "hp48: image size for %s should be a power of two between %i and %i\n", tag(), 32*1024, m_max_size ); return IMAGE_INIT_FAIL; } @@ -992,7 +992,7 @@ void hp48_port_image_device::call_unload() { hp48_state *state = machine().driver_data(); LOG(( "hp48_port image unload: %s size=%i rw=%i\n", - tag().c_str(), state->m_port_size[m_port], state->m_port_write[m_port] )); + tag(), state->m_port_size[m_port], state->m_port_write[m_port] )); if ( state->m_port_write[m_port] ) { state->hp48_encode_nibble( state->m_port_data[m_port].get(), state->m_port_data[m_port].get(), state->m_port_size[m_port] ); @@ -1010,7 +1010,7 @@ void hp48_port_image_device::device_start() hp48_unfill_port(); } -hp48_port_image_device::hp48_port_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +hp48_port_image_device::hp48_port_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, HP48_PORT, "HP48 memory card", tag, owner, clock, "hp48_port_image", __FILE__), device_image_interface(mconfig, *this) { diff --git a/src/mame/machine/ie15_kbd.cpp b/src/mame/machine/ie15_kbd.cpp index 478df314d42..f98eb316092 100644 --- a/src/mame/machine/ie15_kbd.cpp +++ b/src/mame/machine/ie15_kbd.cpp @@ -14,7 +14,7 @@ ***************************************************************************/ -ie15_keyboard_device::ie15_keyboard_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +ie15_keyboard_device::ie15_keyboard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source) , m_io_kbd0(*this, "TERM_LINE0") , m_io_kbd1(*this, "TERM_LINE1") @@ -25,7 +25,7 @@ ie15_keyboard_device::ie15_keyboard_device(const machine_config &mconfig, device { } -ie15_keyboard_device::ie15_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +ie15_keyboard_device::ie15_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, IE15_KEYBOARD, "15WWW-97-006 Keyboard", tag, owner, clock, "ie15_keyboard", __FILE__) , m_io_kbd0(*this, "TERM_LINE0") , m_io_kbd1(*this, "TERM_LINE1") diff --git a/src/mame/machine/ie15_kbd.h b/src/mame/machine/ie15_kbd.h index 95d51775c85..42eca22403d 100644 --- a/src/mame/machine/ie15_kbd.h +++ b/src/mame/machine/ie15_kbd.h @@ -42,8 +42,8 @@ class ie15_keyboard_device : public device_t { public: - ie15_keyboard_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); - ie15_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + ie15_keyboard_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + ie15_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_keyboard_callback(device_t &device, _Object object) { return downcast(device).m_keyboard_cb.set_callback(object); } diff --git a/src/mame/machine/igs022.cpp b/src/mame/machine/igs022.cpp index d4daf5c29a2..6a6e45b5c79 100644 --- a/src/mame/machine/igs022.cpp +++ b/src/mame/machine/igs022.cpp @@ -12,7 +12,7 @@ #include "igs022.h" -igs022_device::igs022_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +igs022_device::igs022_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, IGS022, "IGS022", tag, owner, clock, "igs022", __FILE__) { } diff --git a/src/mame/machine/igs022.h b/src/mame/machine/igs022.h index 851deece33c..8b5ca3a8b62 100644 --- a/src/mame/machine/igs022.h +++ b/src/mame/machine/igs022.h @@ -6,7 +6,7 @@ class igs022_device : public device_t { public: - igs022_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + igs022_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); UINT16* m_sharedprotram; void IGS022_handle_command(); diff --git a/src/mame/machine/igs025.cpp b/src/mame/machine/igs025.cpp index e3eaa5c652c..e7ac5803c58 100644 --- a/src/mame/machine/igs025.cpp +++ b/src/mame/machine/igs025.cpp @@ -16,7 +16,7 @@ #include "igs025.h" -igs025_device::igs025_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +igs025_device::igs025_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, IGS025, "IGS025", tag, owner, clock, "igs_025_022", __FILE__) { m_execute_external = igs025_execute_external(FUNC(igs025_device::no_callback_setup), this); diff --git a/src/mame/machine/igs025.h b/src/mame/machine/igs025.h index ff9e22e380f..aa57a2ac8fa 100644 --- a/src/mame/machine/igs025.h +++ b/src/mame/machine/igs025.h @@ -13,7 +13,7 @@ typedef device_delegate igs025_execute_external; class igs025_device : public device_t { public: - igs025_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + igs025_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_READ16_MEMBER( killbld_igs025_prot_r ); // use setters instead of making public? diff --git a/src/mame/machine/igs028.cpp b/src/mame/machine/igs028.cpp index b5faf34e348..5e71c2bff64 100644 --- a/src/mame/machine/igs028.cpp +++ b/src/mame/machine/igs028.cpp @@ -11,7 +11,7 @@ #include "igs028.h" -igs028_device::igs028_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +igs028_device::igs028_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, IGS028, "IGS028", tag, owner, clock, "igs028", __FILE__) { } diff --git a/src/mame/machine/igs028.h b/src/mame/machine/igs028.h index 637a7beca9d..42269cabc0f 100644 --- a/src/mame/machine/igs028.h +++ b/src/mame/machine/igs028.h @@ -7,7 +7,7 @@ class igs028_device : public device_t { public: - igs028_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + igs028_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); UINT16* m_sharedprotram; diff --git a/src/mame/machine/inder_sb.cpp b/src/mame/machine/inder_sb.cpp index 649ca4893d3..bad2b30d279 100644 --- a/src/mame/machine/inder_sb.cpp +++ b/src/mame/machine/inder_sb.cpp @@ -11,7 +11,7 @@ extern const device_type INDER_AUDIO = &device_creator; -inder_sb_device::inder_sb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +inder_sb_device::inder_sb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, INDER_AUDIO, "Inder 4xDAC Sound Board", tag, owner, clock, "indersb", __FILE__), device_mixer_interface(mconfig, *this, 2), m_audiocpu(*this, "audiocpu"), diff --git a/src/mame/machine/inder_sb.h b/src/mame/machine/inder_sb.h index 26f44367363..83cf035c652 100644 --- a/src/mame/machine/inder_sb.h +++ b/src/mame/machine/inder_sb.h @@ -25,7 +25,7 @@ class inder_sb_device : public device_t, { public: // construction/destruction - inder_sb_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + inder_sb_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); required_device m_audiocpu; required_device m_ctc; diff --git a/src/mame/machine/inder_vid.cpp b/src/mame/machine/inder_vid.cpp index f1e25b72bc9..5d4ee0b79f9 100644 --- a/src/mame/machine/inder_vid.cpp +++ b/src/mame/machine/inder_vid.cpp @@ -13,7 +13,7 @@ extern const device_type INDER_VIDEO = &device_creator; -inder_vid_device::inder_vid_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +inder_vid_device::inder_vid_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, INDER_VIDEO, "Inder / Dinamic TMS Video", tag, owner, clock, "indervd", __FILE__), /* device_video_interface(mconfig, *this, false), */ m_vram(*this, "vram"), diff --git a/src/mame/machine/inder_vid.h b/src/mame/machine/inder_vid.h index cb452f449f3..f8c850ed9c1 100644 --- a/src/mame/machine/inder_vid.h +++ b/src/mame/machine/inder_vid.h @@ -26,7 +26,7 @@ class inder_vid_device : public device_t { public: // construction/destruction - inder_vid_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + inder_vid_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); required_shared_ptr m_vram; required_device m_palette; diff --git a/src/mame/machine/isbc_215g.cpp b/src/mame/machine/isbc_215g.cpp index acec7caf154..e49818ee4d6 100644 --- a/src/mame/machine/isbc_215g.cpp +++ b/src/mame/machine/isbc_215g.cpp @@ -10,7 +10,7 @@ const device_type ISBC_215G = &device_creator; -isbc_215g_device::isbc_215g_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +isbc_215g_device::isbc_215g_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ISBC_215G, "ISBC 215G Winchester Disk Controller", tag, owner, clock, "isbc_215g", __FILE__), m_dmac(*this, "u84"), m_hdd0(*this, "drive0"), diff --git a/src/mame/machine/isbc_215g.h b/src/mame/machine/isbc_215g.h index 7b76bd4ae8d..86c795d0306 100644 --- a/src/mame/machine/isbc_215g.h +++ b/src/mame/machine/isbc_215g.h @@ -12,7 +12,7 @@ class isbc_215g_device : public device_t { public: - isbc_215g_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + isbc_215g_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual machine_config_constructor device_mconfig_additions() const override; const rom_entry *device_rom_region() const override; diff --git a/src/mame/machine/iteagle_fpga.cpp b/src/mame/machine/iteagle_fpga.cpp index 1f00565118b..9fa7cef6da8 100644 --- a/src/mame/machine/iteagle_fpga.cpp +++ b/src/mame/machine/iteagle_fpga.cpp @@ -25,7 +25,7 @@ DEVICE_ADDRESS_MAP_START(ram_map, 32, iteagle_fpga_device) AM_RANGE(0x00000, 0x1ffff) AM_READWRITE(ram_r, ram_w) ADDRESS_MAP_END -iteagle_fpga_device::iteagle_fpga_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +iteagle_fpga_device::iteagle_fpga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : pci_device(mconfig, ITEAGLE_FPGA, "ITEagle FPGA", tag, owner, clock, "iteagle_fpga", __FILE__), device_nvram_interface(mconfig, *this), m_version(0), m_seq_init(0) { @@ -487,7 +487,7 @@ machine_config_constructor iteagle_eeprom_device::device_mconfig_additions() con return MACHINE_CONFIG_NAME( iteagle_eeprom ); } -iteagle_eeprom_device::iteagle_eeprom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +iteagle_eeprom_device::iteagle_eeprom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : pci_device(mconfig, ITEAGLE_EEPROM, "ITEagle EEPROM AT93C46", tag, owner, clock, "eeprom", __FILE__), m_eeprom(*this, "eeprom"), m_sw_version(0) { @@ -612,7 +612,7 @@ machine_config_constructor iteagle_ide_device::device_mconfig_additions() const return MACHINE_CONFIG_NAME( iteagle_ide ); } -iteagle_ide_device::iteagle_ide_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +iteagle_ide_device::iteagle_ide_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : pci_device(mconfig, ITEAGLE_IDE, "ITEagle IDE Controller", tag, owner, clock, "ide", __FILE__), m_ide(*this, "ide"), m_ide2(*this, "ide2"), @@ -620,7 +620,7 @@ iteagle_ide_device::iteagle_ide_device(const machine_config &mconfig, std::strin { } -void iteagle_ide_device::set_irq_info(std::string tag, const int irq_num) +void iteagle_ide_device::set_irq_info(const char *tag, const int irq_num) { m_cpu_tag = tag; m_irq_num = irq_num; diff --git a/src/mame/machine/iteagle_fpga.h b/src/mame/machine/iteagle_fpga.h index 66d871040f5..5d150e66116 100644 --- a/src/mame/machine/iteagle_fpga.h +++ b/src/mame/machine/iteagle_fpga.h @@ -34,9 +34,9 @@ class iteagle_fpga_device : public pci_device, public device_nvram_interface { public: - iteagle_fpga_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + iteagle_fpga_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); void set_init_info(int version, int seq_init) {m_version=version; m_seq_init=seq_init;} - void set_irq_info(std::string tag, const int irq_num) {m_cpu_tag = tag; m_irq_num = irq_num;} + void set_irq_info(const char *tag, const int irq_num) {m_cpu_tag = tag; m_irq_num = irq_num;} protected: @@ -51,7 +51,7 @@ protected: private: emu_timer * m_timer; - std::string m_cpu_tag; + const char *m_cpu_tag; cpu_device *m_cpu; int m_irq_num; @@ -90,7 +90,7 @@ private: class iteagle_eeprom_device : public pci_device { public: - iteagle_eeprom_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + iteagle_eeprom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; virtual void map_extra(UINT64 memory_window_start, UINT64 memory_window_end, UINT64 memory_offset, address_space *memory_space, @@ -115,10 +115,10 @@ private: class iteagle_ide_device : public pci_device { public: - iteagle_ide_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + iteagle_ide_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; - void set_irq_info(std::string tag, const int irq_num); + void set_irq_info(const char *tag, const int irq_num); required_device m_ide; required_device m_ide2; @@ -130,7 +130,7 @@ protected: virtual void device_reset() override; private: - std::string m_cpu_tag; + const char *m_cpu_tag; cpu_device *m_cpu; int m_irq_num; int m_irq_status; diff --git a/src/mame/machine/jvs13551.cpp b/src/mame/machine/jvs13551.cpp index 7fb89e1f68a..fa0350e60a0 100644 --- a/src/mame/machine/jvs13551.cpp +++ b/src/mame/machine/jvs13551.cpp @@ -40,7 +40,7 @@ const rom_entry *sega_837_13551::device_rom_region() const return ROM_NAME(jvs13551); } -void sega_837_13551::static_set_port_tag(device_t &device, int port, std::string tag) +void sega_837_13551::static_set_port_tag(device_t &device, int port, const char *tag) { sega_837_13551 &ctrl = downcast(device); ctrl.port_tag[port] = tag; @@ -51,8 +51,9 @@ ioport_constructor sega_837_13551::device_input_ports() const return INPUT_PORTS_NAME(sega_837_13551_coins); } -sega_837_13551::sega_837_13551(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : jvs_device(mconfig, SEGA_837_13551, "Sega 837-13551 I/O Board", tag, owner, clock, "jvs13551", __FILE__) +sega_837_13551::sega_837_13551(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : jvs_device(mconfig, SEGA_837_13551, "Sega 837-13551 I/O Board", tag, owner, clock, "jvs13551", __FILE__) { + memset(port_tag, 0, sizeof(port_tag)); } const char *sega_837_13551::device_id() diff --git a/src/mame/machine/jvs13551.h b/src/mame/machine/jvs13551.h index 5e6c7e0ddb7..2a84e9b9d24 100644 --- a/src/mame/machine/jvs13551.h +++ b/src/mame/machine/jvs13551.h @@ -26,8 +26,8 @@ class jvs_host; class sega_837_13551 : public jvs_device { public: - sega_837_13551(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - static void static_set_port_tag(device_t &device, int port, std::string tag); + sega_837_13551(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + static void static_set_port_tag(device_t &device, int port, const char *tag); virtual const rom_entry *device_rom_region() const override; @@ -55,7 +55,7 @@ protected: virtual bool swoutputs(UINT8 id, UINT8 val) override; private: - std::string port_tag[12]; + const char *port_tag[12]; ioport_port *port[12]; UINT16 coin_counter[2]; }; diff --git a/src/mame/machine/k573cass.cpp b/src/mame/machine/k573cass.cpp index c27109c26ce..4f6c8769d6e 100644 --- a/src/mame/machine/k573cass.cpp +++ b/src/mame/machine/k573cass.cpp @@ -63,14 +63,14 @@ READ_LINE_MEMBER(konami573_cassette_interface::read_line_adc083x_sars) const device_type KONAMI573_CASSETTE_X = &device_creator; -konami573_cassette_x_device::konami573_cassette_x_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +konami573_cassette_x_device::konami573_cassette_x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, KONAMI573_CASSETTE_X, "Konami 573 Cassette X", tag, owner, clock, "k573cassx", __FILE__), konami573_cassette_interface(mconfig, *this), m_x76f041(*this, "eeprom") { } -konami573_cassette_x_device::konami573_cassette_x_device(const machine_config &mconfig, const device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : +konami573_cassette_x_device::konami573_cassette_x_device(const machine_config &mconfig, const device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__), konami573_cassette_interface(mconfig, *this), m_x76f041(*this, "eeprom") @@ -119,7 +119,7 @@ READ_LINE_MEMBER(konami573_cassette_x_device::read_line_secflash_sda) const device_type KONAMI573_CASSETTE_XI = &device_creator; -konami573_cassette_xi_device::konami573_cassette_xi_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +konami573_cassette_xi_device::konami573_cassette_xi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : konami573_cassette_x_device(mconfig, KONAMI573_CASSETTE_XI, "Konami 573 Cassette XI", tag, owner, clock, "k573cassxi", __FILE__), m_ds2401(*this, "id"), m_adc0838(*this, "adc0838") @@ -179,7 +179,7 @@ READ_LINE_MEMBER(konami573_cassette_xi_device::read_line_adc083x_sars) const device_type KONAMI573_CASSETTE_Y = &device_creator; -konami573_cassette_y_device::konami573_cassette_y_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +konami573_cassette_y_device::konami573_cassette_y_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, KONAMI573_CASSETTE_Y, "Konami 573 Cassette Y", tag, owner, clock, "k573cassy", __FILE__), konami573_cassette_interface(mconfig, *this), m_x76f100(*this, "eeprom"), @@ -194,7 +194,7 @@ konami573_cassette_y_device::konami573_cassette_y_device(const machine_config &m { } -konami573_cassette_y_device::konami573_cassette_y_device(const machine_config &mconfig, const device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : +konami573_cassette_y_device::konami573_cassette_y_device(const machine_config &mconfig, const device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__), konami573_cassette_interface(mconfig, *this), m_x76f100(*this, "eeprom"), @@ -284,7 +284,7 @@ WRITE_LINE_MEMBER(konami573_cassette_y_device::write_line_d7) const device_type KONAMI573_CASSETTE_YI = &device_creator; -konami573_cassette_yi_device::konami573_cassette_yi_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +konami573_cassette_yi_device::konami573_cassette_yi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : konami573_cassette_y_device(mconfig, KONAMI573_CASSETTE_YI, "Konami 573 Cassette YI", tag, owner, clock, "k573cassyi", __FILE__), m_ds2401(*this, "id") { @@ -315,7 +315,7 @@ READ_LINE_MEMBER(konami573_cassette_yi_device::read_line_ds2401) const device_type KONAMI573_CASSETTE_ZI = &device_creator; -konami573_cassette_zi_device::konami573_cassette_zi_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +konami573_cassette_zi_device::konami573_cassette_zi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, KONAMI573_CASSETTE_ZI, "Konami 573 Cassette ZI", tag, owner, clock, "k573casszi", __FILE__), konami573_cassette_interface(mconfig, *this), m_zs01(*this,"eeprom"), @@ -377,7 +377,7 @@ READ_LINE_MEMBER(konami573_cassette_zi_device::read_line_secflash_sda) const device_type KONAMI573_CASSETTE_SLOT = &device_creator; -konami573_cassette_slot_device::konami573_cassette_slot_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +konami573_cassette_slot_device::konami573_cassette_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, KONAMI573_CASSETTE_SLOT, "Konami 573 Cassette Slot", tag, owner, clock, "k573cassslot", __FILE__), device_slot_interface(mconfig, *this), m_dsr_handler(*this) diff --git a/src/mame/machine/k573cass.h b/src/mame/machine/k573cass.h index 4c7153fe50c..899667c7b7b 100644 --- a/src/mame/machine/k573cass.h +++ b/src/mame/machine/k573cass.h @@ -30,7 +30,7 @@ class konami573_cassette_slot_device : public device_t, friend class konami573_cassette_interface; public: - konami573_cassette_slot_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + konami573_cassette_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_dsr_handler(device_t &device, _Object object) { return downcast(device).m_dsr_handler.set_callback(object); } @@ -91,8 +91,8 @@ class konami573_cassette_x_device: public device_t, public konami573_cassette_interface { public: - konami573_cassette_x_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - konami573_cassette_x_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock,const char *shortname, const char *source); + konami573_cassette_x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + konami573_cassette_x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock,const char *shortname, const char *source); virtual DECLARE_READ_LINE_MEMBER(read_line_secflash_sda) override; virtual DECLARE_WRITE_LINE_MEMBER(write_line_d0) override; @@ -114,7 +114,7 @@ extern const device_type KONAMI573_CASSETTE_XI; class konami573_cassette_xi_device: public konami573_cassette_x_device { public: - konami573_cassette_xi_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + konami573_cassette_xi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual DECLARE_READ_LINE_MEMBER(read_line_ds2401) override; virtual DECLARE_WRITE_LINE_MEMBER(write_line_d4) override; @@ -167,8 +167,8 @@ class konami573_cassette_y_device: public device_t, public konami573_cassette_interface { public: - konami573_cassette_y_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - konami573_cassette_y_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock,const char *shortname, const char *source); + konami573_cassette_y_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + konami573_cassette_y_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock,const char *shortname, const char *source); // static configuration helpers template static devcb_base &set_d0_handler(device_t &device, _Object object) { return downcast(device).m_d0_handler.set_callback(object); } @@ -212,7 +212,7 @@ extern const device_type KONAMI573_CASSETTE_YI; class konami573_cassette_yi_device: public konami573_cassette_y_device { public: - konami573_cassette_yi_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + konami573_cassette_yi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual DECLARE_READ_LINE_MEMBER(read_line_ds2401) override; virtual DECLARE_WRITE_LINE_MEMBER(write_line_d4) override; @@ -231,7 +231,7 @@ class konami573_cassette_zi_device: public device_t, public konami573_cassette_interface { public: - konami573_cassette_zi_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + konami573_cassette_zi_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual DECLARE_READ_LINE_MEMBER(read_line_ds2401) override; virtual DECLARE_READ_LINE_MEMBER(read_line_secflash_sda) override; diff --git a/src/mame/machine/k573dio.cpp b/src/mame/machine/k573dio.cpp index 0a8e963e2e2..672aa2fa209 100644 --- a/src/mame/machine/k573dio.cpp +++ b/src/mame/machine/k573dio.cpp @@ -105,7 +105,7 @@ static MACHINE_CONFIG_FRAGMENT( k573dio ) MCFG_DS2401_ADD( "digital_id" ) MACHINE_CONFIG_END -k573dio_device::k573dio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k573dio_device::k573dio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, KONAMI_573_DIGITAL_IO_BOARD, "Konami 573 digital I/O board", tag, owner, clock, "k573dio", __FILE__), mas3507d(*this, "mpeg"), digital_id(*this, "digital_id"), @@ -147,37 +147,37 @@ void k573dio_device::device_timer(emu_timer &timer, device_timer_id id, int para READ16_MEMBER(k573dio_device::a00_r) { - logerror("%s: a00_r (%s)\n", tag().c_str(), machine().describe_context()); + logerror("%s: a00_r (%s)\n", tag(), machine().describe_context()); return 0x0000; } READ16_MEMBER(k573dio_device::a02_r) { - logerror("%s: a02_r (%s)\n", tag().c_str(), machine().describe_context()); + logerror("%s: a02_r (%s)\n", tag(), machine().describe_context()); return 0x0001; } READ16_MEMBER(k573dio_device::a04_r) { - logerror("%s: a04_r (%s)\n", tag().c_str(), machine().describe_context()); + logerror("%s: a04_r (%s)\n", tag(), machine().describe_context()); return 0x0000; } READ16_MEMBER(k573dio_device::a06_r) { - logerror("%s: a06_r (%s)\n", tag().c_str(), machine().describe_context()); + logerror("%s: a06_r (%s)\n", tag(), machine().describe_context()); return 0x0000; } READ16_MEMBER(k573dio_device::a0a_r) { - logerror("%s: a0a_r (%s)\n", tag().c_str(), machine().describe_context()); + logerror("%s: a0a_r (%s)\n", tag(), machine().describe_context()); return 0x0000; } READ16_MEMBER(k573dio_device::a80_r) { - logerror("%s: a80_r (%s)\n", tag().c_str(), machine().describe_context()); + logerror("%s: a80_r (%s)\n", tag(), machine().describe_context()); return 0x1234; } @@ -304,7 +304,7 @@ WRITE16_MEMBER(k573dio_device::digital_id_w) READ16_MEMBER(k573dio_device::fpga_status_r) { - logerror("%s: fpga_status_r (%s)\n", tag().c_str(), machine().describe_context()); + logerror("%s: fpga_status_r (%s)\n", tag(), machine().describe_context()); // fpga/digital board status checks // wants & c000 = 8000 (just after program upload?) diff --git a/src/mame/machine/k573dio.h b/src/mame/machine/k573dio.h index 7b5d0508640..9762536b072 100644 --- a/src/mame/machine/k573dio.h +++ b/src/mame/machine/k573dio.h @@ -17,7 +17,7 @@ class k573dio_device : public device_t { public: - k573dio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k573dio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template void set_output_cb(_write _output_cb) { diff --git a/src/mame/machine/k573mcr.cpp b/src/mame/machine/k573mcr.cpp index a1fffd470ef..a9866370176 100644 --- a/src/mame/machine/k573mcr.cpp +++ b/src/mame/machine/k573mcr.cpp @@ -11,7 +11,7 @@ GE885-PWB(A)A ( contains Toshiba tmpr3904af, ram, rom, tranceiver and glue ). */ -k573mcr_device::k573mcr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +k573mcr_device::k573mcr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, KONAMI_573_MEMORY_CARD_READER, "Konami 573 Memory Card Reader", tag, owner, clock, "k573mcr", __FILE__) { } diff --git a/src/mame/machine/k573mcr.h b/src/mame/machine/k573mcr.h index 09e761aa5db..4241bc33f96 100644 --- a/src/mame/machine/k573mcr.h +++ b/src/mame/machine/k573mcr.h @@ -17,7 +17,7 @@ extern const device_type KONAMI_573_MEMORY_CARD_READER; class k573mcr_device : public device_t { public: - k573mcr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k573mcr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: virtual void device_start() override; diff --git a/src/mame/machine/k573msu.cpp b/src/mame/machine/k573msu.cpp index be3ddb6fc3e..b3c38ab95d9 100644 --- a/src/mame/machine/k573msu.cpp +++ b/src/mame/machine/k573msu.cpp @@ -71,7 +71,7 @@ */ -k573msu_device::k573msu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +k573msu_device::k573msu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, KONAMI_573_MULTI_SESSION_UNIT, "Konami 573 Multi Session Unit", tag, owner, clock, "k573msu", __FILE__) { } diff --git a/src/mame/machine/k573msu.h b/src/mame/machine/k573msu.h index 29b42c94623..3d4940039a9 100644 --- a/src/mame/machine/k573msu.h +++ b/src/mame/machine/k573msu.h @@ -17,7 +17,7 @@ extern const device_type KONAMI_573_MULTI_SESSION_UNIT; class k573msu_device : public device_t { public: - k573msu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k573msu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: virtual void device_start() override; diff --git a/src/mame/machine/k573npu.cpp b/src/mame/machine/k573npu.cpp index 89cf1716f77..f79494d7b56 100644 --- a/src/mame/machine/k573npu.cpp +++ b/src/mame/machine/k573npu.cpp @@ -71,7 +71,7 @@ */ -k573npu_device::k573npu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +k573npu_device::k573npu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, KONAMI_573_NETWORK_PCB_UNIT, "Konami 573 Network PCB Unit", tag, owner, clock, "k573npu", __FILE__) { } diff --git a/src/mame/machine/k573npu.h b/src/mame/machine/k573npu.h index 1a25c00b502..13c4d598216 100644 --- a/src/mame/machine/k573npu.h +++ b/src/mame/machine/k573npu.h @@ -17,7 +17,7 @@ extern const device_type KONAMI_573_NETWORK_PCB_UNIT; class k573npu_device : public device_t { public: - k573npu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k573npu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: virtual void device_start() override; diff --git a/src/mame/machine/k7659kb.cpp b/src/mame/machine/k7659kb.cpp index e254b7d7fc2..5b46d8a9814 100644 --- a/src/mame/machine/k7659kb.cpp +++ b/src/mame/machine/k7659kb.cpp @@ -212,7 +212,7 @@ ioport_constructor k7659_keyboard_device::device_input_ports() const // k7659_keyboard_device - constructor //------------------------------------------------- -k7659_keyboard_device::k7659_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k7659_keyboard_device::k7659_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K7659_KEYBOARD, "K7659 Keyboard", tag, owner, clock, "k7659kb", __FILE__) {} diff --git a/src/mame/machine/k7659kb.h b/src/mame/machine/k7659kb.h index 9c43f26ff16..c18031b61bf 100644 --- a/src/mame/machine/k7659kb.h +++ b/src/mame/machine/k7659kb.h @@ -43,7 +43,7 @@ class k7659_keyboard_device : public device_t { public: // construction/destruction - k7659_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k7659_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual const rom_entry *device_rom_region() const override; diff --git a/src/mame/machine/kaneko_calc3.cpp b/src/mame/machine/kaneko_calc3.cpp index 5a11a34acd7..10390dae679 100644 --- a/src/mame/machine/kaneko_calc3.cpp +++ b/src/mame/machine/kaneko_calc3.cpp @@ -29,7 +29,7 @@ const device_type KANEKO_CALC3 = &device_creator; -kaneko_calc3_device::kaneko_calc3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +kaneko_calc3_device::kaneko_calc3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, KANEKO_CALC3, "Kaneko CALC3 MCU", tag, owner, clock, "kaneko_calc3", __FILE__), m_mcuram(*this, ":mcuram"), m_mcu_status(0), diff --git a/src/mame/machine/kaneko_calc3.h b/src/mame/machine/kaneko_calc3.h index f72de99aa0f..af5e1d31d94 100644 --- a/src/mame/machine/kaneko_calc3.h +++ b/src/mame/machine/kaneko_calc3.h @@ -9,7 +9,7 @@ class kaneko_calc3_device : public device_t { public: - kaneko_calc3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + kaneko_calc3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_WRITE16_MEMBER(mcu_com0_w); DECLARE_WRITE16_MEMBER(mcu_com1_w); diff --git a/src/mame/machine/kaneko_hit.cpp b/src/mame/machine/kaneko_hit.cpp index 650e71125ea..626b03bde29 100644 --- a/src/mame/machine/kaneko_hit.cpp +++ b/src/mame/machine/kaneko_hit.cpp @@ -30,7 +30,7 @@ const device_type KANEKO_HIT = &device_creator; -kaneko_hit_device::kaneko_hit_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +kaneko_hit_device::kaneko_hit_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, KANEKO_HIT, "Kaneko CALC Hitbox", tag, owner, clock, "kaneko_hit", __FILE__) { m_hittype = -1; diff --git a/src/mame/machine/kaneko_hit.h b/src/mame/machine/kaneko_hit.h index 93b4d70fce0..815fa4bd70c 100644 --- a/src/mame/machine/kaneko_hit.h +++ b/src/mame/machine/kaneko_hit.h @@ -38,7 +38,7 @@ struct calc3_hit_t class kaneko_hit_device : public device_t { public: - kaneko_hit_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + kaneko_hit_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); static void set_type(device_t &device, int hittype); diff --git a/src/mame/machine/kaneko_toybox.cpp b/src/mame/machine/kaneko_toybox.cpp index 070234bea1c..73e8927b7ed 100644 --- a/src/mame/machine/kaneko_toybox.cpp +++ b/src/mame/machine/kaneko_toybox.cpp @@ -53,7 +53,7 @@ mcu_subcmd = kaneko16_mcu_ram[0x0014/2]; // sub-command parameter, happens o const device_type KANEKO_TOYBOX = &device_creator; -kaneko_toybox_device::kaneko_toybox_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +kaneko_toybox_device::kaneko_toybox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, KANEKO_TOYBOX, "Kaneko Toybox MCU", tag, owner, clock, "kaneko_toybox", __FILE__), m_mcuram(*this, ":mcuram"), m_gametype(GAME_NORMAL), @@ -158,7 +158,7 @@ WRITE16_MEMBER(kaneko_toybox_device::mcu_com3_w){ mcu_com_w(offset, data, mem_ma */ READ16_MEMBER(kaneko_toybox_device::mcu_status_r) { - logerror("CPU %s (PC=%06X) : read MCU status\n", space.device().tag().c_str(), space.device().safe_pcbase()); + logerror("CPU %s (PC=%06X) : read MCU status\n", space.device().tag(), space.device().safe_pcbase()); return 0; // most games test bit 0 for failure } diff --git a/src/mame/machine/kaneko_toybox.h b/src/mame/machine/kaneko_toybox.h index 855ab14cabc..98b4bbbec34 100644 --- a/src/mame/machine/kaneko_toybox.h +++ b/src/mame/machine/kaneko_toybox.h @@ -335,7 +335,7 @@ static const UINT8 decryption_table_alt[0x100] = { class kaneko_toybox_device : public device_t { public: - kaneko_toybox_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + kaneko_toybox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); static void set_table(device_t &device, int tabletype); static void set_game_type(device_t &device, int gametype); diff --git a/src/mame/machine/kc_keyb.cpp b/src/mame/machine/kc_keyb.cpp index 9a6859fbd44..740d0dc7fce 100644 --- a/src/mame/machine/kc_keyb.cpp +++ b/src/mame/machine/kc_keyb.cpp @@ -435,7 +435,7 @@ INPUT_PORTS_END //------------------------------------------------- // kc_keyboard_device - constructor //------------------------------------------------- -kc_keyboard_device::kc_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +kc_keyboard_device::kc_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, KC_KEYBOARD, "KC Keyboard", tag, owner, clock, "kc_keyboard", __FILE__), m_write_out(*this) { diff --git a/src/mame/machine/kc_keyb.h b/src/mame/machine/kc_keyb.h index d6c851dba34..152a886e65f 100644 --- a/src/mame/machine/kc_keyb.h +++ b/src/mame/machine/kc_keyb.h @@ -25,7 +25,7 @@ class kc_keyboard_device : public device_t { public: // construction/destruction - kc_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + kc_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ~kc_keyboard_device(); template static devcb_base &set_out_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_out.set_callback(object); } diff --git a/src/mame/machine/konami1.cpp b/src/mame/machine/konami1.cpp index aa930c81c85..c0240bcbc78 100644 --- a/src/mame/machine/konami1.cpp +++ b/src/mame/machine/konami1.cpp @@ -11,7 +11,7 @@ const device_type KONAMI1 = &device_creator; -konami1_device::konami1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +konami1_device::konami1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : m6809_base_device(mconfig, "KONAMI-1", tag, owner, clock, KONAMI1, 1, "konami1", __FILE__) { m_boundary = 0x0000; diff --git a/src/mame/machine/konami1.h b/src/mame/machine/konami1.h index 1753e10e66e..4c5b369896d 100644 --- a/src/mame/machine/konami1.h +++ b/src/mame/machine/konami1.h @@ -5,7 +5,7 @@ class konami1_device : public m6809_base_device { public: - konami1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + konami1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); void set_encryption_boundary(UINT16 adr); diff --git a/src/mame/machine/konppc.cpp b/src/mame/machine/konppc.cpp index 74ac6de2a3d..d70d3364142 100644 --- a/src/mame/machine/konppc.cpp +++ b/src/mame/machine/konppc.cpp @@ -16,7 +16,7 @@ const device_type KONPPC = &device_creator; -konppc_device::konppc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +konppc_device::konppc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, KONPPC, "Konami PowerPC Common Functions", tag, owner, clock, "konppc", __FILE__), cgboard_type(0), num_cgboards(0)/*, diff --git a/src/mame/machine/konppc.h b/src/mame/machine/konppc.h index 81bd547d6c5..cc3a3c386b9 100644 --- a/src/mame/machine/konppc.h +++ b/src/mame/machine/konppc.h @@ -21,7 +21,7 @@ class konppc_device : public device_t { public: // construction/destruction - konppc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + konppc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); static void static_set_num_boards(device_t &device, int num) { downcast(device).num_cgboards = num; } static void static_set_cbboard_type(device_t &device, int cgtype) { downcast(device).cgboard_type = cgtype; } diff --git a/src/mame/machine/m1comm.cpp b/src/mame/machine/m1comm.cpp index e94e40fa73b..ceec0fc893b 100644 --- a/src/mame/machine/m1comm.cpp +++ b/src/mame/machine/m1comm.cpp @@ -122,7 +122,7 @@ const rom_entry *m1comm_device::device_rom_region() const // m1comm_device - constructor //------------------------------------------------- -m1comm_device::m1comm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +m1comm_device::m1comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, M1COMM, "MODEL-1 COMMUNICATION BD", tag, owner, clock, "m1comm", __FILE__), m_commcpu(*this, Z80_TAG), m_line_rx(OPEN_FLAG_WRITE | OPEN_FLAG_CREATE ), diff --git a/src/mame/machine/m1comm.h b/src/mame/machine/m1comm.h index e9690e20d6d..56106dbe28f 100644 --- a/src/mame/machine/m1comm.h +++ b/src/mame/machine/m1comm.h @@ -21,7 +21,7 @@ class m1comm_device : public device_t { public: // construction/destruction - m1comm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + m1comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; diff --git a/src/mame/machine/m20_8086.cpp b/src/mame/machine/m20_8086.cpp index 2d8ddd62666..5c817b17edf 100644 --- a/src/mame/machine/m20_8086.cpp +++ b/src/mame/machine/m20_8086.cpp @@ -5,7 +5,7 @@ const device_type M20_8086 = &device_creator; -m20_8086_device::m20_8086_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +m20_8086_device::m20_8086_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, M20_8086, "Olivetti M20 8086 Adapter", tag, owner, clock, "m20_8086", __FILE__), m_8086(*this, "8086"), m_maincpu(*this, ":maincpu"), diff --git a/src/mame/machine/m20_8086.h b/src/mame/machine/m20_8086.h index bc8cd62d47c..1f2cc041d69 100644 --- a/src/mame/machine/m20_8086.h +++ b/src/mame/machine/m20_8086.h @@ -10,7 +10,7 @@ class m20_8086_device : public device_t { public: - m20_8086_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + m20_8086_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual const rom_entry *device_rom_region() const override; virtual machine_config_constructor device_mconfig_additions() const override; diff --git a/src/mame/machine/m20_kbd.cpp b/src/mame/machine/m20_kbd.cpp index 9b8491f94c6..ecccffae775 100644 --- a/src/mame/machine/m20_kbd.cpp +++ b/src/mame/machine/m20_kbd.cpp @@ -4,7 +4,7 @@ #include "machine/m20_kbd.h" -m20_keyboard_device::m20_keyboard_device(const machine_config& mconfig, std::string tag, device_t* owner, UINT32 clock) : +m20_keyboard_device::m20_keyboard_device(const machine_config& mconfig, const char* tag, device_t* owner, UINT32 clock) : serial_keyboard_device(mconfig, M20_KEYBOARD, "M20 Keyboard", tag, owner, 0, "m20_keyboard", __FILE__) { } diff --git a/src/mame/machine/m20_kbd.h b/src/mame/machine/m20_kbd.h index 93e5a039b11..3cade9c11e4 100644 --- a/src/mame/machine/m20_kbd.h +++ b/src/mame/machine/m20_kbd.h @@ -8,7 +8,7 @@ class m20_keyboard_device : public serial_keyboard_device { public: - m20_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + m20_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ioport_constructor device_input_ports() const override; protected: diff --git a/src/mame/machine/m24_kbd.cpp b/src/mame/machine/m24_kbd.cpp index a29c518943b..5cc05a95b16 100644 --- a/src/mame/machine/m24_kbd.cpp +++ b/src/mame/machine/m24_kbd.cpp @@ -210,7 +210,7 @@ ioport_constructor m24_keyboard_device::device_input_ports() const return INPUT_PORTS_NAME( m24_keyboard ); } -m24_keyboard_device::m24_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +m24_keyboard_device::m24_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, M24_KEYBOARD, "Olivetti M24 Keyboard", tag, owner, clock, "m24_kbd", __FILE__), m_rows(*this, "ROW"), m_mousebtn(*this, "MOUSEBTN"), diff --git a/src/mame/machine/m24_kbd.h b/src/mame/machine/m24_kbd.h index 2b87a80e90c..489d094929e 100644 --- a/src/mame/machine/m24_kbd.h +++ b/src/mame/machine/m24_kbd.h @@ -12,7 +12,7 @@ class m24_keyboard_device : public device_t { public: - m24_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + m24_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_out_data_handler(device_t &device, _Object object) { return downcast(device).m_out_data.set_callback(object); } diff --git a/src/mame/machine/m24_z8000.cpp b/src/mame/machine/m24_z8000.cpp index 3224c3445d6..d89034b4736 100644 --- a/src/mame/machine/m24_z8000.cpp +++ b/src/mame/machine/m24_z8000.cpp @@ -4,7 +4,7 @@ const device_type M24_Z8000 = &device_creator; -m24_z8000_device::m24_z8000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +m24_z8000_device::m24_z8000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, M24_Z8000, "Olivetti M24 Z8000 Adapter", tag, owner, clock, "m24_z8000", __FILE__), m_z8000(*this, "z8000"), m_maincpu(*this, ":maincpu"), diff --git a/src/mame/machine/m24_z8000.h b/src/mame/machine/m24_z8000.h index e07d9e75c22..283bd301ac9 100644 --- a/src/mame/machine/m24_z8000.h +++ b/src/mame/machine/m24_z8000.h @@ -15,7 +15,7 @@ class m24_z8000_device : public device_t { public: - m24_z8000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + m24_z8000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual const rom_entry *device_rom_region() const override; virtual machine_config_constructor device_mconfig_additions() const override; diff --git a/src/mame/machine/m2comm.cpp b/src/mame/machine/m2comm.cpp index 4c034fc91c9..4c45669076c 100644 --- a/src/mame/machine/m2comm.cpp +++ b/src/mame/machine/m2comm.cpp @@ -194,7 +194,7 @@ machine_config_constructor m2comm_device::device_mconfig_additions() const // m2comm_device - constructor //------------------------------------------------- -m2comm_device::m2comm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +m2comm_device::m2comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, M2COMM, "MODEL2 COMMUNICATION BD", tag, owner, clock, "m2comm", __FILE__), m_line_rx(OPEN_FLAG_WRITE | OPEN_FLAG_CREATE ), m_line_tx(OPEN_FLAG_READ) diff --git a/src/mame/machine/m2comm.h b/src/mame/machine/m2comm.h index 890761148dd..8566f2cdd33 100644 --- a/src/mame/machine/m2comm.h +++ b/src/mame/machine/m2comm.h @@ -20,7 +20,7 @@ class m2comm_device : public device_t { public: // construction/destruction - m2comm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + m2comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; diff --git a/src/mame/machine/mackbd.cpp b/src/mame/machine/mackbd.cpp index 44739089e72..7244b16866f 100644 --- a/src/mame/machine/mackbd.cpp +++ b/src/mame/machine/mackbd.cpp @@ -209,7 +209,7 @@ ioport_constructor mackbd_device::device_input_ports() const // mackbd_device - constructor //------------------------------------------------- -mackbd_device::mackbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +mackbd_device::mackbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MACKBD, "Macintosh keyboard", tag, owner, clock, "mackbd", __FILE__), m_maincpu(*this, MACKBD_CPU_TAG), m_clkout_handler(*this), diff --git a/src/mame/machine/mackbd.h b/src/mame/machine/mackbd.h index dadab8065aa..946d549c0cb 100644 --- a/src/mame/machine/mackbd.h +++ b/src/mame/machine/mackbd.h @@ -42,7 +42,7 @@ public: template static devcb_base &set_dataout_handler(device_t &device, _Object object) { return downcast(device).m_dataout_handler.set_callback(object); } // construction/destruction - mackbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + mackbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_READ8_MEMBER(p0_r); DECLARE_WRITE8_MEMBER(p0_w); diff --git a/src/mame/machine/macrtc.cpp b/src/mame/machine/macrtc.cpp index 0d63e06e6de..dd047014c0f 100644 --- a/src/mame/machine/macrtc.cpp +++ b/src/mame/machine/macrtc.cpp @@ -40,7 +40,7 @@ const device_type RTC3430042 = &device_creator; // rtc4543_device - constructor //------------------------------------------------- -rtc3430042_device::rtc3430042_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +rtc3430042_device::rtc3430042_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, RTC3430042, "Apple 343-0042 clock/PRAM", tag, owner, clock, "rtc3430042", __FILE__), device_rtc_interface(mconfig, *this), device_nvram_interface(mconfig, *this) diff --git a/src/mame/machine/macrtc.h b/src/mame/machine/macrtc.h index a06715524fd..ea8726a8fd2 100644 --- a/src/mame/machine/macrtc.h +++ b/src/mame/machine/macrtc.h @@ -36,7 +36,7 @@ class rtc3430042_device : public device_t, { public: // construction/destruction - rtc3430042_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + rtc3430042_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_WRITE_LINE_MEMBER( ce_w ); DECLARE_WRITE_LINE_MEMBER( clk_w ); diff --git a/src/mame/machine/maple-dc.cpp b/src/mame/machine/maple-dc.cpp index 3d94ce70708..dcefe0fd84c 100644 --- a/src/mame/machine/maple-dc.cpp +++ b/src/mame/machine/maple-dc.cpp @@ -28,7 +28,7 @@ void maple_dc_device::static_set_irq_cb(device_t &device, void (*irq_cb)(running maple_dc.irq_cb = irq_cb; } -maple_dc_device::maple_dc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +maple_dc_device::maple_dc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MAPLE_DC, "Dreamcast Maple Bus", tag, owner, clock, "maple_dc", __FILE__) { // Do not move that in device_start or there will be a race diff --git a/src/mame/machine/maple-dc.h b/src/mame/machine/maple-dc.h index 177a606f0fb..dcecaa9d2b5 100644 --- a/src/mame/machine/maple-dc.h +++ b/src/mame/machine/maple-dc.h @@ -15,7 +15,7 @@ class maple_device; class maple_dc_device : public device_t { public: - maple_dc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + maple_dc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); static void static_set_maincpu_tag(device_t &device, const char *maincpu_tag); static void static_set_irq_cb(device_t &device, void (*irq_cb)(running_machine &)); diff --git a/src/mame/machine/mapledev.cpp b/src/mame/machine/mapledev.cpp index d9f95e9351b..0f7630e3315 100644 --- a/src/mame/machine/mapledev.cpp +++ b/src/mame/machine/mapledev.cpp @@ -12,7 +12,7 @@ void maple_device::static_set_host(device_t &device, const char *_host_tag, int } -maple_device::maple_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source) +maple_device::maple_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source) { host_tag = nullptr; host_port = 0; diff --git a/src/mame/machine/mapledev.h b/src/mame/machine/mapledev.h index f9e58ac64c4..2a2b93ca93c 100644 --- a/src/mame/machine/mapledev.h +++ b/src/mame/machine/mapledev.h @@ -10,7 +10,7 @@ class maple_device : public device_t { public: - maple_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + maple_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); static void static_set_host(device_t &device, const char *_host_tag, int _host_port); virtual void maple_w(const UINT32 *data, UINT32 in_size) = 0; diff --git a/src/mame/machine/mathbox.cpp b/src/mame/machine/mathbox.cpp index 1366081c7e2..7b014ed1158 100644 --- a/src/mame/machine/mathbox.cpp +++ b/src/mame/machine/mathbox.cpp @@ -39,7 +39,7 @@ const device_type MATHBOX = &device_creator; -mathbox_device::mathbox_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +mathbox_device::mathbox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MATHBOX, "Atari MATHBOX", tag, owner, clock, "mathbox", __FILE__) { } diff --git a/src/mame/machine/mathbox.h b/src/mame/machine/mathbox.h index be0df88cb10..d50bb690687 100644 --- a/src/mame/machine/mathbox.h +++ b/src/mame/machine/mathbox.h @@ -19,7 +19,7 @@ class mathbox_device : public device_t { public: - mathbox_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + mathbox_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_WRITE8_MEMBER( go_w ); DECLARE_READ8_MEMBER( status_r ); diff --git a/src/mame/machine/mega32x.cpp b/src/mame/machine/mega32x.cpp index 5cb33c67037..864e3d00b0b 100644 --- a/src/mame/machine/mega32x.cpp +++ b/src/mame/machine/mega32x.cpp @@ -204,7 +204,7 @@ GFX check (these don't explicitly fails): const device_type SEGA_32X_NTSC = &device_creator; const device_type SEGA_32X_PAL = &device_creator; -sega_32x_device::sega_32x_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +sega_32x_device::sega_32x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_master_cpu(*this, "32x_master_sh2"), m_slave_cpu(*this, "32x_slave_sh2"), @@ -215,12 +215,12 @@ sega_32x_device::sega_32x_device(const machine_config &mconfig, device_type type { } -sega_32x_ntsc_device::sega_32x_ntsc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sega_32x_ntsc_device::sega_32x_ntsc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : sega_32x_device(mconfig, SEGA_32X_NTSC, "sega_32x_ntsc", tag, owner, clock, "sega_32x_ntsc", __FILE__) { } -sega_32x_pal_device::sega_32x_pal_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sega_32x_pal_device::sega_32x_pal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : sega_32x_device(mconfig, SEGA_32X_PAL, "sega_32x_pal", tag, owner, clock, "sega_32x_pal", __FILE__) { } @@ -230,7 +230,7 @@ sega_32x_pal_device::sega_32x_pal_device(const machine_config &mconfig, std::str // palette device //------------------------------------------------- -void sega_32x_device::static_set_palette_tag(device_t &device, std::string tag) +void sega_32x_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/machine/mega32x.h b/src/mame/machine/mega32x.h index ab33076bba0..f076b0f7a71 100644 --- a/src/mame/machine/mega32x.h +++ b/src/mame/machine/mega32x.h @@ -31,7 +31,7 @@ class sega_32x_device : public device_t { public: - sega_32x_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + sega_32x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); required_device m_master_cpu; required_device m_slave_cpu; @@ -49,7 +49,7 @@ public: void update_total_scanlines(bool mode3) { m_total_scanlines = mode3 ? (m_base_total_scanlines * 2) : m_base_total_scanlines; } // this gets set at each EOF // static configuration - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_palette_tag(device_t &device, const char *tag); DECLARE_READ32_MEMBER( _32x_sh2_master_4000_common_4002_r ); DECLARE_READ32_MEMBER( _32x_sh2_slave_4000_common_4002_r ); @@ -215,14 +215,14 @@ private: class sega_32x_ntsc_device : public sega_32x_device { public: - sega_32x_ntsc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sega_32x_ntsc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; class sega_32x_pal_device : public sega_32x_device { public: - sega_32x_pal_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sega_32x_pal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: virtual machine_config_constructor device_mconfig_additions() const override; }; diff --git a/src/mame/machine/megacd.cpp b/src/mame/machine/megacd.cpp index 892120aa1e2..a76c07d4f25 100644 --- a/src/mame/machine/megacd.cpp +++ b/src/mame/machine/megacd.cpp @@ -289,7 +289,7 @@ machine_config_constructor sega_segacd_device::device_mconfig_additions() const } -sega_segacd_device::sega_segacd_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +sega_segacd_device::sega_segacd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_gfx_interface(mconfig, *this, GFXDECODE_NAME( segacd )), m_scdcpu(*this, "segacd_68k"), @@ -305,17 +305,17 @@ sega_segacd_device::sega_segacd_device(const machine_config &mconfig, device_typ { } -sega_segacd_us_device::sega_segacd_us_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sega_segacd_us_device::sega_segacd_us_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : sega_segacd_device(mconfig, SEGA_SEGACD_US, "sega_segacd_us", tag, owner, clock, "sega_segacd_us", __FILE__) { } -sega_segacd_japan_device::sega_segacd_japan_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sega_segacd_japan_device::sega_segacd_japan_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : sega_segacd_device(mconfig, SEGA_SEGACD_JAPAN, "sega_segacd_japan", tag, owner, clock, "sega_segacd_japan", __FILE__) { } -sega_segacd_europe_device::sega_segacd_europe_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sega_segacd_europe_device::sega_segacd_europe_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : sega_segacd_device(mconfig, SEGA_SEGACD_EUROPE, "sega_segacd_europe", tag, owner, clock, "sega_segacd_europe", __FILE__) { } diff --git a/src/mame/machine/megacd.h b/src/mame/machine/megacd.h index 851592224c5..5823c0bd02c 100644 --- a/src/mame/machine/megacd.h +++ b/src/mame/machine/megacd.h @@ -42,7 +42,7 @@ class sega_segacd_device : public device_t, public device_gfx_interface { public: - sega_segacd_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + sega_segacd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); required_device m_scdcpu; required_device m_rfsnd; @@ -225,7 +225,7 @@ private: class sega_segacd_us_device : public sega_segacd_device { public: - sega_segacd_us_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sega_segacd_us_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: }; @@ -233,7 +233,7 @@ class sega_segacd_us_device : public sega_segacd_device class sega_segacd_japan_device : public sega_segacd_device { public: - sega_segacd_japan_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sega_segacd_japan_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: // virtual machine_config_constructor device_mconfig_additions() const; }; @@ -241,7 +241,7 @@ class sega_segacd_japan_device : public sega_segacd_device class sega_segacd_europe_device : public sega_segacd_device { public: - sega_segacd_europe_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sega_segacd_europe_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: // virtual machine_config_constructor device_mconfig_additions() const; }; diff --git a/src/mame/machine/megacdcd.cpp b/src/mame/machine/megacdcd.cpp index 21d5309da40..0fd65a3d2c0 100644 --- a/src/mame/machine/megacdcd.cpp +++ b/src/mame/machine/megacdcd.cpp @@ -12,7 +12,7 @@ const device_type LC89510_TEMP = &device_creator; -lc89510_temp_device::lc89510_temp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +lc89510_temp_device::lc89510_temp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, LC89510_TEMP, "lc89510_temp_device", tag, owner, clock, "lc89510_temp", __FILE__) { segacd_dma_callback = segacd_dma_delegate(FUNC(lc89510_temp_device::Fake_CDC_Do_DMA), this); diff --git a/src/mame/machine/megacdcd.h b/src/mame/machine/megacdcd.h index 7a16c1785ea..2039f48587b 100644 --- a/src/mame/machine/megacdcd.h +++ b/src/mame/machine/megacdcd.h @@ -147,7 +147,7 @@ typedef device_delegate interrupt_delegate; class lc89510_temp_device : public device_t { public: - lc89510_temp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + lc89510_temp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // HACK for DMA handling segacd_dma_delegate segacd_dma_callback; diff --git a/src/mame/machine/meters.cpp b/src/mame/machine/meters.cpp index 6a416610b7c..651e5902e20 100644 --- a/src/mame/machine/meters.cpp +++ b/src/mame/machine/meters.cpp @@ -17,7 +17,7 @@ const device_type METERS = &device_creator; -meters_device::meters_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +meters_device::meters_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, METERS, "Electro mechanical meters", tag, owner, clock, "meters", __FILE__), m_number_mtr(0) { diff --git a/src/mame/machine/meters.h b/src/mame/machine/meters.h index 14b12e30b03..9a0c49e0cd3 100644 --- a/src/mame/machine/meters.h +++ b/src/mame/machine/meters.h @@ -27,7 +27,7 @@ class meters_device : public device_t { public: - meters_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + meters_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~meters_device() {} static void static_set_number_meters(device_t &device, int number) { downcast(device).m_number_mtr = number; } diff --git a/src/mame/machine/microdrv.cpp b/src/mame/machine/microdrv.cpp index 20bda7df868..36406bd1bdf 100644 --- a/src/mame/machine/microdrv.cpp +++ b/src/mame/machine/microdrv.cpp @@ -43,7 +43,7 @@ const device_type MICRODRIVE = &device_creator; // microdrive_image_device - constructor //------------------------------------------------- -microdrive_image_device::microdrive_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +microdrive_image_device::microdrive_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MICRODRIVE, "Microdrive", tag, owner, clock, "microdrive_image", __FILE__), device_image_interface(mconfig, *this), m_write_comms_out(*this) @@ -131,11 +131,11 @@ void microdrive_image_device::device_timer(emu_timer &timer, device_timer_id id, WRITE_LINE_MEMBER( microdrive_image_device::clk_w ) { - if (LOG) logerror("Microdrive '%s' CLK: %u\n", tag().c_str(), state); + if (LOG) logerror("Microdrive '%s' CLK: %u\n", tag(), state); if (!m_clk && state) { m_comms_out = m_comms_in; - if (LOG) logerror("Microdrive '%s' COMMS OUT: %u\n", tag().c_str(), m_comms_out); + if (LOG) logerror("Microdrive '%s' COMMS OUT: %u\n", tag(), m_comms_out); m_write_comms_out(m_comms_out); m_bit_timer->enable(m_comms_out); } @@ -144,19 +144,19 @@ WRITE_LINE_MEMBER( microdrive_image_device::clk_w ) WRITE_LINE_MEMBER( microdrive_image_device::comms_in_w ) { - if (LOG) logerror("Microdrive '%s' COMMS IN: %u\n", tag().c_str(), state); + if (LOG) logerror("Microdrive '%s' COMMS IN: %u\n", tag(), state); m_comms_in = state; } WRITE_LINE_MEMBER( microdrive_image_device::erase_w ) { - if (LOG) logerror("Microdrive '%s' ERASE: %u\n", tag().c_str(), state); + if (LOG) logerror("Microdrive '%s' ERASE: %u\n", tag(), state); m_erase = state; } WRITE_LINE_MEMBER( microdrive_image_device::read_write_w ) { - if (LOG) logerror("Microdrive '%s' READ/WRITE: %u\n", tag().c_str(), state); + if (LOG) logerror("Microdrive '%s' READ/WRITE: %u\n", tag(), state); m_read_write = state; } diff --git a/src/mame/machine/microdrv.h b/src/mame/machine/microdrv.h index 2ff37090da2..30853bd84d7 100644 --- a/src/mame/machine/microdrv.h +++ b/src/mame/machine/microdrv.h @@ -42,7 +42,7 @@ class microdrive_image_device : public device_t, { public: // construction/destruction - microdrive_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + microdrive_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ~microdrive_image_device(); template static devcb_base &set_comms_out_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_comms_out.set_callback(object); } diff --git a/src/mame/machine/micropolis.cpp b/src/mame/machine/micropolis.cpp index 0555af2d1f3..a42c692718c 100644 --- a/src/mame/machine/micropolis.cpp +++ b/src/mame/machine/micropolis.cpp @@ -65,7 +65,7 @@ static const UINT8 track_SD[][2] = { const device_type MICROPOLIS = &device_creator; -micropolis_device::micropolis_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +micropolis_device::micropolis_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MICROPOLIS, "MICROPOLIS", tag, owner, clock, "micropolis", __FILE__), m_read_dden(*this), m_write_intrq(*this), @@ -84,6 +84,9 @@ micropolis_device::micropolis_device(const machine_config &mconfig, std::string { for (auto & elem : m_buffer) elem = 0; + + for (auto & elem : m_floppy_drive_tags) + elem = nullptr; } //------------------------------------------------- @@ -117,7 +120,7 @@ void micropolis_device::device_reset() { for (auto & elem : m_floppy_drive_tags) { - if (!elem.empty()) + if (elem) { legacy_floppy_image_device *img = siblingdevice(elem); @@ -185,7 +188,7 @@ void micropolis_device::set_drive(UINT8 drive) if (VERBOSE) logerror("micropolis_set_drive: $%02x\n", drive); - if (!m_floppy_drive_tags[drive].empty()) + if (m_floppy_drive_tags[drive]) m_drive = siblingdevice(m_floppy_drive_tags[drive]); } diff --git a/src/mame/machine/micropolis.h b/src/mame/machine/micropolis.h index 9e2af38a17d..76e1664c9ea 100644 --- a/src/mame/machine/micropolis.h +++ b/src/mame/machine/micropolis.h @@ -41,14 +41,14 @@ class micropolis_device : public device_t { public: - micropolis_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + micropolis_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~micropolis_device() {} template static devcb_base &set_dden_rd_callback(device_t &device, _Object object) { return downcast(device).m_read_dden.set_callback(object); } template static devcb_base &set_intrq_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_intrq.set_callback(object); } template static devcb_base &set_drq_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_drq.set_callback(object); } - static void set_drive_tags(device_t &device, std::string tag1, std::string tag2, std::string tag3, std::string tag4) + static void set_drive_tags(device_t &device, const char *tag1, const char *tag2, const char *tag3, const char *tag4) { micropolis_device &dev = downcast(device); dev.m_floppy_drive_tags[0] = tag1; @@ -80,7 +80,7 @@ private: devcb_write_line m_write_intrq; devcb_write_line m_write_drq; - std::string m_floppy_drive_tags[4]; + const char *m_floppy_drive_tags[4]; /* register */ UINT8 m_data; diff --git a/src/mame/machine/midikbd.cpp b/src/mame/machine/midikbd.cpp index 9cace1dda01..a45e6179a3d 100644 --- a/src/mame/machine/midikbd.cpp +++ b/src/mame/machine/midikbd.cpp @@ -4,7 +4,7 @@ const device_type MIDI_KBD = &device_creator; -midi_keyboard_device::midi_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +midi_keyboard_device::midi_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MIDI_KBD, "Generic MIDI Keyboard", tag, owner, clock, "midi_kbd", __FILE__), device_serial_interface(mconfig, *this), m_out_tx_func(*this), diff --git a/src/mame/machine/midikbd.h b/src/mame/machine/midikbd.h index 43f61350667..c5272cf2e33 100644 --- a/src/mame/machine/midikbd.h +++ b/src/mame/machine/midikbd.h @@ -13,7 +13,7 @@ class midi_keyboard_device : public device_t, public device_serial_interface { public: - midi_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + midi_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ioport_constructor device_input_ports() const override; template static devcb_base &static_set_tx_callback(device_t &device, _Object object) { return downcast(device).m_out_tx_func.set_callback(object); } diff --git a/src/mame/machine/midwayic.cpp b/src/mame/machine/midwayic.cpp index ae8c4bf7895..2d848da5d0f 100644 --- a/src/mame/machine/midwayic.cpp +++ b/src/mame/machine/midwayic.cpp @@ -112,7 +112,7 @@ const device_type MIDWAY_SERIAL_PIC = &device_creator; // midway_serial_pic2_device - constructor //------------------------------------------------- -midway_serial_pic_device::midway_serial_pic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +midway_serial_pic_device::midway_serial_pic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MIDWAY_SERIAL_PIC2, "Midway Serial Pic", tag, owner, clock, "midway_serial_pic", __FILE__), m_upper(0), m_buff(0), @@ -124,7 +124,7 @@ midway_serial_pic_device::midway_serial_pic_device(const machine_config &mconfig memset(m_data,0,sizeof(m_data)); } -midway_serial_pic_device::midway_serial_pic_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : +midway_serial_pic_device::midway_serial_pic_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_upper(0), m_buff(0), @@ -214,7 +214,7 @@ const device_type MIDWAY_SERIAL_PIC2 = &device_creator; // midway_serial_pic2_device - constructor //------------------------------------------------- -midway_ioasic_device::midway_ioasic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +midway_ioasic_device::midway_ioasic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : midway_serial_pic2_device(mconfig, MIDWAY_IOASIC, "Midway IOASIC", tag, owner, clock, "midway_ioasic", __FILE__), m_has_dcs(0), m_has_cage(0), diff --git a/src/mame/machine/midwayic.h b/src/mame/machine/midwayic.h index 433e2bcbb4a..385234c5a66 100644 --- a/src/mame/machine/midwayic.h +++ b/src/mame/machine/midwayic.h @@ -18,8 +18,8 @@ class midway_serial_pic_device : public device_t { public: // construction/destruction - midway_serial_pic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - midway_serial_pic_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + midway_serial_pic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + midway_serial_pic_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); static void static_set_upper(device_t &device, int upper) { downcast(device).m_upper = upper; } @@ -61,8 +61,8 @@ class midway_serial_pic2_device : public midway_serial_pic_device, { public: // construction/destruction - midway_serial_pic2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - midway_serial_pic2_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + midway_serial_pic2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + midway_serial_pic2_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); static void static_set_yearoffs(device_t &device, int yearoffs) { downcast(device).m_yearoffs = yearoffs; } @@ -119,7 +119,7 @@ class midway_ioasic_device : public midway_serial_pic2_device { public: // construction/destruction - midway_ioasic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + midway_ioasic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); static void static_set_shuffle(device_t &device, UINT8 shuffle) { downcast(device).m_shuffle_type = shuffle; } static void static_set_shuffle_default(device_t &device, UINT8 shuffle) { downcast(device).m_shuffle_default = shuffle; } diff --git a/src/mame/machine/mie.cpp b/src/mame/machine/mie.cpp index 010df09a3a9..55bac6f038f 100644 --- a/src/mame/machine/mie.cpp +++ b/src/mame/machine/mie.cpp @@ -87,12 +87,12 @@ machine_config_constructor mie_device::device_mconfig_additions() const return MACHINE_CONFIG_NAME(mie); } -mie_jvs_device::mie_jvs_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +mie_jvs_device::mie_jvs_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : jvs_host(mconfig, MIE_JVS, "JVS (MIE)", tag, owner, clock, "mie_jvs", __FILE__) { } -mie_device::mie_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +mie_device::mie_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : maple_device(mconfig, MIE, "Sega 315-6146 MIE", tag, owner, clock, "mie", __FILE__) { memset(gpio_name, 0, sizeof(gpio_name)); diff --git a/src/mame/machine/mie.h b/src/mame/machine/mie.h index 438138384df..fa50c4d5756 100644 --- a/src/mame/machine/mie.h +++ b/src/mame/machine/mie.h @@ -28,7 +28,7 @@ class mie_jvs_device; class mie_device : public maple_device { public: - mie_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + mie_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); static void static_set_gpio_name(device_t &device, int entry, const char *name); static void static_set_jvs_name(device_t &device, const char *name); @@ -123,7 +123,7 @@ public: friend class mie_device; // construction/destruction - mie_jvs_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + mie_jvs_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; diff --git a/src/mame/machine/mm1kb.cpp b/src/mame/machine/mm1kb.cpp index 7c40a7b82d5..88faf286961 100644 --- a/src/mame/machine/mm1kb.cpp +++ b/src/mame/machine/mm1kb.cpp @@ -205,7 +205,7 @@ ioport_constructor mm1_keyboard_t::device_input_ports() const // mm1_keyboard_t - constructor //------------------------------------------------- -mm1_keyboard_t::mm1_keyboard_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +mm1_keyboard_t::mm1_keyboard_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MM1_KEYBOARD, "MikroMikko 1 keyboard", tag, owner, clock, "mm1kb", __FILE__), m_write_kbst(*this), m_samples(*this, "keyboard_and_chassis_sounds"), diff --git a/src/mame/machine/mm1kb.h b/src/mame/machine/mm1kb.h index 54149450358..594608696b3 100644 --- a/src/mame/machine/mm1kb.h +++ b/src/mame/machine/mm1kb.h @@ -35,7 +35,7 @@ class mm1_keyboard_t : public device_t { public: // construction/destruction - mm1_keyboard_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + mm1_keyboard_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_kbst_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_kbst.set_callback(object); } diff --git a/src/mame/machine/ms7004.cpp b/src/mame/machine/ms7004.cpp index cce0546f192..f0f9d2ad10d 100644 --- a/src/mame/machine/ms7004.cpp +++ b/src/mame/machine/ms7004.cpp @@ -354,7 +354,7 @@ ioport_constructor ms7004_device::device_input_ports() const // ms7004_device - constructor //------------------------------------------------- -ms7004_device::ms7004_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +ms7004_device::ms7004_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MS7004, "MS7004 keyboard", tag, owner, clock, "ms7004", __FILE__), m_maincpu(*this, MS7004_CPU_TAG), m_speaker(*this, MS7004_SPK_TAG), @@ -416,7 +416,7 @@ WRITE8_MEMBER( ms7004_device::p1_w ) 6 7 Serial TX */ - DBG_LOG(2,0,( "%s: p1_w %02x = send %d\n", tag().c_str(), data, BIT(data, 7))); + DBG_LOG(2,0,( "%s: p1_w %02x = send %d\n", tag(), data, BIT(data, 7))); m_p1 = data; m_tx_handler(BIT(data, 7)); @@ -441,7 +441,7 @@ WRITE8_MEMBER( ms7004_device::p2_w ) 6 LED "Caps" 7 LED "Hold" */ - DBG_LOG(2,0,( "%s: p2_w %02x = col %d\n", tag().c_str(), data, data&15)); + DBG_LOG(2,0,( "%s: p2_w %02x = col %d\n", tag(), data, data&15)); m_p2 = data; m_i8243->i8243_p2_w(space, offset, data); @@ -457,7 +457,7 @@ WRITE8_MEMBER( ms7004_device::i8243_port_w ) int sense = 0; DBG_LOG(2,0,( "%s: 8243 port %d data %02xH\n", - tag().c_str(), offset + 4, data)); + tag(), offset + 4, data)); if (data) { switch(offset << 4 | data) { @@ -481,7 +481,7 @@ WRITE8_MEMBER( ms7004_device::i8243_port_w ) m_keylatch = BIT(sense, (m_p1 & 7)); if (m_keylatch) DBG_LOG(1,0,( "%s: row %d col %02x t1 %d\n", - tag().c_str(), (m_p1 & 7), (offset << 4 | data), m_keylatch)); + tag(), (m_p1 & 7), (offset << 4 | data), m_keylatch)); } } diff --git a/src/mame/machine/ms7004.h b/src/mame/machine/ms7004.h index 00189cff641..1ceca1b46b6 100644 --- a/src/mame/machine/ms7004.h +++ b/src/mame/machine/ms7004.h @@ -33,7 +33,7 @@ class ms7004_device : public device_t //, public device_serial_interface { public: // construction/destruction - ms7004_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + ms7004_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_tx_handler(device_t &device, _Object wr) { return downcast(device).m_tx_handler.set_callback(wr); } diff --git a/src/mame/machine/msx_matsushita.cpp b/src/mame/machine/msx_matsushita.cpp index d687b228515..dd00841f5eb 100644 --- a/src/mame/machine/msx_matsushita.cpp +++ b/src/mame/machine/msx_matsushita.cpp @@ -7,7 +7,7 @@ const device_type MSX_MATSUSHITA = &device_creator; -msx_matsushita_device::msx_matsushita_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +msx_matsushita_device::msx_matsushita_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : msx_switched_device(mconfig, MSX_MATSUSHITA, "Matsushita switched device", tag, owner, clock, "msx_matsushita", __FILE__) , m_io_config(*this, "CONFIG") , m_nvram(*this, "nvram") diff --git a/src/mame/machine/msx_matsushita.h b/src/mame/machine/msx_matsushita.h index 9c71e424537..70a30d705a6 100644 --- a/src/mame/machine/msx_matsushita.h +++ b/src/mame/machine/msx_matsushita.h @@ -21,7 +21,7 @@ extern const device_type MSX_MATSUSHITA; class msx_matsushita_device : public msx_switched_device { public: - msx_matsushita_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + msx_matsushita_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_turbo_callback(device_t &device, _Object object) { return downcast(device).m_turbo_out_cb.set_callback(object); } diff --git a/src/mame/machine/msx_s1985.cpp b/src/mame/machine/msx_s1985.cpp index eeb2affe463..762b82afa8f 100644 --- a/src/mame/machine/msx_s1985.cpp +++ b/src/mame/machine/msx_s1985.cpp @@ -7,7 +7,7 @@ const device_type MSX_S1985 = &device_creator; -msx_s1985_device::msx_s1985_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +msx_s1985_device::msx_s1985_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : msx_switched_device(mconfig, MSX_S1985, "MSX-Engine S1985", tag, owner, clock, "msx_s1985", __FILE__) , m_6_1(0) , m_6_2(0) diff --git a/src/mame/machine/msx_s1985.h b/src/mame/machine/msx_s1985.h index 8d61855f57e..0a741ce5071 100644 --- a/src/mame/machine/msx_s1985.h +++ b/src/mame/machine/msx_s1985.h @@ -17,7 +17,7 @@ extern const device_type MSX_S1985; class msx_s1985_device : public msx_switched_device { public: - msx_s1985_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + msx_s1985_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual UINT8 get_id() override; diff --git a/src/mame/machine/msx_switched.cpp b/src/mame/machine/msx_switched.cpp index 9ec492934b7..f810f2c2dc2 100644 --- a/src/mame/machine/msx_switched.cpp +++ b/src/mame/machine/msx_switched.cpp @@ -4,7 +4,7 @@ #include "msx_switched.h" -msx_switched_device::msx_switched_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +msx_switched_device::msx_switched_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source) { } diff --git a/src/mame/machine/msx_switched.h b/src/mame/machine/msx_switched.h index 42a643bded6..2b3c3c02c17 100644 --- a/src/mame/machine/msx_switched.h +++ b/src/mame/machine/msx_switched.h @@ -7,7 +7,7 @@ class msx_switched_device : public device_t { public: - msx_switched_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + msx_switched_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); virtual UINT8 get_id() = 0; diff --git a/src/mame/machine/msx_systemflags.cpp b/src/mame/machine/msx_systemflags.cpp index 52268e0b24d..ee443f79471 100644 --- a/src/mame/machine/msx_systemflags.cpp +++ b/src/mame/machine/msx_systemflags.cpp @@ -7,7 +7,7 @@ const device_type MSX_SYSTEMFLAGS = &device_creator; -msx_systemflags_device::msx_systemflags_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +msx_systemflags_device::msx_systemflags_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MSX_SYSTEMFLAGS, "MSX System Flags", tag, owner, clock, "msx_systemflags", __FILE__) , m_initial_value(0xff) , m_system_flags(0xff) diff --git a/src/mame/machine/msx_systemflags.h b/src/mame/machine/msx_systemflags.h index a066e757468..65e7bdb87ba 100644 --- a/src/mame/machine/msx_systemflags.h +++ b/src/mame/machine/msx_systemflags.h @@ -20,7 +20,7 @@ extern const device_type MSX_SYSTEMFLAGS; class msx_systemflags_device : public device_t { public: - msx_systemflags_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + msx_systemflags_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration helpers static void set_initial_value(device_t &device, UINT8 initial_value) { dynamic_cast(device).m_initial_value = initial_value; } diff --git a/src/mame/machine/n64.cpp b/src/mame/machine/n64.cpp index c93a870bbec..4918f1a1613 100644 --- a/src/mame/machine/n64.cpp +++ b/src/mame/machine/n64.cpp @@ -20,7 +20,7 @@ const device_type N64PERIPH = &device_creator; -n64_periphs::n64_periphs(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +n64_periphs::n64_periphs(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, N64PERIPH, "N64 Periphal Chips", tag, owner, clock, "n64_periphs", __FILE__) , device_video_interface(mconfig, *this) , m_nvram_image(nullptr) diff --git a/src/mame/machine/namco06.cpp b/src/mame/machine/namco06.cpp index 152f232eeca..f8b6703f530 100644 --- a/src/mame/machine/namco06.cpp +++ b/src/mame/machine/namco06.cpp @@ -92,11 +92,11 @@ TIMER_CALLBACK_MEMBER( namco_06xx_device::nmi_generate ) { if (!m_nmicpu->suspended(SUSPEND_REASON_HALT | SUSPEND_REASON_RESET | SUSPEND_REASON_DISABLE)) { - LOG(("NMI cpu '%s'\n",m_nmicpu->tag().c_str())); + LOG(("NMI cpu '%s'\n",m_nmicpu->tag())); m_nmicpu->set_input_line(INPUT_LINE_NMI, PULSE_LINE); } else - LOG(("NMI not generated because cpu '%s' is suspended\n",m_nmicpu->tag().c_str())); + LOG(("NMI not generated because cpu '%s' is suspended\n",m_nmicpu->tag())); } @@ -104,11 +104,11 @@ READ8_MEMBER( namco_06xx_device::data_r ) { UINT8 result = 0xff; - LOG(("%s: 06XX '%s' read offset %d\n",machine().describe_context(),tag().c_str(),offset)); + LOG(("%s: 06XX '%s' read offset %d\n",machine().describe_context(),tag(),offset)); if (!(m_control & 0x10)) { - logerror("%s: 06XX '%s' read in write mode %02x\n",machine().describe_context(),tag().c_str(),m_control); + logerror("%s: 06XX '%s' read in write mode %02x\n",machine().describe_context(),tag(),m_control); return 0; } @@ -123,11 +123,11 @@ READ8_MEMBER( namco_06xx_device::data_r ) WRITE8_MEMBER( namco_06xx_device::data_w ) { - LOG(("%s: 06XX '%s' write offset %d = %02x\n",machine().describe_context(),tag().c_str(),offset,data)); + LOG(("%s: 06XX '%s' write offset %d = %02x\n",machine().describe_context(),tag(),offset,data)); if (m_control & 0x10) { - logerror("%s: 06XX '%s' write in read mode %02x\n",machine().describe_context(),tag().c_str(),m_control); + logerror("%s: 06XX '%s' write in read mode %02x\n",machine().describe_context(),tag(),m_control); return; } if ((m_control & (1 << 0)) && !m_write_0.isnull()) m_write_0(space, 0, data); @@ -139,13 +139,13 @@ WRITE8_MEMBER( namco_06xx_device::data_w ) READ8_MEMBER( namco_06xx_device::ctrl_r ) { - LOG(("%s: 06XX '%s' ctrl_r\n",machine().describe_context(),tag().c_str())); + LOG(("%s: 06XX '%s' ctrl_r\n",machine().describe_context(),tag())); return m_control; } WRITE8_MEMBER( namco_06xx_device::ctrl_w ) { - LOG(("%s: 06XX '%s' control %02x\n",space.machine().describe_context(),tag().c_str(),data)); + LOG(("%s: 06XX '%s' control %02x\n",space.machine().describe_context(),tag(),data)); m_control = data; @@ -176,7 +176,7 @@ WRITE8_MEMBER( namco_06xx_device::ctrl_w ) const device_type NAMCO_06XX = &device_creator; -namco_06xx_device::namco_06xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco_06xx_device::namco_06xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NAMCO_06XX, "Namco 06xx", tag, owner, clock, "namco06xx", __FILE__), m_control(0), m_nmicpu(*this), diff --git a/src/mame/machine/namco06.h b/src/mame/machine/namco06.h index d6d4793afd2..446009dbcec 100644 --- a/src/mame/machine/namco06.h +++ b/src/mame/machine/namco06.h @@ -63,9 +63,9 @@ struct namco_06xx_config class namco_06xx_device : public device_t { public: - namco_06xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco_06xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - static void set_maincpu(device_t &device, std::string tag) { downcast(device).m_nmicpu.set_tag(tag); } + static void set_maincpu(device_t &device, const char *tag) { downcast(device).m_nmicpu.set_tag(tag); } template static devcb_base &set_read_0_callback(device_t &device, _Object object) { return downcast(device).m_read_0.set_callback(object); } template static devcb_base &set_read_1_callback(device_t &device, _Object object) { return downcast(device).m_read_1.set_callback(object); } diff --git a/src/mame/machine/namco50.cpp b/src/mame/machine/namco50.cpp index 7e429664cca..8967806295a 100644 --- a/src/mame/machine/namco50.cpp +++ b/src/mame/machine/namco50.cpp @@ -239,7 +239,7 @@ ROM_END const device_type NAMCO_50XX = &device_creator; -namco_50xx_device::namco_50xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco_50xx_device::namco_50xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NAMCO_50XX, "Namco 50xx", tag, owner, clock, "namco50", __FILE__), m_cpu(*this, "mcu"), m_latched_cmd(0), diff --git a/src/mame/machine/namco50.h b/src/mame/machine/namco50.h index e51ebebedf0..320e785fafa 100644 --- a/src/mame/machine/namco50.h +++ b/src/mame/machine/namco50.h @@ -13,7 +13,7 @@ class namco_50xx_device : public device_t { public: - namco_50xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco_50xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); WRITE8_MEMBER( write ); WRITE_LINE_MEMBER(read_request); diff --git a/src/mame/machine/namco51.cpp b/src/mame/machine/namco51.cpp index 17cffd5e9c1..2cd77ab69b5 100644 --- a/src/mame/machine/namco51.cpp +++ b/src/mame/machine/namco51.cpp @@ -342,7 +342,7 @@ ROM_END const device_type NAMCO_51XX = &device_creator; -namco_51xx_device::namco_51xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco_51xx_device::namco_51xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NAMCO_51XX, "Namco 51xx", tag, owner, clock, "namco51", __FILE__), m_cpu(*this, "mcu"), m_in_0(*this), diff --git a/src/mame/machine/namco51.h b/src/mame/machine/namco51.h index 72d4a80ffd8..22c7e4e2cdc 100644 --- a/src/mame/machine/namco51.h +++ b/src/mame/machine/namco51.h @@ -30,7 +30,7 @@ class namco_51xx_device : public device_t { public: - namco_51xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco_51xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_input_0_callback(device_t &device, _Object object) { return downcast(device).m_in_0.set_callback(object); } template static devcb_base &set_input_1_callback(device_t &device, _Object object) { return downcast(device).m_in_1.set_callback(object); } diff --git a/src/mame/machine/namco53.cpp b/src/mame/machine/namco53.cpp index ceff9efbd6c..e5e809ec465 100644 --- a/src/mame/machine/namco53.cpp +++ b/src/mame/machine/namco53.cpp @@ -145,7 +145,7 @@ ROM_END const device_type NAMCO_53XX = &device_creator; -namco_53xx_device::namco_53xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco_53xx_device::namco_53xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NAMCO_53XX, "Namco 53xx", tag, owner, clock, "namco53", __FILE__), m_cpu(*this, "mcu"), m_portO(0), diff --git a/src/mame/machine/namco53.h b/src/mame/machine/namco53.h index d07c5d73a3e..66b60c8c80f 100644 --- a/src/mame/machine/namco53.h +++ b/src/mame/machine/namco53.h @@ -30,7 +30,7 @@ class namco_53xx_device : public device_t { public: - namco_53xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco_53xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_input_0_callback(device_t &device, _Object object) { return downcast(device).m_in_0.set_callback(object); } template static devcb_base &set_input_1_callback(device_t &device, _Object object) { return downcast(device).m_in_1.set_callback(object); } diff --git a/src/mame/machine/namco62.cpp b/src/mame/machine/namco62.cpp index 0d3f9d8f5d2..de6e6067972 100644 --- a/src/mame/machine/namco62.cpp +++ b/src/mame/machine/namco62.cpp @@ -44,7 +44,7 @@ ROM_END const device_type NAMCO_62XX = &device_creator; -namco_62xx_device::namco_62xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco_62xx_device::namco_62xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NAMCO_62XX, "Namco 62xx", tag, owner, clock, "namco62", __FILE__), m_cpu(*this, "mcu"), m_in_0(*this), diff --git a/src/mame/machine/namco62.h b/src/mame/machine/namco62.h index bb092e448d0..323c751c789 100644 --- a/src/mame/machine/namco62.h +++ b/src/mame/machine/namco62.h @@ -30,7 +30,7 @@ class namco_62xx_device : public device_t { public: - namco_62xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco_62xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_input_0_callback(device_t &device, _Object object) { return downcast(device).m_in_0.set_callback(object); } template static devcb_base &set_input_1_callback(device_t &device, _Object object) { return downcast(device).m_in_1.set_callback(object); } diff --git a/src/mame/machine/namco_settings.cpp b/src/mame/machine/namco_settings.cpp index e8d695d2465..ba028892786 100644 --- a/src/mame/machine/namco_settings.cpp +++ b/src/mame/machine/namco_settings.cpp @@ -5,7 +5,7 @@ const device_type NAMCO_SETTINGS = &device_creator; -namco_settings_device::namco_settings_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +namco_settings_device::namco_settings_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NAMCO_SETTINGS, "Namco Settings", tag, owner, clock, "namco_settings", __FILE__) { } @@ -31,7 +31,7 @@ WRITE_LINE_MEMBER( namco_settings_device::clk_w ) cur_bit++; if(cur_bit == 16) { cur_bit = 0; - logerror("%s: %02x = %02x\n", tag().c_str(), adr, value); + logerror("%s: %02x = %02x\n", tag(), adr, value); } } } diff --git a/src/mame/machine/namco_settings.h b/src/mame/machine/namco_settings.h index 618167cf640..8bd18ad4346 100644 --- a/src/mame/machine/namco_settings.h +++ b/src/mame/machine/namco_settings.h @@ -11,7 +11,7 @@ class namco_settings_device : public device_t { public: - namco_settings_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco_settings_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_WRITE_LINE_MEMBER( ce_w ); DECLARE_WRITE_LINE_MEMBER( clk_w ); diff --git a/src/mame/machine/namcoio.cpp b/src/mame/machine/namcoio.cpp index cb625654004..4ac534279ce 100644 --- a/src/mame/machine/namcoio.cpp +++ b/src/mame/machine/namcoio.cpp @@ -122,7 +122,7 @@ const device_type NAMCO56XX = &device_creator; const device_type NAMCO58XX = &device_creator; const device_type NAMCO59XX = &device_creator; -namcoio_device::namcoio_device(const machine_config &mconfig, device_type type, const char* name, std::string tag, device_t *owner, UINT32 clock, const char *shortname) +namcoio_device::namcoio_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock, const char *shortname) : device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__), m_in_0_cb(*this), m_in_1_cb(*this), @@ -133,19 +133,19 @@ namcoio_device::namcoio_device(const machine_config &mconfig, device_type type, { } -namco56xx_device::namco56xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco56xx_device::namco56xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : namcoio_device(mconfig, NAMCO56XX, "Namco 56xx", tag, owner, clock, "56xx") { m_device_type = TYPE_NAMCO56XX; } -namco58xx_device::namco58xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco58xx_device::namco58xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : namcoio_device(mconfig, NAMCO58XX, "Namco 58xx", tag, owner, clock, "58xx") { m_device_type = TYPE_NAMCO58XX; } -namco59xx_device::namco59xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco59xx_device::namco59xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : namcoio_device(mconfig, NAMCO59XX, "Namco 59xx", tag, owner, clock, "59xx") { m_device_type = TYPE_NAMCO59XX; diff --git a/src/mame/machine/namcoio.h b/src/mame/machine/namcoio.h index db18a9eb976..b28b2a9117d 100644 --- a/src/mame/machine/namcoio.h +++ b/src/mame/machine/namcoio.h @@ -11,7 +11,7 @@ class namcoio_device : public device_t { public: - namcoio_device(const machine_config &mconfig, device_type type, const char* name, std::string tag, device_t *owner, UINT32 clock, const char *shortname); + namcoio_device(const machine_config &mconfig, device_type type, const char* name, const char *tag, device_t *owner, UINT32 clock, const char *shortname); template static devcb_base &set_in_0_callback(device_t &device, _Object object) { return downcast(device).m_in_0_cb.set_callback(object); } template static devcb_base &set_in_1_callback(device_t &device, _Object object) { return downcast(device).m_in_1_cb.set_callback(object); } @@ -69,7 +69,7 @@ private: class namco56xx_device : public namcoio_device { public: - namco56xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco56xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual void customio_run() override; }; @@ -77,7 +77,7 @@ public: class namco58xx_device : public namcoio_device { public: - namco58xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco58xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual void customio_run() override; }; @@ -85,7 +85,7 @@ public: class namco59xx_device : public namcoio_device { public: - namco59xx_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco59xx_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual void customio_run() override; }; diff --git a/src/mame/machine/namcomcu.cpp b/src/mame/machine/namcomcu.cpp index bd585973453..82495680f51 100644 --- a/src/mame/machine/namcomcu.cpp +++ b/src/mame/machine/namcomcu.cpp @@ -53,27 +53,27 @@ ROM_START( c76 ) ROM_END -namco_c69_device::namco_c69_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco_c69_device::namco_c69_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : m37702m2_device(mconfig, NAMCO_C69, "C69 (M37702)", tag, owner, clock, "namcoc69", __FILE__) { } -namco_c70_device::namco_c70_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco_c70_device::namco_c70_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : m37702m2_device(mconfig, NAMCO_C70, "C70 (M37702)", tag, owner, clock, "namcoc70", __FILE__) { } -namco_c74_device::namco_c74_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco_c74_device::namco_c74_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : m37702m2_device(mconfig, NAMCO_C74, "C74 (M37702)", tag, owner, clock, "namcoc74", __FILE__) { } -namco_c75_device::namco_c75_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco_c75_device::namco_c75_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : m37702m2_device(mconfig, NAMCO_C75, "C75 (M37702)", tag, owner, clock, "namcoc75", __FILE__) { } -namco_c76_device::namco_c76_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco_c76_device::namco_c76_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : m37702m2_device(mconfig, NAMCO_C76, "C76 (M37702)", tag, owner, clock, "namcoc76", __FILE__) { } diff --git a/src/mame/machine/namcomcu.h b/src/mame/machine/namcomcu.h index 2778787aa77..e4daf70a020 100644 --- a/src/mame/machine/namcomcu.h +++ b/src/mame/machine/namcomcu.h @@ -11,7 +11,7 @@ class namco_c69_device : public m37702m2_device { public: - namco_c69_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco_c69_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: virtual const rom_entry *device_rom_region() const override; }; @@ -20,7 +20,7 @@ protected: class namco_c70_device : public m37702m2_device { public: - namco_c70_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco_c70_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: virtual const rom_entry *device_rom_region() const override; }; @@ -29,7 +29,7 @@ protected: class namco_c74_device : public m37702m2_device { public: - namco_c74_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco_c74_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: virtual const rom_entry *device_rom_region() const override; }; @@ -38,7 +38,7 @@ protected: class namco_c75_device : public m37702m2_device { public: - namco_c75_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco_c75_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: virtual const rom_entry *device_rom_region() const override; }; @@ -47,7 +47,7 @@ protected: class namco_c76_device : public m37702m2_device { public: - namco_c76_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco_c76_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: virtual const rom_entry *device_rom_region() const override; }; diff --git a/src/mame/machine/namcos1.cpp b/src/mame/machine/namcos1.cpp index e7e8701db7b..9d7fa409421 100644 --- a/src/mame/machine/namcos1.cpp +++ b/src/mame/machine/namcos1.cpp @@ -19,13 +19,13 @@ WRITE8_MEMBER( namcos1_state::_3dcs_w ) READ8_MEMBER( namcos1_state::no_key_r ) { - popmessage("CPU %s PC %08x: keychip read %04x\n", space.device().tag().c_str(), space.device().safe_pc(), offset); + popmessage("CPU %s PC %08x: keychip read %04x\n", space.device().tag(), space.device().safe_pc(), offset); return 0; } WRITE8_MEMBER( namcos1_state::no_key_w ) { - popmessage("CPU %s PC %08x: keychip write %04x=%02x\n", space.device().tag().c_str(), space.device().safe_pc(), offset, data); + popmessage("CPU %s PC %08x: keychip write %04x=%02x\n", space.device().tag(), space.device().safe_pc(), offset, data); } @@ -455,14 +455,14 @@ READ8_MEMBER( namcos1_state::key_type3_r ) if (op == m_key_bottom4) return (offset << 4) | (m_key[m_key_swap4_arg] & 0x0f); if (op == m_key_top4) return (offset << 4) | (m_key[m_key_swap4_arg] >> 4); - popmessage("CPU %s PC %08x: keychip read %04x", space.device().tag().c_str(), space.device().safe_pc(), offset); + popmessage("CPU %s PC %08x: keychip read %04x", space.device().tag(), space.device().safe_pc(), offset); return 0; } WRITE8_MEMBER( namcos1_state::key_type3_w ) { -// logerror("CPU %s PC %04x: keychip write %04x=%02x\n", space.device().tag().c_str(), space.device().safe_pc(), offset, data); +// logerror("CPU %s PC %04x: keychip write %04x=%02x\n", space.device().tag(), space.device().safe_pc(), offset, data); m_key[(offset & 0x70) >> 4] = data; } diff --git a/src/mame/machine/naomi.cpp b/src/mame/machine/naomi.cpp index 96f30efad03..72a3a6338b9 100644 --- a/src/mame/machine/naomi.cpp +++ b/src/mame/machine/naomi.cpp @@ -213,7 +213,7 @@ INPUT_CHANGED_MEMBER(naomi_state::naomi_mp_w) } CUSTOM_INPUT_MEMBER(naomi_state::naomi_mp_r) { - const char * tagptr = (const char *)param; + const char *tagptr = (const char *)param; UINT8 retval = 0; for (int i = 0x80; i >= 0x08; i >>= 1) diff --git a/src/mame/machine/naomibd.cpp b/src/mame/machine/naomibd.cpp index f0b6c991bf2..704c357d70f 100644 --- a/src/mame/machine/naomibd.cpp +++ b/src/mame/machine/naomibd.cpp @@ -65,7 +65,7 @@ DEVICE_ADDRESS_MAP_START(submap, 16, naomi_board) AM_RANGE(0x00, 0xff) AM_READ(default_r) ADDRESS_MAP_END -naomi_board::naomi_board(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +naomi_board::naomi_board(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : naomi_g1_device(mconfig, type, name, tag, owner, clock, shortname, source) { eeprom_tag = nullptr; diff --git a/src/mame/machine/naomibd.h b/src/mame/machine/naomibd.h index 3061291ce65..1b4d2b705c0 100644 --- a/src/mame/machine/naomibd.h +++ b/src/mame/machine/naomibd.h @@ -12,7 +12,7 @@ class naomi_board : public naomi_g1_device { public: - naomi_board(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + naomi_board(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); static void static_set_eeprom_tag(device_t &device, const char *_eeprom_tag, const char *_actel_tag); diff --git a/src/mame/machine/naomig1.cpp b/src/mame/machine/naomig1.cpp index 8221db382db..1a4cea48b13 100644 --- a/src/mame/machine/naomig1.cpp +++ b/src/mame/machine/naomig1.cpp @@ -25,7 +25,7 @@ DEVICE_ADDRESS_MAP_START(amap, 32, naomi_g1_device) AM_RANGE(0xf8, 0xfb) AM_READ(sb_gdlend_r) ADDRESS_MAP_END -naomi_g1_device::naomi_g1_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +naomi_g1_device::naomi_g1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), irq_cb(*this) { diff --git a/src/mame/machine/naomig1.h b/src/mame/machine/naomig1.h index 717467ab50e..0ab82cf134f 100644 --- a/src/mame/machine/naomig1.h +++ b/src/mame/machine/naomig1.h @@ -18,7 +18,7 @@ public: typedef delegate dma_cb; - naomi_g1_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + naomi_g1_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); template void set_irq_cb(_cb cb) { irq_cb.set_callback(cb); } void set_dma_cb(dma_cb _cb) { _dma_cb = _cb; } diff --git a/src/mame/machine/naomigd.cpp b/src/mame/machine/naomigd.cpp index 9f5fbca28af..28dc2ccb3e6 100644 --- a/src/mame/machine/naomigd.cpp +++ b/src/mame/machine/naomigd.cpp @@ -326,7 +326,7 @@ void naomi_gdrom_board::write_from_qword(UINT8 *region, UINT64 qword) region[i] = qword >> (56-(i*8)); } -naomi_gdrom_board::naomi_gdrom_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +naomi_gdrom_board::naomi_gdrom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : naomi_board(mconfig, NAOMI_GDROM_BOARD, "Sega NAOMI GDROM Board", tag, owner, clock, "naomi_gdrom_board", __FILE__) { image_tag = nullptr; diff --git a/src/mame/machine/naomigd.h b/src/mame/machine/naomigd.h index 75be1c22980..6f9e434ec13 100644 --- a/src/mame/machine/naomigd.h +++ b/src/mame/machine/naomigd.h @@ -12,7 +12,7 @@ class naomi_gdrom_board : public naomi_board { public: - naomi_gdrom_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + naomi_gdrom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); static void static_set_tags(device_t &device, const char *_image_tag, const char *_pic_tag); diff --git a/src/mame/machine/naomim1.cpp b/src/mame/machine/naomim1.cpp index 98fa787d0fd..7e205ce1ee7 100644 --- a/src/mame/machine/naomim1.cpp +++ b/src/mame/machine/naomim1.cpp @@ -12,7 +12,7 @@ DEVICE_ADDRESS_MAP_START(submap, 16, naomi_m1_board) AM_INHERIT_FROM(naomi_board::submap) ADDRESS_MAP_END -naomi_m1_board::naomi_m1_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +naomi_m1_board::naomi_m1_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : naomi_board(mconfig, NAOMI_M1_BOARD, "Sega NAOMI M1 Board", tag, owner, clock, "naomi_m1_board", __FILE__) { } @@ -37,7 +37,7 @@ void naomi_m1_board::device_start() key = strtoll(skey.c_str(), nullptr, 16); else { - logerror("%s: Warning: key not provided\n", tag().c_str()); + logerror("%s: Warning: key not provided\n", tag()); key = 0; } diff --git a/src/mame/machine/naomim1.h b/src/mame/machine/naomim1.h index 290e4d5e5d8..37c5a58739b 100644 --- a/src/mame/machine/naomim1.h +++ b/src/mame/machine/naomim1.h @@ -11,7 +11,7 @@ class naomi_m1_board : public naomi_board { public: - naomi_m1_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + naomi_m1_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual DECLARE_ADDRESS_MAP(submap, 16) override; diff --git a/src/mame/machine/naomim2.cpp b/src/mame/machine/naomim2.cpp index 34cb957a0ab..516da16435e 100644 --- a/src/mame/machine/naomim2.cpp +++ b/src/mame/machine/naomim2.cpp @@ -111,7 +111,7 @@ note: if ROM is not mounted its area readed as 0xFF const device_type NAOMI_M2_BOARD = &device_creator; -naomi_m2_board::naomi_m2_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +naomi_m2_board::naomi_m2_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : naomi_board(mconfig, NAOMI_M2_BOARD, "Sega NAOMI M2 Board", tag, owner, clock, "naomi_m2_board", __FILE__), m_cryptdevice(*this, "segam2crypt") { diff --git a/src/mame/machine/naomim2.h b/src/mame/machine/naomim2.h index 9da797bf357..ae1bdf3fed8 100644 --- a/src/mame/machine/naomim2.h +++ b/src/mame/machine/naomim2.h @@ -13,7 +13,7 @@ class naomi_m2_board : public naomi_board { public: - naomi_m2_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + naomi_m2_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); UINT32 rom_cur_address; static const int RAM_SIZE = 65536; std::unique_ptr ram; diff --git a/src/mame/machine/naomim4.cpp b/src/mame/machine/naomim4.cpp index 9f5de2309a4..40ced99ea5a 100644 --- a/src/mame/machine/naomim4.cpp +++ b/src/mame/machine/naomim4.cpp @@ -46,7 +46,7 @@ DEVICE_ADDRESS_MAP_START(submap, 16, naomi_m4_board) AM_INHERIT_FROM(naomi_board::submap) ADDRESS_MAP_END -naomi_m4_board::naomi_m4_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +naomi_m4_board::naomi_m4_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : naomi_board(mconfig, NAOMI_M4_BOARD, "Sega NAOMI M4 Board", tag, owner, clock, "naomi_m4_board", __FILE__) { key_tag = nullptr; diff --git a/src/mame/machine/naomim4.h b/src/mame/machine/naomim4.h index ae544e0e3e3..650ed901c24 100644 --- a/src/mame/machine/naomim4.h +++ b/src/mame/machine/naomim4.h @@ -12,7 +12,7 @@ class naomi_m4_board : public naomi_board { public: - naomi_m4_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + naomi_m4_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); static void static_set_tags(device_t &device, const char *_key_tag); diff --git a/src/mame/machine/naomirom.cpp b/src/mame/machine/naomirom.cpp index d8ed31026fe..5f074d16ec6 100644 --- a/src/mame/machine/naomirom.cpp +++ b/src/mame/machine/naomirom.cpp @@ -5,7 +5,7 @@ const device_type NAOMI_ROM_BOARD = &device_creator; -naomi_rom_board::naomi_rom_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +naomi_rom_board::naomi_rom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : naomi_board(mconfig, NAOMI_ROM_BOARD, "Sega NAOMI ROM Board", tag, owner, clock, "naomi_rom_board", __FILE__) { } diff --git a/src/mame/machine/naomirom.h b/src/mame/machine/naomirom.h index 20fdf43f31b..f23268cfa32 100644 --- a/src/mame/machine/naomirom.h +++ b/src/mame/machine/naomirom.h @@ -11,7 +11,7 @@ class naomi_rom_board : public naomi_board { public: - naomi_rom_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + naomi_rom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: virtual void device_start() override; diff --git a/src/mame/machine/nb1413m3.cpp b/src/mame/machine/nb1413m3.cpp index 9249235204f..b8992261f2c 100644 --- a/src/mame/machine/nb1413m3.cpp +++ b/src/mame/machine/nb1413m3.cpp @@ -23,7 +23,7 @@ Memo: const device_type NB1413M3 = &device_creator; -nb1413m3_device::nb1413m3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +nb1413m3_device::nb1413m3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NB1413M3, "NB1413M3 Mahjong Custom", tag, owner, clock, "nb1413m3", __FILE__), m_sndromrgntag("voice"), m_sndrombank1(0), diff --git a/src/mame/machine/nb1414m4.cpp b/src/mame/machine/nb1414m4.cpp index 5603f0c0f50..07fc537fd6c 100644 --- a/src/mame/machine/nb1414m4.cpp +++ b/src/mame/machine/nb1414m4.cpp @@ -32,7 +32,7 @@ Notes: const device_type NB1414M4 = &device_creator; -nb1414m4_device::nb1414m4_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +nb1414m4_device::nb1414m4_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NB1414M4, "NB1414M4 Mahjong Custom", tag, owner, clock, "nb1414m4", __FILE__), device_video_interface(mconfig, *this), m_data(nullptr) diff --git a/src/mame/machine/nextkbd.cpp b/src/mame/machine/nextkbd.cpp index db5e0066185..7ff946b7916 100644 --- a/src/mame/machine/nextkbd.cpp +++ b/src/mame/machine/nextkbd.cpp @@ -14,7 +14,7 @@ DEVICE_ADDRESS_MAP_START(amap, 32, nextkbd_device) AM_RANGE(0x8, 0xb) AM_READWRITE(kmdata_r, kmdata_w) ADDRESS_MAP_END -nextkbd_device::nextkbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +nextkbd_device::nextkbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NEXTKBD, "NEXTKBD", tag, owner, clock, "nextkbd", __FILE__), int_change_cb(*this), int_power_cb(*this), @@ -161,31 +161,31 @@ bool nextkbd_device::fifo_empty() const READ8_MEMBER( nextkbd_device::status_snd_r ) { - logerror("%s: status_snd_r %02x (%08x)\n", tag().c_str(), ctrl_snd, (unsigned int)space.device().safe_pc()); + logerror("%s: status_snd_r %02x (%08x)\n", tag(), ctrl_snd, (unsigned int)space.device().safe_pc()); return ctrl_snd; } READ8_MEMBER( nextkbd_device::status_kms_r ) { - logerror("%s: status_kms_r %02x (%08x)\n", tag().c_str(), ctrl_kms, (unsigned int)space.device().safe_pc()); + logerror("%s: status_kms_r %02x (%08x)\n", tag(), ctrl_kms, (unsigned int)space.device().safe_pc()); return ctrl_kms; } READ8_MEMBER( nextkbd_device::status_dma_r ) { - logerror("%s: status_dma_r %02x (%08x)\n", tag().c_str(), ctrl_dma, (unsigned int)space.device().safe_pc()); + logerror("%s: status_dma_r %02x (%08x)\n", tag(), ctrl_dma, (unsigned int)space.device().safe_pc()); return ctrl_dma; } READ8_MEMBER( nextkbd_device::status_cmd_r ) { - logerror("%s: status_cmd_r %02x (%08x)\n", tag().c_str(), ctrl_cmd, (unsigned int)space.device().safe_pc()); + logerror("%s: status_cmd_r %02x (%08x)\n", tag(), ctrl_cmd, (unsigned int)space.device().safe_pc()); return ctrl_cmd; } READ32_MEMBER( nextkbd_device::cdata_r ) { - logerror("%s: cdata_r %08x @ %08x (%08x)\n", tag().c_str(), cdata, mem_mask, (unsigned int)space.device().safe_pc()); + logerror("%s: cdata_r %08x @ %08x (%08x)\n", tag(), cdata, mem_mask, (unsigned int)space.device().safe_pc()); return cdata; } @@ -195,7 +195,7 @@ READ32_MEMBER( nextkbd_device::kmdata_r ) ctrl_kms &= ~(C_KBD_INTERRUPT|C_KBD_DATA); if(old & C_KBD_INTERRUPT) int_change_cb(false); - logerror("%s: kmdata_r %08x @ %08x (%08x)\n", tag().c_str(), kmdata, mem_mask, (unsigned int)space.device().safe_pc()); + logerror("%s: kmdata_r %08x @ %08x (%08x)\n", tag(), kmdata, mem_mask, (unsigned int)space.device().safe_pc()); return kmdata; } @@ -205,7 +205,7 @@ WRITE8_MEMBER( nextkbd_device::ctrl_snd_w ) ctrl_snd = (ctrl_snd & ~C_SOUND_WMASK) | (data & C_SOUND_WMASK); UINT8 diff = old ^ ctrl_snd; - logerror("%s: ctrl_snd_w %02x | %02x (%08x)\n", tag().c_str(), ctrl_snd, diff, (unsigned int)space.device().safe_pc()); + logerror("%s: ctrl_snd_w %02x | %02x (%08x)\n", tag(), ctrl_snd, diff, (unsigned int)space.device().safe_pc()); } WRITE8_MEMBER( nextkbd_device::ctrl_kms_w ) @@ -214,7 +214,7 @@ WRITE8_MEMBER( nextkbd_device::ctrl_kms_w ) ctrl_kms = (ctrl_kms & ~C_KMS_WMASK) | (data & C_KMS_WMASK); UINT8 diff = old ^ ctrl_kms; - logerror("%s: ctrl_kms_w %02x | %02x (%08x)\n", tag().c_str(), ctrl_kms, diff, (unsigned int)space.device().safe_pc()); + logerror("%s: ctrl_kms_w %02x | %02x (%08x)\n", tag(), ctrl_kms, diff, (unsigned int)space.device().safe_pc()); } WRITE8_MEMBER( nextkbd_device::ctrl_dma_w ) @@ -223,25 +223,25 @@ WRITE8_MEMBER( nextkbd_device::ctrl_dma_w ) ctrl_dma = (ctrl_dma & ~C_WMASK) | (data & C_WMASK); UINT8 diff = old ^ ctrl_dma; - logerror("%s: ctrl_dma_w %02x | %02x (%08x)\n", tag().c_str(), ctrl_dma, diff, (unsigned int)space.device().safe_pc()); + logerror("%s: ctrl_dma_w %02x | %02x (%08x)\n", tag(), ctrl_dma, diff, (unsigned int)space.device().safe_pc()); } WRITE8_MEMBER( nextkbd_device::ctrl_cmd_w ) { ctrl_cmd = data; - logerror("%s: ctrl_cmd_w %02x (%08x)\n", tag().c_str(), ctrl_cmd, (unsigned int)space.device().safe_pc()); + logerror("%s: ctrl_cmd_w %02x (%08x)\n", tag(), ctrl_cmd, (unsigned int)space.device().safe_pc()); } WRITE32_MEMBER( nextkbd_device::cdata_w ) { COMBINE_DATA(&cdata); - logerror("%s: cdata_w %08x @ %08x (%08x)\n", tag().c_str(), data, mem_mask, (unsigned int)space.device().safe_pc()); + logerror("%s: cdata_w %08x @ %08x (%08x)\n", tag(), data, mem_mask, (unsigned int)space.device().safe_pc()); handle_command(); } WRITE32_MEMBER( nextkbd_device::kmdata_w ) { - logerror("%s: kmdata_w %08x @ %08x (%08x)\n", tag().c_str(), data, mem_mask, (unsigned int)space.device().safe_pc()); + logerror("%s: kmdata_w %08x @ %08x (%08x)\n", tag(), data, mem_mask, (unsigned int)space.device().safe_pc()); } INPUT_CHANGED_MEMBER( nextkbd_device::update ) @@ -289,7 +289,7 @@ INPUT_CHANGED_MEMBER( nextkbd_device::update ) void nextkbd_device::handle_fifo_command() { - logerror("%s: Fifo command %08x?\n", tag().c_str(), cdata); + logerror("%s: Fifo command %08x?\n", tag(), cdata); fifo_ir = 0; fifo_iw = 0; fifo_size = 0; @@ -303,18 +303,18 @@ void nextkbd_device::handle_kbd_command() { switch(cdata >> 24) { case 0x00: - logerror("%s: Keyboard LED control %06x?\n", tag().c_str(), cdata & 0xffffff); + logerror("%s: Keyboard LED control %06x?\n", tag(), cdata & 0xffffff); ctrl_kms |= C_KBD_DATA; // Hmmmm. The rom wants it, but I'm not sure if data is actually expected break; case 0xef: - logerror("%s: Set keyboard/mouse address to %d\n", tag().c_str(), (cdata >> 17) & 7); + logerror("%s: Set keyboard/mouse address to %d\n", tag(), (cdata >> 17) & 7); km_address = ((cdata >> 17) & 7) << 25; ctrl_kms |= C_KBD_DATA; // Hmmmm. The rom wants it, but I'm not sure if data is actually expected break; default: - logerror("%s: Unhandled keyboard command %02x.%06x\n", tag().c_str(), cdata >> 24, cdata & 0xffffff); + logerror("%s: Unhandled keyboard command %02x.%06x\n", tag(), cdata >> 24, cdata & 0xffffff); break; } } @@ -331,7 +331,7 @@ void nextkbd_device::handle_command() break; default: - logerror("%s: Unhandled command %02x.%08x\n", tag().c_str(), ctrl_cmd, cdata); + logerror("%s: Unhandled command %02x.%08x\n", tag(), ctrl_cmd, cdata); break; } } diff --git a/src/mame/machine/nextkbd.h b/src/mame/machine/nextkbd.h index 53c58247b84..ed233dd8ecd 100644 --- a/src/mame/machine/nextkbd.h +++ b/src/mame/machine/nextkbd.h @@ -16,7 +16,7 @@ class nextkbd_device : public device_t { public: - nextkbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + nextkbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_int_change_wr_callback(device_t &device, _Object object) { return downcast(device).int_change_cb.set_callback(object); } template static devcb_base &set_int_power_wr_callback(device_t &device, _Object object) { return downcast(device).int_power_cb.set_callback(object); } diff --git a/src/mame/machine/nextmo.cpp b/src/mame/machine/nextmo.cpp index 4ea3c95fb47..20cfba9aa6c 100644 --- a/src/mame/machine/nextmo.cpp +++ b/src/mame/machine/nextmo.cpp @@ -18,7 +18,7 @@ DEVICE_ADDRESS_MAP_START(map, 8, nextmo_device) AM_RANGE(0x10, 0x17) AM_READWRITE(r10_r, r10_w) ADDRESS_MAP_END -nextmo_device::nextmo_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +nextmo_device::nextmo_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NEXTMO, "NeXT Magneto-optical drive", tag, owner, clock, "nextmo", __FILE__), r4(0), irq_cb(*this), diff --git a/src/mame/machine/nextmo.h b/src/mame/machine/nextmo.h index 5ccc4a17208..a219f159be2 100644 --- a/src/mame/machine/nextmo.h +++ b/src/mame/machine/nextmo.h @@ -12,7 +12,7 @@ class nextmo_device : public device_t { public: - nextmo_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + nextmo_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_irq_wr_callback(device_t &device, _Object object) { return downcast(device).irq_cb.set_callback(object); } template static devcb_base &set_drq_wr_callback(device_t &device, _Object object) { return downcast(device).drq_cb.set_callback(object); } diff --git a/src/mame/machine/ng_memcard.cpp b/src/mame/machine/ng_memcard.cpp index 05515d26696..f4c816c6f1c 100644 --- a/src/mame/machine/ng_memcard.cpp +++ b/src/mame/machine/ng_memcard.cpp @@ -19,7 +19,7 @@ const device_type NG_MEMCARD = &device_creator; // ng_memcard_device - constructor //------------------------------------------------- -ng_memcard_device::ng_memcard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +ng_memcard_device::ng_memcard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NG_MEMCARD, "NeoGeo Memory Card", tag, owner, clock, "ng_memcard", __FILE__), device_image_interface(mconfig, *this) { diff --git a/src/mame/machine/ng_memcard.h b/src/mame/machine/ng_memcard.h index e11e31fb1a1..4752c1d1a67 100644 --- a/src/mame/machine/ng_memcard.h +++ b/src/mame/machine/ng_memcard.h @@ -31,7 +31,7 @@ class ng_memcard_device : public device_t, { public: // construction/destruction - ng_memcard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + ng_memcard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual iodevice_t image_type() const override { return IO_MEMCARD; } diff --git a/src/mame/machine/ngen_kb.cpp b/src/mame/machine/ngen_kb.cpp index 1dbfa0fdac8..4c901ea5d41 100644 --- a/src/mame/machine/ngen_kb.cpp +++ b/src/mame/machine/ngen_kb.cpp @@ -4,7 +4,7 @@ #include "ngen_kb.h" -ngen_keyboard_device::ngen_keyboard_device(const machine_config& mconfig, std::string tag, device_t* owner, UINT32 clock) : +ngen_keyboard_device::ngen_keyboard_device(const machine_config& mconfig, const char* tag, device_t* owner, UINT32 clock) : serial_keyboard_device(mconfig, NGEN_KEYBOARD, "NGEN Keyboard", tag, owner, 0, "ngen_keyboard", __FILE__), m_keys_down(false) { diff --git a/src/mame/machine/ngen_kb.h b/src/mame/machine/ngen_kb.h index ce9667c1275..1270077bf99 100644 --- a/src/mame/machine/ngen_kb.h +++ b/src/mame/machine/ngen_kb.h @@ -10,7 +10,7 @@ class ngen_keyboard_device : public serial_keyboard_device { public: - ngen_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + ngen_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ioport_constructor device_input_ports() const override; virtual DECLARE_WRITE_LINE_MEMBER( input_txd ) override { device_serial_interface::rx_w(state); } diff --git a/src/mame/machine/nmk004.cpp b/src/mame/machine/nmk004.cpp index 3383ac2ab44..abf9f9d2ec6 100644 --- a/src/mame/machine/nmk004.cpp +++ b/src/mame/machine/nmk004.cpp @@ -98,7 +98,7 @@ ROM_END const device_type NMK004 = &device_creator; -nmk004_device::nmk004_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +nmk004_device::nmk004_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NMK004, "NMK004", tag, owner, clock, "nmk004", __FILE__), m_cpu(*this, "mcu"), m_systemcpu(*this, ":maincpu"), diff --git a/src/mame/machine/nmk004.h b/src/mame/machine/nmk004.h index 3ffec45cfc3..e10866db2fd 100644 --- a/src/mame/machine/nmk004.h +++ b/src/mame/machine/nmk004.h @@ -21,7 +21,7 @@ class nmk004_device : public device_t { public: - nmk004_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + nmk004_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); WRITE8_MEMBER( write ); READ8_MEMBER( read ); diff --git a/src/mame/machine/nmk112.cpp b/src/mame/machine/nmk112.cpp index 03dd10a53d8..afe6588c000 100644 --- a/src/mame/machine/nmk112.cpp +++ b/src/mame/machine/nmk112.cpp @@ -19,9 +19,11 @@ const device_type NMK112 = &device_creator; -nmk112_device::nmk112_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +nmk112_device::nmk112_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NMK112, "NMK112", tag, owner, clock, "nmk112", __FILE__), m_page_mask(0xff), + m_tag0(nullptr), + m_tag1(nullptr), m_rom0(nullptr), m_rom1(nullptr), m_size0(0), @@ -38,12 +40,12 @@ void nmk112_device::device_start() save_item(NAME(m_current_bank)); machine().save().register_postload(save_prepost_delegate(FUNC(nmk112_device::postload_bankswitch), this)); - if (!m_tag0.empty()) + if (m_tag0) { m_rom0 = machine().root_device().memregion(m_tag0)->base(); m_size0 = machine().root_device().memregion(m_tag0)->bytes() - 0x40000; } - if (!m_tag1.empty()) + if (m_tag1) { m_rom1 = machine().root_device().memregion(m_tag1)->base(); m_size1 = machine().root_device().memregion(m_tag1)->bytes() - 0x40000; diff --git a/src/mame/machine/nmk112.h b/src/mame/machine/nmk112.h index a7a26dd5c36..c65e244e53a 100644 --- a/src/mame/machine/nmk112.h +++ b/src/mame/machine/nmk112.h @@ -16,12 +16,12 @@ class nmk112_device : public device_t { public: - nmk112_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + nmk112_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~nmk112_device() {} // static configuration - static void set_rom0_tag(device_t &device, std::string tag) { downcast(device).m_tag0 = tag; } - static void set_rom1_tag(device_t &device, std::string tag) { downcast(device).m_tag1 = tag; } + static void set_rom0_tag(device_t &device, const char *tag) { downcast(device).m_tag0 = tag; } + static void set_rom1_tag(device_t &device, const char *tag) { downcast(device).m_tag1 = tag; } static void set_page_mask(device_t &device, UINT8 mask) { downcast(device).m_page_mask = ~mask; } DECLARE_WRITE8_MEMBER( okibank_w ); @@ -42,8 +42,7 @@ private: UINT8 m_current_bank[8]; - std::string m_tag0; - std::string m_tag1; + const char *m_tag0, *m_tag1; UINT8 *m_rom0, *m_rom1; int m_size0, m_size1; }; diff --git a/src/mame/machine/ns10crypt.cpp b/src/mame/machine/ns10crypt.cpp index 54e89d3e993..e639108166c 100644 --- a/src/mame/machine/ns10crypt.cpp +++ b/src/mame/machine/ns10crypt.cpp @@ -124,7 +124,7 @@ const device_type STARTRGN_DECRYPTER = &device_creator; /* soul edge */ -keycus_c409_device::keycus_c409_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +keycus_c409_device::keycus_c409_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ns11_keycus_device(mconfig, KEYCUS_C409, "Namco C409 KEYCUS", tag, owner, clock, "keycus_c409", __FILE__) { } @@ -108,7 +108,7 @@ const device_type KEYCUS_C409 = &device_creator; /* dunk mania */ -keycus_c410_device::keycus_c410_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +keycus_c410_device::keycus_c410_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ns11_keycus_device(mconfig, KEYCUS_C410, "Namco C410 KEYCUS", tag, owner, clock, "keycus_c410", __FILE__) { } @@ -162,7 +162,7 @@ const device_type KEYCUS_C410 = &device_creator; /* prime goal ex */ -keycus_c411_device::keycus_c411_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +keycus_c411_device::keycus_c411_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ns11_keycus_device(mconfig, KEYCUS_C411, "Namco C411 KEYCUS", tag, owner, clock, "keycus_c411", __FILE__) { } @@ -218,7 +218,7 @@ const device_type KEYCUS_C411 = &device_creator; /* xevious 3d/g */ -keycus_c430_device::keycus_c430_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +keycus_c430_device::keycus_c430_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ns11_keycus_device(mconfig, KEYCUS_C430, "Namco C430 KEYCUS", tag, owner, clock, "keycus_c430", __FILE__) { } @@ -277,7 +277,7 @@ const device_type KEYCUS_C430 = &device_creator; /* dancing eyes */ -keycus_c431_device::keycus_c431_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +keycus_c431_device::keycus_c431_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ns11_keycus_device(mconfig, KEYCUS_C431, "Namco C431 KEYCUS", tag, owner, clock, "keycus_c431", __FILE__) { } @@ -335,7 +335,7 @@ const device_type KEYCUS_C431 = &device_creator; /* pocket racer */ -keycus_c432_device::keycus_c432_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +keycus_c432_device::keycus_c432_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ns11_keycus_device(mconfig, KEYCUS_C432, "Namco C432 KEYCUS", tag, owner, clock, "keycus_c432", __FILE__) { } @@ -395,7 +395,7 @@ const device_type KEYCUS_C432 = &device_creator; /* star sweep */ -keycus_c442_device::keycus_c442_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +keycus_c442_device::keycus_c442_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ns11_keycus_device(mconfig, KEYCUS_C442, "Namco C442 KEYCUS", tag, owner, clock, "keycus_c442", __FILE__) { } @@ -443,7 +443,7 @@ const device_type KEYCUS_C442 = &device_creator; /* kosodate quiz my angel 3 / point blank 2 */ -keycus_c443_device::keycus_c443_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +keycus_c443_device::keycus_c443_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ns11_keycus_device(mconfig, KEYCUS_C443, "Namco C443 KEYCUS", tag, owner, clock, "keycus_c443", __FILE__) { } diff --git a/src/mame/machine/ns11prot.h b/src/mame/machine/ns11prot.h index 9b3fd0cc333..3a3d0109978 100644 --- a/src/mame/machine/ns11prot.h +++ b/src/mame/machine/ns11prot.h @@ -10,7 +10,7 @@ class ns11_keycus_device : public device_t { protected: - ns11_keycus_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock,const char *shortname, const char *source); + ns11_keycus_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock,const char *shortname, const char *source); virtual void device_start() override; virtual void device_reset() override; @@ -30,7 +30,7 @@ public: class keycus_c406_device : public ns11_keycus_device { public: - keycus_c406_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + keycus_c406_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual DECLARE_READ16_MEMBER( read ) override; virtual DECLARE_WRITE16_MEMBER( write ) override; @@ -43,7 +43,7 @@ extern const device_type KEYCUS_C406; class keycus_c409_device : public ns11_keycus_device { public: - keycus_c409_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + keycus_c409_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual DECLARE_READ16_MEMBER( read ) override; virtual DECLARE_WRITE16_MEMBER( write ) override; @@ -56,7 +56,7 @@ extern const device_type KEYCUS_C409; class keycus_c410_device : public ns11_keycus_device { public: - keycus_c410_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + keycus_c410_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual DECLARE_READ16_MEMBER( read ) override; virtual DECLARE_WRITE16_MEMBER( write ) override; @@ -69,7 +69,7 @@ extern const device_type KEYCUS_C410; class keycus_c411_device : public ns11_keycus_device { public: - keycus_c411_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + keycus_c411_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual DECLARE_READ16_MEMBER( read ) override; virtual DECLARE_WRITE16_MEMBER( write ) override; @@ -82,7 +82,7 @@ extern const device_type KEYCUS_C411; class keycus_c430_device : public ns11_keycus_device { public: - keycus_c430_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + keycus_c430_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual DECLARE_READ16_MEMBER( read ) override; virtual DECLARE_WRITE16_MEMBER( write ) override; @@ -95,7 +95,7 @@ extern const device_type KEYCUS_C430; class keycus_c431_device : public ns11_keycus_device { public: - keycus_c431_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + keycus_c431_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual DECLARE_READ16_MEMBER( read ) override; virtual DECLARE_WRITE16_MEMBER( write ) override; @@ -108,7 +108,7 @@ extern const device_type KEYCUS_C431; class keycus_c432_device : public ns11_keycus_device { public: - keycus_c432_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + keycus_c432_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual DECLARE_READ16_MEMBER( read ) override; virtual DECLARE_WRITE16_MEMBER( write ) override; @@ -121,7 +121,7 @@ extern const device_type KEYCUS_C432; class keycus_c442_device : public ns11_keycus_device { public: - keycus_c442_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + keycus_c442_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual DECLARE_READ16_MEMBER( read ) override; virtual DECLARE_WRITE16_MEMBER( write ) override; @@ -134,7 +134,7 @@ extern const device_type KEYCUS_C442; class keycus_c443_device : public ns11_keycus_device { public: - keycus_c443_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + keycus_c443_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual DECLARE_READ16_MEMBER( read ) override; virtual DECLARE_WRITE16_MEMBER( write ) override; diff --git a/src/mame/machine/pc1512kb.cpp b/src/mame/machine/pc1512kb.cpp index aa24da96099..262d253d31b 100644 --- a/src/mame/machine/pc1512kb.cpp +++ b/src/mame/machine/pc1512kb.cpp @@ -225,7 +225,7 @@ ioport_constructor pc1512_keyboard_device::device_input_ports() const // pc1512_keyboard_device - constructor //------------------------------------------------- -pc1512_keyboard_device::pc1512_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pc1512_keyboard_device::pc1512_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PC1512_KEYBOARD, "Amstrad PC1512 Keyboard", tag, owner, clock, "pc1512kb", __FILE__), m_maincpu(*this, I8048_TAG), m_y1(*this, "Y1"), diff --git a/src/mame/machine/pc1512kb.h b/src/mame/machine/pc1512kb.h index 34b873f6ef3..d27d4b200e0 100644 --- a/src/mame/machine/pc1512kb.h +++ b/src/mame/machine/pc1512kb.h @@ -47,7 +47,7 @@ class pc1512_keyboard_device : public device_t { public: // construction/destruction - pc1512_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pc1512_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_clock_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_clock.set_callback(object); } template static devcb_base &set_data_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_data.set_callback(object); } diff --git a/src/mame/machine/pc9801_118.cpp b/src/mame/machine/pc9801_118.cpp index 0de0bc067ab..ee3a189b338 100644 --- a/src/mame/machine/pc9801_118.cpp +++ b/src/mame/machine/pc9801_118.cpp @@ -117,7 +117,7 @@ const rom_entry *pc9801_118_device::device_rom_region() const // pc9801_118_device - constructor //------------------------------------------------- -pc9801_118_device::pc9801_118_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pc9801_118_device::pc9801_118_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PC9801_118, "pc9801_118", tag, owner, clock, "pc9801_118", __FILE__), // m_maincpu(*owner, "maincpu"), m_opn3(*this, "opn3") diff --git a/src/mame/machine/pc9801_118.h b/src/mame/machine/pc9801_118.h index 05a333de6eb..83e4cb4b284 100644 --- a/src/mame/machine/pc9801_118.h +++ b/src/mame/machine/pc9801_118.h @@ -26,7 +26,7 @@ class pc9801_118_device : public device_t { public: // construction/destruction - pc9801_118_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pc9801_118_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; diff --git a/src/mame/machine/pc9801_26.cpp b/src/mame/machine/pc9801_26.cpp index 38facbc8609..2f0b0351c7c 100644 --- a/src/mame/machine/pc9801_26.cpp +++ b/src/mame/machine/pc9801_26.cpp @@ -109,7 +109,7 @@ ioport_constructor pc9801_26_device::device_input_ports() const // pc9801_26_device - constructor //------------------------------------------------- -pc9801_26_device::pc9801_26_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pc9801_26_device::pc9801_26_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PC9801_26, "pc9801_26", tag, owner, clock, "pc9801_26", __FILE__), // m_maincpu(*owner, "maincpu"), m_opn(*this, "opn") diff --git a/src/mame/machine/pc9801_26.h b/src/mame/machine/pc9801_26.h index 870ebb54956..cf87298347a 100644 --- a/src/mame/machine/pc9801_26.h +++ b/src/mame/machine/pc9801_26.h @@ -26,7 +26,7 @@ class pc9801_26_device : public device_t { public: // construction/destruction - pc9801_26_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pc9801_26_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; diff --git a/src/mame/machine/pc9801_86.cpp b/src/mame/machine/pc9801_86.cpp index 57377adc43a..db40adbcaa4 100644 --- a/src/mame/machine/pc9801_86.cpp +++ b/src/mame/machine/pc9801_86.cpp @@ -125,7 +125,7 @@ ioport_constructor pc9801_86_device::device_input_ports() const // pc9801_86_device - constructor //------------------------------------------------- -pc9801_86_device::pc9801_86_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pc9801_86_device::pc9801_86_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PC9801_86, "pc9801_86", tag, owner, clock, "pc9801_86", __FILE__), m_opna(*this, "opna"), m_dacl(*this, "dacl"), diff --git a/src/mame/machine/pc9801_86.h b/src/mame/machine/pc9801_86.h index 3bb780bd10d..61b48dcabb9 100644 --- a/src/mame/machine/pc9801_86.h +++ b/src/mame/machine/pc9801_86.h @@ -26,7 +26,7 @@ class pc9801_86_device : public device_t { public: // construction/destruction - pc9801_86_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pc9801_86_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; diff --git a/src/mame/machine/pc9801_cbus.cpp b/src/mame/machine/pc9801_cbus.cpp index 730e6ae11d5..2e3f6b59670 100644 --- a/src/mame/machine/pc9801_cbus.cpp +++ b/src/mame/machine/pc9801_cbus.cpp @@ -51,7 +51,7 @@ device_pc9801cbus_card_interface::~device_pc9801cbus_card_interface() // pc9801_slot_device - constructor //------------------------------------------------- -pc9801_slot_device::pc9801_slot_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +pc9801_slot_device::pc9801_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PC9801CBUS_SLOT, "PC-9801 sound cbus slot", tag, owner, clock, "pc9801_slot", __FILE__), device_slot_interface(mconfig, *this) { diff --git a/src/mame/machine/pc9801_cbus.h b/src/mame/machine/pc9801_cbus.h index 42e4edff67f..2a7ca5e33e1 100644 --- a/src/mame/machine/pc9801_cbus.h +++ b/src/mame/machine/pc9801_cbus.h @@ -58,7 +58,7 @@ class pc9801_slot_device : public device_t, { public: // construction/destruction - pc9801_slot_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pc9801_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // device-level overrides virtual void device_start() override; diff --git a/src/mame/machine/pc9801_kbd.cpp b/src/mame/machine/pc9801_kbd.cpp index caf42e6903d..260bd9f6b3d 100644 --- a/src/mame/machine/pc9801_kbd.cpp +++ b/src/mame/machine/pc9801_kbd.cpp @@ -34,7 +34,7 @@ const device_type PC9801_KBD = &device_creator; // pc9801_kbd_device - constructor //------------------------------------------------- -pc9801_kbd_device::pc9801_kbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +pc9801_kbd_device::pc9801_kbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PC9801_KBD, "pc9801_kbd", tag, owner, clock, "pc9801_kbd_", __FILE__), m_write_irq(*this) { diff --git a/src/mame/machine/pc9801_kbd.h b/src/mame/machine/pc9801_kbd.h index bca5cc12e8c..c33d554ab3e 100644 --- a/src/mame/machine/pc9801_kbd.h +++ b/src/mame/machine/pc9801_kbd.h @@ -30,7 +30,7 @@ class pc9801_kbd_device : public device_t { public: // construction/destruction - pc9801_kbd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pc9801_kbd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_irq_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_irq.set_callback(object); } diff --git a/src/mame/machine/pcd_kbd.cpp b/src/mame/machine/pcd_kbd.cpp index 5f60b353fe7..4c1aa9f0ea5 100644 --- a/src/mame/machine/pcd_kbd.cpp +++ b/src/mame/machine/pcd_kbd.cpp @@ -221,7 +221,7 @@ ioport_constructor pcd_keyboard_device::device_input_ports() const return INPUT_PORTS_NAME( pcd_keyboard ); } -pcd_keyboard_device::pcd_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pcd_keyboard_device::pcd_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PCD_KEYBOARD, "PC-D Keyboard", tag, owner, clock, "pcd_kbd", __FILE__), m_rows(*this, "ROW"), m_p1(0), diff --git a/src/mame/machine/pcd_kbd.h b/src/mame/machine/pcd_kbd.h index 79de0cbdcdf..921abdb2454 100644 --- a/src/mame/machine/pcd_kbd.h +++ b/src/mame/machine/pcd_kbd.h @@ -13,7 +13,7 @@ class pcd_keyboard_device : public device_t { public: - pcd_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pcd_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_out_tx_handler(device_t &device, _Object object) { return downcast(device).m_out_tx_handler.set_callback(object); } diff --git a/src/mame/machine/pce220_ser.cpp b/src/mame/machine/pce220_ser.cpp index 79761f0dd4c..59aaf593e73 100644 --- a/src/mame/machine/pce220_ser.cpp +++ b/src/mame/machine/pce220_ser.cpp @@ -43,7 +43,7 @@ const device_type PCE220SERIAL = &device_creator; // pce220_serial_device - constructor //------------------------------------------------- -pce220_serial_device::pce220_serial_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pce220_serial_device::pce220_serial_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PCE220SERIAL, "Sharp PC-E220 serial", tag, owner, clock, "pce220_serial", __FILE__), device_image_interface(mconfig, *this) { @@ -190,7 +190,7 @@ void pce220_serial_device::device_timer(emu_timer &timer, device_timer_id id, in break; case SIO_SEND_PARITY: if (m_xout != calc_parity(m_current_byte)) - logerror("SIO %s: byte %d has wrong parity!\n", tag().c_str(), m_bytes_count); + logerror("SIO %s: byte %d has wrong parity!\n", tag(), m_bytes_count); break; case SIO_SEND_STOP1: case SIO_SEND_STOP2: diff --git a/src/mame/machine/pce220_ser.h b/src/mame/machine/pce220_ser.h index c503a770338..dd351a4d9ff 100644 --- a/src/mame/machine/pce220_ser.h +++ b/src/mame/machine/pce220_ser.h @@ -23,7 +23,7 @@ class pce220_serial_device : public device_t, { public: // construction/destruction - pce220_serial_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pce220_serial_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ~pce220_serial_device(); // image-level overrides diff --git a/src/mame/machine/pce_cd.cpp b/src/mame/machine/pce_cd.cpp index 3a277d5d25b..26e730b491e 100644 --- a/src/mame/machine/pce_cd.cpp +++ b/src/mame/machine/pce_cd.cpp @@ -78,7 +78,7 @@ CD Interface Register 0x0f - ADPCM fade in/out register const device_type PCE_CD = &device_creator; -pce_cd_device::pce_cd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pce_cd_device::pce_cd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PCE_CD, "PCE CD Add-on", tag, owner, clock, "pcecd", __FILE__), m_maincpu(*this, ":maincpu"), m_msm(*this, "msm5205"), diff --git a/src/mame/machine/pce_cd.h b/src/mame/machine/pce_cd.h index 03ac019997a..ebb39aeb680 100644 --- a/src/mame/machine/pce_cd.h +++ b/src/mame/machine/pce_cd.h @@ -42,7 +42,7 @@ class pce_cd_device : public device_t { public: // construction/destruction - pce_cd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pce_cd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ~pce_cd_device() {} // device-level overrides diff --git a/src/mame/machine/pcecommn.h b/src/mame/machine/pcecommn.h index 65b6506fb56..deed15decaa 100644 --- a/src/mame/machine/pcecommn.h +++ b/src/mame/machine/pcecommn.h @@ -18,7 +18,7 @@ class pce_common_state : public driver_device { public: - pce_common_state(const machine_config &mconfig, device_type type, std::string tag) + pce_common_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_huc6260(*this, "huc6260") { } diff --git a/src/mame/machine/pcshare.h b/src/mame/machine/pcshare.h index 16b499ee117..81d423ad1d0 100644 --- a/src/mame/machine/pcshare.h +++ b/src/mame/machine/pcshare.h @@ -9,7 +9,7 @@ class pcat_base_state : public driver_device { public: - pcat_base_state(const machine_config &mconfig, device_type type, std::string tag) + pcat_base_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_dma8237_1(*this, "dma8237_1"), diff --git a/src/mame/machine/prof80mmu.cpp b/src/mame/machine/prof80mmu.cpp index 4af917bc1e7..68bdabb7237 100644 --- a/src/mame/machine/prof80mmu.cpp +++ b/src/mame/machine/prof80mmu.cpp @@ -34,7 +34,7 @@ ADDRESS_MAP_END // prof80_mmu_device - constructor //------------------------------------------------- -prof80_mmu_device::prof80_mmu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +prof80_mmu_device::prof80_mmu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PROF80_MMU, "PROF80_MMU", tag, owner, clock, "prof80_mmu", __FILE__), device_memory_interface(mconfig, *this), m_program_space_config("program", ENDIANNESS_LITTLE, 8, 20, 0, *ADDRESS_MAP_NAME(program_map)) diff --git a/src/mame/machine/prof80mmu.h b/src/mame/machine/prof80mmu.h index 39247168848..db0352fa913 100644 --- a/src/mame/machine/prof80mmu.h +++ b/src/mame/machine/prof80mmu.h @@ -35,7 +35,7 @@ class prof80_mmu_device : public device_t, public device_memory_interface { public: - prof80_mmu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + prof80_mmu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual DECLARE_ADDRESS_MAP(z80_program_map, 8); diff --git a/src/mame/machine/psion_pack.cpp b/src/mame/machine/psion_pack.cpp index efbed1da682..eef4bdc4709 100644 --- a/src/mame/machine/psion_pack.cpp +++ b/src/mame/machine/psion_pack.cpp @@ -60,7 +60,7 @@ const device_type PSION_DATAPACK = &device_creator; // datapack_device - constructor //------------------------------------------------- -datapack_device::datapack_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +datapack_device::datapack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PSION_DATAPACK, "Psion Datapack", tag, owner, clock, "datapack", __FILE__), device_image_interface(mconfig, *this) { diff --git a/src/mame/machine/psion_pack.h b/src/mame/machine/psion_pack.h index 131df31f32f..d5d68aca7b1 100644 --- a/src/mame/machine/psion_pack.h +++ b/src/mame/machine/psion_pack.h @@ -21,7 +21,7 @@ class datapack_device : public device_t, { public: // construction/destruction - datapack_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + datapack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ~datapack_device(); // image-level overrides diff --git a/src/mame/machine/psxcd.cpp b/src/mame/machine/psxcd.cpp index 7203590a375..069e9f224f1 100644 --- a/src/mame/machine/psxcd.cpp +++ b/src/mame/machine/psxcd.cpp @@ -85,7 +85,7 @@ enum submode_flags const device_type PSXCD = &device_creator; -psxcd_device::psxcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +psxcd_device::psxcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : cdrom_image_device(mconfig, PSXCD, "PSX Cdrom", tag, owner, clock, "psx_cd", __FILE__), m_irq_handler(*this) { diff --git a/src/mame/machine/psxcd.h b/src/mame/machine/psxcd.h index b322d0a2725..4bcf9ee5696 100644 --- a/src/mame/machine/psxcd.h +++ b/src/mame/machine/psxcd.h @@ -21,7 +21,7 @@ class psxcd_device : public cdrom_image_device { public: - psxcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + psxcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration helpers template static devcb_base &set_irq_handler(device_t &device, _Object object) { return downcast(device).m_irq_handler.set_callback(object); } diff --git a/src/mame/machine/qimi.cpp b/src/mame/machine/qimi.cpp index aeb4b751cb8..e1a55134b69 100644 --- a/src/mame/machine/qimi.cpp +++ b/src/mame/machine/qimi.cpp @@ -102,7 +102,7 @@ ioport_constructor qimi_t::device_input_ports() const // qimi_t - constructor //------------------------------------------------- -qimi_t::qimi_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +qimi_t::qimi_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, QIMI, "QL Internal Mouse Interface", tag, owner, clock, "qimi", __FILE__), m_write_extint(*this), m_buttons(*this, "mouse_buttons"), diff --git a/src/mame/machine/qimi.h b/src/mame/machine/qimi.h index 8d5f67298bc..ffa3caf0fe1 100644 --- a/src/mame/machine/qimi.h +++ b/src/mame/machine/qimi.h @@ -34,7 +34,7 @@ class qimi_t : public device_t { public: // construction/destruction - qimi_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + qimi_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_exting_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_extint.set_callback(object); } diff --git a/src/mame/machine/qx10kbd.cpp b/src/mame/machine/qx10kbd.cpp index a975aaa3cc8..1a4c7364c06 100644 --- a/src/mame/machine/qx10kbd.cpp +++ b/src/mame/machine/qx10kbd.cpp @@ -4,7 +4,7 @@ #include "machine/qx10kbd.h" -qx10_keyboard_device::qx10_keyboard_device(const machine_config& mconfig, std::string tag, device_t* owner, UINT32 clock) : +qx10_keyboard_device::qx10_keyboard_device(const machine_config& mconfig, const char* tag, device_t* owner, UINT32 clock) : serial_keyboard_device(mconfig, QX10_KEYBOARD, "QX10 Keyboard", tag, owner, 0, "qx10_keyboard", __FILE__), m_io_kbd8(*this, "TERM_LINE8"), m_io_kbd9(*this, "TERM_LINE9"), diff --git a/src/mame/machine/qx10kbd.h b/src/mame/machine/qx10kbd.h index 3f25b426e7d..4adb6ebb9a4 100644 --- a/src/mame/machine/qx10kbd.h +++ b/src/mame/machine/qx10kbd.h @@ -8,7 +8,7 @@ class qx10_keyboard_device : public serial_keyboard_device { public: - qx10_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + qx10_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ioport_constructor device_input_ports() const override; protected: diff --git a/src/mame/machine/raiden2cop.cpp b/src/mame/machine/raiden2cop.cpp index 519b93cd8c7..0190e691043 100644 --- a/src/mame/machine/raiden2cop.cpp +++ b/src/mame/machine/raiden2cop.cpp @@ -24,7 +24,7 @@ const device_type RAIDEN2COP = &device_creator; -raiden2cop_device::raiden2cop_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +raiden2cop_device::raiden2cop_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, RAIDEN2COP, "Seibu COP (Raiden 2)", tag, owner, clock, "raiden2cop", __FILE__), cop_latch_addr(0), cop_latch_trigger(0), diff --git a/src/mame/machine/raiden2cop.h b/src/mame/machine/raiden2cop.h index 2f55efe547d..9f543062541 100644 --- a/src/mame/machine/raiden2cop.h +++ b/src/mame/machine/raiden2cop.h @@ -34,7 +34,7 @@ class raiden2cop_device : public device_t { public: - raiden2cop_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + raiden2cop_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // Command Table UINT16 cop_func_trigger[0x100/8]; /* function trigger */ diff --git a/src/mame/machine/rmnkbd.cpp b/src/mame/machine/rmnkbd.cpp index 68abae29b7b..30987c6701e 100644 --- a/src/mame/machine/rmnkbd.cpp +++ b/src/mame/machine/rmnkbd.cpp @@ -2,7 +2,7 @@ // copyright-holders:Carl #include "machine/rmnkbd.h" -rmnimbus_keyboard_device::rmnimbus_keyboard_device(const machine_config& mconfig, std::string tag, device_t* owner, UINT32 clock) : +rmnimbus_keyboard_device::rmnimbus_keyboard_device(const machine_config& mconfig, const char* tag, device_t* owner, UINT32 clock) : serial_keyboard_device(mconfig, RMNIMBUS_KEYBOARD, "RM Nimbus Keyboard", tag, owner, 0, "rmnimbus_keyboard", __FILE__), m_io_kbd8(*this, "TERM_LINE8"), m_io_kbd9(*this, "TERM_LINE9"), diff --git a/src/mame/machine/rmnkbd.h b/src/mame/machine/rmnkbd.h index 8b93db6358a..f60f600ac99 100644 --- a/src/mame/machine/rmnkbd.h +++ b/src/mame/machine/rmnkbd.h @@ -8,7 +8,7 @@ class rmnimbus_keyboard_device : public serial_keyboard_device { public: - rmnimbus_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + rmnimbus_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ioport_constructor device_input_ports() const override; protected: diff --git a/src/mame/machine/rx01.cpp b/src/mame/machine/rx01.cpp index 3721c43dd61..b4cb85869ea 100644 --- a/src/mame/machine/rx01.cpp +++ b/src/mame/machine/rx01.cpp @@ -48,7 +48,7 @@ const device_type RX01 = &device_creator; // rx01_device - constructor //------------------------------------------------- -rx01_device::rx01_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +rx01_device::rx01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, RX01, "RX01", tag, owner, clock, "rx01", __FILE__) { } diff --git a/src/mame/machine/rx01.h b/src/mame/machine/rx01.h index 5bb14cabc60..ad55511be41 100644 --- a/src/mame/machine/rx01.h +++ b/src/mame/machine/rx01.h @@ -30,7 +30,7 @@ class rx01_device : public device_t { public: // construction/destruction - rx01_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + rx01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_READ16_MEMBER( read ); DECLARE_WRITE16_MEMBER( write ); diff --git a/src/mame/machine/s32comm.cpp b/src/mame/machine/s32comm.cpp index 5d670bd6bc7..dad9c291527 100644 --- a/src/mame/machine/s32comm.cpp +++ b/src/mame/machine/s32comm.cpp @@ -97,7 +97,7 @@ machine_config_constructor s32comm_device::device_mconfig_additions() const // s32comm_device - constructor //------------------------------------------------- -s32comm_device::s32comm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +s32comm_device::s32comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, S32COMM, "SYSTEM32 COMMUNICATION BD", tag, owner, clock, "s32comm", __FILE__), m_line_rx(OPEN_FLAG_WRITE | OPEN_FLAG_CREATE ), m_line_tx(OPEN_FLAG_READ) diff --git a/src/mame/machine/s32comm.h b/src/mame/machine/s32comm.h index 782eb1e9cd3..19b01110361 100644 --- a/src/mame/machine/s32comm.h +++ b/src/mame/machine/s32comm.h @@ -20,7 +20,7 @@ class s32comm_device : public device_t { public: // construction/destruction - s32comm_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + s32comm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual machine_config_constructor device_mconfig_additions() const override; diff --git a/src/mame/machine/segabb.cpp b/src/mame/machine/segabb.cpp index 53246e69126..8adbf5dc809 100644 --- a/src/mame/machine/segabb.cpp +++ b/src/mame/machine/segabb.cpp @@ -13,7 +13,7 @@ ADDRESS_MAP_END DEVICE_ADDRESS_MAP_START(map3, 32, sega_lindbergh_baseboard_device) ADDRESS_MAP_END -sega_lindbergh_baseboard_device::sega_lindbergh_baseboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sega_lindbergh_baseboard_device::sega_lindbergh_baseboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : pci_device(mconfig, SEGA_LINDBERGH_BASEBOARD, "Sega Lindbergh Baseboard", tag, owner, clock, "sega_lindbergh_baseboard", __FILE__) { } diff --git a/src/mame/machine/segabb.h b/src/mame/machine/segabb.h index 1ff7a2d4ab2..93f42833fea 100644 --- a/src/mame/machine/segabb.h +++ b/src/mame/machine/segabb.h @@ -12,7 +12,7 @@ class sega_lindbergh_baseboard_device : public pci_device { public: - sega_lindbergh_baseboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sega_lindbergh_baseboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: virtual void device_start() override; diff --git a/src/mame/machine/segaic16.cpp b/src/mame/machine/segaic16.cpp index 9351d784654..3d807412a56 100644 --- a/src/mame/machine/segaic16.cpp +++ b/src/mame/machine/segaic16.cpp @@ -42,7 +42,7 @@ const device_type SEGA_315_5250_COMPARE_TIMER = &device_creator sound_write_delegate; // construction/destruction - sega_315_5195_mapper_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sega_315_5195_mapper_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration helpers static void static_set_cputag(device_t &device, const char *cpu); @@ -182,7 +182,7 @@ class sega_315_5248_multiplier_device : public device_t { public: // construction/destruction - sega_315_5248_multiplier_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sega_315_5248_multiplier_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // public interface DECLARE_READ16_MEMBER( read ); @@ -205,7 +205,7 @@ class sega_315_5249_divider_device : public device_t { public: // construction/destruction - sega_315_5249_divider_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sega_315_5249_divider_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // public interface DECLARE_READ16_MEMBER( read ); @@ -234,7 +234,7 @@ public: typedef device_delegate timer_ack_delegate; // construction/destruction - sega_315_5250_compare_timer_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sega_315_5250_compare_timer_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration helpers static void static_set_timer_ack(device_t &device, timer_ack_delegate callback); diff --git a/src/mame/machine/seicop.cpp b/src/mame/machine/seicop.cpp index 83c10b41002..d5640aa6881 100644 --- a/src/mame/machine/seicop.cpp +++ b/src/mame/machine/seicop.cpp @@ -22,7 +22,7 @@ const device_type SEIBU_COP_BOOTLEG = &device_creator; -seibu_cop_bootleg_device::seibu_cop_bootleg_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +seibu_cop_bootleg_device::seibu_cop_bootleg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SEIBU_COP_BOOTLEG, "Seibu COP (Bootleg)", tag, owner, clock, "seibu_cop_boot", __FILE__), m_cop_mcu_ram(nullptr), m_raiden2cop(*this, ":raiden2cop") diff --git a/src/mame/machine/seicop.h b/src/mame/machine/seicop.h index 7851a88b1a8..a1bfa9b592c 100644 --- a/src/mame/machine/seicop.h +++ b/src/mame/machine/seicop.h @@ -8,7 +8,7 @@ class seibu_cop_bootleg_device : public device_t { public: -seibu_cop_bootleg_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); +seibu_cop_bootleg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_READ16_MEMBER( copdxbl_0_r ); DECLARE_WRITE16_MEMBER( copdxbl_0_w ); diff --git a/src/mame/machine/sgi.cpp b/src/mame/machine/sgi.cpp index a62825fc613..d9b6e8b8887 100644 --- a/src/mame/machine/sgi.cpp +++ b/src/mame/machine/sgi.cpp @@ -30,7 +30,7 @@ static inline void ATTR_PRINTF(3,4) verboselog( running_machine &machine, int n_ const device_type SGI_MC = &device_creator; -sgi_mc_device::sgi_mc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sgi_mc_device::sgi_mc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SGI_MC, "SGI Memory Controller", tag, owner, clock, "sgi_mc", __FILE__), m_tUpdateTimer(nullptr), m_nCPUControl0(0), diff --git a/src/mame/machine/sgi.h b/src/mame/machine/sgi.h index 650f62134f3..9cebd996873 100644 --- a/src/mame/machine/sgi.h +++ b/src/mame/machine/sgi.h @@ -14,7 +14,7 @@ class sgi_mc_device : public device_t { public: - sgi_mc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sgi_mc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~sgi_mc_device() {} DECLARE_READ32_MEMBER(read); diff --git a/src/mame/machine/slapstic.cpp b/src/mame/machine/slapstic.cpp index 5ecab2095a7..4ff2fe4a2e3 100644 --- a/src/mame/machine/slapstic.cpp +++ b/src/mame/machine/slapstic.cpp @@ -186,7 +186,7 @@ extern const device_type SLAPSTIC = &device_creator; -atari_slapstic_device::atari_slapstic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +atari_slapstic_device::atari_slapstic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SLAPSTIC, "Atari Slapstic", tag, owner, clock, "slapstic", __FILE__), state(0), current_bank(0), diff --git a/src/mame/machine/smartmed.cpp b/src/mame/machine/smartmed.cpp index e73cf0b0203..9ba88c447fe 100644 --- a/src/mame/machine/smartmed.cpp +++ b/src/mame/machine/smartmed.cpp @@ -72,7 +72,7 @@ enum const device_type NAND = &device_creator; -nand_device::nand_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +nand_device::nand_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NAND, "NAND Flash Memory", tag, owner, clock, "nand", __FILE__), m_page_data_size(0), m_page_total_size(0), @@ -88,7 +88,7 @@ nand_device::nand_device(const machine_config &mconfig, std::string tag, device_ memset(m_id, 0, sizeof(m_id)); } -nand_device::nand_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +nand_device::nand_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_page_data_size(0), m_page_total_size(0), @@ -779,7 +779,7 @@ void nand_device::device_reset() const device_type SMARTMEDIA = &device_creator; -smartmedia_image_device::smartmedia_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +smartmedia_image_device::smartmedia_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : nand_device(mconfig, SMARTMEDIA, "SmartMedia Flash ROM", tag, owner, clock, "smartmedia", __FILE__), device_image_interface(mconfig, *this) { diff --git a/src/mame/machine/smartmed.h b/src/mame/machine/smartmed.h index 251dc563365..15ad48d4235 100644 --- a/src/mame/machine/smartmed.h +++ b/src/mame/machine/smartmed.h @@ -57,8 +57,8 @@ class nand_device : public device_t { public: // construction/destruction - nand_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - nand_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + nand_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + nand_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); template static devcb_base &set_rnb_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_rnb.set_callback(object); } @@ -201,7 +201,7 @@ class smartmedia_image_device : public nand_device, { public: // construction/destruction - smartmedia_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + smartmedia_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // image-level overrides virtual iodevice_t image_type() const override { return IO_MEMCARD; } diff --git a/src/mame/machine/sonydriv.cpp b/src/mame/machine/sonydriv.cpp index 89bec93984d..3c70a4664e7 100644 --- a/src/mame/machine/sonydriv.cpp +++ b/src/mame/machine/sonydriv.cpp @@ -531,7 +531,7 @@ const device_type FLOPPY_SONY = &device_creator; // sonydriv_floppy_image_device - constructor //------------------------------------------------- -sonydriv_floppy_image_device::sonydriv_floppy_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sonydriv_floppy_image_device::sonydriv_floppy_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : legacy_floppy_image_device(mconfig, FLOPPY_SONY, "Floppy Disk [Sony]", tag, owner, clock, "floppy_sonny", __FILE__) { } diff --git a/src/mame/machine/sonydriv.h b/src/mame/machine/sonydriv.h index 758bae7f76a..5e5d20c2f3d 100644 --- a/src/mame/machine/sonydriv.h +++ b/src/mame/machine/sonydriv.h @@ -38,7 +38,7 @@ class sonydriv_floppy_image_device : public legacy_floppy_image_device { public: // construction/destruction - sonydriv_floppy_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sonydriv_floppy_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual void call_unload() override; protected: diff --git a/src/mame/machine/st0016.cpp b/src/mame/machine/st0016.cpp index ce5e311029d..598a94ebddc 100644 --- a/src/mame/machine/st0016.cpp +++ b/src/mame/machine/st0016.cpp @@ -29,7 +29,7 @@ ADDRESS_MAP_END // note: a lot of bits are left uninitialized by the games, the default values are uncertain -st0016_cpu_device::st0016_cpu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +st0016_cpu_device::st0016_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : z80_device(mconfig, ST0016_CPU, "ST0016", tag, owner, clock, "st0016_cpu", __FILE__), st0016_game(-1), st0016_spr_bank(0), diff --git a/src/mame/machine/st0016.h b/src/mame/machine/st0016.h index 00a41dd3e0d..6401ddc5c19 100644 --- a/src/mame/machine/st0016.h +++ b/src/mame/machine/st0016.h @@ -37,7 +37,7 @@ extern UINT8 macs_cart_slot; class st0016_cpu_device : public z80_device { public: - st0016_cpu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32); + st0016_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32); DECLARE_WRITE8_MEMBER(st0016_sprite_bank_w); DECLARE_WRITE8_MEMBER(st0016_palette_bank_w); diff --git a/src/mame/machine/swim.cpp b/src/mame/machine/swim.cpp index e07c621bb4c..9e1506ad9ab 100644 --- a/src/mame/machine/swim.cpp +++ b/src/mame/machine/swim.cpp @@ -37,7 +37,7 @@ const device_type SWIM = &device_creator; // ctor //------------------------------------------------- -swim_device::swim_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +swim_device::swim_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : applefdc_base_device(APPLEFDC_SWIM, mconfig, SWIM, "Apple SWIM (Steve Woz Integrated Machine)", tag, owner, clock, "swim", __FILE__) { } diff --git a/src/mame/machine/swim.h b/src/mame/machine/swim.h index 515a98a7286..438ee9e4933 100644 --- a/src/mame/machine/swim.h +++ b/src/mame/machine/swim.h @@ -24,7 +24,7 @@ extern const device_type SWIM; class swim_device : public applefdc_base_device { public: - swim_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + swim_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // read/write virtual UINT8 read(UINT8 offset) override; diff --git a/src/mame/machine/tait8741.cpp b/src/mame/machine/tait8741.cpp index fbefb426ecb..5e568fbd6f1 100644 --- a/src/mame/machine/tait8741.cpp +++ b/src/mame/machine/tait8741.cpp @@ -35,7 +35,7 @@ gladiatr and Great Swordsman set. const device_type TAITO8741_4PACK = &device_creator; -taito8741_4pack_device::taito8741_4pack_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +taito8741_4pack_device::taito8741_4pack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TAITO8741_4PACK, "I8741 MCU Simulation (Taito 4Pack)", tag, owner, clock, "taito8741_4pack", __FILE__), m_port_handler_0_r(*this), m_port_handler_1_r(*this), @@ -347,7 +347,7 @@ joshi Vollyball set. const device_type JOSVOLLY8741_4PACK = &device_creator; -josvolly8741_4pack_device::josvolly8741_4pack_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +josvolly8741_4pack_device::josvolly8741_4pack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, JOSVOLLY8741_4PACK, "I8741 MCU Simulation (Joshi Volleyball)", tag, owner, clock, "josvolly8741_4pack", __FILE__), m_port_handler_0_r(*this), m_port_handler_1_r(*this), diff --git a/src/mame/machine/tait8741.h b/src/mame/machine/tait8741.h index 8bb7ad4b5a3..e0a5eb75c73 100644 --- a/src/mame/machine/tait8741.h +++ b/src/mame/machine/tait8741.h @@ -57,7 +57,7 @@ class taito8741_4pack_device : public device_t }; public: - taito8741_4pack_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + taito8741_4pack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~taito8741_4pack_device() {} template static devcb_base &set_port_handler_0_callback(device_t &device, _Object object) { return downcast(device).m_port_handler_0_r.set_callback(object); } @@ -143,7 +143,7 @@ class josvolly8741_4pack_device : public device_t }; public: - josvolly8741_4pack_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + josvolly8741_4pack_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~josvolly8741_4pack_device() {} template static devcb_base &set_port_handler_0_callback(device_t &device, _Object object) { return downcast(device).m_port_handler_0_r.set_callback(object); } diff --git a/src/mame/machine/taitoio.cpp b/src/mame/machine/taitoio.cpp index c5215252911..7ec4223c354 100644 --- a/src/mame/machine/taitoio.cpp +++ b/src/mame/machine/taitoio.cpp @@ -56,7 +56,7 @@ Newer version of the I/O chip ? const device_type TC0220IOC = &device_creator; -tc0220ioc_device::tc0220ioc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tc0220ioc_device::tc0220ioc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TC0220IOC, "Taito TC0220IOC", tag, owner, clock, "tc0220ioc", __FILE__), m_read_0_cb(*this), m_read_1_cb(*this), @@ -182,7 +182,7 @@ WRITE8_MEMBER( tc0220ioc_device::portreg_w ) const device_type TC0510NIO = &device_creator; -tc0510nio_device::tc0510nio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tc0510nio_device::tc0510nio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TC0510NIO, "Taito TC0510NIO", tag, owner, clock, "tc0510nio", __FILE__), m_read_0_cb(*this), m_read_1_cb(*this), @@ -309,7 +309,7 @@ WRITE16_MEMBER( tc0510nio_device::halfword_wordswap_w ) const device_type TC0640FIO = &device_creator; -tc0640fio_device::tc0640fio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tc0640fio_device::tc0640fio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TC0640FIO, "Taito TC0640FIO", tag, owner, clock, "tc0640fio", __FILE__), m_read_0_cb(*this), m_read_1_cb(*this), diff --git a/src/mame/machine/taitoio.h b/src/mame/machine/taitoio.h index 7df6117969e..a1b5e53b6c9 100644 --- a/src/mame/machine/taitoio.h +++ b/src/mame/machine/taitoio.h @@ -15,7 +15,7 @@ class tc0220ioc_device : public device_t { public: - tc0220ioc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tc0220ioc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~tc0220ioc_device() {} template static devcb_base &set_read_0_callback(device_t &device, _Object object) { return downcast(device).m_read_0_cb.set_callback(object); } @@ -53,7 +53,7 @@ extern const device_type TC0220IOC; class tc0510nio_device : public device_t { public: - tc0510nio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tc0510nio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~tc0510nio_device() {} template static devcb_base &set_read_0_callback(device_t &device, _Object object) { return downcast(device).m_read_0_cb.set_callback(object); } @@ -90,7 +90,7 @@ extern const device_type TC0510NIO; class tc0640fio_device : public device_t { public: - tc0640fio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tc0640fio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~tc0640fio_device() {} template static devcb_base &set_read_0_callback(device_t &device, _Object object) { return downcast(device).m_read_0_cb.set_callback(object); } diff --git a/src/mame/machine/tandy2kb.cpp b/src/mame/machine/tandy2kb.cpp index 5b602772f8b..6e0b08351e7 100644 --- a/src/mame/machine/tandy2kb.cpp +++ b/src/mame/machine/tandy2kb.cpp @@ -225,7 +225,7 @@ ioport_constructor tandy2k_keyboard_device::device_input_ports() const // tandy2k_keyboard_device - constructor //------------------------------------------------- -tandy2k_keyboard_device::tandy2k_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tandy2k_keyboard_device::tandy2k_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TANDY2K_KEYBOARD, "Tandy 2000 Keyboard", tag, owner, clock, "tandy2kb", __FILE__), m_maincpu(*this, I8048_TAG), m_y0(*this, "Y0"), diff --git a/src/mame/machine/tandy2kb.h b/src/mame/machine/tandy2kb.h index b5ecd01be34..aa27aa3b782 100644 --- a/src/mame/machine/tandy2kb.h +++ b/src/mame/machine/tandy2kb.h @@ -46,7 +46,7 @@ class tandy2k_keyboard_device : public device_t { public: // construction/destruction - tandy2k_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tandy2k_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_clock_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_clock.set_callback(object); } template static devcb_base &set_data_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_data.set_callback(object); } diff --git a/src/mame/machine/teleprinter.cpp b/src/mame/machine/teleprinter.cpp index 17e225c7e85..1c72a536883 100644 --- a/src/mame/machine/teleprinter.cpp +++ b/src/mame/machine/teleprinter.cpp @@ -136,7 +136,7 @@ static const UINT8 teleprinter_font[128*8] = 0x2a,0x15,0x2a,0x15,0x2a,0x15,0x2a,0x15 }; -teleprinter_device::teleprinter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +teleprinter_device::teleprinter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : generic_terminal_device(mconfig, TELEPRINTER, "Teleprinter", tag, owner, clock, "teleprinter", __FILE__) { } diff --git a/src/mame/machine/teleprinter.h b/src/mame/machine/teleprinter.h index a7af040b2a9..918a2b3ec0c 100644 --- a/src/mame/machine/teleprinter.h +++ b/src/mame/machine/teleprinter.h @@ -25,7 +25,7 @@ class teleprinter_device : public generic_terminal_device { public: - teleprinter_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + teleprinter_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); UINT32 tp_update(screen_device &device, bitmap_rgb32 &bitmap, const rectangle &cliprect); protected: virtual void term_write(UINT8 data) override; diff --git a/src/mame/machine/thomson.cpp b/src/mame/machine/thomson.cpp index 89157913d3e..bda8cf14c80 100644 --- a/src/mame/machine/thomson.cpp +++ b/src/mame/machine/thomson.cpp @@ -613,7 +613,7 @@ const device_type TO7_IO_LINE = &device_creator; // to7_io_line_device - constructor //------------------------------------------------- -to7_io_line_device::to7_io_line_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +to7_io_line_device::to7_io_line_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TO7_IO_LINE, "T07 Serial source", tag, owner, clock, "to7_io_line", __FILE__), m_pia_io(*this, THOM_PIA_IO), m_rs232(*this, "rs232"), diff --git a/src/mame/machine/ticket.cpp b/src/mame/machine/ticket.cpp index d68b68ea793..3bd90d40e53 100644 --- a/src/mame/machine/ticket.cpp +++ b/src/mame/machine/ticket.cpp @@ -38,7 +38,7 @@ const device_type TICKET_DISPENSER = &device_creator; // ticket_dispenser_device - constructor //------------------------------------------------- -ticket_dispenser_device::ticket_dispenser_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +ticket_dispenser_device::ticket_dispenser_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TICKET_DISPENSER, "Ticket Dispenser", tag, owner, clock, "ticket_dispenser", __FILE__), m_motor_sense(TICKET_MOTOR_ACTIVE_LOW), m_status_sense(TICKET_STATUS_ACTIVE_LOW), diff --git a/src/mame/machine/ticket.h b/src/mame/machine/ticket.h index 1fbafb19d89..1d02202103e 100644 --- a/src/mame/machine/ticket.h +++ b/src/mame/machine/ticket.h @@ -53,7 +53,7 @@ class ticket_dispenser_device : public device_t { public: // construction/destruction - ticket_dispenser_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + ticket_dispenser_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ~ticket_dispenser_device(); // inline configuration helpers diff --git a/src/mame/machine/trs80m2kb.cpp b/src/mame/machine/trs80m2kb.cpp index c08c041e844..d098a56ae88 100644 --- a/src/mame/machine/trs80m2kb.cpp +++ b/src/mame/machine/trs80m2kb.cpp @@ -226,7 +226,7 @@ ioport_constructor trs80m2_keyboard_device::device_input_ports() const // trs80m2_keyboard_device - constructor //------------------------------------------------- -trs80m2_keyboard_device::trs80m2_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +trs80m2_keyboard_device::trs80m2_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TRS80M2_KEYBOARD, "TRS-80 Model II Keyboard", tag, owner, clock, "trs80m2kb", __FILE__), m_maincpu(*this, I8021_TAG), m_y0(*this, "Y0"), diff --git a/src/mame/machine/trs80m2kb.h b/src/mame/machine/trs80m2kb.h index c9a9984902d..72a815bcbf4 100644 --- a/src/mame/machine/trs80m2kb.h +++ b/src/mame/machine/trs80m2kb.h @@ -44,7 +44,7 @@ class trs80m2_keyboard_device : public device_t { public: // construction/destruction - trs80m2_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + trs80m2_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_clock_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_clock.set_callback(object); } diff --git a/src/mame/machine/upd65031.cpp b/src/mame/machine/upd65031.cpp index 4980f87b80d..86d9ff5e093 100644 --- a/src/mame/machine/upd65031.cpp +++ b/src/mame/machine/upd65031.cpp @@ -142,13 +142,13 @@ inline void upd65031_device::interrupt_refresh() { if ((m_int & INT_GINT) && ((m_int & m_sta & 0x7c) || ((m_int & INT_TIME) && (m_sta & STA_TIME)))) { - if (LOG) logerror("uPD65031 '%s': set int\n", tag().c_str()); + if (LOG) logerror("uPD65031 '%s': set int\n", tag()); m_write_int(ASSERT_LINE); } else { - if (LOG) logerror("uPD65031 '%s': clear int\n", tag().c_str()); + if (LOG) logerror("uPD65031 '%s': clear int\n", tag()); m_write_int(CLEAR_LINE); } @@ -195,7 +195,7 @@ inline void upd65031_device::set_mode(int mode) // upd65031_device - constructor //------------------------------------------------- -upd65031_device::upd65031_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +upd65031_device::upd65031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, UPD65031, "NEC uPD65031", tag, owner, clock, "upd65031", __FILE__), m_read_kb(*this), m_write_int(*this), @@ -289,7 +289,7 @@ void upd65031_device::device_timer(emu_timer &timer, device_timer_id id, int par // if a key is pressed sets the interrupt if ((m_int & INT_GINT) && (m_int & INT_KEY) && m_read_kb(0) != 0xff) { - if (LOG) logerror("uPD65031 '%s': Keyboard interrupt!\n", tag().c_str()); + if (LOG) logerror("uPD65031 '%s': Keyboard interrupt!\n", tag()); // awakes CPU from snooze on key down if (m_mode == STATE_SNOOZE) @@ -416,36 +416,36 @@ READ8_MEMBER( upd65031_device::read ) { set_mode(STATE_SNOOZE); - if (LOG) logerror("uPD65031 '%s': entering snooze!\n", tag().c_str()); + if (LOG) logerror("uPD65031 '%s': entering snooze!\n", tag()); } UINT8 data = m_read_kb(offset>>8); - if (LOG) logerror("uPD65031 '%s': key r %02x: %02x\n", tag().c_str(), offset>>8, data); + if (LOG) logerror("uPD65031 '%s': key r %02x: %02x\n", tag(), offset>>8, data); return data; } // read real time clock status case REG_TSTA: - if (LOG) logerror("uPD65031 '%s': tsta r: %02x\n", tag().c_str(), m_tsta); + if (LOG) logerror("uPD65031 '%s': tsta r: %02x\n", tag(), m_tsta); return m_tsta & 0x07; // read real time clock counters case REG_TIM0: - if (LOG) logerror("uPD65031 '%s': TIM0 r: %02x\n", tag().c_str(), m_tim[0]); + if (LOG) logerror("uPD65031 '%s': TIM0 r: %02x\n", tag(), m_tim[0]); return m_tim[0]; case REG_TIM1: - if (LOG) logerror("uPD65031 '%s': TIM1 r: %02x\n", tag().c_str(), m_tim[1]); + if (LOG) logerror("uPD65031 '%s': TIM1 r: %02x\n", tag(), m_tim[1]); return m_tim[1]; case REG_TIM2: - if (LOG) logerror("uPD65031 '%s': TIM2 r: %02x\n", tag().c_str(), m_tim[2]); + if (LOG) logerror("uPD65031 '%s': TIM2 r: %02x\n", tag(), m_tim[2]); return m_tim[2]; case REG_TIM3: - if (LOG) logerror("uPD65031 '%s': TIM3 r: %02x\n", tag().c_str(), m_tim[3]); + if (LOG) logerror("uPD65031 '%s': TIM3 r: %02x\n", tag(), m_tim[3]); return m_tim[3]; case REG_TIM4: - if (LOG) logerror("uPD65031 '%s': TIM4 r: %02x\n", tag().c_str(), m_tim[4]); + if (LOG) logerror("uPD65031 '%s': TIM4 r: %02x\n", tag(), m_tim[4]); return m_tim[4]; // UART @@ -456,7 +456,7 @@ READ8_MEMBER( upd65031_device::read ) return 0; default: - logerror("uPD65031 '%s': blink r: %04x\n", tag().c_str(), offset); + logerror("uPD65031 '%s': blink r: %04x\n", tag(), offset); return 0; } } @@ -482,7 +482,7 @@ WRITE8_MEMBER( upd65031_device::write ) break; case REG_COM: // command register - if (LOG) logerror("uPD65031 '%s': com w: %02x\n", tag().c_str(), data); + if (LOG) logerror("uPD65031 '%s': com w: %02x\n", tag(), data); // reset clock? if (data & COM_RESTIM) @@ -518,7 +518,7 @@ WRITE8_MEMBER( upd65031_device::write ) break; case REG_INT: // interrupt control - if (LOG) logerror("uPD65031 '%s': int w: %02x\n", tag().c_str(), data); + if (LOG) logerror("uPD65031 '%s': int w: %02x\n", tag(), data); m_int = data; @@ -528,12 +528,12 @@ WRITE8_MEMBER( upd65031_device::write ) break; case REG_EPR: // EPROM programming register - if (LOG) logerror("uPD65031 '%s': epr w: %02x\n", tag().c_str(), data); + if (LOG) logerror("uPD65031 '%s': epr w: %02x\n", tag(), data); // TODO break; case REG_TACK: // rtc interrupt acknowledge - if (LOG) logerror("uPD65031 '%s': tack w: %02x\n", tag().c_str(), data); + if (LOG) logerror("uPD65031 '%s': tack w: %02x\n", tag(), data); // clear ints that have occurred m_tsta &= ~(data & 0x07); @@ -545,13 +545,13 @@ WRITE8_MEMBER( upd65031_device::write ) break; case REG_TMK: // write rtc interrupt mask - if (LOG) logerror("uPD65031 '%s': tmk w: %02x\n", tag().c_str(), data); + if (LOG) logerror("uPD65031 '%s': tmk w: %02x\n", tag(), data); m_tmk = data & 0x07; break; case REG_ACK: // acknowledge ints - if (LOG) logerror("uPD65031 '%s': ack w: %02x\n", tag().c_str(), data); + if (LOG) logerror("uPD65031 '%s': ack w: %02x\n", tag(), data); m_ack = data; m_sta &= ~(data & 0x7f); @@ -577,12 +577,12 @@ WRITE8_MEMBER( upd65031_device::write ) case REG_TXC: case REG_UMK: case REG_UAK: - if (LOG) logerror("uPD65031 '%s': UART w: %02x %02x\n", tag().c_str(), port & 7 , data); + if (LOG) logerror("uPD65031 '%s': UART w: %02x %02x\n", tag(), port & 7 , data); // TODO break; default: - logerror("uPD65031 '%s': blink w: %04x %02x\n", tag().c_str(), offset, data); + logerror("uPD65031 '%s': blink w: %04x %02x\n", tag(), offset, data); break; } } diff --git a/src/mame/machine/upd65031.h b/src/mame/machine/upd65031.h index c0b7f94c90c..d8ca35211d5 100644 --- a/src/mame/machine/upd65031.h +++ b/src/mame/machine/upd65031.h @@ -55,7 +55,7 @@ class upd65031_device : public device_t { public: // construction/destruction - upd65031_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + upd65031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_kb_rd_callback(device_t &device, _Object object) { return downcast(device).m_read_kb.set_callback(object); } template static devcb_base &set_int_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_int.set_callback(object); } diff --git a/src/mame/machine/v1050kb.cpp b/src/mame/machine/v1050kb.cpp index ea4022cfa7a..d1f06bcdf30 100644 --- a/src/mame/machine/v1050kb.cpp +++ b/src/mame/machine/v1050kb.cpp @@ -301,7 +301,7 @@ ioport_constructor v1050_keyboard_device::device_input_ports() const // v1050_keyboard_device - constructor //------------------------------------------------- -v1050_keyboard_device::v1050_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +v1050_keyboard_device::v1050_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, V1050_KEYBOARD, "Visual 1050 Keyboard", tag, owner, clock, "v1050kb", __FILE__), m_maincpu(*this, I8049_TAG), m_discrete(*this, DISCRETE_TAG), diff --git a/src/mame/machine/v1050kb.h b/src/mame/machine/v1050kb.h index cc20f950f0c..dd646c40b04 100644 --- a/src/mame/machine/v1050kb.h +++ b/src/mame/machine/v1050kb.h @@ -36,7 +36,7 @@ class v1050_keyboard_device : public device_t { public: // construction/destruction - v1050_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + v1050_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_out_tx_handler(device_t &device, _Object object) { return downcast(device).m_out_tx_handler.set_callback(object); } diff --git a/src/mame/machine/victor9k_fdc.cpp b/src/mame/machine/victor9k_fdc.cpp index 66e85490838..61bd336b47e 100644 --- a/src/mame/machine/victor9k_fdc.cpp +++ b/src/mame/machine/victor9k_fdc.cpp @@ -217,7 +217,7 @@ machine_config_constructor victor_9000_fdc_t::device_mconfig_additions() const // victor_9000_fdc_t - constructor //------------------------------------------------- -victor_9000_fdc_t::victor_9000_fdc_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +victor_9000_fdc_t::victor_9000_fdc_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, VICTOR_9000_FDC, "Victor 9000 FDC", tag, owner, clock, "victor9k_fdc", __FILE__), m_irq_cb(*this), m_syn_cb(*this), @@ -564,10 +564,10 @@ void victor_9000_fdc_t::update_stepper_motor(floppy_image_device *floppy, int st void victor_9000_fdc_t::update_spindle_motor(floppy_image_device *floppy, emu_timer *t_tach, bool start, bool stop, bool sel, UINT8 &da) { if (start && !stop && floppy->mon_r()) { - if (LOG_SCP) logerror("%s: motor start\n", floppy->tag().c_str()); + if (LOG_SCP) logerror("%s: motor start\n", floppy->tag()); floppy->mon_w(0); } else if (stop && !floppy->mon_r()) { - if (LOG_SCP) logerror("%s: motor stop\n", floppy->tag().c_str()); + if (LOG_SCP) logerror("%s: motor stop\n", floppy->tag()); floppy->mon_w(1); t_tach->reset(); } @@ -577,7 +577,7 @@ void victor_9000_fdc_t::update_spindle_motor(floppy_image_device *floppy, emu_ti if (!floppy->mon_r()) { float tach = rpm[da] / 60 * SPINDLE_RATIO * MOTOR_POLES; - if (LOG_SCP) logerror("%s: motor speed %u rpm / tach %0.1f hz (DA %02x)\n", floppy->tag().c_str(), rpm[da], (double) tach, da); + if (LOG_SCP) logerror("%s: motor speed %u rpm / tach %0.1f hz (DA %02x)\n", floppy->tag(), rpm[da], (double) tach, da); t_tach->adjust(attotime::from_hz(tach*2), 0, attotime::from_hz(tach*2)); floppy->set_rpm(rpm[da]); diff --git a/src/mame/machine/victor9k_fdc.h b/src/mame/machine/victor9k_fdc.h index 468d9d360af..60935760748 100644 --- a/src/mame/machine/victor9k_fdc.h +++ b/src/mame/machine/victor9k_fdc.h @@ -45,7 +45,7 @@ class victor_9000_fdc_t : public device_t { public: // construction/destruction - victor_9000_fdc_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + victor_9000_fdc_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_irq_wr_callback(device_t &device, _Object object) { return downcast(device).m_irq_cb.set_callback(object); } template static devcb_base &set_syn_wr_callback(device_t &device, _Object object) { return downcast(device).m_syn_cb.set_callback(object); } diff --git a/src/mame/machine/victor9kb.cpp b/src/mame/machine/victor9kb.cpp index 7bb534fdd7e..337a1b64cae 100644 --- a/src/mame/machine/victor9kb.cpp +++ b/src/mame/machine/victor9kb.cpp @@ -566,7 +566,7 @@ ioport_constructor victor_9000_keyboard_t::device_input_ports() const // victor_9000_keyboard_t - constructor //------------------------------------------------- -victor_9000_keyboard_t::victor_9000_keyboard_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +victor_9000_keyboard_t::victor_9000_keyboard_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, VICTOR9K_KEYBOARD, "Victor 9000 Keyboard", tag, owner, clock, "victor9kb", __FILE__), m_maincpu(*this, I8021_TAG), m_y0(*this, "Y0"), diff --git a/src/mame/machine/victor9kb.h b/src/mame/machine/victor9kb.h index 5383c4ce492..47511113fe7 100644 --- a/src/mame/machine/victor9kb.h +++ b/src/mame/machine/victor9kb.h @@ -38,7 +38,7 @@ class victor_9000_keyboard_t : public device_t { public: // construction/destruction - victor_9000_keyboard_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + victor_9000_keyboard_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_kbrdy_cb(device_t &device, _Object object) { return downcast(device).m_kbrdy_cb.set_callback(object); } template static devcb_base &set_kbdata_cb(device_t &device, _Object object) { return downcast(device).m_kbdata_cb.set_callback(object); } diff --git a/src/mame/machine/wangpckb.cpp b/src/mame/machine/wangpckb.cpp index 6ec7d866cba..679c75862a6 100644 --- a/src/mame/machine/wangpckb.cpp +++ b/src/mame/machine/wangpckb.cpp @@ -370,7 +370,7 @@ ioport_constructor wangpc_keyboard_device::device_input_ports() const // wangpc_keyboard_device - constructor //------------------------------------------------- -wangpc_keyboard_device::wangpc_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +wangpc_keyboard_device::wangpc_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, WANGPC_KEYBOARD, "Wang PC Keyboard", tag, owner, clock, "wangpckb", __FILE__), device_serial_interface(mconfig, *this), m_maincpu(*this, I8051_TAG), diff --git a/src/mame/machine/wangpckb.h b/src/mame/machine/wangpckb.h index 8b87026c602..e253685966a 100644 --- a/src/mame/machine/wangpckb.h +++ b/src/mame/machine/wangpckb.h @@ -48,7 +48,7 @@ class wangpc_keyboard_device : public device_t, { public: // construction/destruction - wangpc_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + wangpc_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_txd_handler(device_t &device, _Object object) { return downcast(device).m_txd_handler.set_callback(object); } diff --git a/src/mame/machine/wpc.cpp b/src/mame/machine/wpc.cpp index 48f0e288165..49608b7075f 100644 --- a/src/mame/machine/wpc.cpp +++ b/src/mame/machine/wpc.cpp @@ -12,7 +12,7 @@ const device_type WPCASIC = &device_creator; -wpc_device::wpc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +wpc_device::wpc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig,WPCASIC,"Williams WPC ASIC",tag,owner,clock, "wpc", __FILE__), m_dmd_visiblepage(0), m_irq_cb(*this), diff --git a/src/mame/machine/wpc.h b/src/mame/machine/wpc.h index 09c29246985..6d4a4e38406 100644 --- a/src/mame/machine/wpc.h +++ b/src/mame/machine/wpc.h @@ -102,7 +102,7 @@ class wpc_device : public device_t { public: - wpc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + wpc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_READ8_MEMBER(read); DECLARE_WRITE8_MEMBER(write); diff --git a/src/mame/machine/wpc_lamp.cpp b/src/mame/machine/wpc_lamp.cpp index 95523978b8f..eba57bb6ced 100644 --- a/src/mame/machine/wpc_lamp.cpp +++ b/src/mame/machine/wpc_lamp.cpp @@ -6,7 +6,7 @@ const device_type WPC_LAMP = &device_creator; -wpc_lamp_device::wpc_lamp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +wpc_lamp_device::wpc_lamp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, WPC_LAMP, "Williams Pinball Controller Lamp Control", tag, owner, clock, "wpc_lamp", __FILE__) { names = nullptr; diff --git a/src/mame/machine/wpc_lamp.h b/src/mame/machine/wpc_lamp.h index 12df7709ae7..bc057ead3f4 100644 --- a/src/mame/machine/wpc_lamp.h +++ b/src/mame/machine/wpc_lamp.h @@ -12,7 +12,7 @@ class wpc_lamp_device : public device_t { public: - wpc_lamp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + wpc_lamp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ~wpc_lamp_device(); DECLARE_WRITE8_MEMBER(row_w); diff --git a/src/mame/machine/wpc_out.cpp b/src/mame/machine/wpc_out.cpp index fd4dc47a569..7268eeeed09 100644 --- a/src/mame/machine/wpc_out.cpp +++ b/src/mame/machine/wpc_out.cpp @@ -6,7 +6,7 @@ const device_type WPC_OUT = &device_creator; -wpc_out_device::wpc_out_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +wpc_out_device::wpc_out_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, WPC_OUT, "Williams Pinball Controller Output Control", tag, owner, clock, "wpc_out", __FILE__) { names = nullptr; diff --git a/src/mame/machine/wpc_out.h b/src/mame/machine/wpc_out.h index 6734881ab76..f5615ddfd2a 100644 --- a/src/mame/machine/wpc_out.h +++ b/src/mame/machine/wpc_out.h @@ -15,7 +15,7 @@ class wpc_out_device : public device_t public: typedef delegate handler_t; - wpc_out_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + wpc_out_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ~wpc_out_device(); DECLARE_WRITE8_MEMBER(out_w); diff --git a/src/mame/machine/wpc_pic.cpp b/src/mame/machine/wpc_pic.cpp index f09b4bb48f7..353454fb7a1 100644 --- a/src/mame/machine/wpc_pic.cpp +++ b/src/mame/machine/wpc_pic.cpp @@ -6,7 +6,7 @@ const device_type WPC_PIC = &device_creator; -wpc_pic_device::wpc_pic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +wpc_pic_device::wpc_pic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, WPC_PIC, "Williams Pinball Controller PIC Security", tag, owner, clock, "wpc_pic", __FILE__), swarray(*this, ":SW") { @@ -38,7 +38,7 @@ READ8_MEMBER(wpc_pic_device::read) data = swarray[curcmd - 0x16]->read(); else - logerror("%s: cmd=%02x (%04x)\n", tag().c_str(), curcmd, space.device().safe_pc()); + logerror("%s: cmd=%02x (%04x)\n", tag(), curcmd, space.device().safe_pc()); return data; } @@ -50,7 +50,7 @@ void wpc_pic_device::check_game_id() UINT32 v = (i >> 8) * 0x3133 + (i & 0xff) * 0x3231; v = v & 0xffffff; if(v == cmp) - logerror("%s: Detected game id %03d\n", tag().c_str(), i); + logerror("%s: Detected game id %03d\n", tag(), i); } } @@ -60,7 +60,7 @@ WRITE8_MEMBER(wpc_pic_device::write) cmpchk[3-chk_count] = data; if(data != cmpchk[3-chk_count]) { - logerror("%s: WARNING: validation error, checksum[%d] got %02x, expected %02x\n", tag().c_str(), 3-chk_count, data, chk[3-chk_count]); + logerror("%s: WARNING: validation error, checksum[%d] got %02x, expected %02x\n", tag(), 3-chk_count, data, chk[3-chk_count]); if(chk_count == 1) check_game_id(); } @@ -79,7 +79,7 @@ WRITE8_MEMBER(wpc_pic_device::write) else if(data == 0x20) chk_count = 3; else if((data < 0x16 || data >= 0x1e) && ((data & 0xf0) != 0x70)) - logerror("%s: write %02x (%04x)\n", tag().c_str(), data, space.device().safe_pc()); + logerror("%s: write %02x (%04x)\n", tag(), data, space.device().safe_pc()); curcmd = data; } diff --git a/src/mame/machine/wpc_pic.h b/src/mame/machine/wpc_pic.h index 61266e71204..793dec9c05e 100644 --- a/src/mame/machine/wpc_pic.h +++ b/src/mame/machine/wpc_pic.h @@ -12,7 +12,7 @@ class wpc_pic_device : public device_t { public: - wpc_pic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + wpc_pic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ~wpc_pic_device(); DECLARE_READ8_MEMBER(read); diff --git a/src/mame/machine/wpc_shift.cpp b/src/mame/machine/wpc_shift.cpp index ade2c28f2c4..8022f14a26a 100644 --- a/src/mame/machine/wpc_shift.cpp +++ b/src/mame/machine/wpc_shift.cpp @@ -6,7 +6,7 @@ const device_type WPC_SHIFT = &device_creator; -wpc_shift_device::wpc_shift_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +wpc_shift_device::wpc_shift_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, WPC_SHIFT, "Williams Pinball Controller Shifter", tag, owner, clock, "wpc_shift", __FILE__) { } diff --git a/src/mame/machine/wpc_shift.h b/src/mame/machine/wpc_shift.h index 9968bc79f23..70fc487c3ea 100644 --- a/src/mame/machine/wpc_shift.h +++ b/src/mame/machine/wpc_shift.h @@ -12,7 +12,7 @@ class wpc_shift_device : public device_t { public: - wpc_shift_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + wpc_shift_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ~wpc_shift_device(); DECLARE_ADDRESS_MAP(registers, 8); diff --git a/src/mame/machine/x1.cpp b/src/mame/machine/x1.cpp index 50174644e24..f9c40398f20 100644 --- a/src/mame/machine/x1.cpp +++ b/src/mame/machine/x1.cpp @@ -14,7 +14,7 @@ const device_type X1_KEYBOARD = &device_creator; // z80ctc_device - constructor //------------------------------------------------- -x1_keyboard_device::x1_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +x1_keyboard_device::x1_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, X1_KEYBOARD, "X1 Keyboard", tag, owner, clock, "x1_keyboard", __FILE__), device_z80daisy_interface(mconfig, *this) { diff --git a/src/mame/machine/x68k_hdc.cpp b/src/mame/machine/x68k_hdc.cpp index 0429a4db0d9..bdc1612da23 100644 --- a/src/mame/machine/x68k_hdc.cpp +++ b/src/mame/machine/x68k_hdc.cpp @@ -23,7 +23,7 @@ const device_type X68KHDC = &device_creator; -x68k_hdc_image_device::x68k_hdc_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +x68k_hdc_image_device::x68k_hdc_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, X68KHDC, "SASI Hard Disk", tag, owner, clock, "x68k_hdc_image", __FILE__), device_image_interface(mconfig, *this) { diff --git a/src/mame/machine/x68k_hdc.h b/src/mame/machine/x68k_hdc.h index 2baad2f29de..a4ea3e92165 100644 --- a/src/mame/machine/x68k_hdc.h +++ b/src/mame/machine/x68k_hdc.h @@ -82,7 +82,7 @@ class x68k_hdc_image_device : public device_t, { public: // construction/destruction - x68k_hdc_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + x68k_hdc_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // image-level overrides virtual iodevice_t image_type() const override { return IO_HARDDISK; } diff --git a/src/mame/machine/x68k_kbd.cpp b/src/mame/machine/x68k_kbd.cpp index 00301df3491..675038414c4 100644 --- a/src/mame/machine/x68k_kbd.cpp +++ b/src/mame/machine/x68k_kbd.cpp @@ -2,7 +2,7 @@ // copyright-holders:Barry Rodewald #include "machine/x68k_kbd.h" -x68k_keyboard_device::x68k_keyboard_device(const machine_config& mconfig, std::string tag, device_t* owner, UINT32 clock) : +x68k_keyboard_device::x68k_keyboard_device(const machine_config& mconfig, const char* tag, device_t* owner, UINT32 clock) : serial_keyboard_device(mconfig, X68K_KEYBOARD, "X68k Keyboard", tag, owner, 0, "x68k_keyboard", __FILE__), m_io_kbd8(*this, "TERM_LINE8"), m_io_kbd9(*this, "TERM_LINE9"), diff --git a/src/mame/machine/x68k_kbd.h b/src/mame/machine/x68k_kbd.h index 8836e0d3bfc..09c5b1c0e0c 100644 --- a/src/mame/machine/x68k_kbd.h +++ b/src/mame/machine/x68k_kbd.h @@ -8,7 +8,7 @@ class x68k_keyboard_device : public serial_keyboard_device { public: - x68k_keyboard_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + x68k_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ioport_constructor device_input_ports() const override; protected: diff --git a/src/mame/machine/x820kb.cpp b/src/mame/machine/x820kb.cpp index d68d53a152b..115e8591e4a 100644 --- a/src/mame/machine/x820kb.cpp +++ b/src/mame/machine/x820kb.cpp @@ -239,7 +239,7 @@ ioport_constructor xerox_820_keyboard_t::device_input_ports() const // xerox_820_keyboard_t - constructor //------------------------------------------------- -xerox_820_keyboard_t::xerox_820_keyboard_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +xerox_820_keyboard_t::xerox_820_keyboard_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, XEROX_820_KEYBOARD, "Xerox 820 Keyboard", tag, owner, clock, "x820kb", __FILE__), m_maincpu(*this, I8748_TAG), m_y0(*this, "Y0"), diff --git a/src/mame/machine/x820kb.h b/src/mame/machine/x820kb.h index 7e0b0993d78..ca678203545 100644 --- a/src/mame/machine/x820kb.h +++ b/src/mame/machine/x820kb.h @@ -35,7 +35,7 @@ class xerox_820_keyboard_t : public device_t { public: // construction/destruction - xerox_820_keyboard_t(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + xerox_820_keyboard_t(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_kbstb_wr_callback(device_t &device, _Object object) { return downcast(device).m_kbstb_cb.set_callback(object); } diff --git a/src/mame/machine/zndip.cpp b/src/mame/machine/zndip.cpp index c6ba395d308..f5e1d618604 100644 --- a/src/mame/machine/zndip.cpp +++ b/src/mame/machine/zndip.cpp @@ -4,7 +4,7 @@ const device_type ZNDIP = &device_creator; -zndip_device::zndip_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +zndip_device::zndip_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ZNDIP, "Sony ZNDIP", tag, owner, clock, "zndip", __FILE__), m_data_handler(*this), m_dataout_handler(*this), diff --git a/src/mame/machine/zndip.h b/src/mame/machine/zndip.h index 7725570c341..405ee496fda 100644 --- a/src/mame/machine/zndip.h +++ b/src/mame/machine/zndip.h @@ -21,7 +21,7 @@ extern const device_type ZNDIP; class zndip_device : public device_t { public: - zndip_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + zndip_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration helpers template static devcb_base &set_data_handler(device_t &device, _Object object) { return downcast(device).m_data_handler.set_callback(object); } diff --git a/src/mame/machine/zs01.cpp b/src/mame/machine/zs01.cpp index 37f12f241e3..613a3cdcc1a 100644 --- a/src/mame/machine/zs01.cpp +++ b/src/mame/machine/zs01.cpp @@ -22,14 +22,14 @@ inline void ATTR_PRINTF( 3, 4 ) zs01_device::verboselog( int n_level, const char va_start( v, s_fmt ); vsprintf( buf, s_fmt, v ); va_end( v ); - logerror( "%s: zs01(%s) %s", machine().describe_context(), tag().c_str(), buf ); + logerror( "%s: zs01(%s) %s", machine().describe_context(), tag(), buf ); } } // device type definition const device_type ZS01 = &device_creator; -zs01_device::zs01_device( const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock ) +zs01_device::zs01_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ) : device_t( mconfig, ZS01, "Konami ZS01 PIC", tag, owner, clock, "zs01", __FILE__ ), device_nvram_interface(mconfig, *this), m_cs( 0 ), @@ -583,11 +583,11 @@ void zs01_device::nvram_default() if( !m_region ) { - logerror( "zs01(%s) region not found\n", tag().c_str() ); + logerror( "zs01(%s) region not found\n", tag() ); } else if( m_region->bytes() != expected_bytes ) { - logerror( "zs01(%s) region length 0x%x expected 0x%x\n", tag().c_str(), m_region->bytes(), expected_bytes ); + logerror( "zs01(%s) region length 0x%x expected 0x%x\n", tag(), m_region->bytes(), expected_bytes ); } else { diff --git a/src/mame/machine/zs01.h b/src/mame/machine/zs01.h index 175580975b6..2606cb5341e 100644 --- a/src/mame/machine/zs01.h +++ b/src/mame/machine/zs01.h @@ -24,7 +24,7 @@ class zs01_device : public device_t, { public: // construction/destruction - zs01_device( const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock ); + zs01_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ); // inline configuration helpers static void static_set_ds2401_tag( device_t &device, const char *ds2401_tag ) { downcast( device ).m_ds2401_tag = ds2401_tag; } diff --git a/src/mame/machine/zx8302.cpp b/src/mame/machine/zx8302.cpp index 45ad3359784..16e06522aa0 100644 --- a/src/mame/machine/zx8302.cpp +++ b/src/mame/machine/zx8302.cpp @@ -93,7 +93,7 @@ inline void zx8302_device::transmit_ipc_data() switch (m_ipc_state) { case IPC_START: - if (LOG) logerror("ZX8302 '%s' COMDATA Start Bit\n", tag().c_str()); + if (LOG) logerror("ZX8302 '%s' COMDATA Start Bit\n", tag()); m_out_comdata_cb(BIT(m_idr, 0)); m_ipc_busy = 1; @@ -101,7 +101,7 @@ inline void zx8302_device::transmit_ipc_data() break; case IPC_DATA: - if (LOG) logerror("ZX8302 '%s' COMDATA Data Bit: %x\n", tag().c_str(), BIT(m_idr, 1)); + if (LOG) logerror("ZX8302 '%s' COMDATA Data Bit: %x\n", tag(), BIT(m_idr, 1)); m_comdata_to_ipc = BIT(m_idr, 1); m_out_comdata_cb(m_comdata_to_ipc); @@ -109,7 +109,7 @@ inline void zx8302_device::transmit_ipc_data() break; case IPC_STOP: - if (LOG) logerror("ZX8302 '%s' COMDATA Stop Bit\n", tag().c_str()); + if (LOG) logerror("ZX8302 '%s' COMDATA Stop Bit\n", tag()); m_out_comdata_cb(BIT(m_idr, 2)); m_ipc_busy = 0; @@ -127,7 +127,7 @@ inline void zx8302_device::transmit_ipc_data() // zx8302_device - constructor //------------------------------------------------- -zx8302_device::zx8302_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +zx8302_device::zx8302_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ZX8302, "Sinclair ZX8302", tag, owner, clock, "zx8302", __FILE__), device_serial_interface(mconfig, *this), m_rtc_clock(0), @@ -340,7 +340,7 @@ READ8_MEMBER( zx8302_device::rtc_r ) WRITE8_MEMBER( zx8302_device::rtc_w ) { - if (LOG) logerror("ZX8302 '%s' Set Real Time Clock: %02x\n", tag().c_str(), data); + if (LOG) logerror("ZX8302 '%s' Set Real Time Clock: %02x\n", tag(), data); } @@ -350,7 +350,7 @@ WRITE8_MEMBER( zx8302_device::rtc_w ) WRITE8_MEMBER( zx8302_device::control_w ) { - if (LOG) logerror("ZX8302 '%s' Transmit Control: %02x\n", tag().c_str(), data); + if (LOG) logerror("ZX8302 '%s' Transmit Control: %02x\n", tag(), data); int baud = (19200 >> (data & BAUD_MASK)); int baudx4 = baud * 4; @@ -370,7 +370,7 @@ WRITE8_MEMBER( zx8302_device::control_w ) READ8_MEMBER( zx8302_device::mdv_track_r ) { - if (LOG) logerror("ZX8302 '%s' Microdrive Track %u: %02x\n", tag().c_str(), m_track, m_mdv_data[m_track]); + if (LOG) logerror("ZX8302 '%s' Microdrive Track %u: %02x\n", tag(), m_track, m_mdv_data[m_track]); UINT8 data = m_mdv_data[m_track]; @@ -422,7 +422,7 @@ READ8_MEMBER( zx8302_device::status_r ) // COMDATA data |= m_comdata_to_cpu << 7; - if (LOG) logerror("ZX8302 '%s' Status: %02x\n", tag().c_str(), data); + if (LOG) logerror("ZX8302 '%s' Status: %02x\n", tag(), data); return data; } @@ -444,7 +444,7 @@ READ8_MEMBER( zx8302_device::status_r ) WRITE8_MEMBER( zx8302_device::ipc_command_w ) { - if (LOG) logerror("ZX8302 '%s' IPC Command: %02x\n", tag().c_str(), data); + if (LOG) logerror("ZX8302 '%s' IPC Command: %02x\n", tag(), data); m_idr = data; m_ipc_state = IPC_START; @@ -474,7 +474,7 @@ WRITE8_MEMBER( zx8302_device::mdv_control_w ) */ - if (LOG) logerror("ZX8302 '%s' Microdrive Control: %02x\n", tag().c_str(), data); + if (LOG) logerror("ZX8302 '%s' Microdrive Control: %02x\n", tag(), data); m_out_mdseld_cb(BIT(data, 0)); m_out_mdselck_cb(BIT(data, 1)); @@ -494,7 +494,7 @@ WRITE8_MEMBER( zx8302_device::mdv_control_w ) READ8_MEMBER( zx8302_device::irq_status_r ) { - if (LOG) logerror("ZX8302 '%s' Interrupt Status: %02x\n", tag().c_str(), m_irq); + if (LOG) logerror("ZX8302 '%s' Interrupt Status: %02x\n", tag(), m_irq); return m_irq; } @@ -506,7 +506,7 @@ READ8_MEMBER( zx8302_device::irq_status_r ) WRITE8_MEMBER( zx8302_device::irq_acknowledge_w ) { - if (LOG) logerror("ZX8302 '%s' Interrupt Acknowledge: %02x\n", tag().c_str(), data); + if (LOG) logerror("ZX8302 '%s' Interrupt Acknowledge: %02x\n", tag(), data); m_irq &= ~data; @@ -523,7 +523,7 @@ WRITE8_MEMBER( zx8302_device::irq_acknowledge_w ) WRITE8_MEMBER( zx8302_device::data_w ) { - if (LOG) logerror("ZX8302 '%s' Data Register: %02x\n", tag().c_str(), data); + if (LOG) logerror("ZX8302 '%s' Data Register: %02x\n", tag(), data); m_tdr = data; m_status |= STATUS_TX_BUFFER_FULL; @@ -538,7 +538,7 @@ WRITE_LINE_MEMBER( zx8302_device::vsync_w ) { if (state) { - if (LOG) logerror("ZX8302 '%s' Frame Interrupt\n", tag().c_str()); + if (LOG) logerror("ZX8302 '%s' Frame Interrupt\n", tag()); trigger_interrupt(INT_FRAME); } @@ -551,7 +551,7 @@ WRITE_LINE_MEMBER( zx8302_device::vsync_w ) WRITE_LINE_MEMBER( zx8302_device::comctl_w ) { - if (LOG) logerror("ZX8302 '%s' COMCTL: %x\n", tag().c_str(), state); + if (LOG) logerror("ZX8302 '%s' COMCTL: %x\n", tag(), state); if (state) { @@ -569,7 +569,7 @@ WRITE_LINE_MEMBER( zx8302_device::comctl_w ) WRITE_LINE_MEMBER( zx8302_device::comdata_w ) { - if (LOG) logerror("ZX8302 '%s' COMDATA->CPU(pending): %x\n", tag().c_str(), state); + if (LOG) logerror("ZX8302 '%s' COMDATA->CPU(pending): %x\n", tag(), state); m_comdata_from_ipc = state; } @@ -581,7 +581,7 @@ WRITE_LINE_MEMBER( zx8302_device::comdata_w ) WRITE_LINE_MEMBER( zx8302_device::extint_w ) { - if (LOG) logerror("ZX8302 '%s' EXTINT: %x\n", tag().c_str(), state); + if (LOG) logerror("ZX8302 '%s' EXTINT: %x\n", tag(), state); if (state == ASSERT_LINE) { diff --git a/src/mame/machine/zx8302.h b/src/mame/machine/zx8302.h index 986c7dfa206..0d4a223946f 100644 --- a/src/mame/machine/zx8302.h +++ b/src/mame/machine/zx8302.h @@ -98,7 +98,7 @@ class zx8302_device : public device_t, { public: // construction/destruction - zx8302_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + zx8302_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); static void set_rtc_clock(device_t &device, int rtc_clock) { downcast(device).m_rtc_clock = rtc_clock; } template static devcb_base &set_out_ipl1l_callback(device_t &device, _Object object) { return downcast(device).m_out_ipl1l_cb.set_callback(object); } diff --git a/src/mame/video/733_asr.cpp b/src/mame/video/733_asr.cpp index a2cd22d7e8c..e9c446301a2 100644 --- a/src/mame/video/733_asr.cpp +++ b/src/mame/video/733_asr.cpp @@ -80,7 +80,7 @@ PALETTE_INIT_MEMBER(asr733_device, asr733) const device_type ASR733 = &device_creator; -asr733_device::asr733_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +asr733_device::asr733_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ASR733, "733 ASR", tag, owner, clock, "asr733", __FILE__), m_palette(*this, "palette"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/video/733_asr.h b/src/mame/video/733_asr.h index 54a62303ee6..9c45c69c6ed 100644 --- a/src/mame/video/733_asr.h +++ b/src/mame/video/733_asr.h @@ -13,7 +13,7 @@ enum class asr733_device : public device_t { public: - asr733_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + asr733_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_PALETTE_INIT(asr733); diff --git a/src/mame/video/911_vdt.cpp b/src/mame/video/911_vdt.cpp index 0ed7ee3d364..c0d30600681 100644 --- a/src/mame/video/911_vdt.cpp +++ b/src/mame/video/911_vdt.cpp @@ -143,7 +143,7 @@ static void apply_char_overrides(int nb_char_overrides, const char_override_t ch const device_type VDT911 = &device_creator; -vdt911_device::vdt911_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +vdt911_device::vdt911_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, VDT911, "911 VDT", tag, owner, clock, "vdt911", __FILE__), m_beeper(*this, "beeper"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/video/911_vdt.h b/src/mame/video/911_vdt.h index b87430fc1b6..e0ced6bbede 100644 --- a/src/mame/video/911_vdt.h +++ b/src/mame/video/911_vdt.h @@ -37,7 +37,7 @@ enum vdt911_model_t class vdt911_device : public device_t { public: - vdt911_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + vdt911_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_READ8_MEMBER(cru_r); DECLARE_WRITE8_MEMBER(cru_w); diff --git a/src/mame/video/abc1600.cpp b/src/mame/video/abc1600.cpp index feb613af679..60b05e4fc94 100644 --- a/src/mame/video/abc1600.cpp +++ b/src/mame/video/abc1600.cpp @@ -224,7 +224,7 @@ machine_config_constructor abc1600_mover_device::device_mconfig_additions() cons // abc1600_mover_device - constructor //------------------------------------------------- -abc1600_mover_device::abc1600_mover_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +abc1600_mover_device::abc1600_mover_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ABC1600_MOVER, "ABC 1600 Mover", tag, owner, clock, "abc1600mover", __FILE__), device_memory_interface(mconfig, *this), m_space_config("vram", ENDIANNESS_BIG, 16, 18, -1, *ADDRESS_MAP_NAME(mover_map)), diff --git a/src/mame/video/abc1600.h b/src/mame/video/abc1600.h index 05c291214a0..a3f356dd2e5 100644 --- a/src/mame/video/abc1600.h +++ b/src/mame/video/abc1600.h @@ -39,7 +39,7 @@ class abc1600_mover_device : public device_t, { public: // construction/destruction - abc1600_mover_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + abc1600_mover_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // optional information overrides virtual const rom_entry *device_rom_region() const override; diff --git a/src/mame/video/antic.cpp b/src/mame/video/antic.cpp index e1cf7592ab8..e393107bf53 100644 --- a/src/mame/video/antic.cpp +++ b/src/mame/video/antic.cpp @@ -25,9 +25,10 @@ const device_type ATARI_ANTIC = &device_creator; // antic_device - constructor //------------------------------------------------- -antic_device::antic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +antic_device::antic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ATARI_ANTIC, "Atari ANTIC", tag, owner, clock, "antic", __FILE__), device_video_interface(mconfig, *this), + m_gtia_tag(nullptr), m_maincpu(*this, ":maincpu"), m_djoy_b(*this, ":djoy_b"), m_artifacts(*this, ":artifacts"), diff --git a/src/mame/video/antic.h b/src/mame/video/antic.h index 8eb0fff7e55..2b278c2a780 100644 --- a/src/mame/video/antic.h +++ b/src/mame/video/antic.h @@ -366,14 +366,14 @@ class antic_device : public device_t, { public: // construction/destruction - antic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + antic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // device-level overrides virtual void device_start() override; virtual void device_reset() override; virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override; - static void set_gtia_tag(device_t &device, std::string tag) { downcast(device).m_gtia_tag = tag; } + static void set_gtia_tag(device_t &device, const char *tag) { downcast(device).m_gtia_tag = tag; } DECLARE_READ8_MEMBER( read ); DECLARE_WRITE8_MEMBER( write ); @@ -387,7 +387,7 @@ private: static const device_timer_id TIMER_LINE_REND = 2; static const device_timer_id TIMER_LINE_DONE = 3; - std::string m_gtia_tag; + const char *m_gtia_tag; gtia_device *m_gtia; required_device m_maincpu; optional_ioport m_djoy_b; diff --git a/src/mame/video/apollo.cpp b/src/mame/video/apollo.cpp index 60f78fadd4d..7d6cc7099ef 100644 --- a/src/mame/video/apollo.cpp +++ b/src/mame/video/apollo.cpp @@ -1719,14 +1719,14 @@ MACHINE_CONFIG_END const device_type APOLLO_GRAPHICS = &device_creator ; -apollo_graphics_15i::apollo_graphics_15i(const machine_config &mconfig,std::string tag, device_t *owner, UINT32 clock) : +apollo_graphics_15i::apollo_graphics_15i(const machine_config &mconfig,const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, APOLLO_GRAPHICS, "Apollo Screen", tag, owner, clock,"apollo_graphics_15i", __FILE__), m_lut_fifo(nullptr), m_bt458(nullptr) { } -apollo_graphics_15i::apollo_graphics_15i(const machine_config &mconfig,std::string tag, device_t *owner, UINT32 clock, device_type type,const char *name, const char *shortname, const char *source) : +apollo_graphics_15i::apollo_graphics_15i(const machine_config &mconfig,const char *tag, device_t *owner, UINT32 clock, device_type type,const char *name, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_lut_fifo(nullptr), m_bt458(nullptr) @@ -1904,7 +1904,7 @@ MACHINE_CONFIG_FRAGMENT( apollo_mono19i ) const device_type APOLLO_MONO19I = &device_creator ; apollo_graphics_19i::apollo_graphics_19i(const machine_config &mconfig, - std::string tag, device_t *owner, UINT32 clock) : + const char *tag, device_t *owner, UINT32 clock) : apollo_graphics_15i(mconfig, tag, owner, clock, APOLLO_MONO19I, "Apollo 19\" Monochrome Screen", "apollo_graphics_19i", __FILE__) { diff --git a/src/mame/video/apple2.cpp b/src/mame/video/apple2.cpp index 8eacc248cae..a496d3e3e15 100644 --- a/src/mame/video/apple2.cpp +++ b/src/mame/video/apple2.cpp @@ -679,7 +679,7 @@ const device_type APPLE2_VIDEO = &device_creator; // a2_video_device - constructor //------------------------------------------------- -a2_video_device::a2_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +a2_video_device::a2_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, APPLE2_VIDEO, "Apple II video", tag, owner, clock, "a2video", __FILE__) { } diff --git a/src/mame/video/apple2.h b/src/mame/video/apple2.h index 91cfe218092..420a293a703 100644 --- a/src/mame/video/apple2.h +++ b/src/mame/video/apple2.h @@ -16,7 +16,7 @@ class a2_video_device : { public: // construction/destruction - a2_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + a2_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_PALETTE_INIT(apple2); diff --git a/src/mame/video/atarimo.cpp b/src/mame/video/atarimo.cpp index 010268263e5..bb5e1927e40 100644 --- a/src/mame/video/atarimo.cpp +++ b/src/mame/video/atarimo.cpp @@ -123,7 +123,7 @@ const device_type ATARI_MOTION_OBJECTS = &device_creator(device).m_gfxdecode.set_tag(tag); } diff --git a/src/mame/video/atarimo.h b/src/mame/video/atarimo.h index 2bccbec2026..0d3b54f6f38 100644 --- a/src/mame/video/atarimo.h +++ b/src/mame/video/atarimo.h @@ -83,10 +83,10 @@ class atari_motion_objects_device : public sprite16_device_ind16, public: // construction/destruction - atari_motion_objects_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + atari_motion_objects_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); static void static_set_config(device_t &device, const atari_motion_objects_config &config); // getters diff --git a/src/mame/video/atarirle.cpp b/src/mame/video/atarirle.cpp index 464df7b9a4f..6a433d4666c 100644 --- a/src/mame/video/atarirle.cpp +++ b/src/mame/video/atarirle.cpp @@ -66,7 +66,7 @@ inline int atari_rle_objects_device::round_to_powerof2(int value) // atari_rle_objects_device: Constructor //------------------------------------------------- -atari_rle_objects_device::atari_rle_objects_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +atari_rle_objects_device::atari_rle_objects_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ATARI_RLE_OBJECTS, "Atari RLE Motion Objects", tag, owner, clock, "atari_rle", __FILE__), device_video_interface(mconfig, *this) { @@ -191,7 +191,7 @@ void atari_rle_objects_device::device_start() // resolve our memory memory_share *share = owner()->memshare(tag()); if (share == nullptr) - throw emu_fatalerror("Error: unable to find memory share '%s' needed for Atari RLE device", tag().c_str()); + throw emu_fatalerror("Error: unable to find memory share '%s' needed for Atari RLE device", tag()); m_ram.set(*share, 2); // register a VBLANK callback diff --git a/src/mame/video/atarirle.h b/src/mame/video/atarirle.h index 07cc68f6635..5cf65931d04 100644 --- a/src/mame/video/atarirle.h +++ b/src/mame/video/atarirle.h @@ -78,7 +78,7 @@ class atari_rle_objects_device : public device_t, { public: // construction/destruction - atari_rle_objects_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + atari_rle_objects_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration helpers static void static_set_config(device_t &device, const atari_rle_objects_config &config); diff --git a/src/mame/video/avgdvg.cpp b/src/mame/video/avgdvg.cpp index 8ba78e925a6..4363db0e66c 100644 --- a/src/mame/video/avgdvg.cpp +++ b/src/mame/video/avgdvg.cpp @@ -1390,12 +1390,12 @@ void dvg_device::device_start() register_state(); } -void avgdvg_device::static_set_vector_tag(device_t &device, std::string tag) +void avgdvg_device::static_set_vector_tag(device_t &device, const char *tag) { downcast(device).m_vector.set_tag(tag); } -avgdvg_device::avgdvg_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : +avgdvg_device::avgdvg_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_vector(*this) { @@ -1451,47 +1451,47 @@ avgdvg_device::avgdvg_device(const machine_config &mconfig, device_type type, co nvect = 0; } -dvg_device::dvg_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +dvg_device::dvg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : avgdvg_device(mconfig, DVG, "Atari DVG", tag, owner, clock, "dvg", __FILE__) { } -avg_device::avg_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +avg_device::avg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : avgdvg_device(mconfig, AVG, "Atari AVG", tag, owner, clock, "avg", __FILE__) { } -avg_device::avg_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : +avg_device::avg_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : avgdvg_device(mconfig, type, name, tag, owner, clock, shortname, source) { } -avg_tempest_device::avg_tempest_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +avg_tempest_device::avg_tempest_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : avg_device(mconfig, AVG_TEMPEST, "Atari AVG (Tempest)", tag, owner, clock, "avg_tempest", __FILE__) { } -avg_mhavoc_device::avg_mhavoc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +avg_mhavoc_device::avg_mhavoc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : avg_device(mconfig, AVG_MHAVOC, "Atari AVG (Major Havoc)", tag, owner, clock, "avg_mhavoc", __FILE__) { } -avg_starwars_device::avg_starwars_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +avg_starwars_device::avg_starwars_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : avg_device(mconfig, AVG_STARWARS, "Atari AVG (Star Wars)", tag, owner, clock, "avg_starwars", __FILE__) { } -avg_quantum_device::avg_quantum_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +avg_quantum_device::avg_quantum_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : avg_device(mconfig, AVG_QUANTUM, "Atari AVG (Quantum)", tag, owner, clock, "avg_quantum", __FILE__) { } -avg_bzone_device::avg_bzone_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +avg_bzone_device::avg_bzone_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : avg_device(mconfig, AVG_BZONE, "Atari AVG (Battle Zone)", tag, owner, clock, "avg_bzone", __FILE__) { } -avg_tomcat_device::avg_tomcat_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +avg_tomcat_device::avg_tomcat_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : avg_device(mconfig, AVG_TOMCAT, "Atari AVG (TomCat)", tag, owner, clock, "avg_tomcat", __FILE__) { } diff --git a/src/mame/video/avgdvg.h b/src/mame/video/avgdvg.h index ddd657c775b..8c15bde31d5 100644 --- a/src/mame/video/avgdvg.h +++ b/src/mame/video/avgdvg.h @@ -25,9 +25,9 @@ class avgdvg_device : public device_t { public: // construction/destruction - avgdvg_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + avgdvg_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); - static void static_set_vector_tag(device_t &device, std::string tag); + static void static_set_vector_tag(device_t &device, const char *tag); DECLARE_CUSTOM_INPUT_MEMBER(done_r); DECLARE_WRITE8_MEMBER(go_w); @@ -127,7 +127,7 @@ class dvg_device : public avgdvg_device { public: // construction/destruction - dvg_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + dvg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); void dvg_draw_to(int x, int y, int intensity); @@ -154,8 +154,8 @@ class avg_device : public avgdvg_device { public: // construction/destruction - avg_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - avg_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + avg_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + avg_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); int avg_common_strobe1(); int avg_common_strobe2(); @@ -184,7 +184,7 @@ class avg_tempest_device : public avg_device { public: // construction/destruction - avg_tempest_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + avg_tempest_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual int handler_6() override; virtual int handler_7() override; @@ -198,7 +198,7 @@ class avg_mhavoc_device : public avg_device { public: // construction/destruction - avg_mhavoc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + avg_mhavoc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual int handler_1() override; virtual int handler_6() override; @@ -214,7 +214,7 @@ class avg_starwars_device : public avg_device { public: // construction/destruction - avg_starwars_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + avg_starwars_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual int handler_6() override; virtual int handler_7() override; virtual void update_databus() override; @@ -227,7 +227,7 @@ class avg_quantum_device : public avg_device { public: // construction/destruction - avg_quantum_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + avg_quantum_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual int handler_0() override; virtual int handler_1() override; virtual int handler_2() override; @@ -247,7 +247,7 @@ class avg_bzone_device : public avg_device { public: // construction/destruction - avg_bzone_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + avg_bzone_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual int handler_1() override; virtual int handler_6() override; virtual int handler_7() override; @@ -260,7 +260,7 @@ class avg_tomcat_device : public avg_device { public: // construction/destruction - avg_tomcat_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + avg_tomcat_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual int handler_6() override; virtual int handler_7() override; diff --git a/src/mame/video/bfm_adr2.cpp b/src/mame/video/bfm_adr2.cpp index 068b980b473..bca9061ffc2 100644 --- a/src/mame/video/bfm_adr2.cpp +++ b/src/mame/video/bfm_adr2.cpp @@ -117,7 +117,7 @@ E000-FFFF | R | D D D D D D D D | 8K ROM const device_type BFM_ADDER2 = &device_creator; -bfm_adder2_device::bfm_adder2_device( const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock ) +bfm_adder2_device::bfm_adder2_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ) : device_t(mconfig, BFM_ADDER2, "BFM ADDER2", tag, owner, clock, "bfm_adder2", __FILE__), m_cpu(*this, "adder2"), m_gfxdecode(*this, "gfxdecode"), diff --git a/src/mame/video/bfm_adr2.h b/src/mame/video/bfm_adr2.h index daafa394ee6..301ee7acf0d 100644 --- a/src/mame/video/bfm_adr2.h +++ b/src/mame/video/bfm_adr2.h @@ -7,7 +7,7 @@ class bfm_adder2_device : public device_t { public: // construction/destruction - bfm_adder2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + bfm_adder2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); TILE_GET_INFO_MEMBER( get_tile0_info ); TILE_GET_INFO_MEMBER( get_tile1_info ); diff --git a/src/mame/video/bfm_dm01.cpp b/src/mame/video/bfm_dm01.cpp index ecc31e4503d..c1977276f00 100644 --- a/src/mame/video/bfm_dm01.cpp +++ b/src/mame/video/bfm_dm01.cpp @@ -53,7 +53,7 @@ Standard dm01 memorymap const device_type BF_DM01 = &device_creator; -bfmdm01_device::bfmdm01_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +bfmdm01_device::bfmdm01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, BF_DM01, "BFM Dotmatrix 01", tag, owner, clock, "bfm_dm01", __FILE__), m_data_avail(0), m_control(0), diff --git a/src/mame/video/bfm_dm01.h b/src/mame/video/bfm_dm01.h index a6623f1dfe6..29fe0f2fbf1 100644 --- a/src/mame/video/bfm_dm01.h +++ b/src/mame/video/bfm_dm01.h @@ -16,7 +16,7 @@ class bfmdm01_device : public device_t { public: - bfmdm01_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + bfmdm01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~bfmdm01_device() {} template static devcb_base &set_busy_callback(device_t &device, _Object object) { return downcast(device).m_busy_cb.set_callback(object); } diff --git a/src/mame/video/c116.cpp b/src/mame/video/c116.cpp index fbfc1bc6d0d..e9a1381462a 100644 --- a/src/mame/video/c116.cpp +++ b/src/mame/video/c116.cpp @@ -73,7 +73,7 @@ i960 CPU, needs to write its clip and raster values byteswapped. // namco_c116_device -- constructor //------------------------------------------------- -namco_c116_device::namco_c116_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco_c116_device::namco_c116_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NAMCO_C116, "Namco C116 Video Controller", tag, owner, clock, "namco_c116", __FILE__), device_gfx_interface(mconfig, *this), device_video_interface(mconfig, *this) diff --git a/src/mame/video/c116.h b/src/mame/video/c116.h index d8333feb579..2d48b4f123b 100644 --- a/src/mame/video/c116.h +++ b/src/mame/video/c116.h @@ -18,7 +18,7 @@ class namco_c116_device : { public: //construction/destruction - namco_c116_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco_c116_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); //read/write handlers DECLARE_READ8_MEMBER( read ); diff --git a/src/mame/video/c45.cpp b/src/mame/video/c45.cpp index 7ed447227ad..6860961b4b7 100644 --- a/src/mame/video/c45.cpp +++ b/src/mame/video/c45.cpp @@ -76,7 +76,7 @@ ADDRESS_MAP_END // namco_c45_road_device -- constructor //------------------------------------------------- -namco_c45_road_device::namco_c45_road_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +namco_c45_road_device::namco_c45_road_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NAMCO_C45_ROAD, "Namco C45 Road", tag, owner, clock, "namco_c45_road", __FILE__), device_gfx_interface(mconfig, *this, gfxinfo), device_memory_interface(mconfig, *this), diff --git a/src/mame/video/c45.h b/src/mame/video/c45.h index 1e0d2e29022..665d87357d9 100644 --- a/src/mame/video/c45.h +++ b/src/mame/video/c45.h @@ -34,7 +34,7 @@ class namco_c45_road_device : public device_t, public device_gfx_interface, publ public: // construction/destruction - namco_c45_road_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + namco_c45_road_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_ADDRESS_MAP(map, 16); diff --git a/src/mame/video/chihiro.cpp b/src/mame/video/chihiro.cpp index 397461fc7f6..d31e2150e4f 100644 --- a/src/mame/video/chihiro.cpp +++ b/src/mame/video/chihiro.cpp @@ -2655,7 +2655,7 @@ int nv2a_renderer::geforce_exec_method(address_space & space, UINT32 chanel, UIN } } else { - machine().logerror("Unsupported primitive %d for method 0x1810\n", (int)primitive_type); + machine().logerror("Unsupported primitive %d for method 0x1810\n", primitive_type); } countlen--; } @@ -2800,7 +2800,7 @@ int nv2a_renderer::geforce_exec_method(address_space & space, UINT32 chanel, UIN } } else { - machine().logerror("Unsupported primitive %d for method 0x1800/8\n", (int)primitive_type); + machine().logerror("Unsupported primitive %d for method 0x1800/8\n", primitive_type); countlen = 0; } while (countlen > 0) { @@ -2978,7 +2978,7 @@ int nv2a_renderer::geforce_exec_method(address_space & space, UINT32 chanel, UIN } } else { - machine().logerror("Unsupported primitive %d for method 0x1818\n", (int)primitive_type); + machine().logerror("Unsupported primitive %d for method 0x1818\n", primitive_type); countlen = 0; } } @@ -3108,7 +3108,7 @@ int nv2a_renderer::geforce_exec_method(address_space & space, UINT32 chanel, UIN bytespixel_rendertarget = 1; break; default: - machine().logerror("Unknown render target color format %d\n\r", (int)colorformat_rendertarget); + machine().logerror("Unknown render target color format %d\n\r", colorformat_rendertarget); bytespixel_rendertarget = 4; break; } diff --git a/src/mame/video/crt.cpp b/src/mame/video/crt.cpp index bcb42d0100d..524696f7e17 100644 --- a/src/mame/video/crt.cpp +++ b/src/mame/video/crt.cpp @@ -49,7 +49,7 @@ const device_type CRT = &device_creator; // crt_device - constructor //------------------------------------------------- -crt_device::crt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +crt_device::crt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, CRT, "CRT Video", tag, owner, clock, "crt", __FILE__), m_list(nullptr), m_list_head(nullptr), diff --git a/src/mame/video/crt.h b/src/mame/video/crt.h index adc67e8f5ce..41eb10da2a1 100644 --- a/src/mame/video/crt.h +++ b/src/mame/video/crt.h @@ -46,7 +46,7 @@ struct crt_point class crt_device : public device_t { public: - crt_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + crt_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~crt_device() { } static void set_num_levels(device_t &device, int levels) { downcast(device).m_num_intensity_levels = levels; } diff --git a/src/mame/video/decbac06.cpp b/src/mame/video/decbac06.cpp index 2c38eba733c..c974c4adf13 100644 --- a/src/mame/video/decbac06.cpp +++ b/src/mame/video/decbac06.cpp @@ -67,7 +67,7 @@ Priority word (Midres): const device_type DECO_BAC06 = &device_creator; -deco_bac06_device::deco_bac06_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +deco_bac06_device::deco_bac06_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DECO_BAC06, "DECO BAC06 Tilemap", tag, owner, clock, "deco_bac06", __FILE__), m_pf_data(nullptr), m_pf_rowscroll(nullptr), @@ -98,7 +98,7 @@ deco_bac06_device::deco_bac06_device(const machine_config &mconfig, std::string // gfx decoder //------------------------------------------------- -void deco_bac06_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void deco_bac06_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } diff --git a/src/mame/video/decbac06.h b/src/mame/video/decbac06.h index ed11db5ef37..51a991636fa 100644 --- a/src/mame/video/decbac06.h +++ b/src/mame/video/decbac06.h @@ -15,10 +15,10 @@ class deco_bac06_device : public device_t { public: - deco_bac06_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + deco_bac06_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); static void set_gfx_region_wide(device_t &device, int region8x8, int region16x16, int wide); std::unique_ptr m_pf_data; diff --git a/src/mame/video/deckarn.cpp b/src/mame/video/deckarn.cpp index 87238087c7b..795bf5894d6 100644 --- a/src/mame/video/deckarn.cpp +++ b/src/mame/video/deckarn.cpp @@ -14,7 +14,7 @@ void deco_karnovsprites_device::set_gfx_region(device_t &device, int region) const device_type DECO_KARNOVSPRITES = &device_creator; -deco_karnovsprites_device::deco_karnovsprites_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +deco_karnovsprites_device::deco_karnovsprites_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DECO_KARNOVSPRITES, "DECO Karnov Sprites", tag, owner, clock, "deco_karnovsprites", __FILE__), m_gfxregion(0), m_gfxdecode(*this), @@ -27,7 +27,7 @@ deco_karnovsprites_device::deco_karnovsprites_device(const machine_config &mconf // gfx decoder //------------------------------------------------- -void deco_karnovsprites_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void deco_karnovsprites_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -118,7 +118,7 @@ void deco_karnovsprites_device::draw_sprites( bitmap_ind16 &bitmap, const rectan // palette device //------------------------------------------------- -void deco_karnovsprites_device::static_set_palette_tag(device_t &device, std::string tag) +void deco_karnovsprites_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/deckarn.h b/src/mame/video/deckarn.h index a25da8f07ef..560e0f87ba0 100644 --- a/src/mame/video/deckarn.h +++ b/src/mame/video/deckarn.h @@ -5,13 +5,13 @@ class deco_karnovsprites_device : public device_t { public: - deco_karnovsprites_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + deco_karnovsprites_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); void set_gfxregion(int region) { m_gfxregion = region; }; void draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect, UINT16* spriteram, int size, int priority ); // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_gfx_region(device_t &device, int region); protected: diff --git a/src/mame/video/decmxc06.cpp b/src/mame/video/decmxc06.cpp index cb396dd5245..888d5ae6ada 100644 --- a/src/mame/video/decmxc06.cpp +++ b/src/mame/video/decmxc06.cpp @@ -49,7 +49,7 @@ void deco_mxc06_device::set_gfx_region(device_t &device, int region) const device_type DECO_MXC06 = &device_creator; -deco_mxc06_device::deco_mxc06_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +deco_mxc06_device::deco_mxc06_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DECO_MXC06, "DECO MXC06 Sprite", tag, owner, clock, "deco_mxc06", __FILE__), device_video_interface(mconfig, *this), m_gfxregion(0), @@ -64,7 +64,7 @@ deco_mxc06_device::deco_mxc06_device(const machine_config &mconfig, std::string // gfx decoder //------------------------------------------------- -void deco_mxc06_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void deco_mxc06_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -229,7 +229,7 @@ void deco_mxc06_device::device_reset() // palette device //------------------------------------------------- -void deco_mxc06_device::static_set_palette_tag(device_t &device, std::string tag) +void deco_mxc06_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/decmxc06.h b/src/mame/video/decmxc06.h index 6c5753fe419..a4b58a73195 100644 --- a/src/mame/video/decmxc06.h +++ b/src/mame/video/decmxc06.h @@ -7,11 +7,11 @@ class deco_mxc06_device : public device_t, public device_video_interface { public: - deco_mxc06_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + deco_mxc06_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_gfx_region(device_t &device, int region); static void set_ram_size(device_t &device, int size) { diff --git a/src/mame/video/deco16ic.cpp b/src/mame/video/deco16ic.cpp index d97f79d6cc2..fa5b1caba0a 100644 --- a/src/mame/video/deco16ic.cpp +++ b/src/mame/video/deco16ic.cpp @@ -177,7 +177,7 @@ Rowscroll style: const device_type DECO16IC = &device_creator; -deco16ic_device::deco16ic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +deco16ic_device::deco16ic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DECO16IC, "DECO 55 / 56 / 74 / 141 IC", tag, owner, clock, "deco16ic", __FILE__), device_video_interface(mconfig, *this), m_pf1_data(nullptr), @@ -212,7 +212,7 @@ deco16ic_device::deco16ic_device(const machine_config &mconfig, std::string tag, // gfx decoder //------------------------------------------------- -void deco16ic_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void deco16ic_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -949,7 +949,7 @@ void deco16ic_device::tilemap_12_combine_draw(screen_device &screen, bitmap_rgb3 // palette device //------------------------------------------------- -void deco16ic_device::static_set_palette_tag(device_t &device, std::string tag) +void deco16ic_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/deco16ic.h b/src/mame/video/deco16ic.h index 2fc467123b2..5e45336c093 100644 --- a/src/mame/video/deco16ic.h +++ b/src/mame/video/deco16ic.h @@ -25,12 +25,12 @@ class deco16ic_device : public device_t, public device_video_interface { public: - deco16ic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + deco16ic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~deco16ic_device() {} // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_bank1_callback(device_t &device, deco16_bank_cb_delegate callback) { downcast(device).m_bank1_cb = callback; } static void set_bank2_callback(device_t &device, deco16_bank_cb_delegate callback) { downcast(device).m_bank2_cb = callback; } static void set_split(device_t &device, int split) { downcast(device).m_split = split; } diff --git a/src/mame/video/deco_zoomspr.cpp b/src/mame/video/deco_zoomspr.cpp index 26c6a3d5779..e1b5cfdb949 100644 --- a/src/mame/video/deco_zoomspr.cpp +++ b/src/mame/video/deco_zoomspr.cpp @@ -15,7 +15,7 @@ const device_type DECO_ZOOMSPR = &device_creator; -deco_zoomspr_device::deco_zoomspr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +deco_zoomspr_device::deco_zoomspr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DECO_ZOOMSPR, "DECO Zooming Sprites", tag, owner, clock, "deco_zoomspr", __FILE__), m_palette(*this), m_gfxdecode(*this) @@ -27,7 +27,7 @@ deco_zoomspr_device::deco_zoomspr_device(const machine_config &mconfig, std::str // palette device //------------------------------------------------- -void deco_zoomspr_device::static_set_palette_tag(device_t &device, std::string tag) +void deco_zoomspr_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } @@ -37,7 +37,7 @@ void deco_zoomspr_device::static_set_palette_tag(device_t &device, std::string t // gfx decoder //------------------------------------------------- -void deco_zoomspr_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void deco_zoomspr_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } diff --git a/src/mame/video/deco_zoomspr.h b/src/mame/video/deco_zoomspr.h index aa758428f33..4283f3aa62e 100644 --- a/src/mame/video/deco_zoomspr.h +++ b/src/mame/video/deco_zoomspr.h @@ -5,10 +5,10 @@ class deco_zoomspr_device : public device_t { public: - deco_zoomspr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + deco_zoomspr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - static void static_set_palette_tag(device_t &device, std::string tag); - static void static_set_gfxdecode_tag(device_t &device, std::string tag); + static void static_set_palette_tag(device_t &device, const char *tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); void dragngun_draw_sprites(bitmap_rgb32 &bitmap, const rectangle &cliprect, const UINT32 *spritedata, UINT32* dragngun_sprite_layout_0_ram, UINT32* dragngun_sprite_layout_1_ram, UINT32* dragngun_sprite_lookup_0_ram, UINT32* dragngun_sprite_lookup_1_ram, UINT32 dragngun_sprite_ctrl, bitmap_ind8 &pri_bitmap, bitmap_rgb32 &temp_bitmap); diff --git a/src/mame/video/decocomn.cpp b/src/mame/video/decocomn.cpp index 38a8817d6bf..f8bbb7f32bc 100644 --- a/src/mame/video/decocomn.cpp +++ b/src/mame/video/decocomn.cpp @@ -12,7 +12,7 @@ const device_type DECOCOMN = &device_creator; -decocomn_device::decocomn_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +decocomn_device::decocomn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DECOCOMN, "DECO Common Video Functions", tag, owner, clock, "decocomn", __FILE__), device_video_interface(mconfig, *this), m_dirty_palette(nullptr), @@ -27,7 +27,7 @@ decocomn_device::decocomn_device(const machine_config &mconfig, std::string tag, // palette device //------------------------------------------------- -void decocomn_device::static_set_palette_tag(device_t &device, std::string tag) +void decocomn_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/decocomn.h b/src/mame/video/decocomn.h index d7ea53956ec..b2c758c9d60 100644 --- a/src/mame/video/decocomn.h +++ b/src/mame/video/decocomn.h @@ -20,11 +20,11 @@ class decocomn_device : public device_t, public device_video_interface { public: - decocomn_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + decocomn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~decocomn_device() {} // static configuration - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_palette_tag(device_t &device, const char *tag); DECLARE_WRITE16_MEMBER( nonbuffered_palette_w ); DECLARE_WRITE16_MEMBER( buffered_palette_w ); diff --git a/src/mame/video/decodmd1.cpp b/src/mame/video/decodmd1.cpp index d678435c28a..64a853fe61f 100644 --- a/src/mame/video/decodmd1.cpp +++ b/src/mame/video/decodmd1.cpp @@ -230,7 +230,7 @@ machine_config_constructor decodmd_type1_device::device_mconfig_additions() cons return MACHINE_CONFIG_NAME( decodmd1 ); } -decodmd_type1_device::decodmd_type1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +decodmd_type1_device::decodmd_type1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DECODMD1, "Data East Pinball Dot Matrix Display Type 1", tag, owner, clock, "decodmd1", __FILE__), m_cpu(*this,"dmdcpu"), m_rombank1(*this,"dmdbank1"), @@ -266,7 +266,7 @@ void decodmd_type1_device::device_reset() m_frameswap = false; } -void decodmd_type1_device::static_set_gfxregion(device_t &device, std::string tag) +void decodmd_type1_device::static_set_gfxregion(device_t &device, const char *tag) { decodmd_type1_device &cpuboard = downcast(device); cpuboard.m_gfxtag = tag; diff --git a/src/mame/video/decodmd1.h b/src/mame/video/decodmd1.h index 7137cc2cf59..62247b91a82 100644 --- a/src/mame/video/decodmd1.h +++ b/src/mame/video/decodmd1.h @@ -22,7 +22,7 @@ class decodmd_type1_device : public device_t { public: - decodmd_type1_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + decodmd_type1_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); required_device m_cpu; required_memory_bank m_rombank1; required_memory_bank m_rombank2; @@ -42,7 +42,7 @@ public: DECLARE_WRITE8_MEMBER(dmd_port_w); TIMER_DEVICE_CALLBACK_MEMBER(dmd_nmi); - static void static_set_gfxregion(device_t &device, std::string tag); + static void static_set_gfxregion(device_t &device, const char *tag); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -68,7 +68,7 @@ private: UINT32 m_pixels[0x200]; UINT8 m_busy_lines; UINT32 m_prevrow; - std::string m_gfxtag; + const char* m_gfxtag; void output_data(); void set_busy(UINT8 input, UINT8 val); diff --git a/src/mame/video/decodmd2.cpp b/src/mame/video/decodmd2.cpp index 02ab6f3d45a..48863b1c0fc 100644 --- a/src/mame/video/decodmd2.cpp +++ b/src/mame/video/decodmd2.cpp @@ -158,7 +158,7 @@ machine_config_constructor decodmd_type2_device::device_mconfig_additions() cons return MACHINE_CONFIG_NAME( decodmd2 ); } -decodmd_type2_device::decodmd_type2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +decodmd_type2_device::decodmd_type2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DECODMD2, "Data East Pinball Dot Matrix Display Type 2", tag, owner, clock, "decodmd2", __FILE__), m_cpu(*this,"dmdcpu"), m_mc6845(*this,"dmd6845"), @@ -190,7 +190,7 @@ void decodmd_type2_device::device_reset() m_busy = false; } -void decodmd_type2_device::static_set_gfxregion(device_t &device, std::string tag) +void decodmd_type2_device::static_set_gfxregion(device_t &device, const char *tag) { decodmd_type2_device &cpuboard = downcast(device); cpuboard.m_gfxtag = tag; diff --git a/src/mame/video/decodmd2.h b/src/mame/video/decodmd2.h index 46d2092ef9b..1a1fb990c67 100644 --- a/src/mame/video/decodmd2.h +++ b/src/mame/video/decodmd2.h @@ -21,7 +21,7 @@ class decodmd_type2_device : public device_t { public: - decodmd_type2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + decodmd_type2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); required_device m_cpu; required_device m_mc6845; required_memory_bank m_rombank1; @@ -44,7 +44,7 @@ public: TIMER_DEVICE_CALLBACK_MEMBER(dmd_firq); MC6845_UPDATE_ROW(crtc_update_row); - static void static_set_gfxregion(device_t &device, std::string tag); + static void static_set_gfxregion(device_t &device, const char *tag); protected: virtual machine_config_constructor device_mconfig_additions() const override; @@ -59,7 +59,7 @@ private: UINT8 m_ctrl; UINT8 m_busy; UINT8 m_command; - std::string m_gfxtag; + const char* m_gfxtag; }; extern const device_type DECODMD2; diff --git a/src/mame/video/decodmd3.cpp b/src/mame/video/decodmd3.cpp index 68175003de9..18b41d4ce71 100644 --- a/src/mame/video/decodmd3.cpp +++ b/src/mame/video/decodmd3.cpp @@ -159,7 +159,7 @@ machine_config_constructor decodmd_type3_device::device_mconfig_additions() cons return MACHINE_CONFIG_NAME( decodmd3 ); } -decodmd_type3_device::decodmd_type3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +decodmd_type3_device::decodmd_type3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DECODMD3, "Data East Pinball Dot Matrix Display Type 3", tag, owner, clock, "decodmd3", __FILE__), m_cpu(*this,"dmdcpu"), m_mc6845(*this,"dmd6845"), @@ -186,7 +186,7 @@ void decodmd_type3_device::device_reset() m_rombank->set_entry(0); } -void decodmd_type3_device::static_set_gfxregion(device_t &device, std::string tag) +void decodmd_type3_device::static_set_gfxregion(device_t &device, const char *tag) { decodmd_type3_device &cpuboard = downcast(device); cpuboard.m_gfxtag = tag; diff --git a/src/mame/video/decodmd3.h b/src/mame/video/decodmd3.h index e9ecde4c25d..949be275b49 100644 --- a/src/mame/video/decodmd3.h +++ b/src/mame/video/decodmd3.h @@ -19,7 +19,7 @@ class decodmd_type3_device : public device_t { public: - decodmd_type3_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + decodmd_type3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); required_device m_cpu; required_device m_mc6845; required_device m_ram; @@ -38,7 +38,7 @@ public: TIMER_DEVICE_CALLBACK_MEMBER(dmd_irq); MC6845_UPDATE_ROW(crtc_update_row); - static void static_set_gfxregion(device_t &device, std::string tag); + static void static_set_gfxregion(device_t &device, const char *tag); memory_region* m_rom; @@ -56,7 +56,7 @@ private: UINT8 m_busy; UINT8 m_command; - std::string m_gfxtag; + const char* m_gfxtag; }; extern const device_type DECODMD3; diff --git a/src/mame/video/decospr.cpp b/src/mame/video/decospr.cpp index ae9dc78fb49..304fba4a87b 100644 --- a/src/mame/video/decospr.cpp +++ b/src/mame/video/decospr.cpp @@ -147,7 +147,7 @@ void decospr_device::set_gfx_region(device_t &device, int gfxregion) const device_type DECO_SPRITE = &device_creator; -decospr_device::decospr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +decospr_device::decospr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, DECO_SPRITE, "DECO 52 Sprite", tag, owner, clock, "decospr", __FILE__), device_video_interface(mconfig, *this), m_gfxregion(0), @@ -169,7 +169,7 @@ decospr_device::decospr_device(const machine_config &mconfig, std::string tag, d // gfx decoder //------------------------------------------------- -void decospr_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void decospr_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -629,7 +629,7 @@ void decospr_device::inefficient_copy_sprite_bitmap(bitmap_rgb32 &bitmap, const // palette device //------------------------------------------------- -void decospr_device::static_set_palette_tag(device_t &device, std::string tag) +void decospr_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/decospr.h b/src/mame/video/decospr.h index 58b16aa0beb..9679a22acc5 100644 --- a/src/mame/video/decospr.h +++ b/src/mame/video/decospr.h @@ -14,11 +14,11 @@ class decospr_device : public device_t, public device_video_interface { public: - decospr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + decospr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_gfx_region(device_t &device, int gfxregion); static void set_pri_callback(device_t &device, decospr_pri_cb_delegate callback) { downcast(device).m_pri_cb = callback; } static void set_col_callback(device_t &device, decospr_col_cb_delegate callback) { downcast(device).m_col_cb = callback; } diff --git a/src/mame/video/excellent_spr.cpp b/src/mame/video/excellent_spr.cpp index 68c611b346a..f58f80f69d6 100644 --- a/src/mame/video/excellent_spr.cpp +++ b/src/mame/video/excellent_spr.cpp @@ -21,7 +21,7 @@ const device_type EXCELLENT_SPRITE = &device_creator; -excellent_spr_device::excellent_spr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +excellent_spr_device::excellent_spr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, EXCELLENT_SPRITE, "Excellent 8-bit Sprite", tag, owner, clock, "excellent_spr", __FILE__), device_video_interface(mconfig, *this) { diff --git a/src/mame/video/excellent_spr.h b/src/mame/video/excellent_spr.h index a6c554cfcc9..6f713eac13d 100644 --- a/src/mame/video/excellent_spr.h +++ b/src/mame/video/excellent_spr.h @@ -5,7 +5,7 @@ class excellent_spr_device : public device_t, public device_video_interface { public: - excellent_spr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + excellent_spr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_READ8_MEMBER(read); DECLARE_WRITE8_MEMBER(write); diff --git a/src/mame/video/fuukifg.cpp b/src/mame/video/fuukifg.cpp index c76ea6ebece..bf891fc8201 100644 --- a/src/mame/video/fuukifg.cpp +++ b/src/mame/video/fuukifg.cpp @@ -8,14 +8,14 @@ const device_type FUUKI_VIDEO = &device_creator; -fuukivid_device::fuukivid_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +fuukivid_device::fuukivid_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, FUUKI_VIDEO, "Fuuki Video", tag, owner, clock, "fuukivid", __FILE__), device_video_interface(mconfig, *this), m_gfxdecode(*this) { } -void fuukivid_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void fuukivid_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } diff --git a/src/mame/video/fuukifg.h b/src/mame/video/fuukifg.h index c2b4d14056d..41668672abf 100644 --- a/src/mame/video/fuukifg.h +++ b/src/mame/video/fuukifg.h @@ -7,10 +7,10 @@ class fuukivid_device : public device_t, public device_video_interface { public: - fuukivid_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + fuukivid_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); void draw_sprites(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int flip_screen, UINT32* tilebank); std::unique_ptr m_sprram; diff --git a/src/mame/video/gb_lcd.cpp b/src/mame/video/gb_lcd.cpp index a35573b387e..c7560b485bf 100644 --- a/src/mame/video/gb_lcd.cpp +++ b/src/mame/video/gb_lcd.cpp @@ -180,31 +180,31 @@ const device_type GB_LCD_CGB = &device_creator; -gb_lcd_device::gb_lcd_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +gb_lcd_device::gb_lcd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_video_interface(mconfig, *this), m_sgb_border_hack(0) { } -gb_lcd_device::gb_lcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +gb_lcd_device::gb_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, GB_LCD_DMG, "DMG LCD", tag, owner, clock, "dmg_lcd", __FILE__), device_video_interface(mconfig, *this), m_sgb_border_hack(0) { } -mgb_lcd_device::mgb_lcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +mgb_lcd_device::mgb_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : gb_lcd_device(mconfig, GB_LCD_MGB, "MGB LCD", tag, owner, clock, "mgb_lcd", __FILE__) { } -sgb_lcd_device::sgb_lcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sgb_lcd_device::sgb_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : gb_lcd_device(mconfig, GB_LCD_SGB, "SGB LCD", tag, owner, clock, "sgb_lcd", __FILE__) { } -cgb_lcd_device::cgb_lcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +cgb_lcd_device::cgb_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : gb_lcd_device(mconfig, GB_LCD_CGB, "CGB LCD", tag, owner, clock, "cgb_lcd", __FILE__) { } diff --git a/src/mame/video/gb_lcd.h b/src/mame/video/gb_lcd.h index 15876138b44..4e512e3da79 100644 --- a/src/mame/video/gb_lcd.h +++ b/src/mame/video/gb_lcd.h @@ -33,8 +33,8 @@ class gb_lcd_device : public device_t, public device_video_interface { public: - gb_lcd_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); - gb_lcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + gb_lcd_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + gb_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); @@ -141,7 +141,7 @@ protected: class mgb_lcd_device : public gb_lcd_device { public: - mgb_lcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + mgb_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); protected: @@ -153,7 +153,7 @@ protected: class sgb_lcd_device : public gb_lcd_device { public: - sgb_lcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sgb_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); void sgb_io_write_pal(int offs, UINT8 *data); @@ -172,7 +172,7 @@ protected: class cgb_lcd_device : public gb_lcd_device { public: - cgb_lcd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + cgb_lcd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual DECLARE_READ8_MEMBER(video_r) override; virtual DECLARE_WRITE8_MEMBER(video_w) override; diff --git a/src/mame/video/gic.cpp b/src/mame/video/gic.cpp index b02bee5f756..6adcea87227 100644 --- a/src/mame/video/gic.cpp +++ b/src/mame/video/gic.cpp @@ -80,7 +80,7 @@ ROM_END // gic_device - constructor //------------------------------------------------- -gic_device::gic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +gic_device::gic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, GIC, "GIC", tag, owner, clock, "gic", __FILE__) , device_sound_interface(mconfig, *this) , device_video_interface(mconfig, *this) @@ -93,7 +93,7 @@ gic_device::gic_device(const machine_config &mconfig, std::string tag, device_t } -gic_device::gic_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, int lines, const char *shortname, const char *source) +gic_device::gic_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int lines, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source) , device_sound_interface(mconfig, *this) , device_video_interface(mconfig, *this) diff --git a/src/mame/video/gic.h b/src/mame/video/gic.h index d51640a9d78..3babca9fec8 100644 --- a/src/mame/video/gic.h +++ b/src/mame/video/gic.h @@ -54,8 +54,8 @@ class gic_device : public device_t { public: // construction/destruction - gic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - gic_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, int lines, const char *shortname, const char *source); + gic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + gic_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, int lines, const char *shortname, const char *source); // static configuration helpers static void set_screen_tag(device_t &device, const char *screen_tag) { downcast(device).m_screen_tag = screen_tag; } diff --git a/src/mame/video/gime.cpp b/src/mame/video/gime.cpp index 621a63beb60..a98cd3d83cd 100644 --- a/src/mame/video/gime.cpp +++ b/src/mame/video/gime.cpp @@ -108,11 +108,14 @@ // ctor //------------------------------------------------- -gime_base_device::gime_base_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, const char *shortname, const char *source) +gime_base_device::gime_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, const char *shortname, const char *source) : mc6847_friend_device(mconfig, type, name, tag, owner, clock, fontdata, true, 263, 25+192+26+3, false, shortname, source), m_write_irq(*this), m_write_firq(*this), - m_read_floating_bus(*this) + m_read_floating_bus(*this), + m_maincpu_tag(nullptr), + m_ram_tag(nullptr), + m_ext_tag(nullptr) { } @@ -2057,7 +2060,7 @@ const device_type GIME_PAL = &device_creator; // gime_ntsc_device //------------------------------------------------- -gime_ntsc_device::gime_ntsc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +gime_ntsc_device::gime_ntsc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : gime_base_device(mconfig, GIME_NTSC, "GIME_NTSC", tag, owner, clock, ntsc_round_fontdata8x12, "gime_ntsc", __FILE__) { } @@ -2068,7 +2071,7 @@ gime_ntsc_device::gime_ntsc_device(const machine_config &mconfig, std::string ta // gime_pal_device //------------------------------------------------- -gime_pal_device::gime_pal_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +gime_pal_device::gime_pal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : gime_base_device(mconfig, GIME_PAL, "GIME_PAL", tag, owner, clock, pal_round_fontdata8x12, "gime_pal", __FILE__) { } diff --git a/src/mame/video/gime.h b/src/mame/video/gime.h index 4db783fc1aa..b73c64440e7 100644 --- a/src/mame/video/gime.h +++ b/src/mame/video/gime.h @@ -58,9 +58,9 @@ public: template static devcb_base &set_irq_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_irq.set_callback(object); } template static devcb_base &set_firq_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_firq.set_callback(object); } template static devcb_base &set_floating_bus_rd_callback(device_t &device, _Object object) { return downcast(device).m_read_floating_bus.set_callback(object); } - static void set_maincpu_tag(device_t &device, std::string tag) { downcast(device).m_maincpu_tag = tag; } - static void set_ram_tag(device_t &device, std::string tag) { downcast(device).m_ram_tag = tag; } - static void set_ext_tag(device_t &device, std::string tag) { downcast(device).m_ext_tag = tag; } + static void set_maincpu_tag(device_t &device, const char *tag) { downcast(device).m_maincpu_tag = tag; } + static void set_ram_tag(device_t &device, const char *tag) { downcast(device).m_ram_tag = tag; } + static void set_ext_tag(device_t &device, const char *tag) { downcast(device).m_ext_tag = tag; } // read/write DECLARE_READ8_MEMBER( read ) { return read(offset); } @@ -91,7 +91,7 @@ public: void set_il2(bool value) { set_interrupt_value(INTERRUPT_EI2, value); } protected: - gime_base_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, const char *shortname, const char *source); + gime_base_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const UINT8 *fontdata, const char *shortname, const char *source); // device-level overrides virtual void device_start(void) override; @@ -202,9 +202,9 @@ private: pixel_t m_rgb_palette[64]; UINT8 m_dummy_bank[0x2000]; - std::string m_maincpu_tag; /* tag of main CPU */ - std::string m_ram_tag; /* tag of RAM device */ - std::string m_ext_tag; /* tag of expansion device */ + const char *m_maincpu_tag; /* tag of main CPU */ + const char *m_ram_tag; /* tag of RAM device */ + const char *m_ext_tag; /* tag of expansion device */ // timer constants static const device_timer_id TIMER_FRAME = 0; @@ -295,13 +295,13 @@ private: class gime_ntsc_device : public gime_base_device { public: - gime_ntsc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + gime_ntsc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; class gime_pal_device : public gime_base_device { public: - gime_pal_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + gime_pal_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; extern const device_type GIME_NTSC; diff --git a/src/mame/video/gp9001.cpp b/src/mame/video/gp9001.cpp index 5c3850d5ae2..31d939db1dd 100644 --- a/src/mame/video/gp9001.cpp +++ b/src/mame/video/gp9001.cpp @@ -213,7 +213,7 @@ GFXDECODE_END const device_type GP9001_VDP = &device_creator; -gp9001vdp_device::gp9001vdp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +gp9001vdp_device::gp9001vdp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, GP9001_VDP, "GP9001 VDP", tag, owner, clock, "gp9001vdp", __FILE__), device_gfx_interface(mconfig, *this, gfxinfo), device_video_interface(mconfig, *this), diff --git a/src/mame/video/gp9001.h b/src/mame/video/gp9001.h index 09873810181..f7dcebe491c 100644 --- a/src/mame/video/gp9001.h +++ b/src/mame/video/gp9001.h @@ -39,7 +39,7 @@ class gp9001vdp_device : public device_t, DECLARE_GFXDECODE_MEMBER(gfxinfo); public: - gp9001vdp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + gp9001vdp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); UINT16 gp9001_voffs; UINT16 gp9001_scroll_reg; diff --git a/src/mame/video/gtia.cpp b/src/mame/video/gtia.cpp index 47cc4ea41ae..2d9e0b08378 100644 --- a/src/mame/video/gtia.cpp +++ b/src/mame/video/gtia.cpp @@ -117,7 +117,7 @@ const device_type ATARI_GTIA = &device_creator; // upd7220_device - constructor //------------------------------------------------- -gtia_device::gtia_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +gtia_device::gtia_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ATARI_GTIA, "Atari GTIA", tag, owner, clock, "gtia", __FILE__), m_read_cb(*this), m_write_cb(*this) diff --git a/src/mame/video/gtia.h b/src/mame/video/gtia.h index 77f857b566d..4504175cb46 100644 --- a/src/mame/video/gtia.h +++ b/src/mame/video/gtia.h @@ -128,7 +128,7 @@ class gtia_device : public device_t { public: // construction/destruction - gtia_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + gtia_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_read_callback(device_t &device, _Object object) { return downcast(device).m_read_cb.set_callback(object); } template static devcb_base &set_write_callback(device_t &device, _Object object) { return downcast(device).m_write_cb.set_callback(object); } diff --git a/src/mame/video/igs017_igs031.cpp b/src/mame/video/igs017_igs031.cpp index e67f9dc92b1..8e8993e0fa7 100644 --- a/src/mame/video/igs017_igs031.cpp +++ b/src/mame/video/igs017_igs031.cpp @@ -75,7 +75,7 @@ GFXDECODE_END const device_type IGS017_IGS031 = &device_creator; -igs017_igs031_device::igs017_igs031_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +igs017_igs031_device::igs017_igs031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, IGS017_IGS031, "IGS017_IGS031", tag, owner, clock, "igs017_igs031", __FILE__), device_gfx_interface(mconfig, *this, gfxinfo), device_video_interface(mconfig, *this), diff --git a/src/mame/video/igs017_igs031.h b/src/mame/video/igs017_igs031.h index d264c24bd13..4c3b2c66ed3 100644 --- a/src/mame/video/igs017_igs031.h +++ b/src/mame/video/igs017_igs031.h @@ -20,7 +20,7 @@ class igs017_igs031_device : public device_t, DECLARE_GFXDECODE_MEMBER(gfxinfo); public: - igs017_igs031_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + igs017_igs031_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); static void set_palette_scramble_cb(device_t &device,igs017_igs031_palette_scramble_delegate newtilecb); diff --git a/src/mame/video/itech32.cpp b/src/mame/video/itech32.cpp index ed857dea91f..3c882ac757b 100644 --- a/src/mame/video/itech32.cpp +++ b/src/mame/video/itech32.cpp @@ -321,14 +321,14 @@ WRITE16_MEMBER(itech32_state::bloodstm_paletteram_w) * *************************************/ -void itech32_state::logblit(std::string tag) +void itech32_state::logblit(const char *tag) { if (!machine().input().code_pressed(KEYCODE_L)) return; if (m_is_drivedge && VIDEO_TRANSFER_FLAGS == 0x5490) { /* polygon drawing */ - logerror("%s: e=%d%d f=%04x s=(%03x-%03x,%03x) w=%03x h=%03x b=%02x%04x c=%02x%02x ss=%04x,%04x ds=%04x,%04x ls=%04x%04x rs=%04x%04x u80=%04x", tag.c_str(), + logerror("%s: e=%d%d f=%04x s=(%03x-%03x,%03x) w=%03x h=%03x b=%02x%04x c=%02x%02x ss=%04x,%04x ds=%04x,%04x ls=%04x%04x rs=%04x%04x u80=%04x", tag, m_enable_latch[0], m_enable_latch[1], VIDEO_TRANSFER_FLAGS, VIDEO_TRANSFER_X, VIDEO_RIGHTCLIP, VIDEO_TRANSFER_Y, VIDEO_TRANSFER_WIDTH, VIDEO_TRANSFER_HEIGHT, @@ -344,7 +344,7 @@ void itech32_state::logblit(std::string tag) m_video[0x1a/2] == 0x000 && m_video[0x1c/2] == 0x100 && m_video[0x1e/2] == 0x000 && m_video[0x20/2] == 0x000) { - logerror("%s: e=%d%d f=%04x c=%02x%02x %02x%04x -> (%03x,%03x) %3dx%3dc=(%03x,%03x)-(%03x,%03x)", tag.c_str(), + logerror("%s: e=%d%d f=%04x c=%02x%02x %02x%04x -> (%03x,%03x) %3dx%3dc=(%03x,%03x)-(%03x,%03x)", tag, m_enable_latch[0], m_enable_latch[1], VIDEO_TRANSFER_FLAGS, m_color_latch[0] >> 8, m_color_latch[1] >> 8, @@ -355,7 +355,7 @@ void itech32_state::logblit(std::string tag) } else { - logerror("%s: e=%d%d f=%04x c=%02x%02x %02x%04x -> (%03x,%03x) %3dx%3d c=(%03x,%03x)-(%03x,%03x) s=%04x %04x %04x %04x %04x %04x", tag.c_str(), + logerror("%s: e=%d%d f=%04x c=%02x%02x %02x%04x -> (%03x,%03x) %3dx%3d c=(%03x,%03x)-(%03x,%03x) s=%04x %04x %04x %04x %04x %04x", tag, m_enable_latch[0], m_enable_latch[1], VIDEO_TRANSFER_FLAGS, m_color_latch[0] >> 8, m_color_latch[1] >> 8, diff --git a/src/mame/video/jalblend.cpp b/src/mame/video/jalblend.cpp index d07eb4bb843..93359334934 100644 --- a/src/mame/video/jalblend.cpp +++ b/src/mame/video/jalblend.cpp @@ -24,7 +24,7 @@ const device_type JALECO_BLEND = &device_creator; -jaleco_blend_device::jaleco_blend_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +jaleco_blend_device::jaleco_blend_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, JALECO_BLEND, "Jaleco Blending Device", tag, owner, clock, "jaleco_blend", __FILE__), m_table(nullptr) { diff --git a/src/mame/video/jalblend.h b/src/mame/video/jalblend.h index 1620183f185..721bf320676 100644 --- a/src/mame/video/jalblend.h +++ b/src/mame/video/jalblend.h @@ -3,7 +3,7 @@ class jaleco_blend_device : public device_t { public: - jaleco_blend_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + jaleco_blend_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~jaleco_blend_device() {} void set(int color, UINT8 val); diff --git a/src/mame/video/k001005.cpp b/src/mame/video/k001005.cpp index 12071cb5589..fad84787317 100644 --- a/src/mame/video/k001005.cpp +++ b/src/mame/video/k001005.cpp @@ -1170,7 +1170,7 @@ void k001005_renderer::draw(bitmap_rgb32 &bitmap, const rectangle &cliprect) const device_type K001005 = &device_creator; -k001005_device::k001005_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k001005_device::k001005_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K001005, "K001005 Polygon Renderer", tag, owner, clock, "k001005", __FILE__), device_video_interface(mconfig, *this), m_k001006(nullptr), @@ -1457,7 +1457,7 @@ void k001005_device::draw( bitmap_rgb32 &bitmap, const rectangle &cliprect ) m_renderer->draw(bitmap, cliprect); } -void k001005_device::set_texel_chip(device_t &device, std::string tag) +void k001005_device::set_texel_chip(device_t &device, const char *tag) { downcast(device).m_k001006_tag = tag; } diff --git a/src/mame/video/k001005.h b/src/mame/video/k001005.h index c3629819c70..b863ffdc8de 100644 --- a/src/mame/video/k001005.h +++ b/src/mame/video/k001005.h @@ -103,10 +103,10 @@ class k001005_device : public device_t, public device_video_interface { public: - k001005_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k001005_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k001005_device() {} - static void set_texel_chip(device_t &device, std::string tag); + static void set_texel_chip(device_t &device, const char *tag); void draw(bitmap_rgb32 &bitmap, const rectangle &cliprect); void swap_buffers(); @@ -124,7 +124,7 @@ protected: private: // internal state device_t *m_k001006; - std::string m_k001006_tag; + const char *m_k001006_tag; std::unique_ptr m_ram[2]; std::unique_ptr m_fifo; diff --git a/src/mame/video/k001006.cpp b/src/mame/video/k001006.cpp index f5fa90ac859..1c60d4b56b0 100644 --- a/src/mame/video/k001006.cpp +++ b/src/mame/video/k001006.cpp @@ -14,14 +14,13 @@ const device_type K001006 = &device_creator; -k001006_device::k001006_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k001006_device::k001006_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K001006, "K001006 Texel Unit", tag, owner, clock, "k001006", __FILE__), m_pal_ram(nullptr), m_unknown_ram(nullptr), m_addr(0), m_device_sel(0), - m_palette(nullptr), - m_gfxrom(nullptr), + m_palette(nullptr), m_gfx_region(nullptr), m_gfxrom(nullptr), m_tex_layout(0) { } diff --git a/src/mame/video/k001006.h b/src/mame/video/k001006.h index 5368a4d2cbd..6b3b23e41c2 100644 --- a/src/mame/video/k001006.h +++ b/src/mame/video/k001006.h @@ -9,11 +9,11 @@ class k001006_device : public device_t { public: - k001006_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k001006_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k001006_device() {} // static configuration - static void set_gfx_region(device_t &device, std::string tag) { downcast(device).m_gfx_region = tag; } + static void set_gfx_region(device_t &device, const char *tag) { downcast(device).m_gfx_region = tag; } static void set_tex_layout(device_t &device, int layout) { downcast(device).m_tex_layout = layout; } UINT32 fetch_texel(int page, int pal_index, int u, int v); @@ -39,7 +39,7 @@ private: std::unique_ptr m_palette; - std::string m_gfx_region; + const char * m_gfx_region; UINT8 * m_gfxrom; //int m_tex_width; //int m_tex_height; diff --git a/src/mame/video/k001604.cpp b/src/mame/video/k001604.cpp index d34083efee0..6308e9f2736 100644 --- a/src/mame/video/k001604.cpp +++ b/src/mame/video/k001604.cpp @@ -17,7 +17,7 @@ const device_type K001604 = &device_creator; -k001604_device::k001604_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k001604_device::k001604_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K001604, "K001604 2D tilemaps + 2x ROZ", tag, owner, clock, "k001604", __FILE__), m_gfx_index_1(0), m_gfx_index_2(0), @@ -41,7 +41,7 @@ k001604_device::k001604_device(const machine_config &mconfig, std::string tag, d // gfx decoder //------------------------------------------------- -void k001604_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void k001604_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -425,7 +425,7 @@ WRITE32_MEMBER( k001604_device::reg_w ) // palette device //------------------------------------------------- -void k001604_device::static_set_palette_tag(device_t &device, std::string tag) +void k001604_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/k001604.h b/src/mame/video/k001604.h index 14480539cc3..d0719936029 100644 --- a/src/mame/video/k001604.h +++ b/src/mame/video/k001604.h @@ -8,12 +8,12 @@ class k001604_device : public device_t { public: - k001604_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k001604_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k001604_device() {} // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_gfx_index_1(device_t &device, int idx) { downcast(device).m_gfx_index_1 = idx; } static void set_gfx_index_2(device_t &device, int idx) { downcast(device).m_gfx_index_2 = idx; } static void set_layer_size(device_t &device, int size) { downcast(device).m_layer_size = size; } diff --git a/src/mame/video/k007121.cpp b/src/mame/video/k007121.cpp index 6a1d3b2fe99..6914945baa5 100644 --- a/src/mame/video/k007121.cpp +++ b/src/mame/video/k007121.cpp @@ -121,7 +121,7 @@ control registers const device_type K007121 = &device_creator; -k007121_device::k007121_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k007121_device::k007121_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K007121, "K007121 Sprite/Tilemap Controller", tag, owner, clock, "k007121", __FILE__), m_flipscreen(0), m_palette(*this) @@ -364,7 +364,7 @@ void k007121_device::sprites_draw( bitmap_ind16 &bitmap, const rectangle &clipre // palette device //------------------------------------------------- -void k007121_device::static_set_palette_tag(device_t &device, std::string tag) +void k007121_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/k007121.h b/src/mame/video/k007121.h index 6d1b41f8bc7..0f1188b21fa 100644 --- a/src/mame/video/k007121.h +++ b/src/mame/video/k007121.h @@ -7,10 +7,10 @@ class k007121_device : public device_t { public: - k007121_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k007121_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k007121_device() {} - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_palette_tag(device_t &device, const char *tag); DECLARE_READ8_MEMBER( ctrlram_r ); DECLARE_WRITE8_MEMBER( ctrl_w ); diff --git a/src/mame/video/k007342.cpp b/src/mame/video/k007342.cpp index 3ef9db0e4dd..e44dd84e068 100644 --- a/src/mame/video/k007342.cpp +++ b/src/mame/video/k007342.cpp @@ -37,7 +37,7 @@ control registers const device_type K007342 = &device_creator; -k007342_device::k007342_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k007342_device::k007342_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K007342, "K007342 Video Controller", tag, owner, clock, "k007342", __FILE__), m_ram(nullptr), m_scroll_ram(nullptr), @@ -61,7 +61,7 @@ k007342_device::k007342_device(const machine_config &mconfig, std::string tag, d // gfx decoder //------------------------------------------------- -void k007342_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void k007342_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } diff --git a/src/mame/video/k007342.h b/src/mame/video/k007342.h index 0d10b163f3d..edc307868fa 100644 --- a/src/mame/video/k007342.h +++ b/src/mame/video/k007342.h @@ -9,11 +9,11 @@ typedef device_delegate(device).m_gfxnum = gfxnum; } static void static_set_callback(device_t &device, k007342_delegate callback) { downcast(device).m_callback = callback; } diff --git a/src/mame/video/k007420.cpp b/src/mame/video/k007420.cpp index 29c00aa38fc..9b539f23669 100644 --- a/src/mame/video/k007420.cpp +++ b/src/mame/video/k007420.cpp @@ -18,7 +18,7 @@ and a variable amount of ROM. Nothing is known about its external interface. const device_type K007420 = &device_creator; -k007420_device::k007420_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k007420_device::k007420_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K007420, "K007420 Sprite Generator", tag, owner, clock, "k007420", __FILE__), m_ram(nullptr), m_flipscreen(0), @@ -251,7 +251,7 @@ void k007420_device::sprites_draw( bitmap_ind16 &bitmap, const rectangle &clipre // palette device //------------------------------------------------- -void k007420_device::static_set_palette_tag(device_t &device, std::string tag) +void k007420_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/k007420.h b/src/mame/video/k007420.h index 6484a21555f..471efe297b6 100644 --- a/src/mame/video/k007420.h +++ b/src/mame/video/k007420.h @@ -9,10 +9,10 @@ typedef device_delegate k007420_delegate; class k007420_device : public device_t { public: - k007420_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k007420_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k007420_device() {} - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void static_set_bank_limit(device_t &device, int limit) { downcast(device).m_banklimit = limit; } static void static_set_callback(device_t &device, k007420_delegate callback) { downcast(device).m_callback = callback; } diff --git a/src/mame/video/k037122.cpp b/src/mame/video/k037122.cpp index c6d732fdb8b..e7f57786174 100644 --- a/src/mame/video/k037122.cpp +++ b/src/mame/video/k037122.cpp @@ -15,7 +15,7 @@ Konami 037122 const device_type K037122 = &device_creator; -k037122_device::k037122_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k037122_device::k037122_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K037122, "K037122 2D Tilemap", tag, owner, clock, "k037122", __FILE__), device_video_interface(mconfig, *this), m_tile_ram(nullptr), @@ -32,7 +32,7 @@ k037122_device::k037122_device(const machine_config &mconfig, std::string tag, d // gfx decoder //------------------------------------------------- -void k037122_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void k037122_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -42,7 +42,7 @@ void k037122_device::static_set_gfxdecode_tag(device_t &device, std::string tag) // palette device //------------------------------------------------- -void k037122_device::static_set_palette_tag(device_t &device, std::string tag) +void k037122_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/k037122.h b/src/mame/video/k037122.h index 13ed75d2868..181f28e355d 100644 --- a/src/mame/video/k037122.h +++ b/src/mame/video/k037122.h @@ -8,12 +8,12 @@ class k037122_device : public device_t, public device_video_interface { public: - k037122_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k037122_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k037122_device() {} // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void static_set_gfx_index(device_t &device, int index) { downcast(device).m_gfx_index = index; } void tile_draw( screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect ); diff --git a/src/mame/video/k051316.cpp b/src/mame/video/k051316.cpp index a01ac24a1b3..958b38fab3f 100644 --- a/src/mame/video/k051316.cpp +++ b/src/mame/video/k051316.cpp @@ -103,7 +103,7 @@ GFXDECODE_MEMBER( k051316_device::gfxinfo4_ram ) GFXDECODE_END -k051316_device::k051316_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k051316_device::k051316_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K051316, "K051316 PSAC", tag, owner, clock, "k051316", __FILE__), device_gfx_interface(mconfig, *this, gfxinfo), m_zoom_rom(nullptr), diff --git a/src/mame/video/k051316.h b/src/mame/video/k051316.h index 9984494903c..03d040340f1 100644 --- a/src/mame/video/k051316.h +++ b/src/mame/video/k051316.h @@ -28,7 +28,7 @@ class k051316_device : public device_t, public device_gfx_interface { public: - k051316_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k051316_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k051316_device() {} static const gfx_layout charlayout4; diff --git a/src/mame/video/k051733.cpp b/src/mame/video/k051733.cpp index 5cf332226da..8456e0d2ea7 100644 --- a/src/mame/video/k051733.cpp +++ b/src/mame/video/k051733.cpp @@ -64,7 +64,7 @@ reads from 0x0006, and only uses bit 1. const device_type K051733 = &device_creator; -k051733_device::k051733_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k051733_device::k051733_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K051733, "K051733 Protection", tag, owner, clock, "k051733", __FILE__), //m_ram[0x20], m_rng(0) diff --git a/src/mame/video/k051733.h b/src/mame/video/k051733.h index 75f069a4d8b..6e0ef7708d0 100644 --- a/src/mame/video/k051733.h +++ b/src/mame/video/k051733.h @@ -7,7 +7,7 @@ class k051733_device : public device_t { public: - k051733_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k051733_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k051733_device() {} DECLARE_WRITE8_MEMBER( write ); diff --git a/src/mame/video/k051960.cpp b/src/mame/video/k051960.cpp index 27e2bb2efe9..81eb58f45af 100644 --- a/src/mame/video/k051960.cpp +++ b/src/mame/video/k051960.cpp @@ -125,12 +125,13 @@ GFXDECODE_MEMBER( k051960_device::gfxinfo_gradius3 ) GFXDECODE_END -k051960_device::k051960_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k051960_device::k051960_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K051960, "K051960 Sprite Generator", tag, owner, clock, "k051960", __FILE__), device_gfx_interface(mconfig, *this, gfxinfo), m_ram(nullptr), m_sprite_rom(nullptr), m_sprite_size(0), + m_screen_tag(nullptr), m_screen(nullptr), m_scanline_timer(nullptr), m_irq_handler(*this), @@ -170,7 +171,7 @@ void k051960_device::set_plane_order(device_t &device, int order) // set_screen_tag - set screen we are attached to //------------------------------------------------- -void k051960_device::set_screen_tag(device_t &device, device_t *owner, std::string tag) +void k051960_device::set_screen_tag(device_t &device, device_t *owner, const char *tag) { k051960_device &dev = dynamic_cast(device); dev.m_screen_tag = tag; diff --git a/src/mame/video/k051960.h b/src/mame/video/k051960.h index 8302244362b..069f0f48440 100644 --- a/src/mame/video/k051960.h +++ b/src/mame/video/k051960.h @@ -42,7 +42,7 @@ class k051960_device : public device_t, DECLARE_GFXDECODE_MEMBER(gfxinfo_gradius3); public: - k051960_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k051960_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k051960_device() {} template static devcb_base &set_irq_handler(device_t &device, _Object object) @@ -54,7 +54,7 @@ public: // static configuration static void set_k051960_callback(device_t &device, k051960_cb_delegate callback) { downcast(device).m_k051960_cb = callback; } static void set_plane_order(device_t &device, int order); - static void set_screen_tag(device_t &device, device_t *owner, std::string tag); + static void set_screen_tag(device_t &device, device_t *owner, const char *tag); /* The callback is passed: @@ -92,7 +92,7 @@ private: UINT8 *m_sprite_rom; UINT32 m_sprite_size; - std::string m_screen_tag; + const char *m_screen_tag; screen_device *m_screen; emu_timer *m_scanline_timer; diff --git a/src/mame/video/k052109.cpp b/src/mame/video/k052109.cpp index 83c417afeb9..f0e3c640051 100644 --- a/src/mame/video/k052109.cpp +++ b/src/mame/video/k052109.cpp @@ -159,7 +159,7 @@ GFXDECODE_MEMBER( k052109_device::gfxinfo_ram ) GFXDECODE_END -k052109_device::k052109_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k052109_device::k052109_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K052109, "K052109 Tilemap Generator", tag, owner, clock, "k052109", __FILE__), device_gfx_interface(mconfig, *this, gfxinfo), m_ram(nullptr), @@ -180,6 +180,7 @@ k052109_device::k052109_device(const machine_config &mconfig, std::string tag, d m_scrollctrl(0), m_char_rom(nullptr), m_char_size(0), + m_screen_tag(nullptr), m_irq_handler(*this), m_firq_handler(*this), m_nmi_handler(*this) @@ -204,7 +205,7 @@ void k052109_device::set_ram(device_t &device, bool ram) void k052109_device::device_start() { - if (!m_screen_tag.empty()) + if (m_screen_tag != nullptr) { // make sure our screen is started screen_device *screen = m_owner->subdevice(m_screen_tag); @@ -287,7 +288,7 @@ void k052109_device::device_reset() // set_screen_tag - set screen we are attached to //------------------------------------------------- -void k052109_device::set_screen_tag(device_t &device, device_t *owner, std::string tag) +void k052109_device::set_screen_tag(device_t &device, device_t *owner, const char *tag) { k052109_device &dev = dynamic_cast(device); dev.m_screen_tag = tag; diff --git a/src/mame/video/k052109.h b/src/mame/video/k052109.h index 5d081a9e251..96f25882fa4 100644 --- a/src/mame/video/k052109.h +++ b/src/mame/video/k052109.h @@ -28,7 +28,7 @@ class k052109_device : public device_t, public device_gfx_interface DECLARE_GFXDECODE_MEMBER(gfxinfo_ram); public: - k052109_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k052109_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k052109_device() {} template static devcb_base &set_irq_handler(device_t &device, _Object object) @@ -36,7 +36,7 @@ public: static void set_k052109_callback(device_t &device, k052109_cb_delegate callback) { downcast(device).m_k052109_cb = callback; } static void set_ram(device_t &device, bool ram); - static void set_screen_tag(device_t &device, device_t *owner, std::string tag); + static void set_screen_tag(device_t &device, device_t *owner, const char *tag); /* The callback is passed: @@ -99,7 +99,7 @@ private: UINT8 *m_char_rom; UINT32 m_char_size; - std::string m_screen_tag; + const char *m_screen_tag; k052109_cb_delegate m_k052109_cb; diff --git a/src/mame/video/k053244_k053245.cpp b/src/mame/video/k053244_k053245.cpp index c4ee02496bf..66846c73aa6 100644 --- a/src/mame/video/k053244_k053245.cpp +++ b/src/mame/video/k053244_k053245.cpp @@ -81,7 +81,7 @@ GFXDECODE_MEMBER( k05324x_device::gfxinfo_6bpp ) GFXDECODE_END -k05324x_device::k05324x_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k05324x_device::k05324x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K053244, "K053244 & 053245 Sprite Generator", tag, owner, clock, "k05324x", __FILE__), device_gfx_interface(mconfig, *this, gfxinfo), m_ram(nullptr), diff --git a/src/mame/video/k053244_k053245.h b/src/mame/video/k053244_k053245.h index 9d50197ddca..924edc2a37f 100644 --- a/src/mame/video/k053244_k053245.h +++ b/src/mame/video/k053244_k053245.h @@ -28,7 +28,7 @@ class k05324x_device : public device_t, DECLARE_GFXDECODE_MEMBER(gfxinfo_6bpp); public: - k05324x_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k05324x_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k05324x_device() {} // static configuration diff --git a/src/mame/video/k053246_k053247_k055673.cpp b/src/mame/video/k053246_k053247_k055673.cpp index cea687071e7..fc9bc1581eb 100644 --- a/src/mame/video/k053246_k053247_k055673.cpp +++ b/src/mame/video/k053246_k053247_k055673.cpp @@ -902,7 +902,7 @@ void k053247_device::zdrawgfxzoom32GP( const device_type K055673 = &device_creator; -k055673_device::k055673_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k055673_device::k055673_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : k053247_device(mconfig, K055673, "K053246 & K055673 Sprite Generator", tag, owner, clock, "k055673", __FILE__) { } @@ -1043,7 +1043,7 @@ void k055673_device::device_start() const device_type K053246 = &device_creator; -k053247_device::k053247_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k053247_device::k053247_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K053246, "K053246 & K053247 Sprite Generator", tag, owner, clock, "k053247", __FILE__), device_video_interface(mconfig, *this), m_gfxdecode(*this), @@ -1052,7 +1052,7 @@ k053247_device::k053247_device(const machine_config &mconfig, std::string tag, d clear_all(); } -k053247_device::k053247_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +k053247_device::k053247_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_video_interface(mconfig, *this), m_gfxdecode(*this), @@ -1066,7 +1066,7 @@ k053247_device::k053247_device(const machine_config &mconfig, device_type type, // gfx decoder //------------------------------------------------- -void k053247_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void k053247_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -1076,7 +1076,7 @@ void k053247_device::static_set_gfxdecode_tag(device_t &device, std::string tag) // palette device //------------------------------------------------- -void k053247_device::static_set_palette_tag(device_t &device, std::string tag) +void k053247_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/k053246_k053247_k055673.h b/src/mame/video/k053246_k053247_k055673.h index 0bec1c786af..96e41f00893 100644 --- a/src/mame/video/k053246_k053247_k055673.h +++ b/src/mame/video/k053246_k053247_k055673.h @@ -61,14 +61,14 @@ class k053247_device : public device_t, public device_video_interface { public: - k053247_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - k053247_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + k053247_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + k053247_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); ~k053247_device() { } // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_k053247_callback(device_t &device, k053247_cb_delegate callback) { downcast(device).m_k053247_cb = callback; } static void set_config(device_t &device, const char *gfx_reg, int gfx_num, int bpp, int dx, int dy) { @@ -486,7 +486,7 @@ extern const device_type K053246; class k055673_device : public k053247_device { public: - k055673_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k055673_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k055673_device() { } protected: diff --git a/src/mame/video/k053250.cpp b/src/mame/video/k053250.cpp index b0a876e4cdd..bb3c02805fc 100644 --- a/src/mame/video/k053250.cpp +++ b/src/mame/video/k053250.cpp @@ -4,7 +4,7 @@ const device_type K053250 = &device_creator; -k053250_device::k053250_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k053250_device::k053250_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K053250, "K053250 LVC", tag, owner, clock, "k053250", __FILE__), device_gfx_interface(mconfig, *this), device_video_interface(mconfig, *this) @@ -21,7 +21,7 @@ void k053250_device::static_set_offsets(device_t &device, int offx, int offy) void k053250_device::unpack_nibbles() { if(!m_region) - throw emu_fatalerror("k053250 %s: no associated region found\n", tag().c_str()); + throw emu_fatalerror("k053250 %s: no associated region found\n", tag()); const UINT8 *base = m_region->base(); int size = m_region->bytes(); diff --git a/src/mame/video/k053250.h b/src/mame/video/k053250.h index 21641314aef..610c8577507 100644 --- a/src/mame/video/k053250.h +++ b/src/mame/video/k053250.h @@ -20,7 +20,7 @@ class k053250_device : public device_t, public device_video_interface { public: - k053250_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k053250_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); static void static_set_offsets(device_t &device, int offx, int offy); diff --git a/src/mame/video/k053251.cpp b/src/mame/video/k053251.cpp index 3283a95dc21..b11eb7002e1 100644 --- a/src/mame/video/k053251.cpp +++ b/src/mame/video/k053251.cpp @@ -126,7 +126,7 @@ actually used, since the priority is taken from the external ports. const device_type K053251 = &device_creator; -k053251_device::k053251_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k053251_device::k053251_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K053251, "K053251 Priority Encoder", tag, owner, clock, "k053251", __FILE__), //m_dirty_tmap[5], //m_ram[16], diff --git a/src/mame/video/k053251.h b/src/mame/video/k053251.h index 8e51f8b7cbc..de5feffc3de 100644 --- a/src/mame/video/k053251.h +++ b/src/mame/video/k053251.h @@ -15,7 +15,7 @@ class k053251_device : public device_t { public: - k053251_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k053251_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k053251_device() {} /* diff --git a/src/mame/video/k053936.cpp b/src/mame/video/k053936.cpp index 35728d0b8b8..8e851c14e82 100644 --- a/src/mame/video/k053936.cpp +++ b/src/mame/video/k053936.cpp @@ -229,7 +229,7 @@ void K053936_set_offset(int chip, int xoffs, int yoffs) const device_type K053936 = &device_creator; -k053936_device::k053936_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k053936_device::k053936_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K053936, "K053936 Video Controller", tag, owner, clock, "k053936", __FILE__), m_ctrl(nullptr), m_linectrl(nullptr), diff --git a/src/mame/video/k053936.h b/src/mame/video/k053936.h index af50957aa72..311b2e198d9 100644 --- a/src/mame/video/k053936.h +++ b/src/mame/video/k053936.h @@ -19,7 +19,7 @@ void K053936GP_0_zoom_draw(running_machine &machine, bitmap_rgb32 &bitmap, const class k053936_device : public device_t { public: - k053936_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k053936_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k053936_device() {} // static configuration diff --git a/src/mame/video/k054000.cpp b/src/mame/video/k054000.cpp index f01d16098d9..235f72ea1ea 100644 --- a/src/mame/video/k054000.cpp +++ b/src/mame/video/k054000.cpp @@ -54,7 +54,7 @@ Memory map: const device_type K054000 = &device_creator; -k054000_device::k054000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k054000_device::k054000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K054000, "K054000 Protection", tag, owner, clock, "k054000", __FILE__) { } diff --git a/src/mame/video/k054000.h b/src/mame/video/k054000.h index bafb8d7869a..05ce76b3da6 100644 --- a/src/mame/video/k054000.h +++ b/src/mame/video/k054000.h @@ -11,7 +11,7 @@ class k054000_device : public device_t { public: - k054000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k054000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k054000_device() {} DECLARE_WRITE8_MEMBER( write ); diff --git a/src/mame/video/k054156_k054157_k056832.cpp b/src/mame/video/k054156_k054157_k056832.cpp index 135d789e1aa..9167a3e571a 100644 --- a/src/mame/video/k054156_k054157_k056832.cpp +++ b/src/mame/video/k054156_k054157_k056832.cpp @@ -181,7 +181,7 @@ ones. The other 7 words are ignored. Global scrollx is ignored. const device_type K056832 = &device_creator; -k056832_device::k056832_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k056832_device::k056832_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K056832, "K056832 Tilemap Generator", tag, owner, clock, "k056832", __FILE__), //m_tilemap[K056832_PAGE_COUNT], //*m_pixmap[K056832_PAGE_COUNT], @@ -195,6 +195,7 @@ k056832_device::k056832_device(const machine_config &mconfig, std::string tag, d m_bpp(-1), m_big(0), m_djmain_hack(0), + m_k055555_tag(nullptr), //m_layer_assoc_with_page[K056832_PAGE_COUNT], //m_layer_offs[8][2], //m_lsram_page[8][2], @@ -229,7 +230,7 @@ k056832_device::k056832_device(const machine_config &mconfig, std::string tag, d // gfx decoder //------------------------------------------------- -void k056832_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void k056832_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -240,7 +241,7 @@ void k056832_device::static_set_gfxdecode_tag(device_t &device, std::string tag) // palette device //------------------------------------------------- -void k056832_device::static_set_palette_tag(device_t &device, std::string tag) +void k056832_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/k054156_k054157_k056832.h b/src/mame/video/k054156_k054157_k056832.h index 7cb6f342145..d043a4f9525 100644 --- a/src/mame/video/k054156_k054157_k056832.h +++ b/src/mame/video/k054156_k054157_k056832.h @@ -38,7 +38,7 @@ typedef device_delegate k05 class k056832_device : public device_t { public: - k056832_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k056832_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k056832_device() { m_k055555 = nullptr; @@ -57,8 +57,8 @@ public: } // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); void SetExtLinescroll(); /* Lethal Enforcers */ diff --git a/src/mame/video/k054338.cpp b/src/mame/video/k054338.cpp index 49b8b12e45b..928f331991f 100644 --- a/src/mame/video/k054338.cpp +++ b/src/mame/video/k054338.cpp @@ -20,10 +20,11 @@ const device_type K054338 = &device_creator; -k054338_device::k054338_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k054338_device::k054338_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K054338, "K054338 Mixer", tag, owner, clock, "k054338", __FILE__), device_video_interface(mconfig, *this), - m_alpha_inv(0) + m_alpha_inv(0), + m_k055555_tag(nullptr) { memset(&m_regs, 0, sizeof(m_regs)); memset(&m_shd_rgb, 0, sizeof(m_shd_rgb)); diff --git a/src/mame/video/k054338.h b/src/mame/video/k054338.h index 0ad9bfa180e..ad4f95a590e 100644 --- a/src/mame/video/k054338.h +++ b/src/mame/video/k054338.h @@ -25,7 +25,7 @@ class k054338_device : public device_t, public device_video_interface { public: - k054338_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k054338_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k054338_device() {} // static configuration diff --git a/src/mame/video/k055555.cpp b/src/mame/video/k055555.cpp index edfdf5ebf7c..adebdf0fe10 100644 --- a/src/mame/video/k055555.cpp +++ b/src/mame/video/k055555.cpp @@ -142,7 +142,7 @@ int k055555_device::K055555_get_palette_index(int idx) const device_type K055555 = &device_creator; -k055555_device::k055555_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k055555_device::k055555_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K055555, "K055555 Priority Encoder", tag, owner, clock, "k055555", __FILE__) { } diff --git a/src/mame/video/k055555.h b/src/mame/video/k055555.h index 9e553d7b5b6..cc3d8dd602c 100644 --- a/src/mame/video/k055555.h +++ b/src/mame/video/k055555.h @@ -80,7 +80,7 @@ class k055555_device : public device_t { public: - k055555_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k055555_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~k055555_device() { } void K055555_write_reg(UINT8 regnum, UINT8 regdat); diff --git a/src/mame/video/k057714.cpp b/src/mame/video/k057714.cpp index a715d9f6f01..8676e3a5a37 100644 --- a/src/mame/video/k057714.cpp +++ b/src/mame/video/k057714.cpp @@ -13,7 +13,7 @@ const device_type K057714 = &device_creator; -k057714_device::k057714_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k057714_device::k057714_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K057714, "K057714 GCU", tag, owner, clock, "k057714", __FILE__), m_irq(*this) { diff --git a/src/mame/video/k057714.h b/src/mame/video/k057714.h index e531728feb1..a0ca6007385 100644 --- a/src/mame/video/k057714.h +++ b/src/mame/video/k057714.h @@ -8,7 +8,7 @@ class k057714_device : public device_t { public: - k057714_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k057714_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &static_set_irq_callback(device_t &device, _Object object) { return downcast(device).m_irq.set_callback(object); } int draw(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); diff --git a/src/mame/video/k1ge.cpp b/src/mame/video/k1ge.cpp index 20c587d360f..a32e760b385 100644 --- a/src/mame/video/k1ge.cpp +++ b/src/mame/video/k1ge.cpp @@ -863,7 +863,7 @@ void k1ge_device::device_reset() const device_type K1GE = &device_creator; -k1ge_device::k1ge_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k1ge_device::k1ge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, K1GE, "K1GE Monochrome Graphics + LCD", tag, owner, clock, "k1ge", __FILE__) , device_video_interface(mconfig, *this) , m_vblank_pin_w(*this) @@ -871,7 +871,7 @@ k1ge_device::k1ge_device(const machine_config &mconfig, std::string tag, device_ { } -k1ge_device::k1ge_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +k1ge_device::k1ge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source) , device_video_interface(mconfig, *this) , m_vblank_pin_w(*this) @@ -897,7 +897,7 @@ machine_config_constructor k1ge_device::device_mconfig_additions() const const device_type K2GE = &device_creator; -k2ge_device::k2ge_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +k2ge_device::k2ge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : k1ge_device(mconfig, K2GE, "K2GE Color Graphics + LCD", tag, owner, clock, "k2ge", __FILE__) { } diff --git a/src/mame/video/k1ge.h b/src/mame/video/k1ge.h index 3cb4df83dc1..81f79d9eb3c 100644 --- a/src/mame/video/k1ge.h +++ b/src/mame/video/k1ge.h @@ -27,8 +27,8 @@ class k1ge_device : public device_t, public device_video_interface { public: - k1ge_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - k1ge_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + k1ge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + k1ge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); DECLARE_READ8_MEMBER( read ); DECLARE_WRITE8_MEMBER( write ); @@ -70,7 +70,7 @@ protected: class k2ge_device : public k1ge_device { public: - k2ge_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + k2ge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_PALETTE_INIT(k2ge); protected: diff --git a/src/mame/video/kan_pand.cpp b/src/mame/video/kan_pand.cpp index 21ae4d57094..181de04020d 100644 --- a/src/mame/video/kan_pand.cpp +++ b/src/mame/video/kan_pand.cpp @@ -54,7 +54,7 @@ const device_type KANEKO_PANDORA = &device_creator; -kaneko_pandora_device::kaneko_pandora_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +kaneko_pandora_device::kaneko_pandora_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, KANEKO_PANDORA, "Kaneko PANDORA GFX", tag, owner, clock, "kaneko_pandora", __FILE__), device_video_interface(mconfig, *this), m_gfx_region(0), @@ -70,7 +70,7 @@ kaneko_pandora_device::kaneko_pandora_device(const machine_config &mconfig, std: // gfx decoder //------------------------------------------------- -void kaneko_pandora_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void kaneko_pandora_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -80,7 +80,7 @@ void kaneko_pandora_device::static_set_gfxdecode_tag(device_t &device, std::stri // palette device //------------------------------------------------- -void kaneko_pandora_device::static_set_palette_tag(device_t &device, std::string tag) +void kaneko_pandora_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/kan_pand.h b/src/mame/video/kan_pand.h index d4e04fab0b4..f29c5ef3605 100644 --- a/src/mame/video/kan_pand.h +++ b/src/mame/video/kan_pand.h @@ -19,12 +19,12 @@ class kaneko_pandora_device : public device_t, public device_video_interface { public: - kaneko_pandora_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + kaneko_pandora_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~kaneko_pandora_device() {} // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_gfx_region(device_t &device, int gfxregion) { downcast(device).m_gfx_region = gfxregion; } static void set_offsets(device_t &device, int x_offset, int y_offset) { diff --git a/src/mame/video/kaneko_grap2.cpp b/src/mame/video/kaneko_grap2.cpp index 95cbb5b0db1..7a5bd2de907 100644 --- a/src/mame/video/kaneko_grap2.cpp +++ b/src/mame/video/kaneko_grap2.cpp @@ -16,7 +16,7 @@ const device_type KANEKO_GRAP2 = &device_creator; -kaneko_grap2_device::kaneko_grap2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +kaneko_grap2_device::kaneko_grap2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, KANEKO_GRAP2, "Kaneko GRAP2", tag, owner, clock, "kaneko_grap2", __FILE__), m_palette(*this) { @@ -35,7 +35,7 @@ void kaneko_grap2_device::set_chipnum(device_t &device, int chipnum) // palette device //------------------------------------------------- -void kaneko_grap2_device::static_set_palette_tag(device_t &device, std::string tag) +void kaneko_grap2_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } @@ -93,7 +93,7 @@ READ16_MEMBER(kaneko_grap2_device::galpani3_regs1_r) } default: - logerror("cpu '%s' (PC=%06X): galpani3_regs1_r %02x %04x\n", space.device().tag().c_str(), space.device().safe_pcbase(), offset, mem_mask); + logerror("cpu '%s' (PC=%06X): galpani3_regs1_r %02x %04x\n", space.device().tag(), space.device().safe_pcbase(), offset, mem_mask); break; } diff --git a/src/mame/video/kaneko_grap2.h b/src/mame/video/kaneko_grap2.h index 7c9f6643989..cd801ad3b45 100644 --- a/src/mame/video/kaneko_grap2.h +++ b/src/mame/video/kaneko_grap2.h @@ -22,13 +22,13 @@ class kaneko_grap2_device : public device_t { public: - kaneko_grap2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + kaneko_grap2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); int m_chipnum; // used to decide where we write the palette static void set_chipnum(device_t &device, int chipnum); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_palette_tag(device_t &device, const char *tag); DECLARE_READ16_MEMBER(galpani3_regs1_r); DECLARE_WRITE16_MEMBER(galpani3_regs1_go_w); diff --git a/src/mame/video/kaneko_spr.cpp b/src/mame/video/kaneko_spr.cpp index 5eb985c0df5..304800130a4 100644 --- a/src/mame/video/kaneko_spr.cpp +++ b/src/mame/video/kaneko_spr.cpp @@ -31,7 +31,7 @@ const device_type KANEKO_VU002_SPRITE = &device_creator; const device_type KANEKO_KC002_SPRITE = &device_creator; -kaneko16_sprite_device::kaneko16_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, device_type type) +kaneko16_sprite_device::kaneko16_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, device_type type) : device_t(mconfig, type, "Kaneko 16-bit Sprites", tag, owner, clock, "kaneko16_sprite", __FILE__), device_video_interface(mconfig, *this), m_gfxdecode(*this) @@ -63,7 +63,7 @@ kaneko16_sprite_device::kaneko16_sprite_device(const machine_config &mconfig, st // gfx decoder //------------------------------------------------- -void kaneko16_sprite_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void kaneko16_sprite_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -616,12 +616,12 @@ void kaneko16_sprite_device::kaneko16_render_sprites_common(_BitmapClass &bitmap } } -kaneko_vu002_sprite_device::kaneko_vu002_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +kaneko_vu002_sprite_device::kaneko_vu002_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : kaneko16_sprite_device(mconfig, tag, owner, clock, KANEKO_VU002_SPRITE) { } -kaneko_kc002_sprite_device::kaneko_kc002_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +kaneko_kc002_sprite_device::kaneko_kc002_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : kaneko16_sprite_device(mconfig, tag, owner, clock, KANEKO_KC002_SPRITE) { } diff --git a/src/mame/video/kaneko_spr.h b/src/mame/video/kaneko_spr.h index 3558637536e..44639a2351c 100644 --- a/src/mame/video/kaneko_spr.h +++ b/src/mame/video/kaneko_spr.h @@ -31,10 +31,10 @@ class kaneko16_sprite_device : public device_t, public device_video_interface { public: - kaneko16_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, device_type type); + kaneko16_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, device_type type); // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); static void set_fliptype(device_t &device, int fliptype); static void set_offsets(device_t &device, int xoffs, int yoffs); static void set_priorities(device_t &device, int pri0, int pri1, int pri2, int pri3); @@ -113,7 +113,7 @@ private: class kaneko_vu002_sprite_device : public kaneko16_sprite_device { public: - kaneko_vu002_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + kaneko_vu002_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); void get_sprite_attributes(struct kan_tempsprite *s, UINT16 attr) override; int get_sprite_type(void) override{ return 0; }; }; @@ -123,7 +123,7 @@ extern const device_type KANEKO_VU002_SPRITE; class kaneko_kc002_sprite_device : public kaneko16_sprite_device { public: - kaneko_kc002_sprite_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + kaneko_kc002_sprite_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); void get_sprite_attributes(struct kan_tempsprite *s, UINT16 attr) override; int get_sprite_type(void) override{ return 1; }; }; diff --git a/src/mame/video/kaneko_tmap.cpp b/src/mame/video/kaneko_tmap.cpp index 91394e5e54b..634753975c0 100644 --- a/src/mame/video/kaneko_tmap.cpp +++ b/src/mame/video/kaneko_tmap.cpp @@ -96,7 +96,7 @@ There are more! const device_type KANEKO_TMAP = &device_creator; -kaneko_view2_tilemap_device::kaneko_view2_tilemap_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +kaneko_view2_tilemap_device::kaneko_view2_tilemap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, KANEKO_TMAP, "Kaneko VIEW2 Tilemaps", tag, owner, clock, "kaneko_view2_tilemap", __FILE__), m_gfxdecode(*this) { @@ -108,7 +108,7 @@ kaneko_view2_tilemap_device::kaneko_view2_tilemap_device(const machine_config &m // gfx decoder //------------------------------------------------- -void kaneko_view2_tilemap_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void kaneko_view2_tilemap_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } diff --git a/src/mame/video/kaneko_tmap.h b/src/mame/video/kaneko_tmap.h index 3a47b1a956c..75a05e3039d 100644 --- a/src/mame/video/kaneko_tmap.h +++ b/src/mame/video/kaneko_tmap.h @@ -5,10 +5,10 @@ class kaneko_view2_tilemap_device : public device_t { public: - kaneko_view2_tilemap_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + kaneko_view2_tilemap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); static void set_gfx_region(device_t &device, int region); static void set_offset(device_t &device, int dx, int dy, int xdim, int ydim); static void set_invert_flip(device_t &device, int invert_flip); // for fantasia (bootleg) diff --git a/src/mame/video/maria.cpp b/src/mame/video/maria.cpp index 40ba9646f5e..a5501989e4b 100644 --- a/src/mame/video/maria.cpp +++ b/src/mame/video/maria.cpp @@ -58,7 +58,7 @@ const device_type ATARI_MARIA = &device_creator; -atari_maria_device::atari_maria_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +atari_maria_device::atari_maria_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ATARI_MARIA, "Atari MARIA", tag, owner, clock, "atari_maria", __FILE__) { } diff --git a/src/mame/video/maria.h b/src/mame/video/maria.h index a0e9d803045..ee01856e7b8 100644 --- a/src/mame/video/maria.h +++ b/src/mame/video/maria.h @@ -11,9 +11,9 @@ class atari_maria_device : public device_t { public: // construction/destruction - atari_maria_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + atari_maria_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - static void set_cpu_tag(device_t &device, std::string tag) { downcast(device).m_cpu_tag = tag; } + static void set_cpu_tag(device_t &device, const char *tag) { downcast(device).m_cpu_tag = tag; } void interrupt(int lines); void startdma(int lines); @@ -55,7 +55,7 @@ private: int is_holey(unsigned int addr); int write_line_ram(int addr, UINT8 offset, int pal); - std::string m_cpu_tag; + const char *m_cpu_tag; cpu_device *m_cpu; // CPU whose space(AS_PROGRAM) serves as DMA source screen_device *m_screen; }; diff --git a/src/mame/video/mb60553.cpp b/src/mame/video/mb60553.cpp index 76710f9c71d..f13a8f3e26c 100644 --- a/src/mame/video/mb60553.cpp +++ b/src/mame/video/mb60553.cpp @@ -14,7 +14,7 @@ const device_type MB60553 = &device_creator; -mb60553_zooming_tilemap_device::mb60553_zooming_tilemap_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +mb60553_zooming_tilemap_device::mb60553_zooming_tilemap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MB60553, "MB60553 Zooming Tilemap", tag, owner, clock, "mb60553", __FILE__), m_vram(nullptr), m_pal_base(0), @@ -59,7 +59,7 @@ void mb60553_zooming_tilemap_device::set_gfx_region(device_t &device, int gfxreg dev.m_gfx_region = gfxregion; } -void mb60553_zooming_tilemap_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void mb60553_zooming_tilemap_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } diff --git a/src/mame/video/mb60553.h b/src/mame/video/mb60553.h index 50e1e166745..1c9c84e725c 100644 --- a/src/mame/video/mb60553.h +++ b/src/mame/video/mb60553.h @@ -7,8 +7,8 @@ class mb60553_zooming_tilemap_device : public device_t { public: - mb60553_zooming_tilemap_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - static void static_set_gfxdecode_tag(device_t &device, std::string tag); + mb60553_zooming_tilemap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); static void set_gfx_region(device_t &device, int gfxregion); tilemap_t* m_tmap; diff --git a/src/mame/video/mcd212.cpp b/src/mame/video/mcd212.cpp index b5f9610f64c..f380914a74e 100644 --- a/src/mame/video/mcd212.cpp +++ b/src/mame/video/mcd212.cpp @@ -1514,7 +1514,7 @@ void mcd212_device::device_reset() // mcd212_device - constructor //------------------------------------------------- -mcd212_device::mcd212_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +mcd212_device::mcd212_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MACHINE_MCD212, "MCD212 Video", tag, owner, clock, "mcd212", __FILE__), device_video_interface(mconfig, *this) { diff --git a/src/mame/video/mcd212.h b/src/mame/video/mcd212.h index 08f16bdf237..3e6968b9fe2 100644 --- a/src/mame/video/mcd212.h +++ b/src/mame/video/mcd212.h @@ -129,7 +129,7 @@ class mcd212_device : public device_t, { public: // construction/destruction - mcd212_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + mcd212_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // device members DECLARE_READ16_MEMBER( regs_r ); diff --git a/src/mame/video/neogeo_spr.cpp b/src/mame/video/neogeo_spr.cpp index 26881f79b59..7f075b28797 100644 --- a/src/mame/video/neogeo_spr.cpp +++ b/src/mame/video/neogeo_spr.cpp @@ -11,7 +11,7 @@ //const device_type NEOGEO_SPRITE_BASE = &device_creator; /* -neosprite_base_device::neosprite_base_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +neosprite_base_device::neosprite_base_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NEOGEO_SPRITE_BASE, "NeoGeo Sprites", tag, owner, clock, "neospritebase", __FILE__), m_bppshift(4) { @@ -19,7 +19,7 @@ neosprite_base_device::neosprite_base_device(const machine_config &mconfig, std: } */ -neosprite_base_device::neosprite_base_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, device_type type) +neosprite_base_device::neosprite_base_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, device_type type) : device_t(mconfig, type, "Neogeo Sprites", tag, owner, clock, "neosprite", __FILE__), m_bppshift(4) { @@ -654,7 +654,7 @@ void neosprite_base_device::set_pens(const pen_t* pens) const device_type NEOGEO_SPRITE_REGULAR = &device_creator; -neosprite_regular_device::neosprite_regular_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +neosprite_regular_device::neosprite_regular_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : neosprite_base_device(mconfig, tag, owner, clock, NEOGEO_SPRITE_REGULAR) { } @@ -704,7 +704,7 @@ inline void neosprite_regular_device::draw_pixel(int romaddr, UINT32* dst, const const device_type NEOGEO_SPRITE_OPTIMZIED = &device_creator; -neosprite_optimized_device::neosprite_optimized_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +neosprite_optimized_device::neosprite_optimized_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : neosprite_base_device(mconfig, tag, owner, clock, NEOGEO_SPRITE_OPTIMZIED), m_spritegfx8(nullptr) { @@ -742,7 +742,7 @@ inline void neosprite_optimized_device::draw_pixel(int romaddr, UINT32* dst, con const device_type NEOGEO_SPRITE_MIDAS = &device_creator; -neosprite_midas_device::neosprite_midas_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +neosprite_midas_device::neosprite_midas_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : neosprite_base_device(mconfig, tag, owner, clock, NEOGEO_SPRITE_MIDAS) { m_bppshift = 8; diff --git a/src/mame/video/neogeo_spr.h b/src/mame/video/neogeo_spr.h index f2e9ec5abf1..6c2f525544f 100644 --- a/src/mame/video/neogeo_spr.h +++ b/src/mame/video/neogeo_spr.h @@ -21,8 +21,8 @@ class neosprite_base_device : public device_t { public: - neosprite_base_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock, device_type type); -// neosprite_base_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + neosprite_base_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock, device_type type); +// neosprite_base_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual void optimize_sprite_data(); virtual void set_optimized_sprite_data(UINT8* sprdata, UINT32 mask); @@ -99,7 +99,7 @@ private: class neosprite_regular_device : public neosprite_base_device { public: - neosprite_regular_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + neosprite_regular_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual void draw_pixel(int romaddr, UINT32* dst, const pen_t *line_pens) override; virtual void set_sprite_region(UINT8* region_sprites, UINT32 region_sprites_size) override; @@ -111,7 +111,7 @@ extern const device_type NEOGEO_SPRITE_REGULAR; class neosprite_optimized_device : public neosprite_base_device { public: - neosprite_optimized_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + neosprite_optimized_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual void optimize_sprite_data() override; virtual void set_optimized_sprite_data(UINT8* sprdata, UINT32 mask) override; virtual void draw_pixel(int romaddr, UINT32* dst, const pen_t *line_pens) override; @@ -129,7 +129,7 @@ extern const device_type NEOGEO_SPRITE_OPTIMZIED; class neosprite_midas_device : public neosprite_base_device { public: - neosprite_midas_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + neosprite_midas_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual void draw_pixel(int romaddr, UINT32* dst, const pen_t *line_pens) override; diff --git a/src/mame/video/newport.cpp b/src/mame/video/newport.cpp index 3558dadc151..51604b79326 100644 --- a/src/mame/video/newport.cpp +++ b/src/mame/video/newport.cpp @@ -83,7 +83,7 @@ static inline void ATTR_PRINTF(3,4) verboselog(running_machine &machine, int n_l const device_type NEWPORT_VIDEO = &device_creator; -newport_video_device::newport_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +newport_video_device::newport_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NEWPORT_VIDEO, "SGI Newport graphics board", tag, owner, clock, "newport_video", __FILE__) { } diff --git a/src/mame/video/newport.h b/src/mame/video/newport.h index 83af92cd27f..1764913a85d 100644 --- a/src/mame/video/newport.h +++ b/src/mame/video/newport.h @@ -113,7 +113,7 @@ struct CMAP_t class newport_video_device : public device_t { public: - newport_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + newport_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~newport_video_device() {} diff --git a/src/mame/video/nick.cpp b/src/mame/video/nick.cpp index eee5aeaedce..68b9011d31c 100644 --- a/src/mame/video/nick.cpp +++ b/src/mame/video/nick.cpp @@ -101,7 +101,7 @@ ADDRESS_MAP_END // nick_device - constructor //------------------------------------------------- -nick_device::nick_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +nick_device::nick_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, NICK, "NICK", tag, owner, clock, "nick", __FILE__), device_memory_interface(mconfig, *this), device_video_interface(mconfig, *this), diff --git a/src/mame/video/nick.h b/src/mame/video/nick.h index b21df35662d..ba701283cd9 100644 --- a/src/mame/video/nick.h +++ b/src/mame/video/nick.h @@ -73,7 +73,7 @@ class nick_device : public device_t, { public: // construction/destruction - nick_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + nick_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_virq_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_virq.set_callback(object); } diff --git a/src/mame/video/pc080sn.cpp b/src/mame/video/pc080sn.cpp index e84a4a8c2f1..62736eecae8 100644 --- a/src/mame/video/pc080sn.cpp +++ b/src/mame/video/pc080sn.cpp @@ -50,7 +50,7 @@ Control registers const device_type PC080SN = &device_creator; -pc080sn_device::pc080sn_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pc080sn_device::pc080sn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PC080SN, "Taito PC080SN", tag, owner, clock, "pc080sn", __FILE__), m_ram(nullptr), m_gfxnum(0), @@ -78,7 +78,7 @@ pc080sn_device::pc080sn_device(const machine_config &mconfig, std::string tag, d // gfx decoder //------------------------------------------------- -void pc080sn_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void pc080sn_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -88,7 +88,7 @@ void pc080sn_device::static_set_gfxdecode_tag(device_t &device, std::string tag) // palette device //------------------------------------------------- -void pc080sn_device::static_set_palette_tag(device_t &device, std::string tag) +void pc080sn_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/pc080sn.h b/src/mame/video/pc080sn.h index aa25ab4e496..b181fbd134e 100644 --- a/src/mame/video/pc080sn.h +++ b/src/mame/video/pc080sn.h @@ -6,12 +6,12 @@ class pc080sn_device : public device_t { public: - pc080sn_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pc080sn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~pc080sn_device() {} // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_gfx_region(device_t &device, int gfxregion) { downcast(device).m_gfxnum = gfxregion; } static void set_yinvert(device_t &device, int y_inv) { downcast(device).m_y_invert = y_inv; } static void set_dblwidth(device_t &device, int dblwidth) { downcast(device).m_dblwidth = dblwidth; } diff --git a/src/mame/video/pc090oj.cpp b/src/mame/video/pc090oj.cpp index dc03ed469a8..d7dc21c19c7 100644 --- a/src/mame/video/pc090oj.cpp +++ b/src/mame/video/pc090oj.cpp @@ -74,7 +74,7 @@ Taito pc090oj const device_type PC090OJ = &device_creator; -pc090oj_device::pc090oj_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pc090oj_device::pc090oj_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, PC090OJ, "Taito PC090OJ", tag, owner, clock, "pc090oj", __FILE__), m_ctrl(0), m_sprite_ctrl(0), @@ -94,7 +94,7 @@ pc090oj_device::pc090oj_device(const machine_config &mconfig, std::string tag, d // gfx decoder //------------------------------------------------- -void pc090oj_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void pc090oj_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -104,7 +104,7 @@ void pc090oj_device::static_set_gfxdecode_tag(device_t &device, std::string tag) // palette device //------------------------------------------------- -void pc090oj_device::static_set_palette_tag(device_t &device, std::string tag) +void pc090oj_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/pc090oj.h b/src/mame/video/pc090oj.h index 04ceeb120c1..d1b63b1c7ea 100644 --- a/src/mame/video/pc090oj.h +++ b/src/mame/video/pc090oj.h @@ -6,12 +6,12 @@ class pc090oj_device : public device_t { public: - pc090oj_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pc090oj_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~pc090oj_device() {} // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_gfx_region(device_t &device, int gfxregion) { downcast(device).m_gfxnum = gfxregion; } static void set_usebuffer(device_t &device, int use_buf) { downcast(device).m_use_buffer = use_buf; } static void set_offsets(device_t &device, int x_offset, int y_offset) diff --git a/src/mame/video/pc_t1t.cpp b/src/mame/video/pc_t1t.cpp index f6628d2e186..b5931d4daba 100644 --- a/src/mame/video/pc_t1t.cpp +++ b/src/mame/video/pc_t1t.cpp @@ -31,7 +31,7 @@ enum const device_type PCVIDEO_T1000 = &device_creator; const device_type PCVIDEO_PCJR = &device_creator; -pc_t1t_device::pc_t1t_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +pc_t1t_device::pc_t1t_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_video_interface(mconfig, *this), m_mc6845(*this, T1000_MC6845_NAME), @@ -53,13 +53,13 @@ pc_t1t_device::pc_t1t_device(const machine_config &mconfig, device_type type, co { } -pcvideo_t1000_device::pcvideo_t1000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pcvideo_t1000_device::pcvideo_t1000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : pc_t1t_device(mconfig, PCVIDEO_T1000, "Tandy 1000 Graphics Adapter", tag, owner, clock, "tandy_1000_graphics_adapter", __FILE__), m_t1_displayram(nullptr) { } -pcvideo_pcjr_device::pcvideo_pcjr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +pcvideo_pcjr_device::pcvideo_pcjr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : pc_t1t_device(mconfig, PCVIDEO_PCJR, "PC Jr Graphics Adapter", tag, owner, clock, "pcjr_graphics_adapter", __FILE__), m_jxkanji(nullptr) { diff --git a/src/mame/video/pc_t1t.h b/src/mame/video/pc_t1t.h index bf9fbb3781b..7dc6f981762 100644 --- a/src/mame/video/pc_t1t.h +++ b/src/mame/video/pc_t1t.h @@ -34,7 +34,7 @@ class pc_t1t_device : public device_t, { public: // construction/destruction - pc_t1t_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + pc_t1t_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); DECLARE_PALETTE_INIT( pcjr ); @@ -88,7 +88,7 @@ class pcvideo_t1000_device : public pc_t1t_device { public: // construction/destruction - pcvideo_t1000_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pcvideo_t1000_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_WRITE8_MEMBER( write ); DECLARE_READ8_MEMBER( videoram_r ); @@ -116,7 +116,7 @@ class pcvideo_pcjr_device : public pc_t1t_device { public: // construction/destruction - pcvideo_pcjr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pcvideo_pcjr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_WRITE8_MEMBER( write ); DECLARE_WRITE_LINE_MEMBER( pcjr_vsync_changed ); diff --git a/src/mame/video/pcd.cpp b/src/mame/video/pcd.cpp index 9b292ea1449..d8c6d2b95e5 100644 --- a/src/mame/video/pcd.cpp +++ b/src/mame/video/pcd.cpp @@ -8,7 +8,7 @@ const device_type PCD_VIDEO = &device_creator; const device_type PCX_VIDEO = &device_creator; -pcdx_video_device::pcdx_video_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : +pcdx_video_device::pcdx_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_maincpu(*this, ":maincpu"), m_mcu(*this, "graphics"), @@ -19,7 +19,7 @@ pcdx_video_device::pcdx_video_device(const machine_config &mconfig, device_type { } -pcd_video_device::pcd_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +pcd_video_device::pcd_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : pcdx_video_device(mconfig, PCD_VIDEO, "Siemens PC-D Video", tag, owner, clock, "pcd_video", __FILE__), m_mouse_btn(*this, "MOUSE"), m_mouse_x(*this, "MOUSEX"), @@ -29,7 +29,7 @@ pcd_video_device::pcd_video_device(const machine_config &mconfig, std::string ta { } -pcx_video_device::pcx_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +pcx_video_device::pcx_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : pcdx_video_device(mconfig, PCX_VIDEO, "Siemens PC-X Video", tag, owner, clock, "pcx_video", __FILE__), device_serial_interface(mconfig, *this), m_vram(4*1024), diff --git a/src/mame/video/pcd.h b/src/mame/video/pcd.h index ecb22fa307e..f22c2707569 100644 --- a/src/mame/video/pcd.h +++ b/src/mame/video/pcd.h @@ -14,7 +14,7 @@ class pcdx_video_device : public device_t { public: - pcdx_video_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + pcdx_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); virtual DECLARE_ADDRESS_MAP(map, 16) = 0; DECLARE_READ8_MEMBER(detect_r); @@ -33,7 +33,7 @@ protected: class pcd_video_device : public pcdx_video_device { public: - pcd_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pcd_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual DECLARE_ADDRESS_MAP(map, 16) override; DECLARE_WRITE8_MEMBER(vram_sw_w); @@ -78,7 +78,7 @@ class pcx_video_device : public pcdx_video_device, public device_serial_interface { public: - pcx_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + pcx_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_txd_handler(device_t &device, _Object object) { return downcast(device).m_txd_handler.set_callback(object); } virtual DECLARE_ADDRESS_MAP(map, 16) override; diff --git a/src/mame/video/powervr2.cpp b/src/mame/video/powervr2.cpp index 4942a3ab432..4907b985f86 100644 --- a/src/mame/video/powervr2.cpp +++ b/src/mame/video/powervr2.cpp @@ -912,13 +912,13 @@ WRITE32_MEMBER( powervr2_device::softreset_w ) COMBINE_DATA(&softreset); if (softreset & 1) { #if DEBUG_PVRTA - logerror("%s: TA soft reset\n", tag().c_str()); + logerror("%s: TA soft reset\n", tag()); #endif listtype_used=0; } if (softreset & 2) { #if DEBUG_PVRTA - logerror("%s: Core Pipeline soft reset\n", tag().c_str()); + logerror("%s: Core Pipeline soft reset\n", tag()); #endif if (start_render_received == 1) { for (auto & elem : grab) @@ -929,7 +929,7 @@ WRITE32_MEMBER( powervr2_device::softreset_w ) } if (softreset & 4) { #if DEBUG_PVRTA - logerror("%s: sdram I/F soft reset\n", tag().c_str()); + logerror("%s: sdram I/F soft reset\n", tag()); #endif } } @@ -939,7 +939,7 @@ WRITE32_MEMBER( powervr2_device::startrender_w ) dc_state *state = machine().driver_data(); g_profiler.start(PROFILER_USER1); #if DEBUG_PVRTA - logerror("%s: Start render, region=%08x, params=%08x\n", tag().c_str(), region_base, param_base); + logerror("%s: Start render, region=%08x, params=%08x\n", tag(), region_base, param_base); #endif // select buffer to draw using param_base @@ -1458,7 +1458,7 @@ READ32_MEMBER( powervr2_device::ta_yuv_tex_base_r ) WRITE32_MEMBER( powervr2_device::ta_yuv_tex_base_w ) { COMBINE_DATA(&ta_yuv_tex_base); - logerror("%s: ta_yuv_tex_base = %08x\n", tag().c_str(), ta_yuv_tex_base); + logerror("%s: ta_yuv_tex_base = %08x\n", tag(), ta_yuv_tex_base); ta_yuv_index = 0; ta_yuv_x = 0; @@ -1476,7 +1476,7 @@ WRITE32_MEMBER( powervr2_device::ta_yuv_tex_ctrl_w ) COMBINE_DATA(&ta_yuv_tex_ctrl); ta_yuv_x_size = ((ta_yuv_tex_ctrl & 0x3f)+1)*16; ta_yuv_y_size = (((ta_yuv_tex_ctrl>>8) & 0x3f)+1)*16; - logerror("%s: ta_yuv_tex_ctrl = %08x\n", tag().c_str(), ta_yuv_tex_ctrl); + logerror("%s: ta_yuv_tex_ctrl = %08x\n", tag(), ta_yuv_tex_ctrl); if(ta_yuv_tex_ctrl & 0x01010000) fatalerror("YUV with setting %08x",ta_yuv_tex_ctrl); } @@ -3599,7 +3599,7 @@ void powervr2_device::pvr_dma_execute(address_space &space) machine().scheduler().timer_set(state->m_maincpu->cycles_to_attotime(m_pvr_dma.size/4), timer_expired_delegate(FUNC(powervr2_device::pvr_dma_irq), this)); } -powervr2_device::powervr2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +powervr2_device::powervr2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, POWERVR2, "PowerVR 2", tag, owner, clock, "powervr2", __FILE__), device_video_interface(mconfig, *this), irq_cb(*this), diff --git a/src/mame/video/powervr2.h b/src/mame/video/powervr2.h index 1474f65455c..fede10e2061 100644 --- a/src/mame/video/powervr2.h +++ b/src/mame/video/powervr2.h @@ -136,7 +136,7 @@ public: int scanline; int next_y; - powervr2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + powervr2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template void set_irq_cb(_cb cb) { irq_cb.set_callback(cb); } DECLARE_READ32_MEMBER( id_r ); diff --git a/src/mame/video/ppu2c0x.cpp b/src/mame/video/ppu2c0x.cpp index b7bdc9575be..0c15efb3c70 100644 --- a/src/mame/video/ppu2c0x.cpp +++ b/src/mame/video/ppu2c0x.cpp @@ -120,7 +120,7 @@ void ppu2c0x_device::device_config_complete() m_vidaccess_callback_proc = ppu2c0x_vidaccess_delegate(); } -ppu2c0x_device::ppu2c0x_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +ppu2c0x_device::ppu2c0x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_memory_interface(mconfig, *this), device_video_interface(mconfig, *this), @@ -159,44 +159,44 @@ ppu2c0x_device::ppu2c0x_device(const machine_config &mconfig, device_type type, // NTSC NES -ppu2c02_device::ppu2c02_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C02, "2C02 PPU", tag, owner, clock, "ppu2c02", __FILE__) +ppu2c02_device::ppu2c02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C02, "2C02 PPU", tag, owner, clock, "ppu2c02", __FILE__) { } // Playchoice 10 -ppu2c03b_device::ppu2c03b_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C03B, "2C03B PPU", tag, owner, clock, "ppu2c03b", __FILE__) +ppu2c03b_device::ppu2c03b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C03B, "2C03B PPU", tag, owner, clock, "ppu2c03b", __FILE__) { } // Vs. Unisystem -ppu2c04_device::ppu2c04_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C04, "2C04 PPU", tag, owner, clock, "ppu2c04", __FILE__) +ppu2c04_device::ppu2c04_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C04, "2C04 PPU", tag, owner, clock, "ppu2c04", __FILE__) { } // PAL NES -ppu2c07_device::ppu2c07_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C07, "2C07 PPU", tag, owner, clock, "ppu2c07", __FILE__) +ppu2c07_device::ppu2c07_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C07, "2C07 PPU", tag, owner, clock, "ppu2c07", __FILE__) { m_scanlines_per_frame = PPU_PAL_SCANLINES_PER_FRAME; } // The PPU_2C05 variants have different protection value, set at device start, but otherwise are all the same... // Vs. Unisystem (Ninja Jajamaru Kun) -ppu2c05_01_device::ppu2c05_01_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C05_01, "2C05_01 PPU", tag, owner, clock, "ppu2c05_01", __FILE__) +ppu2c05_01_device::ppu2c05_01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C05_01, "2C05_01 PPU", tag, owner, clock, "ppu2c05_01", __FILE__) { m_security_value = 0x1b; // game (jajamaru) doesn't seem to ever actually check it } // Vs. Unisystem (Mighty Bomb Jack) -ppu2c05_02_device::ppu2c05_02_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C05_02, "2C05_02 PPU", tag, owner, clock, "ppu2c05_02", __FILE__) +ppu2c05_02_device::ppu2c05_02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C05_02, "2C05_02 PPU", tag, owner, clock, "ppu2c05_02", __FILE__) { m_security_value = 0x3d; } // Vs. Unisystem (Gumshoe) -ppu2c05_03_device::ppu2c05_03_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C05_03, "2C05_03 PPU", tag, owner, clock, "ppu2c05_03", __FILE__) +ppu2c05_03_device::ppu2c05_03_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C05_03, "2C05_03 PPU", tag, owner, clock, "ppu2c05_03", __FILE__) { m_security_value = 0x1c; } // Vs. Unisystem (Top Gun) -ppu2c05_04_device::ppu2c05_04_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C05_04, "2C05_04 PPU", tag, owner, clock, "ppu2c05_04", __FILE__) +ppu2c05_04_device::ppu2c05_04_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : ppu2c0x_device(mconfig, PPU_2C05_04, "2C05_04 PPU", tag, owner, clock, "ppu2c05_04", __FILE__) { m_security_value = 0x1b; } @@ -1064,7 +1064,7 @@ READ8_MEMBER( ppu2c0x_device::read ) { if (offset >= PPU_MAX_REG) { - logerror("PPU %s: Attempting to read past the chip: offset %x\n", this->tag().c_str(), offset); + logerror("PPU %s: Attempting to read past the chip: offset %x\n", this->tag(), offset); offset &= PPU_MAX_REG - 1; } @@ -1132,7 +1132,7 @@ WRITE8_MEMBER( ppu2c0x_device::write ) if (offset >= PPU_MAX_REG) { - logerror("PPU %s: Attempting to write past the chip: offset %x, data %x\n", this->tag().c_str(), offset, data); + logerror("PPU %s: Attempting to write past the chip: offset %x, data %x\n", this->tag(), offset, data); offset &= PPU_MAX_REG - 1; } diff --git a/src/mame/video/ppu2c0x.h b/src/mame/video/ppu2c0x.h index 9a99fed53ff..8a21d51f0b8 100644 --- a/src/mame/video/ppu2c0x.h +++ b/src/mame/video/ppu2c0x.h @@ -137,7 +137,7 @@ class ppu2c0x_device : public device_t, { public: // construction/destruction - ppu2c0x_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + ppu2c0x_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); DECLARE_READ8_MEMBER( read ); DECLARE_WRITE8_MEMBER( write ); @@ -152,7 +152,7 @@ public: // address space configurations const address_space_config m_space_config; - static void set_cpu_tag(device_t &device, std::string tag) { downcast(device).m_cpu.set_tag(tag); } + static void set_cpu_tag(device_t &device, const char *tag) { downcast(device).m_cpu.set_tag(tag); } static void set_color_base(device_t &device, int colorbase) { downcast(device).m_color_base = colorbase; } static void set_nmi_delegate(device_t &device, ppu2c0x_nmi_delegate cb); @@ -243,42 +243,42 @@ private: class ppu2c02_device : public ppu2c0x_device { public: - ppu2c02_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + ppu2c02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; class ppu2c03b_device : public ppu2c0x_device { public: - ppu2c03b_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + ppu2c03b_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; class ppu2c04_device : public ppu2c0x_device { public: - ppu2c04_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + ppu2c04_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; class ppu2c07_device : public ppu2c0x_device { public: - ppu2c07_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + ppu2c07_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; class ppu2c05_01_device : public ppu2c0x_device { public: - ppu2c05_01_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + ppu2c05_01_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; class ppu2c05_02_device : public ppu2c0x_device { public: - ppu2c05_02_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + ppu2c05_02_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; class ppu2c05_03_device : public ppu2c0x_device { public: - ppu2c05_03_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + ppu2c05_03_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; class ppu2c05_04_device : public ppu2c0x_device { public: - ppu2c05_04_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + ppu2c05_04_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); }; diff --git a/src/mame/video/sega16sp.cpp b/src/mame/video/sega16sp.cpp index 389016c36d7..4b7e19a1c81 100644 --- a/src/mame/video/sega16sp.cpp +++ b/src/mame/video/sega16sp.cpp @@ -36,7 +36,7 @@ const device_type SEGA_YBOARD_SPRITES = &device_creator; -segaic16_video_device::segaic16_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +segaic16_video_device::segaic16_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SEGAIC16VID, "Sega 16-bit Video", tag, owner, clock, "segaic16_video", __FILE__), device_video_interface(mconfig, *this), m_display_enable(0), @@ -391,7 +391,7 @@ segaic16_video_device::segaic16_video_device(const machine_config &mconfig, std: // gfx decoder //------------------------------------------------- -void segaic16_video_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void segaic16_video_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } diff --git a/src/mame/video/segaic16.h b/src/mame/video/segaic16.h index 4e2fdc58409..ff0c4f754e1 100644 --- a/src/mame/video/segaic16.h +++ b/src/mame/video/segaic16.h @@ -95,11 +95,11 @@ class segaic16_video_device : public device_t, public device_video_interface { public: - segaic16_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + segaic16_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~segaic16_video_device() {} // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); UINT8 m_display_enable; optional_shared_ptr m_tileram; diff --git a/src/mame/video/segaic16_road.cpp b/src/mame/video/segaic16_road.cpp index ae38386b7fb..699370ac0c6 100644 --- a/src/mame/video/segaic16_road.cpp +++ b/src/mame/video/segaic16_road.cpp @@ -8,7 +8,7 @@ const device_type SEGAIC16_ROAD = &device_creator; -segaic16_road_device::segaic16_road_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +segaic16_road_device::segaic16_road_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SEGAIC16_ROAD, "Sega 16-bit Road Generator", tag, owner, clock, "segaic16_road", __FILE__) { } diff --git a/src/mame/video/segaic16_road.h b/src/mame/video/segaic16_road.h index 0292ea73fc5..c37bb5ef279 100644 --- a/src/mame/video/segaic16_road.h +++ b/src/mame/video/segaic16_road.h @@ -41,7 +41,7 @@ struct road_info class segaic16_road_device : public device_t { public: - segaic16_road_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + segaic16_road_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~segaic16_road_device() {} UINT16 *segaic16_roadram_0; diff --git a/src/mame/video/segaic24.cpp b/src/mame/video/segaic24.cpp index 8f699286e7c..57c848287dc 100644 --- a/src/mame/video/segaic24.cpp +++ b/src/mame/video/segaic24.cpp @@ -23,7 +23,7 @@ const device_type S24SPRITE = &device_creator; const device_type S24MIXER = &device_creator; -segas24_tile::segas24_tile(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +segas24_tile::segas24_tile(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, S24TILE, "Sega System 24 Tilemap", tag, owner, clock, "segas24_tile", __FILE__), m_gfxdecode(*this), m_palette(*this) @@ -35,7 +35,7 @@ segas24_tile::segas24_tile(const machine_config &mconfig, std::string tag, devic // gfx decoder //------------------------------------------------- -void segas24_tile::static_set_gfxdecode_tag(device_t &device, std::string tag) +void segas24_tile::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -45,7 +45,7 @@ void segas24_tile::static_set_gfxdecode_tag(device_t &device, std::string tag) // palette device //------------------------------------------------- -void segas24_tile::static_set_palette_tag(device_t &device, std::string tag) +void segas24_tile::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } @@ -602,7 +602,7 @@ WRITE32_MEMBER(segas24_tile::char32_w) } -segas24_sprite::segas24_sprite(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +segas24_sprite::segas24_sprite(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, S24SPRITE, "Sega System 24 Sprites", tag, owner, clock, "segas24_sprite", __FILE__) { } @@ -847,7 +847,7 @@ READ16_MEMBER(segas24_sprite::read) } -segas24_mixer::segas24_mixer(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +segas24_mixer::segas24_mixer(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, S24MIXER, "Sega System 24 Mixer", tag, owner, clock, "segas24_mixer", __FILE__) { } diff --git a/src/mame/video/segaic24.h b/src/mame/video/segaic24.h index cf0cee6f1b0..51165e32ac1 100644 --- a/src/mame/video/segaic24.h +++ b/src/mame/video/segaic24.h @@ -30,11 +30,11 @@ class segas24_tile : public device_t friend class segas24_tile_config; public: - segas24_tile(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + segas24_tile(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void static_set_tile_mask(device_t &device, UINT16 tile_mask); DECLARE_READ16_MEMBER(tile_r); @@ -88,7 +88,7 @@ class segas24_sprite : public device_t friend class segas24_sprite_config; public: - segas24_sprite(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + segas24_sprite(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_READ16_MEMBER(read); DECLARE_WRITE16_MEMBER(write); @@ -108,7 +108,7 @@ class segas24_mixer : public device_t friend class segas24_mixer_config; public: - segas24_mixer(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + segas24_mixer(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_READ16_MEMBER(read); DECLARE_WRITE16_MEMBER(write); diff --git a/src/mame/video/seibu_crtc.cpp b/src/mame/video/seibu_crtc.cpp index 48a0c5791a8..c0a4bdc3872 100644 --- a/src/mame/video/seibu_crtc.cpp +++ b/src/mame/video/seibu_crtc.cpp @@ -220,7 +220,7 @@ WRITE16_MEMBER( seibu_crtc_device::layer_scroll_base_w) // seibu_crtc_device - constructor //------------------------------------------------- -seibu_crtc_device::seibu_crtc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +seibu_crtc_device::seibu_crtc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SEIBU_CRTC, "Seibu CRT Controller", tag, owner, clock, "seibu_crtc", __FILE__), device_memory_interface(mconfig, *this), device_video_interface(mconfig, *this), diff --git a/src/mame/video/seibu_crtc.h b/src/mame/video/seibu_crtc.h index 06ba7f58966..37f04e31177 100644 --- a/src/mame/video/seibu_crtc.h +++ b/src/mame/video/seibu_crtc.h @@ -41,7 +41,7 @@ class seibu_crtc_device : public device_t, { public: // construction/destruction - seibu_crtc_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + seibu_crtc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_layer_en_callback(device_t &device, _Object object) { return downcast(device).m_layer_en_cb.set_callback(object); } template static devcb_base &set_layer_scroll_callback(device_t &device, _Object object) { return downcast(device).m_layer_scroll_cb.set_callback(object); } diff --git a/src/mame/video/seta001.cpp b/src/mame/video/seta001.cpp index dfdddb0d178..d0ff7874fb3 100644 --- a/src/mame/video/seta001.cpp +++ b/src/mame/video/seta001.cpp @@ -31,7 +31,7 @@ const device_type SETA001_SPRITE = &device_creator; -seta001_device::seta001_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +seta001_device::seta001_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SETA001_SPRITE, "Seta SETA001 Sprite", tag, owner, clock, "seta001", __FILE__), m_gfxdecode(*this), m_palette(*this) @@ -43,7 +43,7 @@ seta001_device::seta001_device(const machine_config &mconfig, std::string tag, d // gfx decoder //------------------------------------------------- -void seta001_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void seta001_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -53,7 +53,7 @@ void seta001_device::static_set_gfxdecode_tag(device_t &device, std::string tag) // palette device //------------------------------------------------- -void seta001_device::static_set_palette_tag(device_t &device, std::string tag) +void seta001_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/seta001.h b/src/mame/video/seta001.h index 04c4af6317d..b7fea3ce96e 100644 --- a/src/mame/video/seta001.h +++ b/src/mame/video/seta001.h @@ -11,11 +11,11 @@ typedef device_delegate gfxbank_cb_delegate; class seta001_device : public device_t { public: - seta001_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + seta001_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_gfxbank_callback(device_t &device, gfxbank_cb_delegate callback) { downcast(device).m_gfxbank_cb = callback; } DECLARE_WRITE8_MEMBER( spritebgflag_w8 ); diff --git a/src/mame/video/sknsspr.cpp b/src/mame/video/sknsspr.cpp index e81c023f4ac..1431edd20bb 100644 --- a/src/mame/video/sknsspr.cpp +++ b/src/mame/video/sknsspr.cpp @@ -21,7 +21,7 @@ const device_type SKNS_SPRITE = &device_creator; -sknsspr_device::sknsspr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sknsspr_device::sknsspr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SKNS_SPRITE, "SKNS Sprite", tag, owner, clock, "sknsspr", __FILE__), device_video_interface(mconfig, *this) { diff --git a/src/mame/video/sknsspr.h b/src/mame/video/sknsspr.h index 2195ff2ebc9..2e998be79ae 100644 --- a/src/mame/video/sknsspr.h +++ b/src/mame/video/sknsspr.h @@ -5,7 +5,7 @@ class sknsspr_device : public device_t, public device_video_interface { public: - sknsspr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + sknsspr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); void skns_draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT32* spriteram_source, size_t spriteram_size, UINT8* gfx_source, size_t gfx_length, UINT32* sprite_regs); void skns_sprite_kludge(int x, int y); diff --git a/src/mame/video/st0020.cpp b/src/mame/video/st0020.cpp index b0d35189a43..8d61d56d56f 100644 --- a/src/mame/video/st0020.cpp +++ b/src/mame/video/st0020.cpp @@ -15,7 +15,7 @@ const device_type ST0020_SPRITES = &device_creator; -st0020_device::st0020_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +st0020_device::st0020_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ST0020_SPRITES, "Seta ST0020 Sprites", tag, owner, clock, "st0020", __FILE__), m_gfxdecode(*this), m_palette(*this) @@ -29,7 +29,7 @@ st0020_device::st0020_device(const machine_config &mconfig, std::string tag, dev // gfx decoder //------------------------------------------------- -void st0020_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void st0020_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -39,7 +39,7 @@ void st0020_device::static_set_gfxdecode_tag(device_t &device, std::string tag) // palette device //------------------------------------------------- -void st0020_device::static_set_palette_tag(device_t &device, std::string tag) +void st0020_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/st0020.h b/src/mame/video/st0020.h index 34e2526595c..0282acd7699 100644 --- a/src/mame/video/st0020.h +++ b/src/mame/video/st0020.h @@ -6,11 +6,11 @@ class st0020_device : public device_t { public: - st0020_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + st0020_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_is_st0032(device_t &device, int is_st0032); static void set_is_jclub2o(device_t &device, int is_jclub2o); diff --git a/src/mame/video/stic.cpp b/src/mame/video/stic.cpp index 65d9db01eb0..350544e8f90 100644 --- a/src/mame/video/stic.cpp +++ b/src/mame/video/stic.cpp @@ -17,7 +17,7 @@ const device_type STIC = &device_creator; // stic_device - constructor //------------------------------------------------- -stic_device::stic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +stic_device::stic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, STIC, "STIC (Standard Television Interface Chip) Video Chip", tag, owner, clock, "stic", __FILE__), m_grom(*this, "grom"), m_x_scale(1), diff --git a/src/mame/video/stic.h b/src/mame/video/stic.h index df1538cb6f2..41d39a3790d 100644 --- a/src/mame/video/stic.h +++ b/src/mame/video/stic.h @@ -476,7 +476,7 @@ class stic_device : public device_t { public: // construction/destruction - stic_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + stic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ~stic_device(); DECLARE_READ16_MEMBER(read); diff --git a/src/mame/video/tc0080vco.cpp b/src/mame/video/tc0080vco.cpp index 7e5f8358a5c..0bf5aec9b62 100644 --- a/src/mame/video/tc0080vco.cpp +++ b/src/mame/video/tc0080vco.cpp @@ -77,7 +77,7 @@ this seems to be the only zoom feature actually used in the games. const device_type TC0080VCO = &device_creator; -tc0080vco_device::tc0080vco_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tc0080vco_device::tc0080vco_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TC0080VCO, "Taito TC0080VCO", tag, owner, clock, "tc0080vco", __FILE__), m_ram(nullptr), m_bg0_ram_0(nullptr), @@ -113,7 +113,7 @@ tc0080vco_device::tc0080vco_device(const machine_config &mconfig, std::string ta // gfx decoder //------------------------------------------------- -void tc0080vco_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void tc0080vco_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -123,7 +123,7 @@ void tc0080vco_device::static_set_gfxdecode_tag(device_t &device, std::string ta // palette device //------------------------------------------------- -void tc0080vco_device::static_set_palette_tag(device_t &device, std::string tag) +void tc0080vco_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/tc0080vco.h b/src/mame/video/tc0080vco.h index c51baf4eb7c..c842e3a57b5 100644 --- a/src/mame/video/tc0080vco.h +++ b/src/mame/video/tc0080vco.h @@ -6,12 +6,12 @@ class tc0080vco_device : public device_t { public: - tc0080vco_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tc0080vco_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~tc0080vco_device() {} // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_gfx_region(device_t &device, int gfxnum) { downcast(device).m_gfxnum = gfxnum; } static void set_tx_region(device_t &device, int txnum) { downcast(device).m_txnum = txnum; } static void set_offsets(device_t &device, int x_offset, int y_offset) diff --git a/src/mame/video/tc0100scn.cpp b/src/mame/video/tc0100scn.cpp index 772d4e2ebd7..eeaf74a7dd4 100644 --- a/src/mame/video/tc0100scn.cpp +++ b/src/mame/video/tc0100scn.cpp @@ -148,7 +148,7 @@ the wide tilemap mode) const device_type TC0100SCN = &device_creator; -tc0100scn_device::tc0100scn_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tc0100scn_device::tc0100scn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TC0100SCN, "Taito TC0100SCN", tag, owner, clock, "tc0100scn", __FILE__), m_ram(nullptr), m_bg_ram(nullptr), @@ -188,7 +188,7 @@ tc0100scn_device::tc0100scn_device(const machine_config &mconfig, std::string ta // gfx decoder //------------------------------------------------- -void tc0100scn_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void tc0100scn_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -198,7 +198,7 @@ void tc0100scn_device::static_set_gfxdecode_tag(device_t &device, std::string ta // palette device //------------------------------------------------- -void tc0100scn_device::static_set_palette_tag(device_t &device, std::string tag) +void tc0100scn_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/tc0100scn.h b/src/mame/video/tc0100scn.h index 9d3acb41dae..5f07bbee7f2 100644 --- a/src/mame/video/tc0100scn.h +++ b/src/mame/video/tc0100scn.h @@ -6,12 +6,12 @@ class tc0100scn_device : public device_t { public: - tc0100scn_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tc0100scn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~tc0100scn_device() {} // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_gfx_region(device_t &device, int gfxregion) { downcast(device).m_gfxnum = gfxregion; } static void set_tx_region(device_t &device, int txregion) { downcast(device).m_txnum = txregion; } static void set_multiscr_xoffs(device_t &device, int xoffs) { downcast(device).m_multiscrn_xoffs = xoffs; } diff --git a/src/mame/video/tc0110pcr.cpp b/src/mame/video/tc0110pcr.cpp index 203eba4da94..19eb43d7938 100644 --- a/src/mame/video/tc0110pcr.cpp +++ b/src/mame/video/tc0110pcr.cpp @@ -20,7 +20,7 @@ The data bus is 16 bits wide. const device_type TC0110PCR = &device_creator; -tc0110pcr_device::tc0110pcr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tc0110pcr_device::tc0110pcr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TC0110PCR, "Taito TC0110PCR", tag, owner, clock, "tc0110pcr", __FILE__), m_ram(nullptr), m_type(0), @@ -34,7 +34,7 @@ tc0110pcr_device::tc0110pcr_device(const machine_config &mconfig, std::string ta // palette device //------------------------------------------------- -void tc0110pcr_device::static_set_palette_tag(device_t &device, std::string tag) +void tc0110pcr_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/tc0110pcr.h b/src/mame/video/tc0110pcr.h index a9e21260c6d..1e8df12c79f 100644 --- a/src/mame/video/tc0110pcr.h +++ b/src/mame/video/tc0110pcr.h @@ -7,7 +7,7 @@ class tc0110pcr_device : public device_t { public: - tc0110pcr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tc0110pcr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~tc0110pcr_device() {} DECLARE_READ16_MEMBER( word_r ); @@ -18,7 +18,7 @@ public: void restore_colors(); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_palette_tag(device_t &device, const char *tag); protected: // device-level overrides diff --git a/src/mame/video/tc0150rod.cpp b/src/mame/video/tc0150rod.cpp index c37ecbaabcb..6077df445e3 100644 --- a/src/mame/video/tc0150rod.cpp +++ b/src/mame/video/tc0150rod.cpp @@ -14,7 +14,7 @@ Road generator. Two roads allow for forking. Gfx data fetched from ROM. Refer to const device_type TC0150ROD = &device_creator; -tc0150rod_device::tc0150rod_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tc0150rod_device::tc0150rod_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TC0150ROD, "Taito TC0150ROD", tag, owner, clock, "tc0150rod", __FILE__), m_roadgfx(nullptr) { diff --git a/src/mame/video/tc0150rod.h b/src/mame/video/tc0150rod.h index 11f9275c6b0..723e97dea7c 100644 --- a/src/mame/video/tc0150rod.h +++ b/src/mame/video/tc0150rod.h @@ -6,7 +6,7 @@ class tc0150rod_device : public device_t { public: - tc0150rod_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tc0150rod_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~tc0150rod_device() {} DECLARE_READ16_MEMBER( word_r ); diff --git a/src/mame/video/tc0180vcu.cpp b/src/mame/video/tc0180vcu.cpp index 1da84ea316c..9420114b3d9 100644 --- a/src/mame/video/tc0180vcu.cpp +++ b/src/mame/video/tc0180vcu.cpp @@ -11,7 +11,7 @@ const device_type TC0180VCU = &device_creator; -tc0180vcu_device::tc0180vcu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tc0180vcu_device::tc0180vcu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TC0180VCU, "Taito TC0180VCU", tag, owner, clock, "tc0180vcu", __FILE__), m_ram(nullptr), //m_scrollram(NULL), @@ -32,7 +32,7 @@ tc0180vcu_device::tc0180vcu_device(const machine_config &mconfig, std::string ta // gfx decoder //------------------------------------------------- -void tc0180vcu_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void tc0180vcu_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } diff --git a/src/mame/video/tc0180vcu.h b/src/mame/video/tc0180vcu.h index 33e817f6a73..ddd7fbe92b4 100644 --- a/src/mame/video/tc0180vcu.h +++ b/src/mame/video/tc0180vcu.h @@ -6,11 +6,11 @@ class tc0180vcu_device : public device_t { public: - tc0180vcu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tc0180vcu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~tc0180vcu_device() {} // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); static void set_bg_colorbase(device_t &device, int color) { downcast(device).m_bg_color_base = color; } static void set_fg_colorbase(device_t &device, int color) { downcast(device).m_fg_color_base = color; } static void set_tx_colorbase(device_t &device, int color) { downcast(device).m_tx_color_base = color; } diff --git a/src/mame/video/tc0280grd.cpp b/src/mame/video/tc0280grd.cpp index ee7abe45cc6..d021893c1a7 100644 --- a/src/mame/video/tc0280grd.cpp +++ b/src/mame/video/tc0280grd.cpp @@ -27,7 +27,7 @@ control registers: const device_type TC0280GRD = &device_creator; -tc0280grd_device::tc0280grd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tc0280grd_device::tc0280grd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TC0280GRD, "Taito TC0280GRD & TC0430GRW", tag, owner, clock, "tc0280grd", __FILE__), m_ram(nullptr), //m_ctrl[8](0), @@ -41,7 +41,7 @@ tc0280grd_device::tc0280grd_device(const machine_config &mconfig, std::string ta // gfx decoder //------------------------------------------------- -void tc0280grd_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void tc0280grd_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } diff --git a/src/mame/video/tc0280grd.h b/src/mame/video/tc0280grd.h index ea8017e3132..d9f8ffc2ee4 100644 --- a/src/mame/video/tc0280grd.h +++ b/src/mame/video/tc0280grd.h @@ -6,11 +6,11 @@ class tc0280grd_device : public device_t { public: - tc0280grd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tc0280grd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~tc0280grd_device() {} // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); static void set_gfx_region(device_t &device, int gfxregion) { downcast(device).m_gfxnum = gfxregion; } DECLARE_READ16_MEMBER( tc0280grd_word_r ); diff --git a/src/mame/video/tc0360pri.cpp b/src/mame/video/tc0360pri.cpp index 4a92c24ecbe..e3620cb74ac 100644 --- a/src/mame/video/tc0360pri.cpp +++ b/src/mame/video/tc0360pri.cpp @@ -45,7 +45,7 @@ each one of them can declare to have four different priority levels. const device_type TC0360PRI = &device_creator; -tc0360pri_device::tc0360pri_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tc0360pri_device::tc0360pri_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TC0360PRI, "Taito TC0360PRI", tag, owner, clock, "tc0360pri", __FILE__) { } diff --git a/src/mame/video/tc0360pri.h b/src/mame/video/tc0360pri.h index 2c871dcefa3..3a3981a0f4c 100644 --- a/src/mame/video/tc0360pri.h +++ b/src/mame/video/tc0360pri.h @@ -6,7 +6,7 @@ class tc0360pri_device : public device_t { public: - tc0360pri_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tc0360pri_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~tc0360pri_device() {} DECLARE_WRITE8_MEMBER( write ); diff --git a/src/mame/video/tc0480scp.cpp b/src/mame/video/tc0480scp.cpp index d76ba1ed0a4..83b0ede8c18 100644 --- a/src/mame/video/tc0480scp.cpp +++ b/src/mame/video/tc0480scp.cpp @@ -151,7 +151,7 @@ Control registers const device_type TC0480SCP = &device_creator; -tc0480scp_device::tc0480scp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tc0480scp_device::tc0480scp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TC0480SCP, "Taito TC0480SCP", tag, owner, clock, "tc0480scp", __FILE__), m_tx_ram(nullptr), m_char_ram(nullptr), @@ -187,7 +187,7 @@ tc0480scp_device::tc0480scp_device(const machine_config &mconfig, std::string ta // gfx decoder //------------------------------------------------- -void tc0480scp_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void tc0480scp_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -197,7 +197,7 @@ void tc0480scp_device::static_set_gfxdecode_tag(device_t &device, std::string ta // palette device //------------------------------------------------- -void tc0480scp_device::static_set_palette_tag(device_t &device, std::string tag) +void tc0480scp_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/tc0480scp.h b/src/mame/video/tc0480scp.h index 4025408af78..12c83523234 100644 --- a/src/mame/video/tc0480scp.h +++ b/src/mame/video/tc0480scp.h @@ -6,12 +6,12 @@ class tc0480scp_device : public device_t { public: - tc0480scp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tc0480scp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~tc0480scp_device() {} // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_gfx_region(device_t &device, int gfxregion) { downcast(device).m_gfxnum = gfxregion; } static void set_tx_region(device_t &device, int txregion) { downcast(device).m_txnum = txregion; } static void set_col_base(device_t &device, int col) { downcast(device).m_col_base = col; } diff --git a/src/mame/video/tc0780fpa.cpp b/src/mame/video/tc0780fpa.cpp index bad0a52bbc1..9f9dab9b92f 100644 --- a/src/mame/video/tc0780fpa.cpp +++ b/src/mame/video/tc0780fpa.cpp @@ -392,7 +392,7 @@ void tc0780fpa_renderer::render(UINT16 *polygon_fifo, int length) const device_type TC0780FPA = &device_creator; -tc0780fpa_device::tc0780fpa_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tc0780fpa_device::tc0780fpa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TC0780FPA, "TC0780FPA Polygon Renderer", tag, owner, clock, "tc0780fpa", __FILE__), device_video_interface(mconfig, *this) { diff --git a/src/mame/video/tc0780fpa.h b/src/mame/video/tc0780fpa.h index 314b074bd2c..40d5955ef9c 100644 --- a/src/mame/video/tc0780fpa.h +++ b/src/mame/video/tc0780fpa.h @@ -45,7 +45,7 @@ private: class tc0780fpa_device : public device_t, public device_video_interface { public: - tc0780fpa_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tc0780fpa_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~tc0780fpa_device() {} void draw(bitmap_ind16 &bitmap, const rectangle &cliprect); diff --git a/src/mame/video/tecmo_mix.cpp b/src/mame/video/tecmo_mix.cpp index 425a8c734d2..7e1a4414fa5 100644 --- a/src/mame/video/tecmo_mix.cpp +++ b/src/mame/video/tecmo_mix.cpp @@ -7,7 +7,7 @@ const device_type TECMO_MIXER = &device_creator; -tecmo_mix_device::tecmo_mix_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tecmo_mix_device::tecmo_mix_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TECMO_MIXER, "Tecmo 16-bit Mixer", tag, owner, clock, "tecmo_mix", __FILE__), device_video_interface(mconfig, *this), m_sprpri_shift(0), diff --git a/src/mame/video/tecmo_mix.h b/src/mame/video/tecmo_mix.h index 9fa762b1367..21ac7b83bf6 100644 --- a/src/mame/video/tecmo_mix.h +++ b/src/mame/video/tecmo_mix.h @@ -8,7 +8,7 @@ class tecmo_mix_device : public device_t, public device_video_interface { public: - tecmo_mix_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tecmo_mix_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); void mix_bitmaps(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect, palette_device* palette, bitmap_ind16* bitmap_bg, bitmap_ind16* bitmap_fg, bitmap_ind16* bitmap_tx, bitmap_ind16* bitmap_sp); static void set_mixer_shifts(device_t &device, int sprpri_shift, int sprbln_shift, int sprcol_shift); diff --git a/src/mame/video/tecmo_spr.cpp b/src/mame/video/tecmo_spr.cpp index bfc448f2a8a..8c763935cbd 100644 --- a/src/mame/video/tecmo_spr.cpp +++ b/src/mame/video/tecmo_spr.cpp @@ -17,7 +17,7 @@ const device_type TECMO_SPRITE = &device_creator; -tecmo_spr_device::tecmo_spr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tecmo_spr_device::tecmo_spr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TECMO_SPRITE, "Tecmo Chained Sprites", tag, owner, clock, "tecmo_spr", __FILE__), m_gfxregion(0), m_bootleg(0), diff --git a/src/mame/video/tecmo_spr.h b/src/mame/video/tecmo_spr.h index 05c5f38616b..f98a09e93bc 100644 --- a/src/mame/video/tecmo_spr.h +++ b/src/mame/video/tecmo_spr.h @@ -7,7 +7,7 @@ class tecmo_spr_device : public device_t { public: - tecmo_spr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tecmo_spr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); static void set_gfx_region(device_t &device, int gfxregion); static void set_bootleg(device_t &device, int bootleg); static void set_yoffset(device_t &device, int bootleg); diff --git a/src/mame/video/tia.cpp b/src/mame/video/tia.cpp index 46caf9509d7..c616ce695b0 100644 --- a/src/mame/video/tia.cpp +++ b/src/mame/video/tia.cpp @@ -351,7 +351,7 @@ PALETTE_INIT_MEMBER(tia_pal_video_device, tia_pal) extend_palette( palette ); } -tia_video_device::tia_video_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, std::string tag, device_t *owner, UINT32 clock) +tia_video_device::tia_video_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__), device_video_interface(mconfig, *this), m_read_input_port_cb(*this), @@ -367,7 +367,7 @@ const device_type TIA_PAL_VIDEO = &device_creator; // tia_pal_video_device - constructor //------------------------------------------------- -tia_pal_video_device::tia_pal_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tia_pal_video_device::tia_pal_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : tia_video_device(mconfig, TIA_PAL_VIDEO, "TIA Video (PAL)", "tia_pal_video", tag, owner, clock) { } @@ -394,7 +394,7 @@ const device_type TIA_NTSC_VIDEO = &device_creator; // tia_ntsc_video_device - constructor //------------------------------------------------- -tia_ntsc_video_device::tia_ntsc_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tia_ntsc_video_device::tia_ntsc_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : tia_video_device(mconfig, TIA_NTSC_VIDEO, "TIA Video (NTSC)", "tia_ntsc_video", tag, owner, clock) { } diff --git a/src/mame/video/tia.h b/src/mame/video/tia.h index 13d8831c8c6..4ed1797cd2f 100644 --- a/src/mame/video/tia.h +++ b/src/mame/video/tia.h @@ -61,7 +61,7 @@ public: protected: // construction/destruction - tia_video_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, std::string tag, device_t *owner, UINT32 clock); + tia_video_device(const machine_config &mconfig, device_type type, const char *name, const char *shortname, const char *tag, device_t *owner, UINT32 clock); // device-level overrides virtual void device_start() override; @@ -208,7 +208,7 @@ private: class tia_pal_video_device : public tia_video_device { public: - tia_pal_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tia_pal_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_PALETTE_INIT(tia_pal); @@ -219,7 +219,7 @@ protected: class tia_ntsc_video_device : public tia_video_device { public: - tia_ntsc_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tia_ntsc_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); DECLARE_PALETTE_INIT(tia_ntsc); diff --git a/src/mame/video/tigeroad_spr.cpp b/src/mame/video/tigeroad_spr.cpp index cb747823300..95c06e40e12 100644 --- a/src/mame/video/tigeroad_spr.cpp +++ b/src/mame/video/tigeroad_spr.cpp @@ -21,7 +21,7 @@ const device_type TIGEROAD_SPRITE = &device_creator; -tigeroad_spr_device::tigeroad_spr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +tigeroad_spr_device::tigeroad_spr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TIGEROAD_SPRITE, "Simple Capcom (Tiger Road) Sprite", tag, owner, clock, "tigeroad_spr", __FILE__) { } diff --git a/src/mame/video/tigeroad_spr.h b/src/mame/video/tigeroad_spr.h index 68ac547b111..b64442f7942 100644 --- a/src/mame/video/tigeroad_spr.h +++ b/src/mame/video/tigeroad_spr.h @@ -4,7 +4,7 @@ class tigeroad_spr_device : public device_t { public: - tigeroad_spr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + tigeroad_spr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, gfxdecode_device *gfxdecode, int region, UINT16* ram, UINT32 size, int flip_screen, int rev_y); diff --git a/src/mame/video/toaplan_scu.cpp b/src/mame/video/toaplan_scu.cpp index 676034c7230..0fe17964308 100644 --- a/src/mame/video/toaplan_scu.cpp +++ b/src/mame/video/toaplan_scu.cpp @@ -28,7 +28,7 @@ GFXDECODE_MEMBER( toaplan_scu_device::gfxinfo ) GFXDECODE_END -toaplan_scu_device::toaplan_scu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +toaplan_scu_device::toaplan_scu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, TOAPLAN_SCU, "Toaplan SCU", tag, owner, clock, "toaplan_scu", __FILE__), device_gfx_interface(mconfig, *this, gfxinfo ) { diff --git a/src/mame/video/toaplan_scu.h b/src/mame/video/toaplan_scu.h index f6e5f5a1fe3..15f451f094b 100644 --- a/src/mame/video/toaplan_scu.h +++ b/src/mame/video/toaplan_scu.h @@ -10,7 +10,7 @@ class toaplan_scu_device : public device_t, public device_gfx_interface DECLARE_GFXDECODE_MEMBER(gfxinfo); public: - toaplan_scu_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + toaplan_scu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration static void static_set_xoffsets(device_t &device, int xoffs, int xoffs_flipped); diff --git a/src/mame/video/uv201.cpp b/src/mame/video/uv201.cpp index 3b2d63386df..ae18cee5d2d 100644 --- a/src/mame/video/uv201.cpp +++ b/src/mame/video/uv201.cpp @@ -96,7 +96,7 @@ const device_type UV201 = &device_creator; // uv201_device - constructor //------------------------------------------------- -uv201_device::uv201_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +uv201_device::uv201_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, UV201, "UV201", tag, owner, clock, "uv201", __FILE__), device_video_interface(mconfig, *this), m_write_ext_int(*this), diff --git a/src/mame/video/uv201.h b/src/mame/video/uv201.h index a4cc7ba2813..873d6683d99 100644 --- a/src/mame/video/uv201.h +++ b/src/mame/video/uv201.h @@ -94,7 +94,7 @@ class uv201_device : public device_t, { public: // construction/destruction - uv201_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + uv201_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_ext_int_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_ext_int.set_callback(object); } template static devcb_base &set_hblank_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_hblank.set_callback(object); } diff --git a/src/mame/video/vrender0.cpp b/src/mame/video/vrender0.cpp index 6a3e3313ec7..7b2af322548 100644 --- a/src/mame/video/vrender0.cpp +++ b/src/mame/video/vrender0.cpp @@ -25,7 +25,7 @@ const device_type VIDEO_VRENDER0 = &device_creator; -vr0video_device::vr0video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +vr0video_device::vr0video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, VIDEO_VRENDER0, "VRender0 Video", tag, owner, clock, "vr0video", __FILE__), m_cpu(*this) { diff --git a/src/mame/video/vrender0.h b/src/mame/video/vrender0.h index ddb0968a49b..b990afb8a45 100644 --- a/src/mame/video/vrender0.h +++ b/src/mame/video/vrender0.h @@ -35,12 +35,12 @@ struct RenderStateInfo class vr0video_device : public device_t { public: - vr0video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + vr0video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~vr0video_device() {} int vrender0_ProcessPacket(UINT32 PacketPtr, UINT16 *Dest, UINT8 *TEXTURE); - static void set_cpu_tag(device_t &device, std::string tag) { downcast(device).m_cpu.set_tag(tag); } + static void set_cpu_tag(device_t &device, const char *tag) { downcast(device).m_cpu.set_tag(tag); } protected: // device-level overrides diff --git a/src/mame/video/vs920a.cpp b/src/mame/video/vs920a.cpp index df5c8c2fbf7..7d1c973af55 100644 --- a/src/mame/video/vs920a.cpp +++ b/src/mame/video/vs920a.cpp @@ -32,7 +32,7 @@ t=tile, p=palette const device_type VS920A = &device_creator; -vs920a_text_tilemap_device::vs920a_text_tilemap_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +vs920a_text_tilemap_device::vs920a_text_tilemap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, VS920A, "VS920A Text Tilemap", tag, owner, clock, "vs920a", __FILE__), m_vram(nullptr), m_pal_base(0), @@ -68,7 +68,7 @@ void vs920a_text_tilemap_device::set_gfx_region(device_t &device, int gfxregion) dev.m_gfx_region = gfxregion; } -void vs920a_text_tilemap_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void vs920a_text_tilemap_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } diff --git a/src/mame/video/vs920a.h b/src/mame/video/vs920a.h index f8c810e5d97..5d945a86631 100644 --- a/src/mame/video/vs920a.h +++ b/src/mame/video/vs920a.h @@ -5,8 +5,8 @@ class vs920a_text_tilemap_device : public device_t { public: - vs920a_text_tilemap_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - static void static_set_gfxdecode_tag(device_t &device, std::string tag); + vs920a_text_tilemap_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); static void set_gfx_region(device_t &device, int gfxregion); tilemap_t* m_tmap; diff --git a/src/mame/video/vsystem_spr.cpp b/src/mame/video/vsystem_spr.cpp index 83a50c66641..7b74e66851c 100644 --- a/src/mame/video/vsystem_spr.cpp +++ b/src/mame/video/vsystem_spr.cpp @@ -71,7 +71,7 @@ Abstracts the VS9210 const device_type VSYSTEM_SPR = &device_creator; -vsystem_spr_device::vsystem_spr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +vsystem_spr_device::vsystem_spr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, VSYSTEM_SPR, "Video System Sprites", tag, owner, clock, "vsystem_spr", __FILE__), m_gfxdecode(*this), m_palette(*this) @@ -94,7 +94,7 @@ vsystem_spr_device::vsystem_spr_device(const machine_config &mconfig, std::strin // gfx decoder //------------------------------------------------- -void vsystem_spr_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void vsystem_spr_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -104,7 +104,7 @@ void vsystem_spr_device::static_set_gfxdecode_tag(device_t &device, std::string // palette device //------------------------------------------------- -void vsystem_spr_device::static_set_palette_tag(device_t &device, std::string tag) +void vsystem_spr_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/vsystem_spr.h b/src/mame/video/vsystem_spr.h index e2e1e9596c6..3e8574c9350 100644 --- a/src/mame/video/vsystem_spr.h +++ b/src/mame/video/vsystem_spr.h @@ -25,11 +25,11 @@ typedef device_delegate vsystem_tile_indirection_delegate; class vsystem_spr_device : public device_t { public: - vsystem_spr_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + vsystem_spr_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_offsets(device_t &device, int xoffs, int yoffs); static void set_pdraw(device_t &device, bool pdraw); static void set_tile_indirect_cb(device_t &device,vsystem_tile_indirection_delegate newtilecb); diff --git a/src/mame/video/vsystem_spr2.cpp b/src/mame/video/vsystem_spr2.cpp index 2794e65bed1..68d1b8ff323 100644 --- a/src/mame/video/vsystem_spr2.cpp +++ b/src/mame/video/vsystem_spr2.cpp @@ -29,7 +29,7 @@ const device_type VSYSTEM_SPR2 = &device_creator; -vsystem_spr2_device::vsystem_spr2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +vsystem_spr2_device::vsystem_spr2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, VSYSTEM_SPR2, "Video System Sprites Type 2", tag, owner, clock, "vsystem_spr2", __FILE__), m_gfxdecode(*this), m_palette(*this) @@ -46,7 +46,7 @@ vsystem_spr2_device::vsystem_spr2_device(const machine_config &mconfig, std::str // gfx decoder //------------------------------------------------- -void vsystem_spr2_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void vsystem_spr2_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -56,7 +56,7 @@ void vsystem_spr2_device::static_set_gfxdecode_tag(device_t &device, std::string // palette device //------------------------------------------------- -void vsystem_spr2_device::static_set_palette_tag(device_t &device, std::string tag) +void vsystem_spr2_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/vsystem_spr2.h b/src/mame/video/vsystem_spr2.h index 070c7635e7e..967d6dc69bb 100644 --- a/src/mame/video/vsystem_spr2.h +++ b/src/mame/video/vsystem_spr2.h @@ -20,11 +20,11 @@ typedef device_delegate vsystem_tile2_indirection_delegate; class vsystem_spr2_device : public device_t { public: - vsystem_spr2_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + vsystem_spr2_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); static void set_tile_indirect_cb(device_t &device,vsystem_tile2_indirection_delegate newtilecb); static void set_pritype(device_t &device, int pritype); static void set_gfx_region(device_t &device, int gfx_region); diff --git a/src/mame/video/vtvideo.cpp b/src/mame/video/vtvideo.cpp index b28f4d7d2a9..b4d5b40ab55 100644 --- a/src/mame/video/vtvideo.cpp +++ b/src/mame/video/vtvideo.cpp @@ -73,27 +73,29 @@ const device_type VT100_VIDEO = &device_creator; const device_type RAINBOW_VIDEO = &device_creator; -vt100_video_device::vt100_video_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) +vt100_video_device::vt100_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) : device_t(mconfig, type, name, tag, owner, clock, shortname, source), device_video_interface(mconfig, *this), m_read_ram(*this), m_write_clear_video_interrupt(*this), +m_char_rom_tag(""), m_palette(*this, "palette") { } -vt100_video_device::vt100_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +vt100_video_device::vt100_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, VT100_VIDEO, "VT100 Video", tag, owner, clock, "vt100_video", __FILE__), device_video_interface(mconfig, *this), m_read_ram(*this), m_write_clear_video_interrupt(*this), +m_char_rom_tag(""), m_palette(*this, "palette") { } -rainbow_video_device::rainbow_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +rainbow_video_device::rainbow_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : vt100_video_device(mconfig, RAINBOW_VIDEO, "Rainbow Video", tag, owner, clock, "rainbow_video", __FILE__) { } diff --git a/src/mame/video/vtvideo.h b/src/mame/video/vtvideo.h index cc995a4357a..0c29e0637e8 100644 --- a/src/mame/video/vtvideo.h +++ b/src/mame/video/vtvideo.h @@ -18,14 +18,14 @@ class vt100_video_device : public device_t, public device_video_interface { public: - vt100_video_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); - vt100_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + vt100_video_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + vt100_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~vt100_video_device() {} template static devcb_base &set_ram_rd_callback(device_t &device, _Object object) { return downcast(device).m_read_ram.set_callback(object); } template static devcb_base &set_clear_video_irq_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_clear_video_interrupt.set_callback(object); } - static void set_chargen_tag(device_t &device, std::string tag) { downcast(device).m_char_rom_tag = tag; } + static void set_chargen_tag(device_t &device, const char *tag) { downcast(device).m_char_rom_tag = tag; } DECLARE_READ8_MEMBER(lba7_r); DECLARE_WRITE8_MEMBER(dc012_w); @@ -68,7 +68,7 @@ protected: UINT8 m_frequency; UINT8 m_interlaced; - std::string m_char_rom_tag; /* character rom region */ + const char *m_char_rom_tag; /* character rom region */ required_device m_palette; bool m_notify_vblank; @@ -81,7 +81,7 @@ protected: class rainbow_video_device : public vt100_video_device { public: - rainbow_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + rainbow_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual void video_update(bitmap_ind16 &bitmap, const rectangle &cliprect) override; virtual void video_blanking(bitmap_ind16 &bitmap, const rectangle &cliprect); diff --git a/src/mame/video/wpc_dmd.cpp b/src/mame/video/wpc_dmd.cpp index 7857c7fe7b1..40047d9316d 100644 --- a/src/mame/video/wpc_dmd.cpp +++ b/src/mame/video/wpc_dmd.cpp @@ -30,7 +30,7 @@ static MACHINE_CONFIG_FRAGMENT( wpc_dmd ) MACHINE_CONFIG_END -wpc_dmd_device::wpc_dmd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) : +wpc_dmd_device::wpc_dmd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, WPC_DMD, "Williams Pinball Controller Dot Matrix Display", tag, owner, clock, "wpc_dmd", __FILE__), scanline_cb(*this), dmd0(*this, ":dmd0"), diff --git a/src/mame/video/wpc_dmd.h b/src/mame/video/wpc_dmd.h index 1d58c2d2030..7524e2e7e3f 100644 --- a/src/mame/video/wpc_dmd.h +++ b/src/mame/video/wpc_dmd.h @@ -15,7 +15,7 @@ class wpc_dmd_device : public device_t { public: - wpc_dmd_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + wpc_dmd_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); virtual ~wpc_dmd_device(); DECLARE_ADDRESS_MAP(registers, 8); diff --git a/src/mame/video/wswan_video.cpp b/src/mame/video/wswan_video.cpp index a7c3e324b94..8dbb60f0db8 100644 --- a/src/mame/video/wswan_video.cpp +++ b/src/mame/video/wswan_video.cpp @@ -20,7 +20,7 @@ const device_type WSWAN_VIDEO = &device_creator; -wswan_video_device::wswan_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +wswan_video_device::wswan_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, WSWAN_VIDEO, "Bandai WonderSwan VDP", tag, owner, clock, "wswan_video", __FILE__), m_vdp_type(VDP_TYPE_WSWAN) { diff --git a/src/mame/video/wswan_video.h b/src/mame/video/wswan_video.h index 91fc57b75a7..3cad1155075 100644 --- a/src/mame/video/wswan_video.h +++ b/src/mame/video/wswan_video.h @@ -46,7 +46,7 @@ typedef device_delegate wswan_video_dmasnd_cb_delegate; class wswan_video_device : public device_t { public: - wswan_video_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + wswan_video_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); ~wswan_video_device() {} // static configuration diff --git a/src/mame/video/ygv608.cpp b/src/mame/video/ygv608.cpp index 13ec2eb4169..1b70da162ee 100644 --- a/src/mame/video/ygv608.cpp +++ b/src/mame/video/ygv608.cpp @@ -51,14 +51,14 @@ const device_type YGV608 = &device_creator; -ygv608_device::ygv608_device( const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock ) +ygv608_device::ygv608_device( const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock ) : device_t(mconfig, YGV608, "YGV608 VDP", tag, owner, clock, "ygv608", __FILE__), m_gfxdecode(*this), m_palette(*this) { } -void ygv608_device::static_set_gfxdecode_tag(device_t &device, std::string tag) +void ygv608_device::static_set_gfxdecode_tag(device_t &device, const char *tag) { downcast(device).m_gfxdecode.set_tag(tag); } @@ -68,7 +68,7 @@ void ygv608_device::static_set_gfxdecode_tag(device_t &device, std::string tag) // palette device //------------------------------------------------- -void ygv608_device::static_set_palette_tag(device_t &device, std::string tag) +void ygv608_device::static_set_palette_tag(device_t &device, const char *tag) { downcast(device).m_palette.set_tag(tag); } diff --git a/src/mame/video/ygv608.h b/src/mame/video/ygv608.h index b16888cf5c0..b4360a4e5e4 100644 --- a/src/mame/video/ygv608.h +++ b/src/mame/video/ygv608.h @@ -286,11 +286,11 @@ class ygv608_device : public device_t { public: // construction/destruction - ygv608_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + ygv608_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); // static configuration - static void static_set_gfxdecode_tag(device_t &device, std::string tag); - static void static_set_palette_tag(device_t &device, std::string tag); + static void static_set_gfxdecode_tag(device_t &device, const char *tag); + static void static_set_palette_tag(device_t &device, const char *tag); DECLARE_WRITE16_MEMBER( write ); DECLARE_READ16_MEMBER( read ); diff --git a/src/mame/video/zx8301.cpp b/src/mame/video/zx8301.cpp index 173330a1e54..708b8c4879f 100644 --- a/src/mame/video/zx8301.cpp +++ b/src/mame/video/zx8301.cpp @@ -104,7 +104,7 @@ inline void zx8301_device::writebyte(offs_t address, UINT8 data) // zx8301_device - constructor //------------------------------------------------- -zx8301_device::zx8301_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +zx8301_device::zx8301_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, ZX8301, "Sinclair ZX8301", tag, owner, clock, "zx8301", __FILE__), device_memory_interface(mconfig, *this), device_video_interface(mconfig, *this), diff --git a/src/mame/video/zx8301.h b/src/mame/video/zx8301.h index e00183a1524..f4c402e387a 100644 --- a/src/mame/video/zx8301.h +++ b/src/mame/video/zx8301.h @@ -62,10 +62,10 @@ class zx8301_device : public device_t, { public: // construction/destruction - zx8301_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); + zx8301_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); template static devcb_base &set_vsync_wr_callback(device_t &device, _Object object) { return downcast(device).m_write_vsync.set_callback(object); } - static void static_set_cpu_tag(device_t &device, std::string tag) { downcast(device).m_cpu.set_tag(tag); } + static void static_set_cpu_tag(device_t &device, const char *tag) { downcast(device).m_cpu.set_tag(tag); } DECLARE_WRITE8_MEMBER( control_w ); DECLARE_READ8_MEMBER( data_r ); -- cgit v1.2.3