From d52e67b9e95fa27ccca72ca2b01e2457b514a25e Mon Sep 17 00:00:00 2001 From: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sun, 16 Jun 2024 21:28:50 -0700 Subject: [PATCH] Don't use ToLower() --- src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs b/src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs index 40ead78e07..cdded390c1 100644 --- a/src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs +++ b/src/BizHawk.Emulation.Cores/Computers/Amiga/PUAE.cs @@ -69,7 +69,7 @@ namespace BizHawk.Emulation.Cores.Computers.Amiga for (var index = 0; index < lp.Roms.Count; index++) { - if (lp.Roms[index].Extension.ToLower() == ".hdf") + if (lp.Roms[index].Extension.ToLowerInvariant() == ".hdf") { _exe.AddReadonlyFile(lp.Roms[index].FileData, FileNames.HD + index); AppendSetting($"hardfile2=ro,DH0:\"{FileNames.HD + index}\",32,1,2,512,0,,uae0");