Fix typo in sram filenames

This commit is contained in:
Simon Gellis 2024-12-08 14:53:11 -05:00
parent 7f82daa73d
commit a4ac7c9d6d
1 changed files with 2 additions and 2 deletions

View File

@ -77,8 +77,8 @@ impl Cart {
fn sram_path(rom_path: &Path, sim_id: SimId) -> PathBuf { fn sram_path(rom_path: &Path, sim_id: SimId) -> PathBuf {
match sim_id { match sim_id {
SimId::Player1 => rom_path.with_extension(".p1.sram"), SimId::Player1 => rom_path.with_extension("p1.sram"),
SimId::Player2 => rom_path.with_extension(".p2.sram"), SimId::Player2 => rom_path.with_extension("p2.sram"),
} }
} }