From 497e2a09fdafa1b47bec46f08cbdd8e92e45c0ac Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Tue, 8 Sep 2020 22:41:36 -0700 Subject: [PATCH] Add as many default regions as possible --- DICUI.Library/Utilities/DumpEnvironment.cs | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/DICUI.Library/Utilities/DumpEnvironment.cs b/DICUI.Library/Utilities/DumpEnvironment.cs index 9047d0b7..d2acc33f 100644 --- a/DICUI.Library/Utilities/DumpEnvironment.cs +++ b/DICUI.Library/Utilities/DumpEnvironment.cs @@ -836,6 +836,10 @@ namespace DICUI.Utilities // Extract info based specifically on KnownSystem switch (System) { + case KnownSystem.AcornArchimedes: + info.CommonDiscInfo.Region = info.CommonDiscInfo.Region ?? Region.UK; + break; + case KnownSystem.AppleMacintosh: case KnownSystem.EnhancedCD: case KnownSystem.IBMPCCompatible: @@ -857,6 +861,7 @@ namespace DICUI.Utilities case KnownSystem.BandaiPlaydiaQuickInteractiveSystem: info.CommonDiscInfo.EXEDateBuildDate = (this.AddPlaceholders ? Template.RequiredValue : ""); + info.CommonDiscInfo.Region = info.CommonDiscInfo.Region ?? Region.Japan; break; case KnownSystem.BDVideo: @@ -870,10 +875,12 @@ namespace DICUI.Utilities case KnownSystem.CommodoreAmigaCD32: info.CommonDiscInfo.EXEDateBuildDate = (this.AddPlaceholders ? Template.RequiredValue : ""); + info.CommonDiscInfo.Region = info.CommonDiscInfo.Region ?? Region.Europe; break; case KnownSystem.CommodoreAmigaCDTV: info.CommonDiscInfo.EXEDateBuildDate = (this.AddPlaceholders ? Template.RequiredValue : ""); + info.CommonDiscInfo.Region = info.CommonDiscInfo.Region ?? Region.Europe; break; case KnownSystem.DVDVideo: @@ -882,6 +889,11 @@ namespace DICUI.Utilities case KnownSystem.FujitsuFMTowns: info.CommonDiscInfo.EXEDateBuildDate = (this.AddPlaceholders ? Template.RequiredValue : ""); + info.CommonDiscInfo.Region = info.CommonDiscInfo.Region ?? Region.Japan; + break; + + case KnownSystem.FujitsuFMTownsMarty: + info.CommonDiscInfo.Region = info.CommonDiscInfo.Region ?? Region.Japan; break; case KnownSystem.IncredibleTechnologiesEagle: @@ -918,10 +930,20 @@ namespace DICUI.Utilities case KnownSystem.NavisoftNaviken21: info.CommonDiscInfo.EXEDateBuildDate = (this.AddPlaceholders ? Template.RequiredValue : ""); + info.CommonDiscInfo.Region = info.CommonDiscInfo.Region ?? Region.Japan; + break; + + case KnownSystem.NECPC88: + info.CommonDiscInfo.Region = info.CommonDiscInfo.Region ?? Region.Japan; break; case KnownSystem.NECPC98: info.CommonDiscInfo.EXEDateBuildDate = (this.AddPlaceholders ? Template.RequiredValue : ""); + info.CommonDiscInfo.Region = info.CommonDiscInfo.Region ?? Region.Japan; + break; + + case KnownSystem.NECPCFX: + info.CommonDiscInfo.Region = info.CommonDiscInfo.Region ?? Region.Japan; break; case KnownSystem.SegaChihiro: @@ -944,6 +966,10 @@ namespace DICUI.Utilities info.CommonDiscInfo.EXEDateBuildDate = (this.AddPlaceholders ? Template.RequiredValue : ""); break; + case KnownSystem.SharpX68000: + info.CommonDiscInfo.Region = info.CommonDiscInfo.Region ?? Region.Japan; + break; + case KnownSystem.SNKNeoGeoCD: info.CommonDiscInfo.EXEDateBuildDate = (this.AddPlaceholders ? Template.RequiredValue : ""); break; @@ -957,6 +983,10 @@ namespace DICUI.Utilities info.Extras.DiscID = (this.AddPlaceholders ? Template.RequiredValue : ""); break; + case KnownSystem.TomyKissSite: + info.CommonDiscInfo.Region = info.CommonDiscInfo.Region ?? Region.Japan; + break; + case KnownSystem.ZAPiTGamesGameWaveFamilyEntertainmentSystem: info.CopyProtection.Protection = (AddPlaceholders ? Template.RequiredIfExistsValue : ""); break;