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
+10 -8
+10 -8
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]++;
// Display particularly long matches // Otherwise, the match is unexplained.
printf("$%04X = $%04X :",i,j); matches[k]++;
for(int b=0;b<k;b++) {
printf(" %02X",f1[i+b]); // Display particularly long matches
printf("$%04X = $%04X :",i,j);
for(int b=0;b<k;b++) {
printf(" %02X",f1[i+b]);
}
printf("\n");
} }
printf("\n");
} }
} }
} }