summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/msgenc/.gitignore2
-rw-r--r--tools/nitrogfx/gfx.c5
2 files changed, 3 insertions, 4 deletions
diff --git a/tools/msgenc/.gitignore b/tools/msgenc/.gitignore
index 48de3992..15921071 100644
--- a/tools/msgenc/.gitignore
+++ b/tools/msgenc/.gitignore
@@ -1 +1 @@
-msgenc \ No newline at end of file
+msgenc
diff --git a/tools/nitrogfx/gfx.c b/tools/nitrogfx/gfx.c
index 3d9d5848..3315e00e 100644
--- a/tools/nitrogfx/gfx.c
+++ b/tools/nitrogfx/gfx.c
@@ -409,9 +409,8 @@ void WriteNtrImage(char *path, int numTiles, int bitDepth, int metatileWidth, in
WriteGenericNtrHeader(fp, "RGCN", bufferSize + 0x20, byteOrder);
- unsigned char charHeader[0x20] = { 0x52, 0x41, 0x48, 0x43, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x18, 0x00, 0x00, 0x00 };
+ unsigned char charHeader[0x20] = { 0x52, 0x41, 0x48, 0x43, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00 };
charHeader[4] = (bufferSize + 0x20) & 0xFF;
charHeader[5] = ((bufferSize + 0x20) >> 8) & 0xFF;