summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-12-31 18:43:52 -0500
committer AJR <ajrhacker@users.noreply.github.com>2020-12-31 18:43:54 -0500
commit7eddaea84662f3a907434d78576e4341aed6c769 (patch)
tree82e5a81952b4cc33f41ab889d0b2c0f407e2f00f
parent886bf9ac675adb96b406d35a6c3d1a6b2c67332c (diff)
ioport.cpp: Eliminate redundant std::string("...").c_str() pattern
-rw-r--r--src/emu/ioport.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/emu/ioport.cpp b/src/emu/ioport.cpp
index ede3de5bafe..aa9385e883b 100644
--- a/src/emu/ioport.cpp
+++ b/src/emu/ioport.cpp
@@ -2787,19 +2787,19 @@ void ioport_manager::timecode_init()
if (filerr != osd_file::error::NONE)
throw emu_fatalerror("ioport_manager::timecode_init: Failed to open file for input timecode recording");
- m_timecode_file.puts(std::string("# ==========================================\n").c_str());
- m_timecode_file.puts(std::string("# TIMECODE FILE FOR VIDEO PREVIEW GENERATION\n").c_str());
- m_timecode_file.puts(std::string("# ==========================================\n").c_str());
- m_timecode_file.puts(std::string("#\n").c_str());
- m_timecode_file.puts(std::string("# VIDEO_PART: code of video timecode\n").c_str());
- m_timecode_file.puts(std::string("# START: start time (hh:mm:ss.mmm)\n").c_str());
- m_timecode_file.puts(std::string("# ELAPSED: elapsed time (hh:mm:ss.mmm)\n").c_str());
- m_timecode_file.puts(std::string("# MSEC_START: start time (milliseconds)\n").c_str());
- m_timecode_file.puts(std::string("# MSEC_ELAPSED: elapsed time (milliseconds)\n").c_str());
- m_timecode_file.puts(std::string("# FRAME_START: start time (frames)\n").c_str());
- m_timecode_file.puts(std::string("# FRAME_ELAPSED: elapsed time (frames)\n").c_str());
- m_timecode_file.puts(std::string("#\n").c_str());
- m_timecode_file.puts(std::string("# VIDEO_PART======= START======= ELAPSED===== MSEC_START===== MSEC_ELAPSED=== FRAME_START==== FRAME_ELAPSED==\n").c_str());
+ m_timecode_file.puts("# ==========================================\n");
+ m_timecode_file.puts("# TIMECODE FILE FOR VIDEO PREVIEW GENERATION\n");
+ m_timecode_file.puts("# ==========================================\n");
+ m_timecode_file.puts("#\n");
+ m_timecode_file.puts("# VIDEO_PART: code of video timecode\n");
+ m_timecode_file.puts("# START: start time (hh:mm:ss.mmm)\n");
+ m_timecode_file.puts("# ELAPSED: elapsed time (hh:mm:ss.mmm)\n");
+ m_timecode_file.puts("# MSEC_START: start time (milliseconds)\n");
+ m_timecode_file.puts("# MSEC_ELAPSED: elapsed time (milliseconds)\n");
+ m_timecode_file.puts("# FRAME_START: start time (frames)\n");
+ m_timecode_file.puts("# FRAME_ELAPSED: elapsed time (frames)\n");
+ m_timecode_file.puts("#\n");
+ m_timecode_file.puts("# VIDEO_PART======= START======= ELAPSED===== MSEC_START===== MSEC_ELAPSED=== FRAME_START==== FRAME_ELAPSED==\n");
}
//-------------------------------------------------