X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Flinux%2Fio.c;h=13d6d9ab3acc2eac0bd5d5e01d69b531039c9115;hb=41946d7023cded9999495eb8916eeb5ab0480a1f;hp=1b912c98d9163fddce6ecd5eaa80944c6b99e3b0;hpb=19886062f1a36f70b1f01d58f3fa1b79162defac;p=picodrive.git diff --git a/platform/linux/io.c b/platform/linux/io.c index 1b912c9..13d6d9a 100644 --- a/platform/linux/io.c +++ b/platform/linux/io.c @@ -18,7 +18,6 @@ #include "log_io.h" int current_keys; -unsigned char *PicoDraw2FB; #ifdef FBDEV @@ -265,7 +264,6 @@ static void realloc_screen(void) g_menubg_ptr = realloc(g_menubg_ptr, size); memset(g_screen_ptr, 0, size); memset(g_menubg_ptr, 0, size); - PicoDraw2FB = g_menubg_ptr; scr_changed = 0; } @@ -335,7 +333,6 @@ void plat_init(void) g_screen_width = g_menuscreen_w = w; g_screen_height = g_menuscreen_h = h; g_menubg_ptr = realloc(g_menubg_ptr, w * g_screen_height * 2); - PicoDraw2FB = g_menubg_ptr; #else realloc_screen(); memset(g_screen_ptr, 0, g_screen_width * g_screen_height * 2);