parent
3a8b3913bf
commit
413fd40b46
|
@ -1,7 +1,6 @@
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using BizHawk.Common.PathExtensions;
|
|
||||||
|
|
||||||
namespace BizHawk.Emulation.DiscSystem.CUE
|
namespace BizHawk.Emulation.DiscSystem.CUE
|
||||||
{
|
{
|
||||||
|
@ -72,7 +71,9 @@ namespace BizHawk.Emulation.DiscSystem.CUE
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public List<string> Resolve(string path)
|
public List<string> Resolve(string path)
|
||||||
{
|
{
|
||||||
var (targetFile, targetFragment, _) = path.SplitPathToDirFileAndExt();
|
string targetFile = Path.GetFileName(path);
|
||||||
|
string targetFragment = Path.GetFileNameWithoutExtension(path);
|
||||||
|
|
||||||
DirectoryInfo di = null;
|
DirectoryInfo di = null;
|
||||||
MyFileInfo[] fileInfos;
|
MyFileInfo[] fileInfos;
|
||||||
if (!string.IsNullOrEmpty(Path.GetDirectoryName(path)))
|
if (!string.IsNullOrEmpty(Path.GetDirectoryName(path)))
|
||||||
|
|
Loading…
Reference in New Issue