Skip to content

Commit

Permalink
update pre.js for asm
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken committed Apr 24, 2013
1 parent 7c5c571 commit cc0a926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pre.js
Expand Up @@ -3,7 +3,7 @@ Module['noExitRuntime'] = true;
Module['postRun'] = function() {
function doOne() {
//console.log('zz doOne ' + Date.now());
_OneMainLoopIteration();
Module['_OneMainLoopIteration']();
setTimeout(doOne, 1000/40); // Game expects to run at 40fps
}
doOne();
Expand Down

0 comments on commit cc0a926

Please sign in to comment.