From a1707c72a8bb9137f6ccf51cf78e457c1e860f6b Mon Sep 17 00:00:00 2001 From: Zack Buhman Date: Tue, 30 Jan 2024 20:12:37 +0800 Subject: [PATCH] normal_sprite_animated: update macro usage --- vdp1/normal_sprite_animated.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vdp1/normal_sprite_animated.cpp b/vdp1/normal_sprite_animated.cpp index 9009b93..06c068d 100644 --- a/vdp1/normal_sprite_animated.cpp +++ b/vdp1/normal_sprite_animated.cpp @@ -173,7 +173,7 @@ void main() // It appears Kronos does not correctly calculate the color address in the // VDP1 debugger. Kronos will report FFFC when the actual color table address // in this example is 7FFE0. - vdp1.vram.cmd[2].COLR = COLR__ADDRESS(color_address); // non-palettized (rgb15) color data + vdp1.vram.cmd[2].COLR = COLR__LOOKUP_TABLE__ADDRESS(color_address); // non-palettized (rgb15) color data vdp1.vram.cmd[2].SRCA = SRCA(character_address); vdp1.vram.cmd[2].SIZE = SIZE__X(sprite_width) | SIZE__Y(sprite_height); vdp1.vram.cmd[2].XA = 100;