summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/mainmenu.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-07-10 02:42:38 +1000
committer Vas Crabb <vas@vastheman.com>2016-07-10 03:01:13 +1000
commit1abf53ca6a7a01ae2d4491825a97b0a4baef634a (patch)
tree2a061c81dab912dbf52f8cdd54f97507820029dd /src/frontend/mame/ui/mainmenu.cpp
parent2364b48f0dd496de3908fa4d3bcd24693a5f6231 (diff)
UI code refactoring: [Vas Crabb]
* Split out main menu and dat box drawing from base class * Make a bunch of class statics proper per-machine persistent objects * Object lifecycle fixes
Diffstat (limited to 'src/frontend/mame/ui/mainmenu.cpp')
-rw-r--r--src/frontend/mame/ui/mainmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/mainmenu.cpp b/src/frontend/mame/ui/mainmenu.cpp
index 7fa50f9f8ea..0342559d47e 100644
--- a/src/frontend/mame/ui/mainmenu.cpp
+++ b/src/frontend/mame/ui/mainmenu.cpp
@@ -272,7 +272,7 @@ void menu_main::handle()
break;
case QUIT_GAME:
- menu::stack_pop(machine());
+ stack_pop();
ui().request_quit();
break;