Browse Source

Fix chars mode.

master
Juergen Stuber 2 years ago
parent
commit
7db7664217
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/bin/chars/main.rs

+ 1
- 1
src/bin/chars/main.rs View File

@ -69,7 +69,7 @@ fn main() -> std::io::Result<()> {
for i in start_index..(start_index + 8) {
let b = buffer[i];
for j in 0..8 {
frame[y][x] = {
frame[y * 8 + i][x * 8 + j] = {
if b & (1 << j) != 0 {
color
} else {


Loading…
Cancel
Save