X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pandora%2Fplat.c;h=9951973207d18e1e1a7a2bdf7ad16d7a820af573;hb=b6072c177f57cdcb32cfd5eee53b7c178f89c5d3;hp=e259f8575b91fa52fc6b8e7b92fb70863e9ba7ec;hpb=c4046e6e067c0c7d7a09d9eb8518993be320d84b;p=libpicofe.git diff --git a/pandora/plat.c b/pandora/plat.c index e259f85..9951973 100644 --- a/pandora/plat.c +++ b/pandora/plat.c @@ -39,7 +39,6 @@ static unsigned char __attribute__((aligned(4))) fb_copy[g_screen_width * g_scre unsigned char *PicoDraw2FB = temp_frame; const char *renderer_names[] = { NULL }; const char *renderer_names32x[] = { NULL }; -char cpu_clk_name[] = "Max CPU clock"; static int get_cpu_clock(void) { @@ -371,9 +370,8 @@ void emu_video_mode_change(int start_line, int line_count, int is_32cols) { int fb_w = 320, fb_h = 240, fb_left = 0, fb_right = 0, fb_top = 0, fb_bottom = 0; - PicoScanBegin = emuscan; - PicoScanEnd = NULL; PicoDrawSetOutFormat(PDF_RGB555, 1); + PicoDrawSetCallbacks(emuscan, NULL); if (is_32cols) { fb_w = 256;