FIXED: Buffer overrun when selecting "Flash save" in the "Import->Battery file..." dialog.

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@287 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
spacy51 2008-01-11 17:50:19 +00:00
parent b73b895e97
commit a92c0d6653
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ BOOL MainWnd::OnFileSaveSlot(UINT nID)
void MainWnd::OnFileImportBatteryfile()
{
theApp.winCheckFullscreen();
LPCTSTR exts[] = { ".sav" };
LPCTSTR exts[] = { ".sav", ".dat" };
CString filter = winLoadFilter(IDS_FILTER_SAV);
CString title = winResLoadString(IDS_SELECT_BATTERY_FILE);