summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend
diff options
context:
space:
mode:
author Justin Kerk <dopefishjustin@gmail.com>2022-02-05 01:03:09 -0800
committer Justin Kerk <dopefishjustin@gmail.com>2022-02-05 01:21:14 -0800
commitf0547f71e3a55d57d1f8ab647aba2b9a71432abd (patch)
tree6b37f20f357293fec6456dfd342431148118509b /src/frontend
parent0f9ae4bc93a8ba44432449f1d9109d4ca1710650 (diff)
Treat WinImage compressed disk images (*.imz) as ZIP archives. [Justin Kerk]
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/mame/media_ident.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/media_ident.cpp b/src/frontend/mame/media_ident.cpp
index b1a18ed7789..549420192c1 100644
--- a/src/frontend/mame/media_ident.cpp
+++ b/src/frontend/mame/media_ident.cpp
@@ -133,7 +133,7 @@ void media_identifier::collect_files(std::vector<file_info> &info, char const *p
}
}
}
- else if (core_filename_ends_with(path, ".7z") || core_filename_ends_with(path, ".zip"))
+ else if (core_filename_ends_with(path, ".7z") || core_filename_ends_with(path, ".zip") || core_filename_ends_with(path, ".imz"))
{
// first attempt to examine it as a valid zip/7z file
util::archive_file::ptr archive;