X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=drivers%2Fgp2x%2Fminimal.c;fp=drivers%2Fgp2x%2Fminimal.c;h=e11643e86e126919601cee85674996f8377ab0cf;hp=1ac51293b6f1f70ff2190e0c634d0d38aaddde8e;hb=32a0f49f4d70fe79def8718ec0b4e2460d629d6c;hpb=e6ee752982da44a60a9a6b5916d7642ba2dd8b9e diff --git a/drivers/gp2x/minimal.c b/drivers/gp2x/minimal.c index 1ac5129..e11643e 100644 --- a/drivers/gp2x/minimal.c +++ b/drivers/gp2x/minimal.c @@ -68,7 +68,8 @@ void gp2x_video_flip(void) // since we are using the mmu hack, we must flush the cache first // (the params are most likely wrong, but they seem to work somehow) - flushcache(addr, addr + 320*240*2, 0); + //flushcache(addr, addr + 320*240*2, 0); + flushcache(gp2x_screen, (char *)gp2x_screen + 320*240*2, 0); lsw = (unsigned short) addr; msw = (unsigned short)(addr >> 16);