fixed gcc build errors
This commit is contained in:
parent
9ab5ac3c13
commit
442f1499f0
2 changed files with 3 additions and 3 deletions
|
@ -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]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue