From fabc95457733c981e807cfafa68cb26c68421790 Mon Sep 17 00:00:00 2001 From: Scrub <72096833+ScrubN@users.noreply.github.com> Date: Thu, 8 May 2025 22:39:15 -0400 Subject: [PATCH] Fix bin file exists check --- PS5 NOR Modifier/Form1.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PS5 NOR Modifier/Form1.cs b/PS5 NOR Modifier/Form1.cs index 8f6dec8..654e038 100644 --- a/PS5 NOR Modifier/Form1.cs +++ b/PS5 NOR Modifier/Form1.cs @@ -365,7 +365,7 @@ private void browseFileButton_Click(object sender, EventArgs e) if (fileDialogBox.ShowDialog() == DialogResult.OK) { - if(fileDialogBox.CheckFileExists == false) + if (!File.Exists(fileDialogBox.FileName)) { throwError("The file you selected could not be found. Please check the file exists and is a valid BIN file."); }