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/sound/scsp.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/sound/scsp.cpp')
| -rw-r--r-- | src/devices/sound/scsp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/scsp.cpp b/src/devices/sound/scsp.cpp index ba529bf5901..7a20010714d 100644 --- a/src/devices/sound/scsp.cpp +++ b/src/devices/sound/scsp.cpp @@ -143,7 +143,7 @@ static const float SDLT[8]={-1000000.0f,-36.0f,-30.0f,-24.0f,-18.0f,-12.0f,-6.0f const device_type SCSP = &device_creator<scsp_device>; -scsp_device::scsp_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock) +scsp_device::scsp_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, SCSP, "SCSP", tag, owner, clock, "scsp", __FILE__), device_sound_interface(mconfig, *this), m_roffset(0), @@ -506,7 +506,7 @@ void scsp_device::init() m_MidiOutR=m_MidiOutW=0; // get SCSP RAM - if (tag()==":scsp" || tag()==":scsp1") + if (strcmp(tag(), ":scsp") == 0 || strcmp(tag(), ":scsp1") == 0) { m_Master=1; } |
