switch global used from "window" to "this" for node.js support

This commit is contained in:
Preston Skupinski 2012-05-31 08:46:24 -04:00
parent 351218b5b0
commit 23b595ba74
1 changed files with 1 additions and 1 deletions

2
cpu.js
View File

@ -3937,4 +3937,4 @@ window.CPU_65816 = function() {
this.cycle_count = 0;
};
};
})(window);
})(this);