From a92c0d665392f84826a03dfe66ff7d6b1ef8f591 Mon Sep 17 00:00:00 2001 From: spacy51 Date: Fri, 11 Jan 2008 17:50:19 +0000 Subject: [PATCH] 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 --- src/win32/MainWndFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32/MainWndFile.cpp b/src/win32/MainWndFile.cpp index c59aead9..6bcba9e2 100644 --- a/src/win32/MainWndFile.cpp +++ b/src/win32/MainWndFile.cpp @@ -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);