.7z files now show up in the Open file dialog box.

This commit is contained in:
adelikat 2008-06-26 23:48:57 +00:00
parent f334b0dce8
commit dad4f4c498
1 changed files with 1 additions and 1 deletions

View File

@ -573,7 +573,7 @@ void ALoad(char *nameo,char* actualfile,char* archiveFile)
/// @param initialdir Directory that's pre-selected in the Open File dialog.
void LoadNewGamey(HWND hParent, const char *initialdir)
{
const char filter[] = "All usable files(*.nes,*.nsf,*.fds,*.unf,*.zip,*.gz)\0*.nes;*.nsf;*.fds;*.unf;*.zip;*.gz\0All non-compressed usable files(*.nes,*.nsf,*.fds,*.unf)\0*.nes;*.nsf;*.fds;*.unf\0All files (*.*)\0*.*\0";
const char filter[] = "All usable files(*.nes,*.nsf,*.fds,*.unf,*.zip,*.gz,*.7z)\0*.nes;*.nsf;*.fds;*.unf;*.zip;*.gz;*.7z\0All non-compressed usable files(*.nes,*.nsf,*.fds,*.unf)\0*.nes;*.nsf;*.fds;*.unf\0All files (*.*)\0*.*\0";
char nameo[2048];
// Create the Open File dialog