Open sntulix opened 3 years ago
Wow! I see 98's font is displayed first. Emscripten has SDL, I hope work NP2kai very much! But Emscripten is growing up too. Tune building and working params steady.
Regard.
Hi. I refined the params. Next, I will do debug about the error of WASM=1. I think it may be faster than WASM=0.
Progress: https://github.com/sntulix/NP2kai/tree/emnp21kai-debug-performance
Note: https://github.com/sntulix/NP2kai/wiki
Test: https://www.futuregadget.com/file/emnp2kai/
Regards.
I thought it emscriptened wasn't working yet, so I tried it.
emcc v1.39.19 clang version 11.0.0 binaryen version_94
adding option: -s WASM=0 -s ASSERTIONS=2 -g3 -s SAFE_HEAP=1 -s STACK_OVERFLOW_CHECK=1 -s ERROR_ON_UNDEFINED_SYMBOLS=0 -s EXPORT_ALL=1 -s ASYNCIFY=1 -s ALLOW_MEMORY_GROWTH=1
May be, WASM=0 is important so far. When emcc v1.39.x (v1.39.14,v1.39.19) without WASM=0 and v2.0.0, It is not boot me too.