Skip to content

Commit

Permalink
Merge pull request #296 from halemmerich/emulator
Browse files Browse the repository at this point in the history
Only log to console if no handler is available
  • Loading branch information
gfwilliams authored May 9, 2024
2 parents 68ff3fa + 6c97d79 commit cda6021
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion emu/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ function jsHandleIO() {
if (ll.length>1) {
if ("undefined" != typeof onConsoleOutput)
onConsoleOutput(ll[0]);
console.log("EMSCRIPTEN:",ll[0]);
else
console.log("EMSCRIPTEN:",ll[0]);
l = ll[1];
}
}
Expand Down

0 comments on commit cda6021

Please sign in to comment.