Lines Matching refs:sdcard
748 /* No SD Card emulation, so -sdcard will be ignored */
749 if (opts->sdcard) {
750 dwarning( "Emulated hardware doesn't support SD Cards. -sdcard option ignored." );
751 opts->sdcard = NULL;
754 /* Auto-configure -sdcard if it is not available */
755 if (!opts->sdcard) {
757 /* If -datadir <path> is used, look for a sdcard.img file here */
761 opts->sdcard = strdup(tmp);
767 opts->sdcard = avdInfo_getSdCardPath(avd);
768 if (opts->sdcard != NULL) {
775 if (opts->sdcard) {
776 D("autoconfig: -sdcard %s", opts->sdcard);
781 if(opts->sdcard) {
783 if (path_get_size(opts->sdcard, &size) == 0) {
784 /* see if we have an sdcard image. get its size if it exists */
789 fprintf(stderr, "### WARNING: SD Card files must be at least 9MB, ignoring '%s'\n", opts->sdcard);
791 hw->hw_sdCard_path = ASTRDUP(opts->sdcard);
794 dwarning("no SD Card image at '%s'", opts->sdcard);