From 349726bb0aa31235222691540ee2c276a309e863 Mon Sep 17 00:00:00 2001 From: lameguy64 Date: Fri, 12 Apr 2019 19:04:57 +0800 Subject: * Fixed lzpack producing broken QLP archives breaking the n00bdemo example.\n* Updated GCC configure parameters to a known working config.\n* Removed a stray executable file. --- tools/lzpack/main.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'tools/lzpack/main.cpp') diff --git a/tools/lzpack/main.cpp b/tools/lzpack/main.cpp index ed650d2..3f0dcde 100644 --- a/tools/lzpack/main.cpp +++ b/tools/lzpack/main.cpp @@ -10,21 +10,21 @@ typedef struct { - char id[3]; - u_char numFiles; + char id[3]; + unsigned char numFiles; } QLP_HEAD; typedef struct { - char fileName[16]; - u_long fileSize; - u_long offset; + char fileName[16]; + unsigned int fileSize; + unsigned int offset; } QLP_FILE; typedef struct { - char name[16]; - int size; - int offset; // In 2048 byte sector units + char name[16]; + unsigned int size; + unsigned int offset; // In 2048 byte sector units } PCK_FILE; typedef struct { @@ -51,7 +51,7 @@ const char* TrimPathName(const char* path); int main(int argc, const char* argv[]) { - printf("LZPack v0.60b - File Compression and Packing Utility\n"); + printf("LZPack v0.61b - File Compression and Packing Utility\n"); printf("2016-2019 Meido-Tek Productions (Lameguy64)\n\n"); if (argc <= 1) { -- cgit v1.2.3