jscene: update for extra parameters in keydev_read()

This commit is contained in:
Lephenixnoir 2022-10-10 10:04:47 +02:00
parent b0195af198
commit 34ee43d67f
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -216,7 +216,7 @@ jevent jscene_run(jscene *s)
if(e.type != JSCENE_NONE && !jscene_process_event(s, e)) break;
/* Queued keyboard events */
key_event_t k = keydev_read(d);
key_event_t k = keydev_read(d, false, NULL);
if(k.type == KEYEV_DOWN && k.key == KEY_MENU && !k.shift && !k.alpha) {
if(s->mainmenu) {