Skip to content

Commit

Permalink
Fixes after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Jan 6, 2025
1 parent 1785c5e commit 1ce4f76
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/osdep/amiberry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4907,6 +4907,7 @@ std::vector<std::string> get_cd_drives()
pclose(fp);
return results;
}

void target_setdefaultstatefilename(const TCHAR* name)
{
TCHAR path[MAX_DPATH];
Expand Down
3 changes: 2 additions & 1 deletion src/osdep/gui/PanelHD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,8 @@ class CDFileActionListener : public gcn::ActionListener
bIgnoreListChange = true;
cboCDFile->setSelected(0);
bIgnoreListChange = false;
SetLastActiveConfig(element.c_str());
if (!last_loaded_config[0])
set_last_active_config(element.c_str());
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/osdep/gui/PanelQuickstart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,8 @@ class QSCDActionListener : public gcn::ActionListener
bIgnoreListChange = true;
cboCDFile->setSelected(0);
bIgnoreListChange = false;
SetLastActiveConfig(element.c_str());
if (!last_loaded_config[0])
set_last_active_config(element.c_str());
}
}
}
Expand Down

0 comments on commit 1ce4f76

Please sign in to comment.