Bring unreleased cores in PathConfig in line with core attributes

effectively:
- show 32X in all builds (was never shown)
- show GGL and PS2 in dev builds (was never shown)
- show GB4x and O2 in non-dev builds (was shown only in dev builds)
- hide MSX in non-dev builds (was always shown)
This commit is contained in:
YoshiRulz 2021-11-15 20:03:26 +10:00
parent 908d4519c5
commit d5fdbaf013
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
2 changed files with 25 additions and 1 deletions

View File

@ -57,6 +57,9 @@ namespace BizHawk.Client.Common
[VSystemID.Raw.MSX] = "MSX",
[VSystemID.Raw.UZE] = "UZE",
[VSystemID.Raw.NDS] = "NDS",
[VSystemID.Raw.Sega32X] = "Sega 32X",
[VSystemID.Raw.GGL] = "Dual Game Gear",
[VSystemID.Raw.PS2] = "Playstation 2",
};
public static string GetDisplayNameFor(string sysID)
@ -417,6 +420,27 @@ namespace BizHawk.Client.Common
new(VSystemID.Raw.NDS, 3, "Save RAM", Path.Combine(".", "SaveRAM")),
new(VSystemID.Raw.NDS, 4, "Screenshots", Path.Combine(".", "Screenshots")),
new(VSystemID.Raw.NDS, 5, "Cheats", Path.Combine(".", "Cheats")),
new(VSystemID.Raw.Sega32X, 0, "Base", Path.Combine(".", "32X")),
new(VSystemID.Raw.Sega32X, 1, "ROM", "."),
new(VSystemID.Raw.Sega32X, 2, "Savestates", Path.Combine(".", "State")),
new(VSystemID.Raw.Sega32X, 3, "Save RAM", Path.Combine(".", "SaveRAM")),
new(VSystemID.Raw.Sega32X, 4, "Screenshots", Path.Combine(".", "Screenshots")),
new(VSystemID.Raw.Sega32X, 5, "Cheats", Path.Combine(".", "Cheats")),
new(VSystemID.Raw.GGL, 0, "Base", Path.Combine(".", "Dual Game Gear")),
new(VSystemID.Raw.GGL, 1, "ROM", "."),
new(VSystemID.Raw.GGL, 2, "Savestates", Path.Combine(".", "State")),
new(VSystemID.Raw.GGL, 3, "Save RAM", Path.Combine(".", "SaveRAM")),
new(VSystemID.Raw.GGL, 4, "Screenshots", Path.Combine(".", "Screenshots")),
new(VSystemID.Raw.GGL, 5, "Cheats", Path.Combine(".", "Cheats")),
new(VSystemID.Raw.PS2, 0, "Base", Path.Combine(".", "PS2")),
new(VSystemID.Raw.PS2, 1, "ROM", "."),
new(VSystemID.Raw.PS2, 2, "Savestates", Path.Combine(".", "State")),
new(VSystemID.Raw.PS2, 3, "Save RAM", Path.Combine(".", "SaveRAM")),
new(VSystemID.Raw.PS2, 4, "Screenshots", Path.Combine(".", "Screenshots")),
new(VSystemID.Raw.PS2, 5, "Cheats", Path.Combine(".", "Cheats")),
};
}
}

View File

@ -27,7 +27,7 @@ namespace BizHawk.Client.EmuHawk
return;
}
string[] coresToHide = { VSystemID.Raw.GB4x, VSystemID.Raw.O2, VSystemID.Raw.ChannelF, VSystemID.Raw.AmstradCPC };
string[] coresToHide = { VSystemID.Raw.AmstradCPC, VSystemID.Raw.ChannelF, VSystemID.Raw.GGL, VSystemID.Raw.MSX, VSystemID.Raw.PS2 };
foreach (var core in coresToHide)
{