mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Updaed colours again. I'm being picky
This commit is contained in:
+3
-3
@@ -206,20 +206,20 @@ int main(int argc, char **argv) {
|
||||
printf("%sUnable to calculate CRC%s\n",RED, NO_COL);
|
||||
}
|
||||
else {
|
||||
printf("%sCRC 1: %s0x%08X%s ", GREEN, BLUE, BYTES2LONG(&buffer[N64_CRC1]), NO_COL);
|
||||
printf("%sCRC 1: %s0x%08X%s ", GREEN, YELLOW, BYTES2LONG(&buffer[N64_CRC1]), NO_COL);
|
||||
if (crc[0] == (unsigned int) BYTES2LONG(&buffer[N64_CRC1])) {
|
||||
printf("%sCalculated: %s0x%08X%s ",GREEN, YELLOW, crc[0], NO_COL);
|
||||
printf("%s(Good)%s\n",GREEN, NO_COL);
|
||||
}
|
||||
else {
|
||||
printf("%sCalculated: %s0x%08X%s ",GREEN, RED, crc[0], NO_COL);
|
||||
printf("%sCalculated: %s0x%08X%s ",GREEN, RED, crc[0], NO_COL);
|
||||
Write32(buffer, N64_CRC1, crc[0]);
|
||||
fseek(fin, N64_CRC1, SEEK_SET);
|
||||
fwrite(&buffer[N64_CRC1], 1, 4, fin);
|
||||
printf("%s(Bad, fixed)%s\n",RED, NO_COL);
|
||||
}
|
||||
|
||||
printf("%sCRC 2: %s0x%08X%s ",GREEN, BLUE, BYTES2LONG(&buffer[N64_CRC2]), NO_COL);
|
||||
printf("%sCRC 2: %s0x%08X%s ",GREEN, YELLOW, BYTES2LONG(&buffer[N64_CRC2]), NO_COL);
|
||||
if (crc[1] == (unsigned int) BYTES2LONG(&buffer[N64_CRC2])) {
|
||||
printf("%sCalculated: %s0x%08X%s ",GREEN, YELLOW, crc[1], NO_COL);
|
||||
printf("%s(Good)%s\n", GREEN, NO_COL);
|
||||
|
||||
Reference in New Issue
Block a user