From a4ac7c9d6ded817bec8c8308afa52756b20f06e2 Mon Sep 17 00:00:00 2001 From: Simon Gellis Date: Sun, 8 Dec 2024 14:53:11 -0500 Subject: [PATCH] Fix typo in sram filenames --- src/emulator.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"), } }