mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(PCK): 1280x720 textures handling.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user