Lines Matching refs:SDLcdrom
136 char *SDLcdrom;
154 SDLcdrom = SDL_getenv("SDL_CDROM"); /* ':' separated list of devices */
155 if ( SDLcdrom != NULL ) {
157 size_t len = SDL_strlen(SDLcdrom)+1;
160 SDL_strlcpy(cdpath, SDLcdrom, len);
161 SDLcdrom = cdpath;
163 delim = SDL_strchr(SDLcdrom, ':');
167 if ( CheckDrive(SDLcdrom, &stbuf) > 0 ) {
168 AddDrive(SDLcdrom, &stbuf);
171 SDLcdrom = delim;
173 SDLcdrom = NULL;
175 } while ( SDLcdrom );