git.y1.nz

gbdk-2020

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

commit 3315e81f0cee52df40b7bf6f6ad38b8e39a1f0cf
parent ec54213e86fa398fbe3bb170eb11bb134e1a00a0
Author: Toxa <untoxa@mail.ru>
Date:   Tue,  3 May 2022 00:24:03 +0300

MSXDOS: SPRITES_16x16 macro

Diffstat:
Mgbdk-lib/include/msx/msx.h6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gbdk-lib/include/msx/msx.h b/gbdk-lib/include/msx/msx.h @@ -278,13 +278,13 @@ void refresh_OAM(); /** Sets sprite size to 8x16 pixels, two tiles one above the other. */ -#define SPRITES_8x16 \ - __WRITE_VDP_REG(VDP_R1, __READ_VDP_REG(VDP_R1) |= R1_SPR_8X16) +#define SPRITES_16x16 \ + __WRITE_VDP_REG(VDP_R1, __READ_VDP_REG(VDP_R1) |= R1_SPR_16X16) /** Sets sprite size to 8x8 pixels, one tile. */ #define SPRITES_8x8 \ - __WRITE_VDP_REG(VDP_R1, __READ_VDP_REG(VDP_R1) &= (~R1_SPR_8X16)) + __WRITE_VDP_REG(VDP_R1, __READ_VDP_REG(VDP_R1) &= (~R1_SPR_16X16)) /** Macro returns TRUE if device supports color * (it always does on MSX)

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