Skip to content

Commit

Permalink
Actually read CLI args in emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeOsborn committed Feb 21, 2025
1 parent 9005e1b commit c846cc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/drivers/platform_emscripten.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,9 @@ void emscripten_bootup_mainloop(void *argptr) {
int main(int argc, char *argv[])
{
args_t *args = calloc(sizeof(args_t), 1);

args.argc = argc;
args.argv = argv;

PlatformEmscriptenWatchCanvasSize();
PlatformEmscriptenPowerStateInit();

Expand Down

0 comments on commit c846cc5

Please sign in to comment.