Skip to content

Commit

Permalink
Merge pull request #2 from kollokollo/master
Browse files Browse the repository at this point in the history
add INLINE data printout
  • Loading branch information
mmuman committed Jan 27, 2016
2 parents a16492c + 6af8760 commit c303b71
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions sky.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,15 @@ unsigned char *gf4tp_tp(unsigned char *dst, struct gfainf *gi,
*/
src = mrk;

} else
src = bot;
} else { /* Added hex printing of INLINE data / Markus Hoffmann 2013 */
printf("' ## INLINE: src=%p bot=%p",src,bot);
for (mrk = src; mrk < bot; mrk++) {
if((mrk-src)%16==0) printf("\n' $%04x: ",mrk-src);
printf("%02x ",*mrk);

} printf("\n' %d Bytes.\n",mrk-src);
src = bot;
}
break;
case 199:
src++;
Expand Down
Binary file added tests/SP_SEK_V.GFA
Binary file not shown.

0 comments on commit c303b71

Please sign in to comment.