summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/filesel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/filesel.cpp')
-rw-r--r--src/frontend/mame/ui/filesel.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/filesel.cpp b/src/frontend/mame/ui/filesel.cpp
index bf44b364e53..61f3f8d5fb2 100644
--- a/src/frontend/mame/ui/filesel.cpp
+++ b/src/frontend/mame/ui/filesel.cpp
@@ -364,13 +364,16 @@ void menu_file_selector::custom_render(void *selectedref, float top, float botto
// custom_mouse_down - perform our special mouse down
//-------------------------------------------------
-void menu_file_selector::custom_mouse_down()
+bool menu_file_selector::custom_mouse_down()
{
if (m_hover_directory.length() > 0)
{
m_current_directory = m_hover_directory;
reset(reset_options::SELECT_FIRST);
+ return true;
}
+
+ return false;
}