Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 68 → Rev 69

/install/install.c
627,10 → 627,9
}
}
 
 
/* checks CD drive drv for the presence of the Svarog386 install CD
* returns 0 if found, non-zero otherwise */
/*static int checkcd(char drv) {
static int checkcd(char drv) {
FILE *fd;
char fname[32];
snprintf(fname, sizeof(fname), "%c:\\CORE\\MEM.ZIP", drv);
638,7 → 637,7
if (fd == NULL) return(-1);
fclose(fd);
return(0);
}*/
}
 
 
int main(void) {
653,10 → 652,10
return(1);
}
cdromdrv += 'A'; /* convert the cdrom 'id' (A=0) to an actual drive letter */
/*if (checkcd(cdromdrv) != 0) {
if (checkcd(cdromdrv) != 0) {
printf("ERROR: SVAROG386 INSTALLATION CD NOT FOUND IN THE DRIVE.\r\n");
return(1);
}*/
}
 
/* init screen and detect mono status */
mono = video_init();