We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ae6b6d + 8ece28e commit 2ebf108Copy full SHA for 2ebf108
chip8/emulator.py
@@ -31,6 +31,7 @@ def main_loop(args):
31
cpu = Chip8CPU(screen)
32
cpu.load_rom(FONT_FILE, 0)
33
cpu.load_rom(args.rom)
34
+ pygame.init()
35
pygame.time.set_timer(TIMER, DELAY_INTERVAL)
36
37
while cpu.running:
0 commit comments