mirror of
https://github.com/SabreTools/SabreTools.RedumpLib.git
synced 2026-09-22 06:54:32 +00:00
Media type converter should use shortnames
This commit is contained in:
@@ -28,7 +28,7 @@ namespace SabreTools.RedumpLib.Converters
|
||||
|
||||
public override void WriteJson(JsonWriter writer, MediaType? value, JsonSerializer serializer)
|
||||
{
|
||||
JToken t = JToken.FromObject(value.LongName() ?? string.Empty);
|
||||
JToken t = JToken.FromObject(value.ShortName() ?? string.Empty);
|
||||
t.WriteTo(writer);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user