Add missing extensions.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1057 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
n-a-c-h 2011-12-27 21:56:00 +00:00
parent 725a20ff6c
commit f1e0e14144
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 );