1
0
mirror of synced 2024-12-01 02:27:22 +01:00

Only flip exported bxfnt textures for newer platforms

This commit is contained in:
KillzXGaming 2020-02-14 18:49:15 -05:00
parent c51958f91d
commit 001e82bff0

View File

@ -218,7 +218,8 @@ namespace FirstPlugin.Forms
var image = ActiveFile.FontSection.TextureGlyph.GetImageSheet(ImageIndex);
bool IsBntx = ActiveFile.FontSection.TextureGlyph.BinaryTextureFile != null;
image.Parameters.FlipY = true;
if (ActiveFile.Platform >= FFNT.PlatformType.Cafe)
image.Parameters.FlipY = true;
if (IsBntx)
image.ExportArrayImage(ImageIndex);