mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
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:
parent
d737d9e3f5
commit
3328d53bb7
2 changed files with 5 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue