mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
fix obvious errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1581 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4681e09aac
commit
999e2127af
1 changed files with 38 additions and 36 deletions
|
|
@ -52,6 +52,8 @@ int button_set_release(int newmask)
|
||||||
|
|
||||||
static int real_button_get(void)
|
static int real_button_get(void)
|
||||||
{
|
{
|
||||||
|
int btn;
|
||||||
|
|
||||||
if (bActive)
|
if (bActive)
|
||||||
{
|
{
|
||||||
if (KEY (VK_NUMPAD4) ||
|
if (KEY (VK_NUMPAD4) ||
|
||||||
|
|
@ -132,7 +134,7 @@ int button_get_w_tmo(int ticks)
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
|
|
||||||
} while (block);
|
} while (--ticks);
|
||||||
|
|
||||||
return btn;
|
return btn;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue