bugfixes, but silpheed is broken
authornotaz <notasas@gmail.com>
Tue, 20 Mar 2007 22:39:50 +0000 (22:39 +0000)
committernotaz <notasas@gmail.com>
Tue, 20 Mar 2007 22:39:50 +0000 (22:39 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@72 be3aeb3a-fb24-0410-a615-afba39da0efa

gp2x/emu.c

index 632ad18..ce056b3 100644 (file)
@@ -987,7 +987,6 @@ void emu_forced_frame(void)
 \r
        PicoOpt |= 0x10;\r
        PicoFrameFull();\r
-       PicoOpt = po_old;\r
 \r
        if (!(Pico.video.reg[12]&1)) {\r
                vidCpyM2 = vidCpyM2_32col;\r
@@ -997,6 +996,8 @@ void emu_forced_frame(void)
        vidCpyM2((unsigned char *)gp2x_screen+320*8, framebuff+328*8);\r
        vidConvCpyRGB32(localPal, Pico.cram, 0x40);\r
        gp2x_video_setpalette(localPal, 0x40);\r
+\r
+       PicoOpt = po_old;\r
 }\r
 \r
 static void simpleWait(int thissec, int lim_time)\r