diff options
Diffstat (limited to 'src/emu/video.cpp')
-rw-r--r-- | src/emu/video.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/video.cpp b/src/emu/video.cpp index cf26d809c7e..7747c25bdfb 100644 --- a/src/emu/video.cpp +++ b/src/emu/video.cpp @@ -258,9 +258,9 @@ void video_manager::frame_update(bool debug) // into a string buffer //------------------------------------------------- -std::string &video_manager::speed_text(std::string &str) +std::string video_manager::speed_text() { - str.clear(); + std::string str; // if we're paused, just display Paused bool paused = machine().paused(); |