diff options
author | 2016-01-20 21:42:13 +0100 | |
---|---|---|
committer | 2016-01-20 21:42:13 +0100 | |
commit | 4e8e3066f847cc0fa11539f4d9ab8a63f70ca475 (patch) | |
tree | 25d48b50f2b89dd5b9e7dbbfeeb85c534ec6852a /src/devices/bus/a800/a8sio.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/devices/bus/a800/a8sio.h')
-rw-r--r-- | src/devices/bus/a800/a8sio.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/bus/a800/a8sio.h b/src/devices/bus/a800/a8sio.h index 60a54d53cf0..0a06c0c93b8 100644 --- a/src/devices/bus/a800/a8sio.h +++ b/src/devices/bus/a800/a8sio.h @@ -54,19 +54,19 @@ class a8sio_slot_device : public device_t, { public: // construction/destruction - a8sio_slot_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - a8sio_slot_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + a8sio_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + a8sio_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); // device-level overrides virtual void device_start() override; // inline configuration - static void static_set_a8sio_slot(device_t &device, std::string tag, std::string slottag); + static void static_set_a8sio_slot(device_t &device, const char *tag, const char *slottag); protected: // configuration - std::string m_a8sio_tag; - std::string m_a8sio_slottag; + const char *m_a8sio_tag; + const char *m_a8sio_slottag; }; @@ -80,8 +80,8 @@ class a8sio_device : public device_t { public: // construction/destruction - a8sio_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock); - a8sio_device(const machine_config &mconfig, device_type type, const char *name, std::string tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + a8sio_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + a8sio_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); // inline configuration template<class _Object> static devcb_base &set_clock_in_callback(device_t &device, _Object object) { return downcast<a8sio_device &>(device).m_out_clock_in_cb.set_callback(object); } @@ -128,14 +128,14 @@ public: void set_a8sio_device(); // inline configuration - static void static_set_a8sio_tag(device_t &device, std::string tag, std::string slottag); + static void static_set_a8sio_tag(device_t &device, const char *tag, const char *slottag); virtual DECLARE_WRITE_LINE_MEMBER( motor_w ); public: a8sio_device *m_a8sio; - std::string m_a8sio_tag; - std::string m_a8sio_slottag; + const char *m_a8sio_tag; + const char *m_a8sio_slottag; }; |