From: Toni Wilen Date: Wed, 27 Mar 2024 19:00:28 +0000 (+0200) Subject: Sprite DMA is disabled during Vblank. X-Git-Tag: 5300~57 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=95515e09aaad0b28cd2aeecbbbdc45865a91fc7d;p=francis%2Fwinuae.git Sprite DMA is disabled during Vblank. --- diff --git a/custom.cpp b/custom.cpp index f1c4c90e..dd65a465 100644 --- a/custom.cpp +++ b/custom.cpp @@ -11622,7 +11622,7 @@ static void decide_sprites_fetch(int endhpos) s->dmacycle = 1; } } - if (dmaen(DMA_SPRITE) && s->dmacycle && !vb_end_line) { + if (dmaen(DMA_SPRITE) && s->dmacycle && !vb_start_line && !vb_end_line) { bool dodma = false; decide_bpl_fetch(hpos + 1);