diff --git a/src/sam.c b/src/sam.c index 3cf7e56..2031e51 100644 --- a/src/sam.c +++ b/src/sam.c @@ -1361,6 +1361,7 @@ do } //while //-------------------------- + // I am sure, but I think the following code is never executed //pos48315: int tempA; phase1 = A ^ 255; @@ -1384,13 +1385,13 @@ do X = 26; // mem[54296] = X; bufferpos += 150; - buffer[bufferpos/scale] = (X & 15)*16; + buffer[bufferpos/50] = (X & 15)*16; } else { //mem[54296] = 6; X=6; bufferpos += 150; - buffer[bufferpos/scale] = (X & 15)*16; + buffer[bufferpos/50] = (X & 15)*16; } for(X = wait2; X>0; X--); //wait