From 9ac8996b85b2c5805c631178a136c4d6fa3b088c Mon Sep 17 00:00:00 2001 From: laqieer Date: Wed, 2 Oct 2024 16:14:38 +0800 Subject: [PATCH] Fix image size in TSA editor --- FEBuilderGBA/ImageTSAEditorForm.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/FEBuilderGBA/ImageTSAEditorForm.cs b/FEBuilderGBA/ImageTSAEditorForm.cs index e1a9fd71f..9a5bae7ee 100644 --- a/FEBuilderGBA/ImageTSAEditorForm.cs +++ b/FEBuilderGBA/ImageTSAEditorForm.cs @@ -45,11 +45,11 @@ public void Init(uint width8, uint height8, uint zimgPointer, bool isHeaderTSA, this.Height8 = height8; this.PaletteCount = paletteCount; - if (this.IsHeaderTSA) - { - this.Width8 = Math.Max(256 / 8, this.Width8); - this.Height8 = Math.Max(160 / 8, this.Height8); - } + //if (this.IsHeaderTSA) + //{ + // this.Width8 = Math.Max(256 / 8, this.Width8); + // this.Height8 = Math.Max(160 / 8, this.Height8); + //} if (this.PalettePointer == U.NOT_FOUND) {