Permalink
Browse files

fix arguments to heap set

  • Loading branch information...
1 parent 2ff0f94 commit 1eade305040f115cfbe20c37a1682c1861589ae6 @mental committed Jun 1, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/js/retrograph.tmpl.js
@@ -81,7 +81,7 @@ var Retrograph = (function () {
} else {
buffer = Module._malloc(dataLength);
}
- Module.HEAP8.set(start, buffer);
+ Module.HEAP8.set(data, buffer);
retrograph_write(this._vdu, startAddress, buffer, dataLength);
if (!useTransferBuffer) {
Module._free(buffer);

0 comments on commit 1eade30

Please sign in to comment.