Fix failing tests

This commit is contained in:
Matt Nadareski
2023-10-07 01:11:56 -04:00
parent 19cef20ceb
commit b2c6e07ed1
2 changed files with 2 additions and 1 deletions

View File

@@ -24,6 +24,7 @@
- Fix failing tests
- Remove debug symbols in release builds (Deterous)
- Allow nullability for modern .NET
- Fix failing tests
### 2.6.6 (2023-10-04)

View File

@@ -1018,7 +1018,7 @@ namespace MPF.Core
switch (mediaType)
{
case MediaType.DVD:
if (layerbreak != default)
if (layerbreak != default && layerbreak != default(long))
return $"{mediaType.LongName()}-9";
else
return $"{mediaType.LongName()}-5";