diff --git a/desmume/src/windows/main.cpp b/desmume/src/windows/main.cpp index 0d9141cac..c60f638bd 100644 --- a/desmume/src/windows/main.cpp +++ b/desmume/src/windows/main.cpp @@ -1584,6 +1584,10 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM // can't help us with string creation: just put a '|' were a string end // should be, and later transform prior assigning to the OPENFILENAME structure strncpy (fileFilter, "NDS ROM file (*.nds)|*.nds|NDS/GBA ROM File (*.ds.gba)|*.ds.gba|",512); +#ifdef HAVE_LIBZZIP + strncpy (fileFilter, "All Usable Files (*.nds, *.ds.gba, *.zip, *.gz)|*.nds;*.ds.gba;*.zip;*.gz|",512); +#endif + #ifdef HAVE_LIBZZIP strncat (fileFilter, "Zipped NDS ROM file (*.zip)|*.zip|",512 - strlen(fileFilter)); #endif