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/isa/sc499.cpp | |
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/isa/sc499.cpp')
-rw-r--r-- | src/devices/bus/isa/sc499.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/isa/sc499.cpp b/src/devices/bus/isa/sc499.cpp index 620524c5f14..4effacb3394 100644 --- a/src/devices/bus/isa/sc499.cpp +++ b/src/devices/bus/isa/sc499.cpp @@ -314,7 +314,7 @@ const device_type SC499 = &device_creator<sc499_device>; // sc499_device - constructor //------------------------------------------------- -sc499_device::sc499_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sc499_device::sc499_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SC499, "Archive SC-499", tag, owner, clock, "sc499", __FILE__), device_isa8_card_interface(mconfig, *this), m_iobase(*this, "IO_BASE"), @@ -413,7 +413,7 @@ const char *sc499_device::cpu_context() int s = t / osd_ticks_per_second(); int ms = (t % osd_ticks_per_second()) / 1000; - sprintf(statebuf, "%d.%03d%s:", s, ms, tag().c_str()); + sprintf(statebuf, "%d.%03d%s:", s, ms, tag()); return statebuf; } @@ -1279,7 +1279,7 @@ void sc499_device::block_set_filemark() const device_type SC499_CTAPE = &device_creator<sc499_ctape_image_device>; -sc499_ctape_image_device::sc499_ctape_image_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +sc499_ctape_image_device::sc499_ctape_image_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SC499_CTAPE, "Cartridge Tape", tag, owner, clock, "sc499_ctape", __FILE__), device_image_interface(mconfig, *this) { |