notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
split memories away from Pico
[picodrive.git]
/
pico
/
cd
/
gfx_dma.c
diff --git
a/pico/cd/gfx_dma.c
b/pico/cd/gfx_dma.c
index
44fa7ab
..
7dfe4bc
100644
(file)
--- a/
pico/cd/gfx_dma.c
+++ b/
pico/cd/gfx_dma.c
@@
-26,7
+26,7
@@
PICO_INTERNAL void DmaSlowCell(unsigned int source, unsigned int a, int len, uns
switch (Pico.video.type)
{
case 1: // vram
switch (Pico.video.type)
{
case 1: // vram
- r = Pico.vram;
+ r = Pico
Mem
.vram;
for(; len; len--)
{
asrc = cell_map(source >> 2) << 2;
for(; len; len--)
{
asrc = cell_map(source >> 2) << 2;
@@
-37,12
+37,12
@@
PICO_INTERNAL void DmaSlowCell(unsigned int source, unsigned int a, int len, uns
// AutoIncrement
a=(u16)(a+inc);
}
// AutoIncrement
a=(u16)(a+inc);
}
- rendstatus |= PDRAW_SPRITES_MOVED;
+
Pico.est.
rendstatus |= PDRAW_SPRITES_MOVED;
break;
case 3: // cram
Pico.m.dirtyPal = 1;
break;
case 3: // cram
Pico.m.dirtyPal = 1;
- r = Pico.cram;
+ r = Pico
Mem
.cram;
for(a2=a&0x7f; len; len--)
{
asrc = cell_map(source >> 2) << 2;
for(a2=a&0x7f; len; len--)
{
asrc = cell_map(source >> 2) << 2;
@@
-58,7
+58,7
@@
PICO_INTERNAL void DmaSlowCell(unsigned int source, unsigned int a, int len, uns
break;
case 5: // vsram[a&0x003f]=d;
break;
case 5: // vsram[a&0x003f]=d;
- r = Pico.vsram;
+ r = Pico
Mem
.vsram;
for(a2=a&0x7f; len; len--)
{
asrc = cell_map(source >> 2) << 2;
for(a2=a&0x7f; len; len--)
{
asrc = cell_map(source >> 2) << 2;