diff options
author | kr3nshaw <20672068+kr3nshaw@users.noreply.github.com> | 2020-06-08 20:46:44 +1000 |
---|---|---|
committer | kr3nshaw <20672068+kr3nshaw@users.noreply.github.com> | 2020-06-08 20:46:44 +1000 |
commit | dd04f2ba09632dcaa6a27fdf802c3687b87d9370 (patch) | |
tree | 4f9d5555e6158a5e464827b1a64ce4b8a3d36772 /tools/nitrogfx/util.h | |
parent | 9243be03ab56a74fd083205c9a2017e4fc4b4ff6 (diff) | |
parent | 5dfe3440383dd530bda24985f802d8c94bb452b8 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tools/nitrogfx/util.h')
-rw-r--r-- | tools/nitrogfx/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/nitrogfx/util.h b/tools/nitrogfx/util.h index 6d7a9c21..f181b66e 100644 --- a/tools/nitrogfx/util.h +++ b/tools/nitrogfx/util.h @@ -4,11 +4,13 @@ #define UTIL_H #include <stdbool.h> +#include <stdint.h> bool ParseNumber(char *s, char **end, int radix, int *intValue); char *GetFileExtension(char *path); unsigned char *ReadWholeFile(char *path, int *size); unsigned char *ReadWholeFileZeroPadded(char *path, int *size, int padAmount); void WriteWholeFile(char *path, void *buffer, int bufferSize); +void WriteGenericNtrHeader(FILE* fp, const char* magicNumber, uint32_t size, bool byteorder); #endif // UTIL_H |