From: notaz Date: Tue, 20 Mar 2007 22:39:50 +0000 (+0000) Subject: bugfixes, but silpheed is broken X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1aa0fa7bde83d1fe8d933002027a641b3c5de92;p=libpicofe.git bugfixes, but silpheed is broken git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@72 be3aeb3a-fb24-0410-a615-afba39da0efa --- diff --git a/gp2x/emu.c b/gp2x/emu.c index 632ad18..ce056b3 100644 --- a/gp2x/emu.c +++ b/gp2x/emu.c @@ -987,7 +987,6 @@ void emu_forced_frame(void) PicoOpt |= 0x10; PicoFrameFull(); - PicoOpt = po_old; if (!(Pico.video.reg[12]&1)) { vidCpyM2 = vidCpyM2_32col; @@ -997,6 +996,8 @@ void emu_forced_frame(void) vidCpyM2((unsigned char *)gp2x_screen+320*8, framebuff+328*8); vidConvCpyRGB32(localPal, Pico.cram, 0x40); gp2x_video_setpalette(localPal, 0x40); + + PicoOpt = po_old; } static void simpleWait(int thissec, int lim_time)