Win32 - added "All Useable Files" option to Open Rom dialog
This commit is contained in:
parent
a509bcb896
commit
5f63a59561
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue