mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-15 21:35:44 +00:00
22 lines
594 B
C#
22 lines
594 B
C#
using SabreTools.RedumpLib.Data;
|
|
|
|
namespace MPF.Modules.DD
|
|
{
|
|
public static class Converters
|
|
{
|
|
#region Cross-enumeration conversions
|
|
|
|
/// <summary>
|
|
/// Get the default extension for a given disc type
|
|
/// </summary>
|
|
/// <param name="type">MediaType value to check</param>
|
|
/// <returns>Valid extension (with leading '.'), null on error</returns>
|
|
public static string Extension(MediaType? type)
|
|
{
|
|
// DD has a single, unified output format by default
|
|
return ".bin";
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
} |