gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit c4069d2db01314afafc65db71e330ca1af00e58b parent 439f35106c6ec595611e0aeac2f3a7f6575d632f Author: bbbbbr <reg+github@roughhousing.com> Date: Thu, 16 Dec 2021 14:30:19 -0800 Merge pull request #291 from gbdk-2020/bbbbbr-png2asset-error-messages png2asset: improve error messages Diffstat:
| M | gbdk-support/png2asset/png2asset.cpp | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gbdk-support/png2asset/png2asset.cpp b/gbdk-support/png2asset/png2asset.cpp @@ -336,7 +336,7 @@ SetPal GetPaletteColors(const PNGImage& image, int x, int y, int w, int h) for(SetPal::iterator it = ret.begin(); it != ret.end(); ++it) { if(it != ret.begin() && ((0xFF & *it) != 0xFF)) //ret.begin() should be the only one transparent - printf("Warning: found more than one transparent color on x:%d,y:%d,w:%d,h:%d\n", x, y, w, h); + printf("Warning: found more than one transparent color in tile at x:%d, y:%d of size w:%d, h:%d\n", x, y, w, h); } return ret; @@ -556,7 +556,7 @@ int main(int argc, char *argv[]) SetPal pal = GetPaletteColors(image32, x, y, 8, tile_h); if(pal.size() > pal_size) { - printf("Error: more than %d colors found on (%d, %d, %d, %d)\n", (unsigned int)pal_size, x, y, 8, tile_h); + printf("Error: more than %d colors found in tile at x:%d, y:%d of size w:%d, h:%d\n", (unsigned int)pal_size, x, y, 8, tile_h); return 1; }
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.