From e1aa0fa7bde83d1fe8d933002027a641b3c5de92 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 20 Mar 2007 22:39:50 +0000 Subject: [PATCH] bugfixes, but silpheed is broken git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@72 be3aeb3a-fb24-0410-a615-afba39da0efa --- gp2x/emu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.2