initial commit
This commit is contained in:
commit
1b60743303
274 changed files with 25866 additions and 0 deletions
20
SEGATools/DiscFileSystem/DiscFileUtils.cs
Normal file
20
SEGATools/DiscFileSystem/DiscFileUtils.cs
Normal file
|
@ -0,0 +1,20 @@
|
|||
// 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";
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue