gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit b8fbff77f8a789b395df562d3eb53eab06f75766 parent de1bd7b473b85228644b6e054faaee70d76f8036 Author: Toxa <untoxa@mail.ru> Date: Fri, 29 Mar 2024 17:51:41 +0300 SMS/GG use attribute wrapper definitions Diffstat:
| M | gbdk-lib/include/sms/sms.h | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gbdk-lib/include/sms/sms.h b/gbdk-lib/include/sms/sms.h @@ -98,7 +98,7 @@ #define S_PAL(n) (((n) & 0x01U) << 3) // VDP helper macros -#define __WRITE_VDP_REG(REG, v) shadow_##REG=(v);__critical{VDP_CMD=(shadow_##REG),VDP_CMD=REG;} +#define __WRITE_VDP_REG(REG, v) shadow_##REG=(v);CRITICAL{VDP_CMD=(shadow_##REG),VDP_CMD=REG;} #define __READ_VDP_REG(REG) shadow_##REG void WRITE_VDP_CMD(uint16_t cmd) Z88DK_FASTCALL PRESERVES_REGS(b, c, d, e, iyh, iyl);
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.