summaryrefslogtreecommitdiffstats
path: root/source/ui.js
diff options
context:
space:
mode:
authorBen Firshman <ben@firshman.co.uk>2010-08-27 15:30:26 +0100
committerBen Firshman <ben@firshman.co.uk>2010-08-27 15:30:26 +0100
commit6da8be591d2cd43f25ce14d3dc7069746edbddb8 (patch)
treefbaad62cda17b932eb7eb2c258d78bd0022a509b /source/ui.js
parent24f7d792ec597538516b2d243bc96cd970490eec (diff)
downloadjsnes-6da8be591d2cd43f25ce14d3dc7069746edbddb8.zip
jsnes-6da8be591d2cd43f25ce14d3dc7069746edbddb8.tar.gz
jsnes-6da8be591d2cd43f25ce14d3dc7069746edbddb8.tar.bz2
Fixed missing variable declaration.
https://bugzilla.mozilla.org/show_bug.cgi?id=590380
Diffstat (limited to 'source/ui.js')
-rw-r--r--source/ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/ui.js b/source/ui.js
index a211a4f..33038f4 100644
--- a/source/ui.js
+++ b/source/ui.js
@@ -224,7 +224,7 @@ if (typeof jQuery !== 'undefined') {
writeFrame: function(buffer, prevBuffer) {
var imageData = this.canvasImageData.data;
- var pixel, j;
+ var pixel, i, j;
for (i=0; i<256*240; i++) {
pixel = buffer[i];