Skip to content

Commit f064e09

Browse files
authored
Fix bin file exists check
1 parent 3064e07 commit f064e09

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PS5 NOR Modifier/Form1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ private void browseFileButton_Click(object sender, EventArgs e)
365365

366366
if (fileDialogBox.ShowDialog() == DialogResult.OK)
367367
{
368-
if(fileDialogBox.CheckFileExists == false)
368+
if (!File.Exists(fileDialogBox.FileName))
369369
{
370370
throwError("The file you selected could not be found. Please check the file exists and is a valid BIN file.");
371371
}

0 commit comments

Comments
 (0)