diff options
author | 2008-07-27 12:08:09 +0000 | |
---|---|---|
committer | 2008-07-27 12:08:09 +0000 | |
commit | 251b59b0695042ab6a854ecefd7e44b7d910fb37 (patch) | |
tree | 92182a6ff7ca6fd0c1da0b769a384b36e7e74c6f /src/emu/ui.c | |
parent | 0124a7cc68ee2595a01ae5fc7326b8e6a9a26745 (diff) |
Cleaned up MESS-specific hooks
Diffstat (limited to 'src/emu/ui.c')
-rw-r--r-- | src/emu/ui.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/emu/ui.c b/src/emu/ui.c index 4ad4b26d4a2..1c648a8c5c5 100644 --- a/src/emu/ui.c +++ b/src/emu/ui.c @@ -450,11 +450,6 @@ void ui_update_and_render(running_machine *machine) /* decrement the frame counter if it is non-zero */ else if (allow_rescale != 0) allow_rescale--; - -#ifdef MESS - /* let MESS display its stuff */ - mess_ui_update(machine); -#endif /* MESS */ } @@ -1259,7 +1254,7 @@ static UINT32 handler_ingame(running_machine *machine, UINT32 state) } #ifdef MESS - if (mess_disable_builtin_ui(machine)) + if (ui_mess_handler_ingame(machine)) return 0; #endif /* MESS */ @@ -1386,12 +1381,6 @@ static UINT32 handler_ingame(running_machine *machine, UINT32 state) else video_set_fastforward(FALSE); -#ifdef MESS - /* paste? */ - if (ui_input_pressed(machine, IPT_UI_PASTE)) - ui_paste(machine); -#endif /* MESS */ - return 0; } |