html5: workaround for echo key events.

This commit is contained in:
hondres 2016-03-04 20:26:39 +01:00
parent 26342b34aa
commit 352db6b17e
3 changed files with 27 additions and 2 deletions

View file

@ -693,7 +693,11 @@ OS_JavaScript::OS_JavaScript(GFXInitFunc p_gfx_init_func,void*p_gfx_init_ud, Ope
time_to_save_sync=-1;
for (int i = 0; i < 256; i++) {
key_pressed[i] = false;
if (i < 121)
skey_pressed[i] = false;
}
}
OS_JavaScript::~OS_JavaScript() {