diff options
author | Determinant <ted.sybil@gmail.com> | 2017-11-14 21:45:39 -0500 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2017-11-14 21:45:39 -0500 |
commit | 372f447e6007146e6cfa34d0df7723d4586af249 (patch) | |
tree | 9817b024a149eb64f967e3d0993268a468d129be /src/ppu.rs | |
parent | 4857ed73e80619d6046af223a61242e99e81235a (diff) |
...
Diffstat (limited to 'src/ppu.rs')
-rw-r--r-- | src/ppu.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,6 +4,7 @@ use mos6502::CPU; use core::intrinsics::transmute; pub trait Screen { + #[inline(always)] fn put(&self, x: u8, y: u8, color: u8); fn render(&self); } @@ -538,7 +539,6 @@ impl<'a> PPU<'a> { } } } else if self.scanline == 241 && cycle == 1 { - self.scr.render(); if !self.early_read { self.ppustatus |= PPU::FLAG_VBLANK; } |