summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/menu.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2017-08-21 21:45:15 +1000
committer Vas Crabb <vas@vastheman.com>2017-08-21 21:45:15 +1000
commit90f7fa47c2c28170ab0dd31e17ebcfbc95fe563f (patch)
tree1d8d5da3d231d35ae949ff5342e46dd4420af857 /src/frontend/mame/ui/menu.cpp
parentf9f4ae9d3654a8efb40e4beaf3bffee5f573e0a4 (diff)
UI improvements:
* Make (Un)Available a polymorphic filter (works in custom filter again) * Fix bugs and improve performance when detecting systems without ROMs * Show progress while auditing ROMs * Use actual INI file format for mame_avail.ini
Diffstat (limited to 'src/frontend/mame/ui/menu.cpp')
-rw-r--r--src/frontend/mame/ui/menu.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/menu.cpp b/src/frontend/mame/ui/menu.cpp
index 5f1056bc45d..a68b4e016f7 100644
--- a/src/frontend/mame/ui/menu.cpp
+++ b/src/frontend/mame/ui/menu.cpp
@@ -453,7 +453,10 @@ const menu::event *menu::process(uint32_t flags, float x0, float y0)
m_event.type = item[selected].type;
return &m_event;
}
- return nullptr;
+ else
+ {
+ return nullptr;
+ }
}