removes uncompressed test results as deflated version is now being used
This commit is contained in:
@@ -36,13 +36,9 @@ fn main() -> Result<()> {
|
||||
app_result
|
||||
}
|
||||
|
||||
|
||||
fn run(mut terminal: DefaultTerminal) -> Result<()> {
|
||||
let mut manager = Chip8ComputerManager::default();
|
||||
manager.load_new_program_from_disk_to_system_memory(Path::new("/home/tmerritt/Projects/trevors_chip8_toy/resources/roms/2-ibm-logo.ch8"));
|
||||
// for _ in 0..30 {
|
||||
// manager.tick();
|
||||
// }
|
||||
loop {
|
||||
manager.tick();
|
||||
terminal.draw(|frame| {
|
||||
@@ -124,7 +120,7 @@ fn do_draw(frame: &mut Frame, draw_with: &mut Chip8ComputerManager) {
|
||||
|
||||
fn handle_keyboard(state: &mut Chip8ComputerManager) -> Result<bool> {
|
||||
let mut die_time = false;
|
||||
if event::poll(Duration::from_millis(100)).context("Unable to poll Keyboard")? {
|
||||
if event::poll(Duration::from_millis(10)).context("Unable to poll Keyboard")? {
|
||||
if let Event::Key(key) = event::read().context("Event Read Failed")? {
|
||||
match key.code {
|
||||
KeyCode::F(1) => {
|
||||
|
||||
Reference in New Issue
Block a user