summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-12-04 06:07:16 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-12-04 06:07:16 +0000
commit0309522e8737332b1b2f8b99110b1fff99b33a86 (patch)
treefef21486de75edab8b7a84b183716acad0c9a5cb /src/emu/ui.c
parent30aa31f1637428d349b5d3a4144ebb3124aa66a5 (diff)
Re-enabled the OSD key for master volume control. All other
sliders are still only accessible via the menus.
Diffstat (limited to 'src/emu/ui.c')
-rw-r--r--src/emu/ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/ui.c b/src/emu/ui.c
index 75a2de98aff..f29e7168239 100644
--- a/src/emu/ui.c
+++ b/src/emu/ui.c
@@ -1185,8 +1185,8 @@ static UINT32 handler_ingame(running_machine *machine, UINT32 state)
return ui_set_handler(ui_menu_ui_handler, 0);
/* if the on-screen display isn't up and the user has toggled it, turn it on */
-// if ((machine->debug_flags & DEBUG_FLAG_ENABLED) == 0 && ui_input_pressed(machine, IPT_UI_ON_SCREEN_DISPLAY))
-// return ui_set_handler(ui_slider_ui_handler, 0);
+ if ((machine->debug_flags & DEBUG_FLAG_ENABLED) == 0 && ui_input_pressed(machine, IPT_UI_ON_SCREEN_DISPLAY))
+ return ui_set_handler(ui_slider_ui_handler, 1);
/* handle a reset request */
if (ui_input_pressed(machine, IPT_UI_RESET_MACHINE))