diff options
Diffstat (limited to 'src/frontend/mame/ui/imgcntrl.cpp')
-rw-r--r-- | src/frontend/mame/ui/imgcntrl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/imgcntrl.cpp b/src/frontend/mame/ui/imgcntrl.cpp index 18ee2358852..ab502a39834 100644 --- a/src/frontend/mame/ui/imgcntrl.cpp +++ b/src/frontend/mame/ui/imgcntrl.cpp @@ -69,7 +69,8 @@ menu_control_device_image::menu_control_device_image(mame_ui_manager &mui, rende } // check to see if the path exists; if not then set to current directory - if (util::zippath_opendir(m_current_directory, nullptr) != osd_file::error::NONE) + util::zippath_directory::ptr dir; + if (util::zippath_directory::open(m_current_directory, dir) != osd_file::error::NONE) osd_get_full_path(m_current_directory, "."); } } |