From 9166e7eb976a9106013e32a2e352972a6fd66d0b Mon Sep 17 00:00:00 2001 From: Nathan Woods Date: Sat, 2 Jul 2016 16:03:38 -0400 Subject: Fixed issue whereby the determination that one cannot create files in an archive was done once, and didn't change if the user changed directories --- src/frontend/mame/ui/filesel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/frontend/mame/ui/filesel.cpp') diff --git a/src/frontend/mame/ui/filesel.cpp b/src/frontend/mame/ui/filesel.cpp index 87429ac7218..b1a2ec6191d 100644 --- a/src/frontend/mame/ui/filesel.cpp +++ b/src/frontend/mame/ui/filesel.cpp @@ -560,7 +560,7 @@ void menu_file_selector::populate() append_entry(SELECTOR_ENTRY_TYPE_EMPTY, "", ""); } - if (m_has_create) + if (m_has_create && !util::zippath_is_zip(directory)) { // add the "[create]" entry append_entry(SELECTOR_ENTRY_TYPE_CREATE, "", ""); -- cgit v1.2.3-70-g09d2