From 184913ad28bbfe3d19f293a92cd26d01ae664d44 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Sun, 2 Aug 2020 21:51:19 -0700 Subject: [PATCH] Fix a couple of small things --- DICUI.Library/Utilities/Validators.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/DICUI.Library/Utilities/Validators.cs b/DICUI.Library/Utilities/Validators.cs index 3ffab062..d8a14d8f 100644 --- a/DICUI.Library/Utilities/Validators.cs +++ b/DICUI.Library/Utilities/Validators.cs @@ -921,11 +921,15 @@ namespace DICUI.Utilities return KnownSystem.DVDAudio; } - // DVD-Video + // DVD-Video and Xbox if (Directory.Exists(Path.Combine(drivePath, "VIDEO_TS")) && Directory.EnumerateFiles(Path.Combine(drivePath, "VIDEO_TS")).Count() > 0) { - return KnownSystem.DVDAudio; + // TODO: Maybe add video track hashes to compare for Xbox and X360? + if (string.Equals(drive.VolumeLabel, "SEP13011042072", StringComparison.OrdinalIgnoreCase)) + return KnownSystem.MicrosoftXBOX; + + return KnownSystem.DVDVideo; } // Sega Dreamcast