mirror of https://github.com/nmlgc/ReC98.git
[Maintenance] Add macros for abstracting dot types based on width macros
Part of P0083, funded by Yanga.
This commit is contained in:
parent
f6cbff0bf9
commit
40bb265b52
4
ReC98.h
4
ReC98.h
|
@ -86,6 +86,10 @@ typedef int8_t sdots8_t;
|
|||
typedef int16_t sdots16_t;
|
||||
typedef int32_t sdots32_t;
|
||||
|
||||
// Abstracted dot types, with their width defined by a macro.
|
||||
#define dots_t_(x) dots##x##_t
|
||||
#define dots_t(x) dots_t_(x)
|
||||
|
||||
typedef enum {
|
||||
PL_B, PL_R, PL_G, PL_E, PL_COUNT
|
||||
} vram_plane_t;
|
||||
|
|
Loading…
Reference in New Issue