notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update jni/Android.mk
[picodrive.git]
/
pico
/
videoport.c
diff --git
a/pico/videoport.c
b/pico/videoport.c
index
1e60686
..
61f7f18
100644
(file)
--- a/
pico/videoport.c
+++ b/
pico/videoport.c
@@
-8,7
+8,6
@@
*/
\r
\r
#include "pico_int.h"
\r
*/
\r
\r
#include "pico_int.h"
\r
-#include "cd/gfx_cd.h"
\r
\r
int line_base_cycles;
\r
extern const unsigned char hcounts_32[];
\r
\r
int line_base_cycles;
\r
extern const unsigned char hcounts_32[];
\r
@@
-23,7
+22,7
@@
typedef unsigned int u32;
\r
int (*PicoDmaHook)(unsigned int source, int len, unsigned short **srcp, unsigned short **limitp) = NULL;
\r
\r
\r
int (*PicoDmaHook)(unsigned int source, int len, unsigned short **srcp, unsigned short **limitp) = NULL;
\r
\r
-static
__inline
void AutoIncrement(void)
\r
+static
INLINE
void AutoIncrement(void)
\r
{
\r
Pico.video.addr=(unsigned short)(Pico.video.addr+Pico.video.reg[0xf]);
\r
}
\r
{
\r
Pico.video.addr=(unsigned short)(Pico.video.addr+Pico.video.reg[0xf]);
\r
}
\r
@@
-157,7
+156,7
@@
static void DmaSlow(int len)
if (inc == 2 && !(a&1) && a+len*2 < 0x10000)
\r
{
\r
// most used DMA mode
\r
if (inc == 2 && !(a&1) && a+len*2 < 0x10000)
\r
{
\r
// most used DMA mode
\r
- memcpy16(r + (a>>1), pd, len);
\r
+
p
memcpy16(r + (a>>1), pd, len);
\r
a += len*2;
\r
}
\r
else
\r
a += len*2;
\r
}
\r
else
\r