@@ -12,8 +12,8 @@ namespace Zero2Undub
1212 public partial class MainWindow : Window
1313 {
1414 private const string WindowName = "PS2 Fatal Frame 2 Undubber" ;
15- private string JpIsoFile { get ; set ; }
16- private string UsIsoFile { get ; set ; }
15+ private string OriginIsoFile { get ; set ; }
16+ private string TargetIsoFile { get ; set ; }
1717 private bool IsUndubLaunched { get ; set ; }
1818 private UndubOptions Options { get ; set ; }
1919
@@ -30,7 +30,7 @@ public MainWindow()
3030 private void UndubGame ( object sender , DoWorkEventArgs e )
3131 {
3232
33- if ( string . IsNullOrWhiteSpace ( JpIsoFile ) || string . IsNullOrWhiteSpace ( UsIsoFile ) )
33+ if ( string . IsNullOrWhiteSpace ( OriginIsoFile ) || string . IsNullOrWhiteSpace ( TargetIsoFile ) )
3434 {
3535 MessageBox . Show ( "Please select the files before!" , WindowName ) ;
3636 return ;
@@ -40,7 +40,7 @@ private void UndubGame(object sender, DoWorkEventArgs e)
4040 IsUndubLaunched = true ;
4141
4242 ( sender as BackgroundWorker ) ? . ReportProgress ( 10 ) ;
43- var importer = new ZeroFileImporter ( JpIsoFile , UsIsoFile , Options ) ;
43+ var importer = new ZeroFileImporter ( OriginIsoFile , TargetIsoFile , Options ) ;
4444
4545 var task = Task . Factory . StartNew ( ( ) =>
4646 {
@@ -60,7 +60,7 @@ private void UndubGame(object sender, DoWorkEventArgs e)
6060 MessageBox . Show ( $ "The program failed with the following message: { importer . InfoReporterUi . ErrorMessage } ", WindowName ) ;
6161 return ;
6262 }
63-
63+
6464 MessageBox . Show ( "All Done! Enjoy the game :D" , WindowName ) ;
6565 }
6666
@@ -91,24 +91,24 @@ private void Button_Click(object sender, RoutedEventArgs e)
9191 {
9292 var usFileDialog = new OpenFileDialog
9393 {
94- Filter = "iso files (*.iso)|*.iso|All files (*.*)|*.*" ,
94+ Filter = "iso files (*.iso)|*.iso|All files (*.*)|*.*" ,
9595 Title = "Select the USA ISO"
9696 } ;
9797
9898 if ( usFileDialog . ShowDialog ( ) == true )
9999 {
100- UsIsoFile = usFileDialog . FileName ;
100+ TargetIsoFile = usFileDialog . FileName ;
101101 }
102102
103103 var jpFileDialog = new OpenFileDialog
104104 {
105- Filter = "iso files (*.iso)|*.iso|All files (*.*)|*.*" ,
105+ Filter = "iso files (*.iso)|*.iso|All files (*.*)|*.*" ,
106106 Title = "Select the JP ISO"
107107 } ;
108108
109109 if ( jpFileDialog . ShowDialog ( ) == true )
110110 {
111- JpIsoFile = jpFileDialog . FileName ;
111+ OriginIsoFile = jpFileDialog . FileName ;
112112 }
113113 }
114114 }
0 commit comments