Fix cue file resolving

fixes e893e3a1ff
This commit is contained in:
CasualPokePlayer 2024-11-03 06:47:45 -08:00
parent 666139f8e9
commit 2cdf1e99bf
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ namespace BizHawk.Emulation.DiscSystem.CUE
var results = new List<string>();
foreach (var filePath in filePaths)
{
var ext = Path.GetExtension(path).ToLowerInvariant();
var ext = Path.GetExtension(filePath).ToLowerInvariant();
//some choices are always bad: (we're looking for things like .bin and .wav)
//it's a little unclear whether we should go for a whitelist or a blacklist here.