diff --git a/PS5 NOR Modifier/Form1.cs b/PS5 NOR Modifier/Form1.cs index 8f6dec8..6a1d13c 100644 --- a/PS5 NOR Modifier/Form1.cs +++ b/PS5 NOR Modifier/Form1.cs @@ -371,7 +371,7 @@ private void browseFileButton_Click(object sender, EventArgs e) } else { - if(!fileDialogBox.SafeFileName.EndsWith(".bin")) + if(!fileDialogBox.SafeFileName.EndsWith(".bin", StringComparison.OrdinalIgnoreCase)) { throwError("The file you selected is not a valid. Please ensure the file you are choosing is a correct BIN file and try again."); } @@ -1156,4 +1156,4 @@ private void txtCustomCommand_KeyPress(object sender, KeyPressEventArgs e) } } } -} \ No newline at end of file +}