Atari - hook up to the default paths
This commit is contained in:
parent
7b0599bfb5
commit
f3d098a390
BizHawk.MultiClient/config
|
@ -68,6 +68,8 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
switch (system)
|
||||
{
|
||||
case "A26":
|
||||
return Global.Config.BaseAtari;
|
||||
case "NES":
|
||||
return Global.Config.BaseNES;
|
||||
case "SG":
|
||||
|
@ -227,6 +229,9 @@ namespace BizHawk.MultiClient
|
|||
|
||||
switch (sysID)
|
||||
{
|
||||
case "A26":
|
||||
path = PathManager.MakeAbsolutePath(Global.Config.PathAtariROMs, "A26");
|
||||
break;
|
||||
case "NES":
|
||||
path = PathManager.MakeAbsolutePath(Global.Config.PathNESROMs, "NES");
|
||||
break;
|
||||
|
@ -290,6 +295,7 @@ namespace BizHawk.MultiClient
|
|||
|
||||
switch (game.System)
|
||||
{
|
||||
case "A26": return Path.Combine(MakeAbsolutePath(Global.Config.PathAtariSaveRAM, "A26"), name + ".SaveRAM");
|
||||
case "SMS": return Path.Combine(MakeAbsolutePath(Global.Config.PathSMSSaveRAM, "SMS"), name + ".SaveRAM");
|
||||
case "GG": return Path.Combine(MakeAbsolutePath(Global.Config.PathGGSaveRAM, "GG"), name + ".SaveRAM");
|
||||
case "SG": return Path.Combine(MakeAbsolutePath(Global.Config.PathSGSaveRAM, "SG"), name + ".SaveRAM");
|
||||
|
@ -311,6 +317,7 @@ namespace BizHawk.MultiClient
|
|||
name += "." + Path.GetFileNameWithoutExtension(Global.MovieSession.Movie.Filename);
|
||||
switch (game.System)
|
||||
{
|
||||
case "A26": return Path.Combine(MakeAbsolutePath(Global.Config.PathAtariSavestates, "A26"), name);
|
||||
case "SMS": return Path.Combine(MakeAbsolutePath(Global.Config.PathSMSSavestates, "SMS"), name);
|
||||
case "GG": return Path.Combine(MakeAbsolutePath(Global.Config.PathGGSavestates, "GG"), name);
|
||||
case "SG": return Path.Combine(MakeAbsolutePath(Global.Config.PathSGSavestates, "SG"), name);
|
||||
|
@ -330,6 +337,7 @@ namespace BizHawk.MultiClient
|
|||
string name = FilesystemSafeName(game);
|
||||
switch (game.System)
|
||||
{
|
||||
case "A26": return Path.Combine(MakeAbsolutePath(Global.Config.PathAtariScreenshots, "A26"), name);
|
||||
case "SMS": return Path.Combine(MakeAbsolutePath(Global.Config.PathSMSScreenshots, "SMS"), name);
|
||||
case "GG": return Path.Combine(MakeAbsolutePath(Global.Config.PathGGScreenshots, "GG"), name);
|
||||
case "SG": return Path.Combine(MakeAbsolutePath(Global.Config.PathSGScreenshots, "SG"), name);
|
||||
|
|
Loading…
Reference in New Issue