git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

commit 5fa361b08e86bb90f3f74e680f9a5cb534781bff
parent 0b96abf3a0d33ea29a40ef7ce0bbc8e15ea70193
Author: Toxa <untoxa@mail.ru>
Date:   Wed, 11 Mar 2026 10:33:19 +0300

NES: define DEVICE_SUPPORTS_COLOR for the NES platform

Diffstat:
Mgbdk-lib/include/nes/nes.h4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/gbdk-lib/include/nes/nes.h b/gbdk-lib/include/nes/nes.h @@ -630,6 +630,10 @@ void refresh_OAM(void) NO_OVERLAY_LOCALS; #define SPRITES_8x8 \ shadow_PPUCTRL &= ~PPUCTRL_SPR_8X16; +/** Macro returns TRUE if device supports color + * (it always does on NES) + */ +#define DEVICE_SUPPORTS_COLOR (TRUE) /**

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.