From 0f4e93b7d6839cda766b7ac919d0e472eecf99f6 Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Thu, 14 Dec 2023 21:36:45 +0200 Subject: [PATCH] fix vdp_setcolor --- src/vdp.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4