X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Flinux%2Femu.c;h=9e45fb139c8715f4771923b0632e183287ec8a2b;hb=92dfd9afa6e06a071c2e025ff7e0d4f1824a5e8d;hp=d060e9f28df7375a9f3e95af62f4e8fd9a2fcc76;hpb=90f0dedf83b5eac80fc6b7aeed36c3429ce752f4;p=picodrive.git diff --git a/platform/linux/emu.c b/platform/linux/emu.c index d060e9f..9e45fb1 100644 --- a/platform/linux/emu.c +++ b/platform/linux/emu.c @@ -31,7 +31,7 @@ void pemu_validate_config(void) { extern int PicoOpt; // PicoOpt &= ~POPT_EXT_FM; - PicoOpt &= ~POPT_EN_SVP_DRC; + PicoOpt &= ~POPT_EN_DRC; } // FIXME: dupes from GP2X, need cleanup @@ -142,17 +142,8 @@ static void apply_renderer(void) break; } - if (PicoAHW & PAHW_32X) { - int only_32x = 0; - if (currentConfig.renderer == RT_16BIT) - only_32x = 1; - else - PicoDrawSetOutFormat(PDF_NONE, 0); - PicoDraw32xSetFrameMode(1, only_32x); + if (PicoAHW & PAHW_32X) PicoDrawSetOutBuf(g_screen_ptr, g_screen_width * 2); - } - //PicoDraw32xSetFrameMode(0, 0); - //PicoDrawSetOutFormat(PDF_RGB555, 1); } void plat_video_toggle_renderer(int change, int is_menu) @@ -198,7 +189,6 @@ void plat_update_volume(int has_changed, int is_up) void pemu_forced_frame(int no_scale, int do_emu) { PicoDrawSetOutBuf(g_screen_ptr, g_screen_width * 2); - PicoDraw32xSetFrameMode(0, 0); PicoDrawSetCallbacks(NULL, NULL); Pico.m.dirtyPal = 1;