Lines Matching refs:SDLcdrom
288 char *SDLcdrom;
304 SDLcdrom = SDL_getenv("SDL_CDROM"); /* ':' separated list of devices */
305 if ( SDLcdrom != NULL ) {
307 size_t len = SDL_strlen(SDLcdrom)+1;
310 SDL_strlcpy(cdpath, SDLcdrom, len);
311 SDLcdrom = cdpath;
313 delim = SDL_strchr(SDLcdrom, ':');
318 fprintf(stderr, "Checking CD-ROM drive from SDL_CDROM: %s\n", SDLcdrom);
320 if ( CheckDrive(SDLcdrom, &stbuf) > 0 ) {
321 AddDrive(SDLcdrom, &stbuf);
324 SDLcdrom = delim;
326 SDLcdrom = NULL;
328 } while ( SDLcdrom );