snes9x - stuff core name into savestate filenames
This commit is contained in:
parent
4ae0b2cd22
commit
8816f38645
|
@ -7,6 +7,7 @@ using BizHawk.Common.StringExtensions;
|
||||||
using BizHawk.Emulation.Common;
|
using BizHawk.Emulation.Common;
|
||||||
using BizHawk.Emulation.Common.IEmulatorExtensions;
|
using BizHawk.Emulation.Common.IEmulatorExtensions;
|
||||||
using BizHawk.Emulation.Cores.Nintendo.SNES;
|
using BizHawk.Emulation.Cores.Nintendo.SNES;
|
||||||
|
using BizHawk.Emulation.Cores.Nintendo.SNES9X;
|
||||||
|
|
||||||
namespace BizHawk.Client.Common
|
namespace BizHawk.Client.Common
|
||||||
{
|
{
|
||||||
|
@ -355,6 +356,11 @@ namespace BizHawk.Client.Common
|
||||||
name += "." + Global.Emulator.Attributes().CoreName;
|
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
|
// Bsnes profiles have incompatible savestates so save the profile name
|
||||||
if (Global.Emulator is LibsnesCore)
|
if (Global.Emulator is LibsnesCore)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue