summaryrefslogtreecommitdiff
path: root/tools/nitrobanner/crc16.h
diff options
context:
space:
mode:
authortgsm <doodrabbit@hotmail.com>2021-08-21 20:03:29 -0400
committertgsm <doodrabbit@hotmail.com>2021-08-21 22:20:45 -0400
commit352605c1b5af4ff2fa6e792a47b6f6451c1f4be8 (patch)
tree2a696cc1efa32444ee4b94073b16b8c9a9aa022a /tools/nitrobanner/crc16.h
parent70f49f7dff07152e2b5ffe41383fd7aa77dd8428 (diff)
Add nitrobanner tool
This tool was made from reverse-engineering the Nitro SDK's makebanner, and is intended to replace that program. It has been tested to match the Diamond/Pearl banners as well as the HeartGold/SoulSilver banners.
Diffstat (limited to 'tools/nitrobanner/crc16.h')
-rw-r--r--tools/nitrobanner/crc16.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/nitrobanner/crc16.h b/tools/nitrobanner/crc16.h
new file mode 100644
index 00000000..29811cf9
--- /dev/null
+++ b/tools/nitrobanner/crc16.h
@@ -0,0 +1,5 @@
+#pragma once
+
+#include "types.h"
+
+u16 CalculateCRC16FromBannerData(const u8* banner_data);