Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alexbevi
GitHub Repository: alexbevi/BizHawk
Path: blob/master/genplus-gx/core/ntsc/md_ntsc_config.h
2 views
1
/* Configure library by modifying this file */
2
3
#ifndef MD_NTSC_CONFIG_H
4
#define MD_NTSC_CONFIG_H
5
6
/* Format of source & output pixels (RGB555 or RGB565 only)*/
7
#ifdef USE_15BPP_RENDERING
8
#define MD_NTSC_IN_FORMAT MD_NTSC_RGB15
9
#define MD_NTSC_OUT_DEPTH 15
10
#else
11
#define MD_NTSC_IN_FORMAT MD_NTSC_RGB16
12
#define MD_NTSC_OUT_DEPTH 16
13
#endif
14
15
/* Original CRAM format (not used) */
16
/* #define MD_NTSC_IN_FORMAT MD_NTSC_BGR9 */
17
18
/* The following affect the built-in blitter only; a custom blitter can
19
handle things however it wants. */
20
21
/* Type of input pixel values (fixed to 16-bit) */
22
#define MD_NTSC_IN_T unsigned short
23
24
/* Each raw pixel input value is passed through this. You might want to mask
25
the pixel index if you use the high bits as flags, etc. */
26
#define MD_NTSC_ADJ_IN( in ) in
27
28
/* For each pixel, this is the basic operation:
29
output_color = MD_NTSC_ADJ_IN( MD_NTSC_IN_T ) */
30
31
#endif
32
33