/* Configure library by modifying this file */12#ifndef SMS_NTSC_CONFIG_H3#define SMS_NTSC_CONFIG_H45/* Format of source & output pixels (RGB555 or RGB565 only) */6#ifdef USE_15BPP_RENDERING7#define SMS_NTSC_IN_FORMAT SMS_NTSC_RGB158#define SMS_NTSC_OUT_DEPTH 159#else10#define SMS_NTSC_IN_FORMAT SMS_NTSC_RGB1611#define SMS_NTSC_OUT_DEPTH 1612#endif1314/* Original CRAM format (not used) */15/* #define SMS_NTSC_IN_FORMAT SMS_NTSC_BGR12 */1617/* The following affect the built-in blitter only; a custom blitter can18handle things however it wants. */1920/* Type of input pixel values (fixed to 16-bit)*/21#define SMS_NTSC_IN_T unsigned short2223/* Each raw pixel input value is passed through this. You might want to mask24the pixel index if you use the high bits as flags, etc. */25#define SMS_NTSC_ADJ_IN( in ) in2627/* For each pixel, this is the basic operation:28output_color = SMS_NTSC_ADJ_IN( SMS_NTSC_IN_T ) */2930#endif313233