diff --git a/src/window.rs b/src/window.rs index f1b6dff..ae99b56 100644 --- a/src/window.rs +++ b/src/window.rs @@ -238,8 +238,9 @@ pub fn run(width: i32, height: i32, target_fps: u32) { .enumerate() .for_each(|(y, chunk)| { for x in 0..width { - //let p = window_state.palette[screen_data[x + y * width] as usize]; - let p = 0; + let p = + window_state.palette[screen_data[x + y * width] as usize]; + //let p = 0; for scaley in 0..scale { for scalex in 0..scale { let sx = x * scale + scalex;