Skip to content

Commit

Permalink
Fixed #194: Config would not get loaded if we were already under emul…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
midwan committed Jan 10, 2018
1 parent cc1a955 commit 409df53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/osdep/gui/PanelConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ class ConfigButtonActionListener : public gcn::ActionListener
if (emulating)
{
DisableResume();
target_cfgfile_load(&changed_prefs, ConfigFilesList[i]->FullPath, 0, 0);
strncpy(last_active_config, ConfigFilesList[i]->Name, MAX_DPATH);
RefreshAllPanels();
}
else
{
Expand Down

0 comments on commit 409df53

Please sign in to comment.