misc/libphyslayer/hwpacksmounter.c
changeset 8714 ab201a62d115
parent 8524 a65e9bcf0a03
child 8978 e6ef8fe314bd
equal deleted inserted replaced
8713:5611011e40b5 8714:ab201a62d115
    22                     char * fullPath = (char *)malloc(strlen(dir) + fileNameLength + 2);
    22                     char * fullPath = (char *)malloc(strlen(dir) + fileNameLength + 2);
    23                     strcpy(fullPath, dir);
    23                     strcpy(fullPath, dir);
    24                     strcat(fullPath, "/");
    24                     strcat(fullPath, "/");
    25                     strcat(fullPath, fileName);
    25                     strcat(fullPath, fileName);
    26 
    26 
    27                     PHYSFS_mount(fullPath, NULL, 1);
    27                     PHYSFS_mount(fullPath, NULL, 0);
    28 
    28 
    29                     free(fullPath);
    29                     free(fullPath);
    30                 }
    30                 }
    31             }
    31             }
    32     }
    32     }