src/emulator/NES.js
// Step to the next frame by steping everything until the frames changes
Step to the next frame by steping everything until the frames changes
Step to the next frame by steping everything until the frames changes
stepFrame() {
        var cpuCycles = 0
        var frameCounter = this.PPU.getFrameCounter();
        while (frameCounter !== this.PPU.getFrameCounter()) {
            cpuCycles += this.step()
        }
        return cpuCycles
    }
stepFrame ( ) { var cpuCycles = 0 var frameCounter = this . PPU . getFrameCounter ( ) ; while ( frameCounter !== this . PPU . getFrameCounter ( ) ) { cpuCycles += this . step ( ) } return cpuCycles }
Step to the next frame by steping everything until the frames changes
Step to the next frame by steping everything until the frames changes