aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2017-11-16 17:39:44 -0500
committerDeterminant <[email protected]>2017-11-16 17:39:44 -0500
commit904c18222ec50929aa8f6b397ff0b90ec47d97a4 (patch)
tree545d5bf26b5e0902951f7778c0e452a3093d46f4 /src
parent1e648e94a810b6c7b629da9aee6286a8c254da2c (diff)
reintroduce the cpu stall
Diffstat (limited to 'src')
-rw-r--r--src/ppu.rs2
1 files changed, 0 insertions, 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}