summaryrefslogtreecommitdiff
path: root/tools/nitrogfx/gfx.c
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2020-06-23 23:22:26 +0100
committerred031000 <rubenru09@aol.com>2020-06-23 23:22:26 +0100
commit6b457a1a319835d4703a63095643dd7e2c504de8 (patch)
tree50cdd1f70a9a0b0dd2c9c58045d84e103ebace46 /tools/nitrogfx/gfx.c
parent49a400ceeb43a32108e4ab1cf8a1726b04ef3ddf (diff)
formatting
Diffstat (limited to 'tools/nitrogfx/gfx.c')
-rw-r--r--tools/nitrogfx/gfx.c5
1 files changed, 2 insertions, 3 deletions
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;