New option --dump-palette. Fixed a double free in the cleanup code.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5604 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2012-03-11 11:25:38 +00:00
parent c9d65c56c2
commit ca691233e4
4 changed files with 63 additions and 1 deletions

View File

@@ -38,6 +38,8 @@
#include <stdio.h>
/* sp65 */
#include "color.h"
@@ -75,6 +77,9 @@ Palette* DupPalette (const Palette* P);
void FreePalette (Palette* P);
/* Free a dynamically allocated palette */
void DumpPalette (FILE* F, const Palette* P);
/* Dump the palette in readable form to the given file */
/* End of palette.h */