Emscripten fixes

This commit is contained in:
Yousef Khadadeh 2026-05-14 14:39:34 +03:00
parent ad1844adc7
commit c083ccc1a9
9 changed files with 60 additions and 18 deletions

View file

@ -92,6 +92,7 @@ void MainProgram::update() {
g.update();
screen->update();
background_update();
NetThreadManager::get().synchronous_update();
post_callback();
}
@ -183,10 +184,6 @@ void MainProgram::load_config() {
}
catch(...) {}
} catch(...) {}
#ifdef __EMSCRIPTEN__
else
conf.viewWebVersionWelcome = true;
#endif
conf.load_palettes();
g.load_theme(conf.configPath, conf.themeCurrentlyLoaded);
conf.load_licenses();