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:
parent
b73b895e97
commit
a92c0d6653
|
@ -391,7 +391,7 @@ BOOL MainWnd::OnFileSaveSlot(UINT nID)
|
||||||
void MainWnd::OnFileImportBatteryfile()
|
void MainWnd::OnFileImportBatteryfile()
|
||||||
{
|
{
|
||||||
theApp.winCheckFullscreen();
|
theApp.winCheckFullscreen();
|
||||||
LPCTSTR exts[] = { ".sav" };
|
LPCTSTR exts[] = { ".sav", ".dat" };
|
||||||
CString filter = winLoadFilter(IDS_FILTER_SAV);
|
CString filter = winLoadFilter(IDS_FILTER_SAV);
|
||||||
CString title = winResLoadString(IDS_SELECT_BATTERY_FILE);
|
CString title = winResLoadString(IDS_SELECT_BATTERY_FILE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue