From 6c5ba07bdba2de9d903e42f264be488661975855 Mon Sep 17 00:00:00 2001 From: quou Date: Tue, 1 Oct 2024 23:12:46 +1000 Subject: Pad asset files to align properly. --- convimg.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'convimg.c') diff --git a/convimg.c b/convimg.c index 631a8b1..6de5086 100644 --- a/convimg.c +++ b/convimg.c @@ -2,6 +2,8 @@ #include #include +#include "convcom.c" + typedef struct { unsigned char r, g, b, a; } Colour; @@ -89,6 +91,7 @@ int main(int argc, char** argv) { fwrite(&bmp_w, 1, 2, outfile); fwrite(&bmp_h, 1, 2, outfile); fwrite(bitmap, 1, bs, outfile); + pad_file(4 + bs, outfile); free(buffer); end: -- cgit v1.2.3-54-g00ecf