diff --git a/src/gb/GB.cpp b/src/gb/GB.cpp index 50521104..8769edcd 100644 --- a/src/gb/GB.cpp +++ b/src/gb/GB.cpp @@ -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) diff --git a/src/win32/BIOSDialog.cpp b/src/win32/BIOSDialog.cpp index 040a3c89..f3a0a046 100644 --- a/src/win32/BIOSDialog.cpp +++ b/src/win32/BIOSDialog.cpp @@ -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 );