snes-support SNES subdirectory for sram and such
This commit is contained in:
parent
f5c0965045
commit
d02f925e13
|
@ -66,6 +66,13 @@ namespace BizHawk.MultiClient
|
||||||
public string PathNESCheats = Path.Combine(".", "Cheats");
|
public string PathNESCheats = Path.Combine(".", "Cheats");
|
||||||
public string PathNESPalette = Path.Combine(".", "Palettes");
|
public string PathNESPalette = Path.Combine(".", "Palettes");
|
||||||
|
|
||||||
|
public string BaseSNES = Path.Combine(".", "SNES");
|
||||||
|
public string PathSNESROMs = ".";
|
||||||
|
public string PathSNESSavestates = Path.Combine(".", "State");
|
||||||
|
public string PathSNESSaveRAM = Path.Combine(".", "SaveRAM");
|
||||||
|
public string PathSNESScreenshots = Path.Combine(".", "Screenshots");
|
||||||
|
public string PathSNESCheats = Path.Combine(".", "Cheats");
|
||||||
|
|
||||||
public string BaseSMS = Path.Combine(".", "SMS");
|
public string BaseSMS = Path.Combine(".", "SMS");
|
||||||
public string PathSMSROMs = ".";
|
public string PathSMSROMs = ".";
|
||||||
public string PathSMSSavestates = Path.Combine(".", "State");
|
public string PathSMSSavestates = Path.Combine(".", "State");
|
||||||
|
|
|
@ -88,6 +88,8 @@ namespace BizHawk.MultiClient
|
||||||
return Global.Config.BaseGenesis;
|
return Global.Config.BaseGenesis;
|
||||||
case "GB":
|
case "GB":
|
||||||
return Global.Config.BaseGameboy;
|
return Global.Config.BaseGameboy;
|
||||||
|
case "SNES":
|
||||||
|
return Global.Config.BaseSNES;
|
||||||
case "NULL":
|
case "NULL":
|
||||||
default:
|
default:
|
||||||
return "";
|
return "";
|
||||||
|
@ -229,6 +231,9 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
switch (sysID)
|
switch (sysID)
|
||||||
{
|
{
|
||||||
|
case "SNES":
|
||||||
|
path = PathManager.MakeAbsolutePath(Global.Config.PathSNESROMs, "SNES");
|
||||||
|
break;
|
||||||
case "A26":
|
case "A26":
|
||||||
path = PathManager.MakeAbsolutePath(Global.Config.PathAtariROMs, "A26");
|
path = PathManager.MakeAbsolutePath(Global.Config.PathAtariROMs, "A26");
|
||||||
break;
|
break;
|
||||||
|
@ -309,6 +314,7 @@ namespace BizHawk.MultiClient
|
||||||
case "GEN": return Path.Combine(MakeAbsolutePath(Global.Config.PathGenesisSaveRAM, "GEN"), name + ".SaveRAM");
|
case "GEN": return Path.Combine(MakeAbsolutePath(Global.Config.PathGenesisSaveRAM, "GEN"), name + ".SaveRAM");
|
||||||
case "NES": return Path.Combine(MakeAbsolutePath(Global.Config.PathNESSaveRAM, "NES"), name + ".SaveRAM");
|
case "NES": return Path.Combine(MakeAbsolutePath(Global.Config.PathNESSaveRAM, "NES"), name + ".SaveRAM");
|
||||||
case "TI83": return Path.Combine(MakeAbsolutePath(Global.Config.PathTI83SaveRAM, "TI83"), name + ".SaveRAM");
|
case "TI83": return Path.Combine(MakeAbsolutePath(Global.Config.PathTI83SaveRAM, "TI83"), name + ".SaveRAM");
|
||||||
|
case "SNES": return Path.Combine(MakeAbsolutePath(Global.Config.PathSNESSaveRAM, "SNES"), name + ".SaveRAM");
|
||||||
default: return Path.Combine(GetBasePathAbsolute(), name + ".SaveRAM");
|
default: return Path.Combine(GetBasePathAbsolute(), name + ".SaveRAM");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -329,6 +335,7 @@ namespace BizHawk.MultiClient
|
||||||
case "GEN": return MakeAbsolutePath(Global.Config.PathGenesisSavestates, "GEN");
|
case "GEN": return MakeAbsolutePath(Global.Config.PathGenesisSavestates, "GEN");
|
||||||
case "NES": return MakeAbsolutePath(Global.Config.PathNESSavestates, "NES");
|
case "NES": return MakeAbsolutePath(Global.Config.PathNESSavestates, "NES");
|
||||||
case "TI83": return MakeAbsolutePath(Global.Config.PathTI83Savestates, "TI83");
|
case "TI83": return MakeAbsolutePath(Global.Config.PathTI83Savestates, "TI83");
|
||||||
|
case "SNES": return MakeAbsolutePath(Global.Config.PathSNESSavestates, "SNES");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -354,6 +361,7 @@ namespace BizHawk.MultiClient
|
||||||
case "GEN": return Path.Combine(MakeAbsolutePath(Global.Config.PathGenesisSavestates, "GEN"), name);
|
case "GEN": return Path.Combine(MakeAbsolutePath(Global.Config.PathGenesisSavestates, "GEN"), name);
|
||||||
case "NES": return Path.Combine(MakeAbsolutePath(Global.Config.PathNESSavestates, "NES"), name);
|
case "NES": return Path.Combine(MakeAbsolutePath(Global.Config.PathNESSavestates, "NES"), name);
|
||||||
case "TI83": return Path.Combine(MakeAbsolutePath(Global.Config.PathTI83Savestates, "TI83"), name);
|
case "TI83": return Path.Combine(MakeAbsolutePath(Global.Config.PathTI83Savestates, "TI83"), name);
|
||||||
|
case "SNES": return Path.Combine(MakeAbsolutePath(Global.Config.PathSNESSavestates, "SNES"), name);
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
@ -374,6 +382,7 @@ namespace BizHawk.MultiClient
|
||||||
case "GEN": return Path.Combine(MakeAbsolutePath(Global.Config.PathGenesisScreenshots, "GEN"), name);
|
case "GEN": return Path.Combine(MakeAbsolutePath(Global.Config.PathGenesisScreenshots, "GEN"), name);
|
||||||
case "NES": return Path.Combine(MakeAbsolutePath(Global.Config.PathNESScreenshots, "NES"), name);
|
case "NES": return Path.Combine(MakeAbsolutePath(Global.Config.PathNESScreenshots, "NES"), name);
|
||||||
case "TI83": return Path.Combine(MakeAbsolutePath(Global.Config.PathTI83Screenshots, "TI83"), name);
|
case "TI83": return Path.Combine(MakeAbsolutePath(Global.Config.PathTI83Screenshots, "TI83"), name);
|
||||||
|
case "SNES": return Path.Combine(MakeAbsolutePath(Global.Config.PathSNESScreenshots, "SNES"), name);
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue