Prevent titleentry deletion in title manager

This commit is contained in:
d0k3 2021-02-18 18:55:36 +01:00
parent 24195c319a
commit ab4316fd4e

View File

@ -22,7 +22,7 @@ int DriveType(const char* path) {
} else if (*search_pattern && *search_path && (strncmp(path, "Z:", 3) == 0)) { } else if (*search_pattern && *search_path && (strncmp(path, "Z:", 3) == 0)) {
type = DRV_SEARCH; type = DRV_SEARCH;
} else if (title_manager_mode && (strncmp(path, "Y:", 3) == 0)) { } else if (title_manager_mode && (strncmp(path, "Y:", 3) == 0)) {
type = DRV_TITLEMAN; type = DRV_VIRTUAL | DRV_TITLEMAN;
} else if ((pdrv >= 0) && (pdrv < NORM_FS)) { } else if ((pdrv >= 0) && (pdrv < NORM_FS)) {
if (pdrv == 0) { if (pdrv == 0) {
type = DRV_FAT | DRV_SDCARD | DRV_STDFAT; type = DRV_FAT | DRV_SDCARD | DRV_STDFAT;