Fix typo in sram filenames
This commit is contained in:
parent
7f82daa73d
commit
a4ac7c9d6d
|
@ -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"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue