diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2025-06-14 15:11:08 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2025-06-14 15:11:08 +0200 |
| commit | e3a1beda8665f4757aa7cab727fcf3b09419a451 (patch) | |
| tree | b27346d31cd74484295b99acf827d668513e37e1 /tools/extract-data-pod.c | |
| parent | 47a60f0f1c71d6e5bca5d8ee72f0ad7c63e1817c (diff) | |
Embed Sysroot Into Binary
We now embed the PICO-w sysroot files (the WASM blob,
data pod and boot rom) into the final `picow` binary in
order to simplify distribution. This commit adds a new
`generate-sysroot` tool to achieve it.
Diffstat (limited to 'tools/extract-data-pod.c')
| -rw-r--r-- | tools/extract-data-pod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/extract-data-pod.c b/tools/extract-data-pod.c index 50beadc..c9d8cc0 100644 --- a/tools/extract-data-pod.c +++ b/tools/extract-data-pod.c @@ -18,7 +18,7 @@ static inline void ensure(bool cond, char const *msg) { } } -int main(int argc, char *argv[argc + 1]) { +int main(int argc, char *argv[argc]) { if (argc != 3) { printf("Usage: %s <pico8.js> <data.pod>\n", argv[0]); return EXIT_FAILURE; |
