From 4c13373bd3749ea9d10d2a18c5d7d94b7edcd554 Mon Sep 17 00:00:00 2001 From: Lucas Scharenbroich Date: Tue, 27 Jun 2023 21:33:59 -0500 Subject: [PATCH] Fix addressing bug that caused serious overdraw --- src/blitter/BlitterLite.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blitter/BlitterLite.s b/src/blitter/BlitterLite.s index 8d8abeb..d63d6db 100644 --- a/src/blitter/BlitterLite.s +++ b/src/blitter/BlitterLite.s @@ -36,7 +36,7 @@ _BltRangeLite tax ; this is the offset into the blitter table lda BTableLow,x ; patch in the address - sta blt_entry_lite+1 + stal blt_entry_lite+1 ; The way we patch the exit code is subtle, but very fast. The CODE_EXIT offset points to ; an JMP/JML instruction that transitions to the next line after all of the code has been