start splitting plat menu code; batt + clock in menu; bugfix

git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@719 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-07-28 21:06:31 +00:00
parent 0aa509f90d
commit 053bef765a
7 changed files with 165 additions and 53 deletions

View file

@ -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)