diff options
author | Revo <projectrevotpp@hotmail.com> | 2020-07-18 14:40:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-18 14:40:21 -0400 |
commit | 453ccaf11724bb7e96f0e12e4520161f52056520 (patch) | |
tree | 2fe773190862655e5109618798618bed10152893 /tools/nitrogfx/gfx.h | |
parent | ca9a7a58bceec9afe84138f4c9e8ad5cc782d3a6 (diff) | |
parent | fbd71239b903711e84f325f78f5bab89bc9629db (diff) |
Merge pull request #240 from red031000/master
nitrogfx support for scanned images, arm9 OS_exception, some more images
Diffstat (limited to 'tools/nitrogfx/gfx.h')
-rw-r--r-- | tools/nitrogfx/gfx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/nitrogfx/gfx.h b/tools/nitrogfx/gfx.h index f833ac2e..ef1f493d 100644 --- a/tools/nitrogfx/gfx.h +++ b/tools/nitrogfx/gfx.h @@ -29,9 +29,9 @@ struct Image { }; void ReadImage(char *path, int tilesWidth, int bitDepth, int metatileWidth, int metatileHeight, struct Image *image, bool invertColors); -void ReadNtrImage(char *path, int tilesWidth, int bitDepth, int metatileWidth, int metatileHeight, struct Image *image, bool invertColors); +uint32_t ReadNtrImage(char *path, int tilesWidth, int bitDepth, int metatileWidth, int metatileHeight, struct Image *image, bool invertColors); void WriteImage(char *path, int numTiles, int bitDepth, int metatileWidth, int metatileHeight, struct Image *image, bool invertColors); -void WriteNtrImage(char *path, int numTiles, int bitDepth, int metatileWidth, int metatileHeight, struct Image *image, bool invertColors, bool clobberSize, bool byteOrder, bool version101, bool sopc); +void WriteNtrImage(char *path, int numTiles, int bitDepth, int metatileWidth, int metatileHeight, struct Image *image, bool invertColors, bool clobberSize, bool byteOrder, bool version101, bool sopc, bool scanned, uint32_t key); void FreeImage(struct Image *image); void ReadGbaPalette(char *path, struct Palette *palette); void ReadNtrPalette(char *path, struct Palette *palette, int bitdepth); |