nickworonekin / puyotools

Puyo Tools is a collection of tools and libraries used to access the contents of various game files. Although it was initially built to handle files used in Puyo Puyo games, it can handle files used in other games as well.
MIT License
99 stars 24 forks source link

Crash while decoding texture with internal palette data #11

Closed michael-fadely closed 7 years ago

michael-fadely commented 7 years ago

Seems to be a regression. It works fine in the previous release, but in the current release it throws ArgumentOutOfRangeException in PvrPixelCodec.DecodePixel.

With the specific PVR I'm testing (attached), sourceIndex is the same as source.Length.

SSTX_BODY.zip

nickworonekin commented 7 years ago

This is fixed in the 2.0.3 release.