Skip to content

Commit 79ceb94

Browse files
authored
Update crt_core.h to include NES RGB
1 parent f6a0c86 commit 79ceb94

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

crt_core.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ extern "C" {
2323

2424
/* library version */
2525
#define CRT_MAJOR 2
26-
#define CRT_MINOR 2
27-
#define CRT_PATCH 2
26+
#define CRT_MINOR 3
27+
#define CRT_PATCH 0
2828

2929

3030
#define CRT_SYSTEM_NTSC 0 /* standard NTSC */
@@ -33,6 +33,7 @@ extern "C" {
3333
#define CRT_SYSTEM_SNES 3 /* SNES - uses RGB */
3434
#define CRT_SYSTEM_TEMP 4 /* template implementation */
3535
#define CRT_SYSTEM_NTSCVHS 5 /* standard NTSC VHS */
36+
#define CRT_SYSTEM_NESRGB 6 /* encode RGB image with NES artifacts */
3637

3738
/* the system to be compiled */
3839
#ifndef CRT_SYSTEM
@@ -51,6 +52,8 @@ extern "C" {
5152
#include "crt_template.h"
5253
#elif (CRT_SYSTEM == CRT_SYSTEM_NTSCVHS)
5354
#include "crt_ntscvhs.h"
55+
#elif (CRT_SYSTEM == CRT_SYSTEM_NESRGB)
56+
#include "crt_nesrgb.h"
5457
#else
5558
#error No system defined
5659
#endif

0 commit comments

Comments
 (0)