Lines Matching refs:SDLcdrom
265 char *SDLcdrom;
283 SDLcdrom = SDL_getenv("SDL_CDROM"); /* ':' separated list of devices */
284 if ( SDLcdrom != NULL ) {
286 size_t len = SDL_strlen(SDLcdrom)+1;
289 SDL_strlcpy(cdpath, SDLcdrom, len);
290 SDLcdrom = cdpath;
292 delim = SDL_strchr(SDLcdrom, ':');
297 fprintf(stderr, "Checking CD-ROM drive from SDL_CDROM: %s\n", SDLcdrom);
299 if ( CheckDrive(SDLcdrom, NULL, &stbuf) > 0 ) {
300 AddDrive(SDLcdrom, &stbuf);
303 SDLcdrom = delim;
305 SDLcdrom = NULL;
307 } while ( SDLcdrom );