MCPcopy Create free account
hub / github.com/crownengine/crown / html5_save_game_flush_ok

Function html5_save_game_flush_ok

src/device/save_game.cpp:142–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142static bool html5_save_game_flush_ok()
143{
144 // code-format off
145 return MAIN_THREAD_EM_ASM_INT({
146 var s = Module.CrownSaveGame;
147 return s && !s.error && !s.syncError ? 1 : 0;
148 }) != 0;
149 // code-format on
150}
151#endif // if CROWN_PLATFORM_EMSCRIPTEN
152
153/// Asynchronous save game service.

Callers 1

process_requestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected