Skip to content

Commit

Permalink
use simple save extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Polprzewodnikowy committed Jul 3, 2024
1 parent b915a7b commit 2bb4772
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions sw/deployer/src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,17 +291,7 @@ impl Handler {
let filename = &if let Some(path) = path {
path.to_string_lossy().to_string()
} else {
generate_filename(
"save",
match save_writeback.save {
sc64::SaveType::Eeprom4k | sc64::SaveType::Eeprom16k => "eep",
sc64::SaveType::Sram | sc64::SaveType::SramBanked | sc64::SaveType::Sram1m => {
"srm"
}
sc64::SaveType::Flashram => "fla",
_ => "sav",
},
)
generate_filename("save", "sav")
};
match File::create(filename) {
Ok(mut file) => {
Expand Down

0 comments on commit 2bb4772

Please sign in to comment.