aboutsummaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2026-10-17 14:06:37 +0200
committerNicholas Rodrigues Lordello <[email protected]>2026-10-17 14:06:37 +0200
commit7d29faead63abf66a9ef35606a732ca3493c6fbe (patch)
tree2927b97ef942d3aa3f8c4f2ac4dacab6693d5c4e /src/game.c
parent1aa6444759c2e564f5b99c0cd65f7c2bb134758a (diff)
Add Globals
Note that we fail to build on linking errors - we have a lot of missing `env` functions to implement since moving away from the stub. Now the real fun begins...
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.c b/src/game.c
index fa031a0..84b17f7 100644
--- a/src/game.c
+++ b/src/game.c
@@ -80,7 +80,7 @@ bool pw_game_start(struct pw_game *game, struct pw_multicart *carts) {
.carts = game->carts,
.instance = &game->instance,
});
- wasm2c_pico8_instantiate(&game->instance, game->env);
+ wasm2c_pico8_instantiate(&game->instance, game->env, NULL);
uint32_t argv;
{