From 8816f38645f61c8c76e728df7df0e829fb51af6b Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 4 Jun 2017 18:29:27 -0500 Subject: [PATCH] snes9x - stuff core name into savestate filenames --- BizHawk.Client.Common/PathManager.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/BizHawk.Client.Common/PathManager.cs b/BizHawk.Client.Common/PathManager.cs index fa6475fe67..1b5f5c6706 100644 --- a/BizHawk.Client.Common/PathManager.cs +++ b/BizHawk.Client.Common/PathManager.cs @@ -7,6 +7,7 @@ using BizHawk.Common.StringExtensions; using BizHawk.Emulation.Common; using BizHawk.Emulation.Common.IEmulatorExtensions; using BizHawk.Emulation.Cores.Nintendo.SNES; +using BizHawk.Emulation.Cores.Nintendo.SNES9X; namespace BizHawk.Client.Common { @@ -355,6 +356,11 @@ namespace BizHawk.Client.Common name += "." + Global.Emulator.Attributes().CoreName; } + if (Global.Emulator is Snes9x) // Keep snes9x savestate away from libsnes, we want to not be too tedious so bsnes names will just have the profile name not the core name + { + name += "." + Global.Emulator.Attributes().CoreName; + } + // Bsnes profiles have incompatible savestates so save the profile name if (Global.Emulator is LibsnesCore) {