Skip to content

Commit 5994185

Browse files
committed
Unbound pause MAME button - libretro frontend should handle this
instead
1 parent 9e8ae1d commit 5994185

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

src/emu/ui/ui.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1591,21 +1591,6 @@ UINT32 ui_manager::handler_ingame(running_machine &machine, render_container *co
15911591
return machine.ui().set_handler(handler_load_save, LOADSAVE_LOAD);
15921592
}
15931593

1594-
// toggle pause
1595-
if (ui_input_pressed(machine, IPT_UI_PAUSE))
1596-
{
1597-
bool pressed_lshift = machine.input().code_value(KEYCODE_LSHIFT) != 0;
1598-
bool pressed_rshift = machine.input().code_value(KEYCODE_RSHIFT) != 0;
1599-
// with a shift key, it is single step
1600-
if (is_paused && (pressed_lshift || pressed_rshift))
1601-
{
1602-
machine.ui().set_single_step(true);
1603-
machine.resume();
1604-
}
1605-
else
1606-
machine.toggle_pause();
1607-
}
1608-
16091594
// handle a toggle cheats request
16101595
if (ui_input_pressed(machine, IPT_UI_TOGGLE_CHEAT))
16111596
machine.cheat().set_enable(!machine.cheat().enabled());

0 commit comments

Comments
 (0)