Emscripten port https://github.com/midzer/fheroes2 took me over 24 hours due removal of multi-threaded code - and rather slow compile laptop. Currently Browser Audio API can't run in a worker at all. PThreads are stable in Emscripten but can make issues for example if main thread is blocked via mutexes.Based on Original port https://github.com/ihhub/fheroes2 THX!