From 26eb42ee1d1f3716586d2df001ef3b7864c4c33d Mon Sep 17 00:00:00 2001 From: morkt Date: Mon, 25 Feb 2019 13:04:02 +0400 Subject: [PATCH] (PCK): 1280x720 textures handling. --- ArcFormats/Tamamo/ArcPCK.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ArcFormats/Tamamo/ArcPCK.cs b/ArcFormats/Tamamo/ArcPCK.cs index eaf0e4bc..d570a559 100644 --- a/ArcFormats/Tamamo/ArcPCK.cs +++ b/ArcFormats/Tamamo/ArcPCK.cs @@ -165,8 +165,9 @@ namespace GameRes.Formats.Tamamo return decoder; using (decoder) { - var ev_bitmap = CreateCanvas (1280, 720, source, new Int32Rect (0, 0, 1024, 720)); - CopyRegion (source, new Int32Rect (0, 720, 720, 256), ev_bitmap, 1024, 0); + var ev_bitmap = CreateCanvas (1280, 720, source, new Int32Rect (0, 0, 1024, 719)); + // XXX Senkou no Kishi texture + CopyRegion (source, new Int32Rect (0, 719, 720, 256), ev_bitmap, 1024, 0); return new BitmapSourceDecoder (ev_bitmap); } }