Fix chars mode.

This commit is contained in:
Juergen Stuber 2018-12-31 20:18:37 +01:00
parent c1be631dcb
commit 7db7664217

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 {