summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/gb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/gb.h')
-rw-r--r--src/mame/includes/gb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/includes/gb.h b/src/mame/includes/gb.h
index 59f5ee91de3..90d18a78346 100644
--- a/src/mame/includes/gb.h
+++ b/src/mame/includes/gb.h
@@ -46,7 +46,7 @@
class gb_state : public driver_device
{
public:
- gb_state(const machine_config &mconfig, device_type type, const char *tag)
+ gb_state(const machine_config &mconfig, device_type type, std::string tag)
: driver_device(mconfig, type, tag),
m_cartslot(*this, "gbslot"),
m_maincpu(*this, "maincpu"),
@@ -143,7 +143,7 @@ protected:
class megaduck_state : public gb_state
{
public:
- megaduck_state(const machine_config &mconfig, device_type type, const char *tag)
+ megaduck_state(const machine_config &mconfig, device_type type, std::string tag)
: gb_state(mconfig, type, tag)
, m_cartslot(*this, "duckslot")
{ }