mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-04-05 21:44:17 +00:00
[GUI] Add bypass Wii decryption dump option.
This commit is contained in:
@@ -176,6 +176,10 @@ public sealed partial class MediaDumpViewModel : ViewModelBase
|
||||
bool _readTitleKeys;
|
||||
[ObservableProperty]
|
||||
bool _isDvd;
|
||||
[ObservableProperty]
|
||||
bool _isWii;
|
||||
[ObservableProperty]
|
||||
bool _bypassWiiDecryption;
|
||||
|
||||
public MediaDumpViewModel(Device device, string devicePath, DeviceInfo deviceInfo, Window view,
|
||||
[CanBeNull] ScsiInfo scsiInfo = null)
|
||||
@@ -213,6 +217,7 @@ public sealed partial class MediaDumpViewModel : ViewModelBase
|
||||
CureParanoia = false;
|
||||
StoreEncryptedAsIs = true;
|
||||
ReadTitleKeys = false;
|
||||
BypassWiiDecryption = false;
|
||||
|
||||
MediaType mediaType;
|
||||
|
||||
@@ -338,6 +343,8 @@ public sealed partial class MediaDumpViewModel : ViewModelBase
|
||||
_ => false
|
||||
};
|
||||
|
||||
IsWii = mediaType == MediaType.WOD;
|
||||
|
||||
_dev = device;
|
||||
_devicePath = devicePath;
|
||||
}
|
||||
@@ -754,7 +761,7 @@ public sealed partial class MediaDumpViewModel : ViewModelBase
|
||||
1080,
|
||||
Paranoia,
|
||||
CureParanoia,
|
||||
false);
|
||||
BypassWiiDecryption);
|
||||
|
||||
new Thread(DoWork).Start();
|
||||
}
|
||||
|
||||
@@ -219,6 +219,11 @@
|
||||
<TextBlock Text="{x:Static localization:UI.Try_to_read_the_title_keys_from_CSS_DVDs}"
|
||||
TextWrapping="Wrap" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding BypassWiiDecryption, Mode=TwoWay}"
|
||||
IsVisible="{Binding IsWii, Mode=OneWay}">
|
||||
<TextBox Text="{x:Static localization:UI.Bypass_Wii_decryption_help}"
|
||||
TextWrapping="Wrap" />
|
||||
</CheckBox>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<!-- TODO: Image options -->
|
||||
|
||||
Reference in New Issue
Block a user