Add missing extensions.

This commit is contained in:
n-a-c-h 2011-12-27 21:56:00 +00:00
parent b13ee88b4e
commit 638e79009f
2 changed files with 3 additions and 1 deletions

View File

@ -608,6 +608,8 @@ bool gbIsGameboyRom(char * file)
char * p = strrchr(file,'.');
if(p != NULL) {
if(_stricmp(p, ".dmg") == 0)
return true;
if(_stricmp(p, ".gb") == 0)
return true;
if(_stricmp(p, ".gbc") == 0)

View File

@ -95,7 +95,7 @@ void BIOSDialog::OnBnClickedSelectGbcBiosPath()
NULL,
current,
OFN_DONTADDTORECENT | OFN_FILEMUSTEXIST,
_T("BIOS Files (*.bin;*.gbc)|*.bin;*.gbc|All Files (*.*)|*.*||"),
_T("BIOS Files (*.bin;*.cgb;*.gbc)|*.bin;*.cgb;*.gbc|All Files (*.*)|*.*||"),
this,
0 );