mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
experimental thread I/O code, fps counter fix
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@396 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
7b802576b2
commit
da31028324
5 changed files with 251 additions and 103 deletions
|
@ -458,10 +458,10 @@ static void updateKeys(void)
|
|||
pl = (acts >> 16) & 1;
|
||||
if (kb_combo_keys & (1 << i))
|
||||
{
|
||||
int u, acts_c = acts & kb_combo_acts;
|
||||
int u = i+1, acts_c = acts & kb_combo_acts;
|
||||
// let's try to find the other one
|
||||
if (acts_c) {
|
||||
for (u = i + 1; u < 32; u++)
|
||||
for (; u < 32; u++)
|
||||
if ( (keys & (1 << u)) && (currentConfig.KeyBinds[u] & acts_c) ) {
|
||||
allActions[pl] |= acts_c & currentConfig.KeyBinds[u];
|
||||
keys &= ~((1 << i) | (1 << u));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue