(PCK): 1280x720 textures handling.

This commit is contained in:
morkt 2019-02-25 13:04:02 +04:00
parent e70251d304
commit 26eb42ee1d

View File

@ -165,8 +165,9 @@ namespace GameRes.Formats.Tamamo
return decoder; return decoder;
using (decoder) using (decoder)
{ {
var ev_bitmap = CreateCanvas (1280, 720, source, new Int32Rect (0, 0, 1024, 720)); var ev_bitmap = CreateCanvas (1280, 720, source, new Int32Rect (0, 0, 1024, 719));
CopyRegion (source, new Int32Rect (0, 720, 720, 256), ev_bitmap, 1024, 0); // XXX Senkou no Kishi texture
CopyRegion (source, new Int32Rect (0, 719, 720, 256), ev_bitmap, 1024, 0);
return new BitmapSourceDecoder (ev_bitmap); return new BitmapSourceDecoder (ev_bitmap);
} }
} }