Make default character set an array

This commit is contained in:
Michael Kohl 2021-04-01 23:03:47 +07:00
parent 19d8ac4cd4
commit 185796456b
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ fn data_register_to_index(register: Register) -> usize {
}
}
const DEFAULT_CHARACTER_SET: &[u8] = &[
const DEFAULT_CHARACTER_SET: [u8; 80] = [
0xf0, 0x90, 0x90, 0x90, 0xf0, // 0
0x20, 0x60, 0x20, 0x20, 0x70, // 1
0xf0, 0x10, 0xf0, 0x80, 0xf0, // 2