Changed splash screen.
h3rald h3rald@h3rald.com
Mon, 02 Dec 2024 11:40:51 +0000
1 files changed,
9 insertions(+),
6 deletions(-)
jump to
M
hex.c
→
hex.c
@@ -3884,18 +3884,21 @@
// REPL implementation void hex_repl(hex_context_t *ctx) { +#ifdef __EMSCRIPTEN__ + printf(" _*_ _\n"); + printf(" / \\hex\\*\n"); + printf(" *\\_/_/_/ v%s - WASM Build\n", HEX_VERSION); + printf(" *\n"); + int fps = 0; + int simulate_infinite_loop = 1; + emscripten_set_main_loop_arg(do_repl, ctx, fps, simulate_infinite_loop); +#else printf(" _*_ _\n"); printf(" / \\hex\\*\n"); printf(" *\\_/_/_/ v%s - Press Ctrl+C to exit.\n", HEX_VERSION); printf(" *\n"); - -#ifdef __EMSCRIPTEN__ - int fps = 0; - int simulate_infinite_loop = 1; - emscripten_set_main_loop_arg(do_repl, ctx, fps, simulate_infinite_loop); -#else while (1) {