Fixed IOCTL failing to read raw TOC after hard reset.

This commit is contained in:
OBattler
2025-02-13 08:36:36 +01:00
parent 3c2f70f6c7
commit 44c6daad1c
2 changed files with 9 additions and 15 deletions

View File

@@ -2873,7 +2873,7 @@ cdrom_load(cdrom_t *dev, const char *fn, const int skip_insert)
if ((dev->ops->is_empty != NULL) && dev->ops->is_empty(dev->local))
dev->cd_status = CD_STATUS_EMPTY;
if (dev->ops->is_dvd(dev->local))
else if (dev->ops->is_dvd(dev->local))
dev->cd_status = CD_STATUS_DVD;
else
dev->cd_status = dev->ops->has_audio(dev->local) ? CD_STATUS_STOPPED :