mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Merge branch 'master' into master
This commit is contained in:
@@ -414,8 +414,12 @@ namespace DICUI
|
||||
/// </summary>
|
||||
private void SetSupportedDriveSpeed()
|
||||
{
|
||||
string driveLetter = cmb_DriveLetter.Text;
|
||||
if (String.IsNullOrWhiteSpace(driveLetter))
|
||||
// Get the drive letter from the selected item
|
||||
var selected = cmb_DriveLetter.SelectedItem as Tuple<char, string>;
|
||||
char driveLetter = selected.Item1;
|
||||
|
||||
// Validate that the required program exits
|
||||
if (!File.Exists(dicPath))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1773,7 +1773,7 @@ namespace DICUI
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else if (dvdspeed < 0 || dvdspeed > 16)
|
||||
else if (dvdspeed < 0 || dvdspeed > 72) // Officialy, 0-16
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user