Skip to content

Commit

Permalink
platform, fix kbd config save/load
Browse files Browse the repository at this point in the history
  • Loading branch information
irixxxx committed Jan 24, 2025
1 parent b931204 commit eb815ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion platform/common/config_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,10 @@ static int custom_read(menu_entry *me, const char *var, const char *val)

case MA_CTRL_KEYBOARD:
currentConfig.keyboard = 0;
if (strcasecmp(val, "virtual") == 0)
if (strcasecmp(val, "physical") == 0)
currentConfig.keyboard = 1;
else if (strcasecmp(val, "virtual") == 0)
currentConfig.keyboard = 2;
return 1;

/* PSP */
Expand Down

0 comments on commit eb815ab

Please sign in to comment.