summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ui/ui.cpp')
-rw-r--r--src/emu/ui/ui.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/emu/ui/ui.cpp b/src/emu/ui/ui.cpp
index f3ce51feea6..b474c7c61f6 100644
--- a/src/emu/ui/ui.cpp
+++ b/src/emu/ui/ui.cpp
@@ -1698,12 +1698,12 @@ UINT32 ui_manager::handler_ingame(running_machine &machine, render_container *co
if (machine.ui_input().pressed(IPT_UI_PAUSE))
{
// with a shift key, it is single step
-// if (is_paused && (machine.input().code_pressed(KEYCODE_LSHIFT) || machine.input().code_pressed(KEYCODE_RSHIFT)))
-// {
-// machine.ui().set_single_step(true);
-// machine.resume();
-// }
-// else
+// if (is_paused && (machine.input().code_pressed(KEYCODE_LSHIFT) || machine.input().code_pressed(KEYCODE_RSHIFT)))
+// {
+// machine.ui().set_single_step(true);
+// machine.resume();
+// }
+// else
machine.toggle_pause();
}
@@ -2702,8 +2702,8 @@ int ui_manager::wrap_text(render_container *container, const char *origs, float
if (curwidth > maxwidth)
maxwidth = curwidth;
- xstart.push_back(linestart - origs);
- xend.push_back(s - origs);
+ xstart.push_back(linestart - origs);
+ xend.push_back(s - origs);
// loop from the line start and add the characters
while (linestart < s)