git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit 9815c3cee36f62eacffbd32f58584ac348296edd

fix print

wanderer committed on 8/6/2016, 2:07:43 AM
Parent: c382a275f9254a5f572a861c59231fb0acfea085

Files changed

debugInterface.jschanged
debugInterface.jsView
@@ -20,12 +20,11 @@
2020 }
2121
2222 get exportTable () {
2323 return {
24- 'print': function (offset, length) {
25- console.log(`<DEBUG(str): ${Uint8ArrayToString(new Uint8Array(this.module.exports.memory, offset, length))}>`)
26- }.bind(this),
27-
24+ 'print': function (a) {
25+ console.log(a)
26+ },
2827 'printHex': function (offset, length) {
2928 console.log(`<DEBUG(hex): ${Uint8ArrayToHexString(new Uint8Array(this.module.exports.memory, offset, length))}>`)
3029 }.bind(this),
3130

Built with git-ssb-web