From 97168aaf30c64c688e0057f28f1f2375b4c40520 Mon Sep 17 00:00:00 2001 From: Henrique Alves Date: Thu, 25 Apr 2024 14:20:17 +0300 Subject: Fix basic counting on web --- sources/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sources') diff --git a/sources/main.c b/sources/main.c index 4d5497c..309e8c3 100644 --- a/sources/main.c +++ b/sources/main.c @@ -21,7 +21,7 @@ EM_BOOL main_loop_web(double time, void* userData) { BeginDrawing(); ClearBackground(BLUE); - //s7_call(s7, s7_draw_fn, s7_list(s7, 0)); + s7_call(s7, s7_draw_fn, s7_list(s7, 0)); EndDrawing(); return EM_TRUE; } @@ -49,6 +49,7 @@ int main(int argc, char* argv[]) { SetTargetFPS(60); char filename[] = SCRIPTS_PATH"main.scm"; + s7_load(s7, filename); s7_update_fn = s7_name_to_value(s7, "update"); -- cgit v1.2.3