mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 05:35:34 +08:00
(PCK): 1280x720 textures handling.
This commit is contained in:
parent
e70251d304
commit
26eb42ee1d
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user