mirror of
https://github.com/holub/mame
synced 2025-06-06 21:03:47 +03:00
windebug: in images menu, added support for 7z.
This commit is contained in:
parent
1a54c90838
commit
44335fc4f6
@ -310,15 +310,17 @@ void consolewin_info::process_string(char const *string)
|
|||||||
|
|
||||||
void consolewin_info::build_generic_filter(device_image_interface *img, bool is_save, std::string &filter)
|
void consolewin_info::build_generic_filter(device_image_interface *img, bool is_save, std::string &filter)
|
||||||
{
|
{
|
||||||
// common image types
|
std::string file_extension = img->file_extensions();
|
||||||
add_filter_entry(filter, "Common image types", img->file_extensions());
|
|
||||||
|
|
||||||
// compressed
|
|
||||||
if (!is_save)
|
if (!is_save)
|
||||||
filter.append("Compressed Images (*.zip)|*.zip|");
|
file_extension.append(",zip,7z");
|
||||||
|
|
||||||
|
add_filter_entry(filter, "Common image types", file_extension.c_str());
|
||||||
|
|
||||||
// all files
|
|
||||||
filter.append("All files (*.*)|*.*|");
|
filter.append("All files (*.*)|*.*|");
|
||||||
|
|
||||||
|
if (!is_save)
|
||||||
|
filter.append("Compressed Images (*.zip;*.7z)|*.zip;*.7z|");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user