mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-11 17:28:29 +12:00
Add support for non portable mode (#356)
This commit is contained in:
parent
2b9edced81
commit
d6ba61cf64
38 changed files with 233 additions and 163 deletions
|
@ -665,10 +665,10 @@ void InputSettings2::on_profile_delete(wxCommandEvent& event)
|
|||
}
|
||||
try
|
||||
{
|
||||
const fs::path old_path = ActiveSettings::GetPath(fmt::format("controllerProfiles/{}.txt", selection));
|
||||
const fs::path old_path = ActiveSettings::GetConfigPath("controllerProfiles/{}.txt", selection);
|
||||
fs::remove(old_path);
|
||||
|
||||
const fs::path path = ActiveSettings::GetPath(fmt::format("controllerProfiles/{}.xml", selection));
|
||||
const fs::path path = ActiveSettings::GetConfigPath("controllerProfiles/{}.xml", selection);
|
||||
fs::remove(path);
|
||||
|
||||
profile_names->ChangeValue(kDefaultProfileName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue