fix Wiz timer drift and button name

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@725 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-08-01 17:34:12 +00:00
parent d737d9e3f5
commit 3328d53bb7
2 changed files with 5 additions and 3 deletions

View file

@ -219,9 +219,10 @@ unsigned int gp2x_get_ticks_us_(void)
unsigned int gp2x_get_ticks_ms_(void)
{
/* approximate /= 1000 */
unsigned long long v64;
v64 = (unsigned long long)gp2x_get_ticks_us_() * 4195;
return v64 >> 22;
v64 = (unsigned long long)gp2x_get_ticks_us_() * 4294968;
return v64 >> 32;
}
static void timer_cleanup(void)