Default back to F12 for opening the GUI, if no assigned key was found
This commit is contained in:
parent
dbbc33f782
commit
2c78c68e94
1 changed files with 3 additions and 0 deletions
|
@ -89,6 +89,9 @@ void set_key_configs(struct uae_prefs* p)
|
|||
// Otherwise we go for the default found in amiberry.conf
|
||||
enter_gui_key = SDL_GetKeyFromName(default_open_gui_key);
|
||||
}
|
||||
// if nothing was found in amiberry.conf either, let's default back to F12
|
||||
if (enter_gui_key == 0)
|
||||
enter_gui_key = SDLK_F12;
|
||||
|
||||
if (strncmp(p->quit_amiberry, "", 1) != 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue