#include "common.h" struct GameInfo { const char *name; const struct RomModule *rom; }; struct GameVidInfo { const char *name; const struct RomModule *gfxrom; const unsigned char *palette; const unsigned char *colortable; }; extern const struct GameInfo gameinfo[]; extern const struct GameVidInfo gamevidinfo[]; #define TOTAL_COLORS 16 #define COLOR_CODES 32