Skip to content

Commit

Permalink
Keep the screen totally black instead of having a red border
Browse files Browse the repository at this point in the history
  • Loading branch information
rgiot committed Jul 5, 2020
1 parent 2358823 commit 333452b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ loop
let code = self.code();
let listing = Listing::from_str(&code).unwrap();
let env = visit_tokens_all_passes(&listing).unwrap();
env.sna().clone()

let mut sna = env.sna().clone();
sna.set_value(SnapshotFlag::GA_PAL(Some(16)), 0x54).unwrap();
sna
}

}

0 comments on commit 333452b

Please sign in to comment.