X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgp2x%2Fsoc_mmsp2.c;h=00eb0a230bc0a9907a5845eaeff8eb2219acb840;hb=61753a672400a712390fb7a0cfb325c640bce479;hp=d6c40e5b5744da16b6d6b8b2cfb37c39a6d6f63b;hpb=2275c67607418566594fa451b8503af1df82e903;p=picodrive.git diff --git a/platform/gp2x/soc_mmsp2.c b/platform/gp2x/soc_mmsp2.c index d6c40e5..00eb0a2 100644 --- a/platform/gp2x/soc_mmsp2.c +++ b/platform/gp2x/soc_mmsp2.c @@ -353,6 +353,10 @@ static void set_lcd_gamma_(int g100, int A_SNs_curve) gamma_was_changed = 1; } +static int gp2x_read_battery_(void) +{ + return -1; /* TODO? */ +} /* these are not quite MMSP2 related, * more to GP2X F100/F200 consoles themselves. */ @@ -503,6 +507,7 @@ void mmsp2_init(void) set_ram_timings = set_ram_timings_; unset_ram_timings = unset_ram_timings_; + gp2x_read_battery = gp2x_read_battery_; } void mmsp2_finish(void)