fix a little bug in windows keyboard input. cant guess whether this affects the keyboard flakeout issue
This commit is contained in:
parent
3f60a5c6f8
commit
b0c15d53e2
|
@ -86,7 +86,7 @@ void KeyboardUpdateState(void)
|
||||||
else
|
else
|
||||||
keys_nr[i] = 0; // deactivate key
|
keys_nr[i] = 0; // deactivate key
|
||||||
|
|
||||||
memcpy(keys,keys_nr,256);
|
memcpy(keys,keys_nr,sizeof(keys));
|
||||||
|
|
||||||
// key-down detection
|
// key-down detection
|
||||||
for(int i = 0 ; i < 256 ; i++)
|
for(int i = 0 ; i < 256 ; i++)
|
||||||
|
|
Loading…
Reference in New Issue