Skip to content

Commit

Permalink
Fixed #787: Controller input did not work always
Browse files Browse the repository at this point in the history
If launched from the command line, using the whdload autobooter, controller input was not acquired and parsed until the GUI was opened once.
  • Loading branch information
midwan committed Apr 6, 2021
1 parent 724f561 commit ab4e3f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/osdep/amiberry_input.cpp
Expand Up @@ -924,8 +924,8 @@ static void read_joystick()
for (auto i = 0; i < MAX_INPUT_DEVICES; i++)
{
struct didata* did = &di_joystick[i];
if (!did->acquired)
continue;
//if (!did->acquired)
// continue;
if (isfocus() || currprefs.inactive_input & 4)
{
auto held_offset = 0;
Expand Down

0 comments on commit ab4e3f5

Please sign in to comment.