20 lines
604 B
C#
20 lines
604 B
C#
// Decompiled with JetBrains decompiler
|
|
// Type: SEGATools.DiscFileSystem.DiscFileUtils
|
|
// Assembly: SEGATools, Version=1.0.3.0, Culture=neutral, PublicKeyToken=611be24fdeb07e08
|
|
// MVID: D631183F-57B1-40A1-B502-5364D288307A
|
|
// Assembly location: SEGATools.dll
|
|
|
|
using ImageReader.DiscSectors;
|
|
|
|
namespace SEGATools.DiscFileSystem
|
|
{
|
|
public class DiscFileUtils
|
|
{
|
|
public static string GetExtensionForDiscTrack(IDiscTrack DiscTrack)
|
|
{
|
|
if (DiscTrack.TrackData == TrackModeType.Audio)
|
|
return ".raw";
|
|
return DiscTrack.TrackSector is ISO9660Sector ? ".iso" : ".bin";
|
|
}
|
|
}
|
|
}
|