mirror of
https://github.com/visualboyadvance-m/visualboyadvance-m
synced 2025-10-05 23:52:49 +02:00
Follow-up work on #142.
Joysticks have their own set of {KEY,MOD,JOY}, what means that setting everything for MOD=0 is a mistake. We need to deal only with keyboard mappings here.
This commit is contained in:
@@ -1184,7 +1184,7 @@ static bool process_key_press(bool down, int key, int mod, int joy = 0)
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
mod = 0;
|
||||
if (joy == 0) mod = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user