mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-04 05:35:52 +00:00
Fix issues with path assembly
This commit is contained in:
@@ -57,6 +57,7 @@
|
||||
- Slight tweak to automatic UI links
|
||||
- Add hidden language (NovaAurora)
|
||||
- Fix langs
|
||||
- Fix issues with path assembly
|
||||
|
||||
### 3.5.0 (2025-10-10)
|
||||
|
||||
|
||||
@@ -57,10 +57,10 @@ namespace MPF.Processors
|
||||
}
|
||||
|
||||
// Get BCA information, if available
|
||||
info.Extras!.BCA = GetBCA(basePath + $"{basePath}.bca");
|
||||
info.Extras!.BCA = GetBCA($"{basePath}.bca");
|
||||
|
||||
// Get internal information
|
||||
if (GetGameCubeWiiInformation(basePath + $"{basePath}-dumpinfo.txt", out Region? region, out var version, out var internalName, out var serial))
|
||||
if (GetGameCubeWiiInformation($"{basePath}-dumpinfo.txt", out Region? region, out var version, out var internalName, out var serial))
|
||||
{
|
||||
info.CommonDiscInfo.CommentsSpecialFields![SiteCode.InternalName] = internalName ?? string.Empty;
|
||||
info.CommonDiscInfo.CommentsSpecialFields![SiteCode.InternalSerialName] = serial ?? string.Empty;
|
||||
|
||||
@@ -1410,7 +1410,7 @@ namespace MPF.Processors
|
||||
/// <returns>Status of the LibCrypt data, if possible</returns>
|
||||
private static void GetLibCryptDetected(string basePath, out YesNo detected, out string? data)
|
||||
{
|
||||
string subPath = basePath + ".sub";
|
||||
string subPath = $"{basePath}.sub";
|
||||
if (!File.Exists(subPath))
|
||||
{
|
||||
detected = YesNo.NULL;
|
||||
@@ -1426,9 +1426,9 @@ namespace MPF.Processors
|
||||
}
|
||||
|
||||
// Guard against false positives
|
||||
if (File.Exists(basePath + "_subIntention.txt"))
|
||||
if (File.Exists($"{basePath}_subIntention.txt"))
|
||||
{
|
||||
string libCryptData = ProcessingTool.GetFullFile(basePath + "_subIntention.txt") ?? "";
|
||||
string libCryptData = ProcessingTool.GetFullFile($"{basePath}_subIntention.txt") ?? "";
|
||||
if (string.IsNullOrEmpty(libCryptData))
|
||||
{
|
||||
detected = YesNo.No;
|
||||
|
||||
Reference in New Issue
Block a user