fix unused
This commit is contained in:
parent
9789826cf3
commit
289acd0070
1 changed files with 2 additions and 5 deletions
|
@ -1,10 +1,7 @@
|
|||
#![feature(exclusive_range_pattern)]
|
||||
|
||||
use clap::Parser;
|
||||
use std::{
|
||||
fs,
|
||||
io::{self, Read, Write},
|
||||
};
|
||||
use std::{fs, io};
|
||||
|
||||
/// Simple program to greet a person
|
||||
#[derive(Parser, Debug)]
|
||||
|
@ -171,7 +168,7 @@ fn main() {
|
|||
let args = Args::parse();
|
||||
|
||||
let rom: ROM = fs::read(args.rom).expect("Could not load ROM");
|
||||
let bootrom: ROM = fs::read(args.bootrom).expect("Could not load BootROM");
|
||||
let _bootrom: ROM = fs::read(args.bootrom).expect("Could not load BootROM");
|
||||
let mut cpu = CPU {
|
||||
memory: Memory::init(rom),
|
||||
state: State::default(),
|
||||
|
|
Loading…
Add table
Reference in a new issue