diff options
-rw-r--r-- | src/bin.rs | 4 | ||||
-rw-r--r-- | src/ppu.rs | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -2,8 +2,8 @@ extern crate core; use std::fs::File; use std::io::Read; -use core::cell::RefCell; -use core::intrinsics::transmute; +use std::cell::RefCell; +use std::intrinsics::transmute; use std::time::{Instant, Duration}; use std::thread::sleep; @@ -440,7 +440,7 @@ impl<'a> PPU<'a> { 0 => 0, _ => bg } - })); + }) & 0x3f); } pub fn new(mem: PPUMemory<'a>, scr: &'a mut Screen) -> Self { |