Do not print out similarities of 3 bytes

This commit is contained in:
Rikard Nordgren authored and FeralChild64 committed 2026-05-09 17:01:44 +02:00
1 parent 781ad9ee6c
commit a587990f3e
1 file changed
+11 -9
+11 -9
View File
@@ -305,16 +305,18 @@ int main(int argc,char **argv)
fclose(f); fclose(f);
} }
// Otherwise, the match is unexplained. if (k > 3) {
matches[k]++;
// Otherwise, the match is unexplained.
// Display particularly long matches matches[k]++;
printf("$%04X = $%04X :",i,j);
for(int b=0;b<k;b++) { // Display particularly long matches
printf(" %02X",f1[i+b]); printf("$%04X = $%04X :",i,j);
for(int b=0;b<k;b++) {
printf(" %02X",f1[i+b]);
}
printf("\n");
} }
printf("\n");
} }
} }
} }