diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2016-01-20 21:42:13 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2016-01-20 21:42:13 +0100 |
commit | 4e8e3066f847cc0fa11539f4d9ab8a63f70ca475 (patch) | |
tree | 25d48b50f2b89dd5b9e7dbbfeeb85c534ec6852a /src/mame/machine/6883sam.h | |
parent | 3a8ccb89b426509be06089a19c51ecf55567ed1b (diff) |
reverting:
SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa
* tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
Diffstat (limited to 'src/mame/machine/6883sam.h')
-rw-r--r-- | src/mame/machine/6883sam.h | 6 |
1 files changed, 3 insertions, 3 deletions
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<class _Object> static devcb_base &set_res_rd_callback(device_t &device, _Object object) { return downcast<sam6883_device &>(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<sam6883_device &>(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 |