mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
More CleanRip fixes
This commit is contained in:
@@ -121,6 +121,7 @@ namespace DICUI.CleanRip
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case MediaType.DVD: // Only added here to help users; not strictly correct
|
||||
case MediaType.NintendoGameCubeGameDisc:
|
||||
case MediaType.NintendoWiiOpticalDisc:
|
||||
return File.Exists(basePath + "-dumpinfo.txt")
|
||||
@@ -168,8 +169,8 @@ namespace DICUI.CleanRip
|
||||
|
||||
if (GetGameCubeWiiInformation(basePath + "-dumpinfo.txt", out Region? gcRegion, out string gcVersion))
|
||||
{
|
||||
info.CommonDiscInfo.Region = info.CommonDiscInfo.Region ?? gcRegion;
|
||||
info.VersionAndEditions.Version = string.IsNullOrEmpty(info.VersionAndEditions.Version) ? gcVersion : info.VersionAndEditions.Version;
|
||||
info.CommonDiscInfo.Region = gcRegion ?? info.CommonDiscInfo.Region;
|
||||
info.VersionAndEditions.Version = gcVersion ?? info.VersionAndEditions.Version;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
@@ -118,6 +118,7 @@ namespace DICUI.Utilities
|
||||
|
||||
// https://en.wikipedia.org/wiki/GameCube
|
||||
case KnownSystem.NintendoGameCube:
|
||||
types.Add(MediaType.DVD); // Only added here to help users; not strictly correct
|
||||
types.Add(MediaType.NintendoGameCubeGameDisc);
|
||||
break;
|
||||
|
||||
@@ -128,6 +129,7 @@ namespace DICUI.Utilities
|
||||
|
||||
// https://en.wikipedia.org/wiki/Wii
|
||||
case KnownSystem.NintendoWii:
|
||||
types.Add(MediaType.DVD); // Only added here to help users; not strictly correct
|
||||
types.Add(MediaType.NintendoWiiOpticalDisc);
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user