Add VHD hard disc image support. Patch from shermanp.

This commit is contained in:
SarahW 2020-11-14 19:12:07 +00:00
commit 602d6f1ce6
31 changed files with 6559 additions and 1073 deletions

View file

@ -761,6 +761,16 @@ int getsfile(void* hwnd, char *f, char *fn, char *dir, char *ext)
return ret;
}
int getfilewithcaption(void* hwnd, char *f, char *fn, char *caption)
{
int ret = wx_filedialog(hwnd, caption, fn, f, 0, 1, openfilestring);
#ifdef __APPLE__
/* wxWidgets on OSX may mess up the SDL-window somehow, so just in case we reset it here */
window_doreset = 1;
#endif
return ret;
}
void atapi_close(void)
{
switch (cdrom_drive)