Diff for /np2/accessories/lzxpack.c between versions 1.1 and 1.2

version 1.1, 2004/03/25 12:19:28 version 1.2, 2004/03/25 12:41:25
Line 134  static void stringout(void *dst, const B Line 134  static void stringout(void *dst, const B
                 if (!step) {                  if (!step) {
                         textout_write(dst, "\t\t");                          textout_write(dst, "\t\t");
                 }                  }
                 sprintf(work, "0x%02x,", (BYTE)*ptr++);                  SPRINTF(work, "0x%02x,", (BYTE)*ptr++);
                 textout_write(dst, work);                  textout_write(dst, work);
                 step++;                  step++;
                 if (step > 12) {                  if (step > 12) {
Line 196  static int packmain(const char *srcfile, Line 196  static int packmain(const char *srcfile,
                 if (sym == NULL) {                  if (sym == NULL) {
                         sym = srcfile;                          sym = srcfile;
                 }                  }
                 sprintf(work, "static const BYTE %s[%d] = {\n", sym, lz->size);                  SPRINTF(work, "static const BYTE %s[%d] = {\n", sym, lz->size);
                 textout_write(dst, work);                  textout_write(dst, work);
                 stringout(dst, lz->ptr, lz->size);                  stringout(dst, lz->ptr, lz->size);
                 textout_write(dst, "};\n");                  textout_write(dst, "};\n");

Removed from v.1.1  
changed lines
  Added in v.1.2


RetroPC.NET-CVS <cvs@retropc.net>