normal_sprite_animated: update macro usage

This commit is contained in:
Zack Buhman 2024-01-30 20:12:37 +08:00
parent 863701941e
commit a1707c72a8

View File

@ -173,7 +173,7 @@ void main()
// It appears Kronos does not correctly calculate the color address in the // It appears Kronos does not correctly calculate the color address in the
// VDP1 debugger. Kronos will report FFFC when the actual color table address // VDP1 debugger. Kronos will report FFFC when the actual color table address
// in this example is 7FFE0. // 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].SRCA = SRCA(character_address);
vdp1.vram.cmd[2].SIZE = SIZE__X(sprite_width) | SIZE__Y(sprite_height); vdp1.vram.cmd[2].SIZE = SIZE__X(sprite_width) | SIZE__Y(sprite_height);
vdp1.vram.cmd[2].XA = 100; vdp1.vram.cmd[2].XA = 100;