notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3fa3ee
)
core, adjustment for background color DMA
author
kub
<derkub@gmail.com>
Fri, 12 Jul 2024 20:11:51 +0000
(22:11 +0200)
committer
kub
<derkub@gmail.com>
Fri, 12 Jul 2024 21:11:37 +0000
(23:11 +0200)
pico/videoport.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/videoport.c
b/pico/videoport.c
index
9663e2b
..
9c35162
100644
(file)
--- a/
pico/videoport.c
+++ b/
pico/videoport.c
@@
-626,7
+626,8
@@
static void DmaSlow(int len, u32 source)
if (sl > VdpFIFO.fifo_hcounts[0]-5) // hint delay is 5 slots
\r
sl = (s8)sl;
\r
// TODO this is needed to cover timing inaccuracies
\r
- if (sl <= 12) sl = -2;
\r
+ if (sl <= 12) sl = -3;
\r
+ else if (sl <= 40) sl = 30;
\r
PicoDrawBgcDMA(base, source, mask, len, sl);
\r
// do last DMA cycle since it's all going to the same cram location
\r
source = source+len-1;
\r