From: John Tsiombikas Date: Thu, 14 Dec 2023 19:36:45 +0000 (+0200) Subject: fix vdp_setcolor X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;ds=inline;h=0f4e93b7d6839cda766b7ac919d0e472eecf99f6;p=mdlife fix vdp_setcolor --- diff --git a/src/vdp.S b/src/vdp.S index b794d21..0baa4d4 100644 --- a/src/vdp.S +++ b/src/vdp.S @@ -29,7 +29,7 @@ setup_addr: .globl vdp_setcolor vdp_setcolor: move.l 4(%sp), %d0 | palette number - lsl.l #4, %d0 + lsl.l #5, %d0 add.l 8(%sp), %d0 | add index move.l #VDP_CRAM, %d1 bsr setup_addr