diff options
author | 2019-10-31 23:27:33 +1100 | |
---|---|---|
committer | 2019-10-31 23:27:33 +1100 | |
commit | ef37c69c9b074a7b0a3f4a45a32907415e706591 (patch) | |
tree | f44bd6f9e2c23e712b7582085982decdda2069b7 /src/devices | |
parent | f31b19f9c91a82d12f15959f03d0c7caf914c152 (diff) |
clean up cane/orbite additions (nw)
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/sound/sn76477.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/sn76477.cpp b/src/devices/sound/sn76477.cpp index d24ab6a1bb6..3a487d29edf 100644 --- a/src/devices/sound/sn76477.cpp +++ b/src/devices/sound/sn76477.cpp @@ -895,9 +895,9 @@ void sn76477_device::open_wav_file() std::string s = tag(); std::replace(s.begin(), s.end(), ':', '_'); - char const* wav_file_name = util::string_format(LOG_WAV_FILE_NAME, s).c_str(); + const std::string wav_file_name = util::string_format(LOG_WAV_FILE_NAME, s).c_str(); - m_file = wav_open(wav_file_name, m_our_sample_rate, 2); + m_file = wav_open(wav_file_name.c_str(), m_our_sample_rate, 2); LOG(1, "SN76477: Logging output: %s\n", wav_file_name); } |