mirror of
https://github.com/switchbrew/switch-tools.git
synced 2025-11-09 09:01:17 +01:00
19 lines
337 B
C
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;
|
|
} |