diff options
Diffstat (limited to 'src/frontend/mame/ui/dirmenu.cpp')
-rw-r--r-- | src/frontend/mame/ui/dirmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/ui/dirmenu.cpp b/src/frontend/mame/ui/dirmenu.cpp index 359d6d63420..1a500e14482 100644 --- a/src/frontend/mame/ui/dirmenu.cpp +++ b/src/frontend/mame/ui/dirmenu.cpp @@ -466,7 +466,7 @@ void menu_add_change_folder::populate() // open a path const char *volume_name = nullptr; file_enumerator path(m_current_path.c_str()); - const osd_directory_entry *dirent; + const osd::directory::entry *dirent; int folders_count = 0; // add the drives @@ -476,7 +476,7 @@ void menu_add_change_folder::populate() // add the directories while ((dirent = path.next()) != nullptr) { - if (dirent->type == ENTTYPE_DIR && strcmp(dirent->name, ".") != 0) + if (dirent->type == osd::directory::entry::entry_type::DIR && strcmp(dirent->name, ".") != 0) item_append(dirent->name, "[DIR]", 0, (void *)(FPTR)++folders_count); } |