diff options
Diffstat (limited to 'src/mame/machine')
-rw-r--r-- | src/mame/machine/atarigen.cpp | 4 | ||||
-rw-r--r-- | src/mame/machine/atarigen.h | 2 | ||||
-rw-r--r-- | src/mame/machine/namcoio.cpp | 2 | ||||
-rw-r--r-- | src/mame/machine/namcoio.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/machine/atarigen.cpp b/src/mame/machine/atarigen.cpp index ab4468bbef2..653f88b2f82 100644 --- a/src/mame/machine/atarigen.cpp +++ b/src/mame/machine/atarigen.cpp @@ -830,8 +830,8 @@ const device_type ATARI_EEPROM_2816 = &device_creator<atari_eeprom_2816_device>; // atari_eeprom_device - constructor //------------------------------------------------- -atari_eeprom_device::atari_eeprom_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source) - : device_t(mconfig, devtype, name, tag, owner, 0, shortname, source), +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) + : device_t(mconfig, devtype, name, tag, owner, 0, shortname, file), m_eeprom(*this, "eeprom"), m_unlocked(false) { diff --git a/src/mame/machine/atarigen.h b/src/mame/machine/atarigen.h index 7365485f89c..072d0a8f925 100644 --- a/src/mame/machine/atarigen.h +++ b/src/mame/machine/atarigen.h @@ -265,7 +265,7 @@ class atari_eeprom_device : public device_t { protected: // construction/destruction - atari_eeprom_device(const machine_config &mconfig, device_type devtype, std::string name, std::string tag, device_t *owner, std::string shortname, std::string source); + 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); public: // unlock controls diff --git a/src/mame/machine/namcoio.cpp b/src/mame/machine/namcoio.cpp index 5cee426e60b..cb625654004 100644 --- a/src/mame/machine/namcoio.cpp +++ b/src/mame/machine/namcoio.cpp @@ -122,7 +122,7 @@ const device_type NAMCO56XX = &device_creator<namco56xx_device>; const device_type NAMCO58XX = &device_creator<namco58xx_device>; const device_type NAMCO59XX = &device_creator<namco59xx_device>; -namcoio_device::namcoio_device(const machine_config &mconfig, device_type type, std::string name, std::string tag, device_t *owner, UINT32 clock, std::string shortname) +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) : device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__), m_in_0_cb(*this), m_in_1_cb(*this), diff --git a/src/mame/machine/namcoio.h b/src/mame/machine/namcoio.h index 8930db0a2d0..db18a9eb976 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, std::string name, std::string tag, device_t *owner, UINT32 clock, std::string shortname); + namcoio_device(const machine_config &mconfig, device_type type, const char* name, std::string tag, device_t *owner, UINT32 clock, const char *shortname); template<class _Object> static devcb_base &set_in_0_callback(device_t &device, _Object object) { return downcast<namcoio_device &>(device).m_in_0_cb.set_callback(object); } template<class _Object> static devcb_base &set_in_1_callback(device_t &device, _Object object) { return downcast<namcoio_device &>(device).m_in_1_cb.set_callback(object); } |