diff options
author | 2016-01-29 07:54:30 +0100 | |
---|---|---|
committer | 2016-01-29 07:54:30 +0100 | |
commit | c38e2ab229b37238a7dc226a5e2a1ecf29eaa99b (patch) | |
tree | 1b7d44e3c3b9af04f68f27f1490e0c5f65afa8d9 /src/emu/ui/ui.cpp | |
parent | d207322c523704f8dbeec4e4566fee2edf7c0ca3 (diff) | |
parent | 1e8d53c167439502c84b8bd9b7108af7f99eb2b5 (diff) |
Merge pull request #589 from dankan1890/master
Small code cleanup
Diffstat (limited to 'src/emu/ui/ui.cpp')
-rw-r--r-- | src/emu/ui/ui.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/ui/ui.cpp b/src/emu/ui/ui.cpp index c741d31e970..577a0cb015d 100644 --- a/src/emu/ui/ui.cpp +++ b/src/emu/ui/ui.cpp @@ -237,7 +237,7 @@ ui_manager::ui_manager(running_machine &machine) m_handler_param = 0; m_single_step = false; m_showfps = false; - m_showfps_end = false; + m_showfps_end = 0; m_show_profiler = false; m_popup_text_end = 0; m_use_natural_keyboard = false; @@ -1504,7 +1504,6 @@ UINT32 ui_manager::handler_ingame(running_machine &machine, render_container *co // first draw the FPS counter if (machine.ui().show_fps_counter()) { - std::string tempstring; machine.ui().draw_text_full(container, machine.video().speed_text().c_str(), 0.0f, 0.0f, 1.0f, JUSTIFY_RIGHT, WRAP_WORD, DRAW_OPAQUE, ARGB_WHITE, ARGB_BLACK, nullptr, nullptr); } |