Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Commit eff9c3e

Browse files
stevebroskeysugoidogo
authored andcommitted
1 parent 38f0492 commit eff9c3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PS5 NOR Modifier/Form1.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ private void browseFileButton_Click(object sender, EventArgs e)
361361
{
362362
OpenFileDialog fileDialogBox = new OpenFileDialog();
363363
fileDialogBox.Title = "Open NOR BIN File";
364-
fileDialogBox.Filter = "PS5 BIN Files|*.bin;*.BIN";
364+
fileDialogBox.Filter = "PS5 BIN Files|*.bin";
365365

366366
if (fileDialogBox.ShowDialog() == DialogResult.OK)
367367
{
@@ -371,7 +371,7 @@ private void browseFileButton_Click(object sender, EventArgs e)
371371
}
372372
else
373373
{
374-
if(!fileDialogBox.SafeFileName.EndsWith(".bin"))
374+
if(!fileDialogBox.SafeFileName.EndsWith(".bin", StringComparison.OrdinalIgnoreCase))
375375
{
376376
throwError("The file you selected is not a valid. Please ensure the file you are choosing is a correct BIN file and try again.");
377377
}

0 commit comments

Comments
 (0)