fixed gcc build errors

This commit is contained in:
Lauchmelder 2021-10-30 19:49:02 +02:00
parent 9ab5ac3c13
commit 442f1499f0
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ void logBusState(struct Bus* bus)
Word instructionBytes[3];
for (int i = 0; i < bus->cpu->currentOpcode->length; i++)
{
instructionBytes[i] = readBus(bus, oldPC + i, 0);
instructionBytes[i] = readBus(bus, oldPC + i);
sprintf(buffer + 3 * i, "%02X ", instructionBytes[i]);
}