switch-tools/src/build_romfs.c
SciresM 8b93b8598b Add RomFS Building from directory to elf2nro (#5)
build_romfs, romfsdir support in elf2nro
2018-04-19 14:48:55 -04:00

19 lines
337 B
C

#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "romfs.h"
int main(int argc, char **argv) {
if (argc != 3) {
printf("Usage: %s <in directory> <out RomFS filepath>\n", argv[0]);
return 1;
}
build_romfs_by_paths(argv[1], argv[2]);
printf("Done!\n");
return 0;
}