Fix: Extended HDD image file filter to include *.po

This commit is contained in:
tomch 2007-12-16 00:02:16 +00:00
parent f2aa8898fd
commit 1f41a50836
1 changed files with 4 additions and 1 deletions

View File

@ -233,6 +233,8 @@ void HD_SetEnabled(bool bEnabled)
g_bHD_Enabled = bEnabled;
// FIXME: For LoadConfiguration(), g_uSlot=7 (see definition at start of file)
// . g_uSlot is only really setup by HD_Load_Rom(), later on
RegisterIoHandler(g_uSlot, HD_IO_EMUL, HD_IO_EMUL, NULL, NULL, NULL, NULL);
LPBYTE pCxRomPeripheral = MemGetCxRomPeripheral();
@ -332,7 +334,8 @@ void HD_Select(int nDrive)
ofn.lStructSize = sizeof(OPENFILENAME);
ofn.hwndOwner = g_hFrameWindow;
ofn.hInstance = g_hInstance;
ofn.lpstrFilter = TEXT("Hard Disk Images (*.hdv)\0*.hdv\0");
ofn.lpstrFilter = TEXT("Hard Disk Images (*.hdv,*.po)\0*.hdv;*.po\0")
TEXT("All Files\0*.*\0");
ofn.lpstrFile = filename;
ofn.nMaxFile = MAX_PATH;
ofn.lpstrInitialDir = directory;