Virtual ISO: Add Qt and Win32 user interfaces

This commit is contained in:
RichardG867
2022-03-26 23:38:38 -03:00
parent eeeb7b258d
commit e11b211af8
50 changed files with 151 additions and 25 deletions

View File

@@ -290,10 +290,11 @@ cdrom_image_open(cdrom_t *dev, const char *fn)
return image_open_abort(dev);
/* All good, reset state. */
if (i == 2)
if (i >= 2)
dev->cd_status = CD_STATUS_DATA_ONLY;
else
dev->cd_status = CD_STATUS_STOPPED;
dev->is_dir = (i == 3);
dev->seek_pos = 0;
dev->cd_buflen = 0;
dev->cdrom_capacity = image_get_capacity(dev);