From 904c18222ec50929aa8f6b397ff0b90ec47d97a4 Mon Sep 17 00:00:00 2001 From: Determinant Date: Thu, 16 Nov 2017 17:39:44 -0500 Subject: reintroduce the cpu stall --- src/ppu.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ppu.rs b/src/ppu.rs index 9938373..c0f5379 100644 --- a/src/ppu.rs +++ b/src/ppu.rs @@ -179,11 +179,9 @@ impl<'a> PPU<'a> { self.oamaddr = self.oamaddr.wrapping_add(1); } } - /* cpu.cycle += 1; cpu.cycle += cpu.cycle & 1; cpu.cycle += 512; - */ } #[inline(always)] fn get_spritesize(&self) -> u8 {(self.ppuctl >> 5) & 1} -- cgit v1.2.3-70-g09d2