mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-04 14:57:45 -04:00
core, adjustment for background color DMA
This commit is contained in:
parent
e3fa3ee270
commit
a9d1e99533
1 changed files with 2 additions and 1 deletions
|
@ -626,7 +626,8 @@ static void DmaSlow(int len, u32 source)
|
|||
if (sl > VdpFIFO.fifo_hcounts[0]-5) // hint delay is 5 slots
|
||||
sl = (s8)sl;
|
||||
// TODO this is needed to cover timing inaccuracies
|
||||
if (sl <= 12) sl = -2;
|
||||
if (sl <= 12) sl = -3;
|
||||
else if (sl <= 40) sl = 30;
|
||||
PicoDrawBgcDMA(base, source, mask, len, sl);
|
||||
// do last DMA cycle since it's all going to the same cram location
|
||||
source = source+len-1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue