mirror of
https://github.com/trebonian/visual6502.git
synced 2025-01-15 02:30:06 +00:00
All: Fix a hard-coded nodes array length in stateString()
This commit is contained in:
parent
f360557572
commit
86e6e116d7
@ -158,7 +158,7 @@ function allNodes(){
|
|||||||
function stateString(){
|
function stateString(){
|
||||||
var codes = ['l','h'];
|
var codes = ['l','h'];
|
||||||
var res = '';
|
var res = '';
|
||||||
for(var i=0;i<1725;i++){
|
for(var i=0;i<nodes.length;i++){
|
||||||
var n = nodes[i];
|
var n = nodes[i];
|
||||||
if(n==undefined) res+='x';
|
if(n==undefined) res+='x';
|
||||||
else if(i==ngnd) res+='g';
|
else if(i==ngnd) res+='g';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user