summaryrefslogtreecommitdiffstats
path: root/src/mame/machine/jvs13551.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/jvs13551.cpp')
-rw-r--r--src/mame/machine/jvs13551.cpp5
1 files changed, 3 insertions, 2 deletions
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<sega_837_13551 &>(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()
ame/commit/src/mame/includes/crospang.h?id=4e8e3066f847cc0fa11539f4d9ab8a63f70ca475'>reverting: Miodrag Milanovic2016-01-201-1/+1 * tags are now strings (nw) Miodrag Milanovic2016-01-161-1/+1 * overrides in drivers (nw) Miodrag Milanovic2015-12-061-3/+3 * misc palette cleanups (nw) Dirk Best2015-08-021-1/+0 * Sync other dirs with main driver license for MAME (nw) Miodrag Milanovic2015-05-131-2/+2 * Added dummy license headers for MAME part (nw) Miodrag Milanovic2015-05-071-0/+2 * Remove lots of useless sound IRQ trampolines leftover from the pre-devcb era ... Alex W. Jackson2015-01-271-3/+0 * moved optional_device<gfxdecode_device> to specific drivers state classes (nw) Miodrag Milanovic2014-02-171-1/+3 * added m_maincpu to the rest of drivers in mame (nw) Miodrag Milanovic2013-04-101-2/+3 * unified formating of state class constructors, no functional change (nw) Miodrag Milanovic2013-04-101-1/+1 * moved cpu_device * to required_device in existing driver state classes (nw) Miodrag Milanovic2013-04-091-2/+3 * device callback handler cleanup (nw) Miodrag Milanovic2013-04-011-0/+1 * Modernization of drivers part 2 (no whatsnew) Miodrag Milanovic2013-02-051-0/+1 * avoid some lazy tag lookups (nw) David Haywood2013-01-281-1/+6 * manual cleanup of mame and mess includes (no whatsnew) Miodrag Milanovic2012-09-181-9/+0 * Modernized screen update calls (no whatsnew) Miodrag Milanovic2012-09-171-1/+2 * Massive change, MACHINE_START\RESET, VIDEO_START\RESET and PALETTE_INIT chang... Miodrag Milanovic2012-09-131-1/+4 * Clear out remaining global inlines in diexec.h. Aaron Giles2012-09-121-1/+1 * TILE/TILEMAP modernization part 2 (no whatsnew) Miodrag Milanovic2012-09-061-0/+2 * All driver inits are now member of state classes. Miodrag Milanovic2012-08-101-0/+1 * Remove AM_BASE in favor of AM_SHARED + required_shared_ptr. Aaron Giles2012-04-151-5/+7 * MAME going modern part 7 (no whatsnew) Miodrag Milanovic2012-04-061-11/+11 * MAME going modern part 5 (no whatsnew) Miodrag Milanovic2012-04-041-0/+1 * Converted Boogie Wings to generic sprite device plus added manual mixing. Con... Angelo Salese2012-02-011-2/+0 * Major bitmap-related changes throughout the system. There are Aaron Giles2012-01-121-1/+1 * Collapsed device_config and device_t into one class. Updated all Aaron Giles2011-04-271-2/+2 * Final bulk rename for 0.142: ensure that all members of Aaron Giles2011-04-011-9/+11 * Modified video update system. [Miodrag Milanovic] Miodrag Milanovic2011-02-241-1/+1 * running_device -> device_t Aaron Giles2010-12-311-1/+1 * Changed driver_data objects to be devices. Replaced the driver_data_t Aaron Giles2010-09-021-5/+3 * (Wow, I had no idea quite so many drivers were using driver_data!) Aaron Giles2010-08-041-3/+4 * Cleanups and version bump. Aaron Giles2010-03-041-1/+1 * Changed all driver_data structs into classes with a simple Aaron Giles2010-02-251-2/+6 * Correct a long-standing design flaw: device configuration state