Fix: Extended HDD image file filter to include *.po
This commit is contained in:
parent
f2aa8898fd
commit
1f41a50836
1 changed files with 4 additions and 1 deletions
|
@ -233,6 +233,8 @@ void HD_SetEnabled(bool bEnabled)
|
||||||
|
|
||||||
g_bHD_Enabled = 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);
|
RegisterIoHandler(g_uSlot, HD_IO_EMUL, HD_IO_EMUL, NULL, NULL, NULL, NULL);
|
||||||
|
|
||||||
LPBYTE pCxRomPeripheral = MemGetCxRomPeripheral();
|
LPBYTE pCxRomPeripheral = MemGetCxRomPeripheral();
|
||||||
|
@ -332,7 +334,8 @@ void HD_Select(int nDrive)
|
||||||
ofn.lStructSize = sizeof(OPENFILENAME);
|
ofn.lStructSize = sizeof(OPENFILENAME);
|
||||||
ofn.hwndOwner = g_hFrameWindow;
|
ofn.hwndOwner = g_hFrameWindow;
|
||||||
ofn.hInstance = g_hInstance;
|
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.lpstrFile = filename;
|
||||||
ofn.nMaxFile = MAX_PATH;
|
ofn.nMaxFile = MAX_PATH;
|
||||||
ofn.lpstrInitialDir = directory;
|
ofn.lpstrInitialDir = directory;
|
||||||
|
|
Loading…
Add table
Reference in a new issue