Files
kichikuou_xsystem35-sdl2/emscripten/library.js
T

11 lines
305 B
JavaScript

mergeInto(LibraryManager.library, {
wait_vsync: function() {
EmterpreterAsync.handle(function(resume) {
window.requestAnimationFrame(function() {
if (ABORT) return; // do this manually; we can't call into Browser.safeSetTimeout, because that is paused/resumed!
resume();
});
});
}
});