gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit c4db8a61a4041f84c004505a35ac674aa4f7da81 parent 31df73f2d2e704caaf64d17c1cb83f9355590a3d Author: Toxa <untoxa@mail.ru> Date: Sun, 23 Jul 2023 22:07:04 +0300 png2asset add "-o" switch as an alias to "-c" to match with lcc Diffstat:
| M | gbdk-support/png2asset/png2asset.cpp | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gbdk-support/png2asset/png2asset.cpp b/gbdk-support/png2asset/png2asset.cpp @@ -673,7 +673,8 @@ int main(int argc, char* argv[]) if (argc < 2) { printf("usage: png2asset <file>.png [options]\n"); - printf("-c ouput file (default: <png file>.c)\n"); + printf("-o ouput file (default: <png file>.c)\n"); + printf("-c deprecated, same as -o\n"); printf("-sw <width> metasprites width size (default: png width)\n"); printf("-sh <height> metasprites height size (default: png height)\n"); printf("-sp <props> change default for sprite OAM property bytes (in hex) (default: 0x00)\n"); @@ -764,7 +765,7 @@ int main(int argc, char* argv[]) image.tile_h = 16; sprite_mode = SPR_16x16_MSX; } - else if(!strcmp(argv[i], "-c")) + else if(!strcmp(argv[i], "-c") || !strcmp(argv[i], "-o")) { output_filename = argv[++ i]; }
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.