put core name into nes savestates

This commit is contained in:
adelikat 2014-05-04 13:20:59 +00:00
parent 691cbaa0c1
commit e99b370654
1 changed files with 6 additions and 1 deletions

View File

@ -263,7 +263,12 @@ namespace BizHawk.Client.Common
public static string SaveStatePrefix(GameInfo game)
{
var name = FilesystemSafeName(game);
if (Global.Emulator.SystemId == "NES")
{
name += "." + Global.Emulator.Attributes().CoreName;
}
if (Global.MovieSession.Movie.IsActive)
{
name += "." + Path.GetFileNameWithoutExtension(Global.MovieSession.Movie.Filename);