Add funworld Photo Play detection (fixes #650)

This commit is contained in:
Matt Nadareski
2024-02-15 12:56:30 -05:00
parent 6a6871e922
commit cac6c3049b
2 changed files with 16 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
- Make Redumper the default for new users
- Fix DIC log parsing for SS version
- Write outputs with UTF-8
- Add funworld Photo Play detection
### 3.1.0 (2024-02-06)

View File

@@ -83,7 +83,7 @@ namespace MPF.Core.Data
InfoTool.GetPlayStationExecutableInfo(this.Name, out string? serial, out _, out _);
volumeLabel = serial ?? "track";
break;
default:
volumeLabel = "track";
break;
@@ -282,6 +282,17 @@ namespace MPF.Core.Data
return systemFromLabel;
// Get a list of files for quicker checking
#region Arcade
// funworld Photo Play
if (File.Exists(Path.Combine(this.Name, "PP.INF"))
&& Directory.Exists(Path.Combine(this.Name, "PPINC")))
{
return RedumpSystem.funworldPhotoPlay;
}
#endregion
#region Consoles
// Bandai Playdia Quick Interactive System
@@ -439,7 +450,7 @@ namespace MPF.Core.Data
return RedumpSystem.VTechVFlashVSmilePro;
}
#endregion
#endregion
#region Computers
@@ -530,7 +541,7 @@ namespace MPF.Core.Data
}
catch { }
#endregion
#endregion
// Default return
return defaultValue;
@@ -596,7 +607,7 @@ namespace MPF.Core.Data
this.PopulateFromDriveInfo(driveInfo);
}
#endregion
#endregion
#region Helpers