diff --git a/src/emulator.rs b/src/emulator.rs index f012196..d0ca5e9 100644 --- a/src/emulator.rs +++ b/src/emulator.rs @@ -77,8 +77,8 @@ impl Cart { fn sram_path(rom_path: &Path, sim_id: SimId) -> PathBuf { match sim_id { - SimId::Player1 => rom_path.with_extension(".p1.sram"), - SimId::Player2 => rom_path.with_extension(".p2.sram"), + SimId::Player1 => rom_path.with_extension("p1.sram"), + SimId::Player2 => rom_path.with_extension("p2.sram"), } }