summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/ddragon3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ddragon3.cpp')
-rw-r--r--src/mame/drivers/ddragon3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/ddragon3.cpp b/src/mame/drivers/ddragon3.cpp
index 6a29b3b9e62..423fbc6f924 100644
--- a/src/mame/drivers/ddragon3.cpp
+++ b/src/mame/drivers/ddragon3.cpp
@@ -290,13 +290,13 @@ WRITE8_MEMBER(wwfwfest_state::wwfwfest_priority_w)
/* DIPs are spread across the other input ports */
CUSTOM_INPUT_MEMBER(wwfwfest_state::dsw_3f_r)
{
- const char *tag = (const char *)param;
+ std::string tag = (const char *)param;
return ioport(tag)->read() & 0x3f;
}
CUSTOM_INPUT_MEMBER(wwfwfest_state::dsw_c0_r)
{
- const char *tag = (const char *)param;
+ std::string tag = (const char *)param;
return (ioport(tag)->read() & 0xc0) >> 6;
}