forked from len0rd/rockbox
slow down the button check function, this makes the cube look sane in the
simulator git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2605 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f84d6bf886
commit
ea60436cd8
1 changed files with 4 additions and 0 deletions
|
|
@ -196,6 +196,10 @@ int button_get(bool block)
|
|||
break;
|
||||
} while(1);
|
||||
|
||||
if(!block)
|
||||
/* delay a bit */
|
||||
x11_sleep(1);
|
||||
|
||||
return bits;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue