Skip to content

Commit

Permalink
Fix Formatting 2
Browse files Browse the repository at this point in the history
  • Loading branch information
silverhadch authored Oct 23, 2024
1 parent b37280f commit e7f70ee
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions plastic_tui/src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,10 @@ impl Ui {
return None;
}

let base_saved_states_dir = base_save_state_folder()?;
let filename = self.nes.save_state_file_name(slot)?;
Some(base_saved_states_dir.join(filename))
let base_saved_states_dir = base_save_state_folder()?;
let filename = self.nes.save_state_file_name(slot)?;

Some(base_saved_states_dir.join(filename))
}


Expand Down Expand Up @@ -535,12 +536,12 @@ impl Ui {
}
}
disable_raw_mode().unwrap();
execute!(
io::stdout(),
Show,
LeaveAlternateScreen,
PopKeyboardEnhancementFlags,
)
execute!(
io::stdout(),
Show,
LeaveAlternateScreen,
PopKeyboardEnhancementFlags,
)
.unwrap();
}
}

0 comments on commit e7f70ee

Please sign in to comment.