fixed unneeded ppu read access, causing the vram address to be incremented when it shouldnt be

This commit is contained in:
Lauchmelder 2021-10-30 19:36:32 +02:00
parent 35b67dac5f
commit 2fdae00ff8
6 changed files with 41 additions and 11 deletions

View file

@ -34,7 +34,7 @@ struct Bus* createBus(SDL_Renderer* renderer)
memset(bus->ram, 0x00, 0x18);
// Create and insert cartridge
bus->cartridge = createCartridge(bus, "roms/donkeykong.nes");
bus->cartridge = createCartridge(bus, "roms/nestest.nes");
// Create CPU and attach it
bus->cpu = createCPU(bus);