fixed unneeded ppu read access, causing the vram address to be incremented when it shouldnt be
This commit is contained in:
parent
35b67dac5f
commit
2fdae00ff8
6 changed files with 41 additions and 11 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);
|
||||
instructionBytes[i] = readBus(bus, oldPC + i, 0);
|
||||
sprintf(buffer + 3 * i, "%02X ", instructionBytes[i]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue