cpu.rs: Refactor dump(&self) to do fewer allocations

This commit is contained in:
2023-03-25 18:32:45 -05:00
parent 47fa41fd01
commit edd2b60665
2 changed files with 31 additions and 18 deletions

View File

@@ -1,6 +1,5 @@
//! A disassembler for Chip-8 opcodes
use super::{Adr, Nib, Reg};
use owo_colors::{OwoColorize, Style};
type Ins = Nib;