add 'var' where I somehow forgot to in order to satisfy QUnit

This commit is contained in:
Preston Skupinski 2011-05-05 22:42:16 -04:00
parent 17dd04c7d6
commit f613f2b15e

2
cpu.js
View File

@ -107,7 +107,7 @@ var MMU = {
load_rom: function(raw_hex) {
var loc = 0x8000;
byte_buffer = [];
var byte_buffer = [];
for(var i = 0; i < raw_hex.length; i++) {
byte_buffer.push(raw_hex[i]);
if(byte_buffer.length===2) {