1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-02 20:30:00 +00:00

Record only 8 bits for byte accesses.

This commit is contained in:
Thomas Harte 2022-09-06 20:49:45 -04:00
parent b848b1389a
commit de8ce3380c

View File

@ -374,11 +374,9 @@ void print_transactions(FILE *target, const std::vector<Transaction> &transactio
switch(next->data_strobes) {
default: assert(false);
case 1: fprintf(target, "\".b\", "); break;
case 2: fprintf(target, "\".w\", "); break;
break;
case 1: fprintf(target, "\".b\", %d", next->value & 0xff); break;
case 2: fprintf(target, "\".w\", %d", next->value); break;
}
fprintf(target, "%d", next->value);
++next;
}