More CleanRip fixes

This commit is contained in:
Matt Nadareski
2020-06-16 13:25:24 -07:00
parent c507f52b80
commit fb1e4130df
2 changed files with 5 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;