fix vdp_setcolor
authorJohn Tsiombikas <nuclear@member.fsf.org>
Thu, 14 Dec 2023 19:36:45 +0000 (21:36 +0200)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Thu, 14 Dec 2023 19:36:45 +0000 (21:36 +0200)
src/vdp.S

index b794d21..0baa4d4 100644 (file)
--- 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