diff --git a/ROMVault2/DatMaker.cs b/ROMVault2/DatMaker.cs index 90820e2..06c1a14 100644 --- a/ROMVault2/DatMaker.cs +++ b/ROMVault2/DatMaker.cs @@ -27,7 +27,6 @@ namespace ROMVault2 _sw.Close(); Console.WriteLine("Dat creation complete"); - Console.ReadLine(); } private static void WriteDatFile(RvDir dir) diff --git a/ROMVault2/FrmHelpAbout.Designer.cs b/ROMVault2/FrmHelpAbout.Designer.cs index 0d5280d..0bf9571 100644 --- a/ROMVault2/FrmHelpAbout.Designer.cs +++ b/ROMVault2/FrmHelpAbout.Designer.cs @@ -1,6 +1,6 @@ namespace ROMVault2 { - partial class frmHelpAbout + partial class FrmHelpAbout { /// /// Required designer variable. @@ -67,7 +67,7 @@ this.label2.Text = "support@romvault.com"; this.label2.Click += new System.EventHandler(this.label2_Click); // - // frmHelpAbout + // FrmHelpAbout // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; @@ -79,10 +79,10 @@ this.Controls.Add(this.lblVersion); this.DoubleBuffered = true; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; - this.Name = "frmHelpAbout"; + this.Name = "FrmHelpAbout"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "frmHelpAbout"; + this.Text = "FrmHelpAbout"; this.ResumeLayout(false); this.PerformLayout(); @@ -94,4 +94,4 @@ private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; } -} \ No newline at end of file +} diff --git a/ROMVault2/FrmHelpAbout.cs b/ROMVault2/FrmHelpAbout.cs index d03e933..1456503 100644 --- a/ROMVault2/FrmHelpAbout.cs +++ b/ROMVault2/FrmHelpAbout.cs @@ -9,9 +9,9 @@ using System.Windows.Forms; namespace ROMVault2 { - public partial class frmHelpAbout : Form + public partial class FrmHelpAbout : Form { - public frmHelpAbout() + public FrmHelpAbout() { InitializeComponent(); diff --git a/ROMVault2/FrmKey.Designer.cs b/ROMVault2/FrmKey.Designer.cs index b2f0c2c..81679fb 100644 --- a/ROMVault2/FrmKey.Designer.cs +++ b/ROMVault2/FrmKey.Designer.cs @@ -1,6 +1,6 @@ namespace ROMVault2 { - partial class frmKey + partial class FrmKey { /// /// Required designer variable. @@ -28,10 +28,10 @@ /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmKey)); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmKey)); this.SuspendLayout(); // - // frmKey + // FrmKey // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; @@ -39,10 +39,10 @@ this.ClientSize = new System.Drawing.Size(600, 532); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Name = "frmKey"; + this.Name = "FrmKey"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Color Key to ROM Status"; - this.Load += new System.EventHandler(this.frmKey_Load); + this.Load += new System.EventHandler(this.FrmKey_Load); this.ResumeLayout(false); } @@ -52,4 +52,4 @@ } -} \ No newline at end of file +} diff --git a/ROMVault2/FrmKey.cs b/ROMVault2/FrmKey.cs index 55e5b06..9806604 100644 --- a/ROMVault2/FrmKey.cs +++ b/ROMVault2/FrmKey.cs @@ -11,14 +11,14 @@ using System.Windows.Forms; namespace ROMVault2 { - public partial class frmKey : Form + public partial class FrmKey : Form { - public frmKey() + public FrmKey() { InitializeComponent(); } - private void frmKey_Load(object sender, EventArgs e) + private void FrmKey_Load(object sender, EventArgs e) { List displayList= new List { diff --git a/ROMVault2/FrmMain.cs b/ROMVault2/FrmMain.cs index c55d983..884be82 100644 --- a/ROMVault2/FrmMain.cs +++ b/ROMVault2/FrmMain.cs @@ -1,4 +1,4 @@ -/****************************************************** +/****************************************************** * ROMVault2 is written by Gordon J. * * Contact gordon@romvault.com * * Copyright 2010 * @@ -40,7 +40,7 @@ namespace ROMVault2 public static int[] GameGridColumnXPositions; - private frmKey _fk; + private FrmKey _fk; private Single _scaleFactorX = 1; private Single _scaleFactorY = 1; @@ -1201,7 +1201,7 @@ namespace ROMVault2 { if (_fk == null || _fk.IsDisposed) - _fk = new frmKey(); + _fk = new FrmKey(); _fk.Show(); } @@ -1215,7 +1215,7 @@ namespace ROMVault2 private void BtnReportClick(object sender, EventArgs e) { Report.MakeFixFiles(); - //frmReport newreporter = new frmReport(); + //FrmReport newreporter = new FrmReport(); //newreporter.ShowDialog(); //newreporter.Dispose(); } @@ -1236,7 +1236,7 @@ namespace ROMVault2 private void AboutRomVaultToolStripMenuItemClick(object sender, EventArgs e) { - frmHelpAbout fha = new frmHelpAbout(); + FrmHelpAbout fha = new FrmHelpAbout(); fha.ShowDialog(this); fha.Dispose(); } diff --git a/ROMVault2/FrmShowError.Designer.cs b/ROMVault2/FrmShowError.Designer.cs index 71d830b..6e8fa58 100644 --- a/ROMVault2/FrmShowError.Designer.cs +++ b/ROMVault2/FrmShowError.Designer.cs @@ -1,6 +1,6 @@ namespace ROMVault2 { - partial class frmShowError + partial class FrmShowError { /// /// Required designer variable. @@ -28,7 +28,7 @@ /// private void InitializeComponent() { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmShowError)); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmShowError)); this.textBox1 = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); @@ -62,7 +62,7 @@ this.label1.TabIndex = 2; this.label1.Text = "Sending Error Message to RomVault.Com"; // - // frmShowError + // FrmShowError // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; @@ -72,7 +72,7 @@ this.Controls.Add(this.textBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Name = "frmShowError"; + this.Name = "FrmShowError"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "RomVault Error report"; this.ResumeLayout(false); @@ -86,4 +86,4 @@ private System.Windows.Forms.Button button1; private System.Windows.Forms.Label label1; } -} \ No newline at end of file +} diff --git a/ROMVault2/FrmShowError.cs b/ROMVault2/FrmShowError.cs index 6e12bec..b1202bc 100644 --- a/ROMVault2/FrmShowError.cs +++ b/ROMVault2/FrmShowError.cs @@ -9,9 +9,9 @@ using System.Windows.Forms; namespace ROMVault2 { - public partial class frmShowError : Form + public partial class FrmShowError : Form { - public frmShowError() + public FrmShowError() { InitializeComponent(); } diff --git a/ROMVault2/FrmSplashScreen.Designer.cs b/ROMVault2/FrmSplashScreen.Designer.cs index 9003df2..04ae6d7 100644 --- a/ROMVault2/FrmSplashScreen.Designer.cs +++ b/ROMVault2/FrmSplashScreen.Designer.cs @@ -100,7 +100,7 @@ this.Name = "FrmSplashScreen"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "frmSplashScreen"; + this.Text = "FrmSplashScreen"; this.Shown += new System.EventHandler(this.FrmSplashScreenShown); this.ResumeLayout(false); this.PerformLayout(); @@ -116,4 +116,4 @@ private System.ComponentModel.BackgroundWorker bgWork; private System.Windows.Forms.Label label1; } -} \ No newline at end of file +} diff --git a/ROMVault2/IO/RVIO.cs b/ROMVault2/IO/RVIO.cs index c7fc15e..6361ce1 100644 --- a/ROMVault2/IO/RVIO.cs +++ b/ROMVault2/IO/RVIO.cs @@ -60,6 +60,9 @@ namespace ROMVault2.IO if (Settings.MonoFileIO) { System.IO.FileInfo fi = new System.IO.FileInfo(path); + + if(!fi.Exists) return; + Length = fi.Length; LastWriteTime = fi.LastWriteTimeUtc.Ticks; return; @@ -94,6 +97,9 @@ namespace ROMVault2.IO if (Settings.MonoFileIO) { System.IO.DirectoryInfo fi = new System.IO.DirectoryInfo(path); + + if(!fi.Exists) return; + LastWriteTime = fi.LastWriteTimeUtc.Ticks; return; } diff --git a/ROMVault2/ReportError.cs b/ROMVault2/ReportError.cs index 6abeefd..f1e54db 100644 --- a/ROMVault2/ReportError.cs +++ b/ROMVault2/ReportError.cs @@ -34,7 +34,7 @@ namespace ROMVault2 SendErrorMessage(message); - frmShowError fshow = new frmShowError(); + FrmShowError fshow = new FrmShowError(); fshow.settype(message); fshow.ShowDialog(); @@ -60,7 +60,7 @@ namespace ROMVault2 SendErrorMessage(message); - frmShowError fshow = new frmShowError(); + FrmShowError fshow = new FrmShowError(); fshow.settype(message); fshow.ShowDialog(); @@ -82,7 +82,7 @@ namespace ROMVault2 SendErrorMessage(message); - frmShowError fshow = new frmShowError(); + FrmShowError fshow = new FrmShowError(); fshow.settype(message); fshow.ShowDialog(); @@ -225,4 +225,4 @@ namespace ROMVault2 sw.Close(); } } -} \ No newline at end of file +}