snes_ntsc_config.h

来自「linux下的任天堂模拟器代码。供大家参考。」· C头文件 代码 · 共 30 行

H
30
字号
/* Configure library by modifying this file */#ifndef SNES_NTSC_CONFIG_H#define SNES_NTSC_CONFIG_H/* Format of source pixels */#define SNES_NTSC_IN_FORMAT SNES_NTSC_RGB16/* #define SNES_NTSC_IN_FORMAT SNES_NTSC_BGR15 *//* The following affect the built-in blitter only; a custom blitter canhandle things however it wants. *//* Bits per pixel of output. Can be 15, 16, 32, or 24 (same as 32). */#define SNES_NTSC_OUT_DEPTH 16/* Type of input pixel values */#define SNES_NTSC_IN_T unsigned short/* Each raw pixel input value is passed through this. You might want to maskthe pixel index if you use the high bits as flags, etc. */#define SNES_NTSC_ADJ_IN( in ) in/* For each pixel, this is the basic operation:output_color = SNES_NTSC_ADJ_IN( SNES_NTSC_IN_T ) *//* Disable standard blitters */#define SNES_NTSC_NO_BLITTERS 1#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?