X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Flinux%2Femu.c;h=65d868b59d49037e329e2a02053d731937d2e25b;hb=603c28b3176e8ae45721975e1798442c8dd3e92c;hp=b5820723358eb6a9312cbddee9565ccb8ad07775;hpb=c7eb229a3cfc2848bcc3413185758039f30559aa;p=picodrive.git diff --git a/platform/linux/emu.c b/platform/linux/emu.c index b582072..65d868b 100644 --- a/platform/linux/emu.c +++ b/platform/linux/emu.c @@ -17,7 +17,6 @@ static short __attribute__((aligned(4))) sndBuffer[2*44100/50]; -char cpu_clk_name[] = "unused"; const char *renderer_names[] = { "16bit accurate", " 8bit accurate", " 8bit fast", NULL }; const char *renderer_names32x[] = { "accurate", "faster", "fastest", NULL }; enum renderer_types { RT_16BIT, RT_8BIT_ACC, RT_8BIT_FAST, RT_COUNT }; @@ -125,9 +124,6 @@ void pemu_finalize_frame(const char *fps, const char *notice) static void apply_renderer(void) { - PicoScanBegin = NULL; - PicoScanEnd = NULL; - switch (currentConfig.renderer) { case RT_16BIT: PicoOpt &= ~POPT_ALT_RENDERER; @@ -179,7 +175,7 @@ void plat_video_menu_enter(int is_rom_loaded) void plat_video_menu_begin(void) { memcpy32(g_screen_ptr, g_menubg_ptr, g_screen_width * g_screen_height * 2 / 4); - g_menubg_ptr = g_screen_ptr; + g_menuscreen_ptr = g_screen_ptr; } void plat_video_menu_end(void)