supporting caanoo, line doublers, refactoring
[libpicofe.git] / pandora / plat.c
index e259f85..9951973 100644 (file)
@@ -39,7 +39,6 @@ static unsigned char __attribute__((aligned(4))) fb_copy[g_screen_width * g_scre
 unsigned char *PicoDraw2FB = temp_frame;\r
 const char *renderer_names[] = { NULL };\r
 const char *renderer_names32x[] = { NULL };\r
-char cpu_clk_name[] = "Max CPU clock";\r
 \r
 static int get_cpu_clock(void)\r
 {\r
@@ -371,9 +370,8 @@ void emu_video_mode_change(int start_line, int line_count, int is_32cols)
 {\r
        int fb_w = 320, fb_h = 240, fb_left = 0, fb_right = 0, fb_top = 0, fb_bottom = 0;\r
 \r
-       PicoScanBegin = emuscan;\r
-       PicoScanEnd = NULL;\r
        PicoDrawSetOutFormat(PDF_RGB555, 1);\r
+       PicoDrawSetCallbacks(emuscan, NULL);\r
 \r
        if (is_32cols) {\r
                fb_w = 256;\r