diff --git a/CHANGELIST.md b/CHANGELIST.md index 9618b7b18..8b28d123d 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -145,6 +145,7 @@ - Add pure-getkey output names for PS3CFW - Partially clean up PS3CFW - Wrap some PhysicalTool method calls +- Minor UI and other fixes ### 3.2.4 (2024-11-24) diff --git a/MPF.Frontend/Tools/PhysicalTool.cs b/MPF.Frontend/Tools/PhysicalTool.cs index 0e4683421..d28edb495 100644 --- a/MPF.Frontend/Tools/PhysicalTool.cs +++ b/MPF.Frontend/Tools/PhysicalTool.cs @@ -205,8 +205,7 @@ public static bool GetBusEncryptionEnabled(Drive? drive) } catch { - // We don't care what the error is - return null; + // We don't care what the error is, assume SYSTEM.CNF doesn't exist } // If the SYSTEM.CNF value can't be found, try PSX.EXE @@ -550,14 +549,7 @@ public static bool GetBusEncryptionEnabled(Drive? drive) var appPkgHeader = appPkgHeaderDeserializer.Deserialize(fileStream); if (appPkgHeader != null) - { - byte[] date = BitConverter.GetBytes(appPkgHeader.VersionDate); - if (BitConverter.IsLittleEndian) - Array.Reverse(date); - - string pkgDate = $"{date[0]:X2}{date[1]:X2}-{date[2]:X2}-{date[3]:X2}"; - pkgInfo += $"{appPkgHeader.ContentID} ({pkgDate}, {appPkgHeader.VersionHash:X8})"; - } + pkgInfo += $"{appPkgHeader.ContentID}"; } if (pkgInfo == "") @@ -708,14 +700,7 @@ public static bool GetBusEncryptionEnabled(Drive? drive) var appPkgHeader = appPkgHeaderDeserializer.Deserialize(fileStream); if (appPkgHeader != null) - { - byte[] date = BitConverter.GetBytes(appPkgHeader.VersionDate); - if (BitConverter.IsLittleEndian) - Array.Reverse(date); - - string pkgDate = $"{date[0]:X2}{date[1]:X2}-{date[2]:X2}-{date[3]:X2}"; - pkgInfo += $"{appPkgHeader.ContentID} ({pkgDate}, {appPkgHeader.VersionHash:X8})"; - } + pkgInfo += $"{appPkgHeader.ContentID}"; } if (pkgInfo == "") diff --git a/MPF.Frontend/ViewModels/MainViewModel.cs b/MPF.Frontend/ViewModels/MainViewModel.cs index 075e6d873..41ea00272 100644 --- a/MPF.Frontend/ViewModels/MainViewModel.cs +++ b/MPF.Frontend/ViewModels/MainViewModel.cs @@ -2061,10 +2061,7 @@ public void SetSupportedDriveSpeed() VerboseLogLn($"Supported media speeds: {string.Join(", ", [.. DriveSpeeds.ConvertAll(ds => ds.ToString())])}"); // Set the selected speed - int speed = FrontendTool.GetDefaultSpeedForMediaType(CurrentMediaType, Options); - - VerboseLogLn($"Setting drive speed to: {speed}"); - DriveSpeed = speed; + DriveSpeed = FrontendTool.GetDefaultSpeedForMediaType(CurrentMediaType, Options); } /// diff --git a/MPF.UI/External/WPFCustomMessageBox/CustomMessageBoxWindow.xaml b/MPF.UI/External/WPFCustomMessageBox/CustomMessageBoxWindow.xaml index 345300a88..74e95290f 100644 --- a/MPF.UI/External/WPFCustomMessageBox/CustomMessageBoxWindow.xaml +++ b/MPF.UI/External/WPFCustomMessageBox/CustomMessageBoxWindow.xaml @@ -6,73 +6,75 @@ WindowStyle="None" ResizeMode="NoResize" SizeToContent="WidthAndHeight" Title="" MinHeight="155" MaxWidth="470" MinWidth="154" - BorderBrush="DarkGray" BorderThickness="2"> + AllowsTransparency="True" Background="Transparent"> - - - - - - + + + + + + + - - - - - - - - - + + + + + + + + + - - + + - - + + - - - - - - + + + + + + - - + + - - - + + + - - - + + + - - - + + + - - - + + + - + + - + diff --git a/MPF.UI/UserControls/UserInput.xaml b/MPF.UI/UserControls/UserInput.xaml index cdb9f5a51..dc9fc3e0f 100644 --- a/MPF.UI/UserControls/UserInput.xaml +++ b/MPF.UI/UserControls/UserInput.xaml @@ -7,7 +7,7 @@ - +