Skip to content
Snippets Groups Projects

Inversion of loop logic

Merged João Magalhães requested to merge feat/loop into master
1 file
+ 0
4
Compare changes
  • Side-by-side
  • Inline
+ 0
4
@@ -125,10 +125,6 @@ export class Chip8Emulator extends EmulatorLogic implements Emulator {
// marks the vertical blank interrupt effectively indicating
// that a new frame can be drawn from a logical point of view
this.chip8.vblank_wa();
// updates the next update time reference to the, so that it
// can be used to control the game loop
this.nextTickTime += 1000 / this.visualFrequency;
}
/**
Loading