X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=linux%2Fgp2x.c;h=4da98a5383e37887be1c4314644ba5770a3b3613;hb=e2b00b3ae8b95d1eb75aa23102429b099af8a9a2;hp=27216eef7beb571a545bdff4883df61821838ab8;hpb=02e56d488bf8c6574e251e8d18b946074e0ada05;p=libpicofe.git diff --git a/linux/gp2x.c b/linux/gp2x.c index 27216ee..4da98a5 100644 --- a/linux/gp2x.c +++ b/linux/gp2x.c @@ -388,7 +388,9 @@ void plat_video_menu_end(void) void plat_validate_config(void) { + extern int PicoOpt; // PicoOpt &= ~POPT_EXT_FM; + PicoOpt &= ~(1<<17); // POPT_EN_SVP_DRC } void plat_early_init(void) @@ -425,6 +427,7 @@ void *gp2x_video_setpalette = gp2x_video_setpalette_; void *gp2x_video_RGB_setscaling = do_nothing; void *gp2x_video_wait_vsync = do_nothing; void *gp2x_set_cpuclk = do_nothing; +void *gp2x_read_battery = do_nothing; void *set_lcd_custom_rate = do_nothing; void *unset_lcd_custom_rate = do_nothing; void *set_lcd_gamma = do_nothing;