summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/mame.c
diff options
context:
space:
mode:
author Couriersud <couriersud@users.noreply.github.com>2010-01-27 23:52:28 +0000
committer Couriersud <couriersud@users.noreply.github.com>2010-01-27 23:52:28 +0000
commit77cc6538e1473543a39f5292f246a17f7162827b (patch)
tree7b8385879edc9714dd1d001731893f0ae0fd910f /src/emu/mame.c
parent6660655ce53dc5571314d79cb2eca830e7dab366 (diff)
UI menu interface changes
- all ui functions now expect a render_container - removed all macros referencing render_container_get_ui - ui_menu_alloc now is passed a container to which to render the menu. This is a first round of changes to allow using ui_* functions in a more generic way.
Diffstat (limited to 'src/emu/mame.c')
-rw-r--r--src/emu/mame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/mame.c b/src/emu/mame.c
index 09b639898e6..69aa08b0790 100644
--- a/src/emu/mame.c
+++ b/src/emu/mame.c
@@ -77,10 +77,10 @@
#include "emuopts.h"
#include "osdepend.h"
#include "config.h"
-#include "cheat.h"
#include "debugger.h"
#include "profiler.h"
#include "render.h"
+#include "cheat.h"
#include "ui.h"
#include "uimenu.h"
#include "uiinput.h"
@@ -540,7 +540,7 @@ void mame_schedule_exit(running_machine *machine)
if (started_empty && options_get_string(mame_options(), OPTION_GAMENAME)[0] != 0)
{
options_set_string(mame_options(), OPTION_GAMENAME, "", OPTION_PRIORITY_CMDLINE);
- ui_menu_force_game_select(machine);
+ ui_menu_force_game_select(machine, render_container_get_ui());
}
/* otherwise, exit for real */