notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
usb joys, custom pal
[fceu.git]
/
drivers
/
gp2x
/
minimal.c
diff --git
a/drivers/gp2x/minimal.c
b/drivers/gp2x/minimal.c
index
1ac5129
..
e11643e
100644
(file)
--- a/
drivers/gp2x/minimal.c
+++ b/
drivers/gp2x/minimal.c
@@
-68,7
+68,8
@@
void gp2x_video_flip(void)
\r
// since we are using the mmu hack, we must flush the cache first
\r
// (the params are most likely wrong, but they seem to work somehow)
\r
\r
// since we are using the mmu hack, we must flush the cache first
\r
// (the params are most likely wrong, but they seem to work somehow)
\r
- flushcache(addr, addr + 320*240*2, 0);
\r
+ //flushcache(addr, addr + 320*240*2, 0);
\r
+ flushcache(gp2x_screen, (char *)gp2x_screen + 320*240*2, 0);
\r
\r
lsw = (unsigned short) addr;
\r
msw = (unsigned short)(addr >> 16);
\r
\r
lsw = (unsigned short) addr;
\r
msw = (unsigned short)(addr >> 16);
\r